Skip to content

Commit

Permalink
Added Motorola support on bootloader unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
msartore authored Feb 15, 2020
1 parent eb70116 commit 1045ee2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
23 changes: 16 additions & 7 deletions Advance Tool for Android By Sway.bat
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@ echo DEVICE NOT FOUND!
echo try to reconnect the device or enable the usb debugging in your settings
echo after that press enter
echo =============================================================
echo fastboot option (Y/N)
echo fastboot mode (Y/N)
SET /P inputdnt=Please Select:
if %inputdnt%==Y (
goto :menubootloader
) else (
if %inputdnt%==Y goto :menubootloader
if %inputdnt%==y goto :menubootloader
if %inputdnt%==N pause && cls && goto :devicecheck
if %inputdnt%==n pause && cls && goto :devicecheck
echo Error, Wrong input!
pause
)
cls
cls
goto :devicecheck

:disclaimer
Expand Down Expand Up @@ -250,6 +251,10 @@ echo.
echo 6) UNLOCK BOOTLOADER for device that have an unlock.bin to flash (Put it inside the folder before start the command)
echo.
echo 7) Device ID
echo.
echo 8) Oem unlock data (for Motorola devices)
echo.
echo 9) UNLOCK BOOTLOADER FOR MOTOROLA DEVICES (I MUST HAVE YOUR OEM UNLOCK CODE)
echo =============================================================
echo 0) EXIT
echo =============================================================
Expand All @@ -268,9 +273,13 @@ if %inputmbul%==4 fastboot oem device-info && fastboot flashing lock && echo che

if %inputmbul%==5 fastboot getvar all

if %inputmbul%==6 fastboot flash unlock unlock.bin && fastboot reboot && Done! && Rebooting!
if %inputmbul%==6 fastboot flash unlock unlock.bin && fastboot reboot && echo Done! && echo. && echo Rebooting!

if %inputmbul%==7 fastboot oem device-id

if %inputmbul%==8 fastboot oem get_unlock_data

if %inputmbul%==9 SET /P oemcode=Paste the code here && fastboot oem unlock %oemcode% && echo Done! && echo Rebooting!
pause
goto menubootloaderunlock

Expand Down
2 changes: 1 addition & 1 deletion Scripts/banner1.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ECHO ###### ## ## ## ## ####### ###
ECHO ## ## #### ## ## ## ##
ECHO ###### ##### ##### ## ## ##
ECHO ::::::::::::::::::::::::::::::::
ECHO :: ATA Tool V0.6.8 ::
ECHO :: ATA Tool V0.6.9 ::
ECHO :: adb and fastboot tool ::
ECHO :: Created By Sway ::
ECHO :: Copyright 2019 Sway ::
Expand Down
2 changes: 1 addition & 1 deletion Scripts/banner2.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ECHO ###### ## ## ## ## ####### ###
ECHO ## ## #### ## ## ## ##
ECHO ###### ##### ##### ## ## ##
ECHO ::::::::::::::::::::::::::::::::
ECHO :: ATA Tool V0.6.8 ::
ECHO :: ATA Tool V0.6.9 ::
ECHO :: adb and fastboot tool ::
ECHO :: Created By Sway ::
ECHO :: Copyright 2019 Sway ::
Expand Down

0 comments on commit 1045ee2

Please sign in to comment.