Skip to content

pcboy/adb-insecure-patcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADBD insecure patcher

In some cases android ROM prevent you from running adb as root. After an adb root you can get the message adbd cannot run as root in production builds which is super annoying. The script ./adb_insecure.sh can patch any android ROM kernel in order to enable running adbd as root.

Usage

./adb_insecure.sh YOUR_ROM.zip

Then you will get a boot.img file that you can flash with fastboot flash boot boot.img in bootloader mode.

For Xiaomi.eu ROMS (and other Treble ROMs)

On Xioami.eu ROMS the ramdisk/default.prop is a symlink to /system/etc/prop.default.
You can if you want take that /system/etc/prop.default and overwrite the ramdisk/default.prop.
The script right now is simply overwriting the ramdisk/default.prop with a default one.

About

Enable adbd as root on any ROM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages