Credit to - Phyo Nyi Nyi

Note 3 Warranty Checker

Test yourself for other models.

Download link is here >>>http://d-h.st/zOn

Code is here >>>
--------------------------------------------------------------------------
@echo off
title Samsung Warranty Checker
color 0F
echo *****************************************
echo * Phone Information checker *
echo * Script by Phyo Nyi Nyi *
echo * *
echo *****************************************
echo if device found Tool will start
adb kill-server > nul 2>&1
adb start-server > nul 2>&1
adb wait-for-devices
:Check-Man
setlocal
set Man=
set Support=is not support
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.product.manufacturer"') do set Man=%%i
if "%Man%" neq "samsung" set Support=is not support && goto Not
if "%samsung%" equ "" set Support=is support and && goto MENU

( endlocal
)
:MENU
call :getDeviceInfo
echo ============================================================
echo %Count%
echo Your Warranty is %Support%
echo ============================================================
echo Manufacturer =%Man%
echo device =%productmodel%
echo S/N =%serial%
echo CSC =%CSC%
echo IMEI =%imei%
echo Baseband =%BB%
echo Region =%region%
echo Root Access =%rootaccess%
pause
:getDeviceInfo
set ret=
set rootaccess=No
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.product.manufacturer"') do set Man=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.product.model"') do set productmodel=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop ril.serialnumber"') do set serial=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop ril.official_cscver"') do set CSC=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop ril.sales_code"') do set region=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop gsm.version.baseband"') do set BB=%%i
for /f "tokens=4 delims= " %%i in ('adb shell "dumpsys iphonesubinfo" ^| find /i "Device ID"') do set imei=%%i
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.build.version.release"') do set androidversion=%%i
for /f "tokens=* delims=" %%i in ('adb shell "su -c \"echo Root Checker\""') do set ret=%%i
if "%ret%" equ "Root Checker" set rootaccess=Yes
set Date= Activated
set Support=not avliable
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.warranty_bit"') do set Date=%%i
if "%Date:~0,99999999999%" neq "0" set Support= %Support%
if "%Date:~0,99999999999%" equ "0" set Support= %Date%
set Odin_OK= Never
set Count= At lest ( 1 ) time Use Unofficial Package
for /f "tokens=* delims=" %%i in ('adb shell "getprop ro.boot.odin_download"') do set Odin=%%i
if "%Odin:~0,99999999999%" neq "0" set Count= %Count%
if "%Odin:~0,99999999999%" equ "0" set Count= %Odin_OK%
goto :eof

:Not
cls
echo.
echo -------------------------------------------------------------------
echo Sorry Your Devices is not Samsung device and tool does not support
echo -------------------------------------------------------------------
ping localhost -n 5 >nul
exit
exit

0 ေ၀ဖန္ေဆြးေႏြးမွဳ :

Post a Comment

 
Top