Cannot wipe data in TWRP after install MIUI 11 - Xiaomi Redmi 6 Pro Questions & Answers

Twrp show error "unable to mount storage" if install any zip file and fastboot shortcut has gone
How to solve it because i want to change this miui 11 to miui 11 eu
Sorry if my english is very bad because i from indonesia

Related

[NEED HELP!] Mi 6 MIUI 9 China Dev ROM - Problems with TWRP, MagiskSU and GApps

Device: XiaoMi Mi 6
ROM: MIUI 9 China Developer 8.3.15
State: Unlocked + USB Debugging
So I tried to install TWRP 3.2.1.0 Sargit + OpenGApps ARM64 8.0 Micro + MagiskSU/SuperSU into the device
From all four of those, I only successfully installed TWRP but not really usable
******no-verity-opt-encrypt-5.1.zip is longer usable for the new update (tried to install and failed)
Here is the problem I'm facing:
1/ TWRP is installed, Format Data helps the Internal Storage to be usable but it keeps go back to 0MB after a reboot to the system then back to TWRP again, causing this to be impossible to flash anything after a system reboot without a Format. Tried Wipe Cache, System (re-flash ROM, stupid me), Data, and the rest, changed File System to EXT4 and the EXT3 and still did not work. And this is what I received when trying to install something if Internal Storage is 0MB.
HTML:
Could not mount /data and unable to find crypto footer
Unable to mount storage
Failed to mount '/data' (Invalid argument)
2/ Used TWRP and ADB (Format everytime so I could not put anything into the storage) to flash OpenGApps and the outcome is it booted into the system and 5 seconds later, it shows something similar to 'com.systemui has stopped working', should be the Google framework. Booted back into TWRP, performed a Format Data and the same thing happened. (so, re-flashed ROM)
3/ Installed MagiskSU or SuperSU (followed instruction step-by-step) through TWRP and ADB and System won't boot up through Power button, Reboot System of TWRP. MagiskSU led me back to TWRP after Boot and SuperSU simply bricked my device. (re-flashed ROM again)
So clearly, I have Root access from the China Dev ROM itself, but it does not really do the job.
I am in China so I want to use some China ROM's features and apps which cannot be downloaded from any appstores I can find from Global ROM.
I have not tried Rooting the Latest Global ROM, yet. So I don't know the result but I'm sure want to use China ROM instead!
Have not tried wipe system and flash official ROM zip from MIUI with TWRP but I guess it won't change.
And lastly I have data in Google and I need Google services so I can access those apps.
If anyone knows how to perform a fix for any of the above, I would be very appreciate!! I had spent a whole day trying to deal with this but it seems like!!!
1, I guess you installed wrong TWRP, you should donwload TWRP from here https://forum.xda-developers.com/showpost.php?p=75326288&postcount=90, this one can de-crypt Oreo Data partition.
2, Don't flash opengapps on any China rom, just download all needed apks from apkmirror and install them. If then you see play service FC, try to disable MIUI Optimization from Developer Options and set Selinux to passive mode. You can also flash xiaomi.eu rom, they are based on China rom but have gapps embedded. BTW, xiaomi.eu 8.3.15 beta and 9.5.3.0 stable supports xposed Oreo beta2.

Cannot Install Any Custom Rom

I recently unlocked my bootloader after waiting for 1440 hours. I am/was currently on MIUI 10.0.1.0 but wanted to install a custom rom like lineage 15.1. I installed Red Wolf TWRP and then tried to install the rom. I went to Advanced Wipe section of the recovery and checked Dalvik, Cache, Data and System but not Vendor and Internal Storage. It wiped those partitions without any error. But after that i tried to install the rom but halfway through install it ended with "Update Process Ended with Error 7" and a line saying "Failed to Mount /system (Invalid Argument)" and changed the system partition size to zero. I had to repair it and flash MIUI back using fastboot.
I did this same process over and over with different recoveries ( RED WOLF, ORANGE WOLF and even official TWRP) and different builds of lineage (rom zip was never corrupted) and even with ressurection remix but still failed and same thing happened again and again. Am I doing something wrong in the process? I didn't flash lazyflasher as I read in multiple threads that it is not necessary if flashing a custom rom. Please guide?
I hope it works for my English.
1- mount > select all > restart recovery
2- full wipe > install rom and gapps > format data
prospektus said:
I hope it works for my English.
1- mount > select all > restart recovery
2- full wipe > install rom and gapps > format data
Click to expand...
Click to collapse
Thanks for replying. You said full wipe. Should I include vendor as well or just regular (Dalvik, Cache, Data and System)?
thrustaxehandle said:
Thanks for replying. You said full wipe. Should I include vendor as well or just regular (Dalvik, Cache, Data and System)?
Click to expand...
Click to collapse
yes.. delete internal memory. rom board. format data.
thrustaxehandle said:
I recently unlocked my bootloader after waiting for 1440 hours. I am/was currently on MIUI 10.0.1.0 but wanted to install a custom rom like lineage 15.1. I installed Red Wolf TWRP and then tried to install the rom. I went to Advanced Wipe section of the recovery and checked Dalvik, Cache, Data and System but not Vendor and Internal Storage. It wiped those partitions without any error. But after that i tried to install the rom but halfway through install it ended with "Update Process Ended with Error 7" and a line saying "Failed to Mount /system (Invalid Argument)" and changed the system partition size to zero. I had to repair it and flash MIUI back using fastboot.
I did this same process over and over with different recoveries ( RED WOLF, ORANGE WOLF and even official TWRP) and different builds of lineage (rom zip was never corrupted) and even with ressurection remix but still failed and same thing happened again and again. Am I doing something wrong in the process? I didn't flash lazyflasher as I read in multiple threads that it is not necessary if flashing a custom rom. Please guide?
Click to expand...
Click to collapse
You need to upgrade to a higher version for twrp. 3.2.2
prospektus said:
yes.. delete internal memory. rom board. format data.
Click to expand...
Click to collapse
OK. I will try your method and will report back.
Update: I tried your method but still failed. Any other solution will be appreciated.
esiv129 said:
You need to upgrade to a higher version for twrp. 3.2.2
Click to expand...
Click to collapse
I'm already using TWRP version 3.2.3
thrustaxehandle said:
OK. I will try your method and will report back.
Update: I tried your method but still failed. Any other solution will be appreciated.
I'm already using TWRP version 3.2.3
Click to expand...
Click to collapse
try again unlock
prospektus said:
try again unlock
Click to expand...
Click to collapse
I again tried the process as follows:
Flashed MIUI 9.6.4.0 with MiFlash using clean and lock option.
Then I unlocked it again using miunlock.
Then I flashed RedWolf v28 beta recovery by booting it and flashing it from inside recovery.
This time I flashed lazyflasher and checked options disable dm-verity and force encrypt in recovery and installed magisk. It did it perfectly.
Then I went to Advanced Wipe Section of Wipe tab and checked all the option required like cache, dalvik, data, system and even vendor. It wiped it without any problems like always.
But here the same problem starts to arise: when I again tried to install lineage 15.1 (downloaded latest build this time too) it starts but after halfway through it says Updater process ended with Error 7
Cannot install sdcard/lineage-build date and version
and Unable to mount /system (invalid argument)
When i restart recovery system partition size changes to zero and I have to repair it by changing the file system option.
Currently now I'm on MIUI 9.6.4.0 with RedWolf recovery (options disable dm-verity and force encrypt are enabled) and lazyflasher and Magisk installed. I can use my phone when I flash MIUI 9 or 10 using but it not letting me to install any custom rom. I'm really frustrated.
thrustaxehandle said:
I again tried the process as follows:
Flashed MIUI 9.6.4.0 with MiFlash using clean and lock option.
Then I unlocked it again using miunlock.
Then I flashed RedWolf v28 beta recovery by booting it and flashing it from inside recovery.
This time I flashed lazyflasher and checked options disable dm-verity and force encrypt in recovery and installed magisk. It did it perfectly.
Then I went to Advanced Wipe Section of Wipe tab and checked all the option required like cache, dalvik, data, system and even vendor. It wiped it without any problems like always.
But here the same problem starts to arise: when I again tried to install lineage 15.1 (downloaded latest build this time too) it starts but after halfway through it says Updater process ended with Error 7
Cannot install sdcard/lineage-build date and version
and Unable to mount /system (invalid argument)
When i restart recovery system partition size changes to zero and I have to repair it by changing the file system option.
Currently now I'm on MIUI 9.6.4.0 with RedWolf recovery (options disable dm-verity and force encrypt are enabled) and lazyflasher and Magisk installed. I can use my phone when I flash MIUI 9 or 10 using but it not letting me to install any custom rom. I'm really frustrated.
Click to expand...
Click to collapse
When you get the mount error, come to the home page and get to the mount. speak enable all options enable all options. speak restart recovery restart recovery. make format data
Not sure if the link is forbidden? I can't tell you sorry. https://www.youtube.com/watch?v=dzrWkjOfndA&t=501s
I have read replies and everyone is sharing his bit of suggestions, here are mine
1. boot redwolf as FASTBOOT BOOT recovery.img - (if you arent already)
2. change file type of /data partition to-from (xFat to ext4) and wipe all partitions (internal storage can be skipped)
3. instead of linage15.1 same package, try downloading some other custom rom, i recomend DotOS2.5 or Crdroid4.6.2
4. uncheck enforce md5 bla bla while flashing zip.
i hope you will succeed

Xiaomi MI CC9e TWRP issues

Hi guys,i have a MI CC9e,and i have some problems with the TWRP recovery.
I have already unlocked the Bootloader and also Installed the TWRP.When i Flash the EU Rom the process finish normally and the phone boot also normal,the problem comes when i reboot the phone to recovery mode,i get the error "unable to mount data" (invalid argument) and "unable to mount /data/media/TWRP/"
I have already tried a lot of guides,for example how to convert f2fs DATA Partition format and the Cache to ext4 etc without success...
How can I fix this Problem and install then the weekly updates?i don't want to format my phone everytime i get an update....
SORRY FOR MY BAD ENGLISH
Up

I'm having problems with TWRP and OrangeFox, permission errors all the time

I'm facing some permissions problems and thus being unable to install Paranoid Android Q5. I was using MIUI 12 (Xiaomi.EU).
The steps I took to change the ROM:
Formated data (errors started right away) then I did the usual wipes (cache, dalvik, data)
Whenever I try to wipe or format data I get error messages like: Error opening /data/XXX (Operation not permitted).
System is always mounted read-only no matter what I try and after I install any ROM many of these error messages pop up.
Orange Fox gives some error about key.
Flashing of the ROM suceeds, but system cannot boot, loading screen forever.
Can anyone point me some directions?
Thanks in advance and sorry about any possible bad grammar.
[ ]s
;-)
Mount system, vendor and data manually and then try. If fails then try with pitchblack recovery.
Pavello said:
Mount system, vendor and data manually and then try. If fails then try with pitchblack recovery.
Click to expand...
Click to collapse
Well , i have the same problem..and used pitch black also
Any update on this?
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
jordyx20 said:
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
Click to expand...
Click to collapse
i gusse thats a problem in miui12.0.3
i was using pixel experience 10 then i flash miui 12.0.3 in fastboot when i tryd to flash orange fox i had the same problem
so i gusse u can downgred to miui 11 and flash twrp and it will work
I solved this by downgrading to 12.0.1
jordyx20 said:
I still had those problems. I don't know if it is a problem with the TWRP or something similar. Is there any progress to solve this problem? I wanted to try the pixel experience betas with Android 11 but because of this problem with the TWRP I have not succeeded (in case I have Android 10 under MIUI 12.0.3 and RN8 Ginkgo model and obviously unlocked bootloader)
Click to expand...
Click to collapse
Format data ..(backup first if u need ) .. the boot to recovery again ... Should decrypt the data ... Worked for me ...
I am having this exact problem.
Under internal storage (sdcard) I see a bunch of hashed folders I cannot open.
Format data returns a multitude of "Error opening '/data/somefolder/asdf/asdf' (Operation not permitted) and marks the wipe as Failed. The attempted formatting also mentions "E:Error making /sdcard/Fox directory: Required key not available." "Failed to unmount '/data' (Device or resource busy)
I can wipe anything except Data. I also tried downgrading to 12.0.1 firmware but it does not fix it for me.
The ROM can be booted into, and magisk managed to be installed, but no google apps were installed.
Dibbo Sarker said:
Format data ..(backup first if u need ) .. the boot to recovery again ... Should decrypt the data ... Worked for me ...
Click to expand...
Click to collapse
I tried this, but no luck on my side.
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
A problem like this was the one I had since TWRP had the device encrypted but it did not inform me and it did not give me any sign that I had to write a password (password that I have no idea what it is).
What I did so that it did not give me an error was to install Orangefox and while there delete everything and install a file of these that I got from google.
I had to try one by one and restart to see if it asked me for a password in orangefox, luckily one worked and it no longer asked me to decrypt the files and I could install the rom and gapps normally
jonatasgabriel76 said:
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
Click to expand...
Click to collapse
Thank youuuuuuuu! You have rescued my phone!
jonatasgabriel76 said:
Recovery download link on description. Only for Note 8/8T.
I flashed it with fastboot and works fine!
Click to expand...
Click to collapse
THANK YOU!
Why is my orange fox is not showing Vendor, System Etc ? How can i fix this ? I really need to wipe those as well..
Jona'san - sama said:
Why is my orange fox is not showing Vendor, System Etc ? I really need to wipe those as well..
Click to expand...
Click to collapse
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
Jona'san - sama said:
I really need to wipe those as well..
Click to expand...
Click to collapse
if you want to flash a rom = yes
loopypalm said:
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
if you want to flash a rom = yes
Click to expand...
Click to collapse
Can't wipe it still, I already try the Mount > ✓ Vendor ✓ System.. but in formatting it say's "Cant Mount the....blah..blah.."
I try to uncheck the "Mount System vendor, system as read-only" from the settings of mount.. but for some reason, if you go back to Mount options again, you can't check the system, vendor now
loopypalm said:
if you need to do something to system or vendor go to ofox menu/mount and choose what partition to mount
if you want to flash a rom = yes
Click to expand...
Click to collapse
Yes, I need it to flash a ROM
try this it worked
Had the same issue.
1. I installed twrp via ADB
2. Restarted to recovery mode into twrp
3. Installed the latest OrangeFox and restarted into recovery again.
4. It asked me for a password which is the pin I set then proceeded to format data.
5. After formatting data I restarted again to recovery.
Then I was able to install custom roms.
I am using derpfest Android 12 on my Poco x3 pro. I want to install magisk.zip through orange fox recovery installed on my phone. But I am not getting storage data on recovery, only a fox folder is there. Can somebody tell me is it a glitch or any Android 12 restrictions or something.

cannot root anymore after update

Hi everyone
yesterday i receveived the android 10 update OTA for my redmi note 8 global and i updated it
i ve been using OrangeFox recovery since months and everything worked fine until yesterday
i can no more upload files to phone using recovery it shows 0 MB space i reinstalled ginkgo_global_images_V12.0.3.0.QCOMIXM_20201226.0000.00_10.0_global using fastboot then installed again twrp but after every reboot no more custom recovery only MI recovery 3.0 i have to install it everytime now and anyway in twrp or orangefox i can do anything there are strange files names it just seems it can t decrypt data to work properly ( i have no password set btw ) i formated data and same thing
Anyone can help please
be sure that ur phone is unlocked and enable USB debug
here are talking about an issue about installing a custom recovery or an issue in phone storage
I use fox too but I flashed the TWRP 1st using TOOL ALL IN ONE installed it without any issue then flashed fox from a flashable zip
for the memory issue I had it too it started with no being able to copy files that are 4Go or more to the internal memory so I flashed a the stock rom again and the memory become 0 and not accessible
but in my case fox was working so I went to wipe tab and wiped everything after ejecting the memory card in the reboot it said the system was destroyed I flashed the rom again and the issue was resolved
but before u do that make sure the phone is unlocked if not u wont be able to flash anything
Requirements: miui 12.0.3 china stable fastboot rom.
Orangefox recovery;
Custom rom of your choice;
Example xiaomi .eu 12.0.3 stable
Device: gingko(redmi note 8)
Note: make sure your bootloader is unlocked;
Backup your data before doing anything.
This guide is working and tested .
*If anything goes wrong i will not be responsible*
*Its your choice*
Make sure to check clean all button on mi flash tool.
(Do not check clean all and lock)
Flash miui 12.0.3 stable china fastboot rom using mi flash tool in fastboot mode;
After rom flashed complete the setup;
,boot phone in fastboot and flash twrp
Next boot to twrp ,allow modification.
Next move orange fox recovery to phone storage while connected on pc .
Flash orange fox ,
now your phone will boot
Into orangefox
Move custom rom of ur choice to phone storage while connected on pc.
Next
,wipe delvik
, system ,
data
cache,
vendor.
Flash any custom rom of your choice .
If phone reboots to orangefox itself just got to wipe and choose format data and type yes;
The after wiping done,
Reboot
complete the setup
Download magisk 21.3 stable
Move to phone storage
Reboot to orangefox recovery
Flash magisk ;
Reboot
Install magisk manager if manager is not showing,
Now your will be rooted
,your done.

Categories

Resources