View Single Post
Old June 26th, 2013, 05:43 AM   #1 (permalink)
scotty85
AF Addict
Thread Author (OP)
 
scotty85's Avatar
 
Join Date: Jul 2010
Posts: 11,052
 
Device(s):
Carrier: Not Provided

Thanks: 7,916
Thanked 7,251 Times in 4,497 Posts
Default [how to] get a rom to your sd card if your phone wont boot

current recoveries are no longer supporing "mount usb storage" to transfer files(Exactly why,im not sure)

if you find yourself in a predicament where you need to flash a rom on a non booting phone,you have a couple of options:
1)push with adb

2)install via adb sideload

i personally used cw to test these,ill have to check twrp later.

push to sd card via adb
1)place rom into adb/fastboot folder
2)boot to recovery
3)open cmd,check connectivity:
adb devices
(should return serial number)
4)push rom to sd card:
adb push romname.zip /sdcard/ (where romname is your actual zip file name)
5)you should then be able to simply wipe and flash the rom as you normally would.

*if you can find a nandroid for your particular build,you should be able to push that,with:
adb push nandroidname /sdcard/clockworkmod/backup/nandroidname/
(again,using cw. ill update if i can determine this to work for twrp)
be patient,the nandroid is a big file,so this will take some time.

2)install from adb sideload
1)place rom into adb/fastboot folder
2)boot to recovery
3)open cmd,check for connectivity
adb devices
(should return serial number)
4)select "install from sideload" from the recovery menu
5)in cmd,enter:
adb sideload romname.zip (where romname is your actual rom's name)
you should see it installing on the phones screen

hope this helps some folks,ill refine it later as i learn more about it. i did successfully sideload superSU,and pushed nandroids to clockwork/bckup and zip files to sd card.

again, the above was done with clockwork touch recovery

we will have to verify the processes with twrp
__________________
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers.
donate to my device fund
scotty85 is online now  
Last edited by scotty85; June 26th, 2013 at 05:56 AM.
Reply With Quote
The Following 4 Users Say Thank You to scotty85 For This Useful Post:
clsA (July 1st, 2013), Hadron (June 26th, 2013), HenryLuo (July 13th, 2013), rosh88 (August 24th, 2013)