[Completed] Odd problems trying to root HTC One (M7) - XDA Assist

So, I have a Sprint HTC One (M7) that I tried to root following this guide:
http://www.xda-developers.com/how-to-root-the-htc-one-m7-and-install-recovery-xda-developer-tv/
Custom Recovery was flashed successfully (I tried both TWRP 2.5 and CWM 6.0.4.6), and I immediately got the following errors:
E:Can't mount /cache/recovery/command
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
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
I can't access /cache, in short. So, I tried to find my SD card, but my phone doesn't have a slot for one, and I couldn't figure out how to write to the virtual one inside the phone, so I passed SuperSU-v2.46.zip through sideload, and it failed when it couldn't access cache. I was then rather foolish, and tried to just flash a ROM from Android Revolution HD, found on this thread:
http://forum.xda-developers.com/showthread.php?t=2265618 (I used this particular ROM:Android_Revolution_HD-One_92.0_4a9d05.zip).
Again, I passed it using sideload because I don't have an SD card. The install formatted my partitions, then at 30% (when it began to copy files), it failed. Thus, I was left with an empty phone, but an unlocked bootloader. I tried a few more things, to no avail.
I think if I could figure out how to put something in the virtual SD inside, that might get me there, since I'm guessing that it's formatting over the location of the installer/image. Also, I found that if I use the "Wipe /cache" from CWM, I don't get those errors, but then I can't reboot into the recovery again, so I'm guessing that it's saving it in the /cache partition. I use the command "fastboot flash recovery CWM_image.img" to put my recovery in there.
Anyway, any ideas or help would be nice. I know enough to be dangerous, but clearly not enough to get myself out of this mess. Any help would be appreciated.

Hi there
You'd be best served asking for help from the experts who own your device, here
So you came at XDA-Developers to find help? (Beginners Thread)
Good luck

Related

CWM crashed and phone wont start up correctly! please help!

I've looked all over the internet for a solution but they are either only part of my problem or do something that I don't understand with the SDK kit.
So I started up my rooted Droid incredible phone today and it just freezes at the HTC incredible flash screen. I have to pull out the battery to restart it. I can get into CWM recovery but it says
E:can't mount /cache/recover/command
E:can't open /cache/recovery/log
E:can't mount /cache/recover/log
E:can't mount /cache/recover/last_log
E:can't open /cache/recover/last_log
It wont even read anything from the SD card. So I am unable to mount the SD card or access it by usb through the phone.
I tried a factory reset and nothing happened. CWM wont even run a recovery or factory reset.
I am at a total lose.
Please help me fix this!

[Q] Urgent - Boot loop and unable to restore to stock.

Alright guys, I've got a question. I have my brothers nexus s that has had CM9 A11 on it and we decided to move to the latest CM9. Long story short, I am no longer able to boot the phone up, but can only access CWM Recovery and Bootloader/Fastboot mode. Trying to boot results in a bootloop. I need help getting this thing back to stock however I can. I've tried to flash recovery.img via fastboot but cannot get my computer to recognize the phone in order to do what I need. He would like his phone back ASAP and I hate to tell him its bricked for a few days. Thanks!
Download full OTA ROM from the link in my signature. Boot into CWM, mount USB storage, and transfer the file to SD card. Flash it. Done.
Just make sure you download the correct ROM for your phone model.
Sent from my Nexus S using xda premium
Video on that page will show you how to install drivers on a windows-based machine to recognise the phone for fastboot, and provide files to do so.
Also, can't you go into CWM --> mounts and storage --> mount usb storage (while plugged into the computer) then copy over any files you need, then flash through recovery.
I forgot to mention that I am getting this when trying to format cache:
E:Can't find misc
E:failed to find "cache" partition to mount at "/cache"
E:Can't mount /cache/recovery/command
E:Can't find misc
E:failed to find "cache" partition to mount at "/cache"
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to find "cache" partition to mount at "/cache"
E:Can't mount /cache/recovery/latest_log
E:Can't open /cache/recovery/latest_log
E:Can't find misc
E:failed to find "cache" partition to mount at "/cache"
I tried to install the OTA update like you said but got the following:
assert failed: write_raw_image("/tmp/boot.img".
"boot")
E:Error in /sdcard/(OTA file name here)
(status 7)
Installation aborted.
Maybe the internal SD card is bad? Any thoughts?
When you get the drivers installed, download the latest 5.0.2.0 CWM from here.
Alright, so I got fastboot to recognize the phone, but am having another problem. It gave me an error when I gave the command to flash the new CWM. I tried to install pdanet for the drivers, and the phone says at the bottom "FASTBOOT STATUS - FAILInvalid Command". I really think something has been corrupted, any ideas on how to fix it/restore it? Thanks for all the help guys.
Fastboot status is not a command.
Fastboot devices is the command you use to test if it sees the device . The serial number will show.
uh oh sounds like someone flashed brickROM V1
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.

Unable to install ROMS or boot, suspect faulty internal memory

Hi.
First post in the forum.
Just bought myself a brand new Lenovo A830, seems pretty new as there are very few custom roms out there.
It also doesn't help that this is a Chinese model and I can't seem to find support for it anywhere.
I got it delivered from etotalk.com with etotalk's own rom installed, and immediately started searching for custom roms.
Reason for this was faulty English, force close etotalk tools and Chinese info/submenues.
After trying out a few different roms, I've somehow gotten to a point where the internal memory is unavailable.
I think that one of the roms I installed switched the internal and the external memories, because I noticed a bunch of system
folders on the external sd. After that I wiped and formatted everything I could find from CWM 6.0.3.0, and after this, I'm unable
to install or mount anything. I hope this is possible to resolve without involving the external sd into the puzzle, because really, it seems to me
that I've managed to screw up the internal partitions.
Now, when I startup CWM, I instantly get the following messages:
E:Can't mount /cache/recovery/command
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
Click to expand...
Click to collapse
I tried to recreate the partition table, using this tutorial:
http://forum.xda-developers.com/showthread.php?t=1158377
I was able to complete the tutorial, but it was not successful. Meaning I was able to create all of the partitions, but still have issues.
I've tried installing these roms:
http://www.needrom.com/mobile/lenovo-a830-5/
(worked installing before, got it up and running, then started messing around again)
and this
http://www.needrom.com/mobile/lenovo-a820-12/
(was also able to install, but showed some nasty "washout" stripes on the screen, which Is why I started messing around again)
and this
http://www.needrom.com/mobile/lenovo-a830/
(was not able to install this one, didn't try it before the mounting issues started.
When I try to mount /sdcard storage now, I get "Error mounting /sdcard!"
Same for /sd-ext.
Also, the internal sd card shows up with "no media" now when mounting usb to PC.
So, the only thing I'm able to do on this phone now is to enter CWMR.
I've searched for days now on several forums, I'm desperate. Please help me!!

[Q] CWM6.0.5.0:Error mounting /data while making a backup onSGS2 in bootloop withCM11

Okay, so this happened out of nowhere. My phone was perfectly fine and when I wanted to check for new messages/notifications etc he couldn't turn on. So I powered him up and he was stuck in a bootloop. I said, okay, it's not the first time. I immediately went to backup and restore option to make backup of whole system because data of some apps is valuable to me. I selected the option to backup it on external memory card. It backed up the boot image, recovery image, system partition and when it comes to data partition it restarts or show err on /data partition. I tried changing the default file formats, without success.
So, is there a way to make backup of that partition(maybe installing another cwm?) and how?
Additional info: I tried making backups on both partitions and nothing. On internal SD I have ~3300mb free and on external SD I have ~2500mb free. The reason I am using CWM c6.0.5.0 is that none of the earlier versions don't support Kit Kat based systems. Another thing is that if I select 'mount USB device' option I can see both, the internal and the external SD card on my pc. Perhaps, there is a way to recover /data from that option?
Also, when I enter the CWM at the bottom of the screen it says this:
CWM-based Recovery v6.0.5.0
Swipe up/down to change selections.
Swipe to the right for enter.
Swipe to the left for back.
E:Can't mount /cache/recovery/command
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
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
One more question: Can I install older version of CWM, the one that I am sure it is working(because I was using it, that's how I know)?
Updating this: motherboard was dead. So, if you are getting these errors your mobo is probably dead, specifically emmc chip. It can be soldered out and resoldered if you find replacement but its not an easy and cheap procedure.

[Completed] How to protect a portion of internal memory during OS install?

So, I have a Sprint HTC One (M7) that I tried to root following this guide:
http://www.xda-developers.com/how-to...-developer-tv/
Custom Recovery was flashed successfully (I tried both TWRP 2.5 and CWM 6.0.4.6), and I immediately got the following errors:
E:Can't mount /cache/recovery/command
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
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install
I can't access /cache, in short. So, I tried to find my SD card, but my phone doesn't have a slot for one, and I couldn't figure out how to write to the virtual one inside the phone, so I selected "Install zip" option in CWM and passed SuperSU-v2.46.zip through sideload, and it failed when it couldn't access cache. I was then rather foolish, and tried to just flash a ROM from Android Revolution HD, found on this thread:
http://forum.xda-developers.com/show....php?t=2265618 (I used this particular ROM:Android_Revolution_HD-One_92.0_4a9d05.zip).
Again, I passed it using sideload because I don't have an SD card. The install formatted my partitions, then at 30% (when it began to copy files), it failed. Thus, I was left with an empty phone, but an unlocked bootloader. I tried a few more things, to no avail.
I think if I could figure out how to put something in the virtual SD inside, or somehow protect the install files from being overwritten during the install, that might get me there, since I'm guessing that it's formatting over the location of the installer/image. Also, I found that if I use the "Wipe /cache" from CWM, I don't get those access cache errors, but then I can't reboot into the recovery without flashing it again, so I'm guessing that it's saving it in the /cache partition. I use the command "fastboot flash recovery CWM_image.img" to put my recovery in there, which may be a part of the problem.
Anyway, any ideas or help would be nice. I know enough to be dangerous, but clearly not enough to get myself out of this mess. Any help would be appreciated, and at this point, it would just be nice to have any OS on my phone. All HTC recovery software fails because they require a locked bootloader, but my computer won't detect a phone with no OS and a locked bootloader...
Duplicate.
http://forum.xda-developers.com/general/xda-assist/odd-problems-trying-to-root-htc-one-m7-t3164965

Categories

Resources