Problem encryption and reboot - Xiaomi Mi 9 Questions & Answers

Hello
I have mi 9 with MIUi 11 (9.9.26 beta) android 10 and teamwin recovery 3.3.1-35
The problem I have is as below:
With 9.9.26 the system I think is encrypted and I can not have access to my files anymore via teamwin recovery
When I try to do the update to the next versions 9.9.27 and 9.10.10 via external storage because I don't have access to the internal storage (encrypted) the phone do continually reboot ...
I turn back to 9.9.26 version....
Any solution to my problems??
Thank you in advance

Try latest TWRP 3.3.1-42 Mauronofrio
Poslano z mojega MI 9 z uporabo Tapatalk

Related

Rooting and installing xposed on the new Xiaomi Mi 6x

Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
No idea about Xposed
Here is twrp https://romprovider.com/2018/05/xiaomi-mi-6x-root-twrp/
have a look at https://www.xiaomigeek.com/ - they are always up2date and fast with new ROMs, rootkits and flashtools.
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
magisk is do able.
in fact I did root my mi 6x with magisk, just grab the beta version (magisk 16.7), since the phone is a treble device.
as for twrp, you can get it here (you can even d/l the unofficial LOS 15.1 as well) :
https://www.cyanogenmods.org/forums/forum/xiaomi/mi-6x-wayne/
the annoying part is, whenever you're in miui, you need to format data for twrp to be able to read/write the data partition.
I haven't really play with this phone just yet, and yes I didn't install the lazyflasher as well.
but the good news, this device is bootable with GSI
as for exposed, I had no luck with systemless exposed... got bootloop on the MI screen.
but maybe that's because I didn't flash the lazy flasher, or should I learn about exposed on a treble device
Can someone give me mi stock recovery 3.0 for this device?
Mi6x said:
Hi,
Just got the new Xiaomi Mi 6x. Couldnt find any info online regarding rooting it since it was recently released.
Is it possible at the moment to root this device using magisk? if so is there a twrp version i can boot just to install it ?
Will xposed work with this miui version of android ?
will the international version get a stock android rom that i can flash on this mi 6x ?
Thanks & Regards
Edit : already unlocked the bootloader at Xiaomi's MI service center.
Click to expand...
Click to collapse
hi i can tell you that in Android8 based miui10 xposed will not work every device
NK600 said:
hi i can tell you that in Android8 based miui10 xposed will not work every device
Click to expand...
Click to collapse
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
coolman7 said:
Hello,
Is there any progress on xposed on mi 6x. I have a new mi 6x and MIUI 9.6.6.0 Chinese and English stock ROM is pre-installed. And it is andorid 8.1. Can I install xposed this phone (MIUI 9 and android 8.1)? Should I stay at MIUI 9. Because I get MIUI 10.2.5 OTA upgrade but I haven't applied this update yet. If xposed is not compatible with MIUI 10, should I stay at MIUI 9.6.6?
Thanks
Click to expand...
Click to collapse
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
StannerG said:
Hi!
I think, first what you need - make TWRP backup with maximum partitions set. You can use for this action this TWRP, folder contain scripts for run TWRP from PC and flash recovery to phone (used TWRP-3.2.3-0810-XIAOMI6X-RU-wzsx150-hypeartist.img).
Use run TWRP only. For run TWRP you need enable USB debugging on phone, connect to PC, allow access from this PC and run Run-TWRP.bat
After boot to TWRP you need not allow modifications on system partition and make full backup. This backup need copy to PC from internal storage and keep for future.
When you make backup, you can what you want - you can install Magisk via run TWRP from PC or upgrade and test MIUI 10
Click to expand...
Click to collapse
Thanks for reply. Can I install Xposed to MIUI 10?
coolman7 said:
Thanks for reply. Can I install Xposed to MIUI 10?
Click to expand...
Click to collapse
Hi! I'm not use MIUI and cannot answer on this question.
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
yes i can
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
you need some magisk mods
coolman7 said:
I take all backups (TWRP and partition backups) and tried to install xposed and I failed all of my tests.
I have mi 6x and using original stok ROM MIUI 9.6.6.0. I haven't flashed TWRP yet. I just boot TWRP with fastboot commands. I installed Magisk 19.1.
First I tried to install standard Xposed (probably works with SuperSU, but I am using Magisk). Installed Xposed installer.apk and flashed xposed-v90-sdk27-arm64-beta3.zip from TWRP. Result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and bootloop solved.
Second I tried to install XposedInstaller_3.1.5-Magisk.apk and flashed xposed-v90.2-sdk27-beta3-topjohnwu.zip from TWRP and result is bootloop.
I flashed xposed-uninstaller-20180117-arm64.zip and but bootloop not solved. So I restore TWRP backup (boot, system and data partitions) and bootloop solved.
I tried several different things but all resulted as bootloop.
Any idea how to install xposed to this system?
Click to expand...
Click to collapse
Xposed need a DEODEXED rom for working and MIUI is a ODEXED rom so xposed don't work and that's why you got bootloop

[Mi Mix][lithium][LineAgeOS] Bootloop on logo lineage & auto back to TWRP on 5 minute

[Mi Mix][lithium][LineAgeOS] Bootloop on logo lineage & auto back to TWRP on 5 minute
Please help me, my mi mix stuck on logo lieageOS and auto back to twrp
I now use :
Miui 10 [latest]
TWRP 3.2.1.0 [latest]
lineageOS 16 [latest]
Bootloader unlocked
my step for flash :
- i use miflash for flash miui10 latest [and normal booting]
- off device and go to fastboot
- flash twrp with ADB in fastboot
- flash toolkitTWRP in fastboot [for delete password twrp]
- off device and go to twrp
- wipe [cache, dalvik, internal, system, data]
- plug usb to pc for copy lineageOS to internal mi mix
- flash lineageOS 16.0
- wipe cache
[never error in twrp or fastboot]
but if i reboot device always stuck on logo lineage if 5 minute device auto reboot to twrp [always like that]
Sorry if my english not good
Hi,
This seems to be a decryption problem. Have you tried formatting data in TWRP? (you lose all your data including internal storage)
I format internal storage too on TWRP (format all : dalvick, cache, internal, data, and all)
This is my step :
- off mi mix
- go to fastboot
- flash TWRP for mi mix (latest)
- flash (no-verity-opt-encrypt-6.0.zip)
- reboot to TWRP
- format all (data, dalvick, cache, internal, vendor, etc)
- plug USB to laptop and copy lineageOS.zip (latest)
- flash lineageOS.zip in TWRP (done, no error)
- reboot and bootloop :laugh:
If i flash TWRP and don't flash (lineageOS) and don't flash (no-verity-opt-encrypt-6.0.zip) = TWRP gone :laugh: and mi mix go to auto hard reset but no booploop and i must be setting mi mix from beginning like set language, country, mi account, etc
If i flash (no-verity-opt-encrypt-6.0.zip) = bootloop on MI logo
If i flash (no-verity-opt-encrypt-6.0.zip) and LineageOS = bootloop on lineage logo
@Spectra13 did you end up figuring out a workaround for this? I had the same issue when I tried to flash lineageOS16 from PixelExperience. I went back to PixelExperience for the time being.
wordpass said:
@Spectra13 did you end up figuring out a workaround for this? I had the same issue when I tried to flash lineageOS16 from PixelExperience. I went back to PixelExperience for the time being.
Click to expand...
Click to collapse
Just Flash (no-verity-opt-encrypt-5.0.zip) in the last step
And problem solved :good:
.
My mistake in the last step is flash (no-verity-opt-encrypt-6.0.zip) who is not compatible with mi mix :laugh:
Spectra13 said:
Just Flash (no-verity-opt-encrypt-5.0.zip) in the last step
And problem solved :good:
.
My mistake in the last step is flash (no-verity-opt-encrypt-6.0.zip) who is not compatible with mi mix :laugh:
Click to expand...
Click to collapse
forgot to update. My issue was corrupted gapps. I flashed 16th Oct gapps and everything started working
https://www.reddit.com/r/LineageOS/...ng_open_gapps_builds_201009_10_11_12_fail_to/
:good:

My first encounter with bootloops and a nearly bricked device

Before we start, I am on an unlocked boot loader with Stock EU rom along with twrp/magisk installed.
So I went ahead and downloaded the latest full rom from c.mi.com and proceded to flash it via twrp, but before that, I made a nandroid backup just for safekeeping. Everything went well but when I tried to install magisk it gave me cannot mount system error. So i tried restarting Twrp but the whole storage was now encrypted even though I took of pin/password from the previous MiUi version. So I googled a bit and tried different Twrp version but none of them even booted but the original version so I gave up and just restored the nandroid backup and this is where the boot loop problem started.
In the end, I went ahead and flashed the whole thing using miflash which went smoothly but not without me being utterly depressed the whole time thinking that I might have hard bricked my device.
Is there any way I can avoid all this headache in the future when Miui 11 and android Q comes out cause I am pretty scared to even try to flash anything atm.
You need to wipe data after flashing TWRP otherwise you won't boot and also the phone will restore the stock recovery on reboot if you don't flash dm_verity
Check this post of mine it might help.
https://forum.xda-developers.com/k20-pro/how-to/flashing-orangefox-recovery-mi-9t-pro-t3980579
Sent from my Redmi K20 Pro using Tapatalk
ishaqtkr said:
You need to wipe data after flashing TWRP otherwise you won't boot and also the phone will restore the stock recovery on reboot if you don't flash dm_verity
Check this post of mine it might help.
https://forum.xda-developers.com/k20-pro/how-to/flashing-orangefox-recovery-mi-9t-pro-t3980579
Sent from my Redmi K20 Pro using Tapatalk
Click to expand...
Click to collapse
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)
_ray_ said:
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)
Click to expand...
Click to collapse
Do you have the Mi 9T Pro?
If you have, only latest orangefox 1.0.0.7 or Mauronofrio's TWRP working for this device. Abhisheks or LR TWRP doesn't work on Mi 9T Pro.
Kollachi said:
Do you have the Mi 9T Pro?
If you have, only latest orangefox 1.0.0.7 or Mauronofrio's TWRP working for this device. Abhisheks or LR TWRP doesn't work on Mi 9T Pro.
Click to expand...
Click to collapse
Yup Mi9t Pro user here, and yea for me only latest Mauronofrio's twrp works, but not sure if it will work with Miui11/Q when it is released sometime today
Just googled the orangafox recovery you mentioned, is the one with OrangeFox-R10.0_7-Stable-raphael name?
_ray_ said:
Yup Mi9t Pro user here, and yea for me only latest Mauronofrio's twrp works, but not sure if it will work with Miui11/Q when it is released sometime today
Just googled the orangafox recovery you mentioned, is the one with OrangeFox-R10.0_7-Stable-raphael name?
Click to expand...
Click to collapse
I think it will work. Because I'm on indian Q Firmware with LOS 17 and there was no issue with Mauronofrio's TWRP.
Yes that's the right orangefox version. I didn't remember the exact name. I tried it once but went again back to TWRP because i grew up with it. :laugh:
Kollachi said:
I think it will work. Because I'm on indian Q Firmware with LOS 17 and there was no issue with Mauronofrio's TWRP.
Yes that's the right orangefox version. I didn't remember the exact name. I tried it once but went again back to TWRP because i grew up with it. :laugh:
Click to expand...
Click to collapse
Thanks for the info regarging Twrp. everything will go smoothly this time hopefully.
I also wanted to ask that did you format data after installing twrp via fastboot? I was reading on Twrp thread that if you get encrypted after flashing twrp then you will have to format all data for it to disable encryption. This is the only thing that I am still confused about and I really dont want to format my internal storage again . Can you maybe list steps that you took to upgrade to Android Q? thanks
_ray_ said:
Thanks for the info regarging Twrp. everything will go smoothly this time hopefully.
I also wanted to ask that did you format data after installing twrp via fastboot? I was reading on Twrp thread that if you get encrypted after flashing twrp then you will have to format all data for it to disable encryption. This is the only thing that I am still confused about and I really dont want to format my internal storage again . Can you maybe list steps that you took to upgrade to Android Q? thanks
Click to expand...
Click to collapse
Yes when I come from miui I did format data first.
https://forum.xda-developers.com/showpost.php?p=80555299&postcount=236
_ray_ said:
The problem was that no matter what recovery(apart from one) I tried including Orange fox, after flashing them via fastboot I always ended up being stuck at Mi logo ( even tried fastboot reboot recovery command)
Click to expand...
Click to collapse
I have Mi 9T pro like you and flashed Orangefox recovery version _07 and no problem at all, i also flashed disable_dm_verity just to be safe and i believe this is where people get stuck on mi logo, if you flash this file it blocks your system from restoring the stock recovery on reboot and makes your TWRP/Orangefox permanent. LINK: https://androidfilehost.com/?fid=1395089523397966811
Sent from my Redmi K20 Pro using Tapatalk
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
I then flashed Indian 10.3.5 which has now made my phone's name change to K20 Pro but i don't care[emoji23]
Sent from my Redmi K20 Pro using Tapatalk

MIUI 11 - Recovery gets erased

I have the Redmi K20 pro Indian Version
So here's the issue I'm on the 10.4.8 Miui 10 Android 10 with custom recovery. I got an update for Miui 11 and after the downloa, my recovery was erased and replaced with stock. I even tried manually flashing the update from recovery.
Then I flashed the recovery via fastboot and couldn't flash DM Varity. After the reboot the recovery was gone.
I used the
1) Sky Hawk Recovery
2) TWRP recovery latest
Can someone plz tell what I'm doing wrong. :crying:

TWRP problem!

Hello
Installed twrp and after that, all of my folders changed to strange names such as _oeiuehbft and etc...
Wich part of twrp install was wrong? My phone is encrypted but is this related to my problem?
Please help... I want to install Pixel experience Rom
Thank you
Yes, your phone is encrypted. Use latest TWRP and format data (confirm with yes) to remove encryption. Don't forget to back-up, because with format you lose all data.
Poslano z mojega MI 9 z uporabo Tapatalk

Categories

Resources