Always booting into TWRP - Xiaomi Mi 10 Questions & Answers

Hello,
I installed TWRP and rooted my Phone with Magisk afterwards.
Now my phone always boots into TWRP instead of starting my Android.
I already removed Magisk and tried flashing the xiaomi.eu ROM but that doenst help.
I also tried formatting my /data partition but that fails with the Message "Unable to decrypt FBE". When i try to format data i get the error "unable to wipe '/data' -- unknown file system 'auto' unable to format to remove encryption.
I hope I haven't bricked my phone completely and someone can help me

raphi59 said:
Hello,
I installed TWRP and rooted my Phone with Magisk afterwards.
Now my phone always boots into TWRP instead of starting my Android.
I already removed Magisk and tried flashing the xiaomi.eu ROM but that doenst help.
I also tried formatting my /data partition but that fails with the Message "Unable to decrypt FBE". When i try to format data i get the error "unable to wipe '/data' -- unknown file system 'auto' unable to format to remove encryption.
I hope I haven't bricked my phone completely and someone can help me
Click to expand...
Click to collapse
Tray xiaomi MI Tool V2

[email protected] said:
Tray xiaomi MI Tool V2
Click to expand...
Click to collapse
The Program fails with exit code 1: Mismatching Image and Device, do you know how i can solve this?

Enter in fastboot mode
Select the phone is bricked

Got it working!
If anyone else has this Problem on his MI 10T, this is what i did:
1. Download the TWRP from here --> https://forum.xda-developers.com/t/...r-mi-10t-mi-10t-pro-redmi-k30s-ultra.4187427/
2. Boot TWRP from Fastboot --> fastboot boot <twrp.img>
3. Use OTG pendrive to install xiaomi.eu ROM (I used Version 12.0.7) - without any wipe.
4. After the installation completed successfully, wipe your cache, data and do a full wipe in stock recovery
5. Reboot your System (optionally install twrp) and happy with your working System :^)

Related

problem with TWRP ZCX flashing

So guys this is my scenario....
1)i was using slimrom 7.1.2 before a week
2)then came back to the final MIUI 8 dev rom(7.8.something) (marshmallow)to try out xposed again
3)then today i flashed AOSP oreo
4)on booting it asked for my previous screen lock password...when i entered it, it gave an error stating "ur password is correct but ur data is corrupt so u need to format ur phone to continue"
5)as i had some files on internal i force restarted it to TWRP and tried to flash the same version of slimrom again but it ended with an error "ZIP signature verification"....
6)this same error shows up when trying to flash any custom rom
7)currently i have disabled "zip signature verification" option in ZCX twrp settings
Can anyone tell me what is causing the ZIP SIGNATURE VERIFICATION FAILED error??....
I face this password error from official miui developer to MCaosp oreo rom.
I tried some twrp recovery like zcx and inline and red wolf. but no result.
how can I flash oero roms?
solved: I did Format data (not wipe data) and I pass enter password error.
I had the same problem but with official twrp, try flashing another recovery or,
You can copy your to pc while in TWRP and then format data, format system, install custom rom,
If it didn't work, flash latest stable miui firmware, unlock bootloader, install twrp, install custom rom, It'll work.
Thanks guys....but I can't even flash any nougat or marshmallow based ROMs...always ends up with ZIP SIGNATURE VERIFICATION error...any idea what caused this error....previously I was able to flash without this error...only solution I found so far is to disable the zip signature verification setting in twrp menu
Bootloader Locked
So basically the problem is that the bootloader has been locked or the data has been encrypted by the previous rom so to solve this problem and the signature error what you need to do is go twrp and hit wipe->format data ..then it will ask you to type "yes"....
BY PRESSING THE "YES " IT WILL FORMAT EVERYTHING IN THE STORAGE...I REPEAT DO TAKE A BACKUP OF DATA BEFORE DOING THIS...
after the wiping process is done the encryption is removed so now the internal storage is empty so make sure you have rom in SD card so flash the ROM and the gapps and you are good to go..
Hope this solved your problem..
Thanks vamskiri....will try it
Here read this.
You flashed miui dev (official) so what offcial dev roms do is they encrypt your phone (idk why) but it automatically decrypts while updating through OTA. And as it is encrypted and it automatically decrypts in OTA updates, so to use another custom roms you've to decrypt it by yourself but neither you or I know the decryption password. So the only option you have now is to format data / factory reset. (IT WILL WIPE EVERY LAST FILE EXCLUDING SYSTEM) :good:

Xposed for Zenfone 4 ZE554KL

Hi,
I'm trying to install Xposed (v90 sdk26 arm64) on a Asus ZE554KL Android 8.0.0.
I performed the bootloader unlocking, and then with "tricks" I installed TWRP (3.1.1-0-Z01K) because it was overwritten by the stock recovery. Now it is working with TWRP and root (with Magisk-v17.1), I also used "no-verity-opt-encrypt-6.0".
But when I reboot on the device, I again have Internal Storage (0MB) and the error "Failed to mount '/ data' and Unable to mount storage."
This is the same problem I have before flashing the no-verify "no-verity-opt-encrypt-6.0" and "Magisk-v17.1" which I can fix with Wipe / Fortmat Data.
Another strange fact is that whenever you boot the custom Recovery TWRP on the first attempt the screen gets frozen, only when you boot again the TWRP works.
Could someone help me fix it? So I would get to install the Xposed module.

Rooitng LG G5

Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
robburne said:
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
Click to expand...
Click to collapse
The best way to root the lg g5 is to use lg up to restore it back to stock 7.0 20a. Then use adb and fastboot to flash twrp. Then magisk for root (optional). The best roms are currently lineage 16.0 and 17.0.
Thanks - but before I flash any images (stock or custom) I want to do a nandroid backup. I am not sure how to install TWRP without root access, and root access requires flashing!
You have to first find which model you have (for example h850) and see if its possible to unlock the bootloader.
This is necessary if you want to install custom roms/recovery.
On the h850 you can find a tutorial on xda called Official LG G5 H850 Bootloader Unlock.
After you unlock the bootloader you need to flash twrp recovery, after that you need to boot into the recovery and flash magisk for root.
Good luck
Thanks, I do have a European model H850. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet because it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
robburne said:
Thanks, I do have a European model H350. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet becasue it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
Click to expand...
Click to collapse
You would have to use a third party back up app either on your phone or PC.
I did try the Titanium app but it required root access I wasn't aware of any PC tools but will take a look now, thanks.
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
Did you root with magisk? Try flashing either a rom or boot into download mode and restore your phone.
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
robburne said:
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
Click to expand...
Click to collapse
So you first must find a rom for your variant of the g5 since it's a European version it's most likely an h850 then, boot into twrp wipe system, art chache, chache, data. Installing magisk is the same as super su
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
robburne said:
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
Click to expand...
Click to collapse
Whatever you prefer should work the best way to get back to stock is threw download mode
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
robburne said:
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
Click to expand...
Click to collapse
I don't know if you can restore an xml file.

Xiaomi Mi 10 5G bricked after reboot (successfully flashed before)

Hi. I just received Mi 10 and tried to flash it with xiaomi.eu rom (native one - Global which doesn't support 2 SIM). It was pretty hard as it often declined to boot to the system. Finally I able to flash it successfully and ROM detects both SIM cards. But another problem appears: randomly after reboot phone lose `system` and `data` partitions and stops booting while nothing was touched.
In TWRP (using Chinese TWRP 3.4.1b-0313 by wzsx150) it shows that `data` partition is empty (what cannot be as it contains a lot of apps data) and unable to mount `system_root`. When I ask to reboot to system is says "No OS installed! Are you sure you wish to reboot" that is also strange - OS definitely as installed. One more time - no operations on system partitions were done before device bricked, it just randomly stops booting. While after last installation I rebooted it about 10 times to ensure it works. And after night - it goes to fastboot screen again. While without reboot it works for a long time (before boot uptime was about 6 days).
Device were unlocked after 7-days timeout successfully.
Actions I am doing to flash device (using Linux):
`fastboot flash recovery recovery-TWRP-3.4.1B-0313-XIAOMI10-CN-wzsx150.img` - TWRP flashed ok (I also tried other version include one specified in this thread: Ultimate guide to install stable or Dev rom from Xiaomi.eu)
Boot to TWRP
Format (not wipe) data: re-create FS (i.e. create ext4 FS) and format.
Copy `xiaomi.eu_multi_MI10_20.6.18_v12-10.zip` to device (or use external OTG storage)
Flash it successfully
Copy Magisk 20.4 to device
Reboot to TWRP and flash Magisk
Wipe cache
Reboot to OS
Pass first-time setup, install apps
Reboot couple of time to ensure everything works
Any idea what happens? I ab actually ran out of idea - it is not first phone I am reflashing and not the first Xiaomi device (before used Mi 6 reflashed with LineageOS for about 3 years) and it is first time I see device has probably corrupted data/system partition.
One note: after booting to flashed device I setup fingerprint and pattern for unlock. After reboot when phone cannot boot into OS TWRP doesn't ask for pattern (while in normal situation is should, latest TWRP how to unlock with pattern). It makes me think that at the boot moment partitions already corruppted.
Do that for clean installation:
flash fastboot rom (https://mirom.ezbox.idv.tw/en/phone/umi/) China Stable
when phone is open, shutdown. open fastboot and flash this recovery (https://androidfilehost.com/?fid=8889791610682877442)
in advance wipe section select dalvik, data and internal strorage then wipe
reboot to recovery again, in wipe section do Format Data, then reboot to recovery again
connect pc, put latest eu rom zip to phone then flash
restart and do the first setup
reboot to recovery again and flash Magisk

need help after flashing custom rom in my redmi 10 (selene) the rom bootloops and if i try rebooting the phone bootloops

when i tried to flash any custom roms in my phone *redmi 10 (selene)* i encountered many problems like (twrp for miui 13 "downgraded to miui 12" - the bootlooping after flashing, failed to mount systemroot/vendor/product "need to format (not wipe) data before flashing) but i finally managed to solve those problems and now i can flash custom roms by formating (not wiping) data and changing /data file format to ext4 and flashing the rom
but now the problem here is that im stuck in custom rom boot screen (tried nausantara 4.4 and 4.5 and project lighthouse sailboat and all of them are official and i was planning to try cherishos but pling.com was down)
so is there any fix for that? (also no i think twrp isn't official as theres no official page for selene, no phone starts bootlooping after formating data after installing rom, tried using ofox but it was useless, and adb sideload doesn't work)
and also i tried to format data bso many times but it only sucseeded once and the phone started bootlooping after reboot
and i can flash stock miui without any problem (fastboot, edl, recovery "twrp i didn't try ofox yet")
thx in advance
also every time i reboot to recovery from fastboot (i have to install recovery img into boot partition from fastboot because i don't have a recovery partition) i see this error in twrp console
e:unable to decrypt fbe device
7m2h said:
Forget you have not the Snapdragon version
Click to expand...
Click to collapse
i don't get it
can you explain please?
thx in advance
Did you flash vbmeta disabled and No verity opt encrypt 6.1 zip like instructions said?
why ext4 format userdata back to f2fs

Categories

Resources