text:
Rooting the android subsystem on a Acer Chromebook R11
I already have my chromebook in developer mode.
I have play store apps enabled.
How do I root the android os on my chromebook, so I can use apps like AdAway?
I have tried the commands
sudo /usr/share/vboot/bin/make_dev_ssd.sh --remove_rootfs_verification --partitions $(( $(rootdev -s | sed -r 's/.*(.)$/\1/') - 1))
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/onescript/RootandSEpatch.sh | sudo sh
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/01Root.sh | sudo sh
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/master/02SEPatch.sh | sudo sh

and I still get the following message from root checker.

background/source https://www.xda-developers.com/root-android-subsystem-chromebooks

"Please check the output of this script for any errors."


text:
Disable xposed from TWRP
An xposed module screwed my interface. It's all black.
I can't access /data/data from within TWRP due to some stupid encription problem.
Is there another way to disable xposed ?
Losing data is out of the question.
Can't access data through ADB either: debugging is disabled

Update:
Too late.
Did something on TWRP and lost everything. Even the ROM got corrupted. Had to reflash EVERYTHING
Chaos was going on: the screen was not only black, but completely irresponsible. The only dialog available was the Turn Off/Reboot. Safe mode useless.
TWRP showed Internal and External storages as 0MB. Couldn't mount either. Not even system could be mounted. Written... even less.
Maybe all this had something to do with encryption. I could never disable encryption on this phone (apparently it is impossible)
If it still has some use:
XT1925-5 (Moto G6)
TWRP 3.3.1.0
Boot, Xposed and Magisc were all flashed by either fastboot or TWRP
I can't remember the exposed version. The module was something like P-fy (change appearance of Oreo to look like Pie. Stay away from this crap)

Update 2:
There seems to be a way to disable xposed by machine gunning any hardware button after logo during boot. Can't test now.
I was trying to cripple xposed by modding something at data/data/. Hard way it seems.

Finally: For the reasons above, I can't evaluate the answers of those who attempted to help. Hope it helps the next guy. By me, the thread can be deleted.

How did you root your device? Is root systemless? dm-verity status? If enabled are you willing to disable (OTA updates won't work)? SELinux status? How did you flash Xposed? In /system partition or systemless? Through Magisk? Which Xposed version and module exactly? Which device and Android version? Is it system-as-root or A/B device? Encryption is FDE or FBE? None of the available custom recoveries for your device can decrypt /data? Only screwed interface is inaccessible or any other problem?

There is an Xposed disabler zip file that can be found on this thread from Xda-developers. In case you installed the systemless Xposed, I am not sure if it will be disable. You need to install the zip from TWRP as you would for other zip files.

That will not work for systemless

If it is systemless root (most likely) , a couple of methods mentioned in the last part of my answer How to install EdXposed on Android 10 without triggering safety net. It's a repetition but it may help those seeking a specific answer for this :

Magisk Manager for Recovery Mode (mm). This module can be installed directly from Magisk but it will not work because it hasn't been updated to support Magisk versions beyond 19. You need to boot into TWRP (if TWRP is not permanently installed) and sideload the module. Next,from the recovery terminal run mm or sh /sdcard/mm and disable all modules or the offending module and reboot.
(Tip: double click for enter)
Grant shell privileges to Magisk (this would have security implications, I guess) . Source

The best way is to grant shell su privileges with magisk in advanced by doing adb shell then su . Magisk will then ask to grant root to shell and you can use it even while bootlooping.
  If you were to bootloop you'd then run adb shell then touch /data/adb/modules/riru_edxposed_sandhook/disable (or YAHFA ).

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
How to create a shortcut to some file in another folder?
I have a PDF on the folder ExtSD/Documents/. I need to make a shortcut of this file to the folder ExtSD/CurrentlyReading/.
So simple on Windows... Apparently never asked on Android.
If it's of any use, my explorer is ES File Explorer V4.0.
XPosed available.

"Shortcut" is a purely Windows concept. It's an ordinary file (with .lnk extension) which contains a reference to some other file or folder. Windows Explorer and other programs know how to open the actual file by reading reference information from shortcut file, just like as they know how to open a .pdf or .mp4 file. Other operating systems do not know what a .lnk file is, because phenomenon of mounting partitions and hence file paths are different across different OSes.
At filesystem level, Windows' NTFS supports junction points, symbolic links and hard links (1). But FAT family (including exFAT) supports none (2).
Android is based on Linux kernel. Linux's native filesystems (like ext4) support hard links and soft (symbolic) links. For non-native filesystems (like FAT) it depends on the filesystem driver. exfat driver (for exFAT filesystem) supports symlinks, but FUSE based exfat-fuse does not. So is the old vfat driver (for FAT[N] filesystems). New sdfat driver (for FAT[N]/exFAT filesystems) from Samsung does have optional symlink support for FAT[N] filesystems as well. After MS open-sourced exFAT, mainstream Linux driver is also based on sdfat (3).
However that's not the end. External SD cards are usually formatted as FAT32 or exFAT, so they may support symlinks depending on the driver being used. But Android does not expose actual filesystem to apps, instead it's emulated using FUSE or sdcardfs. Emulation is another twisted story (basically a permission-less filesystem to make sharing files among different apps/UIDs possible), see detail in Android's Storage Journey and What is /storage/emulated/0/?.
FUSE drivers may support symlinks (if the underlying filesystem does), but Android's FUSE implementation does not. So is the in-kernel sdcardfs implementation.
So in short, for the most cases, you cannot create symlinks on external SD cards as well as internal SD card. You will get "Operation not permitted" or "Function not implemented" or similar errors. On rooted devices a commonly used alternative is bind-mounts. See details in How can I make a symlink (or equivalent) inside /storage/emulated/0?

Shortcuts are Links in linux, and while in a terminal, or X its fairly easy - there's no easy way in the android UI.
youre better off just making a new folder, or getting a reader that supports a reading list.

i can do it manually using a freeware app caled MixPlorer but getting it done automatically.  not easy to do.  getting it done automatically or from inside Tasker is a lot more elusive
ideally a solution can be found to make a hardlink (not symbolic link) to a JPG file so that A.JPG and B.JPG will show the same thumbnails in both folder summer and folder vacation.  deleting one of them doesn't delete the other one.  either one will still work as long there is still one copy is left.  still trying to find a way to create hardlink on Android, preferrably automatically or from inside Tasker

What MiXplorer creates is not a filesystem-level link, but an icon which - when tapped - fires an intent to open a file. // Neither FAT family of filesystems, nor Android's FUSE/sdcardfs support symbolic/hard links. Already mentioned in my answer.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Lenovo IdeaTab showing a screen with Chinese characters
I'm using a Lenovo IdeaTab S6000. As I was watching videos, suddenly my tablet turned off. The buttons did not work and I was unable to restore it or turned it on. On the display, there were exposed these Chinese characters as they were changing with the abbreviations WIFI, GPS and MMC.

What is this screen? Is this a virus? How to fix this?

That looks like a boot-loader menu for a factory reset but in Chinese.

It doesn't look like the bootloader or recovery menu (screenshots). You may have entered some secret factory menu.

That is the factory self-diagnosis and test menu. It is designed for usage before shipment, therefore it is in Chinese). You can use Google translate on a second phone to translate the entries.


text:
Prevent app to changing screen timeout
Some apps even disable screen timeout completely (although it's still says 30 seconds on the settings menu)
How to stop that ?
Not to forbid globally, as there are some apps that I DO control the timeout via tasker. But only for that app

Do you keep battery saver enabled? That causes the screen timeout to default to 30 seconds no matter how many times you change it.

I don't know yet if 3rd-party apps can change screen timeout without root access, but apps can indeed keep the screen awake. Not sure about the solution yet, but Android Developer documentation explains it further. Also, possibly related: How to modify possible values screen timeout on rooted devices?, including an answer that mentions per-app setting.

Battery saver is off. The problem is apps telling the screen to stay ON, instead of obeying the system timeout.

That solution you don't know yet is everything that we need :cry: Guess the third party app is the patch, then. PerApp is the recommended one from your links. Needs root only to control the CPU, says there.


text:
How to map Apple wireless keyboard keys in Android 10
I'm having trouble using the Return/Enter key on the Apple wireless keyboard (model A1314) while connected via Bluetooth on Android 10 (device: Google Pixel 3).
Specifically, I'd like to use the Fn+Return keystroke to act as the standard Enter key, but it doesn't work --at least not in the Messages app.
Is there a way to map the Return key so that it acts like Enter?

What do you think the difference is between Return and Enter? AFAIK these are synonyms, or did I miss something fabulous and new?

@zx485, they are different in the Apple universe.  The "Enter" label is added to the "Return" key to make non-Mac users feel at home, and the Fn+Return keystroke is supposed to mimic the standard Enter key used elsewhere in computing.


text:
Prevent automatic redirects in Mobile Firefox for Android
How can I turn disable redirects in Firefox for Android?
Here is a solution that works for desktop Firefox:
Prevent automatic redirects in Firefox
Unfortunately the accessibility.blockautorefresh option is not present in Firefox for Android.

As noted in this answer from the same question you linked, you can use network.http.redirection-limit to block redirects. Start by setting it to 0 (instead of 1 as in the linked answer). It will will have the effects of blocking all redirects and even accessing any site.
Then increasing with the value will allow depending on the site to allow redirects (or clicking "Try again" when the redict was blocked).

OP is asking for Android


text:
Unable to encrypt my Note 5 anymore (data partition is corrupt)
It all started with a factory reset on the stock Samsung ROM (Android 7.0).
After I booted into the factory reset system I couldn't get the phone encryption to work: it failed with the message saying that the data partition is corrupt which effectively factory reset my phone again (forcefully).

Reflashing the official Samsung ROM didn't help, the phone kept showing me the same message about the corruption of the data partition.
Reformatting the partition in the TWRP didn't help either.

Any ideas how to fix it? It could also be a hardware failure.
I posted the same question on XDA but unfortunately got no response so far.

@alecxs what would I get from knowing if the problem is related to EFS or DATA?

idea behind was to figure out if problem just related to encryption and not wear-out of userdata partition itself,
and see if you still may use device unencrypted. but turns out the encryption key is located at end of userdata partition and not EFS (forceencrypt=footer;length=-20480)

@alecxs the device is perfectly usable without encryption. Could it be wear-out after 3.5 years of usage?

if it is perfectly usable then it's most likely not wear-out. maybe it runs out of memory during encryption, or too much data on it (even after reset?)

I don't know why this shoud make a difference, but some people recommend to perform factory reset from stock android system recovery (instead twrp)

@alecxs how it is possible that there is too much data after a reset? The first reset I did was made even from the system, not from TWRP.

you ask for ideas. idk when exactly encryption starts but all the /system apps (and carrier bloat /preload apps) are extracted into /data on first boot. you could try to reduce apps, or manually wipe other partitions (EFS?) like stock recovery does

did you reflash official Samsung ROM from Odin/completely stock (even stock boot/recovery)?

@alexcs I flashed with heimdall since there is no Odin build for GNU/Linux. I believe I flashed everything except the stock recovery.

so in order to get successfully booted with custom recovery you probably disabled dm-verity? on the other hand in forum some people reported encryption won't work after flashing dm-verity disabler, so give complete stock a try

@alexcx I don't remember disabling it and I also don't remember the exact order of my actions but I think I first did a factory reset from the system and after that installed TWRP. So you believe I should try flashing all the stock images?

@alexcs after flashing all the stock .bin's the phone encrypted itself without any problems. Thank you so much for the help. Do you think I can bring back the TWRP now? Also, I can't upvote your comments for some reason.

@alecxs I flashed TWRP through heimdall (as recovery, not boot) and it worked, BUT the system became unbootable (probably because of dm-verity that detected  the change to recovery) and TWRP couldn't mount the encrypted internal storage. By flashing the stock recovery image I got the system to work again. I think I could live without a custom recovery but I want to root my phone again. Flashing a Magisk patched boot.img made the system unbootable again. Anything else I can do here?

@alecxs TWRP 3.2.3 still shows /sdcard as an empty partition. Tried 3.2.2 - no luck.

open issue on github

@alexcs I considered moving to Lineage OS. In fact, I even like it more than the stock Samsung bloatware. But I am worried because it's an unofficial build.

@alecxs just flashed https://forum.xda-developers.com/note5/orig-development/rom-lineageos-15-1-note-5-android-8-1-t3737405 and even with this ROM I have troubles encrypting the phone. It just goes into boot loop after I enable encryption.

try combination of LineageOS and stock recovery (+ factory reset from stock recovery) and try older (stable) LineageOS 14 based on Android 7

it seems that Magisk Manager has a bug since v7.3.5 as workaround you must "keep force encryption" and flash no-verity-opt-encrypt instead https://build.nethunter.com/android-tools/no-verity-opt-encrypt

Flashing complete stock ROM including stock recovery will fix encryption, if you factory reset from stock recovery.
To make your ROM boot along with TWRP you need to flash no-verity-opt-encrypt or universal disable dm-verity.
Due some bug in TWRP, decryption dialog fails to open because EFS is not mounted at the time that TWRP checks for device encryption. TWRP is working along with stock ROM encryption if you swap entries in /etc/recovery.fstab and one of these flags for USERDATA:
flags=encryptable=footer
flags=encryptable=footer,length=-16384
flags=encryptable=footer,length=-20480
flags=encryptable=/efs/metadata
flags=encryptable=/dev/block/bootdevice/by-name/metadata
flags=encryptable=/dev/block/platform/15570000.ufs/by-name/EFS/metadata
flags=fileencryption=aes-256-xts:aes-256-cts
flags=fileencryption=ice:aes-256-cts
flags=fileencryption=ice:aes-256-cts;keydirectory=/metadata/vold/metadata_encryption

source: source.android.com/security/encryption

@alexcs Unfortunately, none of those flags worked. Tried with both TWRP 3.2.3 and TWRP 3.3.1


text:
How to get acces to offline YouTube videos downloaded to my Android 9 Cellphone?
I use to download youtube videos so I can watch then offline. But I don't like the "YouTube video player". So, how could I have access to the offline youtube videos so I can open them using my video player of choice?
I have a Android 9 cell phone.

The offline videos in YouTube app can only be played within YouTube. You cannot play them in an external player.
Your alternate option is to download those videos as MP4 files and then playing them in your favorite player. But do remember that downloading videos are against YouTube's terms and you won't find more help on that topic over here.


text:
System firewall setting?
I travel and live with someone all the time. Cast is enabled across the system and it's too easy to inadvertently cast something... embarrassing (just a click and it's on the TV). I found this design okay when I used to live alone, but now this is an unwanted feature to me.
Android/Chrome developers didn't make a setting that disables Casting(how could they). I blocked mDNS port on my laptop, but I couldn't find a way to disable Cast on my Android phone. I know there are firewall apps that need root access. I don't want to install any apps or root my phone. Is there a way to change firewall settings on Android? An interface to Netfilter module(if Android uses this, that is) like firewall-cmd or iptables? A standard way preferably so I can use this trick on all the Android phones I purchase through my life!

There is iptables but it requires root access.

Might be able with ADB.

Something like https://blog.usejournal.com/adb-port-forwarding-and-reversing-d2bc71835d43

ADB doesn't run with root privileges. adb reverse or adb forward redirects ports between ADB (on PC) and ADBD (on Android). No firewall or NAT is involved.

mDNS broadcasts for Casting are generated by Play Services app. But blocking that (if your ROM supports) would block many other things including push notifications. Simple is to not use apps with Cast feature, or root your device.


text:
Get photos back from broken/locked android phone
Is there any way to open mobile phone and get it's ROM memory out and connect it with pc or something and get your files(photos and text files) ?

Duplicate of: How to perform a full system dump/backup with a broken screen?

Related: How to get data off a completely dead Android phone?

Related: Is it possible to transfer the internal memory/storage chip of an S9?


text:
Why Android x86 9.0 boots in command line and not in GUI?
i just installed android x86 9.0c and i don't know why it doesn't boot on GUI mode and it boots only in commandline then after some seconds i can only see just a dash appearing and disappearing. I have tried to put my graphics settings to vboxvga and disabled 3D acceleration but it still doesn't work. What else i can do to fix this problem?
here you can see that its booted in commandline , after some seconds it becomes black and all i can see is just a dash appearing and disappearing

This is a semi permanent fix. It will stay fixed until you open settings. Then you can just do it again.
1. On the main VBox screen in the display section click on what ever follows Graphics Controller:
2. In the box that opens select VBoxSVGA.

According to the answer here from Stack Overflow:

Temporary fix: append nomodeset xforcevesa at the end of the line containing kernel during boot time at the GRUB menu. During boot press E to edit. While on the line containing kernel press E again, append nomodeset xforcevesa at the end, press enter, then press B to boot.
Permanent fix: read the answer here.

Using the 32bit version worked for me. Also try an older Android version


text:
Why is the Verizon Cloud app generating Instabug text files in my File Manager Documents folder every time I start up my phone?
I am getting a lot of text files in my File Manager's Documents folder. I used the Properties option on the file to see that it is an Instabug file. The path shows VCast.
After searching for various terms, I discovered that VCast is from Verizon, which is my carrier. But, I cannot find an App on phone for VCast or any information online about it or why I am getting these text files.

Additional information:
After using the online chat option at Verizon I found out this information:
VChat is used in streaming videos and music. I use the Hoopla app to play TV shows. It seems like these text files are generated when I play a TV show.
The Verizon rep I chatted with suggested to scan with an antivirus app. I already use one. I tried another. That didn't work.

Additional information:
There were two more text files in my Documents folder this morning. So, this is not resolved. I didn't run any videos or play any music last night or this morning. The text file's date and time were for last night when I had my phone on briefly and for today with the time I started up my phone.

Well, it appears that the culprit app is the VERIZON CLOUD APP.
I went to the Instabug website. I was thinking of actually sending them a message because the path shows their software name. But, I found this article. It appears that Verizon uses Instabug, and the person interviewed for the article is Mohammad Hariri, DMTS for Verizon’s Communications and Cloud division. So, I thought I would try disabling the Verizon Cloud and and IT WORKED!!! I have turned my phone on and off three times. I don't get the text files!
https://instabug.com/customers/verizon
So, now the question is: How can someone in charge of that Verizon Cloud app look at this issue?
Extra: I reinstalled the Verizon Cloud and instantly got a text message in that Documents folder.


text:
Access HCI bluetooth log from Samsung s8
I have enabled the developer setting "Enable Bluetooth HCI snoop log", toggled the Bluetooth setting and restarted the phone. I have not being able to find the log files anywhere and was wondering how to access them.

Usually it should be created here: /sdcard/btsnoop_hci.log.


text:
How to change Google Play country without adding payment method
I live in European Union in country where some apps like Cortana and Google assistant are not avaiable. Now I am in Italy, and I will stay for few weeks if that is relevant,  so how can I change my country without adding payment method. I really do not whant to share some data with Google.
So, I deleted cache and data of Google Play and Play Services. And now I am unable to install any app in Play store, because  Google is forcing me to add payment method.

You cannot change your region without adding a payment method from that region.
However, you can simply create a new google account and pick the region you like.
Additionally, if you added a payment method to the same account, you would lose any balance currency you might have in your account. It also takes a few business days to switch completely.
I currently live in the EU on a student visa and I had a similar problem. So I also resorted to making a new account because I frequently need apps from both locales.

Source: Change your Google Play country
Unfortunately, you cannot.
Relevant extracts

To change your country, you need to set up a new country in Google Play. To set up a new country, you must be in that country and have a payment method from the new country.

(Emphasis added)
Now, you have two problems :

By clearing cache and data, you have ensured that you change your country (as explained in the source)
Your stay in Italy is only for few weeks.

You can only change your Play country once per year. So if you change your country, you won’t be able to change it back for 1 year

To sum it up, you have lost your old country information, you have to set
up new country information and if you do that you can revert to your old country after one year
There is no way out from this awkward situation AFAIK... I feel sorry

Completely ridiculous what Google is doing here... Tip: Use a VPN to at least pretend to be in the country you need.


text:
Firefox's "stop loading X" button. Where is similar function in Chrome for Android?
I'm using Firefox newest update and Chrome newest update on my cheap walmart LG phone. For certiain web browsing puposes I find it handy to use the "stop loading X" button on the immediate right hand of the address bar in Firefox.   On my home computer I find that the ESC keyboard button suits my needs for Chrome to stop the page from loading.  How can I perform a similar stop-loading-page in Chrome for Android on my phone?
There are only two links I've found on the web that address this. Both suggest that there ought to be an X icon to the immediate LEFT of the address bar in Chrome that appears while the page is loading that allows one to stop page.  But it is not there, anywhere, on my Chrome page on my phone.
This is very frustrating.  Nor can I find any apps or extensions to add such a function.
Any help here would be highly appreciated!
Thanks, in advance.

You can access this button from Chrome's menu while the page is still loading. When you would tap the three dots line the reload button would change to X button as long as the site loads.


text:
TWRP: No OS flashed after flashing LOS 16.0 on Samsung S5
I want to install LOS 16.0 on my Samsung S5 SM-G901F. According to the LOS installation wiki, I did from an ArchLinux OS:

installation of TWRP 3.2.3-0 with heimdall
wipe -> format data
wipe -> advanced wipe (all partitions were wiped)
advanced ADB sideload: adb sideload lineage-16.0-20200106-nightly-kccat6-signed.zip (I tried the 3 last build)

I checked all the hashes and they are Ok.
I observed a progress-bar difference between the TWRP and the terminal: the TWRP announced a 100% progress, while the adb command stopped at 47%. However, after debugging it, I realized the installation script runs entirely.
Finally, when I wish to reboot on the system partition, I get the error message "No OS flashed are you sure you wish to reboot?".
Have you any idea to truly flash LOS?
Thank you!

wiping ALL partitions is a very bad idea, especially for unofficial TWRP builds where critical partitions like nvdata, nvram, aboot, ... left in fstab. for LineageOS wipe System only

if you wiped all partitions under TWRP advanced wipe. You need to flash Samsung factory firmware because you wiped the framework that the ROM is built over.

Thank you for your tips, I was able to install LOS


text:
Annoying "No data service" alert

I'm receiving this stupid message every 5 minutes.
How to disable it without disabling other important messages of similar category ?

See if my answer works for you. https://android.stackexchange.com/a/163569/96277

Read these posts: https://forums.oneplus.com/threads/how-do-i-turn-off-the-no-service-notification.79007/#post-7386695 || https://forums.att.com/conversations/android/turn-off-no-data-service-notifications/5df00728bad5f2f6069ded57

I used NotifyClean before on android 6, but it doesn't seem to be working on Oreo. Says "mudule not active or didn't reboot". Needless to say, both are false.

Read the posts. Their problems are quite similar, but their solution is like exploding a kitchen to kill a single cockroach. They disable phone notifications altogether, including the important ones.

Thinking back at the NotifyClean solution, it's still not the ideal, since, unless I'm wrong, the visual message will be suppressed, but the audio notification will still be there to piss me

I've also had the problem of a notification alert every 5 seconds. I think I solved the problem by doing the following.

Make a recording in a quiet place and make sure there is no sound recorded. (only 1 sec needed.
Save the recording as "No Sound" or what you want.
Locate the recording in "File", "Audio"
On the 3 dots select to set it as "Notification"
On the main menu settings select this as your "Notification sound"
Go to your other application ("What's app", "SMS", "eMail", etc.) and change the notification sound from "Default sound" to your required tune.

You will still receive the message but it won't make a sound.
Hope this makes sense and will help solve the annoying notification.


text:
Forgot samsung tablet password
So on my samsung tab, it is turned on and i forgot the password, I cant reset it with find my phone because it needs to be connected to a reset, I also cant factory reset it because it is already turned on, what do I do?

Welcome to Android Enthusiasts! For starters, our locked-out tag wiki has helpful links.

Switch it off by pressing : Power+Volume Up + Volume Down + home for almost 13 seconds
Go to recovery mode by pressing: Power+Volume Up + home for around 6 seconds

Here you can factory reset it, of course you have your credentials (email & password)

It worked! Thanks for the help.


text:
Set a password at boot before recovery mode on Android Q Huawei P30 Pro
on my old cellphone, I could set a password that was asked at startup to protect it I did not find any similar setting in Android 10
I need help to properly secure my cell phone in case I lose it

your phone is very secure with android 10 standard file-based encryption and locked bootloader. recovery/fastboot mode is useless (huawei does not provide unlock codes anymore). your screenlock is part of the encryption key, a 6 digit pin is sufficient against bruteforcing. if you choose pattern, gatekeeper will wipe your device after 10 attempts https://source.android.com/security/features

https://blog.elcomsoft.com/2018/05/demystifying-android-physical-acquisition


text:
How to boot Ubuntu persistent live USB on Android?
I'm discovering the possibilities offered by persistent live USB using Ubuntu 19.10 and I was wondering if it would be possible to boot with Ubuntu on Android (i.e. using your computer capabilities through your smartphone) using those multi-plug USB sticks which have both USB3 and micro-USB2.
In other way: can I get some kind of a boot menu on an Android device in order to boot with a persistent live USB in order to access my Linux computer tools and setup from a wider range of devices?

Near duplicate: Is it possible to boot an Android phone from a USB drive?
You question has two parts:
1. How to boot from USB on Android device?
On most of the recent Android devices you can't boot even Android from USB, rather Ubuntu or some other OS.
PCs:
PC world has a standardization. BIOS / UEFI, ACPI and discoverable buses make every PC almost identical to the OS, so we can boot any OS. BIOS lets you select boot device, loads bootsecotor / MBR and bootloader which loads OS kernel. UEFI Boot Manager is even more sophisticated, it can read filesystems and load one of multiple BLs or even Linux kernel directly from EFI System Partitions (ESP).

Multiboot compliant BLs can load multiple OSes. Windows BOOTMGR and Linux GRUB can also chain load each other. Latter can act as 1st stage BL (MBR/VBR) as well as 2nd stage (GUI boot manager which reads configuration from filesystem). See Boot Process: Android vs. Linux
Phones:
Phone's world has a lot of fragmentation. They are based on SoC design, so every vendor implements its own closed-source firmware. Non-enumeration-capable buses depend on Device Tree, which is stored on flash storage as blob (DTB), and loaded by final BL (like U-Boot, LittleKernel / Aboot) and Linux kernel. So SoC firmware has to bootstrap the device to BL stage so that it's able to identify hardware.

Image source: Exploiting Qualcomm EDL Programmers
SoC firmware cannot boot from a generic MBR/VBR or filesystem, instead it has hard-coded paths to partitions containing BLs. Also the strict Chain of Trust in boot process loads only signed binaries, unlocked BL can break this chain. See Rooting Android phone without unlocking BL, VB and AVB.
However final BL allows somewhat interaction with user to boot fastboot, or Linux kernel from boot or recovery partition. Both partitions don't have filesystems, but a standard raw format as per Android specifications.

Conclusion:
So due to small size, non-standardization, closed-source / signed nature of firmware and minimal functionality, SoC firmware + DT + Aboot setup is no way comparable to BIOS / UEFI + ACPI + GRUB setup. Functionalities like USB communication and graphical selection menus would make the BL kernel bigger than the by-design acceptable size limit. Note that "on embedded ARM platforms the core of LK is typically 15-20 KB."
However SoCs can boot from USB, particularly those used with development boards or single board PCs. See Difference between BootRom and BootLoader.
EFIDroid is a 2nd stage BL based on UEFI (EDK-II). Currently it replaces kernel in boot partition (like other multi-boot hacks), not the original BL.
But we may see (SoC firmware and/or) some (or all) BLs being replaced with UEFI and Device Tree with ACPI (particularly on ARM as it's not very unlikely). It'll make booting from USB devices on mobile phones more probable. For instance Qualcomm's Sanpdaragon 835 already has its SBL replaced with UEFI-based XBL (which also supports ACPI on Windows) and Aboot with ABL. See UEFI on ARM-V8  based Linux Embedded System.

2. How to boot Ubuntu on Android device?
On Android devices it's not possible to boot Ubuntu even from SD card or internal flash memory, rather USB.
Hardware Discovery:
Generic OSes like Ubuntu are not modified for a specific hardware environment. On an ACPI compliant system, after power on, OS may immediately start querying buses: "what hardware is attached to you?", which is not the case with DT based devices. See The case of UEFI for Windows on ARM.
Similarly on PCs Power Management is looked after by ACPI while on phones PMIC is usually a part of SoC - again hardware specific.
Kernel:
Ubuntu userspace is not compatible with Android kernel as latter is largely modified e.g. Paranoid Networking, qtaguid, USB gadgets etc. It's theoretically possible to boot Ubuntu kernel from boot.img e.g. using fastboot, or load it by Android kernel using kexec. However even bigger problem is vendor's incomplete implementations of hardware drivers in kernel, which are not part of upstream kernel source (the one used by Ubuntu). Running console login and traditional X server etc. might not be easy to achieve, see Android vs. Linux.
Binary Blobs:
Android is not strictly based on UNIX's "Everything is a file" theory. Mainly due to license issues, a lot of hardware work is managed by (again) closed-source vendor specific HALs which act as bridge between Android's native/Java framework and kernel e.g. sound, graphics, RIL, fingerprint, camera, sensors and so on. Since Android 8, HIDL (based on Binder IPC) specifically separates vendor-specific binary blobs from AOSP as well as Linux kernel.
Hardware Abstraction:
In addition to binary blobs, AOSP userspace daemons like surfaceflinger, audioserver and gatekeeperd also interface Java stack (which runs apps) on one end, and kernel or HALs on other (which interface hardware). So every hardware component is not simply a file in /dev with well documented kernel interface, instead there are layers of Android-specific IPCs and APIs between apps and hardware.
This model enables AOSP Java framework to be agnostic about lower-level driver implementations, and restricts apps direct access to hardware resources. Apps need manifest permissions to pass through protected APIs in order to access a system resource including storage, network, camera, mic, sound etc.
Partitions:
AOSP depends on a few partitions like /system and /data but HALs need more. On Qualcomm devices vendor daemons like sensors.qti, qseecomd, rmt_storage and wcnss_service read and write to raw block devices (e.g. ssd, rpmb, fsg) and filesystems (e.g. modem, persist and dsp). So camera, sensors, TEE, Wi-Fi, bluetooth, fingerprint, aDSP etc. won't work without extra partitions. SoC, processors, modem, TZ, RPM and BLs also use other partitions for boot process, OTAs, recovery, secure boot, encryption, boot/charging logo and so on. Read more about Android Partitions and Filesystems.
So it's not possible to boot an OS entirely from a single partition. PCs can be started if there is no storage device, but Android devices won't turn on if eMMC / UFS is damaged. Hardware-specific partitions are required at pre-kernel as well as post-kernel stages. That's why Android devices are more vulnerable to be permanently bricked.

Conclusion:
On Android phones there is no generic Android OS, instead we have ROMs which are tightly bound to a specific hardware. So booting Ubuntu on Android device requires integrating all hardware-related vendor code in Ubuntu kernel and/or userspace.

LINKS:

Why don't Android hardware manufacturers build to a common BIOS specification?
Device Tree: What It Is?
Engaging Device Trees.pdf
U-Boot on Arm32, AArch64 and beyond
Nvidia Tegra Boot Flow
LK BL Overview.pdf
Booting Android (Slides)
Comparison of bootloaders
Android HAL and Device driver architecture


text:
Skip slide to unlock screen
Since android 5 I must slide the screen before I'm able to enter the PIN
How to bypass this behavior ?
I am, of course, expecting a "hack", not a vanilla solution
Android 8
Rooted and Xposed
Motorola Moto G6 (XT1925-5)

GravityBox Xposed module has a feature called "Direct Unlock" (accompanied by "Direct unlock policy"). Enabling it and setting the correct policy would show the security challenge the moment screen is turned on (thus bypassing the need to do swipe). I had tested this with earlier versions and it used to work, but for some reason I can't make it work in Android 9. Maybe give it a try and see if it works for Android 8

Near duplicate: https://android.stackexchange.com/q/142129/96277

Not working, unfortunately. Tried Standard direct unlock and see through. Also tried standard or despite notifications... None. Pin length worked though. It's an addition. Too bad this GravityBox is heavy, or else I'd keep it

Couldn't find that thread using google or stackexchange's search. All led to stupid tutorials on how to remove security.


text:
Meaning of two low battery screens on Acer Iconia tablet?
According to https://community.acer.com/en/t5/Android-Tablets/Iconia-tab-10-A3-A20-won-t-charge/m-p/513098/highlight/true,

Hello, my tablet was working fine for a year and suddenly won't charge up.
When plugged in while turned off, the screen will power up, showing the empty battery icon then another icon with a low battery and a power plug.
Then the screen will turn off and start over alternating both icons and so on.

I am going to upload the two screens the OP was talking about:

"Empty battery icon" // "Icon with a low battery and a power plug"

Do the two screens have different meanings?  If yes, then what do they mean?  Are they "charging" and "connect to power"?

I'd go with your conclusion. Similar, although not identical happens on my Nokia 7.2. If it is fully empty and I try to turn it on, I get that icon (second one with wide and plug). And when I connect power in such a state, it shows the first icon for some time before it gets some charge and then moves me to the charging screen as defined in the device's ROM or firmware. Somebody told me earlier that this is a CPU's screen which is used when the battery is extremely low.

The right image I would interpret as "device has low battery and was disconnected from power". This could mean that the charger, the charging cable or the usb port in the device is defect. The first two can be checked easily by replacing them. If the USB port in the device is broken it will get difficult as this requires to replace the board that holds the USB port (if it is replaceable) or re-soldering the loose USB port.

@Robert - you mean the second image?  Is it like iPhone's screen with a red battery, lightning bolt, and a charger?

@singhnsk If you are saying "similar but not same", then why are you talking about the "same" icons?

Singhnsk says:

I'd go with your conclusion. Similar, although not identical happens on my Nokia 7.2. If it is fully empty and I try to turn it on, I get that icon (second one2 with wire and plug). And when I connect power in such a state, it shows the first icon1 for some time before it gets some charge and then moves me to the charging screen as defined in the device's ROM or firmware. Somebody told me earlier that this is a CPU's screen which is used when the battery is extremely low.

1 "Empty battery icon" (with lightning bolt)
2 "Icon with a low battery and a power plug"

In this view, the answer is:

"Charging, please wait till the battery gets at least 1%."
"Battery is dead; connect to power."


text:
Keyboard with TAB key ('\t')
I make lists and I'd love to have a keyboard with a TAB key that actually puts \t character within a text field without switching to the following field. I tried most keyboards and I'm dissatisfied over the lack of that feature. Some have the TAB key, but these don't work as expected (pressing TAB switches to the next input field).
There is SwiftKey and is the only one that does this, but it has no option to disable predictions, which I find annoying.

@alecxs Unfortunatelly, TAB key does nothing. It just switches to next text field or a button.

true. i always use tab for autocomplete in terminal emulator, didn't realize this behaviour


text:
Rooting and updating the OS for ZTE ZFIVE C LTE
How to root a ZTE ZFIVE C LTE (Z558VL) with build number Z558VLHWV1.0?

Honestly, a quick Google search answers this pretty much through deduction, the Tracfone ZFive is not rootable as it has a locked bootloader and it cannot be unlocked. Although the answer is not given directly, looking at the information (locked bootloader and carrier locked) and understanding modern Android devices, one can deduce that this phone cannot be rooted by normal means. There is some (unverifiable) referenced to Kingroot or WunderShare Tunesgo rooting of this, but those are mostly just C&P spam sites looking for clicks and could find no verifiable example of one that had been done.

In the modern Android world, rooting is becoming significantly less frequent as it is getting extremely more difficult to do without having a device with an "official" method of doing so, such as a Google Pixel or OnePlus device. The effort involved in creating a rooting method just isn't worth the investment for low-end devices today either, so the ones that do have a root method that isn't "official" are very common, highly sold, devices like mid to upper tier Samsungs or LG's, and root methods are almost unheard of for low-end, locked devices. Sorry.


text:
Airdots distorted audio while calling
I have a Xiaomi Redmi Note 6 pro and a pair of black Xiaomi AirDots but every time I call and play music together, the music is as distorted as the call itself like the music's coming from the caller.
How can I undistort the audio?

You can't.
Bluetooth has many profiles, ie. modes that have different capabilities. When you're just playing music, the phone is using A2DP profile which is optimized for unidirectional high-quality sound. When you're calling someone, the phone switches to HSP profile, which offers bidirectional sound - but allocating some of the bandwidth for microphone reduces bandwidth available for incoming audio, degrading quality. You can't have both because there's not enough bandwidth.


text:
Shortcut to change value of the developer option
My case: during day to day phone (Samsung Galaxy S7) usage I have monochromatic color space turned on from developer options in 'Simulate color space'. But sometimes I would like to turn back to normal color space. Is there possibility to create shortcut to change that option directly from main screen or at least open Developer Options on certain position?

https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut

You can open a settings page from your home screen by adding a shortcut.
Open the Widgets/Shortcuts on your launcher (I can do so by long-pressing an empty space on my home screen) and scroll down to Settings. Then tap the Settings shortcut and select the settings page you want that shortcut to open to. You will want to select Developer Options.

Also, some accessibility options are available in your Quick Settings (settings above your notifications). You may be able to edit your Quick Settings tiles to include color space (I have a Quick Setting tile named Greyscale which comes from Google's Digital Wellbeing app.


text:
Android fastboot device-id
I have a smartphone lg g6 i try to root it.
When i put the command adb devices the cmd show me my attached device name.
I test many adb commands all works. Finally i put adb reboot bootloader and my phone was opened in fastboot mode.
All fastboot command works just the fastboot oem commands shows me this error:failed command.
I try also fastboot oem devices-id and show me the same error.
Note: fastboot devices work and show me my device name also fastboot getvar all, fastboot oem unlock all shows me result just fastboot oem device-id didn't work. Any idea please.
Edit: After i unlock my phone all the oem option they didn't work Any idea to relock my phone.

Not on every device bootloaders include fastboot protocol in its entirety. Particularly the fatboot oem commands are very OEMs/vendors specific. Even they vary for different devices from same manufacturer. So you need to find out right commands (if they exist) for your device. Check xda forums.

https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands


text:
Unable to Log into Samsung Account on Samsung S5 Neo
Entered correct email and password. Next step.
Entered correct 2-step Verification code. On pressing next, refreshes page and asks for code again. Never actually logs in.
Restart Phone ... NO FIX
Reset Password ... NO FIX

Went on my desktop and logged into samsung accounts from there, 2-step verification worked on their wekapp login portal. Then went into security settings (webapp), disabled 2-step verification, restarted the phone.
Then was able to log into Samsung Account successfully (phone).


text:
Upgraded to Android 10 - can't change MAC address
Today I upgraded to Android 10, more precisely to unofficial build of Lineage OS. My phone is Xiaomi Redmi Note 5 Pro (whyred). I am used to changing my MAC address, because our school tracks network usage. I got around it by setting my MAC to MAC of one of schools iPads. After the upgrade I can't change my MAC anymore! I turn the WiFi off as always (otherwise I would get some error like resource busy) and set the MAC using following command:
ip link set wlan0 address MACHERE

Or
busybox ifconfig wlan0 hw ether MACHERE

In both cases the MAC gets changed, but after turning the WiFi on again and connecting to  WiFi, it gets resettled back to where it was.

Any ideas what can be causing this? I have tried (so far):

multiple different kernels
rebooting

Fixed by editing wlan_mac.bin:

Why don't you add the solution to an answer with some explanation for others benefit?

Android 10 has by default MAC randomization activated: https://source.android.com/devices/tech/connect/wifi-mac-randomization

@Robert that's why it'd be interesting to know how OP got a fixed MAC address by modifying a WiFi firmware file.

@Robert The WiFi driver needs special implementation for random MACs. I was also checking that. My build has it disabled. I have permanently changed the MAC by modifying /persist/wlan_mac.bin as shown above in edit. I think that the fact I can not change my mac as I used to do before is because this ROM uses Xiaomi official WiFi driver. The fix sadly probably only works for devices with same driver/modem configuration.


text:
Chinese character input is translated to emoji in WhatsApp
When inputting a Chinese character "" on WhatsApp for Android version 2.20.47, it is rendered as the emoji  instead.
My first guess is the Unicode of the Chinese character and the emoji are the same? Is there any reason behind this?
FYI: The character is typed with ChangJie, and the input code is 竹人戈一弓 or HOIMN.

The character you typed is U+E409, which is in the private use area, which means that different fonts may use it for different purposes. Private use characters should not really be relied on for general interchange. (On my machine, I get a little envelope icon.)

I'm not familiar with Chinese input methods, so I can't tell you how the input method used produced that character.

This is because WhatsApp uses Apple's emoji set, which essentially uses SoftBank mapping for backward compatibility in a Private Use Area (PUA), long before emoji was standardized in the Unicode.
The character "" (U+E409) is in the Basic Multilingual Plane's (U+E000 - U+F8FF) PUA. Since it is in the PUA, there is no standard definition for the character. While the character is supposedly rendered as , SoftBank (and Apple subsequently) apparently uses the PUA for their emoji, and U+E409 "coincidentally" renders .
Some other characters in the PUA that are rendered as emoji on WhatsApp (U+E400 - U+E40F):



Note that this is entirely WhatsApp's doing. This also affects WhatsApp Web and also WhatsApp on PC. However, other apps/OSes may render the character differently or otherwise, fails to render.


text:
How can I prevent a recording from being inadvertently stopped?
After I hit Record on my Android for video or audio recordings, the Stop button is too easily triggered accidentally, e.g. by the wind or physical matter (dust, paper) that manages to touch the phone screen. How can I force the phone to require more than a touch (e.g. a password) to stop or pause a recording?

Use a recorder that works when  screen is off, for example this for audio. With the screen off accidental touches will not trigger stop. Just need to lock screen when recording starts and unlock to stop

And for video search play store for "secret video recordings" and pick any app that can record with screen off. I didn't try any but going by ratings, this app seems fine https://play.google.com/store/apps/details?id=com.kimcy929.secretvideorecorder


text:
all google product app isn’t loading or working. what to do?
Google services like Youtube, Gmail, assistant, Docs, google app etc are not loading or working. The loading bar appears but nothing happens. Play store loads everything but when i click install it shows waiting for download and then nothing happens. The browser versions of all those products are working perfectly but those app versions are not working. I am currently running Oreo. Is there any possibility i can fix this? Here is a google assistant "something went wrong" screenshot

Possibly some problem with Play Services. Did you try restarting device? Also check logcat.

i restarted my device several times and also cleared play services app data but nothing changed.

I would assume that the cause is identical to this question: https://android.stackexchange.com/questions/221821. Looks like Google is rolling out some required support-library updates and if you have the wrong combination you are in trouble.

So it looks like i have to wait for the next update. But if that one won't work then i am doomed!? :'(


text:
Phone shows foreign phone numbers as domestic
I have a Samsung S9+. Sometimes, my phone does show foreign numbers as being calls from abroad (i.e. there's a plus-sign with the country code before the phone number). However, it has happened multiple times that a phone number seems domestic, but is actually international (and, if I call back, I reach somebody entirely different than the one I just talked to).
It seems like the phone has a hard time distinguishing between foreign and some domestic phone numbers.  Sometimes it's kinda obvious (e.g. the phone number has the wrong number of digits). However, other times, there's no way for me to tell that the phone call is actually an international one.
A lot of these international calls are spam calls. Is there a way to work around this issue so that I can always tell if a phone number is a domestic or foreign? I mean, there are certain countries from where there's no reason for anybody there to call me.

You should complain to your Carrier and they should fix it. This spam calling is a part of illegal calling which I think involves VOIP. In India, we are told by SMS to report to certain numbers, such instances.

I dug out an old SMS - While receiving an international call, if an Indian number or no number is displayed on your phone, please inform on the DoT toll free number 1800110420/1963


text:
Using a different account for writing reviews on Play Store
I'm not sure if this is the correct site to ask this, but when I download an app from the Play Store, I use a different account for writing a review after using the app. I wanted to ask if what I'm doing is allowed or not, and if it's not, then I'll just stop writing reviews from another account. I'm feeling kind of bad thinking what I'm doing might be wrong. I know this question is a bit weird, but I just wanted to ask. Thanks.

The reason i would use a different account is because i would not want my name displayed

Google Play write a review does not say that your review account has to be the same as the account on the phone. You can have multiple accounts on your device.
So I would conclude what you are doing isn't wrong, but I see no advantages of doing so. On the contrary, it may cause confusion. Let's say a developer responded to your review saying that a paid app isn't working and asks you for app logs, they would see a different account

You are correct, it would cause a lot of confusion. I have decided to start using just one account for everything. As for the reason, I'm a bit embarrassed to share it, hope you understand. Anyway, thanks for replying :)


text:
Android system cant start because of "No space left on device"?
I ran my app, which communicated with my server in every 5 minutes. 2 days later I can't turn on my tablet, because it stops at the boot image.
I'm getting all kinds of error in logcat like this.
My app did not use any database, so I don't know what went wrong, and how can I solve it..
E System  : ******************************************
E System  : ************ Failure starting system services
E System  : java.lang.RuntimeException: Failed to boot service com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle: onBootPhase threw an exception during phase 480
E System  : Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 4874)

W SystemServer: ***********************************************
E SystemServer: BOOT FAILURE making Lock Settings Service ready
E SystemServer: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 4874)

I SystemServiceManager: Starting phase 480
E SQLiteLog: (4874) os_unix.c:29945: (28) write(/data/system/locksettings.db-shm) -
E SQLiteLog: (4874) disk I/O error
E SQLiteLog: (4874) os_unix.c:29945: (28) write(/data/system/locksettings.db-shm) -
E SQLiteDatabase: Failed to open database '/data/system/locksettings.db'.
E SQLiteDatabase: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 4874): , while compiling: PRAGMA journal_mode
E SQLiteOpenHelper: Couldn't open locksettings.db for writing (will try read-only):
E SQLiteOpenHelper: android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 4874): , while compiling: PRAGMA journal_mode

D AndroidRuntime: Shutting down VM
E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E AndroidRuntime: java.lang.RuntimeException: Failed to boot service com.android.server.devicepolicy.DevicePolicyManagerService$Lifecycle: onBootPhase threw an exception during phase 480

DropBoxManagerService: java.io.IOException: write failed: ENOSPC (No space left on device)

So how Can I figure out what allowed my space, and how can I resolve this problem, and start the device.
Currently I can't even use ADB commands because the device don't even start...

Most likely your application has either filled up the /data partition or (if your tablet is rooted) even the system partition. Likely suspects are log files and SQlite databases growing infinitly.
A communication every 5 minutes over 2 days means 576 communications - if every communication uses up a MB of storage, you have used up more than half a Gigabyte.

Adapt your application to never ever write to system
Adapt your application to keep a firm hand on disk usage on data
Adapt your application to stop if less than half a Gig of storage is available

Then factory-reset your tablet via recovery and try again.


text:
How does Android know my password contains only numbers?
My Android phone's unlock type is set to a password, but it only contains numbers for fast unlocking (I'm well aware that a PIN is an option, but this way presents more possibilities to an attacker). My phone's USB storage is encrypted so that I must enter my password on boot, and when I do, I am provided with a numerical-only keyboard. How does my phone know that my password only contains numbers? Does it store the password in plain text?

Your password certainly shouldn't be being stored in plain text, although without reviewing the exact software your phone is running I can't rule the possibility out. More likely, when you set the password, it checked which characters are used and set a flag (in the plain-text portion of the system where the boot code and device unlock functionality live) indicating which keyboard type was most suitable. It probably shouldn't do that, but it could reasonably be described as a convenience feature.
Alternative explanation: are you 100% sure that, when you set your password, you did it in a way that allowed setting non-numeric characters? Maybe you have a PIN by accident. Try changing your password, and see what keyboard it gives you. If it's the full keyboard that you expect, that's an argument for the "sets a flag" theory. Try adding a single letter or symbol the the password and seeing if it changes the keyboard presented when unlocking.


text:
xiaomi redmi note 4 stuck in bootloop after making twrp backup
attempt to flash lineage os los16 mido on xiaomi redmi note 4. unlocked bootloader and flashed twrp according to los mido official page instructions. made backup in twrp by checking all boxes.(system, vendor, data, cache, recovery, boot, persist, bootloader, firmware, efs). didn't make any other changes in options/encryption. total size came to 14gb+. after system reboot it got stuck in bootloop (mi logo, 'unlocked' written at bottom of the screen). on holding down power key it vibrates, and reboots back to mi logo. on holding vol up and power, boots into twrp. tried wipe>advanced>cache, dalvik and then also tried wipe>factory reset but to no avail. please please help me as i need my phone back asap for work. with the curfew idk when i'll be able to take it to a service centre until which time i'll be w/o a phone.
this is my first time so please excuse me if i've not followed/violated any rules and i'll make the changes. thanks

you flashed TWRP that is the change that prevent from boot https://android.stackexchange.com/q/214902

just boot into twrp and install no-verity-opt-encrypt. If your phone is working again, backup boot, root with magisk, then backup with Migrate. save all backups to PC, restore boot, wipe system, install LineageOS and gapps. format userdata and reboot. for rooting install addonsu-16.0-arm64-signed.zip

https://www.thecustomdroid.com/install-magisk-root-android-devices/#Method-2-By-Flashing-Magisk-Patched-Boot-Image-using-Fastboot

https://wiki.lineageos.org/devices/mido/install#installing-lineageos-from-recovery


text:
How can I stop the native clock app's countdown-timer from throwing one notification per minute?
I have Android 8.1.0 installed, and when using the countdown of the native clock app, it throws one notification per minute. I would just like to turn that off.
In the Settings under:

Apps & notifications

Clock

App notifications

ALARM_NOTIFICATION_LOW_CHANNEL

Importance

I picked "Low - No sound or visual interruption".
When I listen to audio from another app, the timer doesn't make a noise, but it pauses the audio I am listening to and shows a notification dropdown. This dropdown is also annoying while using a browser, because it overlaps the URL bar and the top part of a site...
Unfortunately, googling made me no wiser. Thanks for any tips on how to turn that off.

Which Android device are you using?

Archos Access 50s 4G

Changed the settings in ALARM_NOTIFICATION_CHANNEL, instead of ALARM_NOTIFICATION_LOW_CHANNEL and that fixed it.

Would like to accept this answer, since the issue is solved, but the interface says I need to wait two days ...


text:
Do 360/3D videos in Chrome and YouTube app work on a phone without gyroscope?
I'd like to buy a new phone, I am considering a Nokia 5.3. I just noticed in its specification that it doesn't have a gyroscope. I wonder if embedded 3D/360 videos in Chrome ( and such videos in YouTube app ) would work on this phone ( + Google cardboard ).

Google Cardboard appears to require a gyroscope to operate.
From: https://support.google.com/cardboard/answer/6295046?co=GENIE.Platform%3DAndroid&hl=en

Check phone requirements
Note: If you get a device incompatible message, you may not have a phone fitted with a gyroscope.

Using a gyroscope improves the orientation position of the handset so that turning your head to the left 45 degrees actually feels similar to a 45 degree turn rather than something else.
Note that if you want to view 360 degree video and are willing to deal with swiping/dragging on the screen to move around, that shouldn't require a gyroscope.
I believe there are various apps which will play 360 degree video/3D? without a gyroscope, YMMV.
If you really want to do VR/AR type behavior with your phone (in Cardboard or not) you are better off getting a phone with a gyroscope.
As ARCore is Google's AR platform, and they list supported devices here if you want to find something guaranteed to work.

Thank you very much! Nokia 5.3 is not even listed on ARCore.


text:
FRP Locked and Doesn't UNLOCK WITH CORRECT CREDENTIALS
I've got a Lenovo Tab 3 Essential. Due to a forgetting my password, I've reset that by Android Recovery boot.
Now it asks about my google account. I enter the correct email address and password but nothing!. It says

Due to a UNKNOWN PROBLEM, CANNOT COMPLETE THE ACTION. TRY AGAIN IN 24 HOURS

Please help me.

maybe it is helpful to connect wifi and wait 24 h. But by-pass FRP is possible with SP Flash Tool. first step is creating your own scatter file (i strongly recommend not to use any downloaded scatter), second step format the FRP partition with values from the scatter file, for EXAMPLE
region: EMMC_USER -
linear_start_addr: 0x5d00000 -
partition_size: 0x100000

Thank you. I've connected wifi and I have been wait for 24 hours. NOTHING HAPPENS


text:
I have a Redmi 4 phone , what are possible reasons for internet issues in it?
There are some locations where internet in my Redmi 4 phone works very fast and every time.
But there are some locations (like the place currently i am living) where it shows full network but most of the times internet stops (becomes very slow , like just keeps buffering and never loads even a simple web page). During late night it runs without any hassle at same location.
Now at same location , when i use some one else phone (LYF) , internet works throughout the day .It becomes sometime slow but then also is able to load 360p video on you tube.
Problem is not in sim card.
Any possible reasons and solution for this.

Are the Redmi and LYF using the same carrier? If not probably the Redmi carrier is loaded during peak hours and bandwidth throttled

@beeshyams yes same carriers


text:
How To Root An Android Phone?
I was looking here and there and i can't find any answers how to root my samsung galaxy s6 i was trying to root fully i was trying kingoroot,iroot,kingroot i can't so i find a different way to root my phone i just plug my computer and just download some files and show those steps that how to root a android phone? it says you need to root but a way to root the way is to enable bootloader so i have no option in my settings now guys how i will root my phone guys help me out of this thing!

Every phone is rooted diferently. It depends on the phone and current ROM installed. Normally the steps are as follows:

Enable USB debugging in the developer options for your phone. Sometimes the bootloader is also unlocked from the developer options.
Unlock the boot loader.
Install a custom recovery(TWRP, CWM).
Flash the root software with the custom recovery.

For your phone there seem to have been changes in the root process. You can try this video and report if you find any problem.


text:
Output sound through jack and speakers on Samsung Galaxy phone
I am trying to find a way for my phone to output sound to both the phone's jack and to the phone's speakers simultaneously.  Currently, plugging something into the jack turns off the speakers.
The reason I'm asking is because I'm hard of hearing and need the speakers so I can hold the phone up to webcaptioner.com to create automatic captions, while using the jack to plug the sound into my hearing aids.
I have a Samsung Galaxy (samsung-sgh-I747) using Android version 4.4.2.
What I have tried: I looked on the phone under "sound" and "accessibility" - nothing there works.
I also tried plugging the phone directly into the computer to see if this could make really clear captions, but the computer didn't register the incoming sound.
I tried turning on "Samsung captions" - but no captions appear anywhere.
I also found that it seems you need an app or a splitter - https://www.quora.com/How-can-you-use-your-headphones-and-speaker-at-the-same-time-for-a-mobile - I'm hoping there can be another solution.

the link you provided really says it all... there is no good way do do this. You can try an app or get a speaker, but that is your best bet. (you could also consider blutooth headphones,as this wouldnt use the internal amplifier.)

"I'm hoping there can be another solution." - There might be, but the simple solution is to follow the recommendation in the link you already gave. A suitable 3.5mm male-to-male auxiliary cable is about $5-$8 on Amazon and a suitable stereo Y-spitter is around the same or slightly cheaper. So you are looking at perhaps $15 for both. Not cheap, but you can just plug the auxiliary cable into the PC mic input (the Y-splitter is for the phone).

Hi Anaksunaman and ragnvaldr.js - thank you very, very much for taking the time to respond.  It's good to know what direction to go in.


text:
How to recover files after formatting android mobile
i accidentally formatted (soft reset) my Oppo smart phone running on android 9.0 , it has important images, now how can i recover them

Does this answer your question? How to recover a deleted file from /data partition?

Photorec (part of testdisk) is a fantastic open source file recovery tool that's my go-to, well respected, pretty easy to use and very good at file recovery as long as the data on the drive has only been deleted, not overwritten. I think it should work for your phone then, as long as the format didn't secure delete / rezero the memory
It's a PC tool, but you can run it on your SD card in a reader, or on your phone's memory if you attach it to the PC as a USB storage device
One thing to be aware of is it will find most files in my experience, but often it loses the filenames in the process, and it dumps every file it finds on the drive into generic folders, so you might have to sift through a lot of files with the extension of the ones you need before you find them, but it is good if you need something important back
https://www.cgsecurity.org/wiki/PhotoRec


text:
How to enable 'install unknown apps' on Samsung mobile device?
My Samsung device is running on Android 10, One UI 2.0. I want to install apps using apk file via non-official platforms (the app is not published on Google Play, Galaxy Store). But it won't let me.
Settings > Biometrics and security > Install unknown apps,
All the listed apps there (e.g. Google Chrome, File Manager) are disabled by default and greyed out, stating:

Installing apps from this source may put your phone and data at risk.

I googled a little, this forum discussed about the exactly same problem I am facing. One user there said that disabling admin apps can help. I went to
Settings > Biometrics and security > Other security settings > Device admin apps,
I see 5 listed apps (I think most Samsung device is sharing the same, except the Outlook's one because I installed Outlook).

I click into one, this shows up and 'deactivate' is greyed out as well. None of them can be deactivated.

I have absolutely no idea how to solve this. As previously when I was using Huawei device, I had no issue like this, system won't stop me from enable it. As far as I can tell from Google results, there are Samsung device users facing the exactly same issue. Official forum and YouTube are useless, solution given is just tell you where to find the settings, or just demonstrate you how to enable it without issue like this meanwhile under comment section people complaint about this issue, there was no solution. Send help. I apologize in advance if I posted the wrong question on the wrong forum category.

One UI 2.0 user, but rooted. Is your phone's work profile administrated by your employer, by chance?

Community bump prevention: this question was closed because the question seems to have been abandoned (question was migrated but OP didn't join the site and the existing answers has no votes). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

What worked 4 me once was sending the .apk file from an email app n opening it up there. Not sure why or how that happened


text:
Tasker: Need help automating media activities
Poweramp is a popular media player.
I made a loop to check a few things:

If Poweramp is running
If a jack is plugged
If the volumes are according

Almost everything work, except Tasker doesn't seem to detect if Poweramp is running (even though there are explicit toasts of it).
No plugins on the market work either
My idea to overcome this is to read the toasts and see if the title (or anything) matches the string "Poweramp".
How to do this inside a task (not a profile) ?
I read some suggestions to use the %NTITLE var, or something, but it's confusing. No results on my attempts.
I also read about an AutoNotification plugin, but it's even more confusing...
(I have it installed, but out of the box tasker is prefferred)
Kindly change the example
 below with the solution, if there is:

This is a task, not a profile !
This is also a simplified version of my code

Label: Check
If (PlugConnected=1) //Global variable set elsewhere
  PerformTask: VolumesMedia
  If (%ntitle != Poweramp)
    Launch App: Poweramp
  Endif
  Wait 1 minute
  Goto: Label Check
Else
  PerformTask: VolumesNormal
  Kill App: Poweramp
Endif

Sometimes poweramp crashes, that's why I need a checkup loop. And other reasons.
Thank you ahead
More:
Everything above is a simplification of my situation. Out of curiosity:

Sometimes I plug via P2 connector, and most of the times, via bluetooth.
For either source there are different audio settings. There's also a third 'default' audio setting (tasks) that is triggered by other profiles (states and triggers) not related to media.
My bluetooths (car and home stereo) generally trigger a task, but sometimes it goes crazy, forcing me to create tasks and profiles beyond triggers only to ensure it is alive and breathing (redundancies)
There's a Profile that detects if an app is running (so much simple), but it's not detecting Poweramp, hence, another redundancy structure (task) I'm forced to create
There's a profile to turn off radios to spare energy, and it's intrinsically connected to the media...

So on.
Basically, this complex (but optimized) structure I have right now is the one I developed (over maybe a year) to circunvent glitches.
I could simplify so much more, but Tasker is very limited as I cannot make a profile call two tasks (I need to make tasks only to call other tasks. That's even ridiculous).
If I could program tasker as I program C, my god... (And I know only the basics of C). Suggestions accepted.

Why do you want to do this within a task and not using a profile with multiple conditions? Using a loop in a task is not exactly battery friendly.  Also, is the device rooted?

Rooted, yes. I made changes on the body to explain those details.

Been some time, but I'm still looking for tips on this.


text:
How to disable user input (touchscreen) from command line without root
In the android command line, I need to disable the touchscreen user inputs. I do not want to use root because I want it to be universal instead of device-specific (root is obviously not as widespread as non-root)
I need to do this because I want to open a youtube video using link (done already).
And I also want to make sure that the user/person does not change / pause the video.
I do not want to install any app whatsoever, but only use existing ones (system apps and maybe the extremely popular apps with 500m+ downloads)
I am assuming I will have all the permissions adb has (not the adb root part), so let's go with that
This is for a rickroll btw hehe

Disable all user input without root is nearly impossible. The only way that comes close to this is to start a second app after Youtube that just shows a transparent full-screen app window (overlay), so that touches got to the app and the youtube app in background is still visible. However the user can still make the Android navigation bar on the bottom or the status line at the top visible and therefore leave this mode. In any way such an needs to be developed, and app-development is off-topic here.

I do not mind the status bar or the other ones which can't be overlayed.
as for the application method; it would be viable, if only there was a such application installed on many devices (maybe a system app has a bug like that?). As for the app part, there are such applications like "lock your screen" or "screen touch lock" I would resort to these; but only if there are absolutely no other ways (excluding root).

You should edit your question and present more details on what you want to achieve and  what your restrictions are (e.g. without installing any app?, how do you execute the script - via app or adb)

the script? im just planning it to be an sh script tbh (run it from adb maybe). Not to be rude, but why does how I execute the script matter? I mean its all the same shell and (mostly?) the same permissions. As for the first part yes I will add that now.

@A68AGaming shell is not same on adb and apps. There are huge differences of permissions.

ok, I added to the question to assume we have adb permission :D


text:
Moto X4 - Stuck on black screen
I was flashing Pixel Experience ROM with TWRP (fastboot boot recovery.img) recovery. The OS did not install on the device:
Installing zip file '/external_sd/PixelExperience_payton-10.0-20200130-0358-OFFICIAL.zip'
Checking for Digest file...
Step 1/2
Step 2/2
Updating partition details...
...done

I decided to reboot my recovery and my phone stuck on a black screen, I had about 30% charge left, the power button isn't working. how to boot into fastboot?

Have you followed complete installation steps? after installing rom zip, you need to install twrp zip (need to repeat this for each rom installation/update), then boot to twrp recovery. I need to know that you missed adding twrp zip.

Actually I found that I ripped off my bootloader, now I have to blankflash, I have the blankflash files but it's not executing


text:
Allowing mixed (insecure) content on Chrome for Android
Is it possible to enable insecure content explicitly for a site in Chrome?
It's possible in desktops by going into site settings and allowing "insecure content", but when I checked the same in Android, it only has one option called sound in site settings.
Use case: streaming m3u8 files and the browser keeps blocking them, I want to enable insecure content for phones as well.

Try pasting this in search bar chrome://flags/#unsafely-treat-insecure-origin-as-secure and toggle settings followed by restarting it browser. If it doesn't help, type Chrome://flags (don't get put off by the warning) and search for secure and experiment

I am copy-pasting @beeshyams comment as it worked for me.

Try pasting this in the search bar chrome://flags/#unsafely-treat-insecure-origin-as-secure and toggle settings followed by restarting its browser. If it doesn't help, type chrome://flags (don't get put off by the warning) and search for secure and experiment.

The above answer doens't work for me. Someone has another? I really need this


text:
Phone can't access internal storage
I have a problem with my relative's phone. He has a ZTE Blade A452 phone with Android, and it seemingly can't access its internal storage at all.
There is constantly an error message "Your internal memory is full", and "Email service has been stopped" because of lack of storage (even though he doesn't use it at all), no new text messages could reach his phone (I switched the text message storage to SD card). When I go to Storage option in Settings, under selecting the default location there is only SD card option, and when I scroll down to phone storage to see how much is used, it says "Calculating..." and never shows the storage. It also shows some weird number in space available. After I removed the SD card, it shows there is around 4 GB of system storage, and 4 GB of user storage, yet none of it is available. Also, when I go to the file manager, I can only see the SD card and no internal storage. I can't even transfer photos from internal to SD card, because I don't see them in the manager.
Here are photos:

Is the phone completely screwed up or can I do something about this?

I have added a tag "Insufficient memory". See the tag wiki and linked questions therein for help in troubleshooting

So this is a bad situation but I might have a solution.. If you really need your photos I suggest you try rebooting into recovery and wipe the caché partitions and see if it helps,  if you have a custom recovery this would be very great as we can extract the entire /internal storage and copy to out SD Card manually and is very time consuming.
You can also try
 Fx File Manager (it doesn't have ads or tracking) and see if it still won't show your internal storage.  If all methods fail, factory reset will be the last resort.


text:
How to make phone say something from commandline
I want to send a command which makes the phone say something. Is there any way I can install such a command, or is there one that I don't know about? The phone is rooted so I have full access to it and can do whatever is needed

use automation app

Do you want to play pre-recorded audio files or are you talking about a text-to-speech system?

im talking about a tts (text-to-speech) system

Could you provide more detail, like what kind of input command and syntax you prefer to use? Something like say <insert sentence here>? Also, is the command run directly on the Android (using Terminal apps), or from PC/other sources?

i am using an ssh app which has SU permissions. the root permission works properly, so that's ok. I would like to use a basic "say " syntax.

i have connected to the ssh app via my MacBook air's terminal.

Related using Termux

this would work, but I am connected using an ssh app. If you know the path where the termux commands are stored, then this will be useful!
I also searched using ls -l -R | grep tts, and find -name tts, but nothing came up


text:
I can't record calls on my Verizon Samsung Galaxy A51
I just bought a Verizon Samsung Galaxy A51 and installed 5 different call recorders but none of them worked. What can I do? I really need to be able to record calls.

it could be the phone is android 10 and the call recorders are not supporting that

According to a big computer magazine one of the few good working Android 10 capable apps for call recording is Cube AR (requires subscription).

I tried cube acr the free version but it didn't work. Who said that subscribing would fix the problem?


text:
Bluetooth transfer files between android and iOS devices
I've been tinkering with this for a while, and am pretty sure it's not possible to transfer files using Bluetooth between Iphones (5s at least) and Android (I've tried with a J2).
Please, assume I don't trust the person in the other device, as many of us would like a general solution of file transference. (without the need of any Clouds -icloud, g drive, etc.)
Is this the case? Is it the only way to install an external app? Would you go any other way?

PS: I've also tried to transfer files from Iphone to my Lenovo 320 ideapad (ubuntu OS), and after hours I gave up. So I'd appreciate any tip on this too.

Ubuntu OS has known problems with bluetooth. There are 2 places from where the problem can come on all of your devices. The bluetooth version on each of them is different and not compatible with the other or the driver is not good. Try updating your driver and see what will happen. Try with Windows and the driver for Windows. Sometimes there are custom drivers build to revive your PC bluetooth.

There are apps that are available for Android and iOS that claim do allow sharing via Bluetooth/Wifi. From the PC to the phone via Bluetoth sharing works from my experience only for a very few popular file formats like images.


text:
Integrate CalDAV to Android Outlook
Is it possible to integrate the CalDAV calendar into the Android Outlook app?
Usually, CalDAV calendars don’t appear in the Android Outlook app, so I search for a way to integrate CalDAV into Outlook. I know there is a software called Outlook CalDav Synchronizer but it's only for desktop (Windows).
There is another app called DAVx5 to synchronize CalDAV, but it's a paid app and I don't want to waste it.
Does someone have the experience?

DAVx5 is definitely no waste, and 2) it's available for free on F-Droid. So if the Outlook app can show entries from your Android calendars (I cannot tell, as I don't waste my time and data on such apps), then syncing your CalDAV calendars with DAVx5 will solve this for you.

Community bump prevention: this question was closed because the question seems to have been abandoned (OP's account doesn't exist anymore, and no answers have score above 0). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

According to my research, Outlook for Android does not support the CalDAV feature so far. There was a feature request on the deprecated Outlook UserVoice (archived since Microsoft has moved away from UserVoice).


text:
How can I trigger a sound when the device vibrates?
I have a game which makes my device vibrate when a certain event happens. I want my device to play a sound when that event happens. Unfortunately, the developer doesn't seem to be interested in implementing the feature of having an alarm sound.
Maybe this shortcoming of the game can be bypassed by making my device playback a short notification sound when it vibrates. Unfortunately, I couldn't find any apps which can do this or even discussions regarding the same problem.
How do I achieve my objective?

It might be possible to use automation apps if there are other simultaneous events accompanying the vibration, but you have to find them by yourselves, perhaps by tracing the logcat (no guarantee though).

/sys/class/timed_output/vibrator/enable exists at least on Qualcomm devices with vibrator a part of PMIC, connected to SoC via SPMI bus. Timed-output was a class driver (vibrator appeared as a virtual device) in staging tree available up to Android kernel 3.18. On later devices AOSP treats vibrator as an LED module and vibrator HAL uses hardware/vendor specific kernel interfaces in sys/class/leds/vibrator/. If files named state, duration, activate etc. exist there, they can be watched to get vibrator events. On older devices same can be achieved through timed_output if applicable.

Also theoretically an Xposed module can hook into AOSP's VibratorService methods to intercept vibrator calls. I haven't seen such mod/app though.


text:
SP Flash Tool Windows 10
I am unable to run the flash tool. Says the following dll files are missing although they are shown in the unzipped file. Flashtoollib.dll   FlashtoolllibEx.dll  QtWebKit4.dll  SLA_Challenge.dll  I am running Windows 10  I have tried downloading the flash tool file a few times but get the same messages. Can anyone help please?

maybe it's a typo but to me it looks like you did not even know the difference between file and folder. are you sure you unzipped files?

Yes, all unzipped.


text:
Error while running an emulator
=== About ===
Build version: Android Studio 3.6.2 Build #AI-192.7142.36.36.6308749 March 19, 2020
Java version: 1.8.0_212-release-1586-b4-5784211amd64
Operating System: Linux (5.4.0-31-generic, amd64)
JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o
Event Log :
31/5/20
7:37 AM * daemon not running; starting now at tcp:5037

7:37 AM * daemon started successfully

7:38 AM Gradle sync started

7:38 AM Gradle sync finished in 5 s 456 ms (from cached state)

7:38 AM Executing tasks: [:app:assembleDebug] in project /home/adeshchoudhar/AndroidStudioProjects/HigherOrderFunctionalities

7:38 AM Emulator: E0531 07:38:29.247262716   10618 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1590890909.247245520","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}

7:40 AM Gradle build finished in 1 m 52 s 648 ms

7:41 AM Install successfully finished in 37 s 891 ms.

I have 8GB ram, and I know the emulator is quite heavy to load, so it is slow. But it was working fine, however while working I messed up something and ended up in this error message.
7:38 AM Emulator: E0531 07:38:29.247262716   10618 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1590890909.247245520","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}

The emulator is now also working fine. But sometimes, my system hangs. I have to wait for to everything run smoothly and also there is a problem in closing the emulator. My questions are:
1. (top priority) How to resolve the above error / what is the reason / what is the meaning of the error?
2. Emulator hangs the system and does not get shut down or closed quickly, is this normal?
3. What does the size on the disk in the AVD manager means? Is it ram which is taken or just memory?
4. How to optimise the speed of emulator? How to properly use it from start to end?
I know I'm asking more questions, but they are linked, as long as I think, so please contribute.
Any help would be appreciable, your contribution will help me a lot to learn.
Please comment and help me, if you know anything regarding my questions.

You must make sure to enable 'Virtualization' in your system in bios setup.

@AbdullahKhanNiazi It is enabled already. Can you help more?


text:
How to root Nexus 6P w/ unofficial LineageOS 17.1?
I flashed PixelBoot's unofficial LineageOS 17.1 on Nexus 6P, however I failed to root it.
First I tried flashing Magisk-v20.4.zip, which failed w/ "cannot mount /vendor" error. Here suggests I should upgrade TWRP to a "Treble compatible version" but my TWRP is already the latest 3.3.1-0.
Secondly I installed MagiskManager-v7.5.1.apk to see if I could use the "patch boot.img" approach. But it kept "checking for updates" till the end of the world, not showing the "install" button at all. I should probably opt out of the canary channel, however I am already in the stable channel.
Thirdly I looked for LineageOS's su addon zip. Unfortunately they offer that kinda thing for 16.0, 15.1 and 14.1 only.
As the last resort I flashed SuperSU-v2.82-201705271822.zip and installed supersu-2-82.apk. But the latter just fails to detect the former and refuses to work.
How am I supposed to root my phone?
It it because of the incompatibility between Android10(LOS17.1) and TWRP?

Darn it. Anti-DDoS issue. solution


text:
FitBit Charge 3 not connecting in new android Phone after previously synced with iPhone
I previously used FitBit Charge 3 on my IPhone 6S, After it was totally broken and damaged I bought a new Samsung Galaxy M30S Android Phone.
While setting up new device I can see the message tracker found, but the Connecting is not working and buffering forever.
I tried several options like turning off Bluetooth and on, reboot fitbit device and other mentioned in forum but no luck.
I contacted customer support and they say that since you already sync with iPhone first you need to unpair from iPhone which I cannot do as it is damaged.
They suggested restarting fitbit for pressing 8 seconds which also did not work.
They said sorry and could not replace the product as warranty expired.
Does anyone have any suggestions ?

Is there a Bluetooth Classic setting on the device? The bit about unpairing first is BS. Also, take a look on here https://community.fitbit.com/t5/Charge-3/bd-p/charge3 for threads of similar issues. There might be a solution within.

@spikey_richie I don't know about FitBit, but I know a device (Bluetooth card reader) which I use that can only be paired to a single device, so if it's already paired to a phone, other devices cannot pair to that device until it's unpaired.


text:
How to mute sound just on Instagram stories?
I have an Android smartphone. I wish to mute sound on Instagram stories, which can be achieved easily by using the volume buttons.
However, in that case I need to unmute sound when I want to watch a video on YouTube or listen to a voice message on WhatsApp etc. and it's very annoying.
I want my sound to remain unmuted, but to automatically mute when I open Instagram stories without me having to do this manually.
How can this be achieved?
Edit: I'm obviously thinking about other people's stories, I wish to mute sound while watching other people's stories. It's fairly easy to mute sound when I am uploading my own story and this question is not about that.

Assuming that you're fine with muting all sound whenever Instagram is launched, you can use an automation app on Android to mute the volume when it detects that Instagram is opened.
Similarly the automation app can detect when Instagram is closed and reset the volume to the previous level or to a pre-set level.
There are many automation app's available, e.g.:

MacroDroid
Automate
Rulebot
Tasker

I've experience with MacroDroid only. I'll outline the steps below to mute the sound when Instagram is launched. Unmuting it when Instagram is closed is left as an exercise to the reader.

Create a new macro
For the trigger set: Application Launched/Closed -> Application Launched -> Instagram
For the action set: Volume Change -> Media / Music -> Slider value: 0%
For simplicity you can leave the condition empty. However, you could for example set a condition that checks whether a headphone is connected and only mute when that's not the case.

Other enhancements would be to store the volume level before muting such that you can restore that level when unmuting.

I use a Samsung phone, so I use sound assistant to mute Instagram volume.
I only turn it on when I see something interesting.
If you are not using a Samsung, a good alternative I've found is
Volume Manager:
https://play.google.com/store/apps/details?id=de.hp.volume
Hope this helps.

What is sound assistant? My Samsung doesn't seem to have it.

@JonPeltier You probably figured this out by now, but if anybody else sees this, the app is called SoundAssistant and you can find it in the Galaxy Store (i.e. not Google Play Store), and I think you need a Samsung account to download it. In that app there's an option to set individual app volumes. Just add Instagram at set volume to zero.


text:
Android suddenly refuses to play ANY videos in any app on my galaxy tab s2
Is there any way to fix this without restarting?
Attempting to play any video in any app on my Galaxy Tab S2 will cause the video tile to load forever or else cause that app to freeze. YouTube will load the thumbnail and spinning icon but, if I switch to another app, even YouTube will be entirely frozen when I return to it. Likewise, if I attempt to record a video using any camera, the camera app will also freeze.
This does not appear to be related to audio processing as I can play audio streams fine, but if the file itself is a video file then I get the same result.
This is a new behavior not limited to a single app. The device is a galaxy tab s2 and developer mode is enabled. Clearly, whatever processes video streams in Android is bugging out on my device and needs to be restarted... but I would rather not fully restart my device as it is also suffering from a 'grey screen' problem where if I turn the screen off, there's a very high likelihood that turning the screen back on will result in it only displaying a solid grey screen, and it is very, very difficult to get it to display normally from there. Even straight from boot it will only display grey. I can still use the tablet by using an HDMI cable and using a tv as a screen, but I can only get the screen to display normally under some very arcane, specifc conditions: the tablet needs to have only about 20% battery life, and I need it to suddenly draw a lot of power all at once, such as by loading a power hungry app, while also attempting to turn the screen back on. Even this will only work once every 100 times. Yes, I know I need a new tablet. No, this one is no longer under warranty. I'd just like to get this one operational again, please.
Tldr: Is there a way I can restart the Android video engine without restarting the whole tablet?
PS: there are absolutely zero display artifacts, besides the grey screen issue.
Thanks!

See the version of Android. If it is not the newest version, there may be a problem.
My phone, which before the major update a few months ago stopped playing Audio and lagged, and when i updated it all got fixed.
But another thing is, and i am not trying to scare, there may be a very bad software issue, or there could be a virus.