[Q] Encrypted HTC One. No flashable ROMs. - Android Q&A, Help & Troubleshooting

Hi, I have an encrypted HTC One, as the title says I cannot flash a rom, accidentally wiped internal storage. I have S-OFF. The /data/ partition is not mounting when I need to wipe it, cannot wipe /data/, adb sideload won't work. SOL?

arbyte said:
Hi, I have an encrypted HTC One, as the title says I cannot flash a rom, accidentally wiped internal storage. I have S-OFF. The /data/ partition is not mounting when I need to wipe it, cannot wipe /data/, adb sideload won't work. SOL?
Click to expand...
Click to collapse
UPDATE:
I was able to boot into fastboot and flash CWM touch and it let me wipe /data/ to get rid of the encryption
I reflashed to TWRP, tried using adb sideload but when the rom was being installed, it said 'this is not for your device, your device is a m7 this is for m7vzw'
ideas?

arbyte said:
UPDATE:
I was able to boot into fastboot and flash CWM touch and it let me wipe /data/ to get rid of the encryption
I reflashed to TWRP, tried using adb sideload but when the rom was being installed, it said 'this is not for your device, your device is a m7 this is for m7vzw'
ideas?
Click to expand...
Click to collapse
You are using a rom for the Verizon version, while yours is the m7 gsm. You could try to install this cyanogenmod.

Related

Corrupt /system & /data.. HELP?

Okay, so I am s-off, and have TWRP recovery. I was trying to use the superwipe.zip, and it formatted and then I tried to flash CleanROM, then it would only boot into the bootloader. I then tried to flash ViperROM, and was able to get it to flash, and boot. So I rebooted and tried to rewipe and flash CleanROM again. Somewhere in the midst of all this it started telling me it couldn't mount /system, /data. I'm guessing corrupted partitions. Does anyone know if I can format them from fastboot or something else I could try? I can get into bootloader and recovery. Anyhelp would be graet.
mobius1484 said:
Okay, so I am s-off, and have TWRP recovery. I was trying to use the superwipe.zip, and it formatted and then I tried to flash CleanROM, then it would only boot into the bootloader. I then tried to flash ViperROM, and was able to get it to flash, and boot. So I rebooted and tried to rewipe and flash CleanROM again. Somewhere in the midst of all this it started telling me it couldn't mount /system, /data. I'm guessing corrupted partitions. Does anyone know if I can format them from fastboot or something else I could try? I can get into bootloader and recovery. Anyhelp would be graet.
Click to expand...
Click to collapse
you should be able to format them from recovery.
kaos420 said:
you should be able to format them from recovery.
Click to expand...
Click to collapse
They aren't even mountable from recovery.
I don't trust super wipe zips because of things like that.. wait... Did you ever flash CWM?
sent from my EVO LTE
mobius1484 said:
They aren't even mountable from recovery.
Click to expand...
Click to collapse
You can wipe the system and stuff and you recovery. This should help. If you do put the roms on your device put them on the phone memory and not the external memory source. Tell me if this works.
krobinso2295 said:
You can wipe the system and stuff and you recovery. This should help. If you do put the roms on your device put them on the phone memory and not the external memory source. Tell me if this works.
Click to expand...
Click to collapse
I did fix the problem, but thanks. It was as you said. I read somewhere that apparently md5's and potentially files could corrupted in twrp while dealing with the ext_sd.
Sent from my EVO using xda app-developers app

[Q] I think TWRP mangled my partitions, please help

So i've posted pieces of this in other threads assuming i knew what the problem was, but nobody has been able to help me so far so i'm posting the whole saga anew.
First off, my phone:
LazyPanda S-OFF
HBOOT:1.12.111
RADIO-1.12.11.0809
I was running MeanRom 4.8 with TWRP 2.3.0.1
Like so many others i tried to OTA update just to get stuck at the recovery screen on reboot. I then found out that i had no ROM installed. I tried to wipe (cache, dalvik, system, etc) and flash a new ROM but i kept getting FAIL messages in TWRP.
"Formatting and mounting partition...
e:error in /sdcard/meanrom-ics-v49-jewel-ltevo.zip
(status 1)
error flashing zip '/sdcard/meanrom-ics-v49-jewel-ltevo.zip'
updating partition details"
I figured it might be a botched DL so i did it manually, MD5 checked out after copying to the mounted device. Attempted to flash the clean DL and i got the same error message. I nandroid restored an old stock rooted ROM I had and it installed just fine. After booting up to the system ROM for the first time I immediately got an "Internal storage is low" error. Checked and after a clean restore (no apps installed, fresh out of the box...) i only have ~200MB free in the app storage section (out of 1.92GB). I can't fathom what's taking up all the other space, nothing seems to be there. Because of this i can't install Titanium, Rom Toolbox, or anything else that may be remotely useful. I tried fixing permissions and re-wiping, re-restoring and i got the same thing.
I tried to flash the TWRP 2.2.2.0 image from recovery thinking this was the problem and got this message:
"updating partition details
E:unable to open ums lunfile 'sys/class/android_usb/android/f_mass_sto.....
Formatting cache...done
Formatting Data... done
Using rm -rf on .android_secure
Updating partition details
E:unable to open ums lunfile 'sys/class/android_usb/android/f_mass_sto.....
E:unable to open zip file."
And THEN i tried to ABD flash the TWRP image through fastboot with "fastboot flash recovery openrecovery-twrp-2.2.2.0-jewel.img" then 'fastboot flash boot openrecovery-twrp-2.2.2.0-jewel.img' and got this error:
"FAILED (remote partition is not allowed to be flushed!)"
So, i'm stuck with a device that loads a stock ROM, cant flash a new recovery or ROM, and cant' install anything useful because it's full after a restore. Does anyone have any suggestions how to clean/resore my partitions through ADB or a script? Your advice is much appreciated.
I can't help, but I suspect you'd have better luck posting this in the TWRP thread.
I'm wondering if fastboot erase cache would help here. I've seen that command used I think to clean a partition, but it may have been for something else. Sorry, this is a bit over my head. Hope you get help.
hurled from my AOKP'd Evo LTE. Enjoy.
You might have to re lock and run the RUU and then unlock and flash twrp, 2.3 has issues with the partitions for some reason so stick to 2.2
Try updating to the latest twrp. The latest is 2.3.1.0 not 2.3.0.1.
2.3.0.1 had issues which you can read about here
http://www.pocketables.com/2012/10/...for-htc-evo-4g-lte-fixes-rom-flash-death.html
It's been updated already? Cool
om4 said:
It's been updated already? Cool
Click to expand...
Click to collapse
Yeah, it fixes the mounting of the sdcards and the flashing rom problem
You may also want to get the 1.12.2222 hboot from the unlimited site. It has fastboot commands enabled.
I noticed you tried flashing TWRP to both the recovery and boot partitions...Do you get the same error when you flash to just recovery? TWRP should not be on boot.
Sent from my EVO LTE

Think I may have bricked my prime?

I wanted to install a custom ROM for my TF201. So I downloaded the Energy ROM and placed it within the SD Card as update.zip
I flashed CWM and ran the Asus Bootloader Unlocker.
Then using Rom Manager rebooted into CWM, following on screen prompts I installed from SD Card the ROM. The install completeted successfully, the tablet restarted and showed the Eee Pad logo, but got stuck. I've tried cold booting from recovery mode, tried reinstalling the ROM but nothing is working. It is refusing to boot up properly.
Have I bricked the tablet, if so how do I fix it if at all possible?
geon106 said:
I wanted to install a custom ROM for my TF201. So I downloaded the Energy ROM and placed it within the SD Card as update.zip
I flashed CWM and ran the Asus Bootloader Unlocker.
Then using Rom Manager rebooted into CWM, following on screen prompts I installed from SD Card the ROM. The install completeted successfully, the tablet restarted and showed the Eee Pad logo, but got stuck. I've tried cold booting from recovery mode, tried reinstalling the ROM but nothing is working. It is refusing to boot up properly.
Have I bricked the tablet, if so how do I fix it if at all possible?
Click to expand...
Click to collapse
Did you do an MD5sum check on your download? Also have you tried flashing another rom? And my third and final question did you wipe Dalvik cache, cache, and factory reset before you installed?
And this is more of a preference thing but I'd suggest TWRP over CWM. I've had issues on other devices with CWM but TWRP on the Prime is perfect.
McJesus15 said:
Did you do an MD5sum check on your download? Also have you tried flashing another rom? And my third and final question did you wipe Dalvik cache, cache, and factory reset before you installed?
And this is more of a preference thing but I'd suggest TWRP over CWM. I've had issues on other devices with CWM but TWRP on the Prime is perfect.
Click to expand...
Click to collapse
I did a factory reset, then selected wipe Dalvik cache and cache.
How would I flash another ROM? I'm not sure how I can get another ROM onto the device as CWM cannot search external storage, only internal?
I was going to use TWRP but wasn't sure how to get it flashed onto the device, where as CWM was simpler. I didn't do an MD5 check on the ROM
EDIT:
Just tried using Fastboot USB to flash the official ASUS ROM(Tried latest JB and ICS 4.0.3), both write to the device okay but both fail
It says "FAILED <Remote: <>"
On the device it shows: Failed to process command flash:system error(0x170003)
geon106 said:
I did a factory reset, then selected wipe Dalvik cache and cache.
How would I flash another ROM? I'm not sure how I can get another ROM onto the device as CWM cannot search external storage, only internal?
I was going to use TWRP but wasn't sure how to get it flashed onto the device, where as CWM was simpler. I didn't do an MD5 check on the ROM
EDIT:
Just tried using Fastboot USB to flash the official ASUS ROM(Tried latest JB and ICS 4.0.3), both write to the device okay but both fail
It says "FAILED <Remote: <>"
On the device it shows: Failed to process command flash:system error(0x170003)
Click to expand...
Click to collapse
IT LIVES!!!
Don't know how I did it, but I managed to get TWRP installed on it. Using Fastboot somehow or ADB. It booted into TWRP and mounted external SD card, then flashed an official JB ROM(the Prime was on ICS before) and it has now booted up fine
I will now try and re-flash a custom ROM again(a different one) using TWRP but it is all looking superb
I was worried i'd have to claim on the extended insurance I took out with the retailer

[Q] TWRP Problem, need serious help

I have a DNA and while trying to restore to a previous backup I made in an attempt to restore to a stock rom, I ended up wiping my system from TWRP's wipe screen. Now i'm stuck in a boot loop and despite adb pushing a rom over to try to flash and recover to it, I'm pretty sure all of my files are gone and i'm screwed. Help?
dscuevas said:
I have a DNA and while trying to restore to a previous backup I made in an attempt to restore to a stock rom, I ended up wiping my system from TWRP's wipe screen. Now i'm stuck in a boot loop and despite adb pushing a rom over to try to flash and recover to it, I'm pretty sure all of my files are gone and i'm screwed. Help?
Click to expand...
Click to collapse
You should still be able to get into the bootloader by holding volume down and power or by adb reboot recovery. Then just adb push the rom to somewhere like /data(just because I know it exists) and flash the rom.
123421342 said:
You should still be able to get into the bootloader by holding volume down and power or by adb reboot recovery. Then just adb push the rom to somewhere like /data(just because I know it exists) and flash the rom.
Click to expand...
Click to collapse
I can get to TWRP's recovery screen, and push the rom to /data, but when I try to flash and install I get error messages saying it failed because it's unable to mount /storage or /data
dscuevas said:
I can get to TWRP's recovery screen, and push the rom to /data, but when I try to flash and install I get error messages saying it failed because it's unable to mount /storage or /data
Click to expand...
Click to collapse
make sure they are mounted in the twrp mount screen. You may have to do a full wipe of them too.
123421342 said:
make sure they are mounted in the twrp mount screen. You may have to do a full wipe of them too.
Click to expand...
Click to collapse
I can mount system and cache, but not data
dscuevas said:
I can mount system and cache, but not data
Click to expand...
Click to collapse
install CWM in bootloader and try it again
.torrented said:
install CWM in bootloader and try it again
Click to expand...
Click to collapse
It worked! Thank you guys so much for your help haha

[Q] Boot Loot -- Help!

Here's my situation--I had been running MeanBean for a while and decided to try Kush's KK build (http://forum.xda-developers.com/showthread.php?t=2518211&highlight=loop). I flashed the recovery he linked to, then installed the rom and gapps he linked to. TWRP said everything went successfully. But, when I reboot, the phone just hung at the HTC splash screen. I tried flashing again, downloading fresh and flashing again, wiping the cache, etc. Nothing worked.
So, I decided to go back to my last nandroid of MeanBean. But, after TWRP "successfully" recovered to the latest nandroid, I got stuck in a boot loop. The phone gets through the first part of the boot animation, then freezes and reboots. I tried installing a fresh version of MeanBean, flashing back to TWRP 2.6.3, but nothing has eliminated the boot loop.
I'm s-off and I've never gotten stuck like this before. Anyone have any thoughts?
Reboot to the bootloader and run the command "fastboot erase cache" from a command prompt, then try a fresh install. Are you sure you're S-off?
Sent from my HTC EVO 4G LTE
Thanks for the suggestion. I erased the cache from fastboot and did a fresh install of MeanBean. No luck--still in the same boot loop.
tbhtjd said:
Thanks for the suggestion. I erased the cache from fastboot and did a fresh install of MeanBean. No luck--still in the same boot loop.
Click to expand...
Click to collapse
Have you tried fastboot flashing the boot image from the rom? You shouldn't need to if you're s-off but couldn't hurt if you're still getting boot loops.
Sent from my EVO LTE
Thanks, Fin. I tried fastboot flashing to boot.img separately (which shouldn't be necessary with s-off) after a fresh install, and I'm still in the boot loop. Any other ideas?
Go to recovery, do a full system wipe (data, system, Dalvik & cache) and re-flash the ROM after a fresh download. Really, though, you shouldn't have to wipe cache, since it's under /data.
Sent from my HTC EVO 4G LTE
Okay, did a full wipe, got a fresh download and installed. Still in the same boot loop. I also tried flashing TWRP fresh again. Any other ideas or am I bricked?
tbhtjd said:
Okay, did a full wipe, got a fresh download and installed. Still in the same boot loop. I also tried flashing TWRP fresh again. Any other ideas or am I bricked?
Click to expand...
Click to collapse
What ROM are you trying to flash at this point, and also, which recovery are you using, the one posted in Deck's OP, or one from the TWRP website? If you're trying to flash a 4.4 ROM, use the recovery posted in Deck's OP. If you're trying to flash a different ROM, use the regular TWRP recovery.
Sent from my HTC EVO 4G LTE
FinZ28 said:
What ROM are you trying to flash at this point, and also, which recovery are you using, the one posted in Deck's OP, or one from the TWRP website? If you're trying to flash a 4.4 ROM, use the recovery posted in Deck's OP. If you're trying to flash a different ROM, use the regular TWRP recovery.
Sent from my HTC EVO 4G LTE
Click to expand...
Click to collapse
Trying to flash MeanBean, which is what I've been using previously. I flashed the regular 2.6.3 Jewel TWRP.
It sounds to me like you have the same problem I did. When in recovery and you wipe caches does it say failed? Look into your internal sdcard and if it is empty then it has been erased and corrupted. If so remove your sd card and plug your phone into your pc and mount usb. If it says the card needs to re-format then that is your problem. Re-format your internal sdcard and replace your external sd-card. Flash meanbean and reboot.
fredgar75 said:
It sounds to me like you have the same problem I did. When in recovery and you wipe caches does it say failed? Look into your internal sdcard and if it is empty then it has been erased and corrupted. If so remove your sd card and plug your phone into your pc and mount usb. If it says the card needs to re-format then that is your problem. Re-format your internal sdcard and replace your external sd-card. Flash meanbean and reboot.
Click to expand...
Click to collapse
Hmm, don't think that's it. I've been able to mount internal storage and wipe the cache, etc. just fine.
I'm at a loss at this point as to what the problem might be. If you shoot me a PM I have one last option for you.
Sent from my HTC EVO 4G LTE

Categories

Resources