I've tried patching the stock recovery but when I boot into it it just stays on the loading. Do I have to downgrade from 9.1 to root my p20 Lite?
Moocow93 said:
I've tried patching the stock recovery but when I boot into it it just stays on the loading. Do I have to downgrade from 9.1 to root my p20 Lite?
Click to expand...
Click to collapse
download magisk manager , extract your stock recovery_ramdisk image and patch it with magsk manager. then flash this patched magisk recovery_ramdisk with fastboot: fastboot flash recovery_ramdisk patched magisk ramdisk.img dont unplug the usb cable, then fastboot reboot, let the usb on the phone, dont unplug it, when emui is started, then use adb command: adb reboot recovery ,..still have the usb cable on the phone, when it reboots into "recovery" magisk gets installed to recovery, phone gets rebooted into emui, then open magisk manager and u install advanced stuff, reboots itselve, and then u have root but only works with emui 9.1 version 132 above 132 version this methode doesnt work, and no working methode is known by now for emui 9.1 above 132 version
nofx161 said:
download magisk manager , extract your stock recovery_ramdisk image and patch it with magsk manager. then flash this patched magisk recovery_ramdisk with fastboot: fastboot flash recovery_ramdisk patched magisk ramdisk.img dont unplug the usb cable, then fastboot reboot, let the usb on the phone, dont unplug it, when emui is started, then use adb command: adb reboot recovery ,..still have the usb cable on the phone, when it reboots into "recovery" magisk gets installed to recovery, phone gets rebooted into emui, then open magisk manager and u install advanced stuff, reboots itselve, and then u have root but only works with emui 9.1 version 132 above 132 version this methode doesnt work, and no working methode is known by now for emui 9.1 above 132 version
Click to expand...
Click to collapse
Strange, working for me with 146 and 151.
Ofcorse, if you don't use clear system, then there are chance that it don't work, but on clear system works like 99% , so, best way how to root any emui 9.1 is , dload latest version, unlock , and flash magiskpatched.img
Arnys said:
Strange, working for me with 146 and 151.
Ofcorse, if you don't use clear system, then there are chance that it don't work, but on clear system works like 99% , so, best way how to root any emui 9.1 is , dload latest version, unlock , and flash magiskpatched.img
Click to expand...
Click to collapse
i always do that,.. the problem above 132 (as it seems to me) is that u patch ramdisk_recovery but erecovery doesnt get patched,.. as stated above had no problem with magisk with 132 version, with 151 it doesnt work
How do I downgrade from 9.1.0.140 to 132.? I tried flashing by fastboot but in settings it still said I was on 140
Related
getting the following error 'Couldn't get root access-root rom isn't ready,please wait a moment', when trying to use the allow root access tab in security>permissions>allow root access . Is this normal for everyone? Is there another alternate way to enable root?
Yes, you need twrp recovery and BETA-SuperSU-v2.71-20160331103524.zip
If you don't want to flash the custom recovery permanently you can use:
fastboot boot recovery.img
And the twrp recovery will appear. After installing of the zip file and reboot, the stock recovery will take its place.
http://download.chainfire.eu/supersu-beta
This version is 2.74. I can't find 2.71, but it may do the job
tried it, after flashing the zip ,the phone got struck in the mi icon during boot. had to flash my backup.
jipkai123 said:
tried it, after flashing the zip ,the phone got struck in the mi icon during boot. had to flash my backup.
Click to expand...
Click to collapse
With 2.71 there is no problem with this.
Obviously not every version works with every phone.
For example mi 4 is rootable only with 2.65
hmm everytime i try to enter twrp, even if i dont do anything and reboot it will boot struck at mi logo......maybe the dev rom beta just dont work well with twrp.....
Check to see if the bootloader is locked again.
Code:
fastboot oem devices-info
It is posible to get Magisk 15.3 working on b183 (EU version)?
I did:
1. flash b120 with HWOTA
2. flash b183 with Firmware Finder
3. install TWRP-3.1.1.1_120_130_170 (this one should preserve navigation buttons and camera flash working)
4. format data
5. install magisk 15.3
6. got bootloop
I also tried to format data after flashing Magisk, nothing changed... Recovery boot and system in TWRP didn't help, I had to flash b120 and than b183 again.
EDIT:
Problem solved:
1. flash b120 (https://yadi.sk/d/Y2yuM--73Lb9Kk) with HWOTA (https://forum.xda-developers.com/showpost.php?p=74999398&postcount=129)
2. flash b183 with FF
3. unlock bootloader
4. extract BOOT.img from b183 UPDATE.APP (Huawei Update Extractor: https://forum.xda-developers.com/showthread.php?t=2433454)
5. install Magisk Manager app
6. in Magisk Manager patch BOOT.img with Magisk zip (click Install -> Patch Boot Image File), copy patched_boot.img to PC
7. reboot into fastboot and flash patched_boot.img (command: "fastboot flash boot patched_boot.img")
8. DONE! Nav buttons working, camera flash working, Magisk working...
PS.: Sorry for my bad English.
Have you tried to use Magisk.zip with sideload method ??
k1ks said:
Have you tried to use Magisk.zip with sideload method ??
Click to expand...
Click to collapse
No. Is the difference between flash in TWRP and with sideload?
copantok said:
No. Is the difference between flash in TWRP and with sideload?
Click to expand...
Click to collapse
TRwp available isnt fully functionnel and dont manage encrypted data . Its the problem.
Do not flash it within a twrp ==> Bootloop...
Sideload method is an alternative , work with SuperSu Sr3/4/5 2.82.
Installing supersu sr5 from usb-otg or sdcard once in twrp is working.
Concerning magisk, i did not tried but :
Could you try just after installing magisk on twrp, to boot straight to bootloader to flash stock recovery, then boot straight to stock recovery and perform a wipe & format. Then you could finally boot to system.
oslo83 said:
Installing supersu sr5 from usb-otg or sdcard once in twrp is working.
Concerning magisk, i did not tried but :
Could you try just after installing magisk on twrp, to boot straight to bootloader to flash stock recovery, then boot straight to stock recovery and perform a wipe & format. Then you could finally boot to system.
Click to expand...
Click to collapse
This worked!!! (but I lost nav buttons and camera flash, probably due to TWRP while flashing Magisk)
Tomorrow I will try again reinstall b120 with HWOTA (to get nav buttons and flash working) then b183 with FF and install Magisk with Magisk Manager (extract BOOT.img from UPDATE.app, patch it with Magisk Manager and flash patched boot with fastboot, without TWRP).
Thank you!!!
Keep us informed.
---------- Post added at 02:24 ---------- Previous post was at 02:21 ----------
By the way, with this twrp the capacitives buttons are not broken on B183:
https://mega.nz/#!WVhkwQjY!ND1Qo3kmoXP0qI_IlRHVXdxHZ3fES-ze_mPsSc_Bpg4
SOLVED!
After flashing b120 (HWOTA) and b183 (FF), unlock, patched BOOT.img with Magisk Manager and flashed patched_boot.img with fastboot. Magisk working, nav buttons working, camera flash working!
On B183 with magisk 15.3 root is working fine but i don't manage to get magisk hide to work nor safetynet...
For whatever reason I can't budge the tool to flash the latest fastboot ROM on my Xiaomi Mi 8 Lite that I plan to sell since my new phone arrived today. A custom ROM from the last year is currently installed on the device.
I installed the latest Universal ADB drivers, installed the latest Mi Flash tool (2020.3.14.0), put the phone in fastboot mode, connected to PC via USB 2.0 port and tried to flash the latest fastboot stable ROM via the tool with "clean all" option and most of the time what happens when I hit the flash button, the fastboot logo on the phone disappears and in the left top corner a small white text "hit any button to restart" or something like that appears. Only once a progress bar appeared with $fastboot bla bla bla II echo missmatching image and device" and that was it... no progress, again the white text prompting me to hit any button to restart appeared on the screen.
Any ideas what I am doing wrong? cmonBruh
Phone: Xiaomi Mi 8 Lite 64/4 Global (platina with custom ROM installed) Windows 10 Pro 1909, MSI B350M Bazooka with AMD Ryzen 5 2600.
Hello.. I will try to help you.. And tell me if you fixed that..
Can you install a custom recovery? Twrp?
Id you can do that fallow my steps..
First download the fallowing twrp from here :
https://drive.google.com/file/d/14cRc4UG4hzL45cDhdFZ7odr5Kb8LSai0/view
It can support ota update and your phone will boot I used it to flash my mi 8 lite without pc. And works!
Download and flash that twrp using mi flash tool. I hope your bootloader is unlocked if you already have other twrp installed simply flash the twrp zip file. And update your recovery. If you don't have any twrp installed simply rename. Zip file into .img file and flash it with flash tool. If you can't flash it using flash tool try to install any other twrp and then install the zip and update the twrp
After you installed twrp go and download recovery Rom from here :
https://mirom.ezbox.idv.tw/en/phone/platina/
Download the first rom called : V11.0.2.0.QDTMIXM (1.8GB zip file)
( Recovery
miui_MI8LiteGlobal_V11.0.2.0.QDTMIXM_5574e03233_10.0.zip
Filesize
1.8G
MD5
5574e032330450c44c34d7f054de477b
Link
Download (Download to Mi Router)
Press download. Not download to mi router and don't forget.. Download the recovery zip file not the fast boot update!
After you downloaded boot in to twrp which I gave you above, wipe system / data / vendor / cache/dalvik and flash the zip file.
You can flash it with and without to wipe anything. But it is recommended to wipe. Pls go try and install it without to wipe anything, if it works ( for me works!) after flash done boot the phone and see if there is any problem. If u got any bugs or problems perform a clean flash wipe all and then flash!
Id you want root.. Fallow this :
You can root your phone with latest magisc manager using the same twrp. After you flash the boot.img with twrp press restart phone. If it won't restart go again to recovery and format only your data. And your will phone will boot again and you will get root acces. It's the only way to root android 10.
Please let me know if you fixed that problem.. And you flashed successfully the Rom..
DON'T FLASH THE ROM USING ANOTHER TWRP! ONLY THAT RECOVERY I GIVE SUPPORT OTA UPDATE AND CAN BYPASS THE XIAOMI Verification FOR THE STOCK ROM.. IF YOU USE ANY OTHER TWRP YOUR PHONE WILL BE STUCK IN Boot! Orange fox or any other twrp won't work!
I used this method and works like a charm
Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
stvmnn said:
Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
Click to expand...
Click to collapse
Hi.
I´m interested. I´m not able to root the MI 8A MIUI 11 global 11.0.2.0 QCPMIXM. I achieved install TWRP . But I can´t install MAGISK . It don´t show me any error, but it isn´t installed. I ´ve tried many versions 20.0, 20.1, 20.2, 20.3 20.4 21.0 and 21.1. neither of them are successfull with TWRP.
Neither with magisk manager apk 7.5.1 and above. These are installed but then I download magisk 20.4 version, but this isn´t installed.
how did you it? please.
Yajirobai said:
Hi.
I´m interested. I´m not able to root the MI 8A MIUI 11 global 11.0.2.0 QCPMIXM. I achieved install TWRP . But I can´t install MAGISK . It don´t show me any error, but it isn´t installed. I ´ve tried many versions 20.0, 20.1, 20.2, 20.3 20.4 21.0 and 21.1. neither of them are successfull with TWRP.
Neither with magisk manager apk 7.5.1 and above. These are installed but then I download magisk 20.4 version, but this isn´t installed.
how did you it? please.
Click to expand...
Click to collapse
Your bootloader needs to be unlocked and USB debugging enabled first of course. TWRP Recovery should be installed.
To do this, you need the adb and fastboot binaries installed on a PC/Laptop. I use Ubuntu and installing these is trivial via apt package manager:
Debian based:
Code:
sudo apt install adb fastboot
RedHat based:
Code:
yum install adb fastboot
If you use Windows, the install and use of these binaries is a little different. I don't use Windows so you'll have to do a quick search to find out how to install and use these binaries. The commands listed below will work no matter what OS you use.
Connect your phone to your PC/Laptop via it's USB cable and reboot it to TWRP Recovery:
Power off the phone, then power on while holding the volume up button until you see the TWRP logo. Log into TWRP to decrypt.
Next, you need to pull the current boot.img from your ROM to patch it for root access:
Code:
adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot.img
There should be a boot.img on your phone's internal storage, copy it to your PC/Laptop. From TWRP, reboot your phone to fastboot.
Now, we'll use this most excellent, free resource to patch the boot.img file which will give root access:
https://patcher.yaalex.xyz/
Check the 'Include Magisk' checkbox on the website before submitting image.
Important: After you upload your boot.img file to the website, be patient. This could take 10 minutes or more to complete, just wait until you get a prompt to download the patched image. You will be provided a patched_boot.img file from the website once it is finished.
Finally, all you need to do is flash the patched_boot.img to your phone:
Code:
fastboot flash boot patched_boot.img
Boot your phone to the ROM:
Code:
fastboot reboot
Install Magisk Manager if you haven't already, and enable Magisk Hide in the settings. Magisk Manager should report root access is available and SafetyNet test should pass.
I typed all this up from memory so if you run into trouble or are confused by any step, let me know and I will gladly clarify/fix the steps.
I hope this helps others achieve root on this phone. Let me know how it goes and happy de-bloating!
Rollback instructions:
If your phone fails to boot don't panic. You can restore your original boot.img if needed to regain access. Reboot your phone to fastboot:
Boot phone while holding the down volume button until you see the fastboot logo.
Next, flash the original boot.img to the boot partition:
Code:
fastboot flash boot boot.img
Now just reboot to ROM and all should be restored:
Code:
fastboot reboot
stvmnn said:
Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
Click to expand...
Click to collapse
Iirc redmi 8a is an ab device, and yes this device is as customisable as any other Qualcomm. What gsi image are you flashing?
Actually he is not way off ..... i am NOT able to find a Custom Non MIUI ROM with full VoLTE support. VoLTE fix for GSI's ( if at all it worked ! ) does not work for Havoc. twrp root is all good. I want a NON MIUI ROM that can regional variants ( Europe and Asia ) and supports VoLTE
I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
moffa~ said:
I'm looking for help getting Magisk installed on MIUI 12.1.1. If I use the boot.img and pass it to Magisk manager and flash it, the system just reboots to recovery after a few minutes.
Does anyone have it working or a recovery that works with 12.1.1 global?
Click to expand...
Click to collapse
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Tulsadiver said:
By "passing it to magisk", do you mean patching the boot.img and getting a magisk_patched.img? Do you have the latest magisk app? It's no longer called magisk manager (v22).
Edit: You probably just hot the patched boot from the wrong boot.img
Click to expand...
Click to collapse
Hi, thanks for responding.
Yes, I mean I take the boot.img from the MIUI fastboot package and select it in Magisk (no longer manager). I then reboot to bootloader mode, then run "fastboot flash boot magisk_patched_sLsab.img " but after running fastboot reboot it just ends up in recovery mode.
The only way to recover is to use fastboot to flash the original boot.img back over
I finally figured out that I had magisk modules left over before the upgrade which broke everything. A factory reset wiping all data has fixed it.