Installing AutoMagisk with Nougat Update Device Won't Boot - Moto G4 Questions & Answers

So every time I try to install AutoMagisk on my freshly updated and reset Nougat install, the device won't boot at all. I have to keep restoring from my NAND in TWRP.
I've tried All the versions of Magisk from 12 to 9. Am I doing something wrong?

ZeroManArmy said:
So every time I try to install AutoMagisk on my freshly updated and reset Nougat install, the device won't boot at all. I have to keep restoring from my NAND in TWRP.
I've tried All the versions of Magisk from 12 to 9. Am I doing something wrong?
Click to expand...
Click to collapse
Did you try installing elementalX kernel first and then flashing Magisk? If you are on stock nougat use the kernel below.

Danny1976 said:
Did you try installing elementalX kernel first and then flashing Magisk? If you are on stock nougat use the kernel below.
Click to expand...
Click to collapse
Installing that Kernel then Magisk v12 worked! Thanks so much!

Related

Magisk with android 9

I did a clean reset and installed a fresh android 9. So no root, nothing.
Anyways I install magisk 5.8.3 and then tried to patch the boot.img from the android 9 factory image.
But every time I select the boot.img and try to patch it, it says "Failed! ! Installion failed!".
How has everyone else tried to install magisk on android 9?
xringo said:
I did a clean reset and installed a fresh android 9. So no root, nothing.
Anyways I install magisk 5.8.3 and then tried to patch the boot.img from the android 9 factory image.
But every time I select the boot.img and try to patch it, it says "Failed! ! Installion failed!".
How has everyone else tried to install magisk on android 9?
Click to expand...
Click to collapse
Not the way you are doing it. I boot to TWRP, without installing it and have TWRP install the full zip.
Hm I'll try this. Used to the boot patching.
xringo said:
Hm I'll try this. Used to the boot patching.
Click to expand...
Click to collapse
Just dirty flashed 9 over dp5, booted to twrp and flashed magisk. Rooted, and all appears well.
lorax70 said:
Just dirty flashed 9 over dp5, booted to twrp and flashed magisk. Rooted, and all appears well.
Click to expand...
Click to collapse
You can give link file magisk for use on android 9.
newyesor said:
You can give link file magisk for use on android 9.
Click to expand...
Click to collapse
Fwiw. I've been using this magisk version for dp3-5, but there are newer versions, but 16.4 works for me...
https://thedroidarena.com/download-magisk-16-4-beta/
I may try a newer version at some point, but I'm in no rush.
newyesor said:
You can give link file magisk for use on android 9.
Click to expand...
Click to collapse
Got this from the Flash kernel thread. It works fine on Pie :good:
https://drive.google.com/file/d/106ZiqeQxNYtCHkOEc6niuHRcWiCzG_eA/view?usp=drivesdk
xringo said:
I did a clean reset and installed a fresh android 9. So no root, nothing.
Anyways I install magisk 5.8.3 and then tried to patch the boot.img from the android 9 factory image.
But every time I select the boot.img and try to patch it, it says "Failed! ! Installion failed!".
How has everyone else tried to install magisk on android 9?
Click to expand...
Click to collapse
Make sure your using 16.7 you have to change in setting to beta. Same thing happened to me trying to use 16.0
I get updater error :2 failed to install every freaking time. No matter what zip i use. 1600 1671 1674
After dirty flash (remove -w) Android 9 PPR1 then install Magisk 16.7, it seems I am not able to set PIN or any security... Anyone has the same issue?
I have the same issue TWRP also can't decript the phone. I am going to wipe everything, and fastboot erase userdata.
lssong99 said:
After dirty flash (remove -w) Android 9 PPR1 then install Magisk 16.7, it seems I am not able to set PIN or any security... Anyone has the same issue?
Click to expand...
Click to collapse
Sent from my Pixel 2 XL using Tapatalk
Airpil said:
I have the same issue TWRP also can't decript the phone. I am going to wipe everything, and fastboot erase userdata.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Don't wipe your phone! Just flash the new boot.img from the image file (not OTA file) and you will be able to go back to your Android system and disable the pin. After disable the pin, boot into TWRP and flash the Magisk from here https://forum.xda-developers.com/showpost.php?p=77240449&postcount=2832
Hope this helps!
madmuthertrucker said:
I get updater error :2 failed to install every freaking time. No matter what zip i use. 1600 1671 1674
Click to expand...
Click to collapse
Use magisk uninstall first and this should solve the issue.
lssong99 said:
After dirty flash (remove -w) Android 9 PPR1 then install Magisk 16.7, it seems I am not able to set PIN or any security... Anyone has the same issue?
Click to expand...
Click to collapse
I have flashed ota from dp5 and fresh install of 9 and I cannot use security with 3.2.1_2 or 3.2.2 TWRP
Brakiss said:
I have flashed ota from dp5 and fresh install of 9 and I cannot use security with 3.2.1_2 or 3.2.2 TWRP
Click to expand...
Click to collapse
There's a 3.2.3-0 out as well. It's reportedly able to decrypt using alphanumeric codes. However a straight 4 number pin still isn't working for me.
Badger50 said:
There's a 3.2.3-0 out as well. It's reportedly able to decrypt using alphanumeric codes. However a straight 4 number pin still isn't working for me.
Click to expand...
Click to collapse
Where did you see this? I have pattern and would like to keep it.
Brakiss said:
Where did you see this? I have pattern and would like to keep it.
Click to expand...
Click to collapse
One of the other threads. Here's the twrp version though. https://dl.twrp.me/taimen/
Been having issues myself since updating to Pie yesterday. TWRP installed working fine. Installed magisk manager, set to beta channel. Rebooted into TWRP and flashed magisk 16.7, phone hanging at the lovely google logo page. I then have to run the uninstaller back in TWRP or i cant get the phone to boot. Anyone had this?
pr1vate piles said:
Been having issues myself since updating to Pie yesterday. TWRP installed working fine. Installed magisk manager, set to beta channel. Rebooted into TWRP and flashed magisk 16.7, phone hanging at the lovely google logo page. I then have to run the uninstaller back in TWRP or i cant get the phone to boot. Anyone had this?
Click to expand...
Click to collapse
Yeah, rooting on P is a little tricky it seems. You'll likely have to run the uninstaller, then boot up. Then go back to twrp and flash this version of magisk. It's the 16.7(4) version found in the Flash kernel thread :good:
https://drive.google.com/file/d/106ZiqeQxNYtCHkOEc6niuHRcWiCzG_eA/view?usp=drivesdk
Badger50 said:
Yeah, rooting on P is a little tricky it seems. You'll likely have to run the uninstaller, then boot up. Then go back to twrp and flash this version of magisk. It's the 16.7(4) version found in the Flash kernel thread :good:
https://drive.google.com/file/d/106ZiqeQxNYtCHkOEc6niuHRcWiCzG_eA/view?usp=drivesdk
Click to expand...
Click to collapse
Your not wrong there. Tried it as you suggested, same thing, hanging at the G logo page with the bar animation under it. Had to run the uninstaller to get back into my phone. Very odd

{SOLVED} Lost root after update and succesfull magisk flash

Hey guys,
Just flashed the latest Oxygen update the way i always do but this time i lost root.
Running stock rom with root (Magisk) and TWRP.
Flashed update
Cleaned dalvik/cache
Flashed Magisk.zip
Cleaned dalvik/cache again
Reboot
Twrp is still there, bootloader unlocked, magisk manager works to...... But no root, magisk manager says "magisk is not installed"
Never had this issue before....
g-member said:
Hey guys,
Just flashed the latest Oxygen update the way i always do but this time i lost root.
Running stock rom with root (Magisk) and TWRP.
Flashed update
Cleaned dalvik/cache
Flashed Magisk.zip
Cleaned dalvik/cache again
Reboot
Twrp is still there, bootloader unlocked, magisk manager works to...... But no root, magisk manager says "magisk is not installed"
Never had this issue before....
Click to expand...
Click to collapse
Which oxygenOS? Which magisk version? Did you tried to flash magisk uninstaller before flashing the oxygenOS update and go ahead with the further steps?
Latest Oxygen, and no dit not uninstall magisk before flashing the update, never did and worked fine....
Using Magisk 17.00 latest
g-member said:
Latest Oxygen, and no dit not uninstall magisk before flashing the update, never did and worked fine....
Using Magisk 17.00 latest
Click to expand...
Click to collapse
Which oxygenOS(stable or beta)? Try to install magisk again, use v17. 3 if not working, flash uninstaller as mentioned before
That did the trick, thnx
g-member said:
That did the trick, thnx
Click to expand...
Click to collapse
Which one? To help others you can mark the thread as [SOLVED] in the headline:good:
First flashed the uninstaller and reflashed 17.3 Magisk.
How do i mark this post?
g-member said:
First flashed the uninstaller and reflashed 17.3 Magisk.
How do i mark this post?
Click to expand...
Click to collapse
Edit the title and add [SOLVED] at the beginning.

How to install twrp temporarily?

My stock rom has a wifi problem and I want to flash a fix via twrp, but I still want to obtain ota updates. Is booting into twrp via command prompt temporary? Like once I exit twrp without flashing installer zip it would be gone, right?
Sorry, for the noob question. I'm still new to a/b devices.
Try
fastboot boot twrp (the name of your twrp-image)
I am using this all the time to uninstall / install magisk and do an OTA-update inbetween
Tiemichael said:
Try
fastboot boot twrp (the name of your twrp-image)
I am using this all the time to uninstall / install magisk and do an OTA-update inbetween
Click to expand...
Click to collapse
There won't be any problems with stock pie, right?
As I need Xposed, I have not tried PIE yet.
If you are worried trying PIE, flash OREO (Nov 2018) and then do an OTA-update before rooting with TWRP and MAGISK
Tiemichael said:
As I need Xposed, I have not tried PIE yet.
If you are worried trying PIE, flash OREO (Nov 2018) and then do an OTA-update before rooting with TWRP and MAGISK
Click to expand...
Click to collapse
I'm on latest Jan patch. :/
WhatzIt2Ya said:
There won't be any problems with stock pie, right?
Click to expand...
Click to collapse
I think theres only one TWRP version which will work with Pie.

G4 plus is bricking after installing Magisk?

Recently i had a hard brick i had to do a recovery from. So far ive got everything back to working order with latest TWRP installed and everything is working with no problems since. But now I try to install Magisk through TWRP, have the latest version and Magisk manager installed, after its finished it dosent boot. I have to restore from my latest backup after. Also same thing happened when trying to install SuperSu. Anyway to fix this?
What firmware or ROM are you currently running, and what version of magisk are you using?
kwebber321 said:
Recently i had a hard brick i had to do a recovery from. So far ive got everything back to working order with latest TWRP installed and everything is working with no problems since. But now I try to install Magisk through TWRP, have the latest version and Magisk manager installed, after its finished it dosent boot. I have to restore from my latest backup after. Also same thing happened when trying to install SuperSu. Anyway to fix this?
Click to expand...
Click to collapse
Before you root your device, you must replace your stock kernel.
Most people use ElementalX.
https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836/page192
Flash ElementalX through twrp, go through setup and then flash magisk. You'll do good.
If you're confused about ElementalX setup, go through installation tutorials.
Cheers.
ALPH000 said:
Before you root your device, you must replace your stock kernel.
Most people use ElementalX.
https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836/page192
Flash ElementalX through twrp, go through setup and then flash magisk. You'll do good.
If you're confused about ElementalX setup, go through installation tutorials.
Cheers.
Click to expand...
Click to collapse
Is there a custom kernel known to be compatible with the stock Pie ROM?
harryspar said:
Is there a custom kernel known to be compatible with the stock Pie ROM?
Click to expand...
Click to collapse
Do you mean the stock Oreo firmware? We don't have stock Pie
If so, there's ElementalX 3.0.1 https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836 or Loony: https://forum.xda-developers.com/moto-g4-plus/development/3-10-108-loony-kernel-t3726793
echo92 said:
Do you mean the stock Oreo firmware? We don't have stock Pie
If so, there's ElementalX 3.0.1 https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836 or Loony: https://forum.xda-developers.com/moto-g4-plus/development/3-10-108-loony-kernel-t3726793
Click to expand...
Click to collapse
For Nougat, stock kernel is not rootable.
You have to replace it with elementalx kernel and then flash magisk.
However, when talking about Oreo stock firmware,
Situation gets inverted.
When flashed magisk with ElementalX 3.0.1, phone will not boot up.
And, stock kernel can be easily rooted by simply flashing magisk.
So, there is no need of ElemenralX kernel for rooting Oreo stock ROM unless you need it.
You're correct. I meant Oreo.
On my device it never works. Not on the stock kernel, or elemental, or loony.
It boot loops until I run the Magisk uninstaller.
harryspar said:
You're correct. I meant Oreo.
On my device it never works. Not on the stock kernel, or elemental, or loony.
It boot loops until I run the Magisk uninstaller.
Click to expand...
Click to collapse
Hmm, that's odd - are you using magisk 19.3 or a recent version of magisk? When you flashed magisk, did you wipe cache before rebooting?
Is this behaviour observed on completely stock firmware (i.e. you've restored back to full stock Oreo, including a clean stock boot kernel)?
echo92 said:
Hmm, that's odd - are you using magisk 19.3 or a recent version of magisk? When you flashed magisk, did you wipe cache before rebooting?
Is this behaviour observed on completely stock firmware (i.e. you've restored back to full stock Oreo, including a clean stock boot kernel)?
Click to expand...
Click to collapse
I think so. I will double check.
I actually don't need Magisk - my goal is to install Xposed. So in theory I could just try a different superuser. I'm just used to Magisk.
harryspar said:
I think so. I will double check.
I actually don't need Magisk - my goal is to install Xposed. So in theory I could just try a different superuser. I'm just used to Magisk.
Click to expand...
Click to collapse
I hope you get xposed working on Oreo - if you do get magisk functioning, maybe this xposed plugin could work? https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
Else there's edxposed https://forum.xda-developers.com/xposed/list-xposed-modules-android-pie-ed-t3892768 though I have no idea if xposed functions on stock Oreo.

Bootloop after trying to root 9.0.9

So for some reason, my phone decided to install the new OTA update of OxygenOS.
I wanted to reinstall Magisk after flashing TWRP back but when I did so, got stuck in a bootloop.
I managed to get my phone back by re-flashing OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d3e44852.zip but everytime I try to flash Magisk, I go back on that bootloop.
What should I do ? Do I have to wait for a Magisk Update ?
Thanks
I'm glad u asked this bc my op5 keeps asking me 2 download the latest update. I want it but u don't wanna use ADB again. So how I avoid the problem above and update and keep root?
Mouchoir said:
So for some reason, my phone decided to install the new OTA update of OxygenOS.
I wanted to reinstall Magisk after flashing TWRP back but when I did so, got stuck in a bootloop.
I managed to get my phone back by re-flashing OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d3e44852.zip but everytime I try to flash Magisk, I go back on that bootloop.
What should I do ? Do I have to wait for a Magisk Update ?
Thanks
Click to expand...
Click to collapse
What is you current twrp recovery (file name)?
What is your current Rom(file name)?
What is your magisk version?
Is your storage encryped or decrypted?
What installation steps did you followed?
My oneplus 5 had a similar problem during the flash of Android 9, to fix this issue make sure that you are installing the full zip of the rom, and make sure to remove Magisk with its uninstaller before flashing the rom.
Right after the flash in the recovery it's possible to reinstall the latest version of Magisk stable. Keep in mind that without hte isntallation of Magisk you will lose the custom recovery, because the phone restore automatically its original recovery, so it's better if you flash it right after the installation of the full zip.
strongst said:
What is you current twrp recovery (file name)?
What is your current Rom(file name)?
What is your magisk version?
Is your storage encryped or decrypted?
What installation steps did you followed?
Click to expand...
Click to collapse
Thanks for your answer.
Current TWRP : twrp-3.3.1-0-cheeseburger.img (but I have to flash it back every time I go to recovery)
Current ROM : OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d 3e44852.zip
Current Magisk : None, trying to flash 20.1 (20100) ; Magisk manager 7.4.0 (253)
I think my storage is encrypted
Installation steps :
- My phone made an OTA update
- I lost root
- Downloaded Magisk 20.0 from the Magisk Manager
- I flashed TWRP twrp-3.3.1-0-cheeseburger.img via fastboot
- Flashed Magisk 20.0
- Wiped Cache/Dalvik
- Reboot
- Phone automatically turns off and opens Recovery
- Lost my TWRP, had to flash it again
- Flashed the latest OOS img found here : https://www.oneplus.com/fr/support/softwareupgrade/details?code=5
- Could turn on my phone
- Realized there's an new 20.1 Magisk version
- Tried to flash it, it failed again, flashed OOS back.
Click to expand...
Click to collapse
This is everything I did. I have access to my phone now with the OOS rom but can't install Magisk
Mouchoir said:
Thanks for your answer.
Current TWRP : twrp-3.3.1-0-cheeseburger.img (but I have to flash it back every time I go to recovery)
Current ROM : OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d 3e44852.zip
Current Magisk : None, trying to flash 20.1 (20100) ; Magisk manager 7.4.0 (253)
I think my storage is encrypted
Installation steps :
This is everything I did. I have access to my phone now with the OOS rom but can't install Magisk
Click to expand...
Click to collapse
Magisk 20 is known to have issues on pie. Also you have official twrp which has also sometimes problems.
And as mentioned already: missing to uninstall magisk can also lead to boot loops.
Recommend instructions are within the stable rom thread https://forum.xda-developers.com/on...xygenos-4-5-2-7-1-1-ota-t3627003/post72799040
I would try magisk uninstaller and then msgidj 19.3 in your situation as twrp won't stick without magisk.
Watch out for errors within twrp log.
Solved by running the uninstaller and reinstalling Magisk, thanks
I try everything, Try to Wipe System, Dalvnik,cache, and install latest Stable Rom, also before that I uninstall Magisk. And still BOOT loop, try also to flash form SIDELOADbut still BOOT loop.
also follow this:
Recommend instructions are within the stable rom thread https://forum.xda-developers.com/one...3/post72799040
I didnt try Clean Flash, because I have so much thigs for my job, and I can't delete it.
Can you help me to sole this problem?
djolehotsauce said:
I try everything, Try to Wipe System, Dalvnik,cache, and install latest Stable Rom, also before that I uninstall Magisk. And still BOOT loop, try also to flash form SIDELOADbut still BOOT loop.
also follow this:
Recommend instructions are within the stable rom thread https://forum.xda-developers.com/one...3/post72799040
I didnt try Clean Flash, because I have so much thigs for my job, and I can't delete it.
Can you help me to sole this problem?
Click to expand...
Click to collapse
Please answer the question same as op, maybe I can, can't promise
Your link is broken
strongst said:
Please answer the question same as op, maybe I can, can't promise
Your link is broken
Click to expand...
Click to collapse
Current TWRP : twrp-3.3.1-0-cheeseburger.img
Current ROM : OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d 3e44852.zip
Current Magisk : None, trying to flash 20.1 (20100) ; Magisk manager 7.4.0 (253)
djolehotsauce said:
Current TWRP : twrp-3.3.1-0-cheeseburger.img
Current ROM : OnePlus5Oxygen_23_OTA_052_all_1910082005_d4a454d1d 3e44852.zip
Current Magisk : None, trying to flash 20.1 (20100) ; Magisk manager 7.4.0 (253)
Click to expand...
Click to collapse
And you already followed the tips with magisk uninstaller and lower magisk version as above?
You didn't mention if your storage is encrypted or not?
The link from you to the instructions is broken.
strongst said:
And you already followed the tips with magisk uninstaller and lower magisk version as above?
You didn't mention if your storage is encrypted or not?
The link from you to the instructions is broken.
Click to expand...
Click to collapse
Yes I followed whole instruction
I think is encrypted, how I can know are they encrypted?
here is the link:
https://forum.xda-developers.com/one...3/post72799040
---------- Post added at 08:16 PM ---------- Previous post was at 08:16 PM ----------
strongst said:
And you already followed the tips with magisk uninstaller and lower magisk version as above?
You didn't mention if your storage is encrypted or not?
The link from you to the instructions is broken.
Click to expand...
Click to collapse
Yes I followed whole instruction
I think is encrypted, how I can know are they encrypted?
here is the link:
https://forum.xda-developers.com/on...-7-1-1-ota-t3627003/post72799040#post72799040

Categories

Resources