This is not my first time installing a custom ROM via CWM, but this is the first time doing so using adb sideload with an HTC One.
Here is where I'm at:
My device: m7spr 4.4.2 software version 4.06.651.4.
1. I am unlocked and rooted.
2. I am NOT S-Offed.
3. I currently have the stock ROM installed.
4. CWM is installed on my HTC One.
5. I have a custom ROM downloaded and saved in the folder with my adb (platform-tools) files.
From what I've gathered, the process at this point would be wipe the system, go into sideload, and through cmd run "adb sideload ROMNAME.zip."
If I'm missing any steps please let me know.
Thanks in advance!
bb2si said:
This is not my first time installing a custom ROM via CWM, but this is the first time doing so using adb sideload with an HTC One.
Here is where I'm at:
My device: m7spr 4.4.2 software version 4.06.651.4.
1. I am unlocked and rooted.
2. I am NOT S-Offed.
3. I currently have the stock ROM installed.
4. CWM is installed on my HTC One.
5. I have a custom ROM downloaded and saved in the folder with my adb (platform-tools) files.
From what I've gathered, the process at this point would be wipe the system, go into sideload, and through cmd run "adb sideload ROMNAME.zip."
If I'm missing any steps please let me know.
Thanks in advance!
Click to expand...
Click to collapse
Is there a reason you need to sideload?
you could also adb push a rom to your phone from recovery
adb push ROMname.zip /sdcard/
Or just boot to OS and copy the rom over to your device.
Related
Hi, I know this is going to sound so stupid but I need help ASAP.
I was fooling around with installing different ROM's for my HTC One, I tried the Google Edition for a while and decided it wasn't for me as I lost the TV remote. I then tried to re-flash the Android Revolution HD 12 I had on before and it wouldn't flash. I thought a wipe would work but now I've succeeded in ending up with a TWRP recovery that works fine but no software whatsoever to flash or boot to. The phone says 'No OS Installed'
Every time I turn off the phone it also says that it doesn't appear to be rooted, do I want to install supersu? The phone says 'unlocked' with CID 11111111
I have totally fallen into the idiot trap, too much confidence and ambition, zero skill and talent.
NailFace said:
Hi, I know this is going to sound so stupid but I need help ASAP.
I was fooling around with installing different ROM's for my HTC One, I tried the Google Edition for a while and decided it wasn't for me as I lost the TV remote. I then tried to re-flash the Android Revolution HD 12 I had on before and it wouldn't flash. I thought a wipe would work but now I've succeeded in ending up with a TWRP recovery that works fine but no software whatsoever to flash or boot to. The phone says 'No OS Installed'
Every time I turn off the phone it also says that it doesn't appear to be rooted, do I want to install supersu? The phone says 'unlocked' with CID 11111111
I have totally fallen into the idiot trap, too much confidence and ambition, zero skill and talent.
Click to expand...
Click to collapse
You should be able to use this toolkit to install SU and also to sideload a rom zip from your PC to the phone to reinstall your ROM of choice. Sounds like you wiped your data partition entirely. Since you have S-off and Super CID you should have no problems loading another rom. Just have to use one of the creative ways to get it on the phone (sideload, USB-OTG adapter, etc.)
http://forum.xda-developers.com/showthread.php?t=2242635
crushalot said:
You should be able to use this toolkit to install SU and also to sideload a rom zip from your PC to the phone to reinstall your ROM of choice. Sounds like you wiped your data partition entirely. Since you have S-off and Super CID you should have no problems loading another rom. Just have to use one of the creative ways to get it on the phone (sideload, USB-OTG adapter, etc.)
http://forum.xda-developers.com/showthread.php?t=2242635
Click to expand...
Click to collapse
Thanks for your reply,
could you do a step by step guide for me please, I don't have an USB-OTG adaptor.
I cannot install the program, it says its not supported by my OS (im on Windows 8)
NailFace said:
Thanks for your reply,
could you do a step by step guide for me please, I don't have an USB-OTG adaptor.
Click to expand...
Click to collapse
The steps should be here in the guide:
http://forum.xda-developers.com/showthread.php?t=2325853
Also here for sideload:
http://forum.xda-developers.com/showthread.php?t=2318497
crushalot said:
The steps should be here in the guide:
http://forum.xda-developers.com/showthread.php?t=2325853
Also here for sideload:
http://forum.xda-developers.com/showthread.php?t=2318497
Click to expand...
Click to collapse
I really need a more step by step guide, I've ****ed things up already so I think I need a baby walk through
NailFace said:
I really need a more step by step guide, I've ****ed things up already so I think I need a baby walk through
Click to expand...
Click to collapse
Well the easiest way to do a sideload is using the All in One tool. Do you have access to any other PC that have Windows 7 or XP? I don't have a win 8 system to try to assist with compatibility mode with the one.exe tool.
If no other PC options are available then we will have to go the long way which will involve installing ADB like in this guide: (Under Installation section - It has 5 steps for installing ADB)
http://forum.xda-developers.com/showthread.php?t=1427008
Once ADB is installed we can use these steps from the sideload guide that I posted:
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit advanced 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 connected and say sideload
6. Your ZIP file should already be in your adb folder - See Example Below
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip <------------See Example Below
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
crushalot said:
Well the easiest way to do a sideload is using the All in One tool. Do you have access to any other PC that have Windows 7 or XP? I don't have a win 8 system to try to assist with compatibility mode with the one.exe tool.
If no other PC options are available then we will have to go the long way which will involve installing ADB like in this guide: (Under Installation section - It has 5 steps for installing ADB)
http://forum.xda-developers.com/showthread.php?t=1427008
Once ADB is installed we can use these steps from the sideload guide that I posted:
Make Sure HTC Drivers are installed and ADB is already working
1. Reboot into TWRP
2. in TWRP, Hit advanced 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 connected and say sideload
6. Your ZIP file should already be in your adb folder - See Example Below
7. You are now ready to push the zip.....
8. type adb sideload nameofzip.zip <------------See Example Below
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
Click to expand...
Click to collapse
I owe you a beer, thank you very much. Everything working now.
I have a UK Vodafone HTC One. It's running the Trickdrpid Rom with TWRP 2.5.0.0 recovery. Everything was working fine until I flashed tbaldens kernel to enable lock2wake function. Everything went ok with flashing (I think!) but upon reboot, nothing. Just flashing back and home keys when I press the power button. I can get into recovery but have no rom on my internal SD to reflash. The PC gives the USB spund when i boot into recovery, but the phone storage doesnt show up on PC. Is there any way to get another Rom on the storage to reflash, or is it bricked? Please help.
There is an option in TWRP to sideload with adb. Try pushing a new Rom with the ADB Push romname.zip
Then you should be able to locate it and flash it
Sent from my HTC One using xda app-developers app
gazlufc said:
There is an option in TWRP to sideload with adb. Try pushing a new Rom with the ADB Push romname.zip
Then you should be able to locate it and flash it
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Thanks for the quick reply. Is there a tutorial on ADB anywhere? I've not had experience using it before.
http://developer.android.com/tools/help/adb.html
You will need to install Android SDK if you don't already have it installed.
If you are using windows open Command prompt and Change in to the android-sdk/platform-tools folder.
In here you can run the ADB devices command to see if your device is showing up as connected.
If so copy the rom in the the platform-tools folder to make it easier.
so lets say your rom is called rom.zip the command to push would be
adb push rom.zip /sdcard/ (OR WHAT EVER LOCATION YOU WANT)
If all goes well you should be select zip from storage in TWRP and flash it.
Hope this helps
---------- Post added at 02:12 PM ---------- Previous post was at 01:18 PM ----------
liverman666 said:
I have a UK Vodafone HTC One. It's running the Trickdrpid Rom with TWRP 2.5.0.0 recovery. Everything was working fine until I flashed tbaldens kernel to enable lock2wake function. Everything went ok with flashing (I think!) but upon reboot, nothing. Just flashing back and home keys when I press the power button. I can get into recovery but have no rom on my internal SD to reflash. The PC gives the USB spund when i boot into recovery, but the phone storage doesnt show up on PC. Is there any way to get another Rom on the storage to reflash, or is it bricked? Please help.
Click to expand...
Click to collapse
I see that the command to sideload is 'adb sideload rom.zip'
My appologies if this didn't work up to now
gazlufc said:
http://developer.android.com/tools/help/adb.html
You will need to install Android SDK if you don't already have it installed.
If you are using windows open Command prompt and Change in to the android-sdk/platform-tools folder.
In here you can run the ADB devices command to see if your device is showing up as connected.
If so copy the rom in the the platform-tools folder to make it easier.
so lets say your rom is called rom.zip the command to push would be
adb push rom.zip /sdcard/ (OR WHAT EVER LOCATION YOU WANT)
If all goes well you should be select zip from storage in TWRP and flash it.
Hope this helps
---------- Post added at 02:12 PM ---------- Previous post was at 01:18 PM ----------
I see that the command to sideload is 'adb sideload rom.zip'
My appologies if this didn't work up to now
Click to expand...
Click to collapse
Ok. I've managed to upload the Rom via sideload. But now I can't find it anywhere on the SD card?
Coincidentally i'm having the same issue when installing the same exact kernal (lock2wake) last night.
It soft bricked after it was flashed using the AndroidRevolution rom
No USB access despite popups and there are no roms installed on my SD.
I can access the bootloader and recovery (Clockwork) but thats about it.
I'll follow the instructions Gaz posted above and see where it takes me.
There should be an option to install from side load in your recovery.
If you can't find it I would recommend flashing CWM for the flash. You can do it via the fastboot method or the HTC one AIO toolkit. The toolkit option is the easiest.
Then when you are in CWM select install zip. There should be an option in there to install from ADB sideload.
Here you push the the Rom zip via the adb sideload Rom.zip and then it should install. Let me know how you guys get on
If you need anymore help feel free to PM me and I'll try to explain it more if needed
Sent from my HTC One using xda app-developers app
got it working! thanks gaz
Review:
1. I (soft) bricked my phone flashing TeamSeven Sense "Home2Wake" kernel
http://forum.xda-developers.com/showthread.php?t=2255160
2. My phone currently had the android revolution 12.0 rom installed
http://forum.xda-developers.com/showthread.php?t=2183023
3. To unbrick my phone and get access to the bootloader/recovery, i perform the following step
gunnyman said:
put the phone under a bright light.
hold down power, lights will flash and phone will shut down in about 15-20 seconds
then hold volume down and power to get back to bootloader
Click to expand...
Click to collapse
4. Once i had access to the bootloader, i navigated to recovery (CWM-Touch) but couldn't reflash my rom since i no longer had the zip file on my internal SD.
5. So I followed Gaz instructions posted above by installing the Android SDK files from http://developer.android.com/tools/help/adb.html
6. After I installed the SDK on my Bootcamp Windows 7 Home (on a Macbook), I copied my rom to the platform-tools folder and renamed it something shorter.
7. Then I opened command prompt and used it to pushed the rom file to the root of the internal sd (followed gaz instructions above)
8. Once completed, I re-opened recovery and reflashed. Fixed.
I just want my PC to recognize my phone.. Once that happens, i think I'll be in good business... The list of devices attached is none...
I'm worried.
I went to install a new rom, so formatted my sd card first, without realising it I've wiped my backups and also the rom I was going to flash. I can still get into twrp but I have no idea how to get a rom across to my handset.
ive tried fastboot update but i just get "waiting for device"
Someone please help
gsusx said:
I'm worried.
I went to install a new rom, so formatted my sd card first, without realising it I've wiped my backups and also the rom I was going to flash. I can still get into twrp but I have no idea how to get a rom across to my handset.
ive tried fastboot update but i just get "waiting for device"
Someone please help
Click to expand...
Click to collapse
Triy adb sideload, links for how to http://www.google.nl/url?sa=t&rct=j...v4l4QSOgEwWvPXvTXm_X0Kw&bvm=bv.48705608,d.ZWU.
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
gee2012 said:
Triy adb sideload, links for how to http://www.google.nl/url?sa=t&rct=j...v4l4QSOgEwWvPXvTXm_X0Kw&bvm=bv.48705608,d.ZWU.
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
Click to expand...
Click to collapse
you're a gentleman
im downloading the drivers now
gsusx said:
you're a gentleman
im downloading the drivers now
Click to expand...
Click to collapse
its installing now, thank you so much !!!!
so i wiped my internal and entire phone with no rom to load. im stuck please help!!!
start sideload mode in twrp
the open a cmd window and adb sideload nameofrom.zip
gunnyman said:
start sideload mode in twrp
the open a cmd window and adb sideload nameofrom.zip
Click to expand...
Click to collapse
what do i type in cmd
I told you already
im sorry im just totally lost i plugged in the phone whent to adb on twrp but i dont know what to do next with cmd
i typed filename.zip in cmd nothin happend
in twrp ab it says usage:adb sideload filename.zip
open a cmd window
type adb sideload then the rom name.
Search for how to sideload. Its explained many times over in the forum.
http://forum.xda-developers.com/showthread.php?p=43860368
http://forum.xda-developers.com/showthread.php?p=42412062
AT&T HTC One
BaadNewz's InsertCoin 3.0-7
Flar2's Bulletproof 3.4
jsnoop said:
i typed filename.zip in cmd nothin happend
Click to expand...
Click to collapse
Go to Advanced in TWRP and then Sideload ADB. After sliding to start sideload, rename the rom on your pc to "rom.zip", open a cmd window in the location of the rom and adb. Type this into cmd:
adb sideload rom.zip
The cmd window will display a "sending" percentage. Once that hits 100% TWRP should start flashing the rom for you.
I did same thing Side load doesn't worked for me I think it is because there was no rom in the phone. Try to find your root folder. Mine was like that after complete sdcard format "/ /sdcard". I made a simple "adb push romname.zip / /sdcard" and that's it I have the rom in the phone and flashed via twrp. You can check where your sdcard folder in twrp. Also mine couldn't mount the cache I solved this with making a wipe cache and dalvik. Good luck.
skylineGTR_34 said:
I did same thing Side load doesn't worked for me I think it is because there was no rom in the phone. Try to find your root folder. Mine was like that after complete sdcard format "/ /sdcard". I made a simple "adb push romname.zip / /sdcard" and that's it I have the rom in the phone and flashed via twrp. You can check where your sdcard folder in twrp. Also mine couldn't mount the cache I solved this with making a wipe cache and dalvik. Good luck.
Click to expand...
Click to collapse
If you had a rom on your phone you wouldn't need to sideload. Sideloading is just a way to move a file to your phone via recovery. So when you're stuck in TWRP without a rom, sideloading is an easy fix.
Sent from my HTCONE using xda app-developers app
another easy way is to use "adb push" command as described in this thread:
http://forum.xda-developers.com/showthread.php?t=2325853
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.