[SOLVED] Unable to get Magisk Manager to work - Request help - Xiaomi Mi A1 Questions & Answers

So the problem that I am facing is that Magisk Manager stops working after I do a patched boot from fastboot. I also tried flashing the patched image to boot partition an rebooting but that didn't help either. Magisk Manager works fine as long as I'm on stock boot, so I was able to patch a boot.img myself as well.
I've already done the following (after unlocking the bootloader with fastboot oem unlock):
1. Startup using fastboot boot patched_boot.img (using the posted image and a freshly made image from Magisk Manager)
2. Startup after flashing the patched_boot.img with fastboot flash boot patched_boot.img
3. After both the steps 1 & 2 as a starting point, uninstalled and reinstalled Magisk Manager.
4. After both the steps 1 & 2 as a starting point, cleared the cache for Magisk Manager without clearing the data.
5. After both the steps 1& 2 as a starting point, cleared the data for Magisk Manager.
6. When I startup using fastboot boot twrp.img (v3.2.1.0 for tissot), it fails and boots system instead.
My logcat is located here
Can anyone help? Has anyone else faced this? I have tried this all using Magisk Manager 5.5.5. My Mi A1 is on the January Oreo build.
Thanks!
-buggerman
UPDATE:
Got it to work. You need to have the app installed on internal storage. Mine was installed on sdcard. doh!

buggerman said:
So the problem that I am facing is that Magisk Manager stops working after I do a patched boot from fastboot. I also tried flashing the patched image to boot partition an rebooting but that didn't help either. Magisk Manager works fine as long as I'm on stock boot, so I was able to patch a boot.img myself as well.
I've already done the following (after unlocking the bootloader with fastboot oem unlock):
1. Startup using fastboot boot patched_boot.img (using the posted image and a freshly made image from Magisk Manager)
2. Startup after flashing the patched_boot.img with fastboot flash boot patched_boot.img
3. After both the steps 1 & 2 as a starting point, uninstalled and reinstalled Magisk Manager.
4. After both the steps 1 & 2 as a starting point, cleared the cache for Magisk Manager without clearing the data.
5. After both the steps 1& 2 as a starting point, cleared the data for Magisk Manager.
6. When I startup using fastboot boot twrp.img (v3.2.1.0 for tissot), it fails and boots system instead.
My logcat is located here
Can anyone help? Has anyone else faced this? I have tried this all using Magisk Manager 5.5.5. My Mi A1 is on the January Oreo build.
Thanks!
-buggerman
Click to expand...
Click to collapse
Are you using the correct patched boot img file with regards to your security update (Dec or Jan). Have a watch of this and try it that way https://www.youtube.com/watch?v=2wanENWhE9I

Haizum74 said:
Are you using the correct patched boot img file with regards to your security update (Dec or Jan). Have a watch of this and try it that way https://www.youtube.com/watch?v=2wanENWhE9I
Click to expand...
Click to collapse
I patched the boot.img myself using Magisk Manager (on unpatched booting) as well.

buggerman said:
I patched the boot.img myself using Magisk Manager (on unpatched booting) as well.
Click to expand...
Click to collapse
Yes but did you use the correct one for your specific security update date? Also, why uninstall Magisk?

Haizum74 said:
Yes but did you use the correct one for your specific security update date? Also, why uninstall Magisk?
Click to expand...
Click to collapse
Yes, I used the January 2018 image. I have January 2018 patch installed on my device as well. Uninstalled Magisk Manager because some people said uninstall and reinstall and try again.
I haven't installed/ uninstalled Magisk yet. Only the manager.

buggerman said:
Yes, I used the January 2018 image. I have January 2018 patch installed on my device as well. Uninstalled it because some people said uninstall and reinstall and try again.
Click to expand...
Click to collapse
Ok, well it seems from what you have said its working fine until you use the patch boot image. So, watch that video and try that and see if it works. They don't uninstall magisk (unless an update is required).
Are you trying to get root?
EDIT - Also, have you enabled OEM unlock in the developer menu?

Haizum74 said:
Ok, well it seems from what you have said its working fine until you use the patch boot image. So, watch that video and try that and see if it works. They don't uninstall magisk (unless an update is required).
Are you trying to get root?
EDIT - Also, have you enabled OEM unlock in the developer menu?
Click to expand...
Click to collapse
I have enabled OEM unlock in Dev menu. I haven't yet installed Magisk to uninstall it yet. Unable to watch the video at the moment (at work). Will do it and report.

buggerman said:
I have enabled OEM unlock in Dev menu. I haven't yet installed Magisk to uninstall it yet. Unable to watch the video at the moment (at work). Will do it and report.
Click to expand...
Click to collapse
Sorry when I mean magisk, I mean magisk manager app. I was lazy typing. OK, let me know if that sorts it.

Haizum74 said:
Sorry when I mean magisk, I mean magisk manager app. I was lazy typing. OK, let me know if that sorts it.
Click to expand...
Click to collapse
I'm also unable to boot TWRP. It just reboots into system.
Sent from my Mi A1 using Tapatalk

Also to answer your question, I'm trying to root without messing with OTA updates.
Sent from my tissot_sprout using XDA Labs

Ahh I thought so, well that yt video is ideal then.

buggerman said:
I'm also unable to boot TWRP. It just reboots into system.
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
If you install TWRP you will lose OTA so ignore that part unless you are installing a custom ROM.
buggerman said:
Also to answer your question, I'm trying to root without messing with OTA updates.
Sent from my tissot_sprout using XDA Labs
Click to expand...
Click to collapse
As above

Haizum74 said:
If you install TWRP you will lose OTA so ignore that part unless you are installing a custom ROM.
As above
Click to expand...
Click to collapse
Is there a specific version of TWRP you recommend to try booting with (without install)?
Sent from my tissot_sprout using XDA Labs

buggerman said:
I'm also unable to boot TWRP. It just reboots into system.
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
buggerman said:
Is there a specific version of TWRP you recommend to try booting with (without install)?
Sent from my tissot_sprout using XDA Labs
Click to expand...
Click to collapse
No, not if you still want to keep OTA updates without having to download them manually. From what I am aware, unlocking the bootloader and rooting as per the videos instructions is the only way to keep auto OTA.

buggerman said:
Is there a specific version of TWRP you recommend to try booting with (without install)?
Click to expand...
Click to collapse
TWRP by mohancm

TWRP not booting for me.

UPDATE:
Got it to work. Moved the app to internal storage. My device installed it on sdcard by default. That was causing the freeze.

Related

Magisk on Oreo

I can't seem to install Magisk 16.0 via TWRP 3.2 on the Oreo update. It installs, but enters a bootloop. Why is that?
Also TWRP said cannot mount /data. How to fix this?
"Failed to mount '/data' (No such process)"
Also cannot format data this way
EDIT: Installed Magisk 16.4, no change. Also just realized that internal storage is inaccessible.
I upgraded and got in a bootloop. Then I remembered I had Nougat substratum themes active. Only way I got it booting is by factory resetting it.
As for installing magisk with root access, you can try the TWRPless method. I got it working on mine. All you need is the stock boot image and a computer to use adb.
Steps on installing magisk on Oreo:
1. Put the boot image somewhere you can easily find it for later use
2. Install the latest magisk manager apk on your phone
3. Enter magisk manager and install magisk (root) using the "patch boot image" method.
4. Send the patched boot image to your computer
5. Now reboot into bootloader
6. Now on your computer install the patched boot image using fastboot flash boot "patched boot image"
7. Reboot and profit!
Hope this helped you out. Good luck
+)KEV1N(+ said:
I upgraded and got in a bootloop. Then I remembered I had Nougat substratum themes active. Only way I got it booting is by factory resetting it.
As for installing magisk with root access, you can try the TWRPless method. I got it working on mine. All you need is the stock boot image and a computer to use adb.
Steps on installing magisk on Oreo:
1. Put the boot image somewhere you can easily find it for later use
2. Install the latest magisk manager apk on your phone
3. Enter magisk manager and install magisk (root) using the "patch boot image" method.
4. Send the patched boot image to your computer
5. Now reboot into bootloader
6. Now on your computer install the patched boot image using fastboot flash boot "patched boot image"
7. Reboot and profit!
Hope this helped you out. Good luck
Click to expand...
Click to collapse
For anyone who tries the above method and has their fingerprint sensor stop working as I did, use a root file manager to remove the following directory/file:
/data/system/users/0/fpdata
/data/system/users/0/settings_fingerprint.xml
and reboot.
Certain modules required me to delete those files again, and some others broke the fingerprint functionality until they were removed and I rebooted twice. I hope someone can find a complete workaround soon.
+)KEV1N(+ said:
I upgraded and got in a bootloop. Then I remembered I had Nougat substratum themes active. Only way I got it booting is by factory resetting it.
As for installing magisk with root access, you can try the TWRPless method. I got it working on mine. All you need is the stock boot image and a computer to use adb.
Steps on installing magisk on Oreo:
1. Put the boot image somewhere you can easily find it for later use
2. Install the latest magisk manager apk on your phone
3. Enter magisk manager and install magisk (root) using the "patch boot image" method.
4. Send the patched boot image to your computer
5. Now reboot into bootloader
6. Now on your computer install the patched boot image using fastboot flash boot "patched boot image"
7. Reboot and profit!
Hope this helped you out. Good luck
Click to expand...
Click to collapse
Already tried. Bootloop also, probably since magisk manager used v 16.0 instead 16.4.
I noticed that 16.4 actually signed the boot image using test keys, as opposed to the 16.0 which didn't.
I'm a bit frustrated here man
EDIT: I have substratum but I don't have any of the themes active, so the first one is a go. Installing magisk however...
GBry said:
Already tried. Bootloop also, probably since magisk manager used v 16.0 instead 16.4.
I noticed that 16.4 actually signed the boot image using test keys, as opposed to the 16.0 which didn't.
I'm a bit frustrated here man
EDIT: I have substratum but I don't have any of the themes active, so the first one is a go. Installing magisk however...
Click to expand...
Click to collapse
So, now you're stuck in a bootloop?
Also, yes I used version 16.0 (you can never go wrong with a stable release)
---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------
kekley said:
For anyone who tries the above method and has their fingerprint sensor stop working as I did, use a root file manager to remove the following directory/file:
/data/system/users/0/fpdata
/data/system/users/0/settings_fingerprint.xml
and reboot.
Certain modules required me to delete those files again, and some others broke the fingerprint functionality until they were removed and I rebooted twice. I hope someone can find a complete workaround soon.
Click to expand...
Click to collapse
Did you try wiping your cache?
+)KEV1N(+ said:
So, now you're stuck in a bootloop?
Also, yes I used version 16.0 (you can never go wrong with a stable release)
---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------
Did you try wiping your cache?
Click to expand...
Click to collapse
Technically, I'm not now, since I flashed the original boot.img
But yes, if I installed magisk either via the patched boot.img or TWRP, I get a bootloop
Actually idk if bootloop or nah since I can't access logcat via adb, but it's on the bootlogo for like 5 mins (regular start time is 30-ish sec)
+)KEV1N(+ said:
Did you try wiping your cache?
Click to expand...
Click to collapse
That was the first thing I tried, in fact. I have to use magisk 16.4 as well or else the fingerprint reader refuses to work no matter what. You haven't run into this issue at all? What's your setup if I might ask, and did you patch the boot image from the oreo update zip to install magisk?
kekley said:
That was the first thing I tried, in fact. I have to use magisk 16.4 as well or else the fingerprint reader refuses to work no matter what. You haven't run into this issue at all? What's your setup if I might ask, and did you patch the boot image from the oreo update zip to install magisk?
Click to expand...
Click to collapse
I just watched a video tutorial to root it and keep stock recovery. Another thing to take note of is that I upgraded to Oreo using TWRP instead of stock recovery (yes, I didn't think it was possible on this phone).
Once I upgraded to Oreo, it reverted back to stock recovery. As you read above, I got stuck in a bootloop because I had substratum themes active, but I fixed it by using the stock recovery to factory reset it. (It's also nice to factory reset after a major OS upgrade so that you don't encounter any problems with old files)
If anyone's interested in a video, here's the one I watched:
Note: always make backups of your personal data!!!
+)KEV1N(+ said:
I just watched a video tutorial to root it and keep stock recovery. Another thing to take note of is that I upgraded to Oreo using TWRP instead of stock recovery (yes, I didn't think it was possible on this phone).
Once I upgraded to Oreo, it reverted back to stock recovery. As you read above, I got stuck in a bootloop because I had substratum themes active, but I fixed it by using the stock recovery to factory reset it. (It's also nice to factory reset after a major OS upgrade so that you don't encounter any problems with old files)
If anyone's interested in a video, here's the one I watched:
Note: always make backups of your personal data!!!
Click to expand...
Click to collapse
So you did a factory reset and magisk is working properly? I can boot twrp without installing, but still no go using that method. Yes, I also used TWRP to install oreo, I didn't think it was possible either, but it finished flawlessly. Except the magisk thingy.
Can you mount /data in TWRP after oreo?
GBry said:
So you did a factory reset and magisk is working properly? I can boot twrp without installing, but still no go using that method. Yes, I also used TWRP to install oreo, I didn't think it was possible either, but it finished flawlessly. Except the magisk thingy.
Can you mount /data in TWRP after oreo?
Click to expand...
Click to collapse
To answer your first question: yes, I did the basic setups, restored my apps and then installed magisk the way I explained above.
Secondly, did you try installing the latest TWRP? Because I didn't want to install TWRP until I have the stock recovery and TWRP with the latest Oreo kernels.
I saw this morning that shakalaca uploaded TWRP with the latest kernel, so I boot it through fastboot and saw that by default the following partitions were mounted: /recovery, /data, /cache. I tried /system to see if it works and it does.
I hope this answers your question and good luck!
+)KEV1N(+ said:
To answer your first question: yes, I did the basic setups, restored my apps and then installed magisk the way I explained above.
Secondly, did you try installing the latest TWRP? Because I didn't want to install TWRP until I have the stock recovery and TWRP with the latest Oreo kernels.
I saw this morning that shakalaca uploaded TWRP with the latest kernel, so I boot it through fastboot and saw that by default the following partitions were mounted: /recovery, /data, /cache. I tried /system to see if it works and it does.
I hope this answers your question and good luck!
Click to expand...
Click to collapse
How did you manage to update via twrp? I get an error when I try it.
kekley said:
How did you manage to update via twrp? I get an error when I try it.
Click to expand...
Click to collapse
I don't know man. I was just running the latest release of TWRP at the time and it somehow installed it like any custom rom.
+)KEV1N(+ said:
To answer your first question: yes, I did the basic setups, restored my apps and then installed magisk the way I explained above.
Secondly, did you try installing the latest TWRP? Because I didn't want to install TWRP until I have the stock recovery and TWRP with the latest Oreo kernels.
I saw this morning that shakalaca uploaded TWRP with the latest kernel, so I boot it through fastboot and saw that by default the following partitions were mounted: /recovery, /data, /cache. I tried /system to see if it works and it does.
I hope this answers your question and good luck!
Click to expand...
Click to collapse
Wow, that's great! Can you give me the link? I can't seem to find the one for 553kl...
EDIT: apparently it's this one, isn't it?
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Also tried live-booting TWRP and installing magisk (leaving stock recovery), left the boot.img unpatched
Installed the latest TWRP, the /data and internal got mounted, but after flashing magisk, bootloop again (still bootlogo after 10 minutes) even after wiping dalvik.
Cache is unwipeable somehow, is this an issue?
GBry said:
Wow, that's great! Can you give me the link? I can't seem to find the one for 553kl...
Click to expand...
Click to collapse
So, I just realized I've been sending the wrong link to everyone so far. (It sent you to the "old" folder)
Here's an updated link: https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
+)KEV1N(+ said:
So, I just realized I've been sending the wrong link to everyone so far. (It sent you to the "old" folder)
Here's an updated link: https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Click to expand...
Click to collapse
Yes, I searched through my history and then found out that you gave me the same link, so thank you. Updated my 2nd to last post about the condition... Do I REALLY have to factory reset? Sigh...
+)KEV1N(+ said:
So, I just realized I've been sending the wrong link to everyone so far. (It sent you to the "old" folder)
Here's an updated link: https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Click to expand...
Click to collapse
+)KEV1N(+ said:
I don't know man. I was just running the latest release of TWRP at the time and it somehow installed it like any custom rom.
Click to expand...
Click to collapse
kekley said:
How did you manage to update via twrp? I get an error when I try it.
Click to expand...
Click to collapse
Yes, actually I just did update via TWRP, it installs flawlessly. HOWEVER, it only applies to the Oreo ROM, not the N or M ROMs. N and M needs stock recovery (the boot.img contains recovery too)
I was able to reflash the update via twrp by modifying the update script a bit (spat out errors about the twrp recovery having a more recent build date than the update zip) Everything seems so far so good! I haven't had issues with my fingerprint yet.
kekley said:
I was able to reflash the update via twrp by modifying the update script a bit (spat out errors about the twrp recovery having a more recent build date than the update zip) Everything seems so far so good! I haven't had issues with my fingerprint yet.
Click to expand...
Click to collapse
Did you install Magisk though?
GBry said:
Wow, that's great! Can you give me the link? I can't seem to find the one for 553kl...
EDIT: apparently it's this one, isn't it?
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Also tried live-booting TWRP and installing magisk (leaving stock recovery), left the boot.img unpatched
Installed the latest TWRP, the /data and internal got mounted, but after flashing magisk, bootloop again (still bootlogo after 10 minutes) even after wiping dalvik.
Cache is unwipeable somehow, is this an issue?
Click to expand...
Click to collapse
Did you try clearing it with the stock recovery?
GBry said:
Did you install Magisk though?
Click to expand...
Click to collapse
With the latest twrp, yes! :good:

January Images Posted

The January updates are up.
OTA is live too. Just 50.8 MB for 1st Gen XL.
ylapas said:
OTA is live too. Just 50.8 MB for 1st Gen XL.
Click to expand...
Click to collapse
Installing now
ylapas said:
Installing now
Click to expand...
Click to collapse
I just flashed January Factory image...standard process as past months. Same platform tools, same TWRP. Magisk v18. ElementalX v4.10. Up and running. Root works fine. Experimenting with BlackenedMod3.0 now. But all seems to be fine on this update so far. Good luck to all.
sb1893 said:
I just flashed January Factory image...standard process as past months. Same platform tools, same TWRP. Magisk v18. ElementalX v4.10. Up and running. Root works fine. Experimenting with BlackenedMod3.0 now. But all seems to be fine on this update so far. Good luck to all.
Click to expand...
Click to collapse
TWRP just booted of flashed?
The last update I heard about bootloops when flashing recovery and magisk 18, atm I only boot recovery to avoid any kind of problem. For you works fine?
TENN3R said:
TWRP just booted of flashed?
The last update I heard about bootloops when flashing recovery and magisk 18, atm I only boot recovery to avoid any kind of problem. For you works fine?
Click to expand...
Click to collapse
I have always just booted TWRP - I never have flashed it. Sorry for the confusion.
Has anyone been able to root the January update with Magisk?
UPDATE:
I haven't had any boot loop issues after updating, flashing TWRP, and routing with Magisk, so I thought I would post my steps:
Note: My bootloader is unlocked.
Before updating, I flashed the Magisk Uninstaller zip.
Once completed, I rebooted to bootloader and flashed the January factory image (saving data) > booted TWRP > flashed TWRP > rebooted recovery > flashed Magisk 18.0 > rebooted.
I haven't had any boot loop issues.
Magisk is installed and passes Safety Net check, but I wasn't able to grant root privileges for apps right away. It took a while (5 minutes) to get the prompt to grant root privileges. Finally got the prompt and now everything seems to be working correctly.
I hope this helps someone!
Does anyone have the January pre-rooted boot.img?
BoboBrazil said:
Does anyone have the January pre-rooted boot.img?
Click to expand...
Click to collapse
Not handy anymore, I deleted the .zip once I updated. But you should be able to grab it from the Factory image .zip readily available on the Google Developers site.
sb1893 said:
Not handy anymore, I deleted the .zip once I updated. But you should be able to grab it from the Factory image .zip readily available on the Google Developers site.
Click to expand...
Click to collapse
I need it pre-rooted. I'm trying to root someone else's phone for them and would be easier to just be able to flash it than transferring, using magisk manager, then transferring back to flash.
^^^
This is a 1st.........never seen anyone ask for it........LoL
BoboBrazil said:
I need it pre-rooted. I'm trying to root someone else's phone for them and would be easier to just be able to flash it than transferring, using magisk manager, then transferring back to flash.
Click to expand...
Click to collapse
Sorry - my mistake - when you said "pre-rooted" I took that to mean "before rooted" - meaning the stock boot.img. Unfortunately, I do not have the Magisk rooted boot.img handy. But, it only takes a few minutes to root using the standard process with Magisk....might be quicker than waiting for a response to your request??? Just a thought...good luck...
crackerjack1957 said:
^^^
This is a 1st.........never seen anyone ask for it........LoL
Click to expand...
Click to collapse
Pretty common on the newer pixel and OnePlus forums. Someone usually shares it to save others some of the work

Phone booting back to TWRP

Hi everyone,
I'm rooted. I flashed the Beta 3 rom and TWRP. Then, I rebooted into TWRP and flashed Magisk v18. Now, my phone spins on the boot animation screen for about a minute, then reboots into TWRP. Any ideas what I should do? I've tried wiping cache, but still the same issues.
ledvedder said:
Hi everyone,
I'm rooted. I flashed the Beta 3 rom and TWRP. Then, I rebooted into TWRP and flashed Magisk v18. Now, my phone spins on the boot animation screen for about a minute, then reboots into TWRP. Any ideas what I should do? I've tried wiping cache, but still the same issues.
Click to expand...
Click to collapse
Same happened to me a few days ago and had to reflash full rom. PC still recognized device so I placed os on root of device and flashed. Unfortunately it wiped the device but at least it worked.
PapaMag said:
Same happened to me a few days ago and had to reflash full rom. PC still recognized device so I placed os on root of device and flashed. Unfortunately it wiped the device but at least it worked.
Click to expand...
Click to collapse
So you had to wipe everything?
ledvedder said:
Hi everyone,
I'm rooted. I flashed the Beta 3 rom and TWRP. Then, I rebooted into TWRP and flashed Magisk v18. Now, my phone spins on the boot animation screen for about a minute, then reboots into TWRP. Any ideas what I should do? I've tried wiping cache, but still the same issues.
Click to expand...
Click to collapse
I don't recommend updating that way. For me I flashed a patched boot.img from TWRP and it worked.
ledvedder said:
So you had to wipe everything?
Click to expand...
Click to collapse
When I flashed 9.0.11 again it wiped the device yes.
_Masked_ said:
I don't recommend updating that way. For me I flashed a patched boot.img from TWRP and it worked.
Click to expand...
Click to collapse
Obviously you are smarter than me. Thanks for the tip
PapaMag said:
Obviously you are smarter than me. Thanks for the tip
Click to expand...
Click to collapse
No problem, happy to help. By patched boot.img I mean the boot.img that was patched by Magisk.
_Masked_ said:
No problem, happy to help. By patched boot.img I mean the boot.img that was patched by Magisk.
Click to expand...
Click to collapse
Where can I get that boot.img file?
Sent from my ONEPLUS A6013 using Tapatalk
ledvedder said:
Where can I get that boot.img file?
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
The stock boot.img file is extracted from OOS and the patched boot.img is after you patch it via Magisk.
_Masked_ said:
The stock boot.img file is extracted from OOS and the patched boot.img is after you patch it via Magisk.
Click to expand...
Click to collapse
How do I extract it?
Sent from my ONEPLUS A6013 using Tapatalk
Use this if you're on OOS 9.0.5/9.0.6/9.0.7, but if you are on a higher OOS then you need to grab your stock boot.img for 9.0.10 from here and 9.0.11 from here, and patch it yourself using the instructions below.
Connect your phone to your PC using the OnePlus Cable
Reboot to Bootloader using "adb reboot bootloader" on PC while your phone is in TWRP
Rename stock boot .img file to boot.img on PC
Use "fastboot boot boot.img" on PC while your phone is in Fastboot Mode / Bootloader
Follow this guide once you are done with the above steps to root your phone with Magisk and actually boot.
I am in the same situation.
1) Got the phone. Unlocked with out-of-the-box firmware. Put TWRP on it, Magisk. All worked like a dream.
2) Time passed, I tried to play Fortnite a bit, which kicked me out due to root. Had to use Magisk Canary. Still, NO issues, all superb!
3) New firmware. The December one. Kept postponing it, but after like 2 weeks, I was like, meh, why not. Big mistake.
From this point on, I cannot root no matter what I try. As soon as I flash Magisk, it will keep booting back to TWRP.
I have even tried to grab the Canary ZIP to flash. Nothing. Tried flashing back the full base update file from OnePlus, then root. Nothing.
It's like an endless loop.
To be fair, I only use root / magisk because I need call recording. Sadly, it's been killed in Android 9, but OnePlus has a hidden feature for this. Unfortunately you have to use either ADB on each boot, or use Magisk to enable it and save you time, hassle.
Anyone has any idea, shoot.
This is a 100% unbranded, OnePlus-store-bought 8GB/128GB 6T model.
Ps.: IF you ever get stuck in this loop - you can boot your phone by using the original "boot.img".
You can grab it here:
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
To boot it, simply:
1) Enter Bootloader where you can use fastboot (NOT TWRP!).
2) Use `fastboot boot boot.img`
3) Your phone now will boot up.
h8Aramex said:
I am in the same situation.
1) Got the phone. Unlocked with out-of-the-box firmware. Put TWRP on it, Magisk. All worked like a dream.
2) Time passed, I tried to play Fortnite a bit, which kicked me out due to root. Had to use Magisk Canary. Still, NO issues, all superb!
3) New firmware. The December one. Kept postponing it, but after like 2 weeks, I was like, meh, why not. Big mistake.
From this point on, I cannot root no matter what I try. As soon as I flash Magisk, it will keep booting back to TWRP.
I have even tried to grab the Canary ZIP to flash. Nothing. Tried flashing back the full base update file from OnePlus, then root. Nothing.
It's like an endless loop.
To be fair, I only use root / magisk because I need call recording. Sadly, it's been killed in Android 9, but OnePlus has a hidden feature for this. Unfortunately you have to use either ADB on each boot, or use Magisk to enable it and save you time, hassle.
Anyone has any idea, shoot.
This is a 100% unbranded, OnePlus-store-bought 8GB/128GB 6T model.
Ps.: IF you ever get stuck in this loop - you can boot your phone by using the original "boot.img".
You can grab it here:
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
To boot it, simply:
1) Enter Bootloader where you can use fastboot (NOT TWRP!).
2) Use `fastboot boot boot.img`
3) Your phone now will boot up.
Click to expand...
Click to collapse
Try this.
ledvedder said:
How do I extract it?
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
Plug your phone into your PC
Use this command in TWRP's Terminal and type this:
Code:
dd if=/dev/block/bootdevice/by-name/boot of=boot.img
Copy it from your phone to your PC (in the directory your command prompt is in) and use the command:
Code:
fastboot boot boot.img
TWRP doesn't work
Hi there,
Just like you I have installed twrp-3.2.3-x_blu_spark_v9.86_op6 TWRP recovery on my phone to flash custom ROM (as recommneded by this ROMs list), however, it doesn't work. Like, no matter whether you I to flash unofficial or official custom ROM, it says that 'Something isn't right'. I think there's some problem within this recovery. Hoping for good.
dgdeepak000 said:
Hi there,
Just like you I have installed twrp-3.2.3-x_blu_spark_v9.86_op6 TWRP recovery on my phone to flash custom ROM (as recommneded by this ROMs list), however, it doesn't work. Like, no matter whether you I to flash unofficial or official custom ROM, it says that 'Something isn't right'. I think there's some problem within this recovery. Hoping for good.
Click to expand...
Click to collapse
Flash the CORRECT one, for the OnePlus 6T. Not for the OnePlus 6.

Problem installing Magisk Android 11

Hello all,
When still on Android 10 I had Magisk stable installed and working.
Now, after upgrade to Android 11 I cannot get it to work.
Here's what I did:
- first off, I have factory reset the phone (without erasing external storage) because of WiFi not working anymore on Android 10 (Omega kernel problem maybe?).
- update the phone to Android 11 in Settings, System, System updates (now I'm on Android 11 build IN2023_15_200930)
- install Magisk Manager from here
- download the firmware from here
- extract boot.img from firmware zip file
- copy boot image from pc to mobile
- patch boot image with Magisk manager
- copy magisk_patched.img from mobile to pc
- flash magisk_patched.img
Code:
❯ fastboot flash boot magisk_patched.img
Sending 'boot_a' (43464 KB) OKAY [ 1.824s]
Writing 'boot_a' OKAY [ 0.131s]
Finished. Total time: 1.966s
- reboot the device
Now, when I open Magisk Manager, it says Magisk Installed ' N/A' and I expect to be able to install Magisk using 'direct install'.
However this option 'direct install' is not shown, only Download Zip Only & Select and Patch a File.
What is missing here?
Any help is appreciated!
Edit: I got it working using canary build of magisk manager in stead of the stable build.
Got the same issue plus the phone sometimes turn into a bootloop.
saphirrot said:
Got the same issue plus the phone sometimes turn into a bootloop.
Click to expand...
Click to collapse
I got it working using canary build of magisk manager in stead of the stable build.
lvbaal said:
I got it working using canary build of magisk manager in stead of the stable build.
Click to expand...
Click to collapse
I tried both, same result
saphirrot said:
I tried both, same result
Click to expand...
Click to collapse
Flash to both slots. Not just one.
Fastboot flash boot_a "name of boot IMG"
Fastboot flash boot_b "name of boot IMG"
saphirrot said:
I tried both, same result
Click to expand...
Click to collapse
Maybe Wipe Cache in recovery? I did that anyway
Tried wiping Cache and flashing to both Slots.. still bootloop..
saphirrot said:
Tried wiping Cache and flashing to both Slots.. still bootloop..
Click to expand...
Click to collapse
Sorry for you man! Maybe this than?
Uploaded some logs, maybe someone can helpView attachment 2020-10-11_16.00.zip
@saphirrot
Quite possible it's the magisk patched image you're using, obtain another, best to extract it yourself.
dladz said:
Quite possible it's the magisk patched image you're using, obtain another, best to extract it yourself.
Click to expand...
Click to collapse
Patched my own boot.img, still the same issue... thats so Strange, because I havent modified anything after the o11 Update..
saphirrot said:
Patched my own boot.img, still the same issue... thats so Strange, because I havent modified anything after the o11 Update..
Click to expand...
Click to collapse
Don't flash twrp whatever you do it'll end up in crash mode, not suggesting you will but a chap I was helping did it and that's what happened. Forced him to use MSM tool.
Try another patched image, if you're on EU/UK then I have one in my thread in the guides section. Just don't do anything else. If needs be I can upload a stock boot.img if your get stuck in a boot loop, least then your can boot.
What version of magisk did you use to patch?
Also what was the commands you used to flash it in fastboot?
Using the canary magisk Version, latest ofc. Also tried all patched boot.img posted around here. Also extracted my own working boot.img and Patched it with magisk. Then flashed IT via Fastboot and bootloop again. The logs should help to find my problem
saphirrot said:
Using the canary magisk Version, latest ofc. Also tried all patched boot.img posted around here. Also extracted my own working boot.img and Patched it with magisk. Then flashed IT via Fastboot and bootloop again. The logs should help to find my problem
Click to expand...
Click to collapse
Dont flash your image just boot it first. And if it boots and you have root you can install magisk from manager permanently
Had to factory Reset the Phone, now root works fine
Same Problem
yeah same problem here... you can exit the bootloop by flashing the stock boot.img on it.
But still, neither canary or the standard does work for rooting.
saphirrot said:
Using the canary magisk Version, latest ofc. Also tried all patched boot.img posted around here. Also extracted my own working boot.img and Patched it with magisk. Then flashed IT via Fastboot and bootloop again. The logs should help to find my problem
Click to expand...
Click to collapse
Were you using lucky patcher?? Sounds a lot like you are.
dladz said:
We're you using lucky patcher?? Sounds a lot like you are.
Click to expand...
Click to collapse
So you're saying that lucky patcher is the problem?
MrZaga said:
So you're saying that lucky patcher is the problem?
Click to expand...
Click to collapse
Lol well that depends mate, are/ were you using it.
Lucky patcher breaks so much when it's used, bootlooping is one of those symptoms.
I intend to make a thread saying do not use it as you're the fifth person I've seen now with issues I've troubleshooted and the culprit was that stupid app.
dladz said:
Lol well that depends mate, are/ were you using it.
Lucky patcher breaks so much when it's used, bootlooping is one of those symptoms.
I intend to make a thread saying do not use it as you're the fifth person I've seen now with issues I've troubleshooted and the culprit was that stupid app.
Click to expand...
Click to collapse
As it sounds, uninstalling doesn't help then. But do you know why it bootloops only when using the patched img, and not when using the stock img?

How to update to 11.0.8.8IN11AA on pre rooted device

Hi i am on 11.0.7.7IN11AA rooted with magisk patched boot.img. i have received the update for 11.0.8.8IN11AA.
Has anyone been able to install and re-root with no issues? Please kindly explain your steps.
paq1170 said:
Hi i am on 11.0.7.7IN11AA rooted with magisk patched boot.img. i have received the update for 11.0.8.8IN11AA.
Has anyone been able to install and re-root with no issues? Please kindly explain your steps.
Click to expand...
Click to collapse
After the update, i flashed the patched boot.img using fastboot command. Assuming no modules are conflicting you should have a rooted device. The one module that created a problem for me was OOS NATIVE CALL RECORDING. Disabling it solved any issue.
MrEvilPanda said:
After the update, i flashed the patched boot.img using fastboot command. Assuming no modules are conflicting you should have a rooted device. The one module that created a problem for me was OOS NATIVE CALL RECORDING. Disabling it solved any issue.
Click to expand...
Click to collapse
How did u root on 11.0.8.8?
Do I have to repeat the process of downloading stock ROM, using payload dumper to get boot.img, patching it on magisk and flashing on fastboot?
Sneakdovi said:
How did u root on 11.0.8.8?
Do I have to repeat the process of downloading stock ROM, using payload dumper to get boot.img, patching it on magisk and flashing on fastboot?
Click to expand...
Click to collapse
Yes i had to use the payload dumper to get the boot.img and then pacth it using the magisk manager and then flashing using fastboot commands.
MrEvilPanda said:
Yes i had to use the payload dumper to get the boot.img and then pacth it using the magisk manager and then flashing using fastboot comma
Click to expand...
Click to collapse
What if i just uninstall magisk(unroot), download and install the update, download only the boot.img then patch and get root?
I am trying to avoid downloading whole stock rom because of the boot.img when i can just download it alone.
paq1170 said:
What if i just uninstall magisk(unroot), download and install the update, download only the boot.img then patch and get root?
I am trying to avoid downloading whole stock rom because of the boot.img when i can just download it alone.
Click to expand...
Click to collapse
We only need the boot.img(correct one) to proceed with root no need to download the entire stock rom.
Where are you guys getting 11.0.8.8IN11AA? Full zip?
Nothing on Oxygen updater for me yet.
Hey guys, so I've installed the new OTA, then went to magisk, installed magisk to inactive slot, rebooted and now the only thing happening is boot logo spinning....
what to expect? ofc, i didn't do a backup beforehand...
datnewnew said:
Hey guys, so I've installed the new OTA, then went to magisk, installed magisk to inactive slot, rebooted and now the only thing happening is boot logo spinning....
what to expect? ofc, i didn't do a backup beforehand...
Click to expand...
Click to collapse
Things like this makes me so cautious and ask so many questions. Hope you didnt soft brick your device?
Okay it worked out somehow, i was looking for a stock boot.img, and was gonna flash that to try and save it, but had trouble with my pc recognizing my oneplus in fastboot mode, so i pressed both vol up/down and power at the same time to while being connected with usb cable, to try and get into fastboot, then screen went black but my PC got some pop ups for recognizing a device with unavailable drivers, then i just press vol up and power after a minute of it being black, phone rebooted and it loaded past the booting animation into android... weird stuff worked out, even after a dozen reboots with hardware keys, even letting it spin the animation for an hour...
I'm never updating again ahahhah
edit: if you do update, make sure you disable all your magisk/xposed addons and some native os call recording module... thats what i learned while googling yesterday, and its something i did not do, that could of have possibly contributed to my headaches
What i ended up doing that worked was;
. Flash stock 11.0.7.7 boot.img to slot A & B to unroot the phone.
. Reboot and install the ota update. I had no magisk modules to uninstall.
. After updating i downloaded the stock boot.img for 11.0.8.8 then patched and flashed to get rooted again.
Its a longer process but quite safer for me.
It's the same on each firmware, providing you have the full update available to you.
Use oxygen updater and grab the full update, download and install but don't Reboot.
Open Magisk send install after OTA.
Then reboot.
If you're unable to grab the full update then probably best to update then boot lineage recovery and sideload Magisk.zip using lineage recovery, then flash and you're done.
Could someone post boot img I can't find this 11.8.8 to download.
Thanks.
Mchlbenner51 said:
Could someone post boot img I can't find this 11.8.8 to download.
Thanks.
Click to expand...
Click to collapse
Same here please, cant find the 11.0.8.8.IN11AA anywhere.
If 8.8AA is in oxygen updater (full update)
Then make your own, using someone else's comes with inherent issues and risks.
It's good practice to make your own.
h4x3r101 said:
Same here please, cant find the 11.0.8.8.IN11AA anywhere.
Click to expand...
Click to collapse
Go here: https://forum.xda-developers.com/t/...magisk_patched-boot-img.4255757/post-85522541

Categories

Resources