*SOLVED*
I was having some cell issues so i decided to Wipe and that i may aswell update my ROM to insertcoin 4.0.5, after wiping internal storage I copied the zip over, wiped system, data and caches and tried flashing the ROM.
:"Unable to open zip file"
"Error flashing zip"
I tried using ADB to push a new zip but nothing shows up in adb devices, under device manager i get a yellow triangle by my "One" and updating within device manager doesnt work, and neither did reinstalling the latest htc sync manager.
can anyone help me?
n00b1c1d3 said:
I was having some cell issues so i decided to Wipe and that i may aswell update my ROM to insertcoin 4.0.5, after wiping internal storage I copied the zip over, wiped system, data and caches and tried flashing the ROM.
:"Unable to open zip file"
"Error flashing zip"
I tried using ADB to push a new zip but nothing shows up in adb devices, under device manager i get a yellow triangle by my "One" and updating within device manager doesnt work, and neither did reinstalling the latest htc sync manager.
can anyone help me?
Click to expand...
Click to collapse
"Unable to open zip file"
"Error flashing zip"
This probably means you just need to use a different recovery to install the Rom. What recovery did you use?
ok nevermind, after ages of searching i came across this http://forum.xda-developers.com/showthread.php?p=43378118#post43378118, seemed sketchy but figured i'd try, managed to communicate in adb after, successfully pushed the rom and it installed ok.
Related
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.
i just purchased an HTC ONE and was successful in unlocking and installing TWRP..whereas i flashed TWRP via fastboot...
when i rebooted into recovery everything was as good as expected but ran into a problem installing superuser via recovery..
when i start recovery and i come to the start screen,,,i click on install but cannot access the superuser.zip file..it does not find the superuser.zip file...and if i try to browse for that file it will not let me mount the storage,,,it will only let me mount the internal storage where the superuser file is not located...
when i click on "install zip from sdcard" it shows E:cant mount /cache/recovery/command as well as
E:can't mount /external_sd
i have tried to install different recoveries and they seem to work fine but i get the same thing when i try to install superuser.zip
it seems to me that i am not able to access that specific partition where the .zip files reside
hopefully i am just overlooking something simple but i've been round and round and cant seem to work it out..
i have had an evo 3d in the past and successfully unlocked/rooted/and installed ROMs before so i am not what some might call a newbie at this..
BTW,,,,i installed Hansoon2000's HTC One All-In-One Toolkit and started to tinker with that as well..there is an extra where one can sideload a ROM so i figured i'd try that to see if it would load the superuser.zip.
it found the package,,opened it,,,installed it,,copied,fixed permissions,symlinked and showed the installation as complete..but alas no root...
any help would be greatly appreciated
spurfan33 said:
i just purchased an HTC ONE and was successful in unlocking and installing TWRP..whereas i flashed TWRP via fastboot...
when i rebooted into recovery everything was as good as expected but ran into a problem installing superuser via recovery..
when i start recovery and i come to the start screen,,,i click on install but cannot access the superuser.zip file..it does not find the superuser.zip file...and if i try to browse for that file it will not let me mount the storage,,,it will only let me mount the internal storage where the superuser file is not located...
when i click on "install zip from sdcard" it shows E:cant mount /cache/recovery/command as well as
E:can't mount /external_sd
i have tried to install different recoveries and they seem to work fine but i get the same thing when i try to install superuser.zip
it seems to me that i am not able to access that specific partition where the .zip files reside
hopefully i am just overlooking something simple but i've been round and round and cant seem to work it out..
i have had an evo 3d in the past and successfully unlocked/rooted/and installed ROMs before so i am not what some might call a newbie at this..
BTW,,,,i installed Hansoon2000's HTC One All-In-One Toolkit and started to tinker with that as well..there is an extra where one can sideload a ROM so i figured i'd try that to see if it would load the superuser.zip.
it found the package,,opened it,,,installed it,,copied,fixed permissions,symlinked and showed the installation as complete..but alas no root...
any help would be greatly appreciated
Click to expand...
Click to collapse
Try using the toolkit to sideload a Sense-based ROM, they come already rooted.
Sent from my HTC One using xda premium
what is the point in that ,,,,if i wanted to install any rooted apps i would not be able to..
there has to be someone with this same issue..
it seems that i am not able to get superuser to install to the correct partition
spurfan33 said:
what is the point in that ,,,,if i wanted to install any rooted apps i would not be able to..
there has to be someone with this same issue..
it seems that i am not able to get superuser to install to the correct partition
Click to expand...
Click to collapse
My thinking is that you wouldn't have to install superuser.zip - the ROM has it pre-installed already. Where /what folder have you saved the superuser.zip you're trying to install? Also, try clearing cache/davlik cache
All-In-One Toolkit try it again install cwm then permanent root i had your problem that worked for me had to do it 3 times to push super user
jaythenut said:
All-In-One Toolkit try it again install cwm then permanent root i had your problem that worked for me had to do it 3 times to push super user
Click to expand...
Click to collapse
i have tried that several time but keep getting this
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "echo 'boot-reco
ery ' > /cache/recovery/command"
system/bin/sh: can't create /cache/recovery/command: Permission denied
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "echo '--update_
ackage=SDCARD:SuperSU.zip' >> /cache/recovery/command"
system/bin/sh: can't create /cache/recovery/command: Permission denied
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>adb shell "reboot recovery
Reboot: Operation not permitted
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>pause
Press any key to continue . . .
C:\Users\mark\Desktop\One_M7_All-In-One_Kit_v1.2\data>
i have my device unlocked and TWRP successfully installed
i put this file (Android_Revolution_HD_Root_and_BusyBox.zip) on my thumb drive and tried to install it from OTG but with no success..when i do that i lose my recovery and have to reinstall that via fastboot
i just tried the AIO toolkit again to reinstall TWRP and to have it install the superuser files...
everything goes as planned but after the TWRP install it reboots onto fastboot where i am supposed to enter recovery,,,but when i do it says that i am entering recovery but never does,,,therefore it will not install the superuser files..
the only other way i can get a successful recovery install is if i flash one via fastboot,,,but then i cant find a way to install superuser ,,once i enter recovery when i click to install a superuser.zip file i cannot find the one i placed on my phone ...
in the video tutorials it shows that when i chose to install the superuser.zip file i navigate to the download folder,,,,but there is not such folder.
i placed the superuser.zip file on a thumb drive and navigated to it and clicked on it to install,,,it said that it installed but it didnt,,,i assume thats because it needs to be placed in a system folder
FINALLY !!!!
OK,,,i finally got it all wroking,,,i think,,,,,LOL
i followed the instructions here http://forum.xda-developers.com/showthread.php?t=2236620
come to find out that the partitions needed are hidden and are set so where one cannot write to them...
alot of digging allowed me to stumble across this...
thank you to everyone for all the help and patience
Hello guys, I really need your help here.
I will try to explain the situation as detailed as possible, if you still need any info, just ask.
I own a HTC One, carrier locked (Base) and not the sprint version, whatever that is.
Yesterday I unlocked the bootloader and rooted the device, following a tutorial by a german tech site. It all went well, everything worked and I was happy. I did a complete backup of the Internal Storage, as accessible by PC. I did also install TWRP and used it to flash SuperSU. I did not do any backup using TWRP.
After downloading a few root apps, a few demanded missing Busybox, so I went to research a bit. I found some installers, downloaded the first one, and clicked install. It said something along the lines of "Install failed, try another location", so I did that. It failed again. I uninstalled the installer and tried another, same result. After a bit of research, I found out I had to unlock read/write permissions for the system partition.
I then found this Thread, telling to flash a .zip file which contains
- Everything necessary to install the latest SuperSU and supporting files (su binary included)
- Install latest busybox in recovery
- A ported wp_mod.ko module for this kernel
- A script to start wp_mod.ko
- A modified boot.img - insecured (allows for remounting of /system to rw when in Android), enabled USB debugging by default, and added busybox run-parts (alows scripts to run during boot).
Without noticing that the title said "Sprint HTC One" and without knowing the difference, I went on and flashed this .zip using TWRP.
The first time, it turned off/rebooted before it was finished (before TWRP showed the reboot option). Turning it on again, it was stuck on the "HTC - quietly brilliant" screen. I held the power button until it turned off, booted into recovery (TWRP) again and tried flashing the .zip again, this time seemingly successful. I clicked reboot, and it again got stuck on the "HTC - quietly brilliant" screen, now I don't know what to do.
After trying rebooting a few times, I did a factory reset, now before rebooting again, TWRP gave me the warning "No OS - Are you sure to reboot?" or something similar, which I find very strange.
Is my backup of Internal Storage of any use? (BTW: I can not access it right now, sadly)
Does anyone know what I could do?
Thanks in advance for all answers.
Oneiiros said:
Hello guys, I really need your help here.
After trying rebooting a few times, I did a factory reset, now before rebooting again, TWRP gave me the warning "No OS - Are you sure to reboot?" or something similar, which I find very strange.
Is my backup of Internal Storage of any use? (BTW: I can not access it right now, sadly)
Does anyone know what I could do?
Thanks in advance for all answers.
Click to expand...
Click to collapse
Long description, but you didnt say what you want to accomplish.
Anyway, probably easiest to flash a custom ROM using one of the following methods:
1- OTG Cable
2- adb push <name of rom>.zip /sdcard/
3- adb sideload <name of rom>.zip
Hi All,
I was on Omni Rom 4.4.2. today I downloaded CM Nightly 10.2. Placed it on the SD card..rebooted into recovery. Wiped data, cache everything and then ran the CM ROM file to install from zip.I got a warning that said installation failed. Now i don't have any ROM as i did a full wipe. When i try to mount USB storage..nothing happens. I have TeamWIn recovery. I don't knwo what to do now. Please help.
harry92008 said:
Hi All,
I was on Omni Rom 4.4.2. today I downloaded CM Nightly 10.2. Placed it on the SD card..rebooted into recovery. Wiped data, cache everything and then ran the CM ROM file to install from zip.I got a warning that said installation failed. Now i don't have any ROM as i did a full wipe. When i try to mount USB storage..nothing happens. I have TeamWIn recovery. I don't knwo what to do now. Please help.
Click to expand...
Click to collapse
If you have an sd card it will be easier. Just load a working rom in it using computer. Otherwise, there seems to be a sideload option in twrp, but i have not tried.
forest1971 said:
If you have an sd card it will be easier. Just load a working rom in it using computer. Otherwise, there seems to be a sideload option in twrp, but i have not tried.
Click to expand...
Click to collapse
Sideloading is simple
go to advanced settings and enable sideload.
connect phone to pc and open command prompt.
run command
adb sideload "name of zip"
this should install the zip... may be the CM10.2 you downloaded was a bad zip. download again and match md5.
Whenever I go to flash the viper mod, which I really want to get. It says "Unable to open zip file. Error flashing zip /sdcard/ViperOneM8_1.4.0.zip"
Here's what I've tried to do to troubleshoot the issue.
- First I tried loading it on my phone with push, same error.
- I then reboot my phone in factory settings, turn on File Sharing mode, and transfer it to the external that way. Then rebooted in recovery and tried to install. Same error.
- I then moved it from the external_sd to the internal sd. Still the same error.
I've also tried some of these steps after deleting the old copy off my phone/computer and downloading another. Same error. Also, if I let it check the md5, I get an error. So, I guess I keep getting a bad download? I'm not sure. I do know that the file opens up fine on my computer.
Only things I can think of is make sure your flashing with TWRP and not any other recovery. But it does sound like you're getting a bad download.
Sent from my 831C using Tapatalk