Created
May 2, 2013 11:25
-
-
Save matsubo/5501606 to your computer and use it in GitHub Desktop.
SO-05d root kit (rootkitGXSX_1_137) install script for mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
adb wait-for-device | |
adb push files/writeueventhelper_gxsx /data/local/tmp/ | |
adb push files/onload.sh /data/local/tmp/ | |
adb push files/getroot.sh /data/local/tmp/ | |
adb push files/su /data/local/tmp/ | |
adb push files/Superuser.apk /data/local/tmp/ | |
adb push files/busybox /data/local/tmp/ | |
adb push files/00stop_ric /data/local/tmp/ | |
adb push files/install_tool.sh /data/local/tmp/ | |
adb shell "chmod 0755 /data/local/tmp/writeueventhelper_gxsx" | |
adb shell "chmod 0755 /data/local/tmp/getroot.sh" | |
adb shell "chmod 0777 /data/local/tmp/install_tool.sh" | |
adb restore files/usbux.ab | |
adb shell "am start -a android.intent.action.MAIN -n com.sonyericsson.android.servicemenu/.ServiceMainMenu" | |
adb shell "while : ; do [ -f /dev/sh ] && break; done" | |
adb shell "/system/bin/sleep 1" | |
adb shell "/dev/sh /data/local/tmp/install_tool.sh" | |
adb shell "rm /data/local/tmp/writeueventhelper_gxsx" | |
adb shell "rm /data/local/tmp/onload.sh" | |
adb shell "rm /data/local/tmp/getroot.sh" | |
adb shell "rm /data/local/tmp/su" | |
adb shell "rm /data/local/tmp/Superuser.apk" | |
adb shell "rm /data/local/tmp/busybox" | |
adb shell "rm /data/local/tmp/00stop_ric" | |
adb shell "rm /data/local/tmp/install_tool.sh" | |
adb reboot | |
adb wait-for-device |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment