Hi I was running leedroid m9 with root and s-off. Last night main system processes started in on a crash loop, thinking of my normal methods I rebooted the phone. Cue boot loop. At first I wasn't able to get into recovery but then I miraculously got in...only to be met with being unable to mount, wipe, or format anything (unable to mount /x (invalid argument)) apparently due to encryption that I had never set up (unable to find crypto footer). When I attempt to format data I get something along the lines of "failed to remake data" along with the same slew of mounting errors. Also download mode just doesn't work, stays at the HTC splash. Is there any hope for my phone in this state or is it donezo? Maybe something to be done twrp terminal?
Related
Hi everyone. I've been having this problem since I started rooting my Note, and I haven't the slightest clue how to fix it. Basically, when I boot to TWRP recovery and try to do a wipe (the default wipe which includes wiping cache, Dalvik, and formatting data), the recovery hangs on "Formatting /data using make_ext4fs function," and after about two minutes the application restarts. If I attempt to flash a ROM after that, I get "Can't mount /data," and other can't mount errors and even though Aroma loads fine, the tablet gets stuck on the boot screen (Samsung logo). Someone on the TWRP website suggested that the tablet is encrypted but I never encrypted the device myself.
Thanks for reading!
P.S. I see similar errors to the picture at the botttom of this thread: formatting data using make_ext4fs function
Hi all,
After spending all my morning looking at various solutions I've resulted in opening a new thread.
I was trying to install a stock rom this morning however was stuck in a bootloop on the LG logo.
Trying to go back into recovery resulted in a black screen after the TWRP logo.
I was attempting to re-install TWRP to see if that would fix the problem however I only managed to get into Download Mode (is this the same screen as the Bootloader?) and adb/fastboot couldn't find the device.
Magically, TWRP boots up now however in the log it states the following:
Code:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount /data
E: Unable to recreate /data/media folder
E: Unable to mount storage
E: Unable to mount /data/media during GUI startup
E: Unable to mount /data/media/TWRP/.twrps when trying to read settings file
If anyone can point me in the right direction in how to resolve this I would be grateful.
Regards,
Ash
AshleyNG2 said:
Hi all,
After spending all my morning looking at various solutions I've resulted in opening a new thread.
I was trying to install a stock rom this morning however was stuck in a bootloop on the LG logo.
Trying to go back into recovery resulted in a black screen after the TWRP logo.
I was attempting to re-install TWRP to see if that would fix the problem however I only managed to get into Download Mode (is this the same screen as the Bootloader?) and adb/fastboot couldn't find the device.
Magically, TWRP boots up now however in the log it states the following:
Code:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount /data
E: Unable to recreate /data/media folder
E: Unable to mount storage
E: Unable to mount /data/media during GUI startup
E: Unable to mount /data/media/TWRP/.twrps when trying to read settings file
If anyone can point me in the right direction in how to resolve this I would be grateful.
Regards,
Ash
Click to expand...
Click to collapse
Looks like you trying to install stock Rom, Given the account you used a flashable zip. It didnt install all the way. and now your stuck with a messed up unstable device......
If you can get into TWRP, wipe everything at least 2 times.. Then install a Flashable ROM/gapps ect..
If you cant get into TWRP and only into Download mode.. Then you will have to flash stock kdz file...............
you can find all types of guides on that around here............
Eliminater74 said:
Looks like you trying to install stock Rom, Given the account you used a flashable zip. It didnt install all the way. and now your stuck with a messed up unstable device......
Click to expand...
Click to collapse
Thanks for your response, once I got into TWRP I couldn't wipe anything as it couldn't mount any partition nor could I flash anything from the external sd.
When I plugged it in there was no internal memory so I decided to use the TOT restore method to go back to stock which was successful and now I've got my custom stock rom back on.
I try to reinstall a rom after some unexpected self reboots. It is s-on and the bootloader is unlocked. I wiped the data, start the installation so far so good, no errors. After a reboot and half of hour of waiting nothing happens, no progress only the htc logo on screen.
I tried to reinstall the rom, i was able to start to recovery TWRP 3.0.0.-2 but if i try to factory reset it failed.
Updating partition details..
Failed to mount '/cache' '/system' '/data' (Invalid argument) and so on.
Boot to recovery posible, boot to download mode posible. If i use the advance options, then file manager i can see a lot of folders. Boot/cache/carrier/cota/data..... but they are all empty. I use adb in recovery mode an push mkfs.ext4 to the /tmp folder it works. I create a new folder (mkdir /p /data/media/0) it works. I push a new rom to the new folder it works.
Everything i try it ends in the same result -> storage not mount.
Some other ideas, hints or tips?
Try an older twrp. When updating the m9 it can take over an hour!. Just because it is sat at the htc screen people think it has frozen but it hasn't, you must wait at least an hour before you can even begin to think it may possibly, but probably hasnt, but could have, frozen. Yes it is one of those "you'll never know" moments.
Any mounting errors are usually recovery related as that handles the partitions when booting.
Twrp 2.9.0.1 which works fine for me: https://drive.google.com/file/d/0B4vTiHTBB629XzliRF9OaTdjZ00/view?usp=drivesdk
Double check the file size before you flash it with the regular fastboot (not htc_fastboot as that is for flashing firmwares).
Beamed in by telepathy.
deltaquadrant said:
I try to reinstall a rom after some unexpected self reboots. It is s-on and the bootloader is unlocked. I wiped the data, start the installation so far so good, no errors. After a reboot and half of hour of waiting nothing happens, no progress only the htc logo on screen.
I tried to reinstall the rom, i was able to start to recovery TWRP 3.0.0.-2 but if i try to factory reset it failed.
Updating partition details..
Failed to mount '/cache' '/system' '/data' (Invalid argument) and so on.
Boot to recovery posible, boot to download mode posible. If i use the advance options, then file manager i can see a lot of folders. Boot/cache/carrier/cota/data..... but they are all empty. I use adb in recovery mode an push mkfs.ext4 to the /tmp folder it works. I create a new folder (mkdir /p /data/media/0) it works. I push a new rom to the new folder it works.
Everything i try it ends in the same result -> storage not mount.
Some other ideas, hints or tips?
Click to expand...
Click to collapse
Did you fix it ?
Hey guys,
I was googling for the past few days who else might experience such problem, but I haven't stumbled upon such case. The problem is, I'm stuck on the bootloader part.
The initial goal was to root the device, so:
- I unlocked the bootloader,
- installed clockwork-touch-6.0.4.7
- wiped everything
- when I try to install SuperSU & new ROM I'm getting errors like
Code:
Can't mount /cache/recovery
Can't open /dev/block/platform/msm_sdcc.1/by-name/misc (No such file or directory)
Can't mount /cache/recovery/log
and a few other errors in this fashion about cache.
When I actually run the
Code:
abd sideload aicp_flo_n-12.0-UNOFFICIAL-20161020.zip
the installation tries to mount folders like /data but gets an error.
Finally it says
Code:
E1001: Failed to update system image
Installation aborted
Is there a way to re-format everything to FAT using fastboot and then begin everything from scratch? I have a feeling this is filesystem problem that it can't read properly or something... Maybe I'm wrong? What would be your suggestions?
Thanks!
I had a similar issue on mine a few days ago. I was completely stock and wanted to unlock bootloader, flash a custom recovery and then finally a custom ROM. I was successfully able to unlock the bootloader and flash the recovery (latest TWRP). But, when I tried to boot into recovery, it went past the recovery logo and then showed me errors like yours inside the recovery and rebooted. It then automatically booted into the recovery, showed the same errors and rebooted again. I wasn't able to do anything apart from booting into bootloader by sending an adb command.
Now coming to the part which fixed my errors. What I did was used the "fastboot -w" command (without the quotes) while I was in bootloader to wipe everything and after that, flashed the recovery again. Then I was able to successfully boot into recovery and everything has been fine since then.
Hi there, so I'm having a bit of a problem. I tried to revive my old M9. I remember flashing it with a custom ROM (Android HD Revolution) and everything was fine. I left it since I got a new phone and today wanted to play around with my M9 again.
However, it would be stuck with the HTC Logo while loading, and my TWRP was gone, could no longer boot into it and my download mode was also screwed, as it gave me the error (failed to boot to download mode).
Anyway so I tried restoring to one of my TWRP backups, by mounting a TWRP img file first using my PC. It went fine, after that I booted into system and the HTC logo would be on white background and preventing me from using the screen, although funnily enough the system was functionally normally i.e. the volume keys worked and I could see it change on screen but, it was just as if I had a some kind of overlay and couldn't use the screen itself by touching.
I then tried to flash with the same custom ROM, but after installing it and rebooting the phone it was stuck in a boot loop, where it would shutdown and try to boot again.
So I turned it off using power up and home button, and tried to wipe the partition to install another ROM, using the same TWRP method I did above.
Only this time, I can't do anything: wipe, install, format etc. I get the error "Failed to mount '/data' (Invalid Argument)" "Failed to mount '/cache' (Invalid Argument)" whenever I try doing anything within TWRP. I can't even mount cache, system or Data. It is if they're not there.
And now my phone is back to where it started, i.e. infinite boot screen with HTC Logo and "This build is for etc..." text.
Note: Trying to change file system from ext4 to ext2/3 and back to ext4 does not fix the problem ,as the same errors pop up when trying to change file system.
90% chance the nand is goosed. 10% chance of recovering by flashing a stock firmware in download mode (same version as currently installed, external sd card method).
Twrp has a known issue for bricking devices at random.