[HTC Amaze 4G] jalshah05:
I just need a temp root. So I did not install unlocked boot loader. I just have one question. I am running mac version of this tool and it gets stuck on saying ./adb shell sync. All the guides are saying to reboot the device after it's done. But if I reboot my root will not stick. So to get the temp root, do i need to reboot? Also should I wait for more time when the shell is displaying above message? Am I doing sth wrong here?

Below is my screen shot:-

MacBook-Pro:~ Pro15$ cd ~/Desktop/root4amaze

MacBook-Pro:root4amaze Pro15$ ./adb wait-for-device

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

MacBook-Pro:root4amaze Pro15$ ./adb push zergRush /data/local/

3005 KB/s (21215 bytes in 0.006s)

MacBook-Pro:root4amaze Pro15$ ./adb shell chmod 777 /data/local/zergRush

MacBook-Pro:root4amaze Pro15$ ./adb shell rm /data/local/tmp/*sh

MacBook-Pro:root4amaze Pro15$ ./adb shell /data/local/zergRush

[**] Zerg rush - Android 2.2/2.3 local root

[**] (C) 2011 Revolutionary. All rights reserved.

[**] Parts of code from Gingerbreak, (C) 2010-2011 The Android Exploid Crew.

[+] Found a GingerBread ! 0x00017118

[*] Scooting ...

[*] Sending 149 zerglings ...

[+] Zerglings found a way to enter ! 0x10

[*] Sending 149 zerglings ...

[*] Trying a new path ...

[*] Sending 149 zerglings ...

[*] Trying a new path ...

[*] Sending 149 zerglings ...

[*] Trying a new path ...

[*] Sending 149 zerglings ...

[+] Zerglings caused crash (good news): 0x401219c4 0x0054

[*] Researching Metabolic Boost ...

[+] Speedlings on the go ! 0xafd26051 0xafd39f47

[*] Poping 24 more zerglings

[*] Sending 173 zerglings ...

[+] Rush did it ! It's a GG, man !

[+] Killing ADB and restarting as root... enjoy!

MacBook-Pro:root4amaze Pro15$ ./adb wait-for-device

MacBook-Pro:root4amaze Pro15$ ./adb shell sleep 1

MacBook-Pro:root4amaze Pro15$ ./adb remount

remount succeeded

MacBook-Pro:root4amaze Pro15$ ./adb shell mount -o rw,remount rootfs /

MacBook-Pro:root4amaze Pro15$ ./adb shell mount -o remount,suid /dev/block/mmcblk0p29 /system

MacBook-Pro:root4amaze Pro15$ ./adb shell chmod 4755 /system/bin/sh

MacBook-Pro:root4amaze Pro15$ ./adb push ./su /system/bin

2489 KB/s (26324 bytes in 0.010s)

MacBook-Pro:root4amaze Pro15$ ./adb push ./su /system/bin

3963 KB/s (26324 bytes in 0.006s)

MacBook-Pro:root4amaze Pro15$ ./adb push ./busybox /system/bin

4196 KB/s (976824 bytes in 0.227s)

MacBook-Pro:root4amaze Pro15$ ./adb shell chmod 4755 /system/bin

MacBook-Pro:root4amaze Pro15$ ./adb shell chmod 4755 /system/bin/su

MacBook-Pro:root4amaze Pro15$ ./adb shell chmod 4755 /system/bin/su

MacBook-Pro:root4amaze Pro15$ ./adb push ./Superuser.apk /system/app

3973 KB/s (196640 bytes in 0.048s)

MacBook-Pro:root4amaze Pro15$ ./adb install ./androidterm.apk

3084 KB/s (92780 bytes in 0.029s)

pkg: /data/local/tmp/androidterm.apk

Failure [INSTALL_FAILED_ALREADY_EXISTS]

MacBook-Pro:root4amaze Pro15$ ./adb wait-for-device

MacBook-Pro:root4amaze Pro15$ ./adb shell sync

So at this point, should I restart my phone to gain temp root? Or just disconnect? Or wait some more time? I tried disconnecting, super user force closes. I tried rebooting, then there is no super user after reboot as I haven't installed the unlocked boot loader.

Thanks for the reply.