Error During Advanced Format - OnePlus 3T Questions & Answers

Hi, I recently went installed TWRP using the guide here: https://forums.oneplus.net/threads/...wrp-root-nandroid-efs-backup-and-more.475142/
and tried flashing DMVerity after which I went to wipe and format data after which I got:
Formatting Data using mkfs.f2fs...
mkfs.f2fs -t 0 -r 16384 /dev/block/sda15 process
ended with ERROR: 255
Unable to wipe Data.
Unable to format to remove encryption.
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
I freaked out and went back to the Install option to find that nothing was showing up. I googled for some fixes and found that formatting ext4 would work but I got:
Formatting system using make_ext4fs...
...done
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
And then I tried to make it f2fs again. To which I got:
Formatting system using mkfs.f2fs...
...done
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
So I finally tried changing it to exfat and it got stuck on Updating partition details...
I forced reboot to TWRP and stuck on the 'blu_spark loading screen'
What do I do please help, I am freaking out.

Okay this is for anyone who might have the same problem (accidentally formatting to exfat) later on. For the longest time, I thought that my device was bricked and there was no coming back. However it hit me that it might be a problem with TWRP not being able to understand exfat partitions properly. So I tried something else and I currently have my phone running Open Beta 19. Here's what I did:
1) Power off the phone by holding down volume up+power button.
2) Hold volume up+power again until you're not in the bootloader and then connect the device to the PC.
3) Go to the fastboot folder, open terminal/command prompt and check if it's connect by typing in: fastboot devices
If it is connected you'll get some sort of device ID with fastboot written next to it.
4) Type in: fastboot erase system
and hit enter.
5) Type in: fastboot format:ext4 system
and hit enter.
6) Now flash the TWRP recovery. Using the method defined in the original link.
7) You should now be able to boot into TWRP and bypass the loading screen.
8) I had a small problem at this step, for some reason you can't flast Open Beta 19 directly from TWRP. I had a copy of Open Beta 13 on my PC from some time ago and I used that and it flashed without a problem.
9) Boot into the device and set it up.
10) Once set up, go back to the recovery and you'll see that you're back to the stock recovery. Wipe everything off.
11) Transfer OB19 to the device and install that through the custom recovery and boot it up.
You should hopefully be running a clean version OB19 after you boot up. Hope this helps.

Related

Urgent, please help

Urgent help please.
I wanted to flash the ROM with Galaxyer one:
http://forum.xda-developers.com/showthread.php?t=933028
I proceeded step by step :
I installed the patch and applied it, the TAB isnt bootloader locked, great.
I loaded Modaco Kernel ext4 in download mode, the Tab restarted. At this point, I disconnected the TAB from PC and restarted Tab in Recovery mode with new ROM zip installed on formatted Micro sd dard ( FAT32 ). Im getting a message :
E: Failed to mount / system (invalid argument )
/system may be rfs. Checking..
E: Failed to mount / data (invalid argument )
/data may be rfs. Checking...
.
.
.
.
File System need to be converted to ext4.
E: Failed to mount /SD Card (no such file or directory )
Cant mount /sdcard
Please Help, Im stuck here.
POST#6(in case your bootloaders are unlocked)
http://forum.xda-developers.com/showthread.php?t=1013164
IF LOCKED, unlock by rooting the tab by manual rooting method than applying the patch on first thread.Than flash the recommended kernel.Followed by rom installation from recovery menu!
Do you have an SD-Card in the tab? It sounds like that's what you are missing judging by that error. An external SD is required by the MoDaCo kernel to backup your system prior to conversion to EXT4.
Don't worry this is normal.
1. Find Modako thread and read it, or read below
- Download the EXT4 TAR file
- Flash using ODIN (version 1.7, do not select the 'repartition' option)
SINCE YOU NEED TO UPGRADE TO EXT4:
Your device won't reboot normally - that's OK, just turn it off (hold down power button for 5 seconds)
Load recovery - turn the device on with 'volume up' held
Your device will now perform the EXT4 conversion - depending on the volume of your data, this can take a while, so be patient
Reboot, you're done!

[Q] Having some Big problems on my motorola razr i! please help.

Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Can you boot into recovery? maybe you can try adb sideload.
Setarcos said:
Can you boot into recovery? maybe you can try adb sideload.
Click to expand...
Click to collapse
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
adrex9 said:
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
Click to expand...
Click to collapse
I've experienced with similar situation getting no adb in TWRP. However, when I chose Advanced/Adb sideload, adb sideload did work for me.
PS: Maybe you can try install aother recovery.
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
hi, i've tried rsd lite allready but my pc didn't see it.
i'll try what you said, maybe it helps
Hazou said:
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
Click to expand...
Click to collapse
yeah, but the thing is that hadn't even installed it yet, it was just the format the f'd it up installing touch cwm is my goal right now though
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
i tried what you said but i still get this problem:
Code:
E; Unable to mount '/data'
E: unable to mount internal storage.
EDIT:
By the way, how do you do an SBF flash?
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
casquee said:
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
Click to expand...
Click to collapse
yeah, i can get into fastboot but the pc does not recognize it. its as if it would be off, nothing happens when you connect it to the pc

Can't mount /factory or /cache - kind of a brick

Hey there!
I got my tablet messed up so I was trying to "un-brick" it using the factory images and the temp recovery. All good, until I try to flash a zip. These errors won't go away:
E: unable to mount /factory
E: unable to mount /cache
This prevents me from doing basically anything. I cannot flash any firmware because of these. Of course, the repair partition fails also...
Any ideas?
I managed to format the /factory and /cache partitions so now I got rid of that error. Still, trying to flash a firmware on it and failing miserably from unknown reasons... Isn't there a firmware flash tool available for this device to write the firmware directly into the nand?
Later Edit: Nope, /factory still not mounting...
Even Later Edit: Still no mounting, I managed to dig deeper in the error and it seems that the main message is "can't format unknown volume /emmc". What shocked me is that after unplugging the tablet from PC (using the tethered recovery trying to fix the stuff), I booted in recovery (volume up and power), and to my surprise, I was met by the ol' American Megatrends UEFI - check the attachment... I guess I messed up the bootloader so bad that the Intel chipset took over?
So it seems that the tablet won't boot up in any way. Every boot procedure (power button, power + vol up, power + vol down) will start the UEFI. Go guys!
Ruwin said:
Hey there!
I got my tablet messed up so I was trying to "un-brick" it using the factory images and the temp recovery. All good, until I try to flash a zip. These errors won't go away:
E: unable to mount /factory
E: unable to mount /cache
This prevents me from doing basically anything. I cannot flash any firmware because of these. Of course, the repair partition fails also...
Any ideas?
Click to expand...
Click to collapse
You can find a fix for this problem? i have the same error "unable to mount /factory"

*SOLVED*Mounting error after wiping /data,/cache and /system via twrp on my z3c d5803

This problem has been solved by @Didgesteve
Thank you very much, Didgesteve!
For everyone who is a genius(like me), read his post.
Hi Community,
short story: my device seems kind'a bricked, because i am not able to install a rom via twrp; error: unable to mount /data /cache and /system.
What I did:
I unlocked my bootloader via the official sony method > everything worked flawlessly
I bootet my device into fastboot mode and flashed twrp onto it > everything still workes fine
I wiped /data /cache and /system according to the normal cm13.0 installation process > still finr
I installed the cm13.zip from an external sd-card > no errors
I installed the gapps.zip from the sd-card > Nothing unusual
I booted into cm13, configured it and installed some apps > works as usual
I noticed that a new version of the rom was published, so I booted into twrp > worked
I wiped /data /cache and /system > worked
I reallized, that i could flash my external sd-card, too because i wanted to install the new cm13-version via adb-sideload > now the errors came in
So i thougt retrying wiping /data /cache and /system and the same errors occured > holy sh*t
Last I tried simply installing the cm13.zip from the external sd-card > same errors
What the errors are for wiping(those for install are basically the same:
Code:
could not mount /data and unable to find crypto footer
failed to mount /data (no such device)
Unable to recreate /data/media folder
Failed to mount /system (Invalid argument)
Failed to mount /cache (Invalid argument)
Unable to mount storage
Same goes for using the official cyanogen recovery and other cyanogenmod versions.
I am also not able to find/mount it via adb shell.
The images, etc:
CM13: http://forum.xda-developers.com/z3-compact/development/rom-cm13-t3277402/page7 version by @nelvinchi on 25th February 2016, 12:39 PM
TWRP: https://twrp.me/devices/sonyxperiaz3compact.html
Gapps: https://www.androidfilehost.com/?fid=24269982087021755
Additional information:
OS: Mac OSX El Capitan and Linux Mint 17.3
Sd-Card: SanDisk Ultra 64GB micro sdxc
Phone: Sony Xperia Z3 Compact D5803 (colorrange)
My ideas for fixing this:
-manually adding the partitions via adb shell
+required: correct partiton table and adb commands
+don't now, if this would work
Hope i didn't miss anything and there is someone out there, how can help me,
yours sincerely,
Niggl
Well I followed your method up to step 8 and the point of wiping system in recovery mode. Even if you were flashing a completely different rom, you shouldn't have to touch system unless you're coming from LL to CM for the first time. Updating roms to a later version should only require a wipe of dalvik/cache. By the sound of it there are no system files for it to boot into, either that or the partition tables are corrupt.
Have you got flashtool working? Have you tried pushing a stock tft? to see if you can repair it?
There is Sony Bridge, which if it does the same as the PC version will repair the phone to stock, as long as you can still get into Flashmode.
The chances of being able to repair it back into CM are slim, I suspect you're going to have to start from scratch, get stock working then go back to CM after.
**SOLVED**
Thank you for your help!
Didgesteve said:
Well I followed your method up to step 8 and the point of wiping system in recovery mode. Even if you were flashing a completely different rom, you shouldn't have to touch system unless you're coming from LL to CM for the first time. Updating roms to a later version should only require a wipe of dalvik/cache. By the sound of it there are no system files for it to boot into, either that or the partition tables are corrupt.
Click to expand...
Click to collapse
The partition tables were(because of bull**** or something like that) corrupted(I checked it: not because of the wiping, but i will not wipe /system at an update in the future)
Didgesteve said:
There is Sony Bridge, which if it does the same as the PC version will repair the phone to stock, as long as you can still get into Flashmode.
Click to expand...
Click to collapse
I can boot into recovery and fastboot/flash mode.
Xperia companion and sony bridge are both not working because of "modified software".
Flashtool worked for the stock tft.
So THANK YOU VERY MUCH,
you are my savior!
I hope nobody else, will be a genius like me
Thx again,
Niggl1999

A problem with installing any ROM - unable to wipe or mount /vendor and /product

I have a problem with my phone ... Recently I unlocked the bootloader, installed TWRP and moonlight rom. Everything worked the first time. Something fooled me and I formatted the phone through fastboot, I wanted to re-install the system and from now on worse ... started with hanging off at startup, so I made a "wipe" of everything again and again, later attempt to restore the backup from recovery, although it went but without half of the application (? by the way I have no idea how or why?). So it could not be so I started again ... later I read on the internet about the change of the file system and started to combine to switch from f2fs to ext4 and vice versa. In the end I did not know what were the default systems and the phone does not boot at all: /
I noticed that now when I try to install anything, wipe or whatever jumps in TWRP error:
Unable to wipe Vendor.
Unable to wipe /vendor.
Updating partition details ...
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/product' (Invalid argument)
I do not know whether this should be so but you can not mount these partitions in menu and in the "Change file system" /vendor has 0MB.
I will also add that I tried to install using three buttons (VOL UP + DOWN + POWER) and the firmware on the SD card update.zip but at 5% crashes with the message of failure.
I have no idea what I can do right now, what actually happened and why, so I am asking for help in solving or at least clarifying the matter.
I apologize for the language but I can not speak English very well and I used Google Translate.
Thank you in advance and best regards
PS data if needed
Found Phone: EVA-L09
Model: Huawei phone in fastboot mode
Firmware: mOOnlight v6.5 B398
FB LockState: LOCKED
USER LockState: UNLOCKED
unlocked

Categories

Resources