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:
...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
root-access × 1657rooting × 215
adb × 133
applications × 87
cyanogenmod × 56
4.4-kitkat × 56
recovery-mode × 54
twrp × 53
file-system × 52
samsung × 49
security × 48
superuser × 48
magisk × 47
6.0-marshmallow × 45
permissions × 44
custom-roms × 43
linux × 43
shell × 43
mount × 42
5.0-lollipop × 40
selinux × 36
backup × 35
bootloader × 35
system-apps × 35
updates × 34