16 votes
Accepted

How can I prevent an app from interrupting audio playback of some other app?

You can set TAKE_AUDIO_FOCUS permission of that app to ignore: appops set <PKG_NAME> TAKE_AUDIO_FOCUS ignore Using Permission Manager X (PMX) this can be done conveniently for any app: ...
user avatar
  • 17.6k
4 votes

Taking a full backup for LG Velvet 5G (TMO) - does root/su matter?

A rooted device allows to backup data of apps that simply deny backups in their Android manifest.xml. Root has no effect on Apps that make use of the AndroidKeystore. This is a system service that ...
user avatar
  • 15.8k
4 votes
Accepted

Why has Android made it impossible to install system fonts?

Fonts can be considered an attack surface so system level fonts are restricted. The Android Open Source Project documentation has a section on Custom Fonts Fallback which allows for Android 12+ OEMs ...
user avatar
3 votes
Accepted

How to access texts on rooted Android device from terminal

Requirements: Linux terminal (may work on other systems; untested). adb installed. "USB Debugging" enabled. Rooted Android device (may work on unrooted; untested). Sequence: Plug in ...
user avatar
2 votes

Need one-line adb shell su push & pull to access /data from Windows batch file

adb root; adb push /local/file /distant/root/owner/file "adb root" will restart adbd as root then your push is accepted
user avatar
  • 121
2 votes

How to mount system under super partion?

On devices with enough disk space one can convert ext4-dedup dynamic partition into r/w system partition. This can be done offline on linux computer using (official) Dynamic Partition Tools lpunpack ...
user avatar
  • 3,215
2 votes

Gaining real su permission on GNURoot Debian instead of proot env

I too am getting this error in GNURoot. Search google and saw your question posted in many stack forums. I wanted to change from armel to armhf and followed the instructions on the Debian website but ...
user avatar
  • 111
2 votes

Analyzing boot loop Root cause from console-ramoops-0 ( & logcat)

If you run stock firmware and it's bootlooping, there's really not much that you can do because you don't have source code to the firmware you're running. Your boot log seems to have a couple of ...
user avatar
2 votes

Will a factory reset unroot Android?

If your rooting process made changes to system partition (SuperSU used to do that) or to the boot image (Magisk does that) then those changes would persist after a factory reset. However, superuser ...
user avatar
  • 23.5k
2 votes

Extracting the a system app from stock OTA, then installing it on a custom ROM

You simply can't install Oxygen OS camera on your OnePlus device running crDroid because the only requirement to run the Oxygen OS app package on an AOSP based ROM isn't the apk from an OTA dump alone....
user avatar
2 votes
Accepted

manually upgrade Magisk on Samsung S10 without losing data

After some great help from @alecxs I managed to fix the problem, without losing any data, all the googled tutorials tell to use fastboot, which is not available for Samsung devices, so this is the ...
user avatar
  • 243
1 vote
Accepted

Device cannot access Internal Storage without elevated rights

After being stumbled for days, found a very simple solution. This will need root privileges. From an ADB shell or terminal emulator in phone: su restorecon -v -R /data/media This will make Internal ...
user avatar
  • 11
1 vote

How can I prevent an app from interrupting audio playback of some other app?

If you have a Samsung phone then Sound Assistant has a Multi Sound option that can allow specific applications to be able to play audio at the same time as other applications. Once you toggle it on ...
user avatar
  • 412
1 vote

GPT weird partitions, ROM dump problem, MTK phone

Must have been readback failure in SP Flash Tool. Thanks Alecxs for advice on using mtkclient. Worked perfectly. All partitions normal. Super is 4 GB, as expected, boot also normal. Rooting worked. ...
user avatar
  • 51
1 vote

File attributes on Android (Linux): Any way to make a file fully writable but not deleteable?

You don't need to use any fancy ACLs or attributes for this. Just make the file writable and the directory that it's in read-only. This works because deleting a file only checks for write permission ...
user avatar
1 vote
Accepted

Cannot list all folders in /data/data in few apps

To mark this question as solved. As @alecxs said, these apps does not handle correctly mounting namespaces, and therefore we need to select in Magisk settings Mount Namespace Mode->Global Namespace ...
user avatar
1 vote

How to set developer option after reboot?

Try dialing code *#*#4636#*#* into your phone. No need to press the send call button. After the last * is input, the pop up screen will automatically display. Choose option usually displays (PHONE ...
user avatar
1 vote

adb - pull data from non-rooted android

Your device seems to be encrypted using File Based Encryption (FBE). After you enter lock screen PIN the first time after boot these files will become available. But based on your description the ...
user avatar
  • 15.8k
1 vote

How To Map Joypad Axis To Button?

From the Split axes documentation: A split axis maps a Linux axis code to two Android axis code names, such that values less than or greater than a threshold are split across two different axes when ...
user avatar
  • 156
1 vote

Can I disable OEM lock from computer?

For security reasons the only way to change the option "Allow OEM unlock" is from within the running device in the developer settings menu.
user avatar
  • 15.8k
1 vote

Where does Android store disabled packages list?

To answer your question. No there's no way to get back an uninstalled app on Android like in Windows where you can restore back to a point in time - that feature unfortunately isn't that well ...
user avatar
1 vote
Accepted

How to uninstall gmail app on android without root

Install Platform-tools on your computer (google if don't know how to) Enable Developer Options on your phone (google if don't know how to) Then enable USB debugging in developer options Then give the ...
user avatar
1 vote

No keyboard on Samsung Galaxy Note 10.1 running on Unofficial CM 13

I solved this problem. I think it occurs because there is a default physical keyboard configured called "sec_keyboard". The OS thinks this is available, so it doesn't choose to make the ...
user avatar
1 vote

Android ADB connect to device with broken USB and no root

This is now possible for devices running Android 11 or higher. There's Wireless debugging menu under Developer options. The pairing is done using a 6-digit pairing code, or a QR code. To use the ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible