Quote:
Originally Posted by Blezz
please update 1st post with new 1click
made a little mistake, included gingerbreak for root even if perm root is required for this 1click
new code:
Code:
@echo off
cls
adb devices
echo If your device is not listed exit this program now, enable usb debugging and try again.
pause
cls
adb push hboot.img /data/local/tmp
adb shell chmod 777 /data/local/tmp/hboot.img
echo Please accept superuser request on your phone
adb shell su
pause
adb shell dd if=/dev/block/mmcblk0p18 of=/sdcard/backup.img
adb shell dd if=/data/local/tmp/hboot.img of=/dev/block/mmcblk0p18
echo Bootloader should be flashed to your device now, backup from old bootloader is saved at /sdcard/backup.img
pause
adb reboot bootloader
edit: attachmed removed cause brokenworm added it to 1st post
|
You should consider putting an echo (press any key to continue) above the "pause" instructions. When you run the script it just stops and you do not understand why and how to continue . . .
Alex
P.S.: the ENG hboot intallation worked perfect over the Alpharev hboot
|