Git Product home page Git Product logo

android_properties's Introduction

android_properties

summary

This tool is get/set system properties.Support all android versions in theory. I just tested on android M, N, O, P, Q and R.

Set operation need root first, and can set all the properties(include prefixed with 'ro').

usage

usage: system_properties [-h] [-a] [-l log_level] [-s] [-f] prop_name prop_value
  -h:                  display this help message
  -a:                  dump all system properties
  -l log_level:        console = 1 logcat = 2  consle + logcat = 3(default)
  -s                   print security context(selabel)
  -f                   read property_contexts files to get security context

example: system_properties ro.debuggable 1

compile

In the root directory, use ndk-build.bat(Windows) or ndk-build.sh(Linux)

timeline

2017.10.15  first commit
2017.12.14  support for android O
2018.08.03  1. support for android P
            2. add security context(selabel) to print
2019.09.25  support for android Q
2020.07.13  1. support for android R
            2. support long property name and property value
2021.06.26  use file(/dev/__properties__/property_info) to get security contexts

android_properties's People

Contributors

liwugang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android_properties's Issues

Java应用读到的ro属性未改变

你好,我现在root修改系统属性(Android 10),shell里面看起来都是没问题的;shell关闭/重新打开,ro属性都没有任何问题;但是Java层App(普通应用)读到的属性却还是以前老的。这个有办法修复么?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.