Code Monkey home page Code Monkey 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

Watchers

 avatar

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.