Skip to content

Zke1ev3n/setprops

 
 

Repository files navigation

What is this ?

Android properties management tool by [email protected]

You wrote this ?

I stole the codes from AOSP except setprops.cpp and *.mk ;-)

How to build ?

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

How to use ?

Import (override) properties from file

  • setprops --import filename
  • ex: setprops --import my.prop

Change properties

  • setprops prop value
  • ex: setprops ro.boot.verifiedbootstate green

Remove properties (You have to do ln -s setprops delprops first)

  • delprops prop_1 prop_2
  • ex: delprops ro.frp.pst ro.carrier

About

Android properties management tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.1%
  • C 20.4%
  • Makefile 0.5%