View Single Post
Old December 20th, 2011, 12:41 AM   #22 (permalink)
ranshe
Junior Member
Thread Author (OP)
 
Join Date: Aug 2011
Posts: 27
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 6 Times in 5 Posts
Default

*As always, no guarantees, if you brick it, well, that's a bummer*

Try hitting *#*#2846579#*#* -> project menu -> background setting -> usb port setting -> normal mode to have ADB recognize it.

I edited the "runmelinux.sh" script of the KF hack for Windows batch:
echo "---------------------------------------------------------------"
echo " Easy rooting toolkit (v2.0) "
echo " created by DooMLoRD "
echo " Modified for Kindle Fire for Linux/Mac by Max Lee at RootKindleFire.com "
echo " using exploit zergRush (Revolutionary Team) "
echo " Credits go to all those involved in making this possible! "
echo "---------------------------------------------------------------"
echo " [*] This script will: "
echo " (1) root ur device using latest zergRush exploit (10 Nov) "
echo " (2) install Busybox (1.18.4) "
echo " (3) install SU files (binary: 3.0.3 and apk: 3.0.6) "
echo " [*] Before u begin: "
echo " (1) enable "USB DEBUGGING" "
echo " from (Menu\Settings\Applications\Development) "
echo " (2) enable "UNKNOWN SOURCES" "
echo " from (Menu\Settings\Applications) "
echo " (3) [OPTIONAL] increase screen timeout to 10 minutes "
echo " (4) connect USB cable to PHONE and then connect 2 computer"
echo "---------------------------------------------------------------"
echo "--- STARTING ----"
echo "--- WAITING FOR DEVICE"
adb wait-for-device
echo "--- cleaning"
adb shell "cd /data/local/tmp/; rm *"
echo "--- pushing zergRush"
adb push zergRush /data/local/tmp/.
echo "--- correcting permissions"
adb shell "chmod 777 /data/local/tmp/zergRush"
echo "--- executing zergRush"
adb shell "./data/local/tmp/zergRush"
echo "--- WAITING FOR DEVICE TO RECONNECT"
echo "if it gets stuck over here for a long time then try:"
echo " disconnect usb cable and reconnect it"
echo " toggle "USB DEBUGGING" (first disable it then enable it)"
echo "--- DEVICE FOUND"
adb wait-for-device
echo "--- pushing busybox"
adb push busybox /data/local/tmp/.
echo "--- correcting permissions"
adb shell "chmod 755 /data/local/tmp/busybox"
echo "--- remounting /system"
adb shell "/data/local/tmp/busybox mount -o remount,rw /system"
echo "--- copying busybox to /system/xbin/"
adb shell "dd if=/data/local/tmp/busybox of=/system/xbin/busybox"
echo "--- correcting ownership"
adb shell "chown root.shell /system/xbin/busybox"
echo "--- correcting permissions"
adb shell "chmod 04755 /system/xbin/busybox"
echo "--- installing busybox"
adb shell "/system/xbin/busybox --install -s /system/xbin"
adb shell "rm -r /data/local/tmp/busybox"
echo "--- pushing SU binary"
adb push su /system/bin/su
echo "--- correcting ownership"
adb shell "chown root.shell /system/bin/su"
echo "--- correcting permissions"
adb shell "chmod 06755 /system/bin/su"
echo "--- correcting symlinks"
adb shell "rm /system/xbin/su"
adb shell "ln -s /system/bin/su /system/xbin/su"
echo "--- pushing Superuser app"
adb push Superuser.apk /system/app/.
echo "--- cleaning"
adb shell "cd /data/local/tmp/; rm *"
echo "--- rebooting"
adb reboot
echo "--- WAITING FOR DEVICE"
adb wait-for-device
adb install recovery.apk
echo "All Done, Kindle Fire ROOTED!!!"
echo "Check out RootKindleFire.com for more cool hacks!"
ranshe is offline  
Reply With Quote