Hey,
I was trying to unroot my phone (8.0 + Magisk beta) to go back to stock 8.0. I flashed the stock recovery but it would not boot. So I decided to follow this method. https://forum.xda-developers.com/on...ota-update-t3519074/post74716080#post74716080
However, as I flashed back TWRP (bluspark) and formatted, the /data was unable to mount. Last time that happened, I change format to ext4 and then back to f2fs. It worked fine last time although that time i was on official TWRP and on nougat...
This time the format change from ext4 to f2f2s was failing so I tried exfat.
I am now stuck at the formatting screen (for more than 40 min). The console says
Updating partition details...
...done
Formatting Data using mkexfatfs...
Done.
The progress bar is still flashing/moving. There is no option to go back or reboot etc etc...
Should I wait it out until it completes? or can I turn off the phone. I do not want to risk bricking my device so did not turn it off yet. Was hoping it does it soon...
Any suggestions?
Force turn off the phone and then boot to TWRP again, should work fine. But format back to ext4
Why EXFAT out of all the widely more supported partitioning methods?
Reboot to TWRP and follow the same procedure, but format to EXT4.
If you want to unroot your device, just flash the Magisk uninstaller, or reinstall the ZIP. Don't flash Stock Recovery when you have Magisk or other add-ons installed.
If all fails, try the MSM tool and restore your device.
Related
I tried to flash the ROM Nitrogen [Android UnChained] yesterday, and since I had a ext3 partition on my SD-Card i used his tool to convert it.
After that the ROM was working fine but wasn't recognizing my SDCard. Long story short, I ended up today making a full flash, Stock ROM 2.3.6 with ODIN because my phone was stuck in a bootloop for the recovery.
Now I flashed the CWM with Odin but phone does not boot the ROM.
I removed my SDCard and tried to make a Factory Reset in Recovery and when it tries to format /sd-ext I got the message: "E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p2"
When I insert the SDCard and try to make the Factory Reset the Recovery just go back to the initial screen.
When I try to mound sd-ext it just says: Error mounting /sd-ext! If i choose in "mounts and storage" > "format /sd-ext" it goes back to initial screen, like rebooting the Recovery.
Please help me with that. I think the /sd-ext partition is messed up after I used the tool to convert it "PSN's Ext4 conversion tool".
Also my computer is Windows 8, couldn't recognize phone in download mode, used my friends Windows 7 computer to flash Stock ROM and CWM with ODIN.
And now I formated my SDCard and I have the primary partition as FAT32 and the second partition as EXT3, logical, with MiniTool.
TL;DR
Phone doesnt boot ROM, can't mount sd-ext!
edit:
Format the SDCard and recreated the partition with CWM, now I can format without a problem. Will try to flash another ROM now.
It's weird, when I flash the Stock ROM with Odin, and on the first boot it says: Updating package, and suddenly there's an error mounting /data
edit:
Fixed after creating the sd-ext as EXT4 with minitool and as Primary. Reinstalled the Nitrogen ROM and now my sd works. Phone is back
Hello and greetings from germany,
I have a problem with my Moto G 2014 XT1068. I'm coming from rooted stock KitKat (Xposed) with open bootloader and TWRP 2.8.6.0. Everything seemed fine until yesterday, when the phone just went off (0% battery) and stayed at boot animation.
I've tried a lot of things, but the phone seems to be hardbricked:
- I can access recovery, but restoring does "FAIL" (restoring boot partition works, though). Restoring "system" aborts at about 18%, "data" immediately.
- I can access the phone through fastboot, but cannot flash anything. Whatever I do, the phone isn't changed. Tried reverting to stock (getting error when flashing gpt.bin, everything else seemed to work without errors, but no changes), tested flashing other recoveries (partition size mismatch, but that seems to be normal, whatever I flash, it keeps being TWRP 2.8.6.0), or even upgrade the bootloader (no errors reported at all, but no changes made to the phone).
- I can access the phone by MTP from TWRP, but cannot write to or delete anything from the internal SD.
Do you have any further ideas or is it an hardbrick?
Thanks in advance
René
Seems like the internal SD card is damaged, or there's a faulty partition table. Have you tried repairing and formatting /system and /data partitions with TWRP? Does it read external sd cards? If yes you could try flashing CM11 (because lollipop roms need an updated bootloader) from an external sdcard and see what happens. Also your backup could be corrupted, that's why it doesn't let you restore it at all.
As for the recovery, try updating your twrp to the latest version available (3.0). You can update twrp from twrp itself, just to see if it's fastboot's fault.
Wiped /system and /data. Didn't help. Wiping /data/media led to an error.
Is there anything beyond "wipe" to repair and format those partitions?
Thanks for the hints, will try updating TWRP and installing 11 this weekend, as external SDs can be accessed.
Greetings from Germany
René
hi
i have a problem with formatting Data in twrp recovery on huawei P9 eva-L09C432B182
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_174811.jpg
ive tried this ROM:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-newworld-7-tecalote-t3543296
and it installs, but i get message after boot:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_180017.jpg
i can actually see navi bar for a sec and volume buttons still work(can set alarm and sound loudness)
and here is install image of Rom:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_175844.jpg
only error is mount: failed to mount /dev/block/dm-0 at /dat: No such file or directory
so i can only use twrp recovery and fastboot to fix this.
mkfs.f2fs -t 0 /dev/block/mmcblk0p42 process ended with error: 255
unable to wipe Data.
error changing file system.
every other is good for format(System and Cache) to f2fs and ext4 just Data folder has problem with format but wipe works :crying:
Are you using the last version of TWRP? Twrp 3.0.3.0
henryco11 said:
Are you using the last version of TWRP? Twrp 3.0.3.0
Click to expand...
Click to collapse
no i use 3.0.2.0
i think 3.0.3.0 is only for updated huwei with nougat and EMUI5?
Why you decrypted it?
It should work normal after you reset it.
dkionline said:
Why you decrypted it?
It should work normal after you reset it.
Click to expand...
Click to collapse
reset what excatly? factory reset works but Data is in ext4 format. i can wipe it but cant format it.
what if i erase this mmblck0p42 file and then flash twrp in fastboot will the file be reinstalled or will it be after i flash ROM in recovery again?
i made a mistake by formatting it in first place from f2fs to ext4 but before even factory reset didnt work, now it works and only think is left is this encryption error.
jure482 said:
hi
i have a problem with formatting Data in twrp recovery on huawei P9 eva-L09C432B182
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_174811.jpg
ive tried this ROM:
https://forum.xda-developers.com/p9/development/rom-huawei-p9-newworld-7-tecalote-t3543296
and it installs, but i get message after boot:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_180017.jpg
i can actually see navi bar for a sec and volume buttons still work(can set alarm and sound loudness)
and here is install image of Rom:
https://dl.dropboxusercontent.com/u/67361401/IMG_20170309_175844.jpg
only error is mount: failed to mount /dev/block/dm-0 at /dat: No such file or directory
so i can only use twrp recovery and fastboot to fix this.
mkfs.f2fs -t 0 /dev/block/mmcblk0p42 process ended with error: 255
unable to wipe Data.
error changing file system.
every other is good for format(System and Cache) to f2fs and ext4 just Data folder has problem with format but wipe works :crying:
Click to expand...
Click to collapse
Why is your data partition ext4?
Normally it is on each p9 device f2fs.
This can only occur if you were on Nougat between and had installed the TWRP-n which has no Decryption Support and if you had by yourself formated data with this TWRP to ext4.
To install NewWorld Rom you must be on Marshmallow Firmware (because of Android 6 Bootloader) and your data partition must be f2fs.
In the meantime there's a new TWRP for Android 7, which has already Decryption Support.
But you cannot use this TWRP for installing NewWorld. You must have the one, which I have linked in my OP.
On which Firmware or Rom have you been, before you tried to install NewWorld?
If you were on Nougat, NewWorld could not flashed, cause you must be on Marshmallow.
Please answer my questions that I can realize in which situation you are.
i have Marshmallow Firmware and yes i formatted data to ext4 myself
the problem occured when i wanted to get nougat but OTA update failed but it booted back into 6.0 normally just root didnt work so i went in TWRP and flashed supersu 2.79 which i had before, then i was stuck in bootloop, manged to get to fastboot but Hisuite says no update packeg for this phone. i flashed back stock recovery and tryed to factory reset but didnt work, flashed twrp back and factory reset then it said data format error so i went and changed it to ext4 after factory reset worked but i cant put it back to f2fs.
aldo i wiped all cache, dalvik/ARTcache, Data, internal storage and system
jure482 said:
i have Marshmallow Firmware and yes i formatted data to ext4 myself
the problem occured when i wanted to get nougat but OTA update failed but it booted back into 6.0 normally just root didnt work so i went in TWRP and flashed supersu 2.79 which i had before, then i was stuck in bootloop, manged to get to fastboot but Hisuite says no update packeg for this phone. i flashed back stock recovery and tryed to factory reset but didnt work, flashed twrp back and factory reset then it said data format error so i went and changed it to ext4 after factory reset worked but i cant put it back to f2fs.
aldo i wiped all cache, dalvik/ARTcache, Data, internal storage and system
Click to expand...
Click to collapse
Okay, you are now on Stock Marshmallow (which version?) and you maked factory reset after formatting data to ext4
Which phone EVA model to you have?
It is recommended to flash Stock Recovery with adb and flash latest official Marshmallow Full Firmware once again (downloaded and unzipped) with 3 Button (Force Update) from the folder dload on your phone (update.app and if present meta-inf must be in this folder only) Force Upgrade to Marshmallow Firmware should solve your problem (Bootloader get closed, data should be formatted to f2fs automatically)
Tecalote said:
Okay, you are now on Stock Marshmallow (which version?) and you maked factory reset after formatting data to ext4
Which phone EVA model to you have?
It is recommended to flash Stock Recovery with adb and flash latest official Marshmallow Full Firmware once again (downloaded and unzipped) with 3 Button (Force Update) from the folder dload on your phone (update.app and if present meta-inf must be in this folder only) Force Upgrade to Marshmallow Firmware should solve your problem (Bootloader get closed, data should be formatted to f2fs automatically)
Click to expand...
Click to collapse
thanks soo much i did what you said on pm. went to bootloader and flashed your twrp then wiped again arpcache, cache, system, data, reboot to twrp then installed your ROM which still said that mount dev-0 error but i still rebotted and bam it booted longer with this very nice animation you have and showed emui and now im at select language page!
Flashing your twrp in bootloader fix the problem and formatted Data to f2fs thank you again.
also i used command recovery --wipe_data --set_filesystem_encryption=off before all above to make sure ecryption is off not broken.
im now on home screen it looks nice just 3 navigation buttons on bottom look smaller then i had before, thanks again.
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.
I just did a full flash and erase with sweet_global_images_V13.0.12.0.SKFMIXM_20220801.0000.00_12.0_global ROM.
after a quick rom setup with no sim and no wifi, I went back to TWRP and the data partition can't be mounted.
I tried then the usual advanced wipe, setting the partition to ext2 then to ext4 and the rom does not boot and goes back to recovery.
If from recovery I do a wipe, then the rom starts, but after setup, going back to TWRP gives agaion the same problem and the data partition can't be mounted.
Any Idea?
which TWRP version you use?
Zibri said:
....Any Idea?
Click to expand...
Click to collapse
Have you format data partition before starting the new rom?
Format is neccesary to remove the encryption of the formal rom.
Wipe data isn't enough for that.
yes I did... but I think MIUI reformats it.
which twrp are you using?
Maybe the twrp you're using doesn't support encryption yet
it worked with MIUI 12.5.9.. but MIUI 13.0.12 reformats the userdata partition if it is formatted with twrp.
maybe because of dm-verity but I am not sure.
I just did this:
FULL FLASH from EDL or FASTBOOT without relock and including userdata.
Then fastboot boot twrp-3.6.2_11-0-sweet.img
Form TWRP I reformatted userdata as EXT4.
Then booted the system... after booting for the first time the system, userdasta is again encrypted.
Yes, seems u are using twrp which not support decryption yet, change ur twrp/ofox then (there is 1 that already support android 13)