@echo off
%~d0
CD "%~d0%~p0"
set id=InFocus_M810
taskkill /F /IM tadb.exe >nul 2>nul
taskkill /F /IM bdadb.exe >nul 2>nul
taskkill /F /IM sjk_daemon.exe >nul 2>nul
taskkill /F /IM romaster_daemon.exe >nul 2>nul
taskkill /F /IM AndroidInterface.exe >nul 2>nul
taskkill /F /IM adb.exe >nul 2>nul
adb.exe kill-server >nul 2>nul
echo .
echo this ROM for model:% id%
echo .
echo open USB debugging, connected to the computer
echo.
echo Note that USB debugging echo Authorization
echo.
echo.
title InFocus% id% International
adb kill-server
for /f "delims=" %%i in ('dir /b/s/a-d %USERPROFILE%\.android\adb_usb.ini') do (
findstr /v "0489" "%%i" >"%%~dpni.new"
del /q "%%i"
ren "%%~dpni.new" "%%~ni.ini"
)
echo 0×0489 >> %USERPROFILE%\.android\adb_usb.ini
adb kill-server
adb devices
pause
:flash
adb reboot-bootloader
fastboot -i 0×0489 flash splash splash.img
fastboot -i 0×0489 flash cda cda.img
fastboot -i 0×0489 flash boot boot.img
fastboot -i 0×0489 flash recovery recovery.img
fastboot -i 0×0489 flash persist persist.img
fastboot -i 0×0489 -S 300M flash system system.img
fastboot -i 0×0489 flash userdata userdata.img
fastboot -i 0×0489 reboot
echo completed, waiting for the phone to restart
pause
exit
Full of bloatware and programs that use the phone to send data without the user permission. Please be aware
when andoid 5.0.2 upload?? please
After flashing this, my available space partition is only 1gb. Storage showing 15gb as "system" with nothing there. This… Is not good.
Fixed! I had to format userdata from within (stock) recovery. Doing a reset from within Android wasn't enough.
how to boot to recovery please
If you install this ROM, please remove the Calculator and the default Youtube app, they are both infected.
Thanks!
thanks you this is so … but in only … after wipe userdata in 3e recovery
ban chi cho minh duoc khong
Wow thanks , this helped me de-brick my phone ,
how to boot to recovery?
please help i have no storage how do i boot to recovery?
hi in need a little help with my infocus m810t. its stuck in the usa bands and i need it revert it back to the normal bands…will i have to flash this kitkat rom to get it back to work?…please help is urgent