Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::Visit DroidRZR.com
- ::Set our Window Title
- @title Droid RAZR Utility 1.7
- ::Set our default parameters
- @echo off
- color 0b
- :menuLOOP
- call:header
- ::Print our header
- ::call:header
- ::Load up our menu selections
- echo.
- echo.
- for /f "tokens=1,2,* delims=_ " %%A in ('"findstr /b /c:":menu_" "%~f0""') do echo. %%B %%C
- call:printstatus
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to exit: ||GOTO:EOF
- echo.&call:menu_%choice%
- GOTO:menuLOOP
- :menu_1 Pre-pare for side-load ICS 6.16.211 on any Gingerbread Version
- cls
- color 0b
- echo [*] Simple Razr Restore
- echo [*] Windows Version
- echo [*] Created by mattlgroff
- echo [*]
- echo [*] Before continuing, ensure your Razr is in the
- echo [*] "AP Fastboot" mode and connected via USB.
- echo [*]--- Also press the keys after the screen flashes back on when asked---
- echo [*] IF YOUR PHONE SAYS STATUS 1 UNLOCKED EXIT NOW AND EMAIL ME
- echo [*] YOU HAVE AN UNLOCKED BOOTLOADER! ! ! ! !
- echo [*] mattlgroff@gmail.com
- echo [*]
- echo [*] Make sure 6.16.211 upgrade is on your SD card, install it
- echo [*] through Motorola Recovery once this finishes. If it errors
- echo [*] you chose the wrong option!
- pause
- files\moto-fastboot flash mbm files\allow-mbmloader-flashing-mbm.bin
- files\moto-fastboot reboot-bootloader
- echo. Press any key AFTER the screen comes back on
- pause
- files\moto-fastboot flash mbmloader files\mbmloader.bin
- files\moto-fastboot flash mbm files\mbm.bin
- files\moto-fastboot reboot-bootloader
- echo. Press any key AFTER the screen comes back on
- pause
- files\moto-fastboot flash cdt.bin files\cdt.bin
- files\moto-fastboot flash devtree files\device_tree.bin
- files\moto-fastboot flash system files\system.img
- files\moto-fastboot flash boot files\boot.img
- files\moto-fastboot flash recovery files\recoveryICS.img
- files\moto-fastboot flash ebr files\ebr
- files\moto-fastboot flash mbr files\mbr
- files\moto-fastboot flash preinstall files\preinstall.img
- ::files\moto-fastboot flash webtop files\grfs.img
- files\moto-fastboot flash radio files\radio.img
- files\moto-fastboot -w
- files\moto-fastboot reboot-bootloader
- echo. You may now reboot into recovery and install 6.16.211.
- echo. Wiping data beforehand is suggested.
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:bootsubmenu_%choice%
- color 0b
- cls
- GOTO:menu_1
- :menu_2 UnStuck from ICS leak 6.14.84+ to ICS 6.16.211 |OR| Unbrick ICS 6.16.211
- cls
- color 0b
- echo [*] Simple Razr Restore
- echo [*] Windows Version
- echo [*] Created by mattlgroff
- echo [*]
- echo [*] Before continuing, ensure your Razr is in the
- echo [*] "AP Fastboot" mode and connected via USB.
- echo [*]--- Also press the keys after the screen flashes back on when asked---
- echo [*] IF YOUR PHONE SAYS STATUS 1 UNLOCKED EXIT NOW AND EMAIL ME
- echo [*] YOU HAVE AN UNLOCKED BOOTLOADER! ! ! ! !
- echo [*] mattlgroff@gmail.com
- echo [*]
- echo [*] Make sure 6.16.211 upgrade is on your SD card, install it
- echo [*] through Motorola Recovery once this finishes. If it errors
- echo [*] you chose the wrong option!
- pause
- files\moto-fastboot flash mbm files\allow-mbmloader-flashing-mbm.bin
- files\moto-fastboot reboot-bootloader
- echo. Press any key AFTER the screen comes back on
- pause
- files\moto-fastboot flash mbmloader files\mbmloader.bin
- files\moto-fastboot flash mbm files\mbm.bin
- files\moto-fastboot reboot-bootloader
- echo. Press any key AFTER the screen comes back on
- pause
- ::files\moto-fastboot flash cdt.bin files\cdt.bin
- ::files\moto-fastboot flash devtree files\device_tree.bin
- files\moto-fastboot flash system files\system.img
- files\moto-fastboot flash boot files\boot211.img
- ::files\moto-fastboot flash recovery files\recoveryICS.img
- files\moto-fastboot flash ebr files\ebr
- files\moto-fastboot flash mbr files\mbr
- files\moto-fastboot flash preinstall files\preinstall.img
- ::files\moto-fastboot flash webtop files\grfs.img
- files\moto-fastboot flash radio files\radio.img
- files\moto-fastboot reboot-bootloader
- echo. You may now reboot into recovery and install 6.16.211.
- echo. Wiping data beforehand is suggested.
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:bootsubmenu_%choice%
- color 0b
- cls
- GOTO:menu_1
- :menu_3 Ice Cream Sandwich Root 4.0.4
- cls
- color 0b
- echo [*]
- echo [*] Motorola Razr ICS Root Exploit (Windows version)
- echo [*] by Dan Rosenberg (@djrbliss)
- echo [*]
- echo [*] Before continuing, ensure USB debugging is enabled, that you
- echo [*] have the latest Motorola drivers installed, and that your phone
- echo [*] is connected via USB.
- echo [*]
- echo [*] Press enter to root your phone...
- pause
- echo [*]
- echo [*] Waiting for device...
- files\adb wait-for-device
- echo [*] Device found.
- files\adb shell "rm -r /data/local/12m/batch 2>/dev/null"
- files\adb shell "ln -s /data /data/local/12m/batch"
- echo [*] Rebooting device...
- files\adb reboot
- echo [*] Waiting for device to reboot...
- files\adb wait-for-device
- files\adb shell "rm /data/local.prop"
- files\adb shell "echo 'ro.sys.atvc_allow_all_adb=1' > /data/local.prop"
- echo [*] Rebooting device again...
- files\adb reboot
- echo [*] Waiting for device to reboot...
- files\adb wait-for-device
- echo [*] Attemping persistence...
- files\adb remount
- files\adb push files\su /system/bin/su
- files\adb shell "chmod 6755 /system/bin/su"
- files\adb shell "ln -s /system/bin/su /system/xbin/su 2>/dev/null"
- files\adb push files\busybox /system/xbin/busybox
- files\adb shell "chmod 755 /system/xbin/busybox"
- files\adb shell "/system/xbin/busybox --install /system/xbin"
- files\adb push files\Superuser.apk /system/app/Superuser.apk
- echo [*] Cleaning up...
- files\adb shell "rm /data/local.prop"
- files\adb shell "rm /data/local/12m/batch"
- files\adb shell "chmod 771 /data"
- files\adb shell "chown system.system /data"
- echo [*] Rebooting...
- files\adb reboot
- files\adb wait-for-device
- echo [*] Exploit complete!
- echo [*] Press any key to exit.
- pause
- files\adb kill-server
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:extrasubmenu_%choice%
- color 0b
- cls
- GOTO:EOF
- :menu_4 Ice Cream Sandwich Root 4.0.3
- cls
- color 0b
- echo. Before continuing, ensure USB debugging is enabled, that your
- echo. device is in any mode BUT Mass Storage, and your phone is connected via USB.
- echo.
- pause Press enter to root your phone...
- files\adb shell mv /data/local/tmp /data/local/tmp.bak
- files\adb shell ln -s /data /data/local/tmp
- files\adb reboot
- echo Rebooting (1/3) - Continue once device finishes rebooting
- pause
- files\adb shell rm /data/local.prop > nul
- files\adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
- files\adb reboot
- echo Rebooting (2/3) - Continue once device finishes rebooting
- pause
- files\adb shell id
- echo If the id is 0 / root then continue, otherwise ctrl+c to cancel and start over
- pause
- files\adb remount
- files\adb push files\su /system/bin/su
- files\adb shell chown 0.0 /system/bin/su
- files\adb shell chmod 06755 /system/bin/su
- files\adb push files\busybox /system/bin/busybox
- files\adb shell chown 0.0 /system/bin/busybox
- files\adb shell chmod 0755 /system/bin/busybox
- files\adb push files\Superuser.apk /system/app/Superuser.apk
- files\adb shell chown 0.0 /system/app/Superuser.apk
- files\adb shell chmod 0644 /system/app/Superuser.apk
- echo Removing changes except ROOT
- files\adb shell rm /data/local.prop
- files\adb shell rm /data/local/tmp
- files\adb shell mv /data/local/tmp.bak /data/local/tmp
- files\adb reboot
- echo Rebooting (3/3) - You should now be Rooted
- pause
- files\adb kill-server
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:extrasubmenu_%choice%
- color 0b
- cls
- GOTO:EOF
- :menu_5 Install Voodoo's OTA Rootkeeper App
- cls
- color 0b
- echo.Make sure Debugging is enabled on your phone
- files\adb wait-for-device
- files\adb install files\org.projectvoodoo.otarootkeeper_v1.2.apk
- pause
- files\adb kill-server
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:extrasubmenu_%choice%
- color 0b
- cls
- GOTO:EOF
- :menu_6 Install Bootstrap Recovery App (ICS version)
- cls
- color 0b
- echo.Make sure Debugging is enabled on your phone
- echo.Don't install this AND Safestrap.
- pause
- files\adb wait-for-device
- files\adb install files\RazrICSBootstrap.apk
- pause
- files\adb kill-server
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:extrasubmenu_%choice%
- color 0b
- cls
- GOTO:EOF
- :menu_7 Install Safestrap Recovery App (ICS Version)
- cls
- color 0b
- echo.Make sure Debugging is enabled on your phone
- echo.Don't install this AND Bootstrap.
- pause
- files\adb wait-for-device
- files\adb install files\RAZRSafestrap-ICS-2.00.apk
- pause
- files\adb kill-server
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:extrasubmenu_%choice%
- cls
- GOTO:EOF
- :menu_8 Flash 6.14.85 boot.img
- cls
- color 0b
- cls
- color 0b
- echo [*] Simple Razr Restore
- echo [*] Windows Version
- echo [*] Created by mattlgroff
- echo [*]
- echo [*] Before continuing, ensure your Razr is in the
- echo [*] "AP Fastboot" mode and connected via USB.
- echo [*] mattlgroff@gmail.com
- echo [*]
- echo [*] If it errors you chose the wrong option!
- pause
- files\moto-fastboot flash boot files\boot85.img
- files\moto-fastboot reboot-bootloader
- echo. You may now reboot.
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:bootsubmenu_%choice%
- color 0b
- cls
- GOTO:menu_1
- :menu_9 Flash 6.16.211 boot.img
- cls
- color 0b
- cls
- color 0b
- echo [*] Simple Razr Restore
- echo [*] Windows Version
- echo [*] Created by mattlgroff
- echo [*]
- echo [*] Before continuing, ensure your Razr is in the
- echo [*] "AP Fastboot" mode and connected via USB.
- echo [*] mattlgroff@gmail.com
- echo [*]
- echo [*] If it errors you chose the wrong option!
- pause
- files\moto-fastboot flash boot files\boot211.img
- files\moto-fastboot reboot-bootloader
- echo. You may now reboot.
- set choice=
- echo.&set /p choice= Please make a selection or hit ENTER to return: ||GOTO:EOF
- echo.&call:bootsubmenu_%choice%
- color 0b
- cls
- GOTO:menu_1
- :header
- cls
- color 0e
- files\adb kill-server
- files\adb start-server
- cls
- echo.
- echo. Because it's the utility Gotham deserves, but not the one it needs right now.
- echo. So, we'll hunt it, because it can take it. Because it's not our hero.
- echo. It's a silent guardian. A watchful protector. A Dark Knight.
- echo BATMAN BATMAN BATMAN
- echo N BATM N BATM N ATMAN ATMAN BAT AN BAT
- echo ATMAN AN BATMAN ATMAN BAT TMAN
- echo AN B MAN BATMAN ATMAN BATM BATM
- echo TMA MAN BATMA TMAN BATM MAN
- echo BAT AN BATM MAN BAT AN B
- echo N BA *********************************************** BA
- echo N B * Droid RAZR Utility 1.70 * BAT
- echo AN B * Created by mattlgroff * BAT
- echo N B * Thank Dan Rosenberg for his work! * BA
- echo N BA *********************************************** N BA
- echo BAT AN BAT ATMAN TMAN MAN BATM MAN
- echo ATMA AN BATMA BATMAN B BATMAN B TMAN BAT TMA
- echo MAN B N BATMAN BATMAN BA N BATMAN BATMAN BA N BAT
- echo BATMA BATMAN BATMAN BAT AN BATMAN BATMAN ATMAN
- echo AN BATMAN BATMAN BAT AN BATMAN BATMAN BA
- echo N BATMAN BATMAN BATMAN B
- echo.
- pause
- cls
- color 0b
- GOTO:EOF
- :printstatus
- echo.
- echo. Too powerful to fall into the wrong hands.
- GOTO:EOF
Add Comment
Please, Sign In to add comment