Question Why does Orangefox not mount internal partition after wipe/format? - Xiaomi Poco X3 Pro

I do not quite understand Orangefox Recovery.
I wanted to install a ROM, for that I wiped everything and formatted data.
Then I wanted to connect the phone to PC and copy the needed files.
But I cannot copy the files, there appears to be no partition mounted.
I then sideloaded the Orangefox installation zip and LineageOS, only afterwards I had the needed internal partition and could copy files for installation.
I expected Orangefox to mount the internal partition right after start and right after wipe/format - what did I do wrong?

If you are on Android 12 they cannot be decrypted yet, that's why.

I am on android 11

Restart recovery after Formatting Data

I did that as well, no change

r0tati0n said:
I did that as well, no change
Click to expand...
Click to collapse
Are you from MIUI? In my case, I'm formatting after installing the ROM, then boot. After that, the internal storage should be available

No, I installed a few Custom Roms, trying them out.
I formatted data, wiped all partitions, rebooted to recovery and then nothing is mounted, I cannot transfer a ROM. I have to sideload.

Which partitions did you wipe? "everything" (as you wrote in the first post) would cause big problems... Afaik EFS for example contains extremly urgent data as the IMEI ... I find 13 partitions on my X3 pro and i hope you didnt wipe them all i dont know wether an (existing?) backup could restore all (!) partitions ... Did you make a nandroid backup of all partitions before wiping them?

r0tati0n said:
No, I installed a few Custom Roms, trying them out.
I formatted data, wiped all partitions, rebooted to recovery and then nothing is mounted, I cannot transfer a ROM. I have to sideload.
Click to expand...
Click to collapse
That is a common error that I have noticed with almost all the recoveries of the poco x3 pro, to solve it you have to change the file format of the data partition to ext4 and again change them back to f2fs since if you leave them in ext4 the cell phone it won't start

r0tati0n said:
No, I installed a few Custom Roms, trying them out.
I formatted data, wiped all partitions, rebooted to recovery and then nothing is mounted, I cannot transfer a ROM. I have to sideload.
Click to expand...
Click to collapse
And who told you to wipe all partitions?

felixpaz1992 said:
That is a common error that I have noticed with almost all the recoveries of the poco x3 pro, to solve it you have to change the file format of the data partition to ext4 and again change them back to f2fs since if you leave them in ext4 the cell phone it won't start
Click to expand...
Click to collapse
This is something that I have never had to do - on any recovery, and on any device. There is absolutely no reason why anyone should have to do this.

DarthJabba9 said:
Esto es algo que nunca he tenido que hacer, en ninguna recuperación y en ningún dispositivo. No hay absolutamente ninguna razón por la que alguien deba hacer esto.
Click to expand...
Click to collapse
What recovery do you use? and you use Poco X3 Pro ? since all the recoveries that I have installed have problems with the data partition, since when you make a partition eraser to install a clean rom you cannot use the internal storage in mtp, it appears on the PC but you can not copy absolutely anything

DarthJabba9 said:
This is something that I have never had to do - on any recovery, and on any device. There is absolutely no reason why anyone should have to do this.
Click to expand...
Click to collapse
My point is that if you don't use Poco X3 Pro you have never had this problem, since in no other model I have not had something similar either.

I use this phone as my daily driver
And this happened when i try to flash CrDroid 8 Android 12 from miui 12.5.7
I do as the instruction says, wipe data, system, flash ROM, then format data.
When i reboot to recovery, there's nothing there, not even internal storage mounted.
So after that, i reboot to system, let it boot, and then reboot to recovery, and it shows again, the storage and everything

felixpaz1992 said:
My point is that if you don't use Poco X3 Pro you have never had this problem, since in no other model I have not had something similar either.
Click to expand...
Click to collapse
Have you looked at my signature?

Related

TWRP Format data ''failed''

Simple as that. When i try to format data im TWRP it says ''failed''. It's the latest version. Also, isto the wipe data option same as factory reset?
I believe that Wipe Data wipes the /data/ partition with the exeption of the /data/media/ partition.
/data/media/ is basically the internal storage (/sdcard/) directory.
Not sure why it failed. What ROM did you previously have installed?
What method did you use to install TWRP?
frederuco said:
I believe that Wipe Data wipes the /data/ partition with the exeption of the /data/media/ partition.
/data/media/ is basically the internal storage (/sdcard/) directory.
Not sure why it failed. What ROM did you previously have installed?
What method did you use to install TWRP?
Click to expand...
Click to collapse
I was transfering from stock rooted to aokp i think it was, but iz doesn't work on any other ROM.. i installed it using your guide from transformerforums. So it could be said that they are similar?
matejilic said:
I was transfering from stock rooted to aokp i think it was, but iz doesn't work on any other ROM.. i installed it using your guide from transformerforums. So it could be said that they are similar?
Click to expand...
Click to collapse
Hmm, not sure why it is giving you that error.
IMO, you should not need to format the DATA partition very often. I would try flashing your new ROM after wiping Cache, Davlik, System and Factory Reset.
frederuco said:
Hmm, not sure why it is giving you that error.
IMO, you should not need to format the DATA partition very often. I would try flashing your new ROM after wiping Cache, Davlik, System and Factory Reset.
Click to expand...
Click to collapse
Thanks manje!

Internal storage won't decrypt

So guys yesterday I flashed miui fastboot rom through TWRP recovery. It went successfully but the problem is now I can't decrypt my internal storage. I wiped it several times but after reboot it gets encrypted again. Idk what to do now! I'm stuck with encrypted internal storage.
TWRP->Wipe->Format Data->Type "yes"->done
ohwarumbloss said:
TWRP->Wipe->Format Data->Type "yes"->done
Click to expand...
Click to collapse
I've done that several times already. After reboot it gets encrypted again. When I reboot into Twrp recovery it ask for a password to decrypt data.
live4speed said:
I've done that several times already. After reboot it gets encrypted again. When I reboot into Twrp recovery it ask for a password to decrypt data.
Click to expand...
Click to collapse
When you're asked for Password press "Cancel"
Are you sure you've read right, not just wipe Partitions but Format it (the right Button)
It may be that MIUI encrypts Data again while reboot, do you have a MIUI Account activated on your Device? Maybe you first need to deactivate this.
Also, when asked for Password and cancelled that, are you able to mount i.e. System and/or install something like Magisk?
Format Data before flashing custom ROM always works, I never tried that in the other Direction.
ohwarumbloss said:
When you're asked for Password press "Cancel"
Are you sure you've read right, not just wipe Partitions but Format it (the right Button)
It may be that MIUI encrypts Data again while reboot, do you have a MIUI Account activated on your Device? Maybe you first need to deactivate this.
Also, when asked for Password and cancelled that, are you able to mount i.e. System and/or install something like Magisk?
Format Data before flashing custom ROM always works, I never tried that in the other Direction.
Click to expand...
Click to collapse
Yes I'm sure I've format data by typing "yes". It shows the internal storage RIGHT AFTER formatting data but after a reboot it doesn't show internal storage.
Miui account is activated in my device.
It shows internal storage as 0MB & I can't access it.
I can't take a backup but I did manage to flash Aroma bloatware removal zip.
I never flashed Custom Rom. I flashed the official MIUI fastboot rom.
live4speed said:
Yes I'm sure I've format data by typing "yes". It shows the internal storage RIGHT AFTER formatting data but after a reboot it doesn't show internal storage.
Miui account is activated in my device.
It shows internal storage as 0MB & I can't access it.
I can't take a backup but I did manage to flash Aroma bloatware removal zip.
I never flashed Custom Rom. I flashed the official MIUI fastboot rom.
Click to expand...
Click to collapse
Okay, just booted mine into Recovery and internal Storage is there. I'm using latest Xiaomi.eu weekly with no Mi Account set up (don't need it right now)
I'm using the TWRP from this Thread https://forum.xda-developers.com/re...guide-how-to-root-install-twrp-redmi-t3867146
Sorry, that's all I can tell you :/
Can you restore only DATA from TWRP backup after Decrypting internal storage? Or it'll decrypt storage again?
Sent from my Redmi Note 6 Pro using Tapatalk
live4speed said:
Can you restore only DATA from TWRP backup after Decrypting internal storage? Or it'll decrypt storage again?
Click to expand...
Click to collapse
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
limuc said:
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
Click to expand...
Click to collapse
Can you share step by step procedure?
I'm already on stable rom 10.2 with pitch-black recovery.
Sorry, I have started so many attempts that I do not remember what was successful. Now I have at least 'PitchBlack' and StableRom 10.2 ... on the run, backups via PitchBlack are also possible, so I can describe the internal memory, in the recovery mode, the internal memory is not displayed 0
limuc said:
Sorry, I have started so many attempts that I do not remember what was successful. Now I have at least 'PitchBlack' and StableRom 10.2 ... on the run, backups via PitchBlack are also possible, so I can describe the internal memory, in the recovery mode, the internal memory is not displayed 0
Click to expand...
Click to collapse
Did you restore the data or start from the scratch again?
limuc said:
I know this, have the same problem.
The only help for me was changing TWRP from ...mr-r00t to Pitchblack (via fastboot), then i installed Stable Rom 10.2...:Now everyting is fine.
Click to expand...
Click to collapse
Are you running 10.2 decrypted or encrypted? Also is there any way to avoid decypting the device to use PBRP or any custom recovery at all?
live4speed said:
Did you restore the data or start from the scratch again?
Click to expand...
Click to collapse
No, I started as a new device.
---------- Post added at 06:55 PM ---------- Previous post was at 06:28 PM ----------
lalibm said:
Are you running 10.2 decrypted or encrypted? Also is there any way to avoid decypting the device to use PBRP or any custom recovery at all?
Click to expand...
Click to collapse
Ok, I'm trying to describe my path again:
- By fastboot I install the PitchBlack recovery
- I wipe data, cache and dalvik
- I format the data partition
- I restart in the recovery status
- in the PitchBlack recovery I flash the stable Rome 10.2 ...
- I wipe data, cache and dalvik
- I flash Magisk 18
I start the device, and do not restore, but a new device.
I hope it will help.
limuc said:
No, I started as a new device.
---------- Post added at 06:55 PM ---------- Previous post was at 06:28 PM ----------
Ok, I'm trying to describe my path again:
- By fastboot I install the PitchBlack recovery
- I wipe data, cache and dalvik
- I format the data partition
- I restart in the recovery status
- in the PitchBlack recovery I flash the stable Rome 10.2 ...
- I wipe data, cache and dalvik
- I flash Magisk 18
I start the device, and do not restore, but a new device.
I hope it will help.
Click to expand...
Click to collapse
Thanks man that worked for me finally I got it working.
live4speed said:
So guys yesterday I flashed miui fastboot rom through TWRP recovery. It went successfully but the problem is now I can't decrypt my internal storage. I wiped it several times but after reboot it gets encrypted again. Idk what to do now! I'm stuck with encrypted internal storage.
Click to expand...
Click to collapse
format data in recovery and you are done but you'll lose all your data

0 mb in TWRP internal storage

I searched for an answer and noticed it's a common issue. I am trying to flash a kernel on to my already flashed rom. I was wondering if there is a more current fix. More importantly, how can this be avoided in the future. Thank you guys!
Its caused by a bug/error with either the filesystem or encryption.
Did you wipe data after flashing the new ROM? Data from stock usually doesn't work with custom ROMs.
Do you have a PIN/password on Android?
Are you using the latest build of TWRP?
Press the menu button at the bottom of the screen in TWRP and post what the error message is in the red text.
It's caused by no root access
djhulk2 said:
It's caused by no root access
Click to expand...
Click to collapse
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
KemikalElite said:
Something is probably wrong with the data partition. TWRP should always have root access.
Try in TWRP:
Wipe > Format Data > Slide to format
This will erase the data partition, so backup everything to a PC in Android first if needed. It should allow TWRP to mount /data again.
Click to expand...
Click to collapse
I've debated on doing this. I'm not worried about losing pictures texts etc as they're backed up.
I read that it essentially leaves the device with no OS. If that's wrong please let me know!
I have found that if I choose Slot A and reboot system it reboots me in to TWRP. If I choose Slot B it runs the OS like normal (except I still have issues using Facebook and it's services).
The ROM works and I can perform all the custom mods on it. I just want to flash a kernel and the problem persists. 0 mb in storage.
It's trial and error at this point. Fail fast fail forward. I have another phone I can use but I love the OnePlus. Any help will be appreciated!
https://andi34.github.io/faq/faq_twrp.html
I'm not willing to risk it until I know how to get the custom ROM on to the storage to flash it.
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Never heard of formating data removing the OS, that would be if you wipe the system and normal wipe is like a factory data reset and therefore will not wipe your phone of the OS
djhulk2 said:
Yes formating by typing in yes will wipe it all,everything including pictures, with no rom on it at all. If u choose to do that, don't close twrp. Instead you should be able mount after wards, once mounted transfer the magisk zip, twrp, and your custom rom(has to be 1.5gb not 200mb through magisk). Flash magesik, install ram disk twrp, install rom. That was a method I've done before but if u want to keep everything there is other way
fastboot boot twrp.img, that command boots twrp if u have it or don't, installing to ram disk makes it permant...this boot command is just a one time thing each time. It's what I do when new firmware update, I loose root but I regain it each time
Click to expand...
Click to collapse
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Try this in recovery, sometimes its known to work.
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to EXT2.
Repeat the same process selecting Ext4
Wipe > Advanced Wipe > Check Data and press Repair or Change File System > Change File System > Change it to back to EXT4.
Try formatting data after this.
drey4211 said:
I attempted to format. It said
"failed to mount /data (device or resource busy)
"unable to mount storage"
Click to expand...
Click to collapse
Since you dont care about the data on the phone I would just do 1 of 2 things. 1st I would reflash twrp on to you phone if that doesn't work then I would just grab the fastboot ROM and just flash your phone back to full stock reroot and install twrp from scratch. I would not try to start repairing partitions. I wouldn't want to worry about screwing up the EFS partition
Well in an update, I formatted the
Storage and now I'm stuck in bootloader screen. It's unlocked but I'm having a hard time flashing a ROM through adb.
I use the twrp version 3.3.1-2
Best would be to just use fast command to boot it
But it should be under wipe/format data/then type in yes
That was what I was trying to have you avoid. If your can boot to fastboot download the fastboot ROM I told you to and run the flash-all.bat file. If your on 9.5.8 make sure you use the fastboot ROM of the same version. Do not flash azip of a different version firmware like 9.5.7.
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
I essentially soft bricked my device. Called OnePlus and they got me up and running. That's awesome that they have that service!
Are you removing all security? Pattern, pin and fingerprints? Are you decrypted? Never had an issue with flashing a ROM causing these issues which is why I'm asking. Something you've done at some point is causing this
I'm not sure what that was. Ironically enough I am now stuck in TWRP boot loop. Hopefully I can figure this out otherwise I have to call oneplus again.
I will admit I may not know everything but it's trial and error. I don't have anyone to really teach me this so I try to read the forums and learn. You guys have been great!
ajsmsg78 said:
It happens to me any time I'm in twrp and flash a rom then reflash twrp. It doesn't matter if I flash Magisk or not the issue always happens. What I do is use a USB C flash drive and plug it in when I want to flash/backup a rom. This way I can always access it. After flashing any rom then booting I'm always able to access my internal storage again. It seems like a bug in twrp.
The strange part is when this bug happens your files are encrypted in a 0 folder but you can still copy from your PC to your internal storage while in twrp.
Click to expand...
Click to collapse
I've the same issue.. did you find a fix? So annoying

Cant go into system.

I am using a Mi Note 2, and used TWRP to wipe all of my internal storage. After I install Lineage OS 16 and GAPPS in, I tried to reboot it into system but it still goes to TWRP. Any method to make my phone boot into system? Thx everyone.
XYXMCMUG304 said:
I am using a Mi Note 2, and used TWRP to wipe all of my internal storage. After I install Lineage OS 16 and GAPPS in, I tried to reboot it into system but it still goes to TWRP. Any method to make my phone boot into system? Thx everyone.
Click to expand...
Click to collapse
The first post in the Lineage OS 16 for Mi Note 2 thread says to format /system, /data and /cache. Did you wipe or format?
Which Gapps package did you use. Again, that thread indicates "stock and super variants are not recommended".

Question TWRP HELP

So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
I need a reply asap as I really need the phone
If only had done format data, reboot to system to get into MIUI, will take 5~10 minutes, done the initial setup, then the internal storage should be readable.
If still does not work, buy USBOTG or find a microSD card with sufficient storage to flash.
My guide:
https://forum.xda-developers.com/t/4288121/post-85137963
BreadGyarados said:
So I decided to install Xiaomi EU rom to my device, but after wiping data in TWRP it all goes to ****.
Firstly, Windows no longer recognize the internal storage, it's still there, but I can't copy files into it
Second;y, my TWRP internal data is 0mb, but after restoring that and rebooting twrp, the data is 0mb again and it forces to to do it all over again,
Does someone know a way to fix this issue?
Click to expand...
Click to collapse
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
lolo9393 said:
Only solution is fastboot rom via MIFLASH in order to refresh partition mess.
Click to expand...
Click to collapse
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
p
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
BreadGyarados said:
so I need to do Miflash, another issue is that there's no system partition in the advanced wipe menu but it's stil there in the internal storage in install
Click to expand...
Click to collapse
that's the main issue can someone fix this please i beg you
Click to expand...
Click to collapse
Hello, first of all tell me what version of TWRP you have installed?
twrp 3.5.2
felixpaz1992 said:
Hello, first of all tell me what version of TWRP you have installed?
Click to expand...
Click to collapse
Hola, en primer lugar donde dime qué versión de TWRP tienes instalada.
BreadGyarados said:
twrp 3.5.2
Click to expand...
Click to collapse
Personally, my TWRP gave me an error when trying to install Miui.eu, that's why from TWRP I installed Orange Fox and I was able to install EU, another thing is that twrp does not show you or mount the data partition since by default it comes in format F2fs, you would have to change the data file format to ext4 and go back to f2fs for twrp to work with that partition, which is also why your PC cannot copy files to internal memory
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
felixpaz1992 said:
The published versions of TWRP are betas and it has problems with the format of the data partition since by default the Poco X3 Pro brings the f2fs format for data, so the only thing I can think of is that you have to format if or if data and change the partition format so that twrp recognizes it
Click to expand...
Click to collapse
so I decided to replace the recovery twice and the phone is properly recognized now
You could use sideload to install rom btw. Otherwise, you could use the official beta orangefox recovery, iirc, it also recreate the partition if you attempt to use some of its feature.

Categories

Resources