飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 4636|回复: 9

[Android] android_run_root_shell 开源root项目

[复制链接]

该用户从未签到

发表于 2014-9-26 18:50:09 | 显示全部楼层 |阅读模式
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`


关于Root 的开源项目, 想研究root 的同学 这是个不错的参考资料, 已下载到网盘
链接: http://pan.baidu.com/s/1dDfAyad 密码: y2gt
莫灰灰 csdn博客地址:
http://blog.csdn.net/hu3167343/article/category/2355469


探究 Linux kernel ShellCode.rar

173.95 KB, 下载次数: 4, 下载积分: 飘云币 -2 枚

PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    6 天前
  • 签到天数: 2046 天

    [LV.Master]伴坛终老

    发表于 2014-9-26 20:13:36 | 显示全部楼层
    这东西真心看不懂呀。。。。只有纯支持呀。。。。。
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2020-11-19 11:04
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2014-9-26 20:23:32 | 显示全部楼层
    支持看得懂的东西。
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    昨天 14:40
  • 签到天数: 622 天

    [LV.9]以坛为家II

    发表于 2014-9-26 20:57:00 | 显示全部楼层
    看不得懂的东西,全我也支持一下
    PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    3 天前
  • 签到天数: 149 天

    [LV.7]常住居民III

    发表于 2014-9-26 21:25:29 | 显示全部楼层
    空道师傅的东西总是超级高深
    PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    11 小时前
  • 签到天数: 1425 天

    [LV.10]以坛为家III

    发表于 2014-9-27 08:29:34 | 显示全部楼层
    好东东额,支持了,感谢分享了
    PYG19周年生日快乐!
  • TA的每日心情
    奋斗
    11 小时前
  • 签到天数: 1425 天

    [LV.10]以坛为家III

    发表于 2014-9-27 08:29:40 | 显示全部楼层
    好东东额,支持了,感谢分享了
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    2024-4-10 00:28
  • 签到天数: 17 天

    [LV.4]偶尔看看III

    发表于 2014-9-27 10:09:35 | 显示全部楼层
    支持了,感谢分享
    PYG19周年生日快乐!
  • TA的每日心情
    开心
    半小时前
  • 签到天数: 1373 天

    [LV.10]以坛为家III

    发表于 2014-9-27 12:37:34 | 显示全部楼层
    纯捧场支持................
    PYG19周年生日快乐!

    该用户从未签到

    发表于 2014-10-16 14:53:32 | 显示全部楼层
    只能语言支持了{:soso_e133:}
    PYG19周年生日快乐!
    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表