[Q] Installing ROM from fastboot - One (M7) Q&A, Help & Troubleshooting

Hi , so I was messing around with the updated roms of 4.2.2 and I had formatted the SD card after installing the latest version of insertcoin, after which I mistakenly cleared all the data as well including the current rom installed... dumb I know.
So now I'm stuck with only recovery and fastboot access, is there a way to install a new ROM, or stock image using fastboot? Recovery can no longer mount storage due to some recent changes so like I said I'm stuck.. any help is appreciated.

Boot in recovery and use the adb sideload, or push into your sd the rom with:
Code:
adb push name-of-rom.zip /sdcard/
.
The rom will be in the folder when you have adb and fastboot.

Related

[Q] Installing ROM from fastboot

Hi , so I was messing around with the updated roms of 4.2.2 and I had formatted the SD card after installing the latest version of insertcoin, after which I mistakenly cleared all the data as well including the current rom installed... dumb I know.
So now I'm stuck with only recovery and fastboot access, is there a way to install a new ROM, or stock image using fastboot? Recovery can no longer mount storage due to some recent changes so like I said I'm stuck.. any help is appreciated.
Look for an RUU if your phone has them. You can do that from fastboot.
Sent from my HTC One V using xda app-developers app
I downloaded an RUU but ended up not using it, I was finally able while in recovery to use adb push in order to copy the files, It did not work for me until I renamed the rom to something short like "rom"
This is the command I used while the phone was in the home screen of recovery using TWRP
C:\htcone>adb push rom.zip /sdcard
After entering that command the prompt remain there for about 3minutes until it showed this message:
3583 KB/s (1001782246 bytes in 273.002s)
Once this was done I was able to flash normally and the phone is back in business

sdcard wiped, Rom in loop

Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
when I had that problem, I ended up wiping everything and then rebooted to recovery and it finally worked.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try what @JudgeFutta said. The error's most likely due to corrupt partitions.
p1mpin said:
Hey guys, I accidentley wiped my sdcard when I reunlocked the bootloader. I have a custom rom that was on previously but its stock in a loop. I tried to push another room using adb sideload but when i do I got * Cannot read 'sideload'. I dont know any other way i can connect the phone to computer to flash another rom. please help.
Thanks
Update:
I can push the rom but i get this error when trying to install "E: unable to mount 'data' "
Click to expand...
Click to collapse
Try to get in Recovery and from mount option mount system and then try it will work or try this
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit andvanced and find Sideload
3. Swipe to start Sideload
4. Open a CMD Prompt window and Change Directories to where your adb.exe is
5. type adb devices and it should show your device conntected and say sideload
6. Your ZIP file should already be in your adb folder
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip
9. Wait until it says 100% and reboot back into recovery to flash the ROM
10. If hitting power does not make the screen come one, type adb reboot recovery
11. if adb reboot recovery does not work, hold power and volume down until it reboots to fastboot then go to recovery
ADB Push from Recovery - If Sideload Fails For You
adb push rom.zip /data/media/0/
Be sure u r in Recovery when using ADB Push command.
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
p1mpin said:
Thanks guys. What i found out is that i had a corrupt partition so I formated the sdcard since there was nothing on it and it worked. I pushed the rom through adb but i didnt do the sideload method. I have liquid smooth on it now but I want a sense rom. any suggestions for a good one?
Click to expand...
Click to collapse
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
User420s said:
Why not try the best Sense rom available. http://forum.xda-developers.com/showthread.php?t=2502430
Gd luck
Click to expand...
Click to collapse
@p1mpin Can vouch for that ROM, it's amazing. Might also want to flash Kangaroo Kernel while you're at it. It'll give you great battery life.

[Q] USB won't mount in CM11 ROM I flashed w/o GApps

I just installed a CM11 nightly but forgot to install the GApps along with it. Wouldn't be a problem in most situations but for some reason, I can't get the USB to mount so that I can put the GApps file onto the phone. I have the latest version of TWRP installed and it won't mount through there either (unless I'm possibly doing something wrong). I attempted to restore to the previous ROM I had installed in which the USB was working fine but in trying to do that, it gets caught in a boot loop and nothing happens. Luckily this CM11 ROM appears to be functioning but I'm still unable to do anything outside of the few basic apps it comes installed with. I know there's the option of sideloading it onto my SD card but to do that, it would require it to mount... Please help.
You can boot into twrp and adb push them
Code:
adb push FileName.zip /sdcard/
Then flash them like any other zip.

Stuck on Boot After installing SuperSU Binary [URGENT][Solved]

[Update]: Now it says no OS installed in TWRP. I think I have wiped the os by mistake. Just need to know how to install cm13 image using fastboot or ADB. Please help!
I wasn't aware if SuperSU works with CM13 and I installed the app, on request to update the binaries, I selected TWRP/CWM method because the normal mode didn't work. After the reboot the phone won't load into os, its stuck on the CM boot screen. I don't have a CM image on my sd therefore unable to flash again either. Is there a way to push files (cm img) to my phone? I have adb/adb over network enabled as well from developer options. I just need a way to put files into my sd card and flash using TWRP. Please help! this is urgent! :crying:
[SOLVED][HOW TO]
This is in a situation where you've messed up your system and don't have the image file stored in your sd card for quick flashing. Make sure you're using the latest USB drivers and ADB binaries 1.0.32+
- Get into TWRP
- Swipe to ADB Sideload and enable it
- On your desktop, open command and type "Adb sideload filename.zip" [Filename here is the filename of your flashable zip/rom]
- Once you the installation finishes, reboot twrp normally into system
dibyajyoti said:
I just need a way to put files into my sd card and flash using TWRP. Please help! this is urgent! :crying:
Click to expand...
Click to collapse
Have you tried enabling MTP in TWRP and using a computer to transfer the image over?
Contact me if you have any questions.
R55770 said:
Have you tried enabling MTP in TWRP and using a computer to transfer the image over?
Contact me if you have any questions.
Click to expand...
Click to collapse
MTP shows as enabled - But the device doesn't show up in my pc. I'm connected through USB in TWRP recovery. I have android debugging also enabled, when trying adb push command, it shows adb devices attached as empty.
[Update]: I am trying to push the file using ADB Sideload in TWRP, the error I get is my adb needs to be updated to 1.0.32. How do i get updated adb 1.0.32?
[Update 2]: So I managed to update by ADB on desktop, and push the zip file using adb sideload in twrp. The zip is being installed as I write this. Lets hope this works!
[Update 3]: Got the rom to install via ADB sideload, though all my apps and settings are gone Anyway, I got the phone back for immediate use. Phew!
dibyajyoti said:
MTP shows as enabled - But the device doesn't show up in my pc. I'm connected through USB in TWRP recovery. I have android debugging also enabled, when trying adb push command, it shows adb devices attached as empty.
[Update]: I am trying to push the file using ADB Sideload in TWRP, the error I get is my adb needs to be updated to 1.0.32. How do i get updated adb 1.0.32?
[Update 2]: So I managed to update by ADB on desktop, and push the zip file using adb sideload in twrp. The zip is being installed as I write this. Lets hope this works!
[Update 3]: Got the rom to install via ADB sideload, though all my apps and settings are gone Anyway, I got the phone back for immediate use. Phew!
Click to expand...
Click to collapse
Great. Thanks for letting us know.

Updated my Root OnePlus 3t and now it will only boot to TWRP

Hello Everyone,
I have been pushing off the latest small update to the Oneplus 3t, as last time i updated it did the same thing.
I updated by mistake and now it will not get past the TWRP not matter what I try. Last time I had to wipe everything and use a latest image.
Before I try this does anyone know how I reboot to the system.
I even tried to restore a TWRP backup from Jan 15th and that didn't help.
Any help would be appreciated. and assistance on how to take upgraded without semi-bricking this phone.
Thanks
If you tried to restore a TWRP back-up and it didn't work then the only way is either:
adb push rom.zip /sdcard/ flash and reboot
adb sideload rom.zip (TWRP advanced menu)
but did you try and wipe everything (except internal storage) then restore the backup?
A Sad Napkin said:
If you tried to restore a TWRP back-up and it didn't work then the only way is either:
adb push rom.zip /sdcard/ flash and reboot
adb sideload rom.zip (TWRP advanced menu)
but did you try and wipe everything (except internal storage) then restore the backup?
Click to expand...
Click to collapse
I did not try to wipe, it seems the restore did that automatically
wiped except internal and flashed the latest Oneplus 3t Rom and still at the twrp screen, says no OS installed.
Can't get anyone where with this
I have no more TWRP, just the Oxygen Recovery, and in Sideload Mode and can not abd sideload rom.zip as it says cannot read rom
get the full official rom (zipfile) find it somewhere here on the forum or from OnePlus Suppport page, put it in the same folder as your adb.exe and then
Code:
adb sideload [zipfile]

Categories

Resources