Rooting and installing xposed on the new Xiaomi Mi 6x - Xiaomi Mi A2 / 6X Questions & Answers

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

Related

Installing Official MIUI using TWRP Discussion

Hey Guys, anyone already tried the link below on installing Official MIUI using TWRP?
How to Install Official Rom with TWRP Recovery!
I've been meaning to try Official MIUI for a long time now, and by doing so I ran obstacles along the way either using MIFlash tool or TWRP - nothing works. But I just saw the method I linked above, and could be the missing piece I need to install the rom thru TWRP.
The OP of that tried it with Redmi 3S. So I'm just wondering maybe someone here already made it worked with MI5?
I could update from global dev 6.11.10 to global dev 7.1.19 with miui built in updater . After downloading nougat it rebooted to twrp and installed the rom normally. The only thing is i lost twrp replaced by stock one .
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
selmandeli said:
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
Click to expand...
Click to collapse
recommended is for you to wipe data,system,dalvik and cache to avoid possible force close window pop out when opening an app, however if you are going to one rom to another eg. aosp-miui global-dev or anything in particular i found out that wiping everything (avoid the efs partition of course) is the best choice for peace of mind, one final thought is only do this if you had other means to bring your phone back to life if other recovery method such as the ability to boot into edl mode is working for you and always do a full system backup of your current rom just in case, hope that helps
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Click to expand...
Click to collapse
Currently, I am using MIUI EU rom and TWRP 3.0.2.0 . Ive tried several times of flashing official global MIUI and failed several times. So tried my luck with miflash tool months ago, but still unsuccessfull. And that's the reason I posted the method above, maybe it is the thing that I am missing.
But, it still continues to puzzle me why others , and even you, can successfully install official MIUI thru TWRP. weird.
can't find the line they talk about in that script. Did anyone managed to install miui trough TWRP on the Mi5?

Magisk issues

when i try to install it i get bootloop and when it installs i get a error that i need to update or reinstall and modules wont work or install but when it updates or reinstall i get a bootloop and then i get pushed into recovery, i installed magisk and patched the boot.img file same error.
what i tryed
1- flashed magisk zip from twrp
2-flashed magisk patched boot with fastboot
3-flashed magisk patched boot and wiped data it crashes some times and works sometime but with out modules and i get error i need to update.
4-flashed EU rom and did the same steps same error
i have
K20pro 10.3.3 global
tried miui eu 10.3.3
the fix
used orange fox recovery with the 19.4 magisk and it worked for me i downloaded it from https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
1- you need a otg with a flash memory.
2-install orange fox recovery .
3-wipe data cash and devcash internal storage .
4-from the settings mount system and vendor.
5-then install the magisk 19.4 clear cash and reboot now it works fine for me.
when i first rooted global rom on Mi9t pro i flashed magisk 19.3 and it boot back to twrp then i went to advanced wipe and format data reboot and all is good did you try that.
yeah it wont run modules
shono22 said:
yeah it wont run modules
Click to expand...
Click to collapse
the reason for bootloop often is not formating data thats why i asked iff you tried that after flashing magisk.
sam00561 said:
the reason for bootloop often is not formating data thats why i asked iff you tried that after flashing magisk.
Click to expand...
Click to collapse
i get requires additional setup
your device needs additional setup for magisk to work properly.it will download magisk setup zip, do you want to proceed now?
when i press yes i get a bootloop issue
and if dont i cant run modules
when i try to install modules i get update to the latest magisk its up to date 19.3 and 7.3.2
when you get the bootloop issue after flashing the modules go into twrp and go to advanced wipe then format data i think this is possibly the issue. But backup internal storage to laptop or somewhere before doing this step.
sam00561 said:
when you get the bootloop issue after flashing the modules go into twrp and go to advanced wipe then format data i think this is possibly the issue. But backup internal storage to laptop or somewhere before doing this step.
Click to expand...
Click to collapse
it wont let me flash them in the first place like magisk is not installed on my device but i can use root the root work fine but i cant install modules
Have you tried any other version of magisk? Which version are you using and are you on the magisk manager latest version. Perhaps try magisk 19.4
sam00561 said:
Have you tried any other version of magisk? Which version are you using and are you on the magisk manager latest version. Perhaps try magisk 19.4
Click to expand...
Click to collapse
Where did you get Magisk from? Are you downloading from the official Magisk github site?
Yes
I have the same problem. I'm on 9T Pro Global on a K20 Pro Raphael. Installed TWRP and Flashed Magisk. Then wipe advanced Davisk and DATA. I installed Magisk manager but cannot install modules... I'm on latest version... It says requires additional setup but sends me to TWRP and I have to restart system all over again.
test 19.4 same issue need to update to make it work
used orange fox recovery with the 19.4 magisk and it worked for me i downloaded it from https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
1- you need a otg with a flash memory.
2-install orange fox recovery .
3-wipe data cash and devcash internal storage .
4-from the settings mount system and vendor.
5-then install the magisk 19.4 clear cash and reboot now it works fine for me.
I'm glad you guys found a fix I was on miui global mi9t Pro and I used twrp from Marino installed magisk 19.3 that's it I was rooted and I had no issue installing modules I had about 7 of them installed. Good luck anyway orange fix supposed to be a good recovery.
sam00561 said:
I'm glad you guys found a fix I was on miui global mi9t Pro and I used twrp from Marino installed magisk 19.3 that's it I was rooted and I had no issue installing modules I had about 7 of them installed. Good luck anyway orange fix supposed to be a good recovery.
Click to expand...
Click to collapse
Is your phone k20 pro china then you just installed the global rom?'
narugan26 said:
Is your phone k20 pro china then you just installed the global rom?'
Click to expand...
Click to collapse
mine is Mi9 T pro european global rom
sam00561 said:
mine is Mi9 T pro european global rom
Click to expand...
Click to collapse
Ok sir thank you. Where did you get that twrp marino?
narugan26 said:
Ok sir thank you. Where did you get that twrp marino?
Click to expand...
Click to collapse
https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363
I flashed twrp recovery 3.3.1.0 raphael official. Then I went and flashed the global miui rom, so far everything is correct, then I flashed magisk 20.4 zip and it gave me error 1. I wanted to flash the uninstaller and it gave me error 1. Someone could help me to solve this.
I have the Mi 9T pro
Miui 11 global stable rom
With Android 10 Q
Unlock bootloader

Problem after installing Magisk

Hi, I've been trying to root my phone for a while now. I tried installing twrp mauronofrio and orange fox, but when I flash the magisk zip, it enters in some kind of bootloop, but it takes me to the recovery again. I've tried uninstalling magisk, so it will make my phone work again, but then I have to install the recovery again. So, anyone knows why I can't flash magisk nor keep the recovery?
Thanks
Hey, which ROM have you tried to install it on?
can't root it!
Hi
same problem with me, i've tried for 3 days so far.
Stock EEA Rom Android 10, MIUI 11 (and tried with MIUI 10 android 9), Unlocked.
i tried:
1-Flash stock rom.
2-Flash recovery
3-Flash magisk
4-flash Disable_Dm-Verity_10.20.2019.zip
>> Bootloop.
and tried:
1-Flash stock rom.
2-Flash recovery
3-flash Disable_Dm-Verity_10.20.2019.zip
4-Flash magisk
5-flash Disable_Dm-Verity_10.20.2019.zip again.
>> Same result.
Also:
i tried:
1-Flash stock rom.
2-Flash recovery
3-Flash magisk
4-flash Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip
5- wipe Data parition.
>> Its worked! nut without Encyption!!
i tried to downgrade to Global stock rom (Android 9, MIUI 10)
same result.
Stock EEA Rom Android 10, MIUI 11
have problem with magisk 20.1 try magisk 19.4 or change to xiaomi.eu 11 it much better with call recording and mfs and u can root it with 20.1 magisk
i tried this stock rom before same issue with me
Does work with magisk 19.4?
I'm thinking of rooting my Mi 9t pro.
Neleks90 said:
Does work with magisk 19.4?
I'm thinking of rooting my Mi 9t pro.
Click to expand...
Click to collapse
I will try after few min's, will write any update!
mkaraz1994 said:
I will try after few min's, will write any update!
Click to expand...
Click to collapse
Thanks. I'm so curious whether flashing magisk 19.4 will work or not.
Neleks90 said:
Thanks. I'm so curious whether flashing magisk 19.4 will work or not.
Click to expand...
Click to collapse
I'm so sorry, but doesn't works!
i tried with Android 9, and Android 10 same result bootloop!!
so i'm going to install xiamoi.eu verisons and try!
Can you tell me how recovered from bootloop?
What did you do to make your phone workig again?
Neleks90 said:
Can you tell me how recovered from bootloop?
What did you do to make your phone workig again?
Click to expand...
Click to collapse
when i've bootloop i uninstall magisk by its uninstall.zip, or re-flash stock rom by MiFlash tools or by Orange/TWRP recovery, almost i've tried everything in the forum to get rooted by no any way rooted it!
but Finally rooted!
with xiamoi.eu rom!
Thanks to @Antidote03
mkaraz1994 said:
when i've bootloop i uninstall magisk by its uninstall.zip, or re-flash stock rom by MiFlash tools or by Orange/TWRP recovery, almost i've tried everything in the forum to get rooted by no any way rooted it!
but Finally rooted!
with xiamoi.eu rom!
Thanks to @Antidote03
Click to expand...
Click to collapse
Great happy to hear that.
Could you please tell me which version you use now?
You only flashed xiaomi.ec rom and magisk?
Xiaomi.eu rom via twrp root with magisk =gg
Great.
Which version you have installed? Could you please tell me to know which to download.?
As far as I can see you haven't formatted your data! You need to format your data before rebooting to system!
Neleks90 said:
Great.
Which version you have installed? Could you please tell me to know which to download.?
Click to expand...
Click to collapse
latest version, i do this steps:
wipe data, cache, d-cache
flashing the rom by TWRP
reboot, setup my phone
reboot to recovery flash magisk 20.1 zip
reboot to phone and installed magisk manager!
All its done!
FallenJedi said:
As far as I can see you haven't formatted your data! You need to format your data before rebooting to system!
Click to expand...
Click to collapse
if you re-read my post will see the another, after i foramt the data its will work yeah, but without encryption!
so did you've rooted K20 pro/Mi 9T pro with stock rom by magisk and its done with encryption?

Is it impossible to root k20 pro?

Hi there, I have been trying to root my k20 pro for 2 months and I am about to go crazy. First of all I don't want to install xiaomi.eu or other custom roms as they often have bugs. I use the indian version and I ve tried many different versions of magisk and tried both twrp and orange. I also tried disabling the treble enforcement and flashing the patched image but still whatever I do, after the installation, the phone loops back to the twrp page. Can anyone help me solve this?
shadow_170 said:
Hi there, I have been trying to root my k20 pro for 2 months and I am about to go crazy. First of all I don't want to install xiaomi.eu or other custom roms as they often have bugs. I use the indian version and I ve tried many different versions of magisk and tried both twrp and orange. I also tried disabling the treble enforcement and flashing the patched image but still whatever I do, after the installation, the phone loops back to the twrp page. Can anyone help me solve this?
Click to expand...
Click to collapse
uhhh just flash magisk if you have twrp
No, it's not impossible. I have a global version Mi 9T Pro and rooted with Magisk.
Find and install the custom recovery that works for you (I found that this recovery worked for me:
TWRP 3.3.1-22 Unofficial by mauronofrio)
then install magisk zip via recovery.
Good luck
Mooatreides said:
uhhh just flash magisk if you have twrp
Click to expand...
Click to collapse
installing is not the issue, I can install it but after I install, I can't go pass the loading screen and then phone goes back to twrp
shadow_170 said:
installing is not the issue, I can install it but after I install, I can't go pass the loading screen and then phone goes back to twrp
Click to expand...
Click to collapse
Do u already clear / wipe data after flashed the magisk cause i have the exact problem bootloop into twrp i solved it with wipe / format data

Can I flash Magisk on stock ROM?

I have bought a Xiaomi Mi 9 Lite after using Xiaomi Mi A1. I used stock ROM and never had TWRP installed on my old device. I only used Magisk for root. And I restored boot images every time I needed to perform a system update, and then booted TWRP via Fastboot and re-flashed Magisk.
I would like to do the same with my new Xiaomi Mi 9 Lite. Is that possible? Can I just boot TWRP via Fastboot and flash Magisk while continuing to use stock ROM?
Thanks in advance for your replies.
Filip013 said:
I have bought a Xiaomi Mi 9 Lite after using Xiaomi Mi A1. I used stock ROM and never had TWRP installed on my old device. I only used Magisk for root. And I restored boot images every time I needed to perform a system update, and then booted TWRP via Fastboot and re-flashed Magisk.
I would like to do the same with my new Xiaomi Mi 9 Lite. Is that possible? Can I just boot TWRP via Fastboot and flash Magisk while continuing to use stock ROM?
Thanks in advance for your replies.
Click to expand...
Click to collapse
yes, Im on stock miui11 and have twrp, latest magisk and xposed yahfa
holymoz said:
yes, Im on stock miui11 and have twrp, latest magisk and xposed yahfa
Click to expand...
Click to collapse
Do you still receiving updates? And what about widevine? In Wich level do you have it?
ffpp.2003 said:
Do you still receiving updates? And what about widevine? In Wich level do you have it?
Click to expand...
Click to collapse
I don't know if any updates have arrived since the release of miui11, widevine l1

Categories

Resources