how to use custom script in Framaroot "Updated"

Framaroot Logo
Introduction :

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.

Step By Step Using Script :

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)
Share This :



sentiment_satisfied Emoticon