New answers tagged

1

To patch the policies, do the following: Change the value in /system/etc/selinux/plat_and_mapping_sepolicy.cil.sha256 OR empty this file. Inject required policies in /system/etc/selinux/plat_sepolicy.cil "Loading compiled SELinux policy" should show in logs and the init service will run fine.


0

Backing up the apps' data in data/data then uninstalling and reinstalling them solved my problem, also the next updates worked, but can you help me figuring out why did this happen?


2

This can be marked a duplicate of questions like this, but it's a device-specific question. It cannot be answered in a generic way, it should be “How to root XYZ Android device without unlocking bootloader?” Simple answer is: It should not be possible to root Android devices without unlocking bootloader, but it's possible for some devices due to security ...


1

USB OTG is a hardware capability. Software can't tell if the hardware has this capability or not if it's not configured to do so. The app you show is just confirming the presence of host.xml file that you have put yourself. Also you can confirm that form adb shell: ~$ pm list features | grep usb.host For USB OTG to work, first your kernel should create a ...


0

For Android 10 adb shell media volume --show --stream 1 --set 1 example : / $ media volume --show --stream 4 --set 1 [v] will control stream=4 (STREAM_ALARM) [v] will set volume to index=1 [v] Connecting to AudioService Specific usage usage: media [subcommand] [options] media dispatch KEY media list-sessions media monitor <tag&...


12

First to clarify only root (UID 0) isn't enough to get access to /data at least since Android 5. Discretionary Access Control based on traditional UNIX UIDs/GIDs alone doesn't fulfill the needs of modern complex OSes like Android. DAC is supplemented by Mandatory Access Control (MAC); SELinux in case of Android. So to access /data your process/user must ...


Top 50 recent answers are included