So , I was helping my buddy out with his Roger branded HTC One M8... He had the latest OTA, unlocked the bootloader, installed a custom recovery, and finally tried to flash ARHD 10.2.....
ARHD won't flash because it says it's a corrupt .ZIP.....
The Backup we made before flashing, recovers, then reboots back into recovery ( fails )
Any other ROM also says corrupt .ZIP...
Have never had an issue like this before, and I have no idea what to do from this point on....
Already tried recovering the backup & flashing a different ROM.
I can't find the RUU for the latest rogers ROM ( Firmware 2.23.631.2 ) so I haven't tried to flash a stock ROM.... Can you install a stock ROM from before the OTA, if you did the OTA? Or will that just lead to more issues?
Any help would be greatly appreciated! ( PHONE MODEL M8_UL )
What recovery and what version?
My first hunch would be fastboot erase cache, and re-flash recovery using fastboot. Often clears up lots of flashing issues like this. Also make sure you are using an up to date version of recovery.
Also, you can try to put the ROM on a different location such as the removeable SD and flash from there.
tutchthesky7 said:
I can't find the RUU for the latest rogers ROM ( Firmware 2.23.631.2 ) so I haven't tried to flash a stock ROM.... Can you install a stock ROM from before the OTA, if you did the OTA? Or will that just lead to more issues?
Click to expand...
Click to collapse
Rogers often does not issue RUUs, so I would not be surprised if this is the case for the M8 as well. Although I personally can't say, as its not my carrier.
redpoint73 said:
What recovery and what version?
My first hunch would be fastboot erase cache, and re-flash recovery using fastboot. Often clears up lots of flashing issues like this. Also make sure you are using an up to date version of recovery.
Also, you can try to put the ROM on a different location such as the removeable SD and flash from there.
Rogers often does not issue RUUs, so I would not be surprised if this is the case for the M8 as well. Although I personally can't say, as its not my carrier.
Click to expand...
Click to collapse
Using TWRP 2.7.0.1
I did the exact same thing as he did , except with my phone, and I never had any of these issues, same recovery, same ROM, same phone model, so weird :S
tutchthesky7 said:
Using TWRP 2.7.0.1
I did the exact same thing as he did , except with my phone, and I never had any of these issues, same recovery, same ROM, same phone model, so weird :S
Click to expand...
Click to collapse
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
redpoint73 said:
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
Click to expand...
Click to collapse
Will try that and report back
redpoint73 said:
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
Click to expand...
Click to collapse
tutchthesky7 said:
Will try that and report back
Click to expand...
Click to collapse
Successfully flashed TWRP (2.7.1.0)
Attempted Recovery of the backup made right after installing TWRP for the first time, failed.
Attempted to flash the same ARHD Rom as tutchthesky7, see log:
<<<Log Start>>>
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount '/cache'
E:Unable to mount zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
[Restore Started]
Restore folder: '/external_sd/TWRP/BACKUPS/SH45WM01930/1M8PostRoot_Recovery_2014-08-19--01-04-57'
Skipping MD5 check based on user setting. ("I'd personally verified the checksum prior to all this")
E:No partitions selected for restore.
E:Unable to open zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
<<<Log End>>>
Tried flashing the sideloaded ROM, and failed with the same resulting log as seen above.
Did you fastboot erase cache before installing TWRP, as I suggested?
Sir_Kato said:
Successfully flashed TWRP (2.7.1.0)
Attempted Recovery of the backup made right after installing TWRP for the first time, failed.
Attempted to flash the same ARHD Rom as tutchthesky7, see log:
<<<Log Start>>>
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount '/cache'
E:Unable to mount zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
[Restore Started]
Restore folder: '/external_sd/TWRP/BACKUPS/SH45WM01930/1M8PostRoot_Recovery_2014-08-19--01-04-57'
Skipping MD5 check based on user setting. ("I'd personally verified the checksum prior to all this")
E:No partitions selected for restore.
E:Unable to open zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
<<<Log End>>>
Tried flashing the sideloaded ROM, and failed with the same resulting log as seen above.
Click to expand...
Click to collapse
the log got me thinking, after updating TWRP and then clearing the cache the mounting issue seemed wierd, so I tried sideloading to sdcard0 after clearing the cache once more then installing from sideload.zip on sdcard0, which entered the ARHD install GUI. so now I just need a confirmation on whether installing from sdcard0 is dangerous as a reformat mid install will erase the zip im trying to install from. soft brick is bad enough, really want to avoid an expensive paperweight.
I'm still in the menu, waiting for more seasoned minds to respond before I go through with it.
---------- Post added at 02:37 PM ---------- Previous post was at 02:29 PM ----------
redpoint73 said:
Did you fastboot erase cache before installing TWRP, as I suggested?
Click to expand...
Click to collapse
I did indeed. Just got the confirmation on the go ahead from OP. Better safe than sorry. Will post the outcome.
It worked beautifully, **** is so Cash. Thanks guys. you've been of great help.
Related
I have a stock firmware GSM version 4.04, and suddenly from one day to the other it doesn't boot anymore and I'm stuck in Goggle logo.
Trying to do a factory reset (from recovery) it gives:
--Wiping data...
Formatting /data...
Error mounting/data!
Skipping format.....
Formatting /cache...
E:format_volume: make_extf4fs failed on /dev/block/platform/omap/omap_hsmmc.0/by-name/cache
formatting /sd-ext...
formatting /sdcard/.android_secure...
Error mounting mounting /sdcard/.android_secure!
skipping format...
Data wipe complete...
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:failed closing /dev/block/platform/omap/omap_hsmmc.0/by-names/misc
(I/O error)
Also trying to mount /system ->
Error mounting /system!
from fastboot if I try to reflash System and userdata ->
C:\galaxy>fastboot flash system system.img
sending 'system' (321251 KB)...
OKAY [ 29.667s]
writing 'system'...
FAILED (remote: Write Fail)
finished. total time: 47.294s
C:\galaxy>fastboot flash userdata userdata.img
sending 'userdata' (137554 KB)...
OKAY [ 12.642s]
writing 'userdata'...
FAILED (remote: Write Fail)
finished. total time: 20.180s
Is it a hardware problem?
Same problem
I have the same problem, cant erase, or flash data and cache. Can any help with this?
same boat here. except on a g3
Sounds like you need odin
Is your bootloader unlocked?
Have you flashed the latest bootloader, i.e., LC03, before trying to flash the system image?
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Is your bootloader unlocked?
Have you flashed the latest bootloader, i.e., LC03, before trying to flash the system image?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
good call!
This fix your problem? Unlock boot loader
I have a Verizon CDMA (toro) of this phone. I am Having the same exact problem. So far i've tried flashing stock from the toolkit, I've tried manually pushing all files through fastboot. and i've also tried recovering through odin, all with proper files for my device(toro files). None have worked so far.
None of the partitions will mount at all or do anything. The bootloader is unlocked. I've even tried relocking the bootlocker, so that i can try to bring it back to the Verizon store, but it will not stick, as soon as i reset the bootloader it shows as being unlocked again. When accessing the recover the phone also shows right away all the mounting errors pertaining to the cache
E:Can't mount /cache/recovery/command
E:Failed closing /dev/block/platform/omap/omap_h
smmc. 0/by-name/misc
(I/O error)
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:Failed closing /dev/block/platform/omap/omap_h
smmc. 0/by-name/misc
(I/O error)
I have something similar. Bootloader unlocked CWM flashed tried wiping in recovery, get "error mounting /data" and the rest of it. Get nowhere. Seems my sdcard is a bit screwed up. Tried Odin. Locks at userdata. Tried fastboot erase userdata. Have lastest bootloader LC03.
Could it be a hardware problem? or something else entirely?
extract userdata.img from stock rom, flash it over with fastboot.
sent from my i9250
bk201doesntexist said:
extract userdata.img from stock rom, flash it over with fastboot.
sent from my i9250
Click to expand...
Click to collapse
The same thing happened to me, but when I use the command "fastboot flash userdata userdata.img" the phone stucks on this moment: writing userdata.img and I can't solve my problem. Please help us.
whee1s said:
The same thing happened to me, but when I use the command "fastboot flash userdata userdata.img" the phone stucks on this moment: writing userdata.img and I can't solve my problem. Please help us.
Click to expand...
Click to collapse
This is exactly what happens to me too. Any solution would be greatly appriated.
Sounds like you all need to start studying up on Odin flashing.
DO NOT just jump in there and do it....read read read and read some more.
I'm certain that you can look up my old posts and find some specific directions and links to everything you'll need.
ODIN is the only thing that will recover your borked phones, every time.
Is ODIN equivalent to an sbf on Motorola?
Sent from my MB870 using xda app-developers app
ODIN would be comparable to RSD lite. It the Samsung software you run on the PC to flash.
Odin will run on a locked up phone.
Odin will restore all partitions and the file table.
It will also restore a borked boot image.
It will recover a bricked phone as long as there is no hardware problem causing the brick.
https://developers.google.com/android/nexus/images
You'll find every stock Gnex image there....all made to run on Odin.
http://forum.xda-developers.com/showthread.php?t=1671969
You can get a good idea of how it works here....be careful, some things are a bit different (as in we have no home key on a Gnex so ignore any calls to use it).
http://forum.xda-developers.com/showthread.php?t=1347899
You can get the mobile (on phone) version of Odin here (I do not know how this works as I have never used it myself).
http://www.google.com/url?sa=t&rct=...noHIBA&usg=AFQjCNF7sF0f2yJp0IxHp1ISlP2fzGKhtw
That should be a direct D/L of Odin 3 1.85 which I use
n2ishun said:
[snip]
https://developers.google.com/android/nexus/images
You'll find every stock Gnex image there....all made to run on Odin.
Click to expand...
Click to collapse
Those images are not in an odin-flashable format.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Those images are not in an odin-flashable format.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hehe, just to add, these are fastboot images.
Beamed from Maguro
efrant said:
Those images are not in an odin-flashable format.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Then I guess they didn't work when I used them either ???
If you KNOW how to use Odin you can use numerous different image types and some files need a .pit file and some do not.
There is a reason for everything.
Just because you cannot see the reason does not negate the fact that one exists.
n2ishun said:
Then I guess they didn't work when I used them either ???
If you KNOW how to use Odin you can use numerous different image types and some files need a .pit file and some do not.
There is a reason for everything.
Just because you cannot see the reason does not negate the fact that one exists.
Click to expand...
Click to collapse
Interesting. Please do share how you flashed those images from the link you posted in odin. I always re-packed them into an odin-flashable tar, but if you found a way to do it using the files in that link without repacking, I would really like to know.
Sent from my Galaxy Nexus using Tapatalk 2
I was trying to flash ecliptic ROM from PACMAN Rom and got a status 7 error during installation, the problem is that I had already erased my cache, data, and system before flashing. I cannot flash any roms without error messages now and whenever I try to format my system,cache, or data I get the error:
E:Unable to mount 'system'
E:Unable to mount '/cache'
Can anyone help me please? I have tried using clockworkmod recovery and every time I attempt to format it just freezes indefinitely.
Reboot recovery when you get in to recovery. There are some ROMs that the only way to flash them is to reboot the recovery.
Sent from my HTC One using Tapatalk
Did you just recently flash your current recovery? Sounds like you need to reflash your recovery, and make sure your using the correct one for the m7. Which recovery and version are you currently on?
Status 7 refers to either an error in the rom zips updater-script, or the rom zips updater-binary is not compatibe with your current recovery.
boot into recovery mode.
Hello, I'm new to HTC phone. I can't enter system now. Please help!.
my phone's information:
CID: GOOGL001
ROM: Google stock 4.4.2
Recovery: CMW latest.
bootloader: unlocked.
SHIP-s: ON
What I did:
I copied the stock google rom 4.4.3.zip to the internal sd card, and use recovery installed the zip file. then reboot,
current status:
the phone can't enter the system, it enters the recovery everytime reboot.
I can enter the bootloader
PC can do fastboot,and adb commands, PC can find the phone.
What I want now is to restore to the unrooted GPE stock ROM 4.4.3. What shall I do now.
thanks,
heartready said:
Hello, I'm new to HTC phone. I can't enter system now. Please help!.
my phone's information:
CID: GOOGL001
ROM: Google stock 4.4.2
Recovery: CMW latest.
bootloader: unlocked.
SHIP-s: ON
What I did:
I copied the stock google rom 4.4.3.zip to the internal sd card, and use recovery installed the zip file. then reboot,
current status:
the phone can't enter the system, it enters the recovery everytime reboot.
I can enter the bootloader
PC can do fastboot,and adb commands, PC can find the phone.
What I want now is to restore to the unrooted GPE stock ROM 4.4.3. What shall I do now.
thanks,
Click to expand...
Click to collapse
Did you flash the Ruu?you can follow this guide:http://forum.xda-developers.com/showthread.php?t=2706441
Jyotirdeb said:
Did you flash the Ruu?you can follow this guide:http://forum.xda-developers.com/showthread.php?t=2706441
Click to expand...
Click to collapse
Thanks, I think I did use fastboot oem rebootRUU and flash the RUU google edtion conversion following the thread http://forum.xda-developers.com/showthread.php?t=2708589 but it's failed. and then I tried flash the zip in the thread you just mentioned, still failed. got an error message and installation aborted. the following msg is the one I use cwm flash the zip in recovery:
-- Erasing & formatting /system as ext4 (Unmounted system)
system partition formatted!
-- Mounting system partition for writing
Writing rom system to system partition
Rom system written successfully! @symlinking and permissions
--Creating toolbox symlinks
--creating additional symlinks
Symlinks Set!
--installing busybox
Set_perm: some changes failed
E:Error in /tmp/update.zip
(status 7)
installation aborted.
I tried factory reset, and wipe everything, flash the gpe4.4.3_m8 zip, still failed. I have used, phil cwm recovery and twrp recovery.
thanks,
Hi help,
I did something wrong with firmware flash.
So phone is bricked.
I followed on XDA the OP3 Unbrick forum, now my phone can turn on.
but I have an older bootloader. Also I het failed, when I press recovery, I can also only connect with fastboot and not ADB.
Help.
HELP ME
YourTheBest said:
HELP ME
Click to expand...
Click to collapse
flash this TWRP http://forum.xda-developers.com/devdb/project/dl/?id=21835&task=get
First go into fastboot then flash by typing fastboot flash recovery <name of the twrp you downloaded above><a
You can now flash latest OOS from TWRP
strumaticjoker2 said:
flash this TWRP http://forum.xda-developers.com/devdb/project/dl/?id=21835&task=get
First go into fastboot then flash by typing fastboot flash recovery <name of the twrp you downloaded above><a
You can now flash latest OOS from TWRP
Click to expand...
Click to collapse
I did that, thanks.
Doesn't work. I can do fastboot boot twrp.img
but when I install OOS or other ROM i get this error: ERROR 7 *unknow command and
failed to mount /cache (invalid argument)
failed to mount /system (invalid argument)
[email protected]#$%^&*()_
I get stupid error: when phones start/reboot.
md5 checkum failed
boot failed
recovery failed
My whole #!#$$#@ life failed.
Had the same few nights ago. Check the forum for the unbrick guide - method 2.
orlexx said:
Had the same few nights ago. Check the forum for the unbrick guide - method 2.
Click to expand...
Click to collapse
Then I lost al my WhatsApp messages... Right?
I can see the data files.
I still have issues!
Help
I recently re-installed CM 12.1 and have found that I can't encrypt my phone. Every time I try to encrypt, the phone shows the Android working screen for about 5 seconds, then restarts. No encryption.
Very strange, bc previously I was able to encrypt while running the exact same version of CM. Stats below.
Sony Xperia Z1C
CM 12.1-20161016-NIGHTLY-amami
Recovery: TWRP 3.0.2-0
Any idea what I'm doing wrong? Thanks!
Hi,
most likely, this is because you formatted you data partition with a twrp that doesn't support decryption and hence your partition is too big now.
Try my build which support decryption (https://www.androidfilehost.com/?fid=24533103863142425), backup your stuff, format data and try again.
Cheers
most likely, this is because you formatted you data partition with a twrp that doesn't support decryption and hence your partition is too big now.
Click to expand...
Click to collapse
Thank you derf!
Question: I've also been unable to install AICP using this version of TWRP, but I've been able to install CM12 on multiple occasions. Do you think this is related?
Thanks!
@derf elot I can't seem to get the new recovery to install. Terminal says it's successful, but when I boot into recovery, it's still 3.0.2-0, and I get an error when I try to format data. Any ideas? Deets below.
Here's a readout from Terminal:
./fastboot flash recovery twrp-3.0.2-1.img
sending 'recovery' (11660 KB)...
OKAY [ 0.397s]
writing 'recovery'...
OKAY [ 0.774s]
finished. total time: 1.172s
Then I reboot, and then reboot again into recovery. I see TWRP 3.0.2-0. When I try to format data, I get
E:Unable to wipe '/data' - - unknown file system 'atuo'
Unable to format to remove encryptionEven though I'm not encrypted.
What am I doing wrong?
Recovery must be instaled in FOTA i think?
P.S. try Rashr app from the store to flash recovery to FOTA.
zlata said:
Recovery must be instaled in FOTA i think?
P.S. try Rashr app from the store to flash recovery to FOTA.
Click to expand...
Click to collapse
I just tried Rashr. Same results: Even though I'm installing TWRP 3.0.2-1, I still see TWRP 3.0.2.0 when I boot into recovery. And I'm still not able to format data.
How do I install via FOTA? Is there a fastboot or adb command?
Thank you!
@zlata would this command work?
Code:
fastboot flash FOTAKernel twrp-3.0.2-1.img
Hi,
yes, that should work. It might be because of some fstab settings I put in there.
Please try the attached one, unzip and flash the .img. Let me know.
Cheers
derf elot said:
Hi,
yes, that should work. It might be because of some fstab settings I put in there.
Please try the attached one, unzip and flash the .img. Let me know.
Cheers
Click to expand...
Click to collapse
Success! I was able to format data, restore from a backup, and encrypt my phone. Thank you @derf elot!!!
I'm still unable to install AICP for some reason, but it doesn't seem to be a TWRP issue. I'll solve in an AICP thread. Thank you!!!