[GT-i9000] Unable to mount /system and /data and a few questions - Galaxy S I9000 Q&A, Help & Troubleshooting

I am working on Ubuntu 15.04 and I used the Heimdall suite to do the necessary flashing.
Before I start: I created this post to share my experience with trying to flash a custom ROM on the GT-i9000 and receive some suggestions, though my main concern is the fact that I am unable to mount /system and /data. And yes, I have read posts concerning this issues, but they were too vague, so I decided to write my own.
First I figured I should flash a custom recovery, so I tried flashing the latest CWM for the galaxysmtd in Download Mode and it appeared to have been successful, though when I pressed the 3-button-combo (UP-HOME-POWER), It would boot the default Android System Recovery.
I tried flashing a few CWM and TWRP recoveries (though I didn't try PhilZ Touch, because goo.im is down and I couldn't find a proper PhilZ Touch recovery anywhere else), though I noticed that none of them would work, even though the flash was successful. So I figured I could try flashing a kernel, which would include some recovery - and it worked, to my surprise, though after attempting to wipe a few folders, I got the error: unable to mount /system and /data.
So I came to realise that the only way for me to get a working custom recovery was to flash a kernel, which should include a working recovery. So I ended up flashing Mackay_kernel_0.692_twrp_CMC-signed.zip, which includes TWRP v2.8.0.0. The recovery seems to work fine, though the same error persists: unable to mount /system and /data.
I tried formatting /system and /data, though to no avail: it just forced the recovery to reboot (I have attached the recovery log to this post).
Any help is much appreciated!

I am glad to inform that I managed to resolve the issue by reverting to the stock firmware, ROM and kernel by using Odin v1.83. Though this leaves me with the default recovery, which isn't able to flash a 5.1 ROM.
I tried flashing a kernel with CWM and then flashing a 5.1 ROM with said CWM recovery by installing its .zip, though this method causes the same issue: unable to mount /system and /data.

Related

Cache Error

hi
Im having a lot of problems with my phone, I tried to load a new ROM, and I cant!!
Im using CWM 6.0.2.8
when I boot up it says
Cant Mount Cache/recovery/command
Cant Mount Cache/recovery/log
Cant Open Cache/recovery/log
Cant Mount Cache/recovery/last_log
Cant Open Cache/recovery/last_log
when I do a factory wipe, it gets stuck on
Formatting /cache
When I try to wipe/format the cache partition, it is the same story.
When I try to install a new rom, I get
image attached. CAN SOMEONE PLEASE HELP. Also some of my root software is corrupt.
What do I do?
I think I had same problem, wiping the cache part took quite long, but I eventually was able to install my new rom... though all my apps are still there, but at least part of the new rom is there (custom nav bar)
pretty much the same errors I got
ps: you're trying to flash cm 10.1, do you have a kernel for it ? read somewhere you shouldn't use CWM for flashing cm 10.1 with kernel ...
found it: http://forum.xda-developers.com/showthread.php?t=2167381
[ known issues ]
adb doesnt work in recovery (can be fixed)
USB storage doesnt mount in recovery (can be fixed, i think)
formating data partition WILL FORMAT THE INTERNAL STORAGE (FIXED IN v02)
external SDCARD is required to take backups and flashing ROM (FIXED IN v02)
do not use this for flashing CM10.1 (u will need to use the CM kernel for that)
that's what the link says, you need CM kernel for it

Can't mount /system in twrp 2.8.3.0

I updated my twrp from 2.7.1 to 2.8.3.0. I haven't flashed a rom in a while, so I don't know for sure that it was working on the old one but I did install CM11 using 2.7.1. Now with 2.8.3 when I go into recovery and wipe is says it worked, but in red there is the error: "E: unable to mount /system".
I tried to repair it with twrp, using format /system as ext4, then wipe and it seems to work and mount correctly, but if I restart, into recovery the /system no longer mounts and gives the same error if I try to wipe it. When I select repair, it says the partition is 0mb. When I format as ext4 it then shows as the correct size (~1.8GB).
So bottom line is that when I try to flash a new rom, it gets stuck at the formating /system step. I think the problem is with twrp but I'm not sure. Any ideas what to do?
I have a T-mobile HTC one M7. It was CM11, but everything is wiped. TWRP 2.8.3. S-off unlocked bootloader.
Thanks!
modman21 said:
I updated my twrp from 2.7.1 to 2.8.3.0. I haven't flashed a rom in a while, so I don't know for sure that it was working on the old one but I did install CM11 using 2.7.1. Now with 2.8.3 when I go into recovery and wipe is says it worked, but in red there is the error: "E: unable to mount /system".
I tried to repair it with twrp, using format /system as ext4, then wipe and it seems to work and mount correctly, but if I restart, into recovery the /system no longer mounts and gives the same error if I try to wipe it. When I select repair, it says the partition is 0mb. When I format as ext4 it then shows as the correct size (~1.8GB).
So bottom line is that when I try to flash a new rom, it gets stuck at the formating /system step. I think the problem is with twrp but I'm not sure. Any ideas what to do?
I have a T-mobile HTC one M7. It was CM11, but everything is wiped. TWRP 2.8.3. S-off unlocked bootloader.
Thanks!
Click to expand...
Click to collapse
first of all the most reliable version of TWRP recovery is stil 2.6.3.3 or 2.6.3.4, most of the users on here would agree with me on that, newer is not always better.
Also, have you tried the format data option, select wipe then format data button, be warned though, this will wipe everything including your sdcard (internal) if this option works you will then have to sideload or push a rom to your device before you can flash.
Seanie280672 said:
first of all the most reliable version of TWRP recovery is stil 2.6.3.3 or 2.6.3.4, most of the users on here would agree with me on that
Click to expand...
Click to collapse
Agree 100% but CM11 require at least 2.7.0.8 to be flashed (block:by-name) and recommended version of twrp to flash CM11 is 2.7.1.2 http://wiki.cyanogenmod.org/w/Install_CM_for_m7
If not flashing a rom like CM11 still recommend using 2.6.3.3/.4 even if there are newer version.
They are talking about this in ARHD thread.
Seems a updater script problem.
Read here and below!
http://forum.xda-developers.com/showpost.php?p=57985309&postcount=84878
My 2 cents
Fain11 said:
They are talking about this in ARHD thread.
Seems a updater script problem.
Read here and below!
http://forum.xda-developers.com/showpost.php?p=57985309&postcount=84878
My 2 cents
Click to expand...
Click to collapse
Thanks for the link. I tried to find similar threads, but couldn't. They are having the same problem but with a different rom (I was trying to flash Sky Dragon android L). The solution on that thread was to use TWRP 2.6.3.3, but some people reported having no problems with 2.8.3. The install instructions for Sky Dragon say use the latest twrp but doesn't specify a version. I guess I could try TWRP 2.6.3.3 but I'm not sure if it will work since CM requires 2.7.1.
The other solution was to mount the partition manually before flashing using the terminal in recovery. This command was suggested:
Code:
run_program("/sbin/umount", "/system");
Haven't tried any of these solution myself. After 3 hours and wiping my entire data partition by accident, I USB-OTG copied my nandroid backup to my phone and did a complete recovery. Luckily the restore process didn't care about mounting /system. I may try this again with manual mounting, but likely I will wait for a twrp update. I'm not sure if twrp 2.6 supports usb-otg so it will be a pain in the ass if I wipe /data again by accident.
Random side note for anyone googling this, if you accidently wipe all the data from your sdcard and have to copy the nandroid backup for twrp, the the restore function won't recognize the files unless they are in exactly the right directory. The best way to get this is to copy the entire TWRP directory when saving your backup in the first place so you can just copy it back. If you didn't do that then just run a nandroid backup of the blank sdcard and it will recreate the folder structure for you. Then you copy the files into the correct folder.
alray said:
Agree 100% but CM11 require at least 2.7.0.8 to be flashed (block:by-name) and recommended version of twrp to flash CM11 is 2.7.1.2 http://wiki.cyanogenmod.org/w/Install_CM_for_m7
If not flashing a rom like CM11 still recommend using 2.6.3.3/.4 even if there are newer version.
Click to expand...
Click to collapse
Exactly this. I do not know the exact reason CM needs 2.7.1 so therefore I don't know if Sky Dragon needs it as well. The instructions just say use the latest twrp.
http://forum.xda-developers.com/showthread.php?t=2400161
Seanie280672 said:
first of all the most reliable version of TWRP recovery is stil 2.6.3.3 or 2.6.3.4, most of the users on here would agree with me on that, newer is not always better.
Also, have you tried the format data option, select wipe then format data button, be warned though, this will wipe everything including your sdcard (internal) if this option works you will then have to sideload or push a rom to your device before you can flash.
Click to expand...
Click to collapse
I did wipe my entire data partition (by accident), but I did not try to format it as ext4. I did format /system to ext4 (so now the partition was displaying correctly as ~1.8gb). The used the twrp repair, then wipe It seemed to work, but if I restarted right then, without even trying to flash the rom, the /system would not mount on reboot to recovery and would show as 0mb. I used all reasonable combinations and permutations of the wipe, repair and format functions on system, nothing worked.
I finally copied my nandroid backup via usb-otg and recovered back to cm11.

Can't boot after flashing ROM (Failed to mount /data) help pls

Hi, so i was trying to install:
http://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269
I have unlocked bootloader and i have latest TWRP, i have no idea what went wrong but everytime i try to boot now it says encryption was interrupted and can't continue, and everytime i try to flash image or wipe everything it keeps saying unable to mount /data and /storage. I really have no idea what to do, any help would be appreciated, please.
Did you try to go in the recovery and mount the system from there? Or just format the phone and install the rom through sd card
well i tried flash again the ROM and it worked now, but i had to install TWRP revision 3 guess it fixes some encryption stuff?

Unable to Mount /data Huawei P9 L19c636

After installing twrp i tried flashing liuneage os but somehow messed up. Now i am getting the error Unable to Mount /data. I tried changing file format, repair with no luck. Thanks.
The data partition of the stock rom is different and not usable with lineage (I think because of encryption). You have to reformat it at first.
If TWRP can't mount the data partition, you need to flash the stock recovery, format data from there and then TWRP should be able to mount it again. The stock recovery image is somewhere in this forum.

[HELP] I've messed up somewhere, need experienced users

I haven't formatted my phone in a while, so rather than delete files while my phone was working. I booted into recovery and selected the format data option in TWRP. Now I am getting all kinds of errors in TWRP. I was on a custom rom when I did all of this and somehow I screwed up. I can't even get a zip on my phone as my phone is only recognized as charging and not a storage device under these circumstances. I have tried adb sideloading a rom, but that is to no avail. I am thinking about flash a stock recovery in hopes that I'll be able to flash a stock rom and fix my phone.
this is what it says when trying to wipe anything:
could not mount /data and unable to find crypto footer.
failed to mount '/data (invalid argument)
without typing out everything the rest of it says failed to mount '/data' (invalid argument)
Boot the phone into fastboot, type fastboot format userdata
fastboot format cache
then fastboot flash recovery <name of twrp recovery>.img (don't put < >)
boot into recovery and go to advanced wipe and wipe everything except internal
everything will be fine now
you can flash any rom now.
If it worked, hit the thanks button
Try unbrick tutorial from XDA to back to new alike!
This is the best option
Well actually I took a different route altogether. I don't know why I didn't think about it initially. You would think after almost 10 years of dealing with custom ROMs and recoveries that I would of been a lot quicker in finding a solution, so I googled it. Came to the conclusion that I needed a stock OP3T recovery, so I downloaded it and fastboot flashed the stock recovery. From recovery I was able to wipe data, cache, dalvik-cache. All was good after that. Now I'm running coltOS.
Sent from my ONEPLUS A3000 using Tapatalk
Glad you fixed it. If you face a similar issue in the future you can download MSMTool for the OnePlus 3T which will restore stock OOS through fastboot

Categories

Resources