Android properties management tool by [email protected]
I stole the codes from AOSP except setprops.cpp and *.mk ;-)
- Install and setup Android NDK
You can then
mkdir setprops; cd setprops; git clone https://github.com/shakalaca/setprops jni
ndk-build
or
git clone https://github.com/shakalaca/setprops; cd setprops
ndk-build NDK_APPLICATION_MK=`pwd`/Application.mk NDK_PROJECT_PATH=`pwd` APP_BUILD_SCRIPT=Android.mk
setprops --import filename
- ex:
setprops --import my.prop
setprops prop value
- ex:
setprops ro.boot.verifiedbootstate green
delprops prop_1 prop_2
- ex:
delprops ro.frp.pst ro.carrier