Related
Hello guys,
i saw there some questions about TWRP and android 10. So far you cant boot TWRP on android 10. It doesnt matter Q BETA DP4, 5 or OB1.
Mauronofrio is already informed about that. There is some work needed to fix that.
But there is a way to flash TWRP with Magisk! I already posted that a few times in TWRP thread and opened this thread now. So it's easier to find it.
You will need to have magisk on your phone to do this!
UPDATING FROM ANDROID 9:
1. Install Android 10 trough local Updater AND DONT REBOOT HERE
2. Flash TWRP trough Magisk
3. Install magisk to inaktiv Slot (after OTA)
4. REBOOT NOW
With OB1 it also works the usual way:
1. Boot into TWRP and Flash OB1
2. Flash TWRP Installer.zip
3 Reboot directly into recovery
4. Flash Magisk and reboot system
COMING WITH ANDROID 10 NON ROOT:
1. Extract the boot.img of payload.bin inside the update.zip (use this tool for it LINK <--- thanks @tidschi)
2. Patch the boot.img with Magisk
3. Flash it with fastboot and reboot
4. Flash TWRP with magisk
5. Install Magisk and reboot
COMING WITH ANDROID 10 AND ROOT:
1. Flash TWRP with magisk
2. Install magisk and reboot
Thanks @tidschi for correcting me (patching boot.img) and screenshot
Kollachi said:
Hello guys,
i saw there some questions about TWRP and android 10. So far you cant boot TWRP on android 10. It doesnt matter Q BETA DP4, 5 or OB1.
Mauronofrio is already informed about that. There is some work needed to fix that.
But there is a way to flash TWRP on it before booting into android 10 system! I already posted that a few times in TWRP thread and opened this thread now. So it's easier to find it.
All you need is magisk installed on your phone to do this!
1. Install Android 10 trough local Updater AND DONT REBOOT HERE
2. Flash TWRP trough Magisk
3. Install magisk to inaktiv Slot (after OTA)
4. REBOOT NOW
I tried it myself and it worked great. There are some users who confirmed its working.
Click to expand...
Click to collapse
Thanks for guide. So I am now in op1 without root and twrp. I assume I have to downgrade to 9.5.8, there flash twrp and magisk, than install op1 again and flash twrp etc as you write?
Marek.N said:
Thanks for guide. So I am now in op1 without root and twrp. I assume I have to downgrade to 9.5.8, there flash twrp and magisk, than install op1 again and flash twrp etc as you write?
Click to expand...
Click to collapse
No, just patch boot.img from OB1 with Magisk.
Afterwards flash patched boot.img with fastboot and after that you can flash TWRP with Magisk.
---------- Post added at 08:35 PM ---------- Previous post was at 08:34 PM ----------
Kollachi said:
Yes. So far there is no other way.
Click to expand...
Click to collapse
Sure there is, see above
tidschi said:
No, just patch boot.img from OB1 with Magisk.
Afterwards flash patched boot.img with fastboot and after that you can flash TWRP with Magisk.
---------- Post added at 08:35 PM ---------- Previous post was at 08:34 PM ----------
Sure there is, see above
Click to expand...
Click to collapse
ok thanks will try tomorrow
Kollachi said:
Sure but first you will need to have a patched boot.img
Click to expand...
Click to collapse
You said it's not possible, but it is?!
Where is the problem to extract ROM with payload dumper and patch boot.img with Magisk?
I see no problem here... definitely less work then going back to PIE...
Marek.N said:
ok thanks will try tomorrow
Click to expand...
Click to collapse
Please report if its working with patched boot.img.
I dont have the device anymore.
tidschi said:
You said it's not possible, but it is?!
Where is the problem to extract ROM with payload dumper and patch boot.img with Magisk?
I see no problem here... definitely less work then going back to PIE...
Click to expand...
Click to collapse
Yes i forgot about it. Lol
Kollachi said:
Please report if its working to flash TWRP with patched boot.img.
I dont have the device anymore.
Click to expand...
Click to collapse
It will, did this with latest DP, because it wasn't possible to boot TWRP with fastboot.
Was the only way in that case.
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
Kollachi said:
Please report if its working to flash TWRP with patched boot.img.
I dont have the device anymore.
Click to expand...
Click to collapse
Kollachi said:
Yes i forgot about it. Lol
But as i said... First you will need to patch it. But if you dont have magisk installed on your phone good luck. There is someone needed to do that for you.
Click to expand...
Click to collapse
No...you just need Magisk Manager and stock boot.img...
tidschi said:
It will, did this with latest DP, because it wasn't possible to boot TWRP with fastboot.
Was the only way in that case.
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
No...you just need Magisk Manager and stock boot.img...
Click to expand...
Click to collapse
Ah ok thanks. Never did it that way.
Kollachi said:
Ah ok thanks. Never did it that way.
Click to expand...
Click to collapse
Np, was for me also first time to do it this way.
Everyone can extract stock boot.img from payload file with this tool:
https://androidfilehost.com/?fid=818070582850510260
Then simple flash the extracted boot.img with Magisk and flash with fastboot.
tidschi said:
Np, was for me also first time to do it this way.
Everyone can extract stock boot.img from payload file with this tool:
https://androidfilehost.com/?fid=818070582850510260
Then simple flash the extracted boot.img with Magisk and flash with fastboot.
Click to expand...
Click to collapse
I have updated the OP now. Thanks dude. (Danke für das Korrigieren!)
Little notice, as said before:
You need to extract with payload dumper the boot.img from payload.bin from ROM ZIP file.
Thanks for the guide @Kollachi
I am rooted and TWRP is installed, latest Pie Update. Can't I just download the Android 10 OB1 and flash this in TWRP? Afterwards, flash TWRP Zip and Magisk to preserve all this?
Lupus77 said:
I am rooted and TWRP is installed, latest Pie Update. Can't I just download the Android 10 OB1 and flash this in TWRP? Afterwards, flash TWRP Zip and Magisk to preserve all this?
Click to expand...
Click to collapse
No you need to update from settings in OOS.
Then go to Magisk and install to inactive slot and reboot.
If you want to have TWRP again, install as Module with Magisk after reboot.
Lupus77 said:
I am rooted and TWRP is installed, latest Pie Update. Can't I just download the Android 10 OB1 and flash this in TWRP? Afterwards, flash TWRP Zip and Magisk to preserve all this?
Click to expand...
Click to collapse
You could try that. I don't have that device anymore.
Just found this in OP7 Pro forum: https://forum.xda-developers.com/oneplus-7-pro/how-to/android-q-4th-developer-preview-t3953997
How to update/install with root(TWRP):
*MAKE SURE TO HAVE EVERY MAGISK MODULE DISABLED BEFORE YOU DO THIS*
1. Download the open beta, magisk and TWRP installer
2. Copy the zip to the storage
3. Boot TWRP and decrypt
4. Flash open beta
5. Flash TWRP Installer
6. Reboot recovery
7. Flash Magisk
8. Reboot and enjoy!
I am gonna try this. This is what I did on my OP5 for a long time and I am more comfortable this way.
Lupus77 said:
Just found this in OP7 Pro forum: https://forum.xda-developers.com/oneplus-7-pro/how-to/android-q-4th-developer-preview-t3953997
How to update/install with root(TWRP):
*MAKE SURE TO HAVE EVERY MAGISK MODULE DISABLED BEFORE YOU DO THIS*
1. Download the open beta, magisk and TWRP installer
2. Copy the zip to the storage
3. Boot TWRP and decrypt
4. Flash open beta
5. Flash TWRP Installer
6. Reboot recovery
7. Flash Magisk
8. Reboot and enjoy!
I am gonna try this. This is what I did on my OP5 for a long time and I am more comfortable this way.
Click to expand...
Click to collapse
You can't boot into TWRP with Android 10 for now.
I know, but I am still on Pie. Will do this to update to OB1. Then I hope a new TWRP will be released soon
Edit: Worked like a charm. Can also still boot into TWRP recovery.
So finally I am rooted, so than I have to go to fastboot and flash twrp img? And then flash magisk in twrp?
EDIT: That doesn´t work, IDK how to install twrp without fastboot
Can anyone upload a Magisk patched boot image for 10.0.1GM57AA? The model that I have is GM1900. When I try to patch it myself on Magisk, I get an error saying "process error"
Anyone able to help?
Heelixx said:
Anyone able to help?
Click to expand...
Click to collapse
Hi.
magisk-patched 4.14.117-perf+ with twrp: https://ufile.io/3ieksyfx
flash with fastboot flash boot 4.14.117-perf+.img
meltbanana said:
Hi.
magisk-patched 4.14.117-perf+ with twrp: https://ufile.io/3ieksyfx
flash with fastboot flash boot 4.14.117-perf+.img
Click to expand...
Click to collapse
Thanks a lot for uploading this! I managed to flash it and root my device but now the wifi isn't working. I cleared the cache with TWRP but that didn't resolve the issue. Flashing back the original boot image made the wifi work again.
Heelixx said:
Thanks a lot for uploading this! I managed to flash it and root my device but now the wifi isn't working. I cleared the cache with TWRP but that didn't resolve the issue. Flashing back the original boot image made the wifi work again.
Click to expand...
Click to collapse
ok, perhaps it depends on BA (EU) or AA (global) ROM version? however you can boot the rooted one, install a downloaded version of magisk20 via magisk manager to patch your own kernel directly.
meltbanana said:
ok, perhaps it depends on BA (EU) or AA (global) ROM version? however you can boot the rooted one, install a downloaded version of magisk20 via magisk manager to patch your own kernel directly.
Click to expand...
Click to collapse
I flashed the 4.14.117-perf+.img that you uploaded and then I booted in TWRP and flashed my original stock boot image. While still in TWRP, I flashed the zip of Magisk and then I rebooted. That got it working. So I'm rooted now. Thanks for sending me the image. I appreciate it!
@Heelixx
Can you explain to me how important a magisk boot patched is? Did you leave Pie for 10? What's the procedure?
lvints said:
@Heelixx
Can you explain to me how important a magisk boot patched is? Did you leave Pie for 10? What's the procedure?
Click to expand...
Click to collapse
I was rooted on 10.0 and then I upgraded to 10.0.1
There is a procedure for upgrading to 10.0.1 and still keeping root. I wasn't aware of this and after I got the update, I restarted my device and ended up without root access.
A Magisk patched boot image is important for getting your device rooted.
If you're asking for the procedure to root your device, then you can follow this link which explains it, https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
1. Unlock bootloader via MI Flash Tool
2. Install ADB and Fastboot Drivers
3. Downloader Latest Platform Tools
4. Open command prompt window in platform tools folder
5. Take phone to fastboot mode (Adb reboot bootloader)
6. Flash the given boot image (Fastboot flash boot boot.img)
7. Flash the given vbmeta (Fastboot flash vbmeta vbmeta.img)
8. Reboot (Fastboot reboot)
9. Download, install and open latest magisk manager in phone. It will reboot phone.
10. Done. You have root now. Verify via root checker.
Credits: @Tigrouzen
is there any bug or issue with miui rom after root? and how to install twrp or any other custom recovery?
ji-r47 said:
is there any bug or issue with miui rom after root? and how to install twrp or any other custom recovery?
Click to expand...
Click to collapse
Some games will start to crash, and some apps wont work because they will detect root and close down. You can flash stock boot and vbmeta image to unroot and they will work.
Unofficial TWRP (compiled by @Tigrouzen) is attached. Flash in fastboot mode and then flash vbmeta from above.
ahsan.ey.ca said:
Some games will start to crash, and some apps wont work because they will detect root and close down. You can flash stock boot and vbmeta image to unroot and they will work.
Unofficial TWRP (compiled by @Tigrouzen) is attached. Flash in fastboot mode and then flash vbmeta from above.
Click to expand...
Click to collapse
Thank you very much
ahsan.ey.ca said:
Some games will start to crash, and some apps wont work because they will detect root and close down. You can flash stock boot and vbmeta image to unroot and they will work.
Unofficial TWRP (compiled by @Tigrouzen) is attached. Flash in fastboot mode and then flash vbmeta from above.
Click to expand...
Click to collapse
Do you have source code for it?
VD171 said:
Do you have source code for it?
Click to expand...
Click to collapse
Not my work, ask @Tigrouzen .
It's working. I don't have to install any ROM to root the phone. Thanks.
This can be done with any version of ROM? I have India version 12.0.9
@sakeyo i dont think region is important for this process, the only diference is the bloatware inside the rom,
if it doesnt works, you can just flash back the stock boot.img and vbmeta.img
or if you want, you can change the ROM to Global
I used XiaomiToolv2 https://www.xiaomitool.com/V2/
It works perfectly on my device. Thanks!
Hi Sakeyo. Please tell me what version of Magisk did you use?
Thanks in advance
asia559571 said:
Hi Sakeyo. Please tell me what version of Magisk did you use?
Thanks in advance
Click to expand...
Click to collapse
Im using the latest magisk version, it works flawlessly
its the version 23
yoshijulas said:
Im using the latest magisk version, it works flawlessly
its the version 23
Click to expand...
Click to collapse
Thank You yoshijulas for your reply and Kind Regards
asia559571 said:
Hi Sakeyo. Please tell me what version of Magisk did you use?
Thanks in advance
Click to expand...
Click to collapse
Hello. I am currently not rooted. I removed Magisk and closed the bootloader. But when I was rooted I always used the latest versions of Magisk.
sakeyo said:
Hello. I am currently not rooted. I removed Magisk and closed the bootloader. But when I was rooted I always used the latest versions of Magisk.
Click to expand...
Click to collapse
To be honest, I only wanted root for the sake of having ViPER4Android. I tried the rootless version, but it failed on my phone... got stuck in a boot loop. I'm using Black Player Ex, the equalizer in tandem with the Mi Sound Enhancer works like a charm. One thing I noticed, is that the sound level on the Global Rom is very low compared to the Chinese version, so I'm sticking to the Chinese Rom. If You come across ViPER that can be installed on our device without the need for root, Please let me know. It's a shame that Xiaomi wouldn't/don't have ViPER pre-installed as a system app?
Best Regards
ahsan.ey.ca said:
Some games will start to crash, and some apps wont work because they will detect root and close down. You can flash stock boot and vbmeta image to unroot and they will work.
Unofficial TWRP (compiled by @Tigrouzen) is attached. Flash in fastboot mode and then flash vbmeta from above.
Click to expand...
Click to collapse
@ahsan.ey.ca I know you just need boot.img and vbmeta.img to get root, but when you installed recovery.img did you get the frozen screen where you can't swipe to unlock twrp?
I'm paranoid, will this boot and vbmeta work on any MiUI version?
Reyproject said:
I'm paranoid, will this boot and vbmeta work on any MiUI version?
Click to expand...
Click to collapse
Not sure.
Probably boot can works.
But the vbmeta certainly works on any version.
Where can I find the boot.img for flashing recovery?
criza said:
Where can I find the boot.img for flashing recovery?
Click to expand...
Click to collapse
Try here:
[IMG][ROOT][PATCHED] Magisk Patched Boot: ROOTED Images Partitions for DANDELION (Redmi 9A / Redmi 9AT)
Magisk Patched BOOT.IMG for DANDELION ROOT / PREROOT ROOTED / PREROOTED Works with: - Xiaomi Redmi 9A - Xiaomi Redmi 9AT Does NOT work with: - Xiaomi Redmi 10A Firmware Versions: - (Engineering) 246 - (Engineering) 440 - (Indonesia)...
forum.xda-developers.com
Hey guys
I need your help to be happy having my phone rooted....
After update to android 11 I try to install TWRP 3.5.2 but the phone stuck on fastboot screen and TWRP not opens. So, I found an another way to root the device patching boot.img trough magisk, even it not pass on SafetyNet validation.
The root works but after reboot the phone lose it.
Some one have a solution for root on android 11?
Thanks for your help.
At the moment the TWRP in android 11 is giving problems when the mobile is encrypted does not work, you would have to make a backup and decrypt the phone to be able to use it. Any questions let me know
You need to decrypt your data and stay decrypted to get twrp working in A11.
And for the magisk part (assuming you don't wanna use twrp and stay encrypted), after booting using the patched boot image, open Magisk app, then select the Install option, then Direct Install. And that's it. You won't lose root access after reboot.
dewri21 said:
You need to decrypt your data and stay decrypted to get twrp working in A11.
And for the magisk part (assuming you don't wanna use twrp and stay encrypted), after booting using the patched boot image, open Magisk app, then select the Install option, then Direct Install. And that's it. You won't lose root access after reboot.
Click to expand...
Click to collapse
Are you referring to the patched boot.img you make yourself using Magisk? I've tried that myself, but the phone keeps being stuck at the boot logo (not a boot loop). I'm always forced to flash the original boot.img file to make the phone operational again.
Skyrider said:
Are you referring to the patched boot.img you make yourself using Magisk? I've tried that myself, but the phone keeps being stuck at the boot logo (not a boot loop). I'm always forced to flash the original boot.img file to make the phone operational again.
Click to expand...
Click to collapse
You patched the boot.img yourself? I mean did you get the proper image using payload dumper? It should have booted. Check it again and try. If that doesn't help you still, decryption is the way to go. I have been decrypted since a long time, with a working twrp.
dewri21 said:
You patched the boot.img yourself? I mean did you get the proper image using payload dumper? It should have booted. Check it again and try. If that doesn't help you still, decryption is the way to go. I have been decrypted since a long time, with a working twrp.
Click to expand...
Click to collapse
I thought TWRP wasn't/isn't fully supported on Android 11?
And yes, I used the proper proper image as I grabbed the entire package using Oxygen Updater, while using the patched version to update the OS. And if I didn't get the proper image, I would assume reverting back to the original boot.img (from the full package) wouldn't have worked.
Skyrider said:
I thought TWRP wasn't/isn't fully supported on Android 11?
And yes, I used the proper proper image as I grabbed the entire package using Oxygen Updater, while using the patched version to update the OS. And if I didn't get the proper image, I would assume reverting back to the original boot.img (from the full package) wouldn't have worked.
Click to expand...
Click to collapse
I found working patched boot at OnePlus forum, I guess it was patched with canary version of magisk. Maybe you can try.
Skyrider said:
I thought TWRP wasn't/isn't fully supported on Android 11?
Click to expand...
Click to collapse
It is, if and only if you're decrypted. TWRP doesn't support encryption on A11.
Hi, I am trying to flash magisk. I patched my boot.img and flashed it via fastboot. But it didn't work, Magisk app was still showing as not installed. Then, I tried the Recovery method (flashing the magisk zip), it tells that magisk patched to the boot.img file but this method didn't work too. But it said magisk patched to the boot.img. What can cause it?
My rom: Xiaomi.eu 21.12.8, Android 12
My device: Xiaomi Mi 10T (apollo)
CaganAgabey said:
Hi, I am trying to flash magisk. I patched my boot.img and flashed it via fastboot. But it didn't work, Magisk app was still showing as not installed. Then, I tried the Recovery method (flashing the magisk zip), it tells that magisk patched to the boot.img file but this method didn't work too. But it said magisk patched to the boot.img. What can cause it?
My rom: Xiaomi.eu 21.12.8, Android 12
My device: Xiaomi Mi 10T (apollo)
Click to expand...
Click to collapse
Flashing the Magisk patched boot.img only installs the necessary binaries to gain root access, you have to manually install the Magisk Manager app to take advantage of the binaries that it installs. Flashing the patched boot.img does not automatically install the Magisk app on your device as part of the flashing process.