[myTouch 4G General] halfcab123:
All you guys are hatin on me, its been fun watching all the responses :) Program works great, it was my first batch file i've ever made that was of any value, and yeah it works. I've got thunderbolt source code here for my next batch, but it needs work.

// ExpErimeNtaL ONLY !!! TRY AT OWN RISK !!
// I am not responible for bricks

title Brought to you by AKASKRILLER.COM
Echo off

cls
echo ***********************************************
echo.
Echo welcome to the Thunderbolt ROOT! v.1.0 (updated 03/24/2011)
Echo Brought to you by halfcab123 @ AKASKRILLER.COMecho.a
echo ***********************************************
echo.
pause

cls
echo.
echo ******************************
echo PLEASE READ ALL OF THE BELOW !
echo ******************************
echo.
echo.
echo ** Make sure your Thunderbolt is in USB DEBUGGING MODE
echo ** menu > settings > applications > development > usb debugging
echo.
echo.
echo THIS PROGRAM WILL NOW INSTALL PDANET WHICH WILL ALLOW THE COMPUTER
echo TO SEE YOUR PHONE (THIS PROGRAM INSTALLS 32 BIT DRIVERS BY DEFAULT)
echo IF YOUR COMPUTER IS 64 BIT PLEASE CANCEL THE INSTALL WHEN IT STARTS
echo AND THEN OPEN THE PDANET64 FOLDER IN MT4G FOLDER AND RUN IT
echo EITHER WAY WHEN YOUR DRIVERS ARE FINISHED INSTALLING COME BACK TO THIS SCREEN!
echo.
echo PLEASE MAKE SURE YOU ARE USING AN SDCARD WITH ATLEAST 950MB FREE SPACE ON
echo YOUR SD CARD !!!
echo.
echo.
echo If you are going to continue, your HTC Thunderbolt should already be listed as a device
echo In your device manager, continue and we will check to make sure that it is showing up.
echo.
pause

cls
start devmgmt.msc
echo.
echo DO you see Android Phone at the top?
echo.
echo If so continue and this program will install PDANET 32 bit
echo Make sure you select HTC when prompted for which kind of phone you have.
echo.
echo If your computer is 64 bit please cancel the install and open
echo the install package and manually install the 64 bit drivers from
echo the PDANET64BIT folder, once again make sure you select HTC when prompted during install
echo.
pause

start PdaNetA245.exe

cls
echo.

echo 1. Please make sure your USB is connected securely to your HTC Thunderbolt
echo and your computer.
echo.
echo 2. Please make sure your Thunderbolt is set to charge only mode
echo.
echo 3. Make sure that you wait until your drivers say successfully installed before
echo you run this!
echo.
echo 4. Please turn off fastboot or this may not work correctly!!!!!
echo.
echo 5. Visit www.AKASKRILLER.com and join, to become part of the fastest growing
echo Android community!! We provide remote support and phone support, to help you
echo learn fast!

echo.
echo.

pause
cls

start iexplore.exe www.chrisridgeway.com

echo Your computer will now root your Thunderbolt !
echo.
echo.

pause
cls

echo The Computer will now check to make sure that your
echo device is connected to the computer
echo.

pause

cls

adb devices

echo.
echo if you see a serial number followed by device please continue
echo.
echo If you see a serial number followed by offline please reboot your phone and try again.
echo.
echo If you see nothing under "List of devices" you will need to make sure you
echo turned on usb debugging.
echo.
pause
cls
echo.
echo This part might take a little while
echo Give it some time, because it has to push a 500MB FILE!
echo.
adb push PG05IMG.zip /sdcard/PG05IMG.zip
adb push busybox /data/local/
adb push psneuter /data/local/
adb push misc.img /data/local/
adb shell chmod 777 /data/local/busybox
adb shell chmod 777 /data/local/psneuter
adb shell /data/local/psneuter
adb wait-for-device
adb shell dd if=/data/local/misc.img of=/dev/block/mmcblk0p17

echo.
echo.
echo Process almost finished
echo We will now boot your phone into bootloader mode
echo The phone will scan your new image from your sdcard
echo.
echo When the phone has finished scanning the image it will ask you if you
echo would like to update!!!
echo.
echo It should be volume up=yes and volume down=no
echo Follow on screen instructions to choose yes to update!
echo.
echo When finished continue back at this screen

pause

cls
adb reboot bootloader
cls

echo When finished updating, you can either pull the battery and then
echo turn the phone back on, or you can reboot the phone from the menu!
echo.
echo.
echo DO NOT CONTINUE UNTIL THE PHONE IS REBOOTED COMPLETELY
echo AND YOU HAVE ENSURED THAT PHONE IS IN CHARGE ONLY MODE
echo AND PHONE IS IN USB DEBUGGING MODE!
echo.
echo.
pause
cls

adb push busybox /data/local/
adb push psneuter /data/local/
adb push wpthis /data/local/
adb shell chmod 777 /data/local/busybox
adb shell chmod 777 /data/local/psneuter
adb shell chmod 777 /data/local/wpthis
adb shell /data/local/psneuter
adb shell /data/local/wpthis
adb push hbooteng.nb0 /data/local/
adb shell dd if=/data/local/hbooteng.nb0 of=/dev/block/mmcblk0p18
adb push PG05IMG2.zip /sdcard/PG05IMG.zip

echo Please continue!
echo.
echo.

pause

cls
echo.
echo Phone now rebooting into bootloader again!
echo Same as before, the image will be scanned
echo.
echo You will need to confirm the update after the scanning is complete
echo.
echo When the update is finished please reboot the phone.
echo.
echo
echo DO NOT CONTINUE UNTIL THE PHONE IS REBOOTED COMPLETELY
echo AND YOU HAVE ENSURED THAT PHONE IS IN CHARGE ONLY MODE
echo AND PHONE IS IN USB DEBUGGING MODE!
echo.
echo.
echo CONTINUE WHEN READY!
echo.
pause

adb push busybox /data/local/
adb push psneuter /data/local/
adb push su /data/local/
adb shell chmod 777 /data/local/busybox
adb shell chmod 777 /data/local/psneuter
adb shell /data/local/psneuter
adb shell mount -o remount,rw -t ext3 /dev/block/mmcblk0p25 /system
/data/local/busybox cp /data/local/su /system/xbin/su
chown 0:0 /system/xbin/su
chmod 6755 /system/xbin/su
ln -s /system/xbin/su /system/bin/su
adb push Superuser.apk /system/app/Superuser.apk
adb reboot
echo.
echo YOUR PHONE IS ROOTED
echo PHONE IS REBOOTING!
echo.
echo NOW GO DOWNLOAD ROM MANAGER FROM THE MARKET
echo FLASH CLOCKWORK MOD RECOVERY AND THEN WAIT
echo FOR SOME CUSTOM ROMS TO COME OUT!
echo.
echo UNTIL THEN YOU CAN MAKE A BACKUP!!
echo.
echo.
echo THIS SOFTWARE BROUGHT TO YOU BY Chris Ridgeway (HALFCAB123) @ akaskriller.com
echo.
echo THANK YOU FOR DONATING!!!!
echo.
pause