[Q] Can't sideload. - One (M7) Q&A, Help & Troubleshooting

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.

Related

Please help unbrick a Telus HTC One

Hi everyone.
I unlocked the bootloader and rooted a Telus HTC One. But the latest flash went wrong and I went into bootloop. Somehow, I seem to have gotten myself into a situation where there's no ROM installed. I can still get into Bootloader and Recovery. When I try to start the phone, it's stuck at "HTC Quietly Brilliant" screen.
I've tried factory resetting, wiping everything, relocking the bootloader and loading the Factory RUU Zip using the All-In-One tool kit by Hasoon, and sideloading a ROM. Nothing seems to work. I also managed to push a ROM to the phone using the adb push command. When I try to install it using TWRP, I get an error msg "Unable to open zip file." It failed using CWM recovery as well.
When I plug the phone into a computer, it recognizes something is plugged in. But I can't open the drive at all. I get error msgs when I try to mount sdcard, system, data, anything. Things don't seem to be mounting/recognized at all. HTC sync and drivers are installed.
Experts, what else can I try?
Try downloading a Telus clean nandroid backup. Then go back into recovery (depends of what nandroid you get, make sure you have the right recovery, so if you download a CWM nandroid use CWM).
G-Bus said:
Try downloading a Telus clean nandroid backup. Then go back into recovery (depends of what nandroid you get, make sure you have the right recovery, so if you download a CWM nandroid use CWM).
Click to expand...
Click to collapse
Thanks for the suggestion. Not having any luck finding a Telus nandroid. Would it make matters worse if I try to restore from a non-Telus nandroid? My phone can't mount the /sdcard right now. Suppose I'll have to adb push it to the phone again?
runlsd said:
Thanks for the suggestion. Not having any luck finding a Telus nandroid. Would it make matters worse if I try to restore from a non-Telus nandroid? My phone can't mount the /sdcard right now. Suppose I'll have to adb push it to the phone again?
Click to expand...
Click to collapse
You don't mount the sdcard in HTC One you mount the data partition.
Also what happens if you sideload a ROM?
PHP:
adb sideload <ROM>
Have you tried erasing cache after installing a ROM if successful?
Riyal said:
You don't mount the sdcard in HTC One you mount the data partition.
Also what happens if you sideload a ROM?
PHP:
adb sideload <ROM>
Have you tried erasing cache after installing a ROM if successful?
Click to expand...
Click to collapse
When I sideloaded, It said
Can't Open /sdcard/rom.zip" (bad).
Installation aborted
Sideloading now gives me this error
failed to open driver control: No such file or directory
Restarting adbd
hmm, okay. I thought since recovery says "Install zip from sdcard" i thought /sdcard needed to be mounted. /data is mounted at the moment. No connectivity between computer and the phone unless through the All-in-one kit.
Riyal said:
Have you tried erasing cache after installing a ROM if successful?
Click to expand...
Click to collapse
And I haven't had successfully installed a ROM since I bricked the phone.
Install a custom ROM and kernel on your USB from the computer, mount the USB in Twrp using the otg cable. Flash ROM, if it doesnt boot, flash the kernel.
Flashing the kernel fixed it for me.
Another way is to use an adb pusher app and transfer thevfiles to your SD card.
Sent from my Nexus 10 using XDA Premium HD app
Thanks everyone. Somehow it sideloaded when I tried for the twentieth time.

[ISSUE SOLVED] My phone can't go to the internal sd card with the recovery!

Hello, I do some wipe in the ckw :
* wipe cache
* wipe data
* wipe dalvik-cache
* format data - cache - system
* format data in sdcard /data and /data/media
-> and here, my phone reboot when I want to go to "choose a zip from sd card", I can't do a backup... etc.
And like I do a format system, there isn't ROM which is installed in my HTC ONE... So I'm blocked !
And I don't do a "BIG" format, because I have some photos and videos which don't backup in my computer... I don't want to lose all my photos and videos.... :/
Please help !
EDIT :
When I want to flash a recovery other than the ckw, like twrp, it impossible to boot in this recovery...
I reflash the ckw and I can boot into this.
I think that my sd-card is "blocked" , and it impossible to write something in this sd-card...
EDIT 2 :
I use sideload, 5 times in order to reboot in this rom..
IT4ALii3EN said:
Hello, I do some wipe in the ckw :
* wipe cache
* wipe data
* wipe dalvik-cache
* format data - cache - system
* format data in sdcard /data and /data/media
-> and here, my phone reboot when I want to go to "choose a zip from sd card", I can't do a backup... etc.
And like I do a format system, there isn't ROM which is installed in my HTC ONE... So I blocked !
And I don't do a "BIG" format, because I have some photos and videos which don't backup in my computer... I don't want to lose all my photos and videos.... :/
Please help !
EDIT :
When I want to flash a recovery other than the ckw, like twrp, it impossible to boot in this recovery...
I reflash the ckw and I can boot into this.
I think that my sd-card is "blocked" , and it impossible to write something in this sd-card...
Click to expand...
Click to collapse
I've got a similar problem. I wanted to install a stock version and I said before formatting the phone just fine and I deleted the zip. Now only I have no operating system or copied zip. And I do not know how to install a copy on your phone.
You've wiped your sd, right?
However, when you will flash new rom, you don't have to do any wipe from recovery, it will wipe your sd and zip rom too.
You have to perform a full wipe in aroma.
Guich said:
You've wiped your sd, right?
However, when you will flash new rom, you don't have to do any wipe from recovery, it will wipe your sd and zip rom too.
You have to perform a full wipe in aroma.
Click to expand...
Click to collapse
yes i've wiped the sd but now how can I copy a rom into sd form recovery?
geox89 said:
yes i've wiped the sd but now how can I copy a rom into sd form recovery?
Click to expand...
Click to collapse
Are you using CWM or TWRP?
Guich said:
Are you using CWM or TWRP?
Click to expand...
Click to collapse
twrp
geox89 said:
twrp
Click to expand...
Click to collapse
You can use the
Code:
adb sideload or adb push
or use an OTG cable with rom into an usb pen
geox89 said:
twrp
Click to expand...
Click to collapse
You can either use adb sideload or adb push
Put your a rom zip and your adb file in a folder on your desktop, hold shift in the folder and right click, press open cmd in this location, then do
Code:
adb push ROM.zip /sdcard/ROM.zip
Replace ROM.zip with the zip name of your rom
Now wipe cache/dalvik in TWRP, and you will find the zip at the root of your SD Card
MacHackz said:
You can either use adb sideload or adb push
Put your a rom zip and your adb file in a folder on your desktop, hold shift in the folder and right click, press open cmd in this location, then do
Code:
adb push ROM.zip /sdcard/ROM.zip
Replace ROM.zip with the zip name of your rom
Now wipe cache/dalvik in TWRP, and you will find the zip at the root of your SD Card
Click to expand...
Click to collapse
I didn't format my sd-card, juste /data and /data/media (/sdcard) ...
And via fastboot, it's possible to push an .zip in my HTC ?
IT4ALii3EN said:
I didn't format my sd-card, juste /data and /data/media (/sdcard) ...
And via fastboot, it's possible to push an .zip in my HTC ?
Click to expand...
Click to collapse
No, you can in recovery with adb command like sideload (TWRP recovery) or push.
For example:
- Boot in recovery
- Open adb/fastboot folder
- Copy here the "rom"
open the prompt and use:
Code:
adb devices
(you can see if your device is connected, then
Code:
adb push name_of_rom.zip /sdcard
Now you can see your rom in your phone
Guich said:
No, you can in recovery with adb command like sideload (TWRP recovery) or push.
For example:
- Boot in recovery
- Open adb/fastboot folder
- Copy here the "rom"
open the prompt and use:
Code:
adb devices
(you can see if your device is connected, then
Code:
adb push name_of_rom.zip /sdcard
Now you can see your rom in your phone
Click to expand...
Click to collapse
Ok ! I test this now ! thx
IT4ALii3EN said:
Ok ! I test this now ! thx
Click to expand...
Click to collapse
I wrote the same thing
MacHackz said:
I wrote the same thing
Click to expand...
Click to collapse
Sorry, saw now
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
IT4ALii3EN said:
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
Click to expand...
Click to collapse
You don't need sideload if you will use adb push command
IT4ALii3EN said:
I have an error after the adb push xxxxx.zip /sdcard
error: closed
with CKW in sideload
Click to expand...
Click to collapse
Do the same thing but write
Code:
adb sideload ROMname.zip
MacHackz said:
Do the same thing but write
Code:
adb sideload ROMname.zip
Click to expand...
Click to collapse
I have :
Sideload started
Now send the package you want to apply to the device with "adb sideload <filename>...
failed to open driver control: No such file or diretory
restarting adbd...
failed to open driver control: No such file or diretory
E: can't mount /cache/recovery/last_install
E: failed to open last_install: Invalid argument
Finding update package...
Opening update package...
E: can't open /tmp/update.zip
(bad)
Installation aborted.
E: Can't mount /cache/recovery/log
E: can't open cache/recovery/log
E: Can't mount /cache/recovery/last_log
E: Can't open /cache/recovery/last_log
I don't know what I must do... :/
Boot in recovery, open propt and write:
Code:
adb push name_of_rom.zip /sdcard
If you have error, please report it here
Try looking in /data/media/
not /sdcard/
I flashed CM just to check it out and came back to ARHD and it borked my directories. Wth. That's where I had to look as I freaked out the same.
Guich said:
Boot in recovery, open propt and write:
Code:
adb push name_of_rom.zip /sdcard
If you have error, please report it here
Click to expand...
Click to collapse
can you repeat the steps again..I don't understand something goes wrong..
I have installed android sdk as said here (http://teamw.in/ADBSideload)
I enter in recovery-advanced-sideload and turn it on
Next I open cmd from folder platform-tools found in the android-sdk folder
in the platform tools folder I put the zip rom
and then I type adb push ROM.zip /sdcard/ROM.zip and nothing happens...appear a sequence of commands adb's..
Where I'm wrong?

[Q] Can only access bootloader. Soft brick?

Hey guys,
Today I attempted to root my HTC One. I successfully unlocked it and successfully flashed twrp 2.5 onto my phone. Without creating a backup and after flashing superuser and arhd 11.0 my phone would only boot into bootloader. Then I found I had trouble going back into recovery. I tried reflashing twrp and it worked and led me back into recovery. I was unable to find any of the ROMs I put into the internal memory and I get an error that says I am unable to mount data. I've tried flashing cwm recovery, which only lead to booting into bootloader, and then back to twrp which worked at first, but now I can't get either to work. I've been at this for hours. Hope any of you guys could help me out. Thanks in advance!
Also, I think my problem began by trying to flash arhd 11.0 from stock without doing a full wipe.
Update: Was able to get twrp to work again by clearing cache, but still unable to mount data.
This is an error i see inside twrp.
E : Unable to mount '/data'
E : Unable to recreate /data/media folder.
Updating partition details...
E : Unable to mount '/cache'
E : Unable to mount '/data'
E : Unable to mount internal storage.
E : Unable to mount /data/media during GUI startup
E : Unable to mount '/cache'
E: TWFunc : : Copy_Log -- Can't open destination
etc...
Click to expand...
Click to collapse
Update: SOLVED. Tried flashing Viper Rom and it worked great.
I believe that you install ARHD 11 from a 4.1 based rom, right? If that's the case, moving from 4.1 to 4.2 will mess up your data structure a bit. Because you have flashed arhd 11, all the rom files you had put earlier on 4.1 will be at other folder. My advice is you boot into twrp, open adb sideload (advance menu). On your computer use "adb sideload rom.zip" (rom.zip is the name of the rom you wanna flash). After it loaded the rom to the sd card, reboot to bootloader and you should see a file named sideloaded.zip. flash it. After finish, clear cache and reboot system.
or you can search in media/0
hope it helps
ryryzz said:
I believe that you install ARHD 11 from a 4.1 based rom, right? If that's the case, moving from 4.1 to 4.2 will mess up your data structure a bit. Because you have flashed arhd 11, all the rom files you had put earlier on 4.1 will be at other folder. My advice is you boot into twrp, open adb sideload (advance menu). On your computer use "adb sideload rom.zip" (rom.zip is the name of the rom you wanna flash). After it loaded the rom to the sd card, reboot to bootloader and you should see a file named sideloaded.zip. flash it. After finish, clear cache and reboot system.
or you can search in media/0
hope it helps
Click to expand...
Click to collapse
So I should sideload and flash a 4.1 based rom or a 4.2?
I've tried sideloading ARHD 11 and it brings me into the same bootloader loop. Could you send me a link to a ROM that may work?
Here's the steps I am taking if it helps;
1. fastboot erase cache
2. fastboot flash recovery twrp.img
3. go into recovery
4. adb sideload arhd11
5. reboot into recovery
6. flash sideload
7. reboot system
8. gives me a message saying my phone is not rooted would I like to install SuperSU now?
9. regardless of if i put 'do not install' or 'swipe to install' phone reboots into bootloader and I start over with the same problem
Click to expand...
Click to collapse
zasuncion said:
So I should sideload and flash a 4.1 based rom or a 4.2?
I've tried sideloading ARHD 11 and it brings me into the same bootloader loop. Could you send me a link to a ROM that may work?
Here's the steps I am taking if it helps;
Click to expand...
Click to collapse
Can you access recovery?
If yes, adb push name_of_rom.zip /sdcard/
rom will now be on your sdcard after the transfer. install it.
all roms using aroma installer crash sometimes, just keep trying.
edit: IF you can't find it, select install zip from sideload in recovery and command
adb sideload name_of_rom.zip
after the transfer it will begin to install automatically - you shouldn't need to reboot after a sideload.
redbull123 said:
Can you access recovery?
If yes, adb push name_of_rom.zip /sdcard/
rom will now be on your sdcard after the transfer. install it.
all roms using aroma installer crash sometimes, just keep trying.
Click to expand...
Click to collapse
Yes, I can access recovery. Just tried this. After flashing ARHD11 again I am still rebooting into bootloader.
Maybe it's just the ROM itself that I'm having trouble with? Could anyone direct me to one that will work for sure in my case?
Also after every flash, when I choose to reboot, twrp gives me a message saying my phone is not rooted and if I should install SuperSU. Should I say yes or not install? or is there a problem with flashing the ROM?
zasuncion said:
Yes, I can access recovery. Just tried this. After flashing ARHD11 again I am still rebooting into bootloader.
Maybe it's just the ROM itself that I'm having trouble with? Could anyone direct me to one that will work for sure in my case?
Also after every flash, when I choose to reboot, twrp gives me a message saying my phone is not rooted and if I should install SuperSU. Should I say yes or not install? or is there a problem with flashing the ROM?
Click to expand...
Click to collapse
So ARHD goes through and installs (as in gets to 100% in aroma) then reboots to bootloader?
Sent from my HTC One using xda premium
redbull123 said:
So ARHD goes through and installs (as in gets to 100% in aroma) then reboots to bootloader?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Yes. And the only way to get back into recovery from there is to reflash. I also can't use cwm, I can only use twrp. If that means anything.

[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