$ adb shell chmod 0755 /data/local/tmp/*
adb push su /sdcard/su
2) When imputing the code as shown in this guide, do I need to press return after each line? Or can I copy and past the entire 7 lines or so at a time...
adb push su /sdcard/su
adb push Superuser.apk /sdcard/Superuser.apk
adb push rage /data/local/tmp/rage
adb push busybox /data/local/tmp/busybox
adb push root /data/local/tmp/root
adb shell chmod 0755 /data/local/tmp/*
Like, could I copy and the past the entire above script? Or do I need to type each line and then press return? Also, after all lines are added do I need to press return?
3) When speaking of the OTA update, are you talking about the update my phone did a month after I bout it? Were it said there was an update and I clicked on it and it installed and rebooted? And if so, if I reset my phone to factory would it be considered “Pre-OTA”?
Just wanted to say thanks! I downloaded ADB today for the first time and managed to figure out how to work this and it looks like it worked!
I also figure I'd try to pay it forward a bit and share with my fellow Mac users a bit of info. The commands will be slightly different from what's in the OP. Also, I just unzipped the file from the OP and then put both the folders on my desktop and worked it from there. The SDK I put in my home folder. FYI, below are the commands I used (obviously my name is 'alex', so you would change that for yourself). NB - these are just the commands that I entered on the Terminal app on my Mac - I'm not including any of the parts you do on the phone since that's the same for everyone.
Anyway, hope this helps someone!
OPEN TERMINAL IN UTILITIES FOLDER:
alexs-macbook:~ Alex$ cd /users/Alex/android-sdk-mac_x86/tools
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/g2temproot/su /sdcard/su
1853 KB/s (26248 bytes in 0.013s)
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/g2temproot/superuser.apk /sdcard/superuser.apk
1664 KB/s (27688 bytes in 0.016s)
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/g2temproot/rage /data/local/tmp/rage
1089 KB/s (5392 bytes in 0.004s)
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/g2temproot/busybox /data/local/tmp/busybox
2610 KB/s (1926944 bytes in 0.720s)
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/g2temproot/root /data/local/tmp/root
3 KB/s (575 bytes in 0.186s)
alexs-macbook:tools Alex$ ./adb shell chmod 0755 /data/local/tmp/*
AT THIS POINT YOU FOLLOW THE INSTRUCTIONS THAT PERTAIN TO USING TERMINAL EMULATOR ON YOUR PHONE
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/vision-perm-root/hboot-eng.img /data/local
2560 KB/s (1048576 bytes in 0.399s)
alexs-macbook:tools Alex$ ./adb push /users/alex/desktop/vision-perm-root/wpthis-ota.ko /data/local
2712 KB/s (108820 bytes in 0.039s)
.\adb push su /sdcard/su
$ adb push su /sdcard/su $ adb push Superuser.apk /sdcard/Superuser.apk $ adb push rage /data/local/tmp/rage $ adb push busybox /data/local/tmp/busybox $ adb push root /data/local/tmp/root $ adb shell chmod 0755 /data/local/tmp/*
$ adb push hboot-eng.img /data/local $ adb push wpthis-OTA.ko /data/local
# insmod /data/local/wpthis-OTA.ko
init_module 'wpthis-OTA.ko' failed (Function not implemented)
dd if=/data/local/hboot-eng.img of=/dev/block/mmcblk0p18
I tried to root my Desire Z, and for some reason maybe i missed the steps or something stupid,
and now my phone is stuck on the HTC screen
I removed the battery, put it back and tried to switch it on, nothing happened.
I did the factory settings back from the recovery boot, and it still stuck.
Is there anyway I can get my phone back?