Zke1ev3n / setprops

Android properties management tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is this ?

Android properties management tool by shakalaca@gmail.com

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

License:Apache License 2.0


Languages

Language:C++ 79.0%Language:C 20.4%Language:Makefile 0.5%