Unable to boot into TWRP after reformating /data - Android Q&A, Help & Troubleshooting

Hi guys,
Having a bad time setting up my S7 Edge (international model).
End goal is to have it rooted with a Lineage OS ROM.
Successfully flashed TWRP (3.1.1.0) using Odin3 (v3.12) and had no issues booting into TWRP and looking around.
Issues began when I tried to wipe the internal storage in preparation for a new ROM; I got errors along the lines of "unable to mount /data" invalid directory, "unable to mount /system" etc, and the wipe would fail.
Following another user's guide I formatted my /data partition to ExFat (plan was to then format it back to Fat4, which supposedly fixes the issue), however this froze the phone. I was able to reboot it after leaving it a few hours, however now the phone just freezes on the TWRP logo when I try boot into recovery.
I have reflashed TWRP to no avail.
From what I've read online, flashing a new ROM via Odin might recreate all required partitions (namely /data) ? Issue with this is I can only find .zip, not .tar ROM's as required by Odin.
Have I just turned my phone into a brick ?
Any suggestions on what to do next would be greatly appreciated !
Many thanks,
Pron

Related

[Q] - odin won't flash - "make_extf4fs failed on /dev/block/mmcblk1p10"

So my Galaxy S II I9100M was updating, and I, unknowingly wiped data/factory reset'd my phone with the Siyah 3.1.1 kernel (which I now know has problems)
So this turned bad, because it got stuck there for a long time. No problem, this happens sometimes? No.
I reset the phone, try to re-install the Resurrection ROM but my emmc will no longer show up. Factory reset is a nogo again, but I have another rom on my extsd, which does install, but doesn't boot.
I go into odin, download mode etc, flash xxlph onto the phone, but here's the kicker:
the odin flash gets stuck at data.img
yadayadayada lots of different rom flashes later, none go past data.img
I can flash kernels, get into recovery mode with non-stock kernels, and get into download mode, but the /data partition doesn't format. I even tried a specific kernel for recovery, rogue recovery, and that can't format it either.
Neither can it find the cache partition for logs.
formatting the /data from mounts and storage gives the error "format_volume: make_extf4fs failed on /dev/block/mmcblk1p10"
I saw somewhere (galaxy player 5 forums) that one can use adb to reset the partition sizes, but I have no table either. But I could find one. But I still don't know how to.
Anyone have any ideas and/or alternatives?
Love you all
pejmany said:
So my Galaxy S II I9100M was updating, and I, unknowingly wiped data/factory reset'd my phone with the Siyah 3.1.1 kernel (which I now know has problems)
So this turned bad, because it got stuck there for a long time. No problem, this happens sometimes? No.
I reset the phone, try to re-install the Resurrection ROM but my emmc will no longer show up. Factory reset is a nogo again, but I have another rom on my extsd, which does install, but doesn't boot.
I go into odin, download mode etc, flash xxlph onto the phone, but here's the kicker:
the odin flash gets stuck at data.img
yadayadayada lots of different rom flashes later, none go past data.img
I can flash kernels, get into recovery mode with non-stock kernels, and get into download mode, but the /data partition doesn't format. I even tried a specific kernel for recovery, rogue recovery, and that can't format it either.
Neither can it find the cache partition for logs.
formatting the /data from mounts and storage gives the error "format_volume: make_extf4fs failed on /dev/block/mmcblk1p10"
I saw somewhere (galaxy player 5 forums) that one can use adb to reset the partition sizes, but I have no table either. But I could find one. But I still don't know how to.
Anyone have any ideas and/or alternatives?
Love you all
Click to expand...
Click to collapse
Discussion here: http://forum.xda-developers.com/showthread.php?t=1615058
From the sound of it the only way to recover from this is with a JTAG, any other info about it is likely in that thread.
Thank you very much. Thread can be closed

[Q] Backup internal memory while device doesn't boot

Hi all
Dad's I9300 (international) started making problems booting up a week ago (sometimes it did and sometimes it didn't for a few hours). Begged him to bring it in for me to backup. Of course he didn't and today the device refused to boot permanently. It simply gets stuck on the logo screen.
When boot into recovery I got lots of E: failed to mount /cache. After wiping the cache and rebooting into recovery I now get only E: failed to mount /system (see attached image).
Download mode also seems to be working.
Device is 4.1.2 with stock ROM and stock recovery.
The main concern here is to recover all personal data. After that, I don't care if the device gets bricked. I searched the web and came up with two possible solutions:
1) Reflashing the same stock ROM I flashed a while ago (hoping that what I have stored on my PC is what is actually flashed on the device.....), and not wiping the data. As I understand, flashing a stock ROM without wiping data shouldn't cause the device not to boot.
2) Flash PhilZ Touch 6 Recovery using Odin and use Aroma file browsing to copy internal memory files (pics, mp3, WhatsApp data, etc.) to an external SD and then start messing around with the phone. (as described here)
What's my best option here? It sounds to me that the second one is better, but I'm not familiar with flashing a recovery and possible consequences.
Can someone kindly advise? I'll greatly appreciate any word of wisdom...
Solved.

Soft brick - stuck at boot logo; need suggestions

Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Lazer Bear said:
Hey all,
I've got a N7105 (Galaxy Note II LTE) running CM12.1 and TWRP which I was planning to change shortly as it's old and the USB port has issues (charges but doesn't pass data; luckily it has a microsd slot). As it happens, the other day I left it discharge fully and turning it back on left it stuck at Samsung logo (not boot animation, the splash screen before it) forever.
I am: not a noob, I've rooted and flashed plenty of devices before.
I tried: removing battery for a while, charging fully, removing microsd and sim, clearing Cache and Dalvik. Nothing works.
I can: get into ODIN mode (but it's useless as USB data is not working); get into TWRP recovery; explore the Data partition in TWRP
I cannot: mount the System partition in TWRP, not even manually. It just does not let me select it, and gives an error whenever it needs to access it (e.g. if I try to backup it is says Error: unable to mount System)
I want: if possible to solve the issue without formatting Data. I had a TB backup but kinda old, so I got a Nandroid of Data and Boot out from TWRP and I suppose I could then recover stuff extracting from Nandroid through TB, but I've never done it and would rather be able to get a fresh TB backup and move on from there.
A few questions I have: any idea on why I am not able to mount System in TWRP? Could it help to reflash Boot or System, and if so how do I go to do that considering what I have is the whole CM rom package? (I remember being able to fastboot flash single partitions on Nexus devices but that's because the stock rom comes packaged in separate images).
Any input would be greatly appreciated!
Click to expand...
Click to collapse
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data ?
MigoMujahid said:
The note 2 has this issue that makes it unable to be recognized by PC, so this isn't your phone problem, the only way to solve it is replacing the usb socket in your phone, anyway i can recommend dirty flashing your rom first, just flash the rom in recovery and wipe cache and Dalvik cache only then reboot.
If that didn't work, I'm afraid you might have to...... clear data
Click to expand...
Click to collapse
Thanks for the input, I was thinking something along those lines but I wasn't totally sure, I always avoided dirty flashing as I heard of people having issues. Happily, it worked! Weirdest think I saw in a while, it gave me a bunch of errors with System partition (unable to mount, unmount, find), then it gave a "proceeding to patch system partition unconditionally", then it completed. The whole thing took less than 20secs so I do not think it even actually flashed the ROM. Now I am just getting some Play Services error, likely need to reinstall gapps, but phone boots just fine!

Assistance needed! Messed up TWRP - H930

Hi All,
Having some issues with my V30 H930.
I've unlocked the bootloader, installed TWRP and had Pixel Experience running nicely.
Last night I decided to change the ROM to Potato Open Sauce Project, so I rebooted to recovery, performed a factory reset and then proceeded to install the latest POSP ROM and OpenGapps Mini.
After installing, I tried to reboot to system but instead, it just booted back into TWRP.
I then attempted to factory reset and install both zip's again. Same result, could only boot back to TWRP (No fastboot or normal boot).
Now nothing will install on the phone.
I found several threads that advise to try repairing Data or to change Data's format to F2Fs then EXT4. When trying this, I get the following messages:
Failed to mount '/system' (No such device)
Failed to mount '/data' (Device or resource busy)
Failed to mount '/cache' (No such device)
Unable to mount storage
I have tried rebooting to recovery multiple times and doesn't help.
Does anyone know what the best way to resolve this is?
I was considering letting the battery die and then try to boot into fastboot and attempted to reinstall stock software with LG UP but not sure if that will work or not. The phone is currently on 100% battery, so it'll be a while before I can test this.
Thread closed at OP request

Got my TF201 in a mess :(

i had the TF201 running on Cyanogenmod kitkat but it was getting slow and some apps needed a new verision of android.
As i hade no further upgrade path through Cyanogen mod i "downgraded" to Hairybean https://forum.xda-developers.com/showthread.php?t=2407248 as a starting point for upgrading as all ROM how-to's were advising a bootloader upgrade.
i got hairybean recovery+bootloader & JB installed and working successfully, then proceeded to try to upgrade to Zombipop.
Made two mistakes that i'm aware of.
i didn't do a backup of the working system i had. (dumb)
i installed TWRP 2.6.3 which was the latest version listed on the TWRP website for the TF201 https://dl.twrp.me/tf201/ instead of the reccomended 2.8
somewhere along the line i messed something up and found myself in the following situation
i have Android cardhu-user bootloader <1.00 e> released by "ww_epad-10.6.1.27.1-20130711
and at that poiint i also had TWRP recovery 2.6.3 installed
No OS, the tablet dropped straight into recovery mode.
TWRP recovery 2.6.3 was asking me for a password. i have never had a password on this machine and TWRP was not previously asking for this prior to my attempt at installing zombipop.
if i cancel that request then i can't mount any storage in order to try install anything further. The internal file structure is there but it's not showing any files
"Storage: internal storage (0MB)
i cannot enter sideload mode
Errors read: cannot find partition size for /misc / staging /data /boot /recovery
and cannot mount cache.
i assume files are there but are encrypted and cannot be accessed without password
Back in bootloader mode, with fastboot i then tried to flash TWRP 2.8.5.1 blob file ( which i have subsequently found on another site) which i was able to do.
and after getting into that it was no longer asking me for a password but
i can't do a factory reset ( wipe, data, cach and dalvik) prior to trying to flash a new ROM. i just get a load of errors about being unable to mount /system /cache and /data. this makes me wary of trying to flash anything else. it's like what ever the issue that was prompting me for a password previously, is still there. the only difference is with 2.8.5.1 i can actually mount external cards now, though i still cant start ADB sideload properly it reports unable to mount /data
Ultimately i'd like to get it on any rom greater than KitKat which was the last working CynogenMod I had. But right now i'd just settle for having it working on anything at all again.
i'd be grateful for any advice.
<update> using the advanced wipe functions in TWRP I think i have sorted the problems with the /system /cache and /data folders. they are no longer giving errors.
stopping for night now though and coming back to this tomorrow with a fresh head.
Harani said:
i had the TF201 running on Cyanogenmod kitkat but it was getting slow and some apps needed a new verision of android.
As i hade no further upgrade path through Cyanogen mod i "downgraded" to Hairybean https://forum.xda-developers.com/showthread.php?t=2407248 as a starting point for upgrading as all ROM how-to's were advising a bootloader upgrade.
i got hairybean recovery+bootloader & JB installed and working successfully, then proceeded to try to upgrade to Zombipop.
Made two mistakes that i'm aware of.
i didn't do a backup of the working system i had. (dumb)
i installed TWRP 2.6.3 which was the latest version listed on the TWRP website for the TF201 https://dl.twrp.me/tf201/ instead of the reccomended 2.8
somewhere along the line i messed something up and found myself in the following situation
i have Android cardhu-user bootloader <1.00 e> released by "ww_epad-10.6.1.27.1-20130711
and at that poiint i also had TWRP recovery 2.6.3 installed
No OS, the tablet dropped straight into recovery mode.
TWRP recovery 2.6.3 was asking me for a password. i have never had a password on this machine and TWRP was not previously asking for this prior to my attempt at installing zombipop.
if i cancel that request then i can't mount any storage in order to try install anything further. The internal file structure is there but it's not showing any files
"Storage: internal storage (0MB)
i cannot enter sideload mode
Errors read: cannot find partition size for /misc / staging /data /boot /recovery
and cannot mount cache.
i assume files are there but are encrypted and cannot be accessed without password
Back in bootloader mode, with fastboot i then tried to flash TWRP 2.8.5.1 blob file ( which i have subsequently found on another site) which i was able to do.
and after getting into that it was no longer asking me for a password but
i can't do a factory reset ( wipe, data, cach and dalvik) prior to trying to flash a new ROM. i just get a load of errors about being unable to mount /system /cache and /data. this makes me wary of trying to flash anything else. it's like what ever the issue that was prompting me for a password previously, is still there. the only difference is with 2.8.5.1 i can actually mount external cards now, though i still cant start ADB sideload properly it reports unable to mount /data
Ultimately i'd like to get it on any rom greater than KitKat which was the last working CynogenMod I had. But right now i'd just settle for having it working on anything at all again.
i'd be grateful for any advice.
<update> using the advanced wipe functions in TWRP I think i have sorted the problems with the /system /cache and /data folders. they are no longer giving errors.
stopping for night now though and coming back to this tomorrow with a fresh head.
Click to expand...
Click to collapse
Is easy. You have to reset everything through fastboot, bootloader, recovery, system literally everything. Then flash stock rom to recover stock everything, like stock recovery and stock system. Then you are good to go rooting again and so on

Categories

Resources