Problem install custom rom via TWRP - Xiaomi Mi 10 Questions & Answers

My device is Mi 10 5G (umi). I have unlocked bootloader and install rom Xiaomi.eu 20.3.28.
Today, I go into TWRP, do wipe Art cache/Davilk, Data, System, Cache then format data.
Then I reboot to install another room. But now it got stuck there.
Sometimes it says System_root file is read only and cannot mounted. When I could manage to mount system, I could not install any rom. It fail after system partition unpacking. It says that /system can not mounted and keep bootloader to stuck with TWRP. I do not know how to deal with it.
Please help me!

moonsalini said:
My device is Mi 10 5G (umi). I have unlocked bootloader and install rom Xiaomi.eu 20.3.28.
Today, I go into TWRP, do wipe Art cache/Davilk, Data, System, Cache then format data.
Then I reboot to install another room. But now it got stuck there.
Sometimes it says System_root file is read only and cannot mounted. When I could manage to mount system, I could not install any rom. It fail after system partition unpacking. It says that /system can not mounted and keep bootloader to stuck with TWRP. I do not know how to deal with it.
Please help me!
Click to expand...
Click to collapse
reflash recovery in fastboot, reboot recovery, format data only, reboot recovery again copy the rom and install it

stefano alegnini said:
reflash recovery in fastboot, reboot recovery, format data only, reboot recovery again copy the rom and install it
Click to expand...
Click to collapse
I have just figure out that my problem come from installing mi-globe 20.4.30 rom. I will try your method to see if it could help, though I have reflashed recovery and do format/wipe for so many times without hope.

moonsalini said:
I have just figure out that my problem come from installing mi-globe 20.4.30 rom. I will try your method to see if it could help, though I have reflashed recovery and do format/wipe for so many times without hope.
Click to expand...
Click to collapse
I came from MI Globe without success ( system read only) in recovery.
You must renew the internal partition structure.
Install with Mi Flash the enterire Europe fastboot rom EEA
https://c.mi.com/oc/miuidownload/detail?guide=2

stefano alegnini said:
reflash recovery in fastboot, reboot recovery, format data only, reboot recovery again copy the rom and install it
Click to expand...
Click to collapse
Dear bro, it worked like a charm. Thank you so much for your help.

stefano alegnini said:
I came from MI Globe without success ( system read only) in recovery.
You must renew the internal partition structure.
Install with Mi Flash the enterire Europe fastboot rom EEA
https://c.mi.com/oc/miuidownload/detail?guide=2
Click to expand...
Click to collapse
I mean Mi-Globe rom, not global rom. You could find them here. Their rom is based on Xiaomi.eu rom.

moonsalini said:
I mean Mi-Globe rom, not global rom. You could find them here. Their rom is based on Xiaomi.eu rom.
Click to expand...
Click to collapse
Yes I know Mi globe, but this rom corrupted my recovery many times, now I'm on Xiaomi Eu stable without problems

stefano alegnini said:
Yes I know Mi globe, but this rom corrupted my recovery many times, now I'm on Xiaomi Eu stable without problems
Click to expand...
Click to collapse
Yes, that is exactly the problem. Now I am using Xiaomi.ei rom too. Thank you very much!

Related

Cannot Boot System after Stock flashing and TWRP (Nikel)

Hi.
Facing strange behaviour here with my Redmi note 4 Nikel. (Unlocked boot)
If I flash stock using SPFlashtools, I can boot after flashing and complete the startup definition, including the association to my Mi account.
ThenI can boot in fastboot ad flash TWRP (greek miui version, 3.2.1.1) in the recovery ad boot inmediately to TWRP to avoid the reflash of the stock recovery in that partition, but here comes the first issue...
Even being scratch firmware, TWRP asks for password. My Miui account password is not unlocking TWRP, so I format data partition but when rebooting to the system, the equipment stays in the Xiaomi logo, not even trying to boot to the system.
What is the problem with hose two (TWRP and System) unable to live toghether?
Regards
jrotaetxe said:
Hi.
Facing strange behaviour here with my Redmi note 4 Nikel. (Unlocked boot)
If I flash stock using SPFlashtools, I can boot after flashing and complete the startup definition, including the association to my Mi account.
ThenI can boot in fastboot ad flash TWRP (greek miui version, 3.2.1.1) in the recovery ad boot inmediately to TWRP to avoid the reflash of the stock recovery in that partition, but here comes the first issue...
Even being scratch firmware, TWRP asks for password. My Miui account password is not unlocking TWRP, so I format data partition but when rebooting to the system, the equipment stays in the Xiaomi logo, not even trying to boot to the system.
What is the problem with hose two (TWRP and System) unable to live toghether?
Regards
Click to expand...
Click to collapse
You need to flash lazyflasher after flashing TWRP. Surely you have read that in the instructions about flashing TWRP if you are using miui?
DarthJabba9 said:
You need to flash lazyflasher after flashing TWRP. Surely you have read that in the instructions about flashing TWRP if you are using miui?
Click to expand...
Click to collapse
No metion to that in the therads I have read.
Thank you!
jrotaetxe said:
No metion to that in the therads I have read.
Thank you!
Click to expand...
Click to collapse
Well, that is required in the Snapdragon version. You need to check whether it is required in the MTK version too.
DarthJabba9 said:
Well, that is required in the Snapdragon version. You need to check whether it is required in the MTK version too.
Click to expand...
Click to collapse
Runs
Thank you very much
jrotaetxe said:
Runs
Thank you very much
Click to expand...
Click to collapse

best non-root backup before unlocking bootloader?

Hi,
I can finally unlock the bootloader - which AFAIK wipes user data. Now, since I've used the phone heavily over the waiting period, there's a lot to backup and reintegrate later on.
What's the quickest way to do so?
MTP-copy all of Internal Storage to PC -> unlock -> copy back?
(I am experienced with unlocking, rooting, flashing Roms and recoveries, but haven't had a non-rooted phone for about 8 years, so I am a bit out of the loop on non-root backup procedures)
TIA!
Using adb pull, you could probably get your internal storage.
Iirc the canonical dirs are:
/storage/emulated/0
/storage/emulated/legacy​Helium should be sufficient for apps.
For me unlocking didn't wipe data.
Only wipe was when I installed developer rom to be able to unlock.
So the process should be unlock, flash twrp and then flash magisk to maintain twrp and avoid the bootloop. Then you can backup with root and clean flash if you want.
Twrp can't decrypt data but it's not needed to flash magisk. Anyway you can flash orangefox (latest version, beta 6) from twrp and it can decrypt data to access it from recovery.
omnomnomkimiiee said:
Using adb pull, you could probably get your internal storage.
Iirc the canonical dirs are:
/storage/emulated/0
/storage/emulated/legacy​Helium should be sufficient for apps.
Click to expand...
Click to collapse
Thanks.
Any advantage of using adb vs. just mounting the device via mtp? Last I've used adb for file transfer it was slower than even mtp...
jes0411 said:
For me unlocking didn't wipe data.
Only wipe was when I installed developer rom to be able to unlock.
Click to expand...
Click to collapse
do you mean "to be able to root"? because otherwise I don't follow...
So the process should be unlock, flash twrp and then flash magisk to maintain twrp and avoid the bootloop. Then you can backup with root and clean flash if you want.
Twrp can't decrypt data but it's not needed to flash magisk. Anyway you can flash orangefox (latest version, beta 6) from twrp and it can decrypt data to access it from recovery.
Click to expand...
Click to collapse
Thanks. This is gonna sound very noob, but since I'm new to MIUI - is data already encrypted in stock MIUI? Otherwise I'll need orangefox only for switching between future custom ROMs, right?
santoo said:
do you mean "to be able to root"? because otherwise I don't follow...
Thanks. This is gonna sound very noob, but since I'm new to MIUI - is data already encrypted in stock MIUI? Otherwise I'll need orangefox only for switching between future custom ROMs, right?
Click to expand...
Click to collapse
I mean to unlock because I can't bind my mi account in stable and had to install developer rom to bind account.
Yes data is already encrypted on stock rom. If you need to access data partition in recovery you need orangefox. But it's not needed to flash magisk.
To use custom roms you don't need orangefox because you can format data from twrp and then flash the rom. I started using orangefox since I tried miui 10 oreo beta because I was unable to avoid encryption on that rom.
jes0411 said:
I mean to unlock because I can't bind my mi account in stable and had to install developer rom to bind account.
Yes data is already encrypted on stock rom. If you need to access data partition in recovery you need orangefox. But it's not needed to flash magisk.
To use custom roms you don't need orangefox because you can format data from twrp and then flash the rom. I started using orangefox since I tried miui 10 oreo beta because I was unable to avoid encryption on that rom.
Click to expand...
Click to collapse
Thanks for the explanations!
I plan on just unlocking bootloader, enabling cam2 and installing a current gcam today - I'll wait with flashing until miui10 stable is released in the next week or so, so I can do a "fair" comparison between Lineage and Miui (and possibly some others)
jes0411 said:
For me unlocking didn't wipe data.
Click to expand...
Click to collapse
A quick heads-up, just in case anyone stumbles upon this thread:
As of MIUI 9.5.17 global stable, using official MIUI unlock 3.3.525.23, unlocking the bootloader DOES WIPE user data & factory-resets the phone (to be more precise - it wipes the complete internal storage).
SD is, as expected, left alone.
santoo said:
A quick heads-up, just in case anyone stumbles upon this thread:
As of MIUI 9.5.17 global stable, using official MIUI unlock 3.3.525.23, unlocking the bootloader DOES WIPE user data & factory-resets the phone (to be more precise - it wipes the complete internal storage).
SD is, as expected, left alone.
Click to expand...
Click to collapse
I only shared my experience.
My data was wiped when I installed developer rom to bind account but when I unlocked bootloader after 360h data remained intact. When I flashed twrp phone didn't boot but I solved it flashing magisk.
jes0411 said:
I only shared my experience.
Click to expand...
Click to collapse
Yes, and I thank you for it.
I was not accusing you of anything - things may well have changed with different versions of MIUI or different versions of the unlock tool, or between chinese/global versions. Just a warning for others that, at least with the versions I posted, having a backup is reaaaaally nice :good:

[ROM] Mi 8 Miui 10 Global Beta 8.8.21

Link: https://www.fshare.vn/file/RTJXVAH9KSY9?token=1535025145
Update Miui 8.8.29:
link: http://www.fshare.vn/file/KQNTVM7UGGK9
link mega: https://mega.nz/#!Ws9mXYhb!fdDQrJWY-rAQEJSidTQRnI39E2xadWaXOMZl9rA1YGs
flash with twrp or ota with accout xiaomi beta test
Update link Miui 8.8.30 from Xiaomi:
http://bigota.d.miui.com/8.8.30/miui_MI8Global_8.8.30_1e559f40ab_8.1.zip
Ziarrr said:
update link Miui 8.9.4: https://mega.nz/#!S8k2WIzA!idZKZN2q1mlW5JkhtkAD38q-_HWWxbrBy_bgPUQG7RU
Click to expand...
Click to collapse
Ziarrr said:
Link: https://www.fshare.vn/file/RTJXVAH9KSY9?token=1535025145
Click to expand...
Click to collapse
Hello,
Is this a fastboot rom or recovery rom?
Ziarrr said:
Link: https://www.fshare.vn/file/RTJXVAH9KSY9?token=1535025145
Click to expand...
Click to collapse
hugge18 said:
Hello,
Is this a fastboot rom or recovery rom?
Click to expand...
Click to collapse
Recovery rom
Wow this download page is so bad. Any other page where we can download the rom? I only understand "ding dang dong" and have no idea where to click to download.
grootooter said:
Wow this download page is so bad. Any other page where we can download the rom? I only understand "ding dang dong" and have no idea where to click to download.
Click to expand...
Click to collapse
click at testview white and wait 30s
downloading.. ETA 16 hours...
Hello,
Do I need an authorized beta account?
---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------
alternative link: http://bigota.d.miui.com/8.8.21/miui_MI8Global_8.8.21_fc07cb2c7d_8.1.zip
You guys will need an authorized beta account unless you want to flash the ROM via TWRP Recovery
So, I updated without an authorized account though TWRP. As soon as I tried to reboot to system, it brought me back to TWRP.
I suppose I had to disable encryption all over again so I formatted Data, installed the update again and started to move the required zip for Magisk and encryption disabling back in the internal memory. During the installation the system rebooted (I didn't ask to, the first time it didn't reboot til I asked) and something crashed on the first screen pf MIUI 10. Then it decided to reboot again to recovery... and the TWRP was gone, I have the MIUI stock recovery again. Anyway, I formatted the data once more and the system is running without problems now.
tldr: Updated, data was deleted, TWRP is gone, system seems good
Fabrz said:
So, I updated without an authorized account though TWRP. As soon as I tried to reboot to system, it brought me back to TWRP.
I suppose I had to disable encryption all over again so I formatted Data, installed the update again and started to move the required zip for Magisk and encryption disabling back in the internal memory. During the installation the system rebooted (I didn't ask to, the first time it didn't reboot til I asked) and something crashed on the first screen pf MIUI 10. Then it decided to reboot again to recovery... and the TWRP was gone, I have the MIUI stock recovery again. Anyway, I formatted the data once more and the system is running without problems now.
tldr: Updated, data was deleted, TWRP is gone, system seems good
Click to expand...
Click to collapse
Try flashing the new version 3.2.3 of TWRP for MI 8, I was on global dev 8.8.7, flashed the recovery image flawlessly then I flashed the ROM 8.8.21 here and reboot successfully.
Hello, i had buy a china Version. After waiting Time toi unlock i Do it ans install xiaomi.eu rom. Now i would like to install this global.
What Can i need to do?
Just wipe data ans Factory reset and flash thé rom with TWRP ans wipe dalvik cache when finish and reboot?
Do i need to use dm-verity for twrp and to doesn't brick phone or bootloop? Sorry for my english.
3597dxta said:
Try flashing the new version 3.2.3 of TWRP for MI 8, I was on global dev 8.8.7, flashed the recovery image flawlessly then I flashed the ROM 8.8.21 here and reboot successfully.
Click to expand...
Click to collapse
I had the 3.2.3 and global 8.8.7, same as you. Maybe you formatted data before flashing? That's the only thing I can think of.
Anyway, an happy feedback: Gps is working after few hours, that's what pushed me to try this update
Fabrz said:
I had the 3.2.3 and global 8.8.7, same as you. Maybe you formatted data before flashing? That's the only thing I can think of.
Anyway, an happy feedback: Gps is working after few hours, that's what pushed me to try this update
Click to expand...
Click to collapse
I didn't format data, I entered my lockscreen password into twrp the first time opened it, it said data was decrypted successfully and voilq, I was able to wipe and flash without any problem
3597dxta said:
Try flashing the new version 3.2.3 of TWRP for MI 8, I was on global dev 8.8.7, flashed the recovery image flawlessly then I flashed the ROM 8.8.21 here and reboot successfully.
Click to expand...
Click to collapse
do i still to wipe before flashing? im on global 8.8.7
vizard101 said:
do i still to wipe before flashing? im on global 8.8.7
Click to expand...
Click to collapse
Just wipe cache & dalvik cache. No need to wipe all
No fastboot version available ?
Best regards [emoji6]
Envoyé de mon MI 8 en utilisant Tapatalk
3597dxta said:
Try flashing the new version 3.2.3 of TWRP for MI 8, I was on global dev 8.8.7, flashed the recovery image flawlessly then I flashed the ROM 8.8.21 here and reboot successfully.
Click to expand...
Click to collapse
Do I need to unlock bootloader first before flash?
cheehong93 said:
Do I need to unlock bootloader first before flash?
Click to expand...
Click to collapse
Here the procedure for guys who haven't unlocked their bootloader
1.unlock bootloader
2.download and flash fastboot 8.8.7 Global Beta (closed beta)
3. Download and flash TWRP 3.2.3
4.download this recovery rom 8.8.21 and flash via Twrp (no need to wipe all but cache and dalvik)
8.8.23 is out since yesterday, do someone have the download link for the Mi 8?
Hello,
but the global beta miui 10 8.8.7 and more old global beta miui 10 8.8.21 ?

Unofficially unlocking bootloader

Hello! I am a Redmi Note 3 user, some days ago I changed from stable to beta ROM and spoiled my device. All the sensors are not working and can't apply for unlocking bootloader. Please suggest me an unofficial method to unlock bootloader and install custom recovery. Hope you guys will help me soon! Thanks
ishansarvaiya said:
Hello! I am a Redmi Note 3 user, some days ago I changed from stable to beta ROM and spoiled my device. All the sensors are not working and can't apply for unlocking bootloader. Please suggest me an unofficial method to unlock bootloader and install custom recovery. Hope you guys will help me soon! Thanks
Click to expand...
Click to collapse
Whats ur miui version ?
naik2902 said:
Whats ur miui version ?
Click to expand...
Click to collapse
on miui 9.
ishansarvaiya said:
on miui 9.
Click to expand...
Click to collapse
How u flashed miui 9 beta ? Using fastboot rom or recovery rom ?
naik2902 said:
How u flashed miui 9 beta ? Using fastboot rom or recovery rom ?
Click to expand...
Click to collapse
I did it by Recovery rom.
ishansarvaiya said:
I did it by Recovery rom.
Click to expand...
Click to collapse
Sensor not working then May be something wrong with persist partition.
Did u manually downloaded recovery rom from mi site.?
Why miui 9? Latest beta is miui 10 . go to system updater app and press update to upgrade to latest miui 10 beta version.
I think latest beta is 8.10.11 something.
naik2902 said:
Sensor not working then May be something wrong with persist partition.
Did u manually downloaded recovery rom from mi site.?
Why miui 9? Latest beta is miui 10 . go to system updater app and press update to upgrade to latest miui 10 beta version.
I think latest beta is 8.10.11 something.
Click to expand...
Click to collapse
When I installed, I got miui 10 and stuck in the problem so I tried to install stable therefore I am now again in miui 9.
ishansarvaiya said:
When I installed, I got miui 10 and stuck in the problem so I tried to install stable therefore I am now again in miui 9.
Click to expand...
Click to collapse
So u on miui 9 stable?
U stuck during upgrading miui10 coz u must factory reset. Sometime rom cant boot due to data partition and apps.
So need to clear user data to succesfully boot on upgrade. So u must factory reset to clear data partition. Else u will face problems. or bootloop while upgrade.
So if I just want to do the repair sensor stuff, what shall I do?
I did install TWRP but couldn't install any custom ROM, all stuck in bootloop!
What shall I do?
ishansarvaiya said:
So if I just want to do the repair sensor stuff, what shall I do?
I did install TWRP but couldn't install any custom ROM, all stuck in bootloop!
What shall I do?
Click to expand...
Click to collapse
Lol..u must format data in twrp.
Go to twrp and press FORMAT DATA and Type "YES" to format.
after that wipe factory reset
Flash rom
Flash gapps
Reboot
naik2902 said:
Lol..u must format data in twrp.
Go to twrp and press FORMAT DATA and Type "YES" to format.
after that wipe factory reset
Flash rom
Flash gapps
Reboot
Click to expand...
Click to collapse
I did this procedure but still stucked in bootloop. I just want to repair persust.img, I don't need to install custom ROMs now.
ishansarvaiya said:
I did this procedure but still stucked in bootloop. I just want to repair persust.img, I don't need to install custom ROMs now.
Click to expand...
Click to collapse
Flash latest fastboot rom with flash all option . Which Cleans everything including userdata.
naik2902 said:
Flash latest fastboot rom with flash all option . Which Cleans everything including userdata.
Click to expand...
Click to collapse
I tried latest fastboot ROM with flash all option as you guided, it shows an error that this file can not be flashed. After that I flashed this by EDL mode, the flashing completed successfully but the sensors are still not working!
ishansarvaiya said:
I tried latest fastboot ROM with flash all option as you guided, it shows an error that this file can not be flashed. After that I flashed this by EDL mode, the flashing completed successfully but the sensors are still not working!
Click to expand...
Click to collapse
Just extract the persist.img file from fastboot rom.
Put the device in fastboot mode or if it doesnt work then put in edl mode and flash.
And flash using fastboot command
fastboot devices
fasboot erase persist
fastboot flash persist persist.img
fastboot reboot
Or
easy method
u can just flash persist.img file using TWRP. if twrp ask which parttion to flash then select persist partition.

Question Can i downgrade from miui 13 to 12 without loosing data?

I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
lakshmish said:
I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
Click to expand...
Click to collapse
you can't update from 13 to 12.5 you need to erase all your data , it's mandatory...
Just flash the fastboot rom with Mi Flash and tick "Clean All" so after MIUI boot you can flash twrp and other ROM again
Already messed it up :-( Can you please tell me which fastboot rom i should flash... I was using eu rom but even after flashing it phone boots to mi recovery.
Hey, yesterday I flashed xiaomi eu stable MIUI 13.0.3 by their script.
To do it,
1) put the phone in fastboot mode
2) just run the script by double clicking on it, however you need the file with data_format on the end.
If your phone does bootloop and go back to MIUI Recovery 5.0 like mine did yesterday, you can fix it by wiping all data in this recovery it boots up to and then restarting the phone. It worked for me and my friend.
lakshmish said:
Already messed it up :-( Can you please tell me which fastboot rom i should flash... I was using eu rom but even after flashing it phone boots to mi recovery.
Click to expand...
Click to collapse
miui 13 is not worth to try , is just miui 12.5 with more bugs , nothing changed so flash fastboot rom with mi flash
Global v12.5.4 : https://xiaomifirmwareupdater.com/miui/mojito/stable/V12.5.4.0.RKGMIXM/
lakshmish said:
I should have been more careful before updating coz after the update i realized that twrp won't work on miui 13. I can fastboot recovery but the internal storage is encrypted and it shows 0 MB. I need root, so i am thinking of downgrading to 12.5 again. Can i do that without loosing data? Also how can i downgrade? Should i just download fastboot version of the rom and update it?
Click to expand...
Click to collapse
Just so you know if you ever need this again.
You dont need recovery at all to get root.
Just fastboot pached boot image.
DominPL421 said:
Hey, yesterday I flashed xiaomi eu stable MIUI 13.0.3 by their script.
To do it,
1) put the phone in fastboot mode
2) just run the script by double clicking on it, however you need the file with data_format on the end.
If your phone does bootloop and go back to MIUI Recovery 5.0 like mine did yesterday, you can fix it by wiping all data in this recovery it boots up to and then restarting the phone. It worked for me and my friend.
Click to expand...
Click to collapse
Oh! I think i havent wiped all data. I will try this tonight. Thanks a lot
alonsoj636 said:
miui 13 is not worth to try , is just miui 12.5 with more bugs , nothing changed so flash fastboot rom with mi flash
Global v12.5.4 : https://xiaomifirmwareupdater.com/miui/mojito/stable/V12.5.4.0.RKGMIXM/
Click to expand...
Click to collapse
Actually i was happy with 12.5 but got too excited with MIUI 13... I should have done my research. Will again flash this. Thanks for the link.
slickw said:
Just so you know if you ever need this again.
You dont need recovery at all to get root.
Just fastboot pached boot image.
Click to expand...
Click to collapse
I didnt know this.. I won't go to MIUI 13 again coz there are no recoveries for it and it cant be decrypted for now but its good to know that i dont need recovery for root. Thank you!
I installed today CherishOS A12. Tbh cool rom, doesn't work that bad. A lot better than miui though. Animations are nice and long, plus the phone is fast.

Categories

Resources