aLoNe IT Develop Studio

  • 首页
  • IT前沿
  • Web技术
  • 小姿势
  • 运维管理
  • 随笔
欢迎来到aLoNe.Adams.K的个人博客
  1. 首页
  2. 小姿势
  3. 正文

关于Framaroot的PC端控制方法

2016年9月22日 3997点热度 0人点赞 0条评论

原帖地址:

1:下载地址:http://forum.xda-developers.com/showthread.php?t=2130276

2:高级用法:http://forum.xda-developers.com/showpost.php?p=50148092&postcount=1742

Hi,

Framaroot 1.9.1 is out with a new action : Execute script.

For advanced users only

Use this action at your own risk. Im not responsible for what you will do with it.

Framaroot can execute a custom shell script when it root your device. To use this feature, you have to name your script "custom" and put it in /sdcard/ in order to have the following path : /sdcard/custom
An example of what /sdcard/custom could be :

Code:
cat /sdcard/myappneedsystem.apk > /system/app/myappneedsystem.apk
pm install /system/app/myappneedsystem.apk

You can do all what you want in your script (including brick your device) so be careful.

If you want to automate all the process from your PC, you can launch Framaroot from an adb shell directly :

Code:
$ adb shell am start -n com.alephzain.framaroot/.FramaAdbActivity --es exploit Barahir --ei action 2

Available values for action argument:

  • 0 -> Install SuperSU
  • 1 -> Unroot
  • 2 -> Execute script (/sdcard/custom)

Available values for exploit argument:

  • Sam (affect Exynos devices only)
  • Frodo (affect Exynos devices only)
  • Gimli (affect Omap36XX devices only)
  • Merry (affect Exynos devices only)
  • Aragorn (affect Samsung devices only)
  • Legolas (affect Samsung devices only)
  • Gandalf (affect Qualcomm devices only)
  • Boromir (affect Mediatek devices only)
  • Pippin (affect K3V2 devices only)
  • Gollum (affect AMLogic devices only)
  • Faramir (affect Mediatek devices only)
  • Barahir (affect Mediatek devices only)

看文章,总的来说步骤如下

1:安装framaroot软件到手机上

2:执行命令启动framaroot的自动root代码,$ adb shell am start -n com.alephzain.framaroot/.FramaAdbActivity --es exploit Barahir --ei action 2

其中exploit后的Barahir表示root方式,action后的2代表行为方式

3:root完毕,删除掉安装的framaroot

标签: android framaroot root
最后更新:2016年9月22日

aLoNe.Adams.K

一只胖菜鸟!

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
文章分类
  • IT前沿 / 3篇
  • Web技术 / 2篇
  • 小姿势 / 24篇
  • 运维管理 / 5篇
  • 随笔 / 3篇
标签聚合
Orange Pi 反向代理 debian 虚表 google CentOS sqlite Yum
最新 热点 随机
最新 热点 随机
团队开发规范培训(代码管理篇) 团队开发规范培训(序) 忆 我的座右铭 DevilBox全程操作记录 香橙派Orange Pi Zero基于Debian进行反向代理配置
团队开发规范培训(代码管理篇) Thinkphp5开发中的坑及解决方案! 团队开发规范培训(序) 使用WSL的Ubuntu18.04安装oneinstack需要注意的相关事项及步骤! DevilBox全程操作记录 Git下获取更新文件方法
友情连接
  • 李建伟博客
  • 不忘初心的简书
归档
  • 2022年12月 / 5篇
  • 2022年6月 / 1篇
  • 2022年2月 / 3篇
  • 2020年11月 / 1篇
  • 2018年12月 / 1篇
  • 2018年5月 / 1篇
  • 2018年3月 / 1篇
  • 2017年11月 / 1篇
  • 2017年8月 / 1篇
  • 2017年3月 / 2篇
  • 2017年1月 / 1篇
  • 2016年9月 / 16篇

COPYRIGHT © 2022 aLoNe IT Develop Studio. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

陕ICP备19021656号-2