Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
1
votes
0
answers
50
views
devinfo is missing information on Google Pixel 4a
I am trying to convert a non-JP Google Pixel 4a into a JP Google Pixel 4a by changing the model numbers. After flashing the latest stock firmware (Android 13) sourced from [the official website](https://developers.google.com/android/images), I installed [Magisk v29.0](https://github.com/topjohnwu/Ma...
I am trying to convert a non-JP Google Pixel 4a into a JP Google Pixel 4a by changing the model numbers.
After flashing the latest stock firmware (Android 13) sourced from [the official website](https://developers.google.com/android/images) , I installed [Magisk v29.0](https://github.com/topjohnwu/Magisk/releases/tag/v29.0) and rooted my Pixel by following [this guide](https://thedroidwin.com/root-android-magisk) .
[Rooting using Magisk]
0. Enable Developer Settings
1. Enable USB Debugging
2. Enable OEM Unlocking
3. Unlock Bootloader
fastboot flashing unlock
4. Extract boot.img
unzip sunfish-tq3a.230805.001.s2.zip
cd sunfish-tq3a.230805.001.s2
unzip image-sunfish-tq3a.230805.001.s2.zip
cp boot.img /run/user/1000/gvfs/mtp:host=***/'Internal shared storage'
5. Patch boot.img
6. Boot using patched boot
adb reboot bootloader
fastboot boot patched_boot.img
7. Install patched_boot using Magisk
Now that my phone is rooted, I accessed protected system files to overwrite using [this article](https://thedroidwin.com/how-to-enable-osaifu-keitai-in-non-japanese-pixel-devices) .
1. Enable root access
adb shell
su
(Tap 'ok' on Pixel screen)
2. Extract devinfo.img
dd if=/dev/block/by-name/devinfo of=/sdcard/devinfo.img
3. Copy devinfo to PC
cp /run/user/1000/gvfs/mtp:host=***/'Internal shared storage'/devinfo.img ./devinfo.img
4. Open the file using the hex editor
ghex devinfo.img
I am supposed to find my phone's model number and replace it with the Japanese version's, but all I see is 16 bytes corresponding to "ANDROID-BOOT!..." That's literally the only thing in the file. Is this method not universal for all Pixels? What went wrong?
Hyunbin Yoo
(111 rep)
Aug 1, 2025, 02:03 PM
• Last activity: Aug 2, 2025, 03:38 PM
19
votes
4
answers
173148
views
Why can't I get root access from shell?
> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called [SD Maid][1] that is able to operate with root permissions. [1]: https://play.google.com/store/apps/details?id=eu.thedarken.sdm&hl=en
> adb shell
sh-4.1$ su
Permission denied
I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate with root permissions.
Kshitiz Sharma
(489 rep)
Feb 21, 2013, 10:16 AM
• Last activity: Jul 29, 2025, 09:37 AM
4
votes
2
answers
4223
views
Is there a way to group notifications by app?
My phone is running MIUI 12.5 (rooted if it matters) and some apps just push individual notifications so each notification I get, shows up in its own bubble instead of showing them all under a group of notifications for this same app. It's really hard since it takes up all my screen and if I want to...
My phone is running MIUI 12.5 (rooted if it matters) and some apps just push individual notifications so each notification I get, shows up in its own bubble instead of showing them all under a group of notifications for this same app.
It's really hard since it takes up all my screen and if I want to search for notifications from a certain app I have to go over all the other notifications from the other apps..
Is there a way to force notifications from the same app to be grouped together in my notification bar?
Ben Yaakobi
(133 rep)
May 15, 2021, 11:30 AM
• Last activity: Jul 28, 2025, 03:08 PM
1
votes
3
answers
15884
views
How to fix the recovery mode error?
I am trying to root my Samsung Galaxy Ch@t GT-B5330 (4.1.2) following this guide . I have reached the point when I am intended to use the recovery mode menu (that is reached by holding volume-up when turning the phone on) but here am I stuck: whatever I choose gives me the error icon 
Ivan
(683 rep)
May 3, 2014, 05:43 PM
• Last activity: Jul 20, 2025, 03:04 AM
0
votes
0
answers
61
views
When a samsung smartphone is rooted with MagiskHide, how to restore widevine L1?
Using MagiskHide against all Google services and clearing data, I restored the widevine L1 level in the DRM info app. But now, all the video services that are widevine L1 only idle when attempting to play a video instead of properly showing an error message (so it’s don’t work). As far I understand,...
Using MagiskHide against all Google services and clearing data, I restored the widevine L1 level in the DRM info app. But now, all the video services that are widevine L1 only idle when attempting to play a video instead of properly showing an error message (so it’s don’t work).
As far I understand, videos decryptions keys are erased from the trusted keystore of the cpu in case the firmware is tampered. If this is true, how to restore them ? If not, how to access apps that require widevine L1 access (not accepting widevine L3) ?
I’m asking this because several post across the Internet emerged in claiming on how to restore widevine L1 and by following them the device is again signaling the compatibility with L1 but doesn’t seem to support it again in reality.
user2284570
(501 rep)
Jun 21, 2025, 12:31 PM
• Last activity: Jun 22, 2025, 10:14 AM
2
votes
0
answers
5798
views
Bootloader is unlocked, fastboot returns ''FAILED (Remote: Verify state locked)
I am trying to root my Vivo V11 with Android 10. The bootloader is unlocked. It says so in the dev settings, and I have to go through the warning prompt every time I reboot my device. When I run the fastboot command to flash the patched_boot.img file, it returns: ``` C:\Program Files\Minimal ADB and...
I am trying to root my Vivo V11 with Android 10. The bootloader is unlocked. It says so in the dev settings, and I have to go through the warning prompt every time I reboot my device. When I run the fastboot command to flash the patched_boot.img file, it returns:
Things I've tried to troubleshoot:
Running cmd as Administrator (im using win10)
Confirmed OEM unlocking is turned on in the dev settings (it is, it says "bootloader is already unlocked"
Confirmed USB debugging is on
Disabled "Verify apps over USB" and "Verify bytecode of debuggable
apps" in the dev settings.
Confirmed file transfer is enabled from my PC and my Phone (it is, I can transfer files back and forth between them)
Tried a different USB cable
[EDIT]
C:\Program Files\Minimal ADB and Fastboot>fastboot getvar unlocked
unlocked: yes
finished. total time: 0.002s
C:\Program Files\Minimal ADB and Fastboot>fastboot flash boot patched_boot.img
target reported max download size of 134217728 bytes
sending 'boot' (38579 KB)...
OKAY [ 1.269s]
writing 'boot'...
FAILED (remote: Verify state locked)
finished. total time: 1.276s

PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\adb devices
List of devices attached
ZDIBLVIRY5DIJBEI device
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\adb reboot-bootloader
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\fastboot devices
ZDIBLVIRY5DIJBEI fastboot
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\fastboot flash boot patched_boot.img
Sending 'boot' (38579 KB) OKAY [ 1.272s]
Writing 'boot' FAILED (remote: 'Verify state locked')
fastboot: error: Command failed
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\fastboot flash vbmeta vbmeta.img
Sending 'vbmeta' (4 KB) OKAY [ 0.009s]
Writing 'vbmeta' FAILED (remote: 'Verify state locked')
fastboot: error: Command failed
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\fastboot --disable-verity flash vbmeta vbmeta.img
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB) OKAY [ 0.010s]
Writing 'vbmeta' FAILED (remote: 'Verify state locked')
fastboot: error: Command failed
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools> .\fastboot --disable-verification flash vbmeta vbmeta.i
mg
Rewriting vbmeta struct at offset: 0
Sending 'vbmeta' (4 KB) OKAY [ 0.009s]
Writing 'vbmeta' FAILED (remote: 'Verify state locked')
fastboot: error: Command failed
PS C:\Users\Himanshus\Downloads\platform-tools_r30.0.5-windows\platform-tools>
Ayush Jhinkwan
(21 rep)
Jan 15, 2021, 08:19 AM
• Last activity: Jun 19, 2025, 12:21 PM
3
votes
1
answers
11997
views
How to run a script in background from adb shell?
I have a problem with USB tethering on my rooted Nougat phone (LineageOS). After some time phone stops USB tethering. To fix that I run the following script like this: adb shell su nohup sh tether.sh & exit exit tether.sh #!/system/bin/sh service list while true; do if ! pidof -s dnsmasq > /dev/null...
I have a problem with USB tethering on my rooted Nougat phone (LineageOS). After some time phone stops USB tethering. To fix that I run the following script like this:
adb shell
su
nohup sh tether.sh &
exit
exit
tether.sh
#!/system/bin/sh
service list
while true;
do
if ! pidof -s dnsmasq > /dev/null
then
echo -n "Connectivity lost at "
date -u +%FT%TZ
echo "Waiting 3 seconds..."
sleep 3
echo "Calling ConnectivityManager.setUsbTethering(false)"
service call connectivity 33 i32 0 2>&1
sleep 3
echo "Calling ConnectivityManager.setUsbTethering(true)"
service call connectivity 33 i32 1 2>&1
echo "Waiting 3 seconds..."
fi
sleep 3
done
Problem: If I use
nohup
my call to service call connectivity
fails with service not found. And I put service list
on top of the script which returns Found 0 services:
. However the same commands work when ran directly from adb shell; su
.
Why service call
doesn't work inside this background script? Does it need the same tty
to work?
Nazar554
(188 rep)
Aug 27, 2019, 08:33 PM
• Last activity: Jun 17, 2025, 06:35 PM
2
votes
0
answers
79
views
How to make systemless edits to /system with Magisk
Many different root-only actions involve mounting and editing files in the Android `/system` directory. Because there have been so many types of Android OSes, rooting techniques, and actual root solutions from the last decade, it has made it difficult to confidently determine if this is possible wit...
Many different root-only actions involve mounting and editing files in the Android
/system
directory. Because there have been so many types of Android OSes, rooting techniques, and actual root solutions from the last decade, it has made it difficult to confidently determine if this is possible with my current root solution: Magisk with locked bootloader.
From my understanding, Magisk is a completely "systemless" root solution, so by simply disabling Magisk and rebooting, *all actions performed as root are reverted.* This is important for me because I have verified boot with a locked bootloader via [avbroot](https://github.com/chenxiaolong/avbroot/) , so if there is any change to the system partition then it will fail to boot and the device will be bricked.
So, with Magisk, is there a specific module that is required in order to "write" to the system partition systemlessly, so that it's not actually changing anything in the real system directory? Or does Magisk do this by default, and all I have to do is make my file edits from a shell like ADB root or Termux su, and they will be applied systemlessly?
ETL
(211 rep)
Jun 9, 2025, 05:21 AM
4
votes
2
answers
7311
views
Apps don't ask for root permission
I rooted my Lineage OS 14.1 but none of my apps ask for root permissions. I followed the instructions of [this link][1] and the root access option in my phone is "apps and adb". Do I miss something? I have a Moto G4 Plus and I've already tested Sixaxis and ES File Manager, none of them ask for root...
I rooted my Lineage OS 14.1 but none of my apps ask for root permissions.
I followed the instructions of this link and the root access option in my phone is "apps and adb". Do I miss something?
I have a Moto G4 Plus and I've already tested Sixaxis and ES File Manager, none of them ask for root permissions.
victortamotsu
(51 rep)
Apr 21, 2017, 02:54 PM
• Last activity: May 30, 2025, 05:03 PM
2
votes
1
answers
1023
views
Removing DRM from Android using root
I would like to know what one would have to do to remove DRM (Digital Restrictions/"Rights" Management) completely from an Android phone that one has root access to. So far, I have thought about removing `/etc/drm`, `/etc/dcmrcm`, and `/system/bin/drmserver`.
I would like to know what one would have to do to remove DRM (Digital Restrictions/"Rights" Management) completely from an Android phone that one has root access to.
So far, I have thought about removing
/etc/drm
, /etc/dcmrcm
, and /system/bin/drmserver
.
Stallman
(41 rep)
Jan 18, 2020, 08:35 PM
• Last activity: May 22, 2025, 06:13 PM
-1
votes
1
answers
315
views
Lost root when upgrading from CM11to CM12.1
I recently upgraded my encrypted Nexus 5 CM11 to CM12.1 and now I need to reinstall Google Apps. Unfortunately, it seems to have lost root access which is needed to install a zip in recovery mode. I am using TWRP recovery, which does support encrypted storage. Since I can only get root back via reco...
I recently upgraded my encrypted Nexus 5 CM11 to CM12.1 and now I need to reinstall Google Apps. Unfortunately, it seems to have lost root access which is needed to install a zip in recovery mode. I am using TWRP recovery, which does support encrypted storage.
Since I can only get root back via recovery mode, looks like I am now in a deadlock.
Anything I can do?
clamp
(224 rep)
Sep 7, 2015, 10:50 AM
• Last activity: May 22, 2025, 02:15 AM
2
votes
3
answers
1371
views
I uninstalled/deleted a system-privileged app (from /system/priv-app). How can I reinstall it?
I uninstalled the DocumentsUI only to know it wasn't "just" a file manager. My `/system/priv-app/DocumentsUI` is empty. Putting any 3rd-party DocumentsUI.apk in it results in a bootloop. I have a custom ROM (AOSP Extended). Flashing the `/system` again would fix the problem, I think. Just want to ma...
I uninstalled the DocumentsUI only to know it wasn't "just" a file manager. My
/system/priv-app/DocumentsUI
is empty. Putting any 3rd-party DocumentsUI.apk in it results in a bootloop. I have a custom ROM (AOSP Extended).
Flashing the /system
again would fix the problem, I think.
Just want to make sure if this will make the condition worse, or am I going alright?
44yu5h
(1617 rep)
Dec 3, 2020, 09:06 PM
• Last activity: May 20, 2025, 03:15 PM
6
votes
1
answers
5260
views
Why has Android made it impossible to install system fonts?
Fonts in Android are kept in `/system/font` directory. There seems to be no way to install custom fonts without rooting your Android or installing some apps. - Why has Google made it almost impossible for Android users to install custom fonts? - What was the engineering decision that led fonts not g...
Fonts in Android are kept in
/system/font
directory. There seems to be no way to install custom fonts without rooting your Android or installing some apps.
- Why has Google made it almost impossible for Android users to install custom fonts?
- What was the engineering decision that led fonts not getting picked up from ~/.fonts/
user directory as happens in a standard Linux Distribution?
The same behaviour is seen in ChromeOS as well.
ksinkar
(173 rep)
Jun 15, 2022, 08:48 AM
• Last activity: May 20, 2025, 03:08 PM
1
votes
2
answers
3832
views
Phone temperature sensor not working - Charging slow - How to fix?
Recently, something has happened to my phone's temperature sensor. It's showing ridiculously high values for the temperature (over 100 degrees), even though it's very cold. This has caused my phone to refuse fast charging, and it charges very, very slowly. (~7 hours to charge) Is there anyway I coul...
Recently, something has happened to my phone's temperature sensor. It's showing ridiculously high values for the temperature (over 100 degrees), even though it's very cold. This has caused my phone to refuse fast charging, and it charges very, very slowly. (~7 hours to charge)
Is there anyway I could turn off a sensor or fake its value so that my phone charging returns to normal?
Or is there anyway to force the phone to ignore the thermal limits during charging? (I know it's dangerous but I have no choice)
Deleting the thermal engine file doesn't fix the issue.
P.S: Android 10 | Qualcomm chipset | Rooted + Xposed
Leopard20
(11 rep)
Nov 1, 2020, 04:59 PM
• Last activity: May 19, 2025, 10:05 PM
0
votes
0
answers
48
views
Error when logging in as root bash after updating kernel with new Magisk
I want chroot to work. It all happened when I upgraded Magisk and then repatched my kernel. Now that I'm logging in as root bash, I get this error: ``` bash: cannot set terminal process group (6898): Inappropriate ioctl for device bash: no job control in this shell ``` Then, if I press ^C, all comma...
I want chroot to work. It all happened when I upgraded Magisk and then repatched my kernel. Now that I'm logging in as root bash, I get this error:
bash: cannot set terminal process group (6898): Inappropriate ioctl for device
bash: no job control in this shell
Then, if I press ^C, all commands are not working and the shell exits with **signal number 2**.
How do I fix this?
Yare yare daze
(1 rep)
May 15, 2025, 08:14 PM
• Last activity: May 17, 2025, 05:44 AM
1
votes
1
answers
570
views
ADB SU root inputs location
Where do I enter the commands for SU abilities and root access or settings? ``` fd = open("/system/file.txt", O_RDWR | O_LARGEFILE | O_NONBLOCK); if (fd Code source: https://android.stackexchange.com/q/213631 No, I'm not doing this for any reason, and I don't need to throw an explanation at all. I'm...
Where do I enter the commands for SU abilities and root access or settings?
```
fd = open("/system/file.txt", O_RDWR | O_LARGEFILE | O_NONBLOCK);
if (fd Code source: https://android.stackexchange.com/q/213631
No, I'm not doing this for any reason, and I don't need to throw an explanation at all. I'm just tooling around and I'm trying to learn on my own as well as reading and doing my own research, so please spare me the whys, the whats, and the whos, and just explain to me where I enter these commands.
W K. Omni
(11 rep)
Jun 30, 2024, 01:31 PM
• Last activity: May 10, 2025, 11:01 AM
4
votes
1
answers
1414
views
How do I move apps to SD card on Android 7
I'm getting tired of deleting apps to install an app. Right now I need every app I got but also need to download another app. I got no more space left. I've searched high and low for a way to move my apps, completely, to SD card but to no avail. And I don't want to "link" them to SD. I want to "move...
I'm getting tired of deleting apps to install an app. Right now I need every app I got but also need to download another app. I got no more space left. I've searched high and low for a way to move my apps, completely, to SD card but to no avail. And I don't want to "link" them to SD. I want to "move" them to create space.
Can anyone point me in the right direction please? Thanks!
Android 7 | Rooted | Moto C Plus
JJrussel
(431 rep)
Feb 27, 2021, 08:17 AM
• Last activity: Apr 22, 2025, 05:05 PM
1
votes
1
answers
5404
views
HTC Desire 516 dual sim ROOT FAILED (BRICKED?)
I've tried to root my HTC Desire 516 dual sim by following this guide: http://forum.xda-developers.com/android/help/bootloader-fastboot-recovery-htc-desire-t2845467/page8 But obviously, I did something wrong. Now, when I turn on my phone and unlock the screen, suddenly there is a message saying "Unf...
I've tried to root my HTC Desire 516 dual sim by following this guide:
http://forum.xda-developers.com/android/help/bootloader-fastboot-recovery-htc-desire-t2845467/page8
But obviously, I did something wrong. Now, when I turn on my phone and unlock the screen, suddenly there is a message saying "Unfortunately, HTC Sense has stopped", and I didn't make a backup and now don't know what to do. Can someone help me to fix it? I cannot do anything on the homescreen or even to get in the app menu, only in settings menu.
Also, when I try to wipe cache or go for the factory reset it returns a string saying "E: failed to mount/sdcard (no such file or directory)"
I tried to find a stock ROM for this phone but seems that there's none on the internet.
Paolo
(111 rep)
Dec 21, 2014, 11:48 AM
• Last activity: Mar 19, 2025, 07:00 PM
2
votes
1
answers
4741
views
Force proxy to be used by all of my Android applications
I'm looking to force some applications on my phone to use a proxy whose certificate is installed on my phone. Some applications (like Instagram, YouTube, etc.) are using this proxy and I can sniff the communication between my phone and the proxy. To make this work, I need to use root permissions on...
I'm looking to force some applications on my phone to use a proxy whose certificate is installed on my phone. Some applications (like Instagram, YouTube, etc.) are using this proxy and I can sniff the communication between my phone and the proxy.
To make this work, I need to use root permissions on my Android. I found an [app](https://play.google.com/store/apps/details?id=org.proxydroidn) that may help me do this, but I want to use the terminal to achieve this.
Any ideas that could help me would be appreciated.
yosra
(121 rep)
May 24, 2019, 08:52 AM
• Last activity: Mar 15, 2025, 08:01 PM
2
votes
2
answers
5753
views
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 phon...
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.
Agus Fadillah Sani
(91 rep)
Dec 26, 2020, 05:53 AM
• Last activity: Mar 15, 2025, 12:41 PM
Showing page 1 of 20 total questions