HTC one HELP - One (M7) Q&A, Help & Troubleshooting

Dear All,
I have a HTC ONE with TWP recovery and i made a WIPE of Dalvin Cache,cache,Data and System. So now how can i install the Revolution HD 11 from this point?
Thanks

Push the rom into your sd with the code:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip /data/media
and flash it.
Or use the adb sideload function.

thanks
Guich said:
Push the rom into your sd with the code:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip /data/media
and flash it.
Or use the adb sideload function.
Click to expand...
Click to collapse
Dear Guich,
Sir, thanks for your replay and help... so the problem i made is by WIPING the system partition or something else?
Thanks

senadaruc said:
Dear Guich,
Sir, thanks for your replay and help... so the problem i made is by WIPING the system partition or something else?
Thanks
Click to expand...
Click to collapse
Wiping system leaves you with no OS to boot up, then you WIPED data and that leaves you no ROM.zip to flash an OS.
To conclude, wiping both system and data leaves you in a black hole until you follow Guich's guide

thanks
ryryzz said:
Wiping system leaves you with no OS to boot up, then you WIPED data and that leaves you no ROM.zip to flash an OS.
To conclude, wiping both system and data leaves you in a black hole until you follow Guich's guide
Click to expand...
Click to collapse
Dear All.
Thanks for your kind help and yes i made it now my phone is alive
Thanks

Related

How would I fix this ecovery problem? 0o

Anyone got a way to fix recovery so I can wipe dalvik and ext? re-flashed recovery with cm and armon no fix 0o any ideas? - also nand restore and backup does not work anymore
xillius200 said:
Anyone got a way to fix recovery so I can wipe dalvik and ext? re-flashed recovery with cm and armon no fix 0o any ideas? - also nand restore and backup does not work anymore
Click to expand...
Click to collapse
Broken SD? Any interesting error messages?
billquinn1 said:
Broken SD? Any interesting error messages?
Click to expand...
Click to collapse
nope tried other SD and the error messages I get are for example: Error: Run "wipe dalvik" via adb!
XD this is why this question is confusing because I can't see anything out of the ordinary
How do you wipe dalvik via adb didn't think it had the option do you have to use shell in adb?
xillius200 said:
nope tried other SD and the error messages I get are for example: Error: Run "wipe dalvik" via adb!
XD this is why this question is confusing because I can't see anything out of the ordinary
How do you wipe dalvik via adb didn't think it had the option do you have to use shell in adb?
Click to expand...
Click to collapse
I can't try this right now but I think it would be
adb remount
adb shell
#mount -a
#rm /system/sd/dalvik-cache/*
May be easier to use a root file explorer (SUFBS) and just delete every thing on system/sd and then boot to recovery and wipe and repair everything. You did try "repair ext" right?
billquinn1 said:
I can't try this right now but I think it would be
adb remount
adb shell
#mount -a
#rm /system/sd/dalvik-cache/*
May be easier to use a root file explorer (SUFBS) and just delete every thing on system/sd and then boot to recovery and wipe and repair everything. You did try "repair ext" right?
Click to expand...
Click to collapse
XD ill try that with the shell and yeah tried repair ext etc. same error as dalvik cache etc.
Yeah that command for the wipe dalvik worked with adb thanks for that
XD thanks for your help seems that both sd cards that I tried being my luck -_- don't have a ext partition wth happened to them I don't know but fixed both of them now the system recovery didn't want to create them had to creat them through adb but everything is working now
Thanks for your help billquinn1 - Very much appreciated

[Q] HTC One Bricked ?

Hi everybody,
My HTC One is no more use full, i made a mistake i format every thing because i would like to update my rom and now i can only boot in recovery or bootloader so no adb command works.
I know you can install a rom thru fastboot command but it's only with file *.img (eg: system.img)
Does anyone know where i cant find this kind of file or can i make one with systel folder in any rom in zip files (eg:Android_Revolution_HD-One_10.3.zip)
Thank's for your help. :good:
Please sorry for my poor english (I'm french)
Regards
australfr said:
Hi everybody,
My HTC One is no more use full, i made a mistake i format every thing because i would like to update my rom and now i can only boot in recovery or bootloader so no adb command works.
I know you can install a rom thru fastboot command but it's only with file *.img (eg: system.img)
Does anyone know where i cant find this kind of file or can i make one with systel folder in any rom in zip files (eg:Android_Revolution_HD-One_10.3.zip)
Thank's for your help. :good:
Please sorry for my poor english (I'm french)
Regards
Click to expand...
Click to collapse
It's not bricked.
Get this tool http://forum.xda-developers.com/showthread.php?t=2183942
install htc drivers
upload rom.zip VIA adb sideload. Make sure file path is simple. e.g C:\rom.zip. This will start the installation after uploaded.
mih3y said:
It's not bricked.
Get this tool http://forum.xda-developers.com/showthread.php?t=2183942
install htc drivers
upload rom.zip VIA adb sideload. Make sure file path is simple. e.g C:\rom.zip. This will start the installation after uploaded.
Click to expand...
Click to collapse
Hi,
Thank's for your answer.
When i do that, the process start and stop at 1% with the following message :
* failes to write data 'protocol fault (no status)' *
The command line i used is : adb sideload rom.zip
The One is unloacked and was in recovery with TWRP in which i selected adb sideload.
Regards
Go into recovery and use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip data/media
and flash the rom
Guich said:
Go into recovery and use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip data/media
and flash the rom
Click to expand...
Click to collapse
Thank's for your help.
Both commands return the following message : protocol failure
australfr said:
Thank's for your help.
Both commands return the following message : protocol failure
Click to expand...
Click to collapse
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
tash2013 said:
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
Click to expand...
Click to collapse
Ok it's work.
My One is back thank you again :good:
Regards
Thank's
I will thanks all of you three :
- mih3y
- Guich
- tash2013
For your help to bring my HTC one Back
best Regards
Eric
tash2013 said:
You wiped your internal sd.. sd isn't formatted, you can't put anything into
Just in recovery make sd formatting.. and then adb sideload procedure
Click to expand...
Click to collapse
It's not formatting, formatting just deletes files system table, partitions are still there, they only need to be mounted.
So before pushing or sideloading the easiest way is in recovery go to Mounts and Storage options and mount data partition (this will also automatically mount sdcard partition (since it is contained on data partition).

[Q] Can't sideload.

I completely wiped my phone, formatted data, everything, using TWRP 2.5.0.0.
Now it gives me "failed to write data protocol fault" and refuses to sideload.
What do I do?
try adb push to push a custom rom to your sdcard while in recovery
ryryzz said:
try adb push to push a custom rom to your sdcard while in recovery
Click to expand...
Click to collapse
I get device not found.
EDIT: Never mind, all good, apparently the selection of wipe cache/dalvik cache in the sideload screen was messing it up.

[Q] Stuck in TWRP with nowhere to go!

I tried advanced wiping the Dalvik cache, system, cache, Data, and Internal Storage thinking I was somehow going into a factory reset. Now I have no OS! Oh it gets worse! ADB Sideload isn't working either because when I try to push a .zip file the command prompt says 'failed to write data protocol fault (no status)'.
What should I do? Someone please help!
PhallusOfGod said:
I tried advanced wiping the Dalvik cache, system, cache, Data, and Internal Storage thinking I was somehow going into a factory reset. Now I have no OS! Oh it gets worse! ADB Sideload isn't working either because when I try to push a .zip file the command prompt says 'failed to write data protocol fault (no status)'.
What should I do? Someone please help!
Click to expand...
Click to collapse
Do you have an SD card?
Captain_Throwback said:
Do you have an SD card?
Click to expand...
Click to collapse
No.
PhallusOfGod said:
No.
Click to expand...
Click to collapse
Then I'd get one. You can download a ROM to it, put it in the device, and flash it from there.
Captain_Throwback said:
Then I'd get one. You can download a ROM to it, put it in the device, and flash it from there.
Click to expand...
Click to collapse
Okay, I'm heading to WalMart now
Captain_Throwback said:
Then I'd get one. You can download a ROM to it, put it in the device, and flash it from there.
Click to expand...
Click to collapse
Okay so I've put the BadBoyz HK ROM onto the SD and flashed it, am I good to reboot? I'm so scared to take any steps at this point without proper advice.
You can also do
From recovery
adb push ROMname.zip /sdcard/
PhallusOfGod said:
Okay so I've put the BadBoyz HK ROM onto the SD and flashed it, am I good to reboot? I'm so scared to take any steps at this point without proper advice.
Click to expand...
Click to collapse
Only way to know is to try it.
Captain_Throwback said:
Only way to know is to try it.
Click to expand...
Click to collapse
Okay it worked! Thank you so much for the help. A few lessons learned from this experience and I'm taking the steps to ensure it doesn't happen again.
PhallusOfGod said:
Okay it worked! Thank you so much for the help. A few lessons learned from this experience and I'm taking the steps to ensure it doesn't happen again.
Click to expand...
Click to collapse
for future reference if this happens to you again adb side load should work as long as you have the correct drivers install and you are entering it in correctly. It should be
sudo adb push path_of_rom_zip /sdcard
example
sudo adb push /home/dean/Downloads/rom.zip /sdcard
Thats if you are using Linux, windows is the same format just use the correct windows path and with no sudo.
Also, you can use adb sideload to do this:
boot into twrp, click advanced, click adb sideload, select to wipe both caches then slide to start adb sideload. Plug in your phone to your computer and enter sudo adb sideload path_to_zip.zip. For example "adb sideload C:\users\yourprofile\Downloads\rom.zip"
That will work too, hope this helps in the future or for anyone else with the same prob.

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.

Categories

Resources