Related
Last updated May 2020
Keeping it short. This is a simple way to root your device. You will need a computer and a data cable for this.
Objectives :
Have root using Magisk
Be able to install OTA from the settings without bootloops
Avoid boot loop
Very important :
This will work with ANY Xiaomi phone, and should work with ANY ANDROID phone as well. The difference between phones would be in where you can get your boot image from.
Your phone has to have an unlocked bootloader
Your phone has to have stock recovery. TWRP WILL cause bootloop for root and/or OTA updates from system.
I like to have root with magisk and don't want to install TWRP because I want to be able to install OTA from system without boot loops. This guide will help you achieve this with ease.
Steps:
Download the ROM full zip file. This could be the ROM ALREADY installed on your phone or you are updating your phone to it. Here is a video of one way to get your ROM file.
https://youtu.be/KsxHial1v1U
Open the file and extract "boot.img" on your phone or Computer.
Move the boot.img file to your phone
Download and install the latest Magisk official manager app from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.4.0/MagiskManager-v7.4.0.apk
Open Magisk manager and click install then "select and patch a file" like in this video
https://youtu.be/USHcCMYlexM
Copy the Patched image from the download folder to your computer adb/fastboot folder
Reboot your phone into fastboot (press and hold power and vol down) and connect it to the computer
Flash that patches image file using fastboot
fastboot flash boot magisk_patched.img
Click to expand...
Click to collapse
fastboot reboot
Click to expand...
Click to collapse
Open Magisk manager and complete the installation if needed. The app will prompt you for action.
Enjoy
Update May 2020
Hello again,
Sorry for being away for so long. Here are some of the things I have noticed people are confused with and need to make them clear:
This method works for ANY Android phone. As long as you have the Correct boot.img and can unlock the bootloader
MAKE SURE 100% you have the correct boot.img file for your CURRENT ROM
MAKE 100% SURE, the boot.img file you get from the FULL ROM zip file, not an OTA update zip file
Make sure you check the date and time of the "magisk_patched.img" file to make sure that is the one you made
Make sure you use the LATEST magisk manager
Make sure you open magisk after flashing the magisk_patched.img as boot image. Magisk manager will tell you if there is another step needed, just click yes and it will be done in seconds
Make sure to enable "Hide Magisk" to allow you to have your BANK apps working as well as security checks
If any app you use gives you an error "YOU ARE Rooted bla bla bla" Use magisk manager to hide the root for this specific app (in the settings)
That's all I can remember, good luck
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Kiwironic said:
Keeping it short. This is a simple way to root your device. You will need a computer and a data cable for this.
Steps:
Download the ROM full zip file. This could be the ROM ALREADY installed on your phone or you are updating your phone to it. Here is a video of one way to get your ROM file.
Open the file and extract "boot.img" on your phone or Computer.
Move the boot.img file to your phone
Download and install the latest Magisk official manager app from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.4.0/MagiskManager-v7.4.0.apk
Open Magisk manager and click install then "select and patch a file" like in this video
Copy the Patched image from the download folder to your computer adb/fastboot folder
Reboot your phone into fastboot (press and hold power and vol down) and connect it to the computer
Flash that patches image file using fastboot
Open Magisk manager and complete the installation if needed. The app will prompt you for action.
Enjoy
Click to expand...
Click to collapse
After fastboot flash, reboot, open magisk manager, tap INSTALL beside "magisk is up to date". Then select direct install; reboot.
Works on MIUI 11.0.2; davinciin. ??
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
welder73 said:
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
Click to expand...
Click to collapse
People report different amounts of wait time, depends on the mi account I think
welder73 said:
I know that when I unlock the bootloader,the phone is going to reset...but,is it going to happen immediately or after that 168 hours of waiting?
Sent from my Xiaomi Mi 9T using XDA Labs
Click to expand...
Click to collapse
Phone is reset when the bootloader is unlocked, not before/during the waiting time.
Can do with locked bootloader?
Micdu70 said:
Phone is reset when the bootloader is unlocked, not before/during the waiting time.
Click to expand...
Click to collapse
Thank you man :good:
Sent from my Xiaomi Mi 9T using XDA Labs
Cabeção-Flu said:
Can do with locked bootloader?
Click to expand...
Click to collapse
No, bootloader has to be unlocked.
@Kiwironic followed your guide and worked very well, although I had to wipe data through the stock recovery to get the phone to boot, I believe that's just how newer Xiaomi phones work. I do have one question though, now that I'm rooted with stock recovery, would I be able to install OTA updates? I'm assuming I would of course lose root and have to redo the process from scratch if that's the case.
Lazer Bear said:
@Kiwironic followed your guide and worked very well, although I had to wipe data through the stock recovery to get the phone to boot, I believe that's just how newer Xiaomi phones work. I do have one question though, now that I'm rooted with stock recovery, would I be able to install OTA updates? I'm assuming I would of course lose root and have to redo the process from scratch if that's the case.
Click to expand...
Click to collapse
I had root on MIUI10 and updated the ROM to MIUI11 then did my root again the way mentioned and did NOT have to wipe. You can get OTA anyway, it will try the update first, it will fail, then it download and install a full ROM zip automatically. You have to wait for it to do that twice, that's all. The first boot after the update takes some time.
@Kiwironic First, thank you so your simple guide!
Can this cause bootloop on my device? If yes, can I simply flash the original boot.img to boot without any data loss?
Also another question: my device is rootless and bootloader unlocked, so my Google Pay doesn't work. When installing Magisk it goes back to work immediately or I have to do something to work?
kryzeK said:
@Kiwironic First, thank you so your simple guide!
Can this cause bootloop on my device? If yes, can I simply flash the original boot.img to boot without any data loss?
Also another question: my device is rootless and bootloader unlocked, so my Google Pay doesn't work. When installing Magisk it goes back to work immediately or I have to do something to work?
Click to expand...
Click to collapse
If you flash the full rom, chances of bootloop is minimal. And should have stock experience except for being unlocked.
I got bootloop, using indian global V11.0.2.0.
After flashing patched boot, it gets bootloop recovery, only way is to wipe all data and reboot
After booting up and opeing magisk it shows a recommendation to install some ZIP
Accepting the recommendation results in bootloop,
Rejecting the recommendation and trying to Install > Direct Install results in bootloop as well
Posted a thread with this issue here
stone_henge said:
I got bootloop, using indian global V11.0.2.0.
After flashing patched boot, it gets bootloop recovery, only way is to wipe all data and reboot
After booting up and opeing magisk it shows a recommendation to install some ZIP
Accepting the recommendation results in bootloop,
Rejecting the recommendation and trying to Install > Direct Install results in bootloop as well
Posted a thread with this issue here
Click to expand...
Click to collapse
This
I got the exact same issue, every time it asked me to install additional zip files it went into recovery immediately after booting up.
Anyone know why this happened?
oblyvision said:
This
I got the exact same issue, every time it asked me to install additional zip files it went into recovery immediately after booting up.
Anyone know why this happened?
Click to expand...
Click to collapse
Do you have stock recovery or TWRP? Which version of Magisk are you using?
I have patched my boot stock image, installed full ROM, then flashed the patched boot image. Magisk did not show any recommendation installation.
There are a few guides online on how to deal with Magisk Bootloop without the need to wipe data.
Kiwironic said:
Do you have stock recovery or TWRP? Which version of Magisk are you using?
I have patched my boot stock image, installed full ROM, then flashed the patched boot image. Magisk did not show any recommendation installation.
There are a few guides online on how to deal with Magisk Bootloop without the need to wipe data.
Click to expand...
Click to collapse
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
oblyvision said:
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
Click to expand...
Click to collapse
On first installation MM asks to download what it needs e.g. to verify SafetyNet. Allow and there is no problem about. TWRP is generally not needed to install Magisk. Things are documented in Magisk guides
https://topjohnwu.github.io/Magisk/
https://www.didgeridoohan.com/magisk/HomePage
oblyvision said:
TWRP 3.3.1-8, magisk 20.1
Patching boot image with magisk wasn't a problem. The Superuser itself works normally, module doesn't. The magisk manager suggested to download additional files for the magisk to be working properly.
I'm on MIUI 11.0.1 Global
Was TWRP the cause in the fist place?
Click to expand...
Click to collapse
Yes, as the title suggests "without TWRP". The reason is, you cannot install OTA and magisk easily without using the stock recovery. Any attempt to update OTA or use any recovery script on the phone will result in a boot loop.
The solution to get out of the boot loop is simple. Actually a couple of solutions.
One, flash your stock recovery, or
Two, flash a full ROM that includes the stock recovery.
No need to wipe data
That's the only reason I made this post and the other about OTA on root. I don't like to use TWRP because I want OTA install without boot loop. At the same time I want root. Hence the solutions I provided
Kiwironic said:
Yes, as the title suggests "without TWRP". The reason is, you cannot install OTA and magisk easily without using the stock recovery. Any attempt to update OTA or use any recovery script on the phone will result in a boot loop.
The solution to get out of the boot loop is simple. Actually a couple of solutions.
One, flash your stock recovery, or
Two, flash a full ROM that includes the stock recovery.
No need to wipe data
That's the only reason I made this post and the other about OTA on root. I don't like to use TWRP because I want OTA install without boot loop. At the same time I want root. Hence the solutions I provided
Click to expand...
Click to collapse
I've tried flashing magisk via recovery and didn't work, the same bootloop. Here's the thread: https://forum.xda-developers.com/mi-9t/how-to/guide-miui-11-v11-0-1-0-pfjmixm-rooted-t3997299
I thought this might be a working alternative.
Gotta try installing magisk with stock recovery then, and if it still didn't work, well, more research for me..
oblyvision said:
I've tried flashing magisk via recovery and didn't work, the same bootloop. Here's the thread: https://forum.xda-developers.com/mi-9t/how-to/guide-miui-11-v11-0-1-0-pfjmixm-rooted-t3997299
I thought this might be a working alternative.
Gotta try installing magisk with stock recovery then, and if it still didn't work, well, more research for me..
Click to expand...
Click to collapse
You have to understand the requirements :
- stock recovery
- install magisk manager app
- patch the boot image for your stock ROM (same version on your phone)
- flash that Patched boot image.
- reboot
- done, that's magisk installed
Hi using latest updated stock rom with root..
Magisk
New August update doesn’t install..
Before i used to install updates in root..
Now cant..
Help..
Do you have twrp installed and if so did you flash any mods to the system?
If no mods were installed just flash the stock boot.img for your firmware version using fastboot and reboot and apply the update
garylawwd said:
Do you have twrp installed and if so did you flash any mods to the system?
If no mods were installed just flash the stock boot.img for your firmware version using fastboot and reboot and apply the update
Click to expand...
Click to collapse
I have only magisk.. I got no mods.. Only by magisk i installed everything... How to get stock boot img? U mean unroot?
I have twrp sharp installed.on slot...
Sami Devo said:
I have only magisk.. I got no mods.. Only by magisk i installed everything... How to get stock boot img? U mean unroot?
I have twrp sharp installed.on slot...
Click to expand...
Click to collapse
Custom recovery that's why you cant install. Ota updates don't usually work with a custom recovery installed. You will have to flash stock boot.img there is a whole thread about this and all versions of the stock boot.img here https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509/page43
You were even the last person to comment on that thread
My build..
garylawwd said:
Custom recovery that's why you cant install. Ota updates don't usually work with a custom recovery installed. You will have to flash stock boot.img there is a whole thread about this and all versions of the stock boot.img here https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509/page43
You were even the last person to comment on that thread
Click to expand...
Click to collapse
But i had custom recovery and it installed before..the boot.img have to match with current build? For fastboot flash?? And which slot i have to flash the boot?
This might help (as long as you really read it and follow instructions): https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291
_mysiak_ said:
This might help (as long as you really read it and follow instructions): https://forum.xda-developers.com/mi-a3/how-to/guide-failed-ota-update-installation-t4041291
Click to expand...
Click to collapse
This link u give is for flash fastboot rom
Should i uninstall magisk and try?
Sami Devo said:
This link u give is for flash fastboot rom
Click to expand...
Click to collapse
Maybe try to read it at least one more time..
same but different problem.
I'm having somewhat similar problem here, but the thing is, I'm using stock mi a3, without any custom bootloader, twrp, rom, etc.
currently in version 11.0.17.0.QFQMIXM
trying to install the august security update that was supposed to be version 11.0.20.0
updater showed the august update as 464mb, which is weird as its supposed to be 34mb or so.
any help from the experts here are kindly appreciated.
I have no custom recovery, or magisk but have same problem
So I solved the problem as I love root .. I had to loose recovery sharp... Now I have no recovery . I flashed stock ROM of Build 19 and installed the latest OTA . After then I extracted the boot image of stock ROM then I patch stock boot image of latest build.i got now root with magisk with no recovery . I hope I can install future OTA with the method..
If u can't install u must have to flash fastboot..
I have tried restoring stock boot.img of build 19.. but doesn't installed.. although I removed custom recovery but still couldn't install OTA..
Sami Devo said:
So I solved the problem as I love root .. I had to loose recovery sharp... Now I have no recovery . I flashed stock ROM offer BL 19 and installed the latest OTA . After then I extracted the boot image of stock ROM then I patch stock boot image of latest build.i got now root with magisk with no recovery . I hope I can install future OTA with the method..
If u can't install u must have to flash fastboot..
I have tried restoring boot.img of build 19.. but doesn't installed.. although I removed custom recovery but still couldn't install OTA..
Click to expand...
Click to collapse
thanks for the great advice. anyone willing to do the needful, might as well do as suggested. but i kind of trying to keep things stock as much as i can, dont have the time to fiddle around as much. this phone is buggy enough as it is
decided to backup everything and reset for now. might root if resetting didnt fix the issue. cheers mate! :good:
weeeeeeeb said:
thanks for the great advice. anyone willing to do the needful, might as well do as suggested. but i kind of trying to keep things stock as much as i can, dont have the time to fiddle around as much. this phone is buggy enough as it is
decided to backup everything and reset for now. might root if resetting didnt fix the issue. cheers mate! :good:
Click to expand...
Click to collapse
???Yah.. i have some apps which i must use! Such as greenify , titanium backup.. those r core of root..
Am looking forward to meet another update challenge. Am ready.
weeeeeeeb said:
I'm having somewhat similar problem here, but the thing is, I'm using stock mi a3, without any custom bootloader, twrp, rom, etc.
currently in version 11.0.17.0.QFQMIXM
trying to install the august security update that was supposed to be version 11.0.20.0
updater showed the august update as 464mb, which is weird as its supposed to be 34mb or so.
any help from the experts here are kindly appreciated.
Click to expand...
Click to collapse
No its not weird. Becoz july update n also August both have to installed by u...thats y its not only 35mb.ur build is too old. It ought to be a big update
Tyrese117 said:
I have no custom recovery, or magisk but have same problem
Click to expand...
Click to collapse
Then u need to flash fastboot rom
Sami Devo said:
Then u need to flash fastboot rom
Click to expand...
Click to collapse
I have installed July patch without any problem
I have solved this problem
Download recovery rom and flash from stock recovery: APPLY UPDATE FROM SD CARD
Tyrese117 said:
I have solved this problem
Download recovery rom and flash from stock recovery: APPLY UPDATE FROM SD CARD
Click to expand...
Click to collapse
this is very hard work.. i cant do that in every month and retaining root again!
I'm currently running Android 11 based Wave OS on my Redmi Note 9 Pro (Curtana). I have OrangeFox recovery installed. I want to flash latest stock ROM which is also based on Android 11.
So, can anyone help me with the correct procedure for the flashing of Stock MIUI 12 based on Android 11 on my Curtana with OF recovery installed?
Azamsm said:
I'm currently running Android 11 based Wave OS on my Redmi Note 9 Pro (Curtana). I have OrangeFox recovery installed. I want to flash latest stock ROM which is also based on Android 11.
So, can anyone help me with the correct procedure for the flashing of Stock MIUI 12 based on Android 11 on my Curtana with OF recovery installed?
Click to expand...
Click to collapse
You can flash this directly from ofox. It's the current updated Android R stock firmware which is stable. Just format your data, flash the recovery rom (not the fastboot rom) and reboot.
But I highly recommend you to try EU rom from xiaomi.eu website.
MPK99 said:
You can flash this directly from ofox. It's the current updated Android R stock firmware which is stable. Just format your data, flash the recovery rom (not the fastboot rom) and reboot.
But I highly recommend you to try EU rom from xiaomi.eu website.
Click to expand...
Click to collapse
So, I can flash this one by the same method?
Azamsm said:
So, I can flash this one by the same method?
Click to expand...
Click to collapse
Ys. It's the eu one that I mentioned.
But note that eu roms are always little behind the latest versions.
Right now, eu rom is 12.0.1 & stock is 12.0.4.
But don't worry, differences are very minor. Go with EU.
MPK99 said:
Ys. It's the eu one that I mentioned.
But note that eu roms are always little behind the latest versions.
Right now, eu rom is 12.0.1 & stock is 12.0.4.
But don't worry, differences are very minor. Go with EU.
Click to expand...
Click to collapse
Hi @MPK99
I successfully flashed eu rom 12.0.1. Thanks for the guidance.
Can you also help me gaining root. I flashed Magisk 22.0 zip via OFox, it's successfully installed, root checker shows phone is rooted and even able to grant apps root access but it actually doesn't seem to be working. I can't modify system files and root apps don't do what they are supposed to do. Please help.
Thanks in advance!
Azamsm said:
Hi @MPK99
I successfully flashed eu rom 12.0.1. Thanks for the guidance.
Can you also help me gaining root. I flashed Magisk 22.0 zip via OFox, it's successfully installed, root checker shows phone is rooted and even able to grant apps root access but it actually doesn't seem to be working. I can't modify system files and root apps don't do what they are supposed to do. Please help.
Thanks in advance!
Click to expand...
Click to collapse
What method you used to root? Boot Patch or Recovery flash? Also check & tell whether device is encrypted or not.
MPK99 said:
What method you used to root? Boot Patch or Recovery flash? Also check & tell whether device is encrypted or not.
Click to expand...
Click to collapse
Recovery flash and device in not encrypted.
Can I have your telegram?
Azamsm said:
Recovery flash and device in not encrypted
Click to expand...
Click to collapse
Get latest Magisk (magisk-v22.0.zip), flash it as a module under Magisk app itself. Reboot.
MPK99 said:
Get latest Magisk (magisk-v22.0.zip), flash it as a module under Magisk app itself. Reboot.
Click to expand...
Click to collapse
Didn't work. Thanks for the help btw.
Azamsm said:
Didn't work. Thanks for the help btw.
Click to expand...
Click to collapse
There's no root problems btw. Try to enable root permissions for the explorer manually under magisk. Also check whether you allowed root under your explorer settings.
MPK99 said:
There's no root problems btw. Try to enable root permissions for the explorer manually under magisk. Also check whether you allowed root under your explorer settings.
Click to expand...
Click to collapse
I checked and it's enabled. But it's not working anyhow. Stock MIUI doesn't get rooted too. There's this wave OS rom which I could successfully root so far. But it had heating issue while charging. Maybe I should forget about rooting for a whilr
Azamsm said:
I checked and it's enabled. But it's not working anyhow. Stock MIUI doesn't get rooted too. There's this wave OS rom which I could successfully root so far. But it had heating issue while charging. Maybe I should forget about rooting for a whilr
Click to expand...
Click to collapse
Is root not working for just solid explorer or other root apps too? If root works on other apps, try Mixplorer instead of Solid.
MPK99 said:
Is root not working for just solid explorer or other root apps too? If root works on other apps, try Mixplorer instead of Solid.
Click to expand...
Click to collapse
Not working on any app.
While I retried flashing Magisk through OFox, I saw these lines
Code:
-System as root, keep dm/avb verity
- Encrypted data, keep force encryption
Is this the encryption you were talking about
Azamsm said:
While I retried flashing Magisk through OFox, I saw these lines
Code:
-System as root, keep dm/avb verity
- Encrypted data, keep force encryption
Is this the encryption you were talking about
Click to expand...
Click to collapse
Maybe. Because, Encryption & rooting together doesn't go well.
On Encryption, you have to follow boot patch method. Recovery flashing won't work.
Extract boot.img from your stock firmware (or EU rom firmware), patch that file from magisk patch method. You'll get patched_boot.img. Flash that as boot under recovery.
MPK99 said:
Maybe. Because, Encryption & rooting together doesn't go well.
On Encryption, you have to follow boot patch method. Recovery flashing won't work.
Extract boot.img from your stock firmware (or EU rom firmware), patch that file from magisk patch method. You'll get patched_boot.img. Flash that as boot under recovery.
Click to expand...
Click to collapse
Tried this method too, still can't delete that miui_mod_icons folder. Root isn't working yet.
Azamsm said:
Tried this method too, still can't delete that miui_mod_icons folder. Root isn't working yet.
Click to expand...
Click to collapse
Well, you have some specific reason to root. To remove some system apps right. You can do that on recovery too. Leave rooting, caz it's encrypted.
MPK99 said:
Well, you have some specific reason to root. To remove some system apps right. You can do that on recovery too. Leave rooting, caz it's encrypted.
Click to expand...
Click to collapse
Hey dude, first of all, I'm thankful to you for keeping calm and helping me
But actually both TWRP and OFox recoveries show nothing inside /system except for 4 folders which has nothing inside them. So I can't even see the files I want to delete.
Maybe it's because of the dynamic system partition or super partitions in android 11, idk I'm just super disappointed
Hey, @MPK99
One thing I noticed that system can be mounted read-only in OFox. If I want to mount it read-write, it just won't.
Hi everybody,
I'm trying to root my OnePlus 7t Pro with android 11 installed, but I can't figure out a way how to do so...
I read some other posts/threads and tried to root it installing Magisk canary but it still didn't work (it got stuck in the booting process, and I had to flash the stock boot image to get it working again). Does anybody have an other idea of something I could try? Magisk doesn't same to get it patched regardless of which version I use...
Thank you in advance for your help!
T4gB0t said:
Hi everybody,
I'm trying to root my OnePlus 7t Pro with android 11 installed, but I can't figure out a way how to do so...
I read some other posts/threads and tried to root it installing Magisk canary but it still didn't work (it got stuck in the booting process, and I had to flash the stock boot image to get it working again). Does anybody have an other idea of something I could try? Magisk doesn't same to get it patched regardless of which version I use...
Thank you in advance for your help!
Click to expand...
Click to collapse
You said it got stuck in booting process, was this after a fastboot flash patchedboot.img?
Hw4ng3r said:
You said it got stuck in booting process, was this after a fastboot flash patchedboot.img?
Click to expand...
Click to collapse
Yes, exactly... Sorry for not specifing. I patched the image, flashed it and than my phone stopped booting correctly and I had to flash the stock image to make it work again. I searched a little bit and found out that it was Magisk's fault and read that I had to try with the canary version, so I did but it still did not work and I was stuck on the same point as before.
T4gB0t said:
Yes, exactly... Sorry for not specifing. I patched the image, flashed it and than my phone stopped booting correctly and I had to flash the stock image to make it work again. I searched a little bit and found out that it was Magisk's fault and read that I had to try with the canary version, so I did but it still did not work and I was stuck on the same point as before.
Click to expand...
Click to collapse
Have you tried just fastboot boot patched.img and doing a direct install through Magisk?
I know some people reported their phones borking after trying to fastboot flash.
Hw4ng3r said:
Have you tried just fastboot boot patched.img and doing a direct install through Magisk?
I know some people reported their phones borking after trying to fastboot flash.
Click to expand...
Click to collapse
Sorry, I'm not really sure if I understood what you meant....
I thought that maybe I could try to downgrade to android 11 to then root and upgrade while remaining root. What do you think about this idea? And do you know how I could downgrade my phone? I did some research but did not find anything useful...
T4gB0t said:
Sorry, I'm not really sure if I understood what you meant....
I thought that maybe I could try to downgrade to android 11 to then root and upgrade while remaining root. What do you think about this idea? And do you know how I could downgrade my phone? I did some research but did not find anything useful...
Click to expand...
Click to collapse
So you would take your stock Android 11 boot.img and patch it like you would in Magisk Manager. Save the patched.img to your computer. Reboot to bootloader and apply command fastboot boot patched.img. this should restart your phone using the patched.img. once it starts, go into Magisk Manager and click Install > Direct Install > Reboot when asked.
You could certainly go back to A10 from A11 but you will lose all your data. The method above does work. Where did you get the stock boot.img?
Hw4ng3r said:
So you would take your stock Android 11 boot.img and patch it like you would in Magisk Manager. Save the patched.img to your computer. Reboot to bootloader and apply command fastboot boot patched.img. this should restart your phone using the patched.img. once it starts, go into Magisk Manager and click Install > Direct Install > Reboot when asked.
You could certainly go back to A10 from A11 but you will lose all your data. The method above does work. Where did you get the stock boot.img?
Click to expand...
Click to collapse
I downloaded the software from the official website and used payload dumper to extract the boot image. To be sure that I understood everything... you suggested to use "fastboot boot patched.img" instead of "fastboot flash boot patched.img", and once the phone restarted to go to magisk manager and click direct install.
Do I need Magisk Manager canary or the normal version for this to work and do I have to mantain the canary version or can I install the normal version once it is rooted?
Either 22.1 or Canary works for A11
Hw4ng3r said:
Either 22.1 or Canary works for A11
Click to expand...
Click to collapse
Okay thank you very much, I'll try and tell you. Thank you for your awesome help
T4gB0t said:
Okay thank you very much, I'll try and tell you. Thank you for your awesome help
Click to expand...
Click to collapse
One last question, is it normal that the "unlocked bootlader message" when booting shows up for almost two minutes? When I had Android 10 it did not take that much...
T4gB0t said:
One last question, is it normal that the "unlocked bootlader message" when booting shows up for almost two minutes? When I had Android 10 it did not take that much...
Click to expand...
Click to collapse
Yes for some reason, I noticed that as well on my device.
FYI, the patched boot may only work with Magisk canary
Hw4ng3r said:
Yes for some reason, I noticed that as well on my device.
FYI, the patched boot may only work with Magisk canary
Click to expand...
Click to collapse
So not Magisk v.23 but Magisk canary?
I know that there was rooting issues back at the end of last year, but I'm not sure exactly what version of Magisk it was at the time.
If you want to pass safety net on A11, I've read success posts with canary and Magisk hide
Hw4ng3r said:
I know that there was rooting issues back at the end of last year, but I'm not sure exactly what version of Magisk it was at the time.
If you want to pass safety net on A11, I've read success posts with canary and Magisk hide
Click to expand...
Click to collapse
Okay thanks, I'll try with v.23 first and If that does not work than I'll try with the canary one. Thank you very much!!!
Hiya, just use this TRWP. Decryption works on Android 11 (only tested on lineage).
Reboot to fastboot and use
fastboot flash recovery_a recovery.img
And
fastboot flash recovery_b recovery.img
And reboot to recovery.
Releases · Systemad/android_device_oneplus_hotdog
TWRP tree for OnePlus 7T/Pro (Hotdog/hotdogb). Contribute to Systemad/android_device_oneplus_hotdog development by creating an account on GitHub.
github.com
Wacko1805 said:
Hiya, just use this TRWP. Decryption works on Android 11 (only tested on lineage).
Reboot to fastboot and use
fastboot flash recovery_a recovery.img
And
fastboot flash recovery_b recovery.img
And reboot to recovery.
Releases · Systemad/android_device_oneplus_hotdog
TWRP tree for OnePlus 7T/Pro (Hotdog/hotdogb). Contribute to Systemad/android_device_oneplus_hotdog development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Okay thank you, I'll try if the other method does not work
T4gB0t said:
Okay thank you, I'll try if the other method does not work
Click to expand...
Click to collapse
Decrypt does not work on OOS and you do not need TWRP to Magisk.
Hw4ng3r said:
Decrypt does not work on OOS and you do not need TWRP to Magisk.
Click to expand...
Click to collapse
I'm sorry to bother you again, but I tried with "fastboot boot patched.img" and it still did not work. It got stuck while booting again with "unable to parse kernel log" as error message. Do you have any other suggestions?
P.S. I got a full backup with "adb backup -apk -all -shared -f /path/to/location" today and thought about just doing a factory reset, trying to root the phone, restore the backup. Do you think that might actually work? Thank you for your help!
How exactly did you patched your boot.img?
FSadino said:
How exactly did you patched your boot.img?
Click to expand...
Click to collapse
I tried doing it with magisk (both v.23 and canary)
I want to access /data/system/users//settings_ssaid.xml to know what my game unique id is.
But after some research i learned that i have to root to able to get there but i have almost zero knowledge about it.
Are there any guide to root Redmi Note 10 from the scratch? Thanks.
1- Boot into Custom Recovery
2- Flash Magisk ZIP
3- Install Magisk APK
Done
if you want detailed steps , please tell me on wich ROM you are and if you have your bootloader unlocked
alonsoj636 said:
1- Boot into Custom Recovery
2- Flash Magisk ZIP
3- Install Magisk APK
Done
if you want detailed steps , please tell me on wich ROM you are and if you have your bootloader unlocked
Click to expand...
Click to collapse
Hi, I'm on official global ROM 12.5.3.0 RKGMIXM
And i turned on OEM Unlocking in developer mode yesterday (Which is confuse me a little a guide said i have to wait for 7 days for this but mine is nothing it's just switched to on)
OEM Unlocking is only one of the steps, but it does not unlock the bootloader. File a request with Xiaomi.
unlock bootloader
i recommend only booting to twrp, not flashing it
flash magisk 23
hide magisk
inn0ichi said:
...
i recommend only booting to twrp, not flashing it
...
Click to expand...
Click to collapse
Why do you recommend to only booting to TWRP instead of flashing it?
Pasarireng said:
Why do you recommend to only booting to TWRP instead of flashing it?
Click to expand...
Click to collapse
because the twrp developer instruction is to booting , not flashing
alonsoj636 said:
because the twrp developer instruction is to booting , not flashing
Click to expand...
Click to collapse
Aside of that instruction, actually is it 'dangerous' if we install the TWRP? What 'bad things' would/may happen if we install it? (Because I see some guides about installing it on RN10, like this one for example, and I was almost followed that guide).
Risk of bootloop
Pasarireng said:
Aside of that instruction, actually is it 'dangerous' if we install the TWRP? What 'bad things' would/may happen if we install it? (Because I see some guides about installing it on RN10, like this one for example, and I was almost followed that guide).
Click to expand...
Click to collapse
Risk of bootloop and fastboot loop... because this twrp is modded to be booted and then flashed (you can found the option in advanced)
One time i faced a fastboot loop once i flashed directly the twrp , that's why i recommend booting it first and then , flashing
Y
alonsoj636 said:
Risk of bootloop
Risk of bootloop and fastboot loop... because this twrp is modded to be booted and then flashed (you can found the option in advanced)
One time i faced a fastboot loop once i flashed directly the twrp , that's why i recommend booting it first and then , flashing
Click to expand...
Click to collapse
Yes, I mean that, (booting it first then flashing,.. (the TWRP right?).. I think the guide (which the youtube link I attached above) is also told to do that, right? (Or do I misunderstand this?)
Pasarireng said:
Y
Yes, I mean that, (booting it first then flashing,.. (the TWRP right?).. I think the guide (which the youtube link I attached above) is also told to do that, right? (Or do I misunderstand this?)
Click to expand...
Click to collapse
Yes , is the correct way
inn0ichi said:
unlock bootloader
i recommend only booting to twrp, not flashing it
flash magisk 23
hide magisk
Click to expand...
Click to collapse
Please confirm these;
*So we can:
Use TWRP only temporarily, only to root the phone (by flashing Magisk v23),
and then,
back to using the stock recovery on our RN10 afterward,
even if the RN10 is already rooted?
**If the answer for my question above is yes, then (in RN10 condition of Unlocked Boot Loader, Rooted, Stock MIUI & Stock Recovery) ;
Would we still get official OTA Update from Xiaomi (and can download and install the update- as how it's like before rooting the phone)?
Thank you in advance
It's an unnecessarily complicated procedure. Just flash a modified boot.img for your Miui using fastboot from your PC. If you don't have the ability to modify the boot.img on another rooted phone yourself, request a modified boot.img with the exact update version of your Miui here.
StaryMuz said:
It's an unnecessarily complicated procedure. Just flash a modified boot.img for your Miui using fastboot from your PC. If you don't have the ability to modify the boot.img on another rooted phone yourself, request a modified boot.img with the exact update version of your Miui here.
Click to expand...
Click to collapse
Thanks again, (and maybe I will try your suggestion later).. but (sorry)... your reply doesn't answer my questions.
(I think my questions are very clear and probably very easy to be answered by someone who has experience/knowledge about it (like you?).. no?)
Forgive my nooby questions.
But I really want to know as much as I can (especially about the answer for some questions I have inside my head about the matter, like I asked above),.. before executing doing something about my phone.
oops... I'm sorry for double send
In the past I rooted Miui and then continued to get OTA updates. However, this cannot be confirmed for all versions of Miui. Each new update changes the phone software and so what worked before may not work today.
alonsoj636 said:
1- Boot into Custom Recovery
2- Flash Magisk ZIP
3- Install Magisk APK
Done
if you want detailed steps , please tell me on wich ROM you are and if you have your bootloader unlocked
Click to expand...
Click to collapse
Hi, I'm unlocked my phone and installed the orange fox it's the custom recovery right? Because it say so.
If yes, By Flash Magisk ZIP how to do that? Please explain the detailed steps, Thanks.
First of all, I would like to point out that Magisk (root) is a security risk. Without understanding the issues, the phone is more easily exploitable.
To install, just download the magisk file with the ZIP extension. In recovery, select the install option and select this file. Once installed, exit recovery and boot the system. Once the system boots, use magisk and complete the installation it requests.
Lolitary said:
Hi, I'm unlocked my phone and installed the orange fox it's the custom recovery right? Because it say so.
If yes, By Flash Magisk ZIP how to do that? Please explain the detailed steps, Thanks.
Click to expand...
Click to collapse
the answer above is right ... but i would suggest to flash Orange Fox zip and then Magisk zip... to avoid problems
isn't there decrypt.zip for RN10?
How to decrypt this phone?
I usually did that along with rooting with my android phones before this.
Edit:
Update:
It's ok now I understand how, after watching this video.