Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
11 votes

How can Phones such as Oppo be vulnerable to Privilege escalation exploits

A locked bootloader and non-existent fastboot and most important Android Verified Boot (vnmeta), which cryptographically verifies the content of the system partition, make it extreme hard to root the ...
Robert's user avatar
  • 20.3k
4 votes
Accepted

Who is "Dr. MAD"/who composed the default Android ringtones?

Interesting question from a historical perspective since a Google search threw up a few references to Dr.MAD in the ringtone meta data of several OEM ringtones. Here is what I found. I cannot vouch ...
beeshyams's user avatar
  • 41k
4 votes
Accepted

Modifying /data/data file from PC

There is no simple command for uploading a modified database file into the app-private data directory of a debuggable app. What Android Studio does when uploading a file using Device File Explorer is ...
Robert's user avatar
  • 20.3k
3 votes

Replacing Android OS on Android phone with Linux OS

Ubuntu Touch from UBPorts is basically at a daily driver state if you have the right hardware. I've run it on a Pixel 3a as a "weekend driver" and the performance is impressive, especially ...
beep_check's user avatar
2 votes
Accepted

Clearing an app's *cache* and not the app's *data* via pm (or other CLI utility)?

OOPS! I originally overlooked the answer when checking the pm help text. All I have to do is pm clear --cache-only package.name.
HippoMan's user avatar
  • 725
2 votes

How to use `adb push` after mounting /system R/W without losing R/W permissions to install app as /system/apps?

adb push is never affected from calling su from within a shell. If you execute su within a shell a new shell instance is created that get the root permissions. However adb push does not use a shell at ...
Robert's user avatar
  • 20.3k
2 votes

How to upgrade Android past the device's supported limit

Bought a cheaper tablet and it only supports Android 8. I'd like to install OneNote for Android but Android V8 does not support it. Is there a way to force the upgrade of the Android OS version past ...
John Dallman's user avatar
  • 1,377
2 votes

Bricked my phone after messing with Knox permissions

Ok I finaly found the solution : I just had to delete package-restrictions.xml and Android just recreated it at the following boot. /data/system/users/0 # mv package-restrictions.xml package-...
calandoa's user avatar
  • 141
1 vote

Is there any persistent root method for LineageOS 20?

The devices with preinstalled Android 8 have mandatory A/B partition systems which work like MultiROM. When you update your Android, you install the update in the inactive slot (A or B slot). And ...
Shifty's user avatar
  • 11
1 vote

How can I retrieve WiFi passwords via (rooted) ADB on a Pixel 4a with LineageOS?

On this Phone/OS combination, it turned to be in /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml. Check out boro's answer for a more general approach on how to find it. I simply found it in ...
heinrich5991's user avatar
1 vote
Accepted

How can I retrieve WiFi passwords via (rooted) ADB on a Pixel 4a with LineageOS?

I cannot give you the direct answer but cannot comment yet on Stack Exchange. However, with ADB you can try searching for it in two ways. search for file names cd / ; find | grep supp | grep conf ...
boro's user avatar
  • 26
1 vote
Accepted

How to disable bloatware for secondary users?

To enable root on the secondary user: In Magisk settings → multi user mode, select user-independent. Install Magisk Manager only on secondary user (in case, it's not present) , optionally reboot and ...
beeshyams's user avatar
  • 41k
1 vote

Revvl 6 5G - A/B Root??? - W/O recovery.img

Seeing as I solved my question, I figured I would provide the answer. It took piecing several guides together from XDA forums as well as the Hovatek forums. I should note this guide is for Android 12. ...
NinjaAdmin's user avatar
1 vote

ROOT: How to allow "install unknown apps" by default for an app?

Execute: adb shell settings get secure install_non_market_apps to get value adb shell settings set secure install_non_market_apps = 0 to deactivate install non-market apps in your smartphone adb ...
Dj C68's user avatar
  • 11
1 vote
Accepted

ROOT: How to allow "install unknown apps" by default for an app?

I found the solution using appops. adb shell appops set <package name> REQUEST_INSTALL_PACKAGES allow I haven't tested this for unrooted devices but it definitely works for my rooted device.
Eric's user avatar
  • 111
1 vote

How can I find out if my device uses FBE or FDE?

For Samsung devices specifically, according to Samsung Knox Documentation - File-based encryption (FBE) and full-disk encryption (FDE), Environment FDE — Samsung Galaxy devices shipped with an ...
Andrew T.'s user avatar
  • 16.1k

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