android_run_root_shell
======================
This code is still ugly, please re-write it and send pull-requests, if you want to use this.
Building
========
* Download the Android Native Development Kit (NDK): http://developer.android.com/tools/sdk/ndk/index.html#Downloads
* Extract into some directory and put that in your path:
`export PATH=ANDK_DIR:$PATH`
* In another directory clone this repo:
`git clone --recursive https://github.com/android-rooting-tools/android_run_root_shell`
* Change to the directory where the repo was cloned
`cd android_run_root_shell`
* To start build process use the following
`ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk`
* If all goes well you will get the compiled binary at:
`./libs/armeabi/run_root_shell`
Running
=======
* Download the Android Software Development Kit (SDK) ADT Bundle: http://developer.android.com/sdk/index.html
* Extract into some directory and put the platform-tools folder in your path:
`export PATH=SDK_DIR/sdk/platform-tools/:$PATH`
* Change to the directory with the compiled run_root_shell binary (see above)
* Connect your Android device through USB (click Cancel if it asks to enable USB storage; charging only is the correct mode) and enable USB debugging on the device.
* Start the adb server on your computer:
`sudo adb start-server`
* Transfer run_root_shell to a temporary directory on the phone:
`adb push run_root_shell /data/local`
* Ensure that run_root_shell has execute permissions:
`adb shell chmod 777 /data/local/run_root_shell`
* Run the command on the phone:
`adb shell /data/local/run_root_shell`
飞哥哥真牛
- 粉丝: 0
- 资源: 2
最新资源
- just try to do some operation
- mfc做的五子棋游戏,个人学习整理,仅供参考
- 2449-SpringBoot+Vue旅游网站开题报告.docx
- 机械设计黑水虻养殖用垃圾处理机sw16非常好的设计图纸100%好用.zip
- DCDC电池模型,matlab2018b及以上(可改版)
- 基于android的记事本开发
- 机械设计机器人三工位焊接sw16可编辑非常好的设计图纸100%好用.zip
- android原生代码记事本
- comsol 锂离子电池热管理模型 锂电池包含: 电化学热耦合模型: (1)风冷热方形电池 (2)绝热软包电池 (3)石蜡相变热圆柱电池模型 (4)21700圆柱电池热失控模型
- 基于Android Studio的Room框架记事本App-设计报告
- 基于Windows环境搭建Sonic远程云真机环境
- Linux系统操作指南:初学者必备的常用命令及其实战应用
- 汇川系统开发的陶瓷砖码垛机械手,,动作和功能完全按照现在流行的机器人运行模式编写,完整一套项目程序, 附件包含PLC程序和库文件,带详细注释(见截图); 附件包含触摸屏程序,详细见截图; 附件包含电气
- 第四章最终.pptx
- 第三章序列化与反序列化.pptx
- 对应LabVIEW专栏十、工厂模式
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈