View Single Post
Old 11-29-2015, 14:38   #41 (permalink)
Suraj#1
Freak Poster
 
Join Date: Jun 2014
Posts: 193
Member: 2205304
Status: Offline
Thanks Meter: 52
BAT will be BAT..
exe maker wannabe

Code:
@echo off

set cmdline=
SHIFT /0
@echo off
@echo off 
:inicio
color 0b
cls
set maintile1=              ============================================================
set maintile2=              =                LG Goolge Account Removal                 =
set maintile3=              =                   Created By JusMeJose                   =
set maintile4=              ============================================================
:Start
cls
echo.
echo %maintile1%
echo %maintile2%
echo %maintile3%
echo %maintile4%
echo.
echo 1. LG G4 - All Variants
echo ---------------------------------------------------------------------------
echo 2. LG G Flex/2 - All variants
echo ---------------------------------------------------------------------------
echo 3. LG G Stylo - Leon - Risio - All Variants
echo ---------------------------------------------------------------------------
echo 4. LG G4s Beat
echo ---------------------------------------------------------------------------
echo 5. EXIT
echo ***************************************************************************
echo.

set /p var=Select your model: [1-5]: 
if "%var%"=="1" goto op1
if "%var%"=="2" goto op2
if "%var%"=="3" goto op3
if "%var%"=="4" goto op4
if "%var%"=="5" goto exit

echo. "%var%" Wrong Model, Please select correct model!.
echo.
pause
echo.
goto inicio

:op1
cls
@echo off
echo.
echo ****Device detected****
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" (
echo Serial port not found, please insert the phone manually into Download mode.
echo.
echo Disconnect the USB cable and turn off the phone.
echo Then press and hold the Volume Up button, and while you're doing that connect the USB cable again.
echo.
echo.
) else (

echo.
echo This might take a few minute....please wait...
)

set comPath=
:wait-for-download
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" goto wait-for-download
echo.
ping 127.0.0.1 -n 15 | echo off
echo.
bin\a.exe \\.\%comPath% < bin\vb
echo.
echo Google account Removed!
echo Thank you for using my tool!
echo Enter reboot now
pause
bin\a.exe \\.\%comPath% < bin\leave
pause > nul | echo Press any key to exit...
exit

:op2
cls
@echo off
echo.
echo ****Device detected****
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" (
echo Serial port not found, please insert the phone manually into Download mode.
echo.
echo Disconnect the USB cable and turn off the phone.
echo Then press and hold the Volume Up button, and while you're doing that connect the USB cable again.
echo.
echo.
) else (

echo.
echo This might take a few minute....please wait...
)

set comPath=
:wait-for-download
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" goto wait-for-download
echo.
ping 127.0.0.1 -n 15 | echo off
echo.
bin\a.exe \\.\%comPath% < bin\te
echo.
echo Google account Removed!
echo Thank you for using my tool!
echo Enter reboot now
pause
bin\a.exe \\.\%comPath% < bin\leave
pause > nul | echo Press any key to exit...
exit

:op3
cls
@echo off
echo.
echo ****Device detected****
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" (
echo Serial port not found, please insert the phone manually into Download mode.
echo.
echo Disconnect the USB cable and turn off the phone.
echo Then press and hold the Volume Up button, and while you're doing that connect the USB cable again.
echo.
echo.
) else (

echo.
echo This might take a few minute....please wait...
)

set comPath=
:wait-for-download
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" goto wait-for-download
echo.
ping 127.0.0.1 -n 15 | echo off
echo.
bin\a.exe \\.\%comPath% < bin\ne
echo.
echo Google account Removed!
echo Thank you for using my tool!
echo Enter reboot now
pause
bin\a.exe \\.\%comPath% < bin\leave
pause > nul | echo Press any key to exit...
exit

:op4
cls
@echo off
echo.
echo ****Device detected****
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" (
echo Serial port not found, please insert the phone manually into Download mode.
echo.
echo Disconnect the USB cable and turn off the phone.
echo Then press and hold the Volume Up button, and while you're doing that connect the USB cable again.
echo.
echo.
) else (

echo.
echo This might take a few minute....please wait...
)

set comPath=
:wait-for-download
for /f "tokens=2*" %%a in ('reg query HKLM\hardware\devicemap\SERIALCOMM /v \Device\LG*ANDNETDIAG* 2^>nul ^| find "REG_SZ" 2^>nul') do set "comPath=%%~b"
if "%comPath%" == "" goto wait-for-download
echo.
ping 127.0.0.1 -n 15 | echo off
echo.
bin\a.exe \\.\%comPath% < bin\nz
echo.
echo Google account Removed!
echo Thank you for using my tool!
echo Enter reboot now
pause
bin\a.exe \\.\%comPath% < bin\leave
pause > nul | echo Press any key to exit...
exit

:op5
:exit
    @cls&exit
  Reply With Quote
 
Page generated in 0.09795 seconds with 7 queries