Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hammerhead ~ # cat /system/bin/su-onoff.sh
- #!/system/xbin/bash
- # copyleft 2016 by wariat
- # Manual:
- # use via ADB Luke
- # # su-onoff.sh
- mount -o remount,rw /system
- if [ -e /system/xbin/su ]
- then
- echo "nie ma su, jest sux... smierdzi tym samym :P"
- rm /system/bin/su
- mv /system/xbin/su /system/xbin/sux
- else
- echo "znow jest su"
- cp /system/xbin/sux /system/xbin/su
- ln -s /system/xbin/su /system/bin/su
- fi
- sync
- sleep 1
- mount -o remount,ro /system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement