To do this you will need:
Android SDK
Android Debugging Bridge (ADB, comes with the SDK pack)
phone driver for windows installed and up to date
TWRP Recovery installed on the phone.
INSTRUCTIONS
1.) Download the ROM that you want to flash and place it on a convenient location on your computer. i'll be using C:\ for that location and ROM.zip for the ROM’s filename in this guide.
2.) Reboot your phone into recovery, do a wipe data/factory reset and wipe cache and dalvik cache.
3.) Connect your phone to your computer via USB.
4.) Launch a Command Prompt or Terminal window on your computer and enter these commands:
adb shell
mount data
5.) Wait for a few seconds to see if you get the prompt back and then press Ctrl+C. Do it even if you don’t get the prompt back after a few seconds.
6.) Now enter the following command, replacing C:\ROM.zip with the path and filename of the ROM that you are using:
adb push C:\ROM.zip /data/
7.) Wait patiently while the ROM is pushed to your phone and once it’s done, enter these commands:
adb shell
recovery --update_package=DATA:ROM.zip
8.) The rom.zip file has now been pushed to the data partion of the phone and you can now install the rom using your custom recovery from that partion, reboot the phone afterwards and voila!
this is what i did when i flashed something that messed up my rom and i had deleted the rom zip installation file from my sd storage on my phone and it worked! if this doesn't work you have obviously done something wrong.
Reply this thread for any help or questions
Android SDK
Android Debugging Bridge (ADB, comes with the SDK pack)
phone driver for windows installed and up to date
TWRP Recovery installed on the phone.
INSTRUCTIONS
1.) Download the ROM that you want to flash and place it on a convenient location on your computer. i'll be using C:\ for that location and ROM.zip for the ROM’s filename in this guide.
2.) Reboot your phone into recovery, do a wipe data/factory reset and wipe cache and dalvik cache.
3.) Connect your phone to your computer via USB.
4.) Launch a Command Prompt or Terminal window on your computer and enter these commands:
adb shell
mount data
5.) Wait for a few seconds to see if you get the prompt back and then press Ctrl+C. Do it even if you don’t get the prompt back after a few seconds.
6.) Now enter the following command, replacing C:\ROM.zip with the path and filename of the ROM that you are using:
adb push C:\ROM.zip /data/
7.) Wait patiently while the ROM is pushed to your phone and once it’s done, enter these commands:
adb shell
recovery --update_package=DATA:ROM.zip
8.) The rom.zip file has now been pushed to the data partion of the phone and you can now install the rom using your custom recovery from that partion, reboot the phone afterwards and voila!
this is what i did when i flashed something that messed up my rom and i had deleted the rom zip installation file from my sd storage on my phone and it worked! if this doesn't work you have obviously done something wrong.
Reply this thread for any help or questions
Last edited: