text:
ODIN - Error <ID:0/004> Complete(Write) operation failed
I am currently trying to root an android 10 device (a samsung sm-j600f) using ODIN 3.14.1 and TWRPbut when I hit the start button I get <ID:0/004> Complete(Write) operation failed. error. The whole error message is as below:
<ID:0/004> Added!!
<ID:0/004> Odin engine v(ID:3.1401)..
<ID:0/004> File analysis..
<ID:0/004> Total Binary size: 25 M
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> NAND Write Start!!
<ID:0/004> SingleDownload.
<ID:0/004> recovery.img
<ID:0/004> RQT_CLOSE !!
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

I have tried using different cables and different TWRP and ODIN versions but none helped. The TWRP and ODIN versions I used are as follows:

ODIN v3.14.1
ODIN v3.13.3
TWRP-3.2.3-j6ltedx-unofficial
TWRP-3.2.3-TwrpBuilder-j6ltedx-2018-08-21_14-15

Also, I have enabled OEM unlock and USB Debugging modes as well.
What could be the reason behind the problem? All help will be appreciated.

I also saw that TWRP might not be supporting Android 10 devices yet actually. link. But still trying other ways like installing it using ADB fastboot etc.

I have a OnePlus 7 on 10 and it's long had official TWRP., so that may not be true always. Better to check developer forums on XDA//I am not familiar with Samsung devices but if it's just to root, you don't need TWRP, isn't it? You can do with Magisk by patching boot image

It is actually just for root. I thought I needed TWRP and above steps for that. That would be great if you can tell the steps to follow for rooting an android 10 device. Currently I am trying to use ADB fastboot but it doesn't work either. I get tons of errors.

Posted a self answered question here.


text:
How do you root a device with Magisk when it doesn't have a custom recovery
This is a self answered question to address the subject of title.
With a recovery in place, rooting with Magisk is straightforward,it gets a tad difficult when you don't have a recovery.This was vaguely addressed in Stock image dump for running Magisk necessary?.
So, I thought of making a self answered question to

Help those who don't know and
Add to  canonical questions. It's important for our site to have such questions as easy reference (not-so-subtle request to others to post more self answered questions!).

Notes:

I have tried both Linux and Android versions of the answer and they work fine (tested on Pixel 4a, Android 11). The process may look daunting but it isn't (I know nothing about Linux, yet managed to root without issues).

Moderators are free to make this a community wiki, if more answers are posted depending on the device variants :)

for samsung devices just use samloader (support thread) and patch the whole AP*.tar.md5 with Magisk Manager (no TWRP needed)

If you happen to have a PIXEL device then Pixel Flasher , an open source project can do everything below, real easy-easy. For help on interface, see here
This tool apparently works for some One Plus devices, YMMV

This answer is not applicable to Samsung / Huawei devices

First, unlock your bootloader. This again ranges from very easy to complicated procedures getting unlock codes, waiting period etc, so read that up first and you have adb installed (this would help , if you don't have it Is there a minimal installation of ADB?).

Second, and very important read these installation instructions from Magisk Developer before proceeding. There are many variants of device architectures and OEM specific issues.

Third, read above  step thoroughly and accept outcome of your actions. Especially, Samsung /Huawei users, see respective linked sections.

Fourth, this answer is applicable to devices having

boot ramdisk in which case you need a copy of the boot.img (in which case custom recovery if available can also be used, but then we are assuming it isn't available)
If your device does NOT have boot ramdisk, you need a copy of the recovery.img
( To verify, install Magisk Manager and check SAR, as explained in official Magisk instructions, linked in second bullet point or read up the forums in XDA to figure out).

Substitute recovery.img for boot.img, if your device doesn't have ramdisk. Answer talks of boot.img as an example but they are interchangeable as far as process is concerned.

This process works on all  Android versions, including 11. I did it on my Pixel 4a running Android 11 (on earlier versions, my devices had custom recovery, so I didn't need this).

Extracting boot image (or recovery)

Get the official firmware package or OTA files from official firmware packages, your custom ROM zip (if using one), or go to XDA-Developers and seek for resources, guides, discussions, or ask for help in your device’s forum.

Pick up the firmware or full OTA (not incremental OTA) file that corresponds to the Android security update of your device , not necessarily the latest (you never know if the boot.img has been changed).

Prior to A/B partition system implementation ,these update firmware/ OTA packages came with partition images, which could easily be extracted and used for manual flashing. But now, these update packages come with a single Payload.bin file that contains the individual partition images (boot.img or recovery.img).

There are many blogs that tell you how to this. I found How to Extract Android OTA Payload.bin File using Payload Dumper Tool on a PC or Android Device to be very comprehensive and clear.

This shows how you can extract the boot image using a Linux machine, Android or Windows.I don't intend copy pasting the article with photos in it's entirety, but all essential steps are listed.
Using Payload Dumper Tool to Extract Payload.bin

Payload Dumper tool is basically a Python script/program created by developer ius that allows users to easily extract  Payload.bin

Installing Payload Dumper tool
On laptop (Windows/ Linux)

The tool requires Python 3 or above, which can be downloaded from the official page.

When installing Python, make sure that it’s added to the PATH on your PC. For Windows PC, this could be easily done by checking the Add Python to PATH option within the installer. For Linux/macOS, you can use the instructions provided on this page.

Download the latest version of the Payload Dumper Tool on your PC from this link and extract its contents to a suitable location. Upon extracting you should have a new folder named payload_dumper.

Open the command-line window on your PC in the payload_dumper folder, where the tool and the payload.bin files are present. To do this:

On a Windows PC: Hold the SHIFT key and right-click on an empty space inside the folder, then select the Open PowerShell window here option.

On a macOS/Linux PC: Launch the Terminal and change its directory to the payload_dumper folder using the cd command. For example: If the payload_dumper folder is located in the Documents directory, then the command should look like: cd Documents/payload_dumper

In order to use the tool on your PC, you must first install ‘Protobuf‘ (Google’s data interchange format) which is basically a dependency. To install it, enter the following command.

On Windows (in PowerShell): python -m pip install protobuf
On Linux/macOS (in Terminal): python3 -m pip install protobuf

Now to finally extract the Android OTA payload.bin file, first,extract the downloaded ZIP file to your PC . The extracted contents will include the “Payload.bin” file, which is what you’d need to extract. Copy the Payload.bin file inside the “payload_dumper” folder. Next,enter the following command.

On Windows (in PowerShell): python payload_dumper.py payload.bin
On Linux/macOS (in Terminal):python3 payload_dumper.py payload.bin

The tool will now start extracting the individual partition images from the Payload.bin file. Once finished, you will find the extracted files inside the same payload_dumper folder and you can pick up the boot.img or recovery.img

On Android. This is a little slower but also saves one step as you would see later.

Download the Payload Dumper Tool from here. Once downloaded, extract the contents of the payload_dumper_tool_by_ius.zip file to the root of your phone’s internal storage. You could extract it anywhere, however, the root directory is more convenient. The extracted ‘payload_dumper’ folder will contain the tool’s Python scripts

Now, download the  full OTA / firmware package from which you want to extract the firmware images. Once downloaded, extract the  package on your device to get the payload.bin file. Then copy the extracted payload.bin file inside the ‘payload_dumper’ folder that you extracted during step 1 above.

Download and install the Termux app (a Terminal Emulator, avoid the Play Store version as it is not updated) on your Android device. Once installed, launch the app from your phone’s app drawer.

Install and set up Python on your Android device. To do this, enter the following commands in Termux one after the other:
pkg install python -y
pip install --upgrade pip
pip install protobuf
apt update && apt upgrade -y

Now, use the following command to grant storage permissions to ‘Termux’: termux-setup-storage. As soon as you enter the command, you’ll see a prompt to “Allow Termux to access photos, media and files on your device”.  Simply press “Allow” to grant the permissions.

Change Termux’s directory to the “payload_dumper” folder using the following command, provided that you have the folder placed on the root of your phone’s internal storage.
cd storage/shared/payload_dumper

Finally, enter the following command in Termux to extract the Android OTA Payload.bin bile on your Android device: python payload_dumper.py payload.bin

Once finished, the extracted firmware images will be placed inside the same ‘payload_dumper’ tool.
You are nearly done!
Last step of patching images
(from the official Magisk instructions)

Copy the boot/recovery image to your device (this step not needed if you used Android method)
Download the latest stable Magisk apk from the official source and install on your device (grant permission for installing from other sources)
Press the Install button in the Magisk card
If you are patching a recovery image, make sure “Recovery Mode” is checked in options. In most cases it should already be automatically checked.
Choose “Select and Patch a File” in method, and select the stock boot/recovery image
Magisk Manager will patch the image to [Internal Storage]/Download/magisk_patched.img.
Copy the patched image to your PC with ADB:
adb pull /sdcard/Download/magisk_patched.img
Flash the patched boot/recovery image to your device.
For most devices, reboot into fastboot mode and flash with command:
fastboot flash boot /path/to/magisk_patched.img or
fastboot flash recovery /path/to/magisk_patched.img if flashing a recovery image
Reboot and voila!

(Text in Italics added)
For any issue with Magisk, you will find this guide by Didgeridoohan very handy.

Some devices need additional step disable AVB from fastboot. Magisk does patch vbmeta by default when installed from TWRP, but not every device have vbmeta partition

For the HTC U Play, I couldn't find a way to extract boot.img (from the rather hard to find "stock" images), as it was a .zip with more .zips inside, no boot.img.  I ended up booting in twrp with fastboot (after unlocking bootloader using htcdev.com website), making a backup, and passing the boot.win to Magisk.

For users on Android 12: Payload dumper tool is broken on Linux (as of today, at least for Pixel 4a images, IDK why ). I resorted to Android method which works fine

source: Stack Exchange

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

sort: votes


text:
Finer grained audio and Bluetooth control?
I'm running OnePlus 6 with current oxygenOS (10.3.7) based on Android 10.
When listening to music on a Bluetooth device it's really annoying to hear notification sounds, is there any way to get finer control which audio goes to BT and which plays locally?
It's a shame notifications on apps like WhatsApp seem to be controlled through Media not Ring.

According some posts I found some manufacturer seem to include a separate "notifications" volume setting (e.g. Samsung, LG and may be others seem to have or had such a setting on certain devices).

Not the case for me on Pixel 4a, Android 11

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


text:
Is it possible to install Docker using Termux?
I'm just tinkering with my Android tablet and was wondering
if I can get Docker running on it.
I've tried dkg install docker and also apt install docker both gave me
unable to locate package Docker
I probably need to add Docker's repo into list of repositories.
Have you ever done it ?

@Robert  that's for running Termux inside Docker container. I'm trying to install Docker engine my Android tablet through Termux terminal.

You can if your device is rooted and you build the kernel with required configurations including Linux namespaces, cgroups and capabilities. But phones don't have enough hardware resources. Also you cannot run Termux inside Docker. Termux isn't an OS, it's just an Android app.

@IrfanLatif what hardware resources would a phone not have? It's not like it uses virtualization. Docker runs fine on cheap servers with 512MB RAM, and even sub-$100 Android phones have that.

@lights0123 it depends on what you want to run in Docker. A simple commandline program or an app definitely doesn't require much resources. But Android apps aren't designed to run in Docker. What I understand is that OP wants to run a Linux environment in Docker which surely won't run on a 512MB Android phone which is always running 100+ native daemons and Java apps. Personally, without using Docker, I've been running multiple Linux distros in containerized environment on my phone with customized kernel, even compiling programs. But in general phones aren't designed to be used in this way.

Docker is not virtualization, I already mentioned in my first comment. It uses LXC, mainly based on Linux kernel's namespaces, cgroups and capabilities. Docker just simplifies the use of LXCs. But you don't necessarily need Docker to make use of them. There are abundant tools available (like setpriv, capsh, firejail and so on) which you can use directly from commandline to containerize processes. And they work perfectly. But again, you cannot run Android apps this way. In fact Android apps are already containerized in the same sandboxes when they are forked by zygote.

March 2021: Possible with root & compiled kernel
From termux-root Issue #60 it appears that it is possible to use Docker without QEMU, but requires root & a custom kernel.
Details can be found in this gist
No, not possible
From: https://www.reddit.com/r/termux/comments/av6z2s/how_to_install_docker_on_termux/
contains a reply from a Termux dev:

This is not possible.
Docker requires features that are not available in typical kernel installed with Android OS. This is why docker is not packaged for Termux and likely never be - 99% of devices (even if rooted) won't be able to run it.

with the additional comment.

Termux does not emulate Linux. It just terminal application with own tools added to PATH.

in my case (htc u11) it was possible by running (as @Nuninoo said)
pkg install root-repo
pkg install docker

and if docker-compose is also needed it can be loaded via python
pkg install python3
pip3 install --upgrade pip
pip3 install docker-compose

(in my case that wont work since i have no rust-compiler installed (and i dont think there is one currently for aarch64-linux-android)

Yes, possible

But indirectly through emulating the kernel with qemu.
We can use qemu to create an emulated kernel, as well as an emulated architecture (x86_64), on top of which we can run Docker and most modern containers and images (albeit slower).
You can find some instructions to do just this here.

I installed Docker on Termux. It was in the root -repo.

pkg install root -repo
apt install docker

I don't know if it works with every Android device. Mine is a Lenovo tablet TB-7304F.


text:
2.4 GHz wireless headset connection to Android for calls
Got one of these radio wireless 2.4 GHz headphones with a USB dongle (not Bluetooth) - HyperX Cloud Stinger Core Wireless 7.1 PC.
Tried plugging the dongle into my android phone (Galaxy A40, Android 10, 4.4.177-18598463) via an OTG cable and the headphones work with the media output.
But for calls in Skype and Teams the sound goes to the phone's speaker.
I guess there might be a standard with these 2.4 GHz wireless headphone dongles because it just works with Android with no additional apps or drivers.
What is the name of the standard?
Is there a way to make calls with an Android with these headphones?
Edit: I think the headset gets detected as a USB headset (I checked using the "Device Info HW" app), so the question becomes how do I configure Android to use the USB headset for calls (Skype, Teams).

Have you seen/tried: How to enable USB “Audio Source” option on Android 9+?

@MorrisonChang, thanks, took a look at that, but it doesn't answer my question. It says USB audio source has been deprecated in android 8, so not sure how it's relevant to Android 10. I may need to read up on "USB audio source" to get a better understanding I guess.


text:
Why I get permission denied on ADB on Android phone?
I'm trying to cast my Android device to a PC with adbcontrol (tutorial here). The phone has a broken (black) screen and when I input the command java -jar adbcontrol.jar I get this error:
java.io.IOException:Cannot run program..error=13, Permission denied.

I have Java version: OpenJDK version "11.0.9.1" 2020-11-04
I tried getting permissions with chmod +rwx of the folder where adbcontrol.jar is located but the error persists.
Any ideas?

Is the phone rooted?

No,the phone is not rooted

I'm on LInux Mint.I have two android phones,the one with broken screen has USB Debugging disabled,and on the other phone is enabled but the error is the same.

I do have adb from Android SDK

You should state what Android version your devices are using. If the Android devices are 5.0+ then I would recommend scrcpy

Yes,one of them is lollipop 5.1(Samsung Galaxy j3 2016) but has USB debugging disabled so scrcpy will not work,while the other one is an Xiaomi Redmi 9a and i managed to cast it with scrcpy

you can try to root or flash something with heimdall https://android.stackexchange.com/q/228280
https://android.stackexchange.com/q/230999

get some combination firmware according to your phone model that will help you to get adb enabled. don't use odin. don't flash pit file or param. make sure to only flash system kernel recovery via heimdall (otherwise your userdata get erased) https://gsmfirms.com/product/samsung-j320fn-combination-file-2

before actually running adbcontrol you must specify paths in config file
check adb connection is working fine (previously authorized) and find a writeable location on device, for example
/sdcard
/storage/emulated/0
/data/local/tmp

depending on encryption and lock screen the location might not be available in this boot state, so better double check adb push is working
adb push ~/file.txt /sdcard

now open the config.properties file and define paths
adbCommand = adb
screenshotDelay = 100
localImageFilePath = adbcontrol_screenshot.png
phoneImageFilePath = /sdcard/adbcontrol_screenshot.png

if your adb binary is not in env you must specify path in first line. for windows paths backslash should escaped like
adbCommand = C:\\Android\\platform_tools\\adb.exe

when configured you can finally run adbcontrol from command line. the terminal will floated by debugging log (you can minimize). another window will open showing your phone screen. your keyboard and mouse input is recognized in android now
java -jar adbcontrol.jar

while running this on SGJ3 2016 i get: 'adb push ~/file.txt /sdcard' i get this:adb: error: failed to get feature set: no devices/emulators found.This is how my config look like:'adbCommand = /media/enq/5F53DF292609C82D/Kit/LinuxStuff/adbcontrol/adbcontrol.jar
screenshotDelay = 100
localImageFilePath = /home/enq/adbcontrol_screenshot.png
phoneImageFilePath = /mnt/sdcard/adbcontrol_screenshot.png'

I've managed to cast Xiaomi with adbcontrol(after folowing your instructions and typing "which adb"(it was in usr/bin/adb),but how to control the phone from pc?

Ok,thank you so much

https://android.stackexchange.com/q/224214


text:
Setting Android 10 Dark theme on and off with adb shell - how to do it without reboot?
To Enable Dark Mode:

adb shell settings put secure ui_night_mode 2

To Disable Dark Mode:

adb shell settings put secure ui_night_mode 1

For Auto Dark Mode:

adb shell settings put secure ui_night_mode 0

and then

adb reboot

My question is how to change Dark mode without abd reboot ?

This worked for me, no need for root.
adb shell "cmd uimode night yes"

On root devices
To Enable Dark Mode:
adb shell "su 0 cmd uimode night yes"

To Disable Dark Mode:
adb shell "su 0 cmd uimode night no"

For Auto Dark Mode:
adb shell "su 0 cmd uimode night auto"


text:
How to fix apparently-incomplete adb backup?
I need to hand in my old phone, but before I do, I want to be sure I am not going to lose any data, including app data.
I've tried the usual adb backup -apk -shared -all, however this produced a file that is a little under 9 GiB. The device capacity is 64 G and is almost full. Also, I made a backup about five months ago that is a much more plausible 45 GiB. Alas, I don't recall what command I used five months ago. (More specifically, I don't remember what arguments; I'm 99% certain it was some invocation of adb backup.)
What am I doing wrong? How can I back up "everything"? (I don't need e.g. OS stuff, but I definitely have more than 9 GiB of pictures, user-installed apps, and such.)

First adb backup only includes private app data. What is stored inside /sdcard is not included. Additionally apps can limit or even totally deny backup. In such a case adb backup will miss some data or whole apps. Some apps may provide a app internal functionality to backup data.

@Robert, then how did I previously manage to create a 45 GiB backup? I don't have that many apps. Also, I'm aware of apps not allowing backup and am almost certain that's not the issue I'm having.

@Robert that's not quite correct. The -shared parameter advises it to also include "shared data", i.e. SD card contents. // Matthew: apps can opt-out of backup, so with one monolitic file you never know what you get. Take a look at my tool Adebar, which a.o. creates a script to backup each app separately (so you see which fail) and optionally also shared storage (though that you could backup simpler by simply copying all its files). The script will already show which apps won't backup, just look inside once it is created.

depending on how old the phone is it may exploitable. the adb backup arguments are easy to figure out. Be aware not all flags are fully implemented, behavior may differ from expectation. But if your previous backup.ab was +36 GB bigger that sounds more like lost connection. for pictures i recommend 'adb pull -a /sdcard'

@alecxs, is there absolutely no error reporting if the connection is dropped? If that's the case, that may well be what happened...

probably no error message. adb backup is very weak implemented (and most likely depreciated). at least for adb pull on latest platform-tools the progress -p flag is enabled by default

@Izzy had to run while [ 1 ]; do adb shell input touchscreen tap 540 1330; done; in second terminal for Adebar, is that intended?

@alecxs say what? And what for? This is the first time I hear something has to be run in a second terminal for Adebar to work. Where did you get that idea from, and what do those touch-events do? Wild guess: confirming the backups? If it's that, please check your config. Adebar can do that itself (not for all devices, but most). Take a look at things like AUTO_CONFIRM*; if your device requires a specific sequence, even that can be configured.

@Izzy thx will check config

@alecxs, well, after way too much effort spent figuring out how to decrypt a backup, I can confirm that what I'm getting does indeed seem to be truncated. Why it crapped out right in the middle of a file is a mystery; I've adb pulld the same file and it doesn't seem to be corrupt or anything...

always leave the password blank for unencrypted backup.ab (it's just zlib deflate compressed tar in that case which can be extracted with only gzip one-liner) https://android.stackexchange.com/q/28481

@alecxs, I can't leave it blank. Because my phone is encrypted (seriously, why on Earth would you not encrypt a mobile device?!), I can't start a backup without providing a password.

you can leave it blank. i am talking about not streaming encrypted backup.ab only (not about screen lock or disk encryption, which is completely unrelated). encrypted backup.ab is unrecoverable when just a single byte is missing, while unencrypted backup.ab still can be partially extracted in case it's broken

of course it's user decision. but it makes data recovery far more easier. same for adoptable-storage MicroSD card, becomes unrecoverable when smartphone is broken (also main reason why i always prefer unencrypted device - broken ext4 partition can be repaired, but if decryption fails the whole partition is lost)

@alecxs On (at least) Android 11 you can't leave it blank if your device is encrypted; the backup confirm screen says "Since your device is encrypted, you are required to encrypt your backup. Please enter a password below:", and the "Back up my data" button is greyed out until you do so. I don't know if it was like this on previous versions. If you have a workaround that would be great, though. Apparently Samsung phones (maybe all Android phones) are encrypted by default now.

@pizzapants184 "Since your device is encrypted, you are required to encrypt your backup" is indeed absolute unambiguous, got it :)


text:
Switch to speaker when using a headphone with wearing detection
I have a headphone with wearing detection, which pauses playback when I take off the headphone. However, with it off, I am not able to hear any notifications from the phone. I know iPhone has the feature of sending audio to the speaker when one takes off airpods. Do we have this feature in Android? Is it a problem of the phone or the headphone? In case it matters, I am using a SonyWH-1000XM4.

It depends on how the notifications are handled.. For system notifications - Android 11 and recent versions handle notifications separately from media, so you should be able to hear notifications. I can hear them using Jabra 65T Elite Bluetooth buds 2. If you are talking of app notifications, it depends on how the app is designed to handle // Assuming you are referring to first case of system notifications (please [edit] your question to make it clear) it is an issue with your headset. If it's case 2,contact the developer

I am actually looking for a way to redirect all audio back to speaker, including notifications and media sounds.

Not possible AFAIK


text:
Tablet cam on: feedback using light
I love the way my laptop indicates when the webcam is on by illuminating the LED next to the cam.
I wanted to try to get similar behaviour out of my Android tablet where it could indicate by some cue that the front cam was on. Maybe the LED blinking or something similar.
I find sometimes I may start a zoom call and then shift focus to a different app and it may not be obvious to me that the camera is still on.
Any way to achieve this? Either natively or using a third party app or script etc.
If it matters I am using the Samsung S6 Lite tab.

If you are ready to root, install xposed /EdXposed (depends on your Android version, please add that to question and tags), it may be possible using GravityBox premium version

Try this with MacroDroid automation. Create a macro : Trigger Application closed - select zoom ;Action :1.Notification Led enable 2. Pop-up message :whatever pop up text you want // If you want this for other camera using apps too, add in trigger

There are specialized apps that can provide a notification icon if microphone/camera is active. See for example the app Access Dots.


text:
is there a way to reboot device without any keys and usb debugging turned off
I had been using my phone for last 1.5 year ( Lava z90). But recently it's power off button and volume buttom are not working and also my usb debugging is turned off.2 days back my phone is switched off and I am not able to swich on it. Is there a way to turn it on?

Welcome to Android Enthusiasts. consider repairing the power button. you can try to readback something, as most flash tools have auto-reboot functionality. with this trick you should be able to reach fastboot mode where you can configure charging behavior. if you don't afraid of permanently bricking your device you can also flash modified para partition (experts only)


text:
Getting rid of "X Google enrollment" in Android 11? since I don't use Assistant
Since I have a new phone with Android 11, every now and then I see a notification about "X Google enrollment" whatever that may be.
Upon searching around I see it's nothing to worry about, it's just part of Google Assistant.
However I don't use Google Assistent, I have turned it off completely. Yet this "X Google enrollment" is still happening.
Is there I way to get rid of it? And I mean not just the notification (sure, I can disable that) but the thing itself. I'd rather not want any unnecessary processes to start or run at all.

Wait for Google to fix it....they are aware of this issue ; Also see what it means

I don't see that on my Pixel 4a, so your device needs to wait for the fix or else, root your device and freeze/uninstall Google assistant


text:
Problem of popups in my POCO M2
These popups are in my screen from the day I bought my POCO M2 and they last for long time. And when I am doing something else they come in between. They interfare while typing and selecting options. Moreover, they are annoying. Anyone has idea??

They are called toasts. What is shown is a system toast (DND related). You can't get rid of them unless your device is rooted // If it is app related toast, you can track, as explained here

You are out of luck. Unlike on devices running closed to vanilla Android ROMs, Xiaomi doesn't allow adb user to perform appops operation (needs android.permission.UPDATE_APP_OPS_STATS permission). Otherwise, you could have tried disabling (denying) toasts for com.android.systemui (responsible for those toasts).


text:
How to check if notification delays are because of WiFi?
I sometimes get delayed or no notification of whatsapp and Instagram. How to check if it's my wifi's issue or if it's my phone's?

That depends on the delay. If it is less than about 15 minutes then this is normal behavior. Android does not keep the connection to the Google push server permanently open to save battery. Instead it tries to aggregate requests to make network requests more efficient.

Is there any way to check if it's due to google push server or if it's my phone's issue.

The Google push server is never the problem because your phone always connects to the push server and asks for outstanding messages (polling) not the other way around. On your device the Google Play Services are responsible for doing so.


text:
Can I navigate to a specific URL in Samsung Internet Browser instead of doing a Google search?
Using Samsung Internet 11.1.2.2 on Android 8.1.0.
Whenever I type an URL in the top bar, it performs a Google search with that parameter. The worst thing is that in some cases, the target URL is not in the list of the search results. Thus, I cannot go to the intended URL.
Is there any solution for this, so I can visit the target URL in Samsung Internet Browser?

You can simply disable the automatic searching for entered values in the address bar:
Open Settings -> Search engine and disable "Suggest websites and search terms"

Afterwards if you enter a valid DNS name like exampleabc.com you will get directly to the page (in this case a generated error page as the domain does not exist).
If you just enter some search terms like holiday a Google search will be performed.

Tested and it works

A workaround:

Create a "phantom" group in WhatsApp, where you are the only member (add another person and then remove him/her).
Send the URL to that group.
Or you can send the URL to any other contact, if that is not a problem for you and the other.
Click on the URL in WhatsApp.

It will open the browser and navigate to the URL.
Plus, you can save the bookmark now.

What does your answer uses WhatsApp? This app was not mentioned in your question, hence from my perspective your answer does not make sense to me.

@Robert - The question does not require use of WhatsApp, but it does not preclude it either.
The answer shows a method that, using WhatsApp, leads to the intended objective.
I used it and it worked.
I would not understand what do you find strange about this.


text:
Chose which player is activated by headphones play/pause buttons
I have 3 pairs of Bluetooth headphones:

Sony WH-1000xm4
Jabra Elite Active 65t
Cardo PacTack bold (motorcycle communicator, works as Bluetooth headset)

On my Pixel 5 I have 2 sound players installed:

YouTube Music (for music)
Smart AudioBook Player (for audiobooks)

Whenever I am listening to music using YouTube music and press the pause and then resume button on any of my Bluetooth devices, it switches to playing audiobooks in Smart Player! This is very annoying, especially on a motorcycle where I need to stop to be able to unlock my screen to switch back to YouTube!
If there is a way to set up which player is activated when a play button on Bluetooth headphones is pressed? Or at least disable some players from being ever activated by a button?

Bluetooth connect & Play from Play Store meets your needs. App description says

This app is designed to tie the Bluetooth connect event to playing the music player of your choice.  Unlike other auto-play options, this allows you to select the specific player that should be used.

I have Jabra Elite 65T (not active) and it worked by letting me choose which music player to be activated on key press. I didn't try with your audio book player, though, but I guess it should work.
Bonus point is that it has zero trackers as per Exodus


text:
com.termux linked or mounted on SD (Root Available)
So I'm trying to get more space into my termux to download and use
I'm trying to mount the folder onto the SD does anyone know how to already or done it?
I've seen that it isn't possible but I don't see why wouldn't it be especially with root

It's definitely possible. Create a loop file on SD card and mount it wherever you want.

Can you tell me how?

The location of the termux by default is/data/data/com.termux/ I made a folder on my SD /storage/26B7-11F7/com.termux/

check xda @alecxs

check the above link again, have extended my answer especially for you, just copy & paste the commands


text:
Is media volume only now integrated into Android?
The following app: media volume only allows you to only change the media volume on Android phones(and phone when using).
Have briefly experimented with phones in stores it appears this feature is integrated now into Android.  Is this correct?

https://github.com/krkrpdpd/mvo

Yes, this was a change introduced in Android 9. Prior to Android 9, volume buttons controlled ringer volume.
See Handling changes in audio output  |  Android Developers

Users expect to be able to control the volume of an audio app.... By default, pressing the volume control modifies the volume of the active audio stream. If your app isn't currently playing anything, hitting the volume keys adjusts the music volume (or the ringer volume before Android 9).

(Emphasis added)
You can see the same in the review of Android 9 by Android Police Android P feature spotlight: Volume buttons change media volume by default instead of the ringer.

By default, pressing the volume buttons on Android Oreo (and below) will change the ringer volume. If you're currently playing media, the volume buttons change to control the media volume. Starting with Android P, the volume buttons now control the media volume by default. No more accidentally setting your phone to vibrate.


text:
Checking for software vs. hardware keyboard problems.? Lenovo A12 YB-Q501F Android 6.0.1
I've got the tablet listed above, and discovered that the built-in keyboard (called the Halo Keyboard) now barely functions.
A few keys on the left side of the keyboard work, but not consistently. None on the right half of the keyboard respond at all.
It all worked fine a few months ago.
The tablet has an attached keyboard and operates almost like a laptop, but the keys are pressure-sensitive buttons rather than physical keys. The keyboard lights up when it's in a configuration to be used.
I use it mostly in tablet-only mode, and the keyboard is on the other side of the device in that mode, not active.
I tried checking for system updates but haven't found anything.
A lot of searching doesn't turn up my problems, and often gather in responses from a Windows version of this same machine. They usually refer to reinstalling drivers but I can't determine if that's applicable from the posts.
One error that I've noticed is after many attempts at hitting keys on the physical board, and then going to use the android keyboard, many of these random presses will show up later. When I start typing in a search bar, I will get hit with a long string of 'aaaaaa' or 'zzzzzz' etc.
I've rebooted the machine twice; I'm also going to try a factory reset, though there is data on the machine I want to get off first.
I'd love to see if I can determine if this is a software problem or if the keyboard itself has become faulty. I'm familiar with Linux but I'm not an expert with Android! Is there any kind of diagnostic that I can do?

how is keyboard powered? how is it connected?

Loking at the Amazon reviews there are other people complaining about half of the keyboard no longer works. Therefore most likely it is a hardware problem.

@alecxs it is physically connected with a hinge connection to the display.  That half also has the power and volume buttons, and SD card slot, and headphone jack. Those still work.

@robert most of what I've seen are the windows machine problems.

sounds unrelated to android. physical keyboard is usually connected via bluethooth and powered by battery. android keyboard is some app (like gboard) which basically just translate touch input. your question is how to debug android keyboard? toolbox getevent -il will list all devices. once you figured out which one you can monitor /dev/input/event[0-9]

@alecxs Thank you! Would I download a terminal app to be able to run that? (I ended up seeing where the problem is, there is physical damage, but I still think this is useful info.)

indeed there are more advanced logging methods, all should run in terminal or adb shell

In this particular case, I discovered a small hairline crack along the physical keyboard section. (It is touch-based and flat, with no physical keys, just outlined sections for key placement.)
Everything on one side of the hairline crack is not working, and most of the stuff on the other side is, with some errors.
Although my device's problems can't be solved through software, @alecxs had some good advice for listing and monitoring devices, if that is useful for however finds this later!


text:
Understand new icon in Android 11 call logs
In the phone call log, what does the green network icon mean after I upgraded to Android 11?
Does that mean that the phone call went through the Wi-FI network instead of 4G/5G ?

Yes, this is voice calling over Wi-Fi but not related to Android 11.
I have a Pixel 4a, Android 11 with Wi-Fi calling enabled but do not see that symbol in call logs. I couldn't find any reference to it in the Android 11 changes.
Wi-Fi calling needs to enabled by a) carrier b) compatible devices. Both need to be compatible.  Probably your carrier, recently upgraded to this facility and hence you see this symbol. This symbol has been reported in call logs on certain devices four years ago on Galaxy S7 Edge. So, it looks to me like an OEM specific feature.
Related
What is this icon depicting a phone and Wi-Fi together?. You should see this or similar symbol when you are placing a call on Wi-Fi.


text:
Limiting Display Frame Rate to Lower
Is in Android there is an available database set for limits display frame rate? If they’re available, is using ADB/Root (Terminal), or how, or even it can't?
I've been searching this for years, and not get an answer yet. Actually, this is for tweaking to trigger any benefits. This like my other phone embedded feature is Xperia STAMINA mode which is it can set the display frame rate (to 2x lower from 30 fps) for battery saving. But... I mean is not only for that. Many others too that can benefit. So, is this can available on a pure Android system? Or this only self-made for manufacture's hardware so that not possible available on others except Xperia devices?
If there are other threads that I don't know. Please let me know. I'll understand it, and try if it makes sense.
thank you! :D

On one Plus phones

Android 13 had a feature to lower the frame rate called Game Mode interventions. However, it is only limited to games app category, and not system-wide work.
Some manufacturers may use this feature or remove it. As well as developers should declare Game Modes as false on Manifest file. Otherwise, the platform will ignore the configurations and only use in-game optimizations.
Also, this feature may require a newer GPU, and a supported display frame rates.

To view the existing package configuration:
adb shell device_config get game_overlay <PACKAGE_NAME>

To set game mode interventions configuration:
adb shell device_config put game_overlay <PACKAGE_NAME> <CONFIG>

Parameters example:
adb shell device_config put game_overlay <PACKAGE_NAME> mode=2,fps=90:mode=3,fps=30

Parameters details:

mode=2 for performance mode, and mode=3 for battery mode.

fps value are device specific: 30, or 60 for 60 Hz displays; 30, 45, or 90 for 90 Hz displays; and 30, 40, 60, or 120 for 120 Hz displays; else, any attempt of any other value than the device specified value, will cause the device to crash. fps=0 is the default value.

To switch the game mode from the configured package:
adb shell cmd game mode performance <PACKAGE_NAME>

OR
adb shell cmd game mode battery <PACKAGE_NAME>

OR
adb shell cmd game mode standard <PACKAGE_NAME>

References:
FPS throttling | Android Developers
Game Mode interventions | Android Developers

There doesn't seem to be a way at this time.
So far, all I know is a hidden feature in Android S Preview Revision 3, namely Game Optimization in the Game menu which can lower frame rates, such as Xperia STAMINA mode.

Portal: Android 12 DP3 Analysis: Here are all the hidden features! | xda-developers.com
Screenshot: 17-Game-Mode-2.jpg (563×1155) | xda-developers.com
Learn more: Android Developers | developer.android.com


text:
Updating Pixel after many months. Will I get all the missing monthly security patches?
Not a duplicate of this
Are security patches only applied to the latest Android version?

I have a Pixel 4a, Android 11, running November security update. For various reasons, I do not wish to apply monthly updates, maybe do it once in a quarter or maybe even more (I know & accept the risk, let's not get into that).

I know I can update, whenever by full OTA or factory image. I prefer the OTA route because

This (OTA) has the same effect as flashing the corresponding factory image, but without the need to wipe the device or unlock the bootloader.

Accepted answer here, indicates that I can  update, for example in June 21,without flashing all (7 months) of images, which is good What is the difference between Factory Images and Full OTA Images on the Android download site?

My question now is that will the June 21 full OTA incorporate all the  intermediate security patches (seven months) ?
I searched a lot (fairly good at that) but couldn't get a conclusive answer.
I am looking for an answer with credible backing (it may change my update plan).

Comments are not for extended discussion; this conversation has been moved to chat.

Thanks to the chat discussion with Irfan Latif, alecxs and Kulfy the consensus was :

The OTA update should in theory have all previous security patches applied.

Updates are not covered under AOSP documentation and it's left to OEMs discretion. Probably that's why there isn't documentation around this.

Therefore, reach out to Google for a conclusive answer.

I chatted with Google and this person had to take help of technical resource. The chat window is tiny but here is the conclusion

I've checked this with my resources and would like to inform you that once you've updated your device to the latest security patch so it should cover all the security patch features up till date.

Despite my request they couldn't offer any technical insight in terms of documentation or code,which would have been nice but then I got a credible answer!


text:
Does ShareIt use the content we share?
In the TOS it seems they say that we give right to use our content.

wow, you are reading this!? thumbs up! :D yes. same for whatsapp facebook instagram tiktok and all this sh*t except they may have striked (a) and (b) already ;)

Glad you asked +1. See the [wiki](https://en.m.wikipedia.org/wiki/SHAREit#:~:text=On%20June%2029%2C%202020%2C%20the,though%20no%20evidence%20was%20 provided) including the references// Check the app permissions and report on Exodus https://reports.exodus-privacy.eu.org/en/analysis/submit/ //Once you are convinced write an answer yourself! We welcome it :)

Related/duplicate: how does share it application use our information?

As FYI, that app is poison and Indian Government banned that app (there are other factors too for this decision)


text:
Firefox for Android showing "There is a more recent version of the page [...], do you want to reload?"
When I reopened Firefox after a few hours, it normally opens the last website I've viewed, but it displayed for a second a strange message popup similar to:

There is a more recent version of the page on the server, do you want to reload?

(maybe it's not the exact phrase because of my translation and that I may have not read the popup correctly).
I opened Firefox about 4 hours before, then left Firefox on standby on the phone. Then I reopened the site without refreshing when I saw the notification above.
I have no malware on the smartphone, and it was just a normal website about cars.
What does the notification mean?

The message "there is a more recent version of the page on the server, do you want to reload?" is shown by the website itself. It is generated via JavaScript and other web techniques and therefore can vary by size, displayed text, and other properties.
When you re-open Firefox, the previously cached web page is displayed.
Some websites use special web techniques (JavaScript + WebSocket) to connect to the server in the background and check for provided update information.
For example, the Stack Overflow/Stack Exchange web pages also use this technique for displaying an info header that new questions are available or that there is a new message in your "inbox".

Therefore, if your browser first loads the cached page and then checks for updates and displays this message. As the message is generated by the web page, not by the web browser itself, it will only appear on web pages that use this technique and it may look totally different on each page.


text:
How can I enable usb debugging on a broken phone?
My android mobile is accidentally broken. And the usb debugging is set to off. If I can enable it I could use it through visor in PC. But can't do it now. :( I don't have OTG supported too. My android version is 7.0 Nougat. The manufacturer is Symphony LiteTel. Model: Symphony LiteTel - LT4502 Is there any way? :(

The Android version is important, therefore thanks for including this info. However every Android device can be seen as unique, therefore you should additionally name the manufacturer and the exact model name of your device. Otherwise the answer is just "may be".

@Robert, I've added those information. Could you please check?

I thought may be your device has an MTP chip which allows to flash a custom firmware with pre-enabled adb. But your phone seems to be very special not even find some detailed tech specs. Hence this won't work - sorry.

:sob: @Robert thank you.

Related: Can I enable USB debugging using adb? // Broken screen while debug mode was disabled. How can I re-enable adb? // Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen and probably more in the resp. "related" sections, as this is a question coming up frequently.

you can't do much because device has locked bootloader
well. so spoken, you can't do much wrong and can try something stupid ;) basically adb can be enabled by modifying boot or system partition. but locked bootloader means no modifications allowed.
some older devices have no protection for flashing modified partitions, only avb/dm-verity will deny boot in such case.
however, Magisk is able to by-pass dm-verity in some cases. most likely you will brick your device with this method, but give it a try (you can repair it by restoring official partitions)

download latest platform-tools

get a flash tool for your device. for Spreadtrum/Unisoc chipset it's SPD Upgrade Tool (make sure you download latest version)

install Spreadtrum USB drivers

download stock ROM according to your current android version / build number (you can check from fastboot)
fastboot devices
fastboot getvar all

in UpgradeDownload.ini (SPD_Upgrade_Tool) change the following flags
Repartition = 0
ShowOtherPage = 1
CanEdit = 1
CanSelect = 1

extract the stock ROM and find the boot.img (you will patch) and the userdata.img (you must delete) in SPD ImageFiles/_DownloadFiles

1. Magisk root + enable usb-debugging + by-pass dm-verity

unpack the boot.img with any ramdisk tool
(i recommend AIK unpackimg.bat)

modify default.prop to enable adb
(use Notepad++ for correct line ending LF)
ro.secure=0
ro.adb.secure=0
ro.debuggable=1
persist.sys.usb.config=mtp,adb

repack ramdisk/kernel and copy image-new.img to any android device (android 7.0 recommended)

install Magisk Manager and patch the image file with settings "keep AVB/dm-verity" and "keep force encryption"

goto settings - about device - tap build number 7x (seven) times and enable usb-debugging in developer options

open cmd.exe, navigate to platform-tools folder and copy magisk_patched.img back to PC
adb devices
adb pull /sdcard/Download/magisk_patched.img

2. now comes the tricky part. you must flash that file to your broken device (boot partition). that is untested and may fail

open SPD Upgrade Tool - Settings - Main Page. uncheck all entries that do not apply to boot partition

especially make sure all entries related to "Erase" or "UserData" are removed. you only want to flash boot (not to confuse with uboot)

select magisk_patched.img from platform-tools folder and replace the original boot.img in the proper entry

Power off your device. connect your device. start the flashing process

finally, reboot your device and check adb connection
adb devices
scrcpy

if no adb connection that means the bootloader does not allow modified partitions and your device is bricked now
unbrick by flashing the original boot.img (see step 2)
make sure never flash userdata you will lose all data

https://www.xda-developers.com/scrcpy-control-android-on-pc

thank you so much for your contribution. I don't know if I could do this or not. But I'll try.

can confirm this method works 100% for Lenovo Tab 7 Essential (TB-7304F) and Cubot King Kong B-1 (X511) both with MTK SP Flash Tool


text:
Why can't Windows detect phones, even when the USB driver is installed?
After reinstalling Windows, both two of my Samsung phones cannot be recognized by the OS. In Device Manager it shows this:

I tried to install:

Samsung USB Driver for Windows
Android Studio and SDK
Samsung Smart Switch

And activated USB Debugging mode, but none of this still work.
Despite of that Odin can still detect it:

Using adb devices -l yields this result:
List of devices attached
420039c4de446300       device product:j1x3gxx model:SM_J120H device:j1x3g

or
List of devices attached
504bc61e               device product:j2y18ltedx model:SM_J250F device:j2y18lte

Do you know why?

It seems that the reason for this is because you are using the N version of Windows. Microsoft explicitly states that some features are effected in this version. Users have reported that the wpdmtp.inf file is missing, and this is why the MTP protocol has error.
You can download Media Feature Pack to fix this.
And why does this need to happen?
From What Is an “N” or “KN” Edition of Windows?

These editions of Windows exist entirely for legal reasons. In 2004, the European Commission found Microsoft had violated European antitrust law, abusing its monopoly in the market to hurt competing video and audio applications. The EU fined Microsoft €500 million and required Microsoft to offer a version of Windows without Windows Media Player. Consumers and PC manufacturers can choose this version of Windows and install their preferred multimedia applications without Windows Media Player also being present. It’s not the only version of Windows offered in the European Union—it’s just an option that has to be available. This is why the “N” editions are only available in Europe.

Often you first have to install the driver and then connect the device. If you do it the other way around the driver will not be applied correctly. Delete the shown MTP entry and disconnect + reconnect your phone. Also run Windows update with enabled "updates for all Microsoft products".
Regarding adb your new PC is unknown to the device (because the stored adb RSA key has been lost because of the new installation) and therefore it denies adb access (device unauthorized).
You first have to unlock the device (enter pin/password/pattern) and then accept the dialog that asks you if your device is allowed to connect via adb.
And that Odin works at the same time is because Odin uses different drivers. From the perspective of your computer you have 3 USB devices, one for MTP, one for adb and one for Odin. Check it out by selecting the MTP device and then changing the device manager "View" -> "Devices by connection".
You will see al the USB device endpoints from your device.

Thanks. The ADB now can detect the phones. What do you mean by "delete the shown MTP entry"? Disable or uninstall the device? The OS is up-to-date

@Ooker Select the MTP entry and press "del" key on your keyboard. This seems to named "uninstall" in the context of the device manager.

I delete it and reconnect the phone but the new MTP entry still has error


text:
In TWRP Wipe button, the description in the slider say "factory reset" but its other description doesn't seem so. Which one is correct?
When I access to the TWRP (version 3.2.1-0) and select the Wipe button, the screen says:

Wipes Data, Cache, and Dalvik (not including internal storage)
Most of the time this is the only wipe that you need

But the description of the slider says:

Swipe to Factory Reset

Is Factory Reset the same with Data, Cache, and Dalvik wiping? What is the difference between the data it is about to wipe and internal storage?

"internal storage" is the different name for the "sdcard section" /sdcard. This is the one you can access via MTP.

The data that can be accessed via MTP is more than just data in SD cards, am I right?

You will get a better understanding on reading TWRP FAQ What should I wipe in TWRP?, though it's not updated with the latest developments.

via MTP only /sdcard and /external_sd is accessable. 2) while your question is about the difference between "normal" wipe and "advanced" wipe (formatting), it is anyway interesting question if TWRP is even able to perform "real" factory reset at all

@alecxs why is the folder is named as /sdcard when it's not actually an sd card? And why do you think TWRP cannot perform real factory reset?

you can find even such philosophical debates here https://android.stackexchange.com/q/137081 2) recently figured out that "real" factory reset will send instructions to Keymaster discard encryption keys stored in TEE https://chat.stackexchange.com/transcript/message/56532243#56532243

very good explanation of android partitions on xda-developers
https://android.stackexchange.com/questions/215683/trying-to-understand-the-options-in-twrp-backup#comment276228_215683

although it's deleted question you may find it helpful https://webcache.googleusercontent.com/search?q=cache:lyaQYDN7wkIJ:https://android.stackexchange.com/questions/231411/why-do-people-consider-mobiles-inbuilt-memory-as-internal-storage-and-sd-cards


text:
"System Memory" taking up too much storage
I have been facing this problem recently, my Samsung S 10+ has the storage information as shown in the image below. I don't know why the system memory is taking up 20 GB of storage. I cannot access it as well. On clicking it nothing happens. Would really appreciate help.


text:
What is the differences between the three USB drivers: MTP, Odin, ADB?
In Why can't Windows detect phones, even when the USB driver is installed?, @Robert says:

And that Odin works at the same time is because Odin uses different drivers. From the perspective of your computer you have 3 USB devices, one for MTP, one for adb and one for Odin.

One can confirm this by going to Device Manager → View → Devices by connection:

What are the differences between them? Are there any other kind of driver? And which one is the Samsung USB Driver for Windows?

On your picture, the 1st is for transferring files (MTP: Media Transfer Protocol), the 2nd is for comms via adb (also fastboot), the 3rd to use your phone as a modem to connect the PC to internet via your phone.

Each USB device requires it's own special driver. As I wrote from the perspective of Windows these are three more or less independent USB devices. And for what they are used is pretty clear by their name.

@ReddyLutonadio that would be a great answer. If you expand it to be an answer, I'll accept it.

sounds like Win 10 MTP bug sometimes you can fix by switching between MTP <-> PTP modes until Win will re-detect device (and maybe re-install drivers)

@ReddyLutonadio adb / fastboot are different modes with different drivers too

On your picture, the 1st is for transferring files (MTP: Media Transfer Protocol), the 2nd is for comms via adb (also fastboot), the 3rd to use your phone as a modem to connect the PC to internet via your phone.


text:
how to take screenshot and disable flag_secure
I am kind of surprised that there seems to be no clear way to do this.  I have a rooted pixel 4 with android 11. I can't pass ctsProfile but it is rooted.
I have also tried to use Taichi apk to create an app with disable flag_secure but the newly crated apk does not work.
Please can anyone show me how to disable flag_secure exactly? I did not know it is this annoying even after rooting.

A simple workaround even for non-rooted devices is to enable adb, connect your phone to a PC and use scrcpy to mirror the phone screen to your desktop. This works even for apps that use flag_secure and on the PC you can simply make a screen-shot of the scrcpy window.

Did you try this: https://repo.xposed.info/module/fi.veetipaananen.android.disableflagsecure? It worked for me when I used it last time. Not sure on Android 9 or 10.


text:
Phone keeps rebooting on Volume Up + Power (trying to install ROM)
I tried to install Android's ROM and got ERROR 7, then I wiped out cache, data, internal storage, where was twrp.apk installed.
After that I cant get into boot menu (with Install, Wipe... buttons).
Then I copied twrp to the phone:
sudo fastboot flash recovery <twrp.img>
Tried versions 3.2.1-0 and 3.4.0-0, because I heard for certain phone (I have Xiaomi Mi4) it's necessary to use proper version, though I don't know which.
What's going on now:
I can successfully can get to the nice splash screen using Volume Down + Power, then on my PC I give sudo fastboot reboot command and press Volume Up + Power and here is the problem: It has no effect, it just keeps rebooting (I see only Xiaomi's logo).

I would try to directly boot into recovery without flashing: fastboot boot recovery <twrp.img>.

@Robert error: cannot load 'recovery': No such file or directory. I did Down+power, then waited till fastboot picture appears on the screen and then executed your command with path to twrp.img.

Sorry my fault the recovery was too much. Just execute fastboot boot <twrp.img>.

@Robert FAILED (remote: dtb not found)

which chipset your Mi 4 have? MSM8939 (ferrari), MSM8974 (cancro), MSM8992 (libra)

@alecxs I made a search on my model 2014215 and it seems cancro.

flash official TWRP for Xiaomi Mi 3 and keep holding Volume Up while rebooting from fastboot. in TWRP disable dm-verity

@alecxs I forgot about disabling dm-verity, now I have powered by Android booting. What does it mean if I have forgoit it?

@alecxs anyway, I've made it, it works. Thanks a lot. https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fthumbs.gfycat.com%2FFrailLeafyArcticduck-max-1mb.gif&f=1&nofb=1


text:
Google Photos - Stop asking to allow edits?
I just got a new phone, I upgraded to a Samsung Galaxy S20 Plus from an LG G8X, and whenever I edit a photo using Google Photos, it always asks me to ALLOW the edit. The Google Photos app never did this on my old LG G8X, so how can I get my new S20 Plus to do the same thing, always allowing my edits without being asked?
I have a pic here illustrating what I'm asking about:

It's not really a problem, more of a minor annoyance that I can live with if there's no solution. Still, If anybody knows how I can set Google Photos to always allow my edits I'd really like to know.
I hope you and your family are all staying safe and healthy! Thanks so much. And Happy Holidays!


text:
In Android Google Sheets, "enter key" (->|) won't move to cell below. How to fix?
I don't know when or how I changed the behavior of the "enter key" (->|) in Google Sheets for Android. It used to enter the text I was typing (if any) into the current cell and then move to the cell below the current cell. This is what I want.
But for no apparent reason, "enter" now adds a line feed to the end of the text being typed and does NOT go to the next cell below.
Wrap Text is NOT selected and never has been.
How do I make touching the "enter" key move to the cell below the current cell and NOT merely add a line feed to the text being typed into the current cell?
*** EDITED ***
FWIW, I just noticed that touching "enter" twice puts a line feed at the end of the text being entered and THEN moves to the cell below the current cell, a bit surprising--why not add a second line feed? After all, if we're allowed to enter entire paragraphs into a cell, why not a generally-accepted properly-formatted  second paragraph (blank line between the two)?
Surely the vast majority of users would prefer to have "enter" move to the next cell below the current line (or simply staying in the current cell) than adding a linefeed for possible (but rare) additional lines. I don't get it.
Why is there not an option to specify "enter" key behavior, as in Excel? (Or is there one and that's what I can't find?)

It depends on the keyboard you are using. I tested it first with Gboard and secondly with Hacker's Keyboard and Microsoft SwiftKey Keyboard. With Gboard pressing Enter, insert a new line on the same cell. With Hacker's keyboard and Swiftkey, it takes you to the cell below. So, a possible solution is to use another keyboard (if GBoard is your default keyboard) while using Google Sheets.

Why is there not an option to specify "enter" key behavior, as in Excel?

That's a question Google developers (Gboard) will answer better than us as to why their keyboard behavior is different from the other (I have not found a webpage yet a reason for this behavior).

(Or is there one and that's what I can't find?)

There isn't one (for now).
Disclaimer: I am just a user of the mentioned keyboard apps.

Using Swiftkey and probably any other keyboard, you can long press the text input box to bring up the menu and select "Insert line break".
(Sheets Version 1.23.242.03.9 - 26 June 2023 with Android 13)
Using Hacker's keyboard, you can do Alt + Enter

My workaround: put a blank space at the end of each line of text in cells where you want Enter to always move down to the cell below the active cell. Then Enter moves to the next cell below.
Adding end-of-text spaces is a sufficient way to get "dropdown" cursor movement. But sometimes the cursor moves down without a space at end of text in a cell. So it's not a necessary thing to do.
I haven't tried to study the end-of-text characters to find a pattern or a rule for when adding a space is necessary and when not. Won't try anytime soon. Maybe someone knows or will do exhaustive testing and notetaking to find the rules.


text:
How do I get from a Google AMP page to that actual webpage in Chrome?
I don't want to disable AMP completely, but if I'm on an AMP page sometimes I want to get to the original webpage. There used to be a link to get there but that seems to be gone now. How do I get to the original web page?

See https://www.pcmag.com/how-to/how-to-find-non-google-amp-web-pages

Some AMP pages show the link to go the original source (example)
, while others don't. I am not sure why this happens.

I couldn't find any flags (chrome://flags/)
that forces AMP pages to show the link (on a PC, this seems to do the trick) . But Chrome in desktop worked for me :

If the AMP page appears in a Google search, changing to desktop mode removes the AMP pages as you can see by the missing lightning bolt icons that represent AMP pages. See this search in mobile and desktop modes.

If you are already on the AMP page change it to desktop mode. You can test with the link in first bullet point.

I read about this in some blog, which I can't find now to link. It attributed to desktop mode overriding AMP, since AMP is basically for mobile version (Accelerated Mobile Page).

Did this fix your problem or I wonder if some AMP sites don't respect this method. Curious

Click on this link icon to get to the original webpage:


text:
Sideload non-'Android TV' app to show on the home screen
I've sideloaded an app on my Xiaomi Mi Box adb install myapk.apk. It worked and I can start it. My problem is, that it got installed as system app, which is only accesible over the settings and  prevents me from adding it to the home screen, which makes it really anoying.
Can I sideload an app directly as user app or can I convert a existing system app to a user app?
EDIT:
The app I sideloaded is a tv app of a provider which is supposed to only run on mobile devices, as the distribute apple tv.

Most likely the app is simply not an AndroidTV cable app. I do remember that as an app developer you have to provide a special entry for starting an app on an AndroidTV. Instead of LAUNCHER the app needs an android.intent.category.LEANBACK_LAUNCHER entry in it's AndroidManifest.xml.

@Robert this is most likley, as the provider forces apple tv and therefor only hands out the android app for mobile devices. Is there a workaround how I still can add it to the homescreen? An entry within the favorites list would be already enough.

As an Android app dev myself, I agree with Robert's comment. I'd suggest rewording the question to "sideload non-'Android TV' app to show on the home screen" instead since I believe this is unrelated to being a system app or not.

I found a working solution for me.
As I cannot add the sideloaded app to my home screen, I used this service to generate a launcher app which can be added to the home screen and will start the main app:
http://atvlauncher.trekgonewild.de/index.php


text:
At what decibel does Android Pie shows high volume warning?
At what decibel does Android Pie shows high volume warning?

According to an article here by Kevin Arrows:

The reason Android phones [give high volume warning] is due to regulations set by the European Committee for Electrotechnical Standardization, which dictate that media playback devices must have a maximum output value of 85 dB – past 85 dB and the user must accept a warning.

So, the decibel limit might be 85 in Android Pie.

By "volume limit", did you mean "the maximum decibel an Android device can play", or "the warning threshold"? Note that the article is talking about "the warning threshold" that the user has to accept before turning the volume louder than that.

I was talking about the warning threshold. Not the maximum decibel that's possible on an android device.


text:
phone is on recovery mode , usb debugging is disable and power button is not working ? how to on or format the phone (samsung j7 2016)
i have samsung j7 2016 when i take out the battery and put it back it on without pressing power button and directly takes me to the recovery and I cant select anything because my power button not working plus my USB debugging is disabled

buy JIG dongle to awake device in download mode (or hold the proper key combo while inserting battery) https://android.stackexchange.com/q/221365


text:
What creating bootloop when flashing TWRP?
I follow this XDA tutorial to flash TWRP and rooting Samsung Galaxy J250F. However, after flashing TWRP via Odin, the phone only boots into recovery, not system. Even factory reset or empty the misc partition cannot help. I have to reflash its stock ROM. This erases TWRP and replace with the stock recovery.
This is what the tutorial says, which I follow exactly:

Flash with ODIN in the AP slot.
Put your device in DOWNLOAD mode.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
After flashing and ODIN reports PASS immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.
You should now see TWRP recovery.

Yes I see TWRP recovery, but now the system cannot be booted.

I assume you have read the section IMPORTANT about  dm-verity?

In Odin did you unselected reboot option 2.How did try to boot into system after installing TWRP? Power buttons or through TWRP - boot - system

@alecxs man, the way the article is structured made me think that that section is not important until installing TWRP is done. I had had an incorrect expectation that installing TWRP shouldn't create bootloop

@beeshyams 1 yes. (Actually in the first attempt I didn't, but the result seems to be the same.) 2 Via TWRP

Thank you everyone for supporting me. I suggest the OP to write a better post here

consider in (xda) developers scene it is common sense to disable dm-verity when mess with partitions, therefore you are lucky when you even find a hint about dm-verity at all. also please note that xda has changed forum software recently and all posts became ugly (one should change dark mode to xda classic to make it look like old forum for better readability)


text:
Galaxy S20: Access sdcard/Android/data
I'm using apps e.g. Autoguard and others that record files to their directory (e.g. sdcard/Android/data/com.hovans.autoguard) and I'd like to back them up locally. Unfortunately due to the disastrous Android 11 update I no longer have access to that folder. Neither the phone explorers (also including Files by Google and the Shortcut app to Samsung's explorer) nor a USB connection helps to gain access to those files on the sd card. The Android/data folder on the internal storage can be viewed using USB or the Samsung explorer but NOT the one on the sd card. The only thing I can see is that the data folder is empty (because only root has the rwx rights).
How can I access those files nonetheless without rooting the phone? I'm getting frustrated after researching for hours with no solution.

Have you tried to access those files via adb? If this works you could use it for creating a backup via tar. Save everything to a tar file on the device and save the created archive on your PC (e.g. by streaming it using adb exec-out tar ... > backup.tar.

@Robert at least on stock Android 11 adb doesn't have access to apps' private directories in shared storage. A new GID 1078 has been introduced to make these directories accessible. And adbd doesn't have this GID.

There must be some file explorer apps which still have full access to /sdcard because it hasn't been fully restricted in Android 11.

@Robert Thank you very much, the creation of the tar archive did not work. However, just pulling the files via adb seems to work. Let me see if all files can be carried over but I'm optimistic.

@beeshyams I tried the SD Maid explorer and it did not work. The internal storage/Android/data can be accessed over the Samsung explorer (i.e. the internal system app), just the SD card is the problem and no explorer can access it.

There is something wrong here. Android 11 actually supports ext. SD better //can you try replacing that card with another and checking?

@beeshyams I've tried that 3C Explorer and it demands permissions for sdcard/Android/data which I cannot give since that folder won't appear in the system explorer (to be able to give those rights). So, no, it doesn't work.

@beeshyams Why would I want to replace the card if I need to get files from it and it has been working prior to the update? I can access every file except the ones in that locked folder and for some reason the adb file transfer also works (takes way too long though). I might try another one later (probably not earlier than tomorrow) but I doubt that it makes a difference.

As I pointed out earlier, Android 11 has made things easier for using SD card, so logically, this shouldn't happen. If on changing the SD card you are able to files on it, it means the problem is with card and the solution may be different //Just ruling out a possibility. I understand your need of using this card

@Peter and Everyone. I ran into this exact issue. After spending a few hours befuddled by the nonsense that Android 11 has created with all of this...I decided to take a step back, look at this from a different perspective and had a tada moment :) The best solution sometimes is the most simplistic and one that was right in front of me the whole time. Well, actually, sitting in my laptop bag that's been parked for about a year.
Long story short, I ejected my SD Card, placed it in my previous S9 which was running Android whatever...anything other than Android 11. As soon as I fired it up, checked my Android/Data folder...everything was there, I simply copied it to my Internal Drive, ejected it, returned to the S10 and was back up and running. Thus, I didn't need to Root my device, test over 10+ File Manager Apps, read article after article, etc...I just had to go back in time before Android 11 and I didn't even have to revert my current S10 back to Android 10 or earlier. I just had to take Android 11 out of the picture.
So, while I've seen all of these press releases, specifications, justifications and reasoning for what Android 11 was supposed to do...it just doesn't compute. Never in my 30+ career have I seen a supposedly new solution lead to a 100% non operative solution against a given. In other words, accessing your Android/Data directory was as easy as 1+1, after Android 11 the only number that matters is 0...the number of items you can access :(
I think the moral to the story here is that always having a contingency plan... in this case an older backup phone pays off. I will not bore you with old stories of how my previous phone(s) helped in other situations...but I think today's result sums things up :)
Take care and I hope this helps everyone with this waste of time nonsense. It's OUR data sitting right in front of us that we NEVER had an issue with prior to Android 11.

in https://android.stackexchange.com/questions/241018/how-to-access-hidden-area-of-sd-card-in-android-11 similar aspects are touched


text:
Scroll problem with my android mouse
I have a HUAWEI MediaPad M5 Lite 10 tablet I use it with a mouse connected to USB thanks to this adapter.
For some time with my mouse, I can no longer scroll through the pages of browsers like Firefox or Chrome where another browser.
Rather than scrolling the text from top to bottom or vice versa, it selects the text for me!
I can no longer also do a copy / paste in the web pages, it selects but without displaying "copy / paste" I reset my tablet but it doesn't change anything.
I reset my tablet by following this procedure but it doesn't change anything.
I changed the adapter, tried with another mouse, with a bluetooth mouse but it's the same :(
I sent my tablet to the after-sales service 3 times for this problem but it came back each time as repaired but the problem is still present.
The funny thing is that when I take control of my tablet with my computer and with teamviewer I use my computer mouse! Well it works.
I can scroll web pages through my computer. An idea ? Thank you

You did not include this detail in your questions but I assume by "scrolling" you are referring to pressing and holding the left mouse button and then moving the mouse which also moves the scrollable screen under the mouse cursor. Does "scrolling" work in other apps or has it changed in every app on your tablet?

Yes I am actually talking about pressing and raising or lowering.
The scroll works perfectly with the rest of the applications.It is only defective with web browsers

Then the web browsers mimic "desktop/PC behavior". May be you should simply use the scroll wheel on your mouse?

Unfortunately I am disabled and I do not have a wheel on my mouse I do not understand because a few months ago it was working very well It looks like there is something on the android side that has changed

Could someone test it with a mouse without it and see if they can scroll a web page by holding the left click?

I tried it, it is the same on my tablet. May be there is a configuration option or flag that disables this behavior. I assume you may get better results directly asking the Chrome/Firefox developers.

I will try to contact the developers


text:
Can't write to internal storage on a rooted phone
I have a Samsung Galaxy A5 (2016) which I rooted with Magisk.
Now in the process of installing TWRP and customizing my phone, I might have run some shell commands, like mount or sudo in a place where I shouldn't had.
So now some folders in my /sdcard/ are now "locked". Apps can't write to them like Whatsapp, Telegram, Camera, for example the messaging apps can't download any media, I can't take any picture with Camera.
When I try to delete a folder or a file with the built-in File Manager, it just doesn't succeed.
With adb shell I tried this command: rm -r /sdcard/Telegram/Telegram Images but I get permission denied, but running it as root works: su -c rm -r /sdcard/Telegram/Telegram Images.
What I did was, I checked ownership and read/write accesses with ls -al and I compared the results with a normal phone, EVERYTHING looks fine! User owner is root and group owner is sdcard_rw, folder permissions look like this drwxrwx--x and file permissions look like this: -rw-rw----.
This issue has been hunting me for a couple of months, my phone is almost unusable, sometimes app work, sometimes they don't. Please tell me how I can provide more information to help solve this problem, thanks very much.

sdcard Fix Permissions script

In most cases restorecon -R /data/media should fix this. Details here: https://android.stackexchange.com/a/218409/218526

btw 'rm -r /sdcard/Telegram/Telegram Images' actually will remove two files/directories namely "/sdcard/Telegram/Telegram" and also "./Images" (from your current pwd). you must quote paths containing whitespaces "/sdcard/Telegram/Telegram Images"


text:
How to save specific WhatsApp video when by default Media Visibility is off?
I normally have the Media Visibility setting off so it doesn't store WhatsApp media on my phone but recently a friend sent some videos I want to transfer to computer/email. I cannot find these anywhere - I looked in the File Manager for all possible WhatsApp folders, both internal and SD card. I changed the Media Visibility to "on" but it's not a "new" video so it still doesn't save them. It's gotta be downloaded somewhere on my phone - is there any way to transfer them? The "Share" function only allows forwarding to other WhatsApp contacts and not email etc

Okay, finally found a way. From the chat, I have to click the group of videos, then tap and hold on one specific video, then the "Share" button shows up to share through email. Gotta do the videos one at a time - it won't show the Share button for multiple videos selected, only the Forward button.


text:
How to get adb logcat to filter ONLY by specific app (package name)
Would like to know how can I get the adb logcat of ONLY certain app, and all its errors and messages associated.
I've tried before with adb logcat -c; adb logcat | grep com.fitbit.FitbitMobile, but the thing is, it forces a grep on EVERY line, and sometimes there's a crash that involves multiline where needed information gets omitted.
I've tried the command on page Displaying and filtering with Logcat, however doesn't work. It just gets everything:
adb logcat -c && adb logcat com.fitbit.FitbitMobile:V

I've tried also the filtering option on Android Developers Documentation, but just mutes everything:
adb logcat com.fitbit.FitbitMobile:D *:S

Others commands that get the pid are not useful if the app is not running when I run logcat, and crashes immediately and is relaunched with a different pid.
Any ideas about the proper format?

There is no official but many third party solutions. I found pidcat quite good. You may give it a try.

@IrfanLatif thanks a lot, that worked somehow!

@IrfanLatif that looks like a good alternative answer, would you post that as a proper answer?

I think the answer at Filter LogCat to get only the messages from My Application in Android? is ideal.

@Bink that doesn't work, because debug info can be in multiple lines, only the header will have your.package.name.

@Smeterlink Hi! Regarding your reply to Irfan Latif, have you tried it and found it's sufficient for you? If yes, feel free to post it as an answer with some details about how you used it :)

I found a simple solution without requiring a third party app.
Just connect to the device using shell: adb shell
Then run: logcat | grep your.package.name
It will only show lines that contain that package name.

This does not work, because some information is in multiple lines and only the header includes your.package.name.


text:
Can't remove bloatware after rooted
After my phone is rooted (confirmed by Advanced Root Checker*) using this tutorial, I can't remove bloatware. Normally this can be done by System app remover pro, but now the removal keeps failing. Do you know why is that?
*It says that I don't have "Read/Write Path". I don't know what this mean and am not sure if it's relevant here.

You don't have to root your device for debloating.
System apps can be "uninstalled" from adb shell
adb shell pm disable --user 0 <pkgname>

(actually that will disable the app. Do this again after each factory reset)

If your device is rooted with Magisk you can remove apps from system (overlay).
Just create some empty files for the file/directory you want remove
/data/adb/modules/DEBLOAT/system/app/Bloatware/.replace
/data/adb/modules/DEBLOAT/system/app/Bloatware.apk

where DEBLOAT is the id name of your Magisk module and module.prop is the module info
/data/adb/modules/DEBLOAT/module.prop

id=DEBLOAT
name=my first module
version=0.0.0 pre alpha
versionCode=000
author=my name
description=just remove some of my system apps

If you want you can create a Magisk flashable zip for your module, so you have it handy in case you need it again.

Additional explanation quoted from the Magisk Developer Guides:
Module Tricks

Remove Files
How to remove a file systemless-ly? To actually make the file disappear is complicated (possible, not worth the effort). Replacing it with a dummy file should be good enough! Create an empty file with the same name and place it in the same path within a module, it shall replace your target file with a dummy file.

Remove Folders
Same as mentioned above, actually making the folder disappear is not worth the effort. Replacing it with an empty folder should be good enough! A handy trick for module developers is to add the folder you want to remove into the REPLACE list within customize.sh. If your module doesn’t provide a corresponding folder, it will create an empty folder, and automatically add .replace into the empty folder so the dummy folder will properly replace the one in /system

So if I add system/app/Bloatware.apk to any subfolder in /data/adb/modules/, then it will create that file in the corresponding directory?

yes, assuming core-only-mode is disabled in magisk settings (modules enabled). and (afaik) subfolder must contain module.prop (untested as i am rooted with SuperSU)

I still quite confuse. According to this answer, Magisk does not actually replace the file in system with a blank file, but just hide it from being read by other processes, so they only see a blank file, while the real file is left intact. Is that correct?

yes. the main purpose of this is to keep the whole system partition intact, so that any checksum/ verify of the partition image will be valid

hmm. I guess I need to root normally then. My intention is to free more storage

to free up storage disable app and just delete from /data/data/ then (or without root, first clear data from settings and disable app afterwards)


text:
Making apps installed by Owner visible to other users/profiles
So, as you might know, Android 10 supports Multi-User feature (for reference - this thing)
I have some apps from F-Droid, installed while on Owner profile. But most of the apps are only visible to Owner (I suppose those are User apps, as the universally visible are System apps).
But how can I make some of these apps visible to other profiles so I can use them with all the features provided with separate user accounts (e.g. compartmentalized app data)? Preferably using only one device, without ADB connection to PC, and without re-installation.
There are similar questions on this topic (1, 2, 3), but the answers are outdated. The newest one is 7 years ago.

How to install apps to secondary user account: https://android.stackexchange.com/q/119312/218526. How to share files between user accounts and profiles: https://android.stackexchange.com/a/221593/218526. Can apps share data between profiles: https://android.stackexchange.com/a/213921/218526

@IrfanLatif are there any ways to do it without ADB connection to PC and/or app re-installation?

No, or at least not in my knowledge.

@IrfanLatif what about moving app files from /data/app to /system/priv-app? It could be done from custom recovery, e.g TWRP. Does it have any drawbacks and/or additional actions required?

I won't go that hard way to achieve something simple. But you can try it.

@IrfanLatif how does Google Play manage user access to apps btw? With CMOD and masks? Or puts app files in certain folders?

Not sure what you are asking. But Google Play doesn't share data between users and profiles. Each user/profile has it's own Google account.

@IrfanLatif so the apps should be individually installed for each user?

Sir the whole purpose of users/profiles is isolation. With every new release Android is tightening the restrictions on any possible interactions between users/profiles. If the data and apps are sharable the whole thing is pointless. Isolation is the whole purpose of multiple users, even on desktop OSes. I suggest you again to read my answer to the third question linked above.

@IrfanLatif isolation of data is literally why I want to use Android Multiple Users feature. But I also want apps to be updated and executables to be the same for each User using them. And to save space on the drive.

Apps are only installed to /system/app or /data/app. Only their data directories are duplicated, not APK files.


text:
Contacts doesn't show up under account sync
I can't get my contacts to sync. In the contacts app (both google and default phone app) it shows "1 account" (won't tell me what, presumably the 'on device' since it still shows that if I remove my Gmail). If I try to add my Gmail account it tells me the account is "already on the device".  If I go to settings>accounts>my Gmail>sync there's a few switches, but contacts is not one of them. I can click my account instead of the sync menu and scroll over to People and Sharing and it tells me I have 480 contacts, and will open contacts.google.com and show them, but I can't get them on my phone.
I've tried deleting and re-adding my Gmail, clearing contacts app data, looked for a google contacts sync app (didn't have one). Contacts apps have all permissions granted.

I went under settings>apps ticked show system apps, and searched for 'google'. Found my google contacts sync there. Went through a bunch of relevant sounding system apps that didn't all have the contacts permission, and granted contact permissions. It was to several apps, so no telling which one actually made it work.


text:
Hide specific intent filters
I have several apps on my device that has multiple intent filters, which clutters the menu when I want to open a file(e.g. PDF). I would like to hide some of these intent filters, as I do not need them.
This is a picture of the intent chooser:

I know that iOS has an option to hide these targets under the "More" menu, can this be done on Android? I am using One UI 2 (Samsung) and MIUI 10 (Xiaomi).
Thanks

Thanks for your suggestion. My Samsung tablet isn't rooted, so I can use this app. Is there another way to do this on my rooted phone?

See related questions

You can self answer the question in future by posting it in answer box and not by editing the question//In this case, it's already marked as duplicate

Hello. I have rolled back the question to the version where it didn't contain the answer. We appreciate that you want to provide an answer, but we also want to preserve our Q&A format (that is, questions should remain as questions, and so do the answers). :-) As beeshyams stated above, self-answering is the  correct way to go.

This question is closed, how do I provide an answer? Thanks.


text:
How i can solve this issue of USB data transfer?
I am using oppo A1k cell phone,Its Android version is 9. But when i try to connect it with my Laptop running windows 10, and out of 3 options(charge only,transfer files,transfer photos) i select transfer file option because i want to transfer files from my mobile to Laptop but i still couldn't see my phone appearing in my PC. It does appear but only for a very small instant, and then the window shown in attached snapshot keeps opening again and again

Windows users usually need to install OEM USB drivers. You may need to find one for OPPO devices from other sources though.

@AndrewT. drivers are required even for MTP? Just for my knowledge. I don't remember doing that ever. Though I'm not a fan of either; Windows or MTP.

@IrfanLatif I can't be sure myself, though I've had an experience with some devices even just to get it recognized on Windows PC. But perhaps that's for ADB since I never use MTP either...

@AndrewT. I'm not sure either but I think MTP is a hardware agnostic class like USB Mass Storage class i.e. one doesn't have to install a driver to use a thumb drive.


text:
How to convert a number to words in MS Excel Android app automatically?
Excel macros are unsupported in Android and there is also no SpellNum function. I want a function which can convert a number to words.
Also, I am unable to find any relevant ways of doing so in the Google Sheets Android app.
Is there any way we can achieve this?

I asked this on Super user , but it is migrated to this site , thats why it appear duplicate , keep this closed


text:
Samsung Galaxy S3 Keeps shutting off
I just recently found an old Samsung phone and I have been trying to get it to boot up. I have some old pictures of my kids on there I would love to get off of it. The phone tries to boot up but as soon as it gets to the Galaxy S3 logo it shuts down. I charged the battery and it works fine (checked it with another S3) I tried the Power button, volume down, home button and it gets to the point where I can choose to reset the phone and it goes to the android logo then shuts down. The volume up option shows that it begins the boot recovery but then it shuts down. Any ideas? It had become my mission to figure this out, but it is looking like it might be a lost cause.

check the device modelno GT-I9300 from download mode and flash official twrp recovery according to your device model How to flash a custom recovery with heimdall

don't mix up with S3 Neo GT-I9301i


text:
Should a new microSD card appear to have folders in Android?
We have a new Moto G8 Power and a new Samsung microSD card. I put the card in and turned the new phone on. When I looked in the file browser app it shows Samsung SD Card and that there’s 13 MB used, and then it lists “FILES ON SAMSUNG SD CARD” including folders of .android_secure, Android, Download, Music, Pictures, Ringtones, Alarms, DCIM, Movies, Notifications, and Podcasts.
The folders appear to be empty. Is this normal? I don’t have much experience with Android phones (I’ve been in the Apple ecosystem pretty much exclusively); Is this expected behavior, or should I reformat the microSD card?

The list you have provided is that of standard directories (see official documentation and source code). Android OS creates these directories in external storage filesystems (including SD cards) when they are first mounted (see source). As of Android 10 it includes 9 directories: Alarms, DCIM, Download, Movies, Music, Notifications, Pictures, Podcasts and Ringtones.
Android's MediaScanner service puts the files in these directories in special categories as the names suggest. See some more details in the related question suggested by @Izzy in comment: List of special Android SD card folders?
Android and .android_secure are exceptions though. Android directory contains apps' private directories in external shared storage (see details in this answer). .android_secure is used by Android to move apps from internal to external storage (see details in this answer).
So all of these folders are created by Android OS on first usage.


text:
Restore contacts from VCF to SIM Card
I've been trying to restore contacts from a vCard backup I have (VCF file) to the SIM card.
So far I managed to do it, but only through an app called "Simple contacts - Easy contact manager" (https://play.google.com/store/apps/details?id=com.simplemanage.contactsapp&hl=en_US&gl=US). From there, I can click Import from VCF file and it will have the option to select the SIM card "account". When I try from the Contacts app, no such "account" appears, and I can only select PHONE or Google Account. So I think the app enables the option from the Contacts app, which might be locked because of any non-sense reason (unless it's because of what I'll say in a bit, and if it is, I'd like to know why they didn't fix it...). When I try to do this, all contacts are restored perfectly with absolutely no errors. Though, after a restart, all are gone from the SIM card. No trace. No explanation also...
From another idea, I've also not found another app that imports from VCF to the SIM card directly, so I restored to the phone (perfect restoration) and copied to the SIM card. This ended up in one of 2 ways only: either the names would be incomplete many when there are special characters on them (it would cut them for some reaason), or it would still cut the names, but less times and only with one app which I don't remember anymore because I've been trying various (if needed I can look for it).
In some cases, they will be shown perfectly on the app that copied them, but when I open the Contacts app, their names will be cut.
Since it seems to have to do with special characters, I've thought in being related with encodings (the encoding used on the phone memory). A wrong encoding could be taking too much space for the SIM card to store or something, but no idea, just came to my mind.
Does anyone know a decent way of restoring the contacts to the SIM card...? I don't want to be forced to go get my Nokia Navigator or another one even older I have from 2008 (the Navigator at least I know it can do this because I used to do it, the other one I'm not sure) to do something an Android phone (much more recent and more powerful) can't and should be able to do, every time from now on.
Thanks in advance for any help!

That's the problem with using  SIM card, names are truncated because of length restrictions, only name & number pairs can be stored, no other details, you can't store more than 250 contacts // Using SIM card for contacts means you have to live with these restrictions

Yeah, but I don't mind at all. The thing is I can write the contacts there myself manually one by one and they'll remain saved. If I copy from phone to SIM, they're either get truncated for some reason, or they'll be saved perfectly and last until a reboot. I just don't want to write them myself again or go get a Nokia to do it right because an Android phone can't! Makes no sense to me why I can't copy contacts to SIM decently but I can write them myself manually like I did for 20 minutes with 140 contacts... But I'd like not to do it myself --> vCard - and the phone doesn't cooperate... Cool.