Bricked your Android one?? Can’t install or phone not getting detected by SP Flash tool? Don’t worry. This is the common problem for many users including me. My phone was not getting detected by SP flash tool. I tried many ways so that my phone gets detected, but I failed. Then I read about the ‘Fastboot’ method and got success. Now I am sharing the whole method with you all.
At first you will need the Adb fastboot Programs only, Adb Driver, The device driver and the Stock ROM of android one.
Last but not the least, an android one with the bootloader unlocked.
Now you are ready lets begin with the procedure.
1) Extract the ‘Adb fastboot Programs only’ in a folder any where in the PC (Better make a folder in the desktop and extract there).
2) Install the drivers.
3) Extract the rom and then copy the ‘system.img’, ‘userdata.img’, ‘boot.img’, ‘recovery.img’, ‘bootloader.img’ and ‘cache.img’ to the ‘Adb fastboot Programs only’ folder.
4) Now turn on the phone by pressing the volume up and the power button simultaneously, which will bring you to the bootloader menu. There go to the fastboot option by pressing the volume up button and selecting it by pressing the volume down button. This will activate fastboot mode. Now connect the phone with the PC via USB.
5) Open the ‘Adb fastboot Programs only’ folder. There press shift key and right click and select ‘Open command window here’ option. Command prompt will open. Now there follow these simple commands.
6) i)
fastboot flash system system.img
press enter. When it completes……..
ii)
fastboot flash userdata userdata.img
press enter. When it completes……..
iii)
fastboot flash boot boot.img
press enter. When it completes……..
iv)
fastboot flash recovery recovery.img
press enter. When it completes……..
v)
fastboot erase cache
press enter. When it completes……..
vi)
fastboot flash cache cache.img
press enter. When it completes……..
vii)
fastboot flash bootloader bootloader.img
press enter.
viii)
fastboot reboot
press enter.
7) Now you are done. Wait for at least 10 mins. as the initial boot takes time.
If there is any problem let me know.
Source: this tutorial share by androidoverdoze on xda-developers FORUM.
link: https://forum.xda-developers.com/android/general/how-to-install-stock-rom-bricked-t3127603