Android 10 Root+TWRP - OnePlus 7 Questions & Answers

Did someone found the way to have root and TWRP on android 10 beta 5?

Today I tried to root Open beta and I wasn´t successful. fastboot boot twrp.img to boot into twrp and then flash magisk doesn´t work. Idk why.

Marek.N said:
Today I tried to root Open beta and I wasn´t successful. fastboot boot twrp.img to boot into twrp and then flash magisk doesn´t work. Idk why.
Click to expand...
Click to collapse
Check my guide.TWRP GUIDE FOR ANDROID 10

Cristianos102 said:
Did someone found the way to have root and TWRP on android 10 beta 5?
Click to expand...
Click to collapse
Patch boot.img from OB1 with Magisk.
Flash patched boot.img with fastboot.
Reboot and install TWRP with Magisk.

Could someone send me link to patched boot. Img
Or at least tell me how to get it

You'll find the how-to in the linked thread above...

tidschi said:
Patch boot.img from OB1 with Magisk.
Flash patched boot.img with fastboot.
Reboot and install TWRP with Magisk.
Click to expand...
Click to collapse
Root will work TWRP won't

vjendra said:
Root will work TWRP won't
Click to expand...
Click to collapse
Both will... don't talk if you don't tried...

tidschi said:
Both will... don't talk if you don't tried...
Click to expand...
Click to collapse
I tried....Its boots in TWRP but you cant flash anything

vjendra said:
I tried....Its boots in TWRP but you cant flash anything
Click to expand...
Click to collapse
Then tell me why I have both?!
If I flash patched boot.img, I have Magisk, ok.
If I have Magisk and I flash TWRP with it, I have TWRP but after Reboot no Magisk.
But I still have both? Means Magisk is flashed with TWRP?!

tidschi said:
Then tell me why I have both?!
If I flash patched boot.img, I have Magisk, ok.
If I have Magisk and I flash TWRP with it, I have TWRP but after Reboot no Magisk.
But I still have both? Means Magisk is flashed with TWRP?!
Click to expand...
Click to collapse
You can have both. But in TWRP, internal storage is not mounted so you can see your files. You have to wait for TWRP update for that

vjendra said:
You can have both. But in TWRP, internal storage is not mounted so you can see your files. You have to wait for TWRP update for that
Click to expand...
Click to collapse
How can you have both, if you can't fastboot boot TWRP??
Otherwise read again what I wrote before...I flashed Magisk with TWRP, how that if internal storage isn't working like you said?
Really don't know where the problem is...
Flashed TWRP with Magisk, no issues.
Flashed patched boot.img with TWRP, no issues.
Flashed Magisk with TWRP, also no issues.

tidschi said:
How can you have both, if you can't fastboot boot TWRP??
Otherwise read again what I wrote before...I flashed Magisk with TWRP, how that if internal storage isn't working like you said?
Really don't know where the problem is...
Flashed TWRP with Magisk, no issues.
Flashed patched boot.img with TWRP, no issues.
Flashed Magisk with TWRP, also no issues.
Click to expand...
Click to collapse
Are you a noob or what? Just read my comment above.

For me everything just works fine, have a nice day Pro Dev!

I have both TWRP and Magisk and both works I justed tested there

Link to patched boot.img?

djvita said:
Link to patched boot.img?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=80186989&postcount=27

I have lost about 6 hours on flashing 10 OB (all of my mistakes) and finally it works, twrp and root!
But I had to return to 958 patch boot of 10 and then flash 10 again..
The boot file from link above never work for me.

No problems for me with clean flash OB1

i fixed this by going back to pie, then android 10 official (using oxygen updater app), when i flashed in trwp i did oos.zip, then twrp zip then magisk zip. after that, magisk was enabled, and i can reboot to twrp

Related

Magisk Root without TWRP for OnePlus 6 Oxygen OS Android 10 Open Beta 5 | OOS 10.3.1

Latest TWRP doesn't support Android Pie 9.0 for OnePlus 6, or at least for me it didn't.
So, I've made a Magisk patched boot image for Android P that we can flash it in fastboot bootloader.
Note: This is not Oxygen OS ROM, this is just a patched boot img for Oxygen OS to make root work. You need to unlock the bootloader before proceeding with anything.
Note 2: Please disable Magisk modules in the Magisk Manager before flashing the patched boot, because some modules might not support the latest OOS and your device will bootloop. If the modules has been updated by the devs to support the latest OOS you can install the modules after that.
Note 3: Sorry guys, I haven't tested the Android Q Developer Previews. Even though Magisk is supported on Q, please flash it at your own risk.
For older versions download from here: Google Drive
Folder updated with Stock boot images as well.
OOS 10 Open Beta 5 Patched Boot
OOS 10 Open Beta 5 Stock Boot
OOS 10.3.1 Patched Boot
OOS 10.3.1 Stock Boot
Flashing instructions:
Code:
fastboot boot (patched_boot_filename_here).img
or
fastboot flash boot (patched_boot_filename_here).img
Thanks @vlaf
reboot to system (if you make another reboot the root won't stick, so continue with the following steps)
Open Magisk (in settings select beta channel) and click install and install Magisk again with Direct Install (recommended)
reboot again and the root will stick even after the reboot.
The thread I followed for the instructions is here. Thanks for @b1czu
https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-magisk-root-oos-5-1-5-t3794440
Even easier way to root without TWRP:
1. Install OTA update (Don't reboot).
2. Open Magisk Manager, install Magisk and choose "Install to Inactive Slot (After OTA)" (Now reboot).
3. Now you are rooted without TWRP and without any boot img hassles as well.
wow dude that's useful. I don't need TWRP that bad but I need root to use Titanium backups.
Thanks man!
Not work here. Bootloop, only see Bootanimation not more.
SpectraFun said:
Not work here. Bootloop, only see Bootanimation not more.
Click to expand...
Click to collapse
I've tried it again and it worked for me
Are you using Android P Developer Preview 3?
ManikandanGuru said:
I've tried it again and it worked for me
Are you using Android P Developer Preview 3?
Click to expand...
Click to collapse
If you are I can give you the stock boot image for reverting it.
ManikandanGuru said:
I've tried it again and it worked for me
Are you using Android P Developer Preview 3?
Click to expand...
Click to collapse
Yes lol.
It works for me. That's a great help. Thank you.
SpectraFun said:
Yes lol.
Click to expand...
Click to collapse
I've updated the Google drive folder with the stock boot image for DP3.
Download and flash it to revert the bootloop.
I'm not really sure why it didn't work for you. Sorry about that.
Raymond.William said:
wow dude that's useful. I don't need TWRP that bad but I need root to use Titanium backups.
Thanks man!
Click to expand...
Click to collapse
Yeah TiBu is the main reason for me as well.
Worked great for me, thanks! Only issue is I can't get Pokemon Go to work anymore, I'll play around with it.
geoff5093 said:
Worked great for me, thanks! Only issue is I can't get Pokemon Go to work anymore, I'll play around with it.
Click to expand...
Click to collapse
Did you try hiding Pokemon Go in Magisk hide? Because the latest update addressed the Pokemon Go issue as far as I know.
Yeah I did, but I rebooted an additional time and everything works now!
ManikandanGuru said:
Did you try hiding Pokemon Go in Magisk hide? Because the latest update addressed the Pokemon Go issue as far as I know.
Click to expand...
Click to collapse
Sent from my ONEPLUS A6003 using Tapatalk
Easy way to install twrp is to fastboot boot twrp. From there, you must turn on adb sideload and push twrp to phone because it will not decrypt storage. After install, reboot to recover and it will ask for password to decrypt. Then just flash magisk to have root with working twrp. Also, you have to use twrp 3.2.2 or it will crash.
geoff5093 said:
Yeah I did, but I rebooted an additional time and everything works now!
Click to expand...
Click to collapse
That's great.
What about safety net?
G0dofWar said:
What about safety net?
Click to expand...
Click to collapse
The first one, ctsProfile, fails. But the second one basicintegrity passes. I believe the only app I use that checks safetynet is PokemonGo and that works for me.
SpectraFun said:
Not work here. Bootloop, only see Bootanimation not more.
Click to expand...
Click to collapse
Did you unlock your bootloader? Don't think you can boot rooted/unsigned images without unlocking first
toastyp said:
Did you unlock your bootloader? Don't think you can boot rooted/unsigned images without unlocking first
Click to expand...
Click to collapse
Lol sure is unlock.
MrSteelX said:
Easy way to install twrp is to fastboot boot twrp. From there, you must turn on adb sideload and push twrp to phone because it will not decrypt storage. After install, reboot to recover and it will ask for password to decrypt. Then just flash magisk to have root with working twrp. Also, you have to use twrp 3.2.2 or it will crash.
Click to expand...
Click to collapse
Yes. This worked. A simple workaround to get twrp working with encrypted Android P
Download link updated with Beta 1 patched image.

Can't install Magisk 17.1 on OxygenOS Pie Open Beta 2

Just updated my phone to Open beta 2, dirty flashed it and it booted up. works perfectly fine. but after i tried to flash magisk 17.1 , it won't boot. stuck at the boot animation.
im using blu spark twrp to flash the magisk.
btw i had magisk installed on 5.1.11 and it works fine too.
any suggestions ? thxx.
UPDATE (09/12) : Issues fixed by installing the uninstaller first then install the magisk 17.1 zip. thx to exelinguy.
Try to do the whole flash procedure again.
Boot into recovery
Flash beta2
Flash twrp
Reboot to twrp
Flash magisk
Boot to system
That way it will be installed on both partitions, could/should do the trick.
Azhar_Fahry said:
Just updated my phone to Open beta 2, dirty flashed it and it booted up. works perfectly fine. but after i tried to flash magisk 17.1 , it won't boot. stuck at the boot animation.
im using blu spark twrp to flash the magisk.
btw i had magisk installed on 5.1.11 and it works fine too.
any suggestions ? thxx.
Click to expand...
Click to collapse
Flash the Magisk uninstaller first to remove any old files, and then flash 17.1 zip again.
Azhar_Fahry said:
Just updated my phone to Open beta 2, dirty flashed it and it booted up. works perfectly fine. but after i tried to flash magisk 17.1 , it won't boot. stuck at the boot animation.
im using blu spark twrp to flash the magisk.
btw i had magisk installed on 5.1.11 and it works fine too.
any suggestions ? thxx.
Click to expand...
Click to collapse
Will upgrading reset the phone or will just upgrade with the same data?
sanu26661 said:
Will upgrading reset the phone or will just upgrade with the same data?
Click to expand...
Click to collapse
it depends on the situation. If you're on the Open beta updating to a newer build, the data will still be there, but if you're on the open beta downgrading a build or downgrading to oreo, your data will be lost.
whizeguy said:
Try to do the whole flash procedure again.
Boot into recovery
Flash beta2
Flash twrp
Reboot to twrp
Flash magisk
Boot to system
That way it will be installed on both partitions, could/should do the trick.
Click to expand...
Click to collapse
I already tried, still nothing
try to change slot A / B
dum143 said:
try to change slot A / B
Click to expand...
Click to collapse
When you install rom, install twrp and reboot to twrp it changes slot. If he has done it 2 times both slots are tested.
exelinguy said:
Flash the Magisk uninstaller first to remove any old files, and then flash 17.1 zip again.
Click to expand...
Click to collapse
I tried to wipe the system and flash the rom, thought that will remove all the Magisk files that already installed before. but then I flash magisk again, it still nothing. just bootloop
Azhar_Fahry said:
I tried to wipe the system and flash the rom, thought that will remove all the Magisk files that already installed before. but then I flash magisk again, it still nothing. just bootloop
Click to expand...
Click to collapse
Nonetheless, just try flashing the magisk uninstaller from here and reflashing magisk 17.1 zip
Refer to section Hotfix v17.1 in topjohnwu's update post
exelinguy said:
Nonetheless, just try flashing the magisk uninstaller from here and reflashing magisk 17.1 zip
Refer to section Hotfix v17.1 in topjohnwu's update post
Click to expand...
Click to collapse
Issues fixed by installing the uninstaller first then install the magisk 17.1 zip. thx for helping me bro. appreciate it.
I'm having the same issue but now twrp won't even show my files although I haven't wiped it. Its only showing like 9gb of storage.
whymista said:
I'm having the same issue but now twrp won't even show my files although I haven't wiped it. Its only showing like 9gb of storage.
Click to expand...
Click to collapse
have u tried to flash the open beta rom zip? I got that problem too, it's shows random folder and it contains nothing. but after I flashed the open beta rom and re flash the twrp from fastboot, it's fixed.

Patched Boot Image 9.5.13

Can someone please link to / create the magisk patched boot img for 9.5.13? Couldn't seem to find it anywhere.
Cheers
bump
ktimque said:
Can someone please link to / create the magisk patched boot img for 9.5.13? Couldn't seem to find it anywhere.
Cheers
Click to expand...
Click to collapse
Are you merely trying to root 9.5.13? If so, you can fastboot boot TWRP, then in TWRP flash Magisk, and Magisk will patch the boot image itself. No need to get the patched boot img separately.
redpoint73 said:
Are you merely trying to root 9.5.13? If so, you can fastboot boot TWRP, then in TWRP flash Magisk, and Magisk will patch the boot image itself. No need to get the patched boot img separately.
Click to expand...
Click to collapse
sorry should've clarified, i don't use TWRP. I've just been using the method of updating and fastboot flashing the boot img. if someone could make this and post it would be much appreciated
ktimque said:
sorry should've clarified, i don't use TWRP. I've just been using the method of updating and fastboot flashing the boot img. if someone could make this and post it would be much appreciated
Click to expand...
Click to collapse
That's fine and all. But on the other hand, no reason not to use the TWRP method. You don't need to install TWRP to the device to flash Magisk. Just boot TWRP, flash Magisk, and you are rooted.
redpoint73 said:
That's fine and all. But on the other hand, no reason not to use the TWRP method. You don't need to install TWRP to the device to flash Magisk. Just boot TWRP, flash Magisk, and you are rooted.
Click to expand...
Click to collapse
alright i'll have to look into this i guess. the other method has been great for me

Flash TWRP Via Magisk?

I rooted my phone using the Magisk patch boot image feature, and was wondering if you can flash the TWRP zip file via magisk to install it? Thanks!
Sparrowhawk120 said:
I rooted my phone using the Magisk patch boot image feature, and was wondering if you can flash the TWRP zip file via magisk to install it? Thanks!
Click to expand...
Click to collapse
Hi,
yes you can. Grab the latest installer zip and install like any module. Reboot into recovery and flash magisk again.
Reboot into system , and done.
Yeah this is it.
@soka said:
Hi,
yes you can. Grab the latest installer zip and install like any module. Reboot into recovery and flash magisk again.
Reboot into system , and done.
Click to expand...
Click to collapse
awesome, thanks!
What? I thought the OP asked if it is possible to flash TWRP via the Magisk app? But @soka replied as if to answer how to flash magisk itself? Or am I getting this wrong? How can you flash anything besides official Google signed .zips with stock recovery?
Magnufire2 said:
What? I thought the OP asked if it is possible to flash TWRP via the Magisk app? But @soka replied as if to answer how to flash magisk itself? Or am I getting this wrong? How can you flash anything besides official Google signed .zips with stock recovery?
Click to expand...
Click to collapse
@soka replied :
Grab the latest installer zip and install like any module. (@soka was talking about TWRP zip file)
Reboot into recovery and flash magisk again.
(This is the Magisk zip file you should already have flashed from rebooting into TWRP now)
Reboot into system , and done.
I have to try this... This seems just way too easy...

[REQUEST] NEED a Working TWRP and Magisk Root on MIUI 12.5.1 GLOBAL for POCO F2 PRO

Guys, I upgraded my POCO F2 PRO to MIUI V12.5.1.0.RJKMIXM (Android 11). Unfortunately TWRP and Magisk versions are not compatible with Android 11 and has problems.
Before upgrading I was on MIUI 12.0.4 Android 10 and both TWRP and magisk was working without problem.
Now, I tried both ManuelBlanco's and LR Team's TWRP versions and the problems is the same. When I click select storage, internal Storage (0.00 MB) seems 0 MB. Data can't be mounted.
Also, Magisk Root does't work on that ROM. I tried to root the phone with several versions of magisk both by patching or flashing zip files but the phone bootloops every time with patched boot.img
As a result now I can't use TWRP and root functions. Are there any one who succeed to make them work on that last update without wiping data or formatting data? I have lots of settings and data on the phone so I don't want to try other options of wiping or formatting.
Thanks,
Any news magisk for latest miui rjomixm v12.0.5.1
Bogazicili90 said:
Guys, I upgraded my POCO F2 PRO to MIUI V12.5.1.0.RJKMIXM (Android 11). Unfortunately TWRP and Magisk versions are not compatible with Android 11 and has problems.
Before upgrading I was on MIUI 12.0.4 Android 10 and both TWRP and magisk was working without problem.
Now, I tried both ManuelBlanco's and LR Team's TWRP versions and the problems is the same. When I click select storage, internal Storage (0.00 MB) seems 0 MB. Data can't be mounted.
Also, Magisk Root does't work on that ROM. I tried to root the phone with several versions of magisk both by patching or flashing zip files but the phone bootloops every time with patched boot.img
As a result now I can't use TWRP and root functions. Are there any one who succeed to make them work on that last update without wiping data or formatting data? I have lots of settings and data on the phone so I don't want to try other options of wiping or formatting.
Thanks,
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/...y-net-pass-without-twrp.4223939/post-85443839
NOSS8 said:
https://forum.xda-developers.com/t/...y-net-pass-without-twrp.4223939/post-85443839
Click to expand...
Click to collapse
This method DOES NOT work. I tried this option before opening this thread. Magisk manager doesn't patch the boot. img correctly. After flashing new boot.img the phone doesn't boot and it drops into bootloop. It only boots after reflashing the original boot.img
It seems, still, there is no way to root Android 11 with Miui 12.5.1 on POCO F2 PRO
Bogazicili90 said:
This method DOES NOT work. I tried this option before opening this thread. Magisk manager doesn't patch the boot. img correctly. After flashing new boot.img the phone doesn't boot and it drops into bootloop. It only boots after reflashing the original boot.img
It seems, still, there is no way to root Android 11 with Miui 12.5.1 on POCO F2 PRO
Click to expand...
Click to collapse
Patched boot.img and working normally like before
Dadovvv said:
Patched boot.img and working normally like before
Click to expand...
Click to collapse
Did you formatted data or the internal storage after flashing the patched boot.img?
I read some suggestions to format data after rooting. I didn't try this since I don't want to lose all my settings and internal data.
Bogazicili90 said:
Did you formatted data or the internal storage after flashing the patched boot.img?
I read some suggestions to format data after rooting. I didn't try this since I don't want to lose all my settings and internal data.
Click to expand...
Click to collapse
I did clean flash new 12.5.1 fastboot rom, after first boot i flashed patched boot.img.
Dadovvv said:
I did clean flash new 12.5.1 fastboot rom, after first boot i flashed patched boot.img.
Click to expand...
Click to collapse
This is why I say it DOES NOT work. I don't have to format my data to only just root. I don't want to lose all my data. And I declared this on the starting thread. It doesn't work just with upgrading the MIUI. Before Android 11 it was working without formatting data.
Any news on this search yet?
HValenti said:
Any news on this search yet?
Click to expand...
Click to collapse
No solution. There is not a new version of Magisk that solves this bootloop issue. You have to format all the data after rooting with magisk to make it work. I'm using without root and TWRP.
Bogazicili90 said:
No solution. There is not a new version of Magisk that solves this bootloop issue. You have to format all the data after rooting with magisk to make it work. I'm using without root and TWRP.
Click to expand...
Click to collapse
Are you sure about formating data? I mean, are you sure that if you format the data (after flashing the patched boot) the phone will boot? Myself, I am not sure actually, as I have not seen it anywhere explicitly.
Unfortunately, according to Magisk news, any new version when eventually is published (maybe long enough), will have ditched the Magisk hide feature... So, maybe it is not worth to wait for newer version...
HValenti said:
Are you sure about formating data? I mean, are you sure that if you format the data (after flashing the patched boot) the phone will boot? Myself, I am not sure actually, as I have not seen it anywhere explicitly.
Unfortunately, according to Magisk news, any new version when eventually is published (maybe long enough), will have ditched the Magisk hide feature... So, maybe it is not worth to wait for newer version...
Click to expand...
Click to collapse
I'm not sure, I haven't tried it and won't try. I just read it on some comments. They claim that after formatting Data the phone boots normally.
Bogazicili90 said:
I'm not sure, I haven't tried it and won't try. I just read it on some comments. They claim that after formatting Data the phone boots normally.
Click to expand...
Click to collapse
I can understand you, I am in the same place.
HValenti said:
I can understand you, I am in the same place.
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/...-global-for-poco-f2-pro.4303453/post-85449319
Clean flash before not after.
I'm currently on 12.5.2.0 (RJKEUXM), what I did was :
1) Installed the rom via LM recovery an dpatched boot img via magisk app
2) Installed magisk v22.1.zip (with adb to install recovery (fasboot flash recovery NAMETWRP.img)
3) boot recovery with adb (fastboot boot NAMETWRP.img)
4) In recovery, I installed magisk v22.1.zip). I didn't installed "no verify opt encrypt" as it bootlooped me in fastboot.
Now it is working great ( I didn't factory reset my phone or wiped any data).
harisdu95 said:
I'm currently on 12.5.2.0 (RJKEUXM), what I did was :
1) Installed the rom via LM recovery an dpatched boot img via magisk app
2) Installed magisk v22.1.zip (with adb to install recovery (fasboot flash recovery NAMETWRP.img)
3) boot recovery with adb (fastboot boot NAMETWRP.img)
4) In recovery, I installed magisk v22.1.zip). I didn't installed "no verify opt encrypt" as it bootlooped me in fastboot.
Now it is working great ( I didn't factory reset my phone or wiped any data).
Click to expand...
Click to collapse
thanks for the tips but:
what's LM recovery? link please
which rom is better for daily use?
what is a Dpatched you mean a magisk patched boot image?

Categories

Resources