...on other android phones for example motorola can i read all info from phone with command "fastboot getvar all" .1st I don't believe you can read IMEI with fastboot.
I guess you can make device go for factory reset through Odin/Heimdall. But reading the above data... I don't think so.
BTW Samsung bootloader allows reading near to nothing, only writing. And that's for security reasons, I guess.
For imei or serial only is it fastboot getvar serialno or imei.
My whole batch file looks:
@Echo off
cls
:start
@ECHO ***connect phone in fastboot***>>motolog.txt 2>&1
cd/android
fastboot getvar serialno >>motolog.txt 2>&1
fastboot getvar imei >>motolog.txt 2>&1
fastboot -w >>motolog.txt 2>&1
@ECHO Factory reset done, data erased >>motolog.txt 2>&1
fastboot reboot >>motolog.txt 2>&1
@ECHO ***All Done*** >>motolog.txt 2>&1
pause
goto start
...i want to made this same for samsung