Skip to content

fpiorl/gdbupdateprop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

gdbupdateprop

Little hack that can be used to update android properties (yes even read-only ro properties) using gdb.

Requires root.

installation

first of all you need gdb you can install it with termux.

Install termux

    wget https://f-droid.org/repo/com.termux_1021.apk
    adb install com.termux_1021.apk

After installing termux install gdb from termux

# inside termux: 
    pkg install gdb

gdb should be located in /data/data/com.termux/files/usr/bin/gdb

push and run the script

After installing gdb just run the script inside your android machine:

    adb push gdbsetprop /data/
    # example change ro.debuggable to 0
    adb shell su -c "/data/gdbsetprop ro.debuggable 0"

About

update android properties using gdb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages