Magisk Question - OnePlus 7 Pro Questions & Answers

So I haven't rooted anything since note 5 so excuse me if it's a dumb question. I'm good going to root with magisk. I see some people talking about a patched boot.img and others saying just flash magisk. So before I brick my phone , can I just flash magisk or do I need to flash a patched boot.img first?
Thanks

Bftrek said:
So I haven't rooted anything since note 5 so excuse me if it's a dumb question. I'm good going to root with magisk. I see some people talking about a patched boot.img and others saying just flash magisk. So before I brick my phone , can I just flash magisk or do I need to flash a patched boot.img first?
Thanks
Click to expand...
Click to collapse
Just boot TWRP and flash magisk,. If you want t wrp to stick flash the zip before you flash magisk

Just flash Magisk and you'll be rooted. Patching the boot.img was the way to root when the phone first came out.

If you want twrp, install TWRP and flash magisk via twrp
If you don't want twrp just flash the magisk patched boot.img.
Please read up though on which direction u want to go.

Got it going. Thanks

If my phone is sim unlocked and then oem unlocked. Can I just flash magisk ?
Sent from my [device_name] using XDA-Developers Legacy app

Related

Magisk

Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
You can boot twrp without flashing and then flash root
https://forum.xda-developers.com/no...w-to-unlock-bootloader-nokia-3-t3699344/page2
Check post #15 by @SkaboXD
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
mudit johari said:
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
Click to expand...
Click to collapse
You said you wanted root, you were supposed to use the process to get root not flash magisk. I thought you had a method of installing magisk after getting root. I thought you were going to boot twrp recovery, not flash it, since you said you didn't want twrp.
Unfortunately you're going to have to flash stock with OST.
Check this link for more information:
https://forum.xda-developers.com/nokia-3/development/nokia-3-official-firmware-india-uae-t3674320
yeah now i got twrp but only come when boot from fastboot commands and i want magisk how can i get it?
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
mudit johari said:
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
Click to expand...
Click to collapse
I have never actually used magisk. I thought you had a way of installing/flashing magisk once you had root
I try installing magisk by flashing magisk zip from twrp but got bootloop
mudit johari said:
I try installing magisk by flashing magisk zip from twrp but got bootloop
Click to expand...
Click to collapse
Might I ask: what do you need magisk for?
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
mudit johari said:
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Click to expand...
Click to collapse
In my opinion, only use the recovery for flashing stuff, don't mount anything other than sdcard, don't unlock. Maybe when there is a more compatible version of twrp ...
---------- Post added at 02:00 PM ---------- Previous post was at 01:17 PM ----------
mudit johari said:
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
Click to expand...
Click to collapse
Well i don't know about the modules, but when I flashed stock firmware with OST (first time I flashed recovery my phone was stuck in twrp) then flashed root and xposed, I was still able to install updates. The stock firmware I installed was 7.0, but now i'm on the most recent update. So unless there are some specific modules that you need from magisk, I think you can stick with the regular root.
On the other hand you can continue to experiment with magisk, maybe you will find something that we don't know yet and get it working. But remember, if you want to flash anything, don't format with twrp at all, just leave everything readonly and flash
I'm not able to go to recovery by buttons. Only by fastboot command why is that?
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
mudit johari said:
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
Click to expand...
Click to collapse
I don't know; the process of flashing recovery on HMD's nokias isn't yet fully developed, people have complained about flashing recovery but still not booting into it. Personally I would recommend that you use stock recovery and use fastboot to boot into twrp instead of actually flashing twrp whenever you want to flash anything. That way you are still able to install system update
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
mudit johari said:
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
Click to expand...
Click to collapse
Have you flashed stock firmware with OST? Can you boot normally now? If not, do that, then update ti the current android version using OTA. After that boot into twrp (whether you chose to flash twrp or just boot twrp is up to you). Do a backup then try flashing magisk again, maybe it will work this time
Yeah i already flashed stock rom with ost and already update to latest version i think magisk is not supported in Nokia 3
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
Hello mate, you can't root nokia 3 with Magisk. Why? Because noone never send boot img to dev! So only option to root it is Chainfire SuperUser 2.79v.
Ok brother but i have a question if i root and then remove some system apps then can I safely install updates?

Can I just Flash TWRP (already unlocked, rooted with Magisk installed)

I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.
bakemcbride21 said:
I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.
Click to expand...
Click to collapse
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.
xBlu3 said:
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.
Click to expand...
Click to collapse
Extremely helpful! Sounds like I would boot loop the phone if I just flashed TWRP in my current configuration.
I'll uninstall magisk, reboot, then flash the stock boot.img and then follow the twrp/magisk install directions.
Much appreciated!
Here's what I did:
1) Boot twrp img file from fastboot
2) Flash the latest twrp zip in twrp. DON'T REBOOT. If you are going to use a custom kernel, you must do step 3 below. Don't later reboot and flash a custom kernel or you can run into bootloader signature issue. If you ARE NOT going to use a custom kernel, jump to step 4.
3) Flash your custom kernel.
4) Flash the latest Magisk zip to root again
5) Reboot.
Enjoy

Bootloop to TWRP on PIE

Hi, the title says almost all... I can't get past the TWRP screen on both official TWRP and Bluespark one, only solution is flashing Magisk but i have to remove it in order to use some Apps that detect it, any advice...?
Fastboot flash a 5.1.9 rom and update from there, if ur not gonna run magisk do you need twrp?
Did you try to use the latest Uninstaller?
whizeguy said:
Fastboot flash a 5.1.9 rom and update from there, if ur not gonna run magisk do you need twrp?
Did you try to use the latest Uninstaller?
Click to expand...
Click to collapse
I need twrp so I can flash magisk if I need it.
And yes, tried to use latest versions of Magisk and, obviously, the Uninstaller, every time I run the Uninstaller it just boot back to twrp.
Anyway I've solved by dirty flashing Pie, now it's working, thanks

Rooting on Android 10

Hi, Im new in this forum, just got my OP 7 Pro. I've been away from anything root related for a long time, since my previous devices couldnt be rooted.
I remember using magisk when it was a new thing, and everyone was using greenify to extend battery life.
I just updated to Android 10 Beta, can I root my device?
If it is possible, what do I lose if I root besides widevine?
The only thing I'm really looking forward is gcam port and the use of aux cams, since a lot of things have to be updated to Android 10, I don't think there's a lot to do right now besides that.
I think you have to come back to the android p stable, root, install the twrp and after you will able to update with the root. Now im on the beta with root and twrp throw a dirty installing
vuoshino said:
I think you have to come back to the android p stable, root, install the twrp and after you will able to update with the root. Now im on the beta with root and twrp throw a dirty installing
Click to expand...
Click to collapse
Hi! Thanks. If you don't mind, can you give point me to a guide or something to downgrade? I'm a total noob with everything OnePlus related.
You don't have to downgrade to Pie.
Do it like this:
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
You just need stock boot.img:
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
There's also another way which avoids to downgrade.
Flash the magisk patched img you'll find in this forum.
After following instructions from there, you'll be rooted but without TWRP.
If you need that also... flash the TWRP installer zip as a magisk module, reinstall magisk (direct install), reboot and you're done.
Inviato dal mio GM1913 utilizzando Tapatalk
tidschi said:
You don't have to downgrade to Pie.
Do it like this:
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
You just need stock boot.img:
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
Click to expand...
Click to collapse
Wow, thanks!! that seems stupidly easy, even for me. Two questions:
Do I need a PC to do the extraction?
Will this wipe any data?
And as for my initial question, is there anything besides widevine lost when rooting?
donelwero said:
Wow, thanks!! that seems stupidly easy, even for me. Two questions:
Do I need a PC to do the extraction?
Will this wipe any data?
And as for my initial question, is there anything besides widevine lost when rooting?
Click to expand...
Click to collapse
You can download Magisk patched boot.img from second link above.
Flashing boot.img will not wipe any data.
If I remember right, Widevine will get L3 with unlocked bootloader.
tidschi said:
You can download Magisk patched boot.img from second link above.
Flashing boot.img will not wipe any data.
If I remember right, Widevine will get L3 with unlocked bootloader.
Click to expand...
Click to collapse
Awesome!! Thank you very much, thought I had to unlock the bootloader by myself using a PC.
Edit: I'm so dumb, just realized I still have to flash the boot.img using fastboot
I have a question, in order to root and flash twrp coming with android 10 (no root) I must unlock the bootloader, right?
littlejonny17 said:
I have a question, in order to root and flash twrp coming with android 10 (no root) I must unlock the bootloader, right?
Click to expand...
Click to collapse
Yes bootloader must be unlocked to flash TWRP or Root the device also when you unlock the bootloader it will factory reset the device so make sure you backup any personal data you need before unlocking.
Thank you

Updated to OOS 11.05.1.GM21AA, Magisk not working, TWRP too

Hi - I installed OOS 11.05.1.GM21AA on my OP7P today, and patched my boot.img file with Magisk 24.1.
After going into Fastboot Mode and doing a fastboot flash boot magisk_patched_boot.img, my OP7P rebooted OK, but my OP7P isn't rooted.
Is there something new that I am missing?
Also, is there a way to get both TWRP 3.6.x and Magisk to be available in the same patched boot image? It looks like TWRP completely overwrites the Magisk modded boot.img file, and then is stuck in a Recovery bootloop.
Thanks,
¿GJ?
¿GotJazz? said:
Hi - I installed OOS 11.05.1.GM21AA on my OP7P today, and patched my boot.img file with Magisk 24.1.
After going into Fastboot Mode and doing a fastboot flash boot magisk_patched_boot.img, my OP7P rebooted OK, but my OP7P isn't rooted.
Is there something new that I am missing?
Also, is there a way to get both TWRP 3.6.x and Magisk to be available in the same patched boot image? It looks like TWRP completely overwrites the Magisk modded boot.img file, and then is stuck in a Recovery bootloop.
Than
Click to expand...
Click to collapse
¿GotJazz? said:
Hi - I installed OOS 11.05.1.GM21AA on my OP7P today, and patched my boot.img file with Magisk 24.1.
After going into Fastboot Mode and doing a fastboot flash boot magisk_patched_boot.img, my OP7P rebooted OK, but my OP7P isn't rooted.
Is there something new that I am missing?
Also, is there a way to get both TWRP 3.6.x and Magisk to be available in the same patched boot image? It looks like TWRP completely overwrites the Magisk modded boot.img file, and then is stuck in a Recovery bootloop.
Thanks,
¿GJ?
Click to expand...
Click to collapse
I had the same issue, I had to downgrade to 11.04, grab a new 11.05 ota from oxygen updater app, extract boot from that and go from there
hammered58 said:
I had the same issue, I had to downgrade to 11.04, grab a new 11.05 ota from oxygen updater app, extract boot from that and go from there
Click to expand...
Click to collapse
Is this the Oxygen Updater App you are referring to, or is it the incremental OTA that I would get from a "OnePlus system update" on a now unrooted and unTWRP'd phone?
Also ... Will I lose any data if I downgrade to 11.04? I've never downgraded before, so do I just install the stock 11.04 image via TWRP like I did the 11.05 image?
Lastly ... I'm assuming this will just get me root, but not including TWRP?
¿GotJazz? said:
Is this the Oxygen Updater App you are referring to, or is it the incremental OTA that I would get from a "OnePlus system update" on a now unrooted and unTWRP'd phone?
Also ... Will I lose any data if I downgrade to 11.04? I've never downgraded before, so do I just install the stock 11.04 image via TWRP like I did the 11.05 image?
Lastly ... I'm assuming this will just get me root, but not including TWRP?
Click to expand...
Click to collapse
1. Yes that is the app Iam talking about.
2. Will you lose data? I always do a format (after the down grade) so I lost data but I never tried it with out formating, it might work, you could try it and see what happens .If it acts strange then it will need a format.
3. Yes you install 11.04 via twrp
4. Yes you will get root but if you want twrp you will have to reinstall
Once you down grade install the oxygen updater, let it download the update , don't let it install it, you can then grab the update from your root directory as it doesn't hide it, then your good to go, you can extract the boot.img by using payload dumper, then take the boot.img and patch that with the magisk app . ( Just install the magisk app on your downgraded 11.04 you don't need root to run the app ) ,,Then after your thru upgrading to 11.05 and after setup just reboot to bootloader and run the magisk patched boot.img, ( fastboot flash boot boot.img) reboot and wait a minute for the magisk app to appear ,it will want to install and do a reboot . Then you can install twrp if you want.
This is how I did it and it worked, you may find a simpler way once you start doing it ,, hth
I'm reluctant to go and do a total wipe (which I have been reading will be required to downgrade).
I'm wondering if the problem I'm facing is that my OP7P needed to be rooted for Magisk 24.1 to be able to successfully patch the latest OP7P build? My OP7P isn't rooted right now although I have v24.1 installed.
I accidentally had installed the latest 11.0.5 OTA before I had a chance to attempt re-rooting.
¿GotJazz? said:
I'm reluctant to go and do a total wipe (which I have been reading will be required to downgrade).
I'm wondering if the problem I'm facing is that my OP7P needed to be rooted for Magisk 24.1 to be able to successfully patch the latest OP7P build? My OP7P isn't rooted right now although I have v24.1 installed.
I accidentally had installed the latest 11.0.5 OTA before I had a chance to attempt re-rooting.
Click to expand...
Click to collapse
Right now I have 11.05 installed and Iam rooted, tomorrow I will unroot and downgrade to 11.04 without wiping and let you know what happens iam curious myself
I'm rooted now. I did have to wipe my OP7P to get root (due solely to my own heavy-handed approach to getting root again).
I posted in another thread, and I think that the thing that might have made a difference for me wasn't that I wiped, but possibly that I removed encryption before installing the Magisk-patched boot image.
¿GotJazz? said:
I'm rooted now. I did have to wipe my OP7P to get root (due solely to my own heavy-handed approach to getting root again).
I posted in another thread, and I think that the thing that might have made a difference for me wasn't that I wiped, but possibly that I removed encryption before installing the Magisk-patched boot image.
Click to expand...
Click to collapse
I guess that's possible , I never thought of that, the only way to know is to do a fresh install only this time setup encryption then try to install magisk . But for now your rooted,, until the bug hits you or me to try another rom then we can start the whole thing over again,,

Categories

Resources