Hi,
I have a LG-H870 phone with Android version 9 (V30b-EUR-XX), and want to install magisk. I successfully unlocked the bootloader using the official LG website. I tried the procedure to install magisk before on my old LG G3 S and it worked, so I read the instructions and downloaded TWRP for the G6 etc. I can flash twrp using fastboot, but I cannot stop the phone from booting again to the OS and I assume thereby wiping the custom recovery. There is a warning screen because of the unlocked bootloader that I think interferes with me accessing the recovery using the usual combination of buttons. Is there a workaround? I know there is this guide (https://forum.xda-developers.com/lg-g6/how-to/guide-insatll-magisk-root-recovery-t3900475), but it needs a boot.img, and I have no clue how to extract it or where I can find it.
Thank you!
Emoji
Related
I have a Moto G4 Athene (not Plus, and not Play).
I did the following:
unlocked bootloader
flashed TeamWin recovery
installed SuperSu 2.79 SR3 from TeamWin install
The phone no longer boots. Just a black screen. Flashing notification light if put on USB.
I can still get into the bootloader, and from there into TeamWin recovery, but I'm not having any luck beyond that.
Sadly, I didn't create a backup.
I tried installing LineageOS 14.1, pushing with ADB in recovery, and then installing with TeamWin. Even though I can add the file to the phone and I can run the install, a reboot returns a black screen.
Any advice? I'm afraid this isn't looking too good.
By the way, you can just work with twrp after installing that... stock recovery (fastboot adb) doesn't belong anymore. At first I would suggest that you post the details which are shown in your bootloader.
Furthermore I would recommend just to flash stock rom and testing that case.
Sent from my Moto G (4) using XDA Free mobile app
Ferwerda said:
I have a Moto G4 Athene (not Plus, and not Play).
I did the following:
unlocked bootloader
flashed TeamWin recovery
installed SuperSu 2.79 SR3 from TeamWin install
The phone no longer boots. Just a black screen. Flashing notification light if put on USB.
I can still get into the bootloader, and from there into TeamWin recovery, but I'm not having any luck beyond that.
Sadly, I didn't create a backup.
I tried installing LineageOS 14.1, pushing with ADB in recovery, and then installing with TeamWin. Even though I can add the file to the phone and I can run the install, a reboot returns a black screen.
Any advice? I'm afraid this isn't looking too good.
Click to expand...
Click to collapse
First of all, if you read their corresponding threads, you need to do the following when rooting:
- Unlock bootloader/flash TWRP (you did)
- Flash a custom kernel (Vegito or ElementalX)
- And then wipe ART/Dalvik Cache
Second, for LineageOS- you cannot dirty flash custom ROMs, EVER EVER EVER! By this I mean you have to wipe system/data/cache/dalvik etc.- you can ignore Internal Storage and the SDCard/OTG.
You may (should) have to flash the Moto G4 Nougat radio that's floating around XDA somewhere. LOS worked fine for me without doing that, but I know other ROMs require it.
Finally, as a quick heads up, all Moto G4 Plus ROMs work fine with the G4, including any stock ROMs/backups.
Edit: I heavily suggest Magisk or phh SU over SuperSU- Magisk allows you to use SnapChat and Pokemon Go, and phh's is open source.
Thanks for the responses.
I was able to restore the phone with a stock rom I found on these boards. After that, I received two OTA, one to 6.0.1 and then the current to 7.0.0.
I have the same problem than you... Can you send me the link that you use to fix it?
Ferwerda said:
Thanks for the responses.
I was able to restore the phone with a stock rom I found on these boards. After that, I received two OTA, one to 6.0.1 and then the current to 7.0.0.
Click to expand...
Click to collapse
raulcalaca said:
I have the same problem than you... Can you send me the link that you use to fix it?
Click to expand...
Click to collapse
Just flash ElementalX 1.04 kernel (after flashing SuperSu or Superuser or Magisk) when trying to root STOCK Nougat 7.0 as it's designed to thwart any root attempt.
Ferwerda said:
Thanks for the responses.
I was able to restore the phone with a stock rom I found on these boards. After that, I received two OTA, one to 6.0.1 and then the current to 7.0.0.
Click to expand...
Click to collapse
can you please give the step by step guide you followed to recover your phone!!!
Hey everyone I just recently got a Moto X Pure with TWRP recovery already installed and the bootloader unlocked, unrooted. The phone was stuck on Marshmallow so I went to update and it would take me to TWRP recovery every time and when I reboot back into the system, I'm still stuck on Marshmallow. So I downloaded an app that would make me download OTA updates while still having TWRP recovery but it needed root access, which I didn't have. I tried all of the one-click root apps but non worked then I stumbled across an easy root method: ( oops it said I can't post links, but basically I downloaded a supersu zip and flashed it) which I followed very precisely and I'm pretty sure I did nothing wrong. But when I flashed the ZIP using TWRP and booted back into system it was stuck on the Motorola logo which I'm assuming is bootloop. I was going to download a stock recovery using fastboot but I discovered that it would relock the bootloader, which would render the device useless to me so I can't. I also tried wiping the Dalvrik Cache but it always failed. I'm new to all of this so please guys I'm desperate for help. Thanks in advance
You can flash with fastboot the newest stock(the same version or upper) without commands "...oem..." at start and the end.
Or
The newest downloadable without commands "..oem, bootloader, gpt, oem...". @Philo0o
BL will be still unlocked.
Do you have a tutorial on how to do that please?
https://forum.xda-developers.com/mo...de-return-to-stock-relock-bootloader-t3489110 @Philo0o
More accurately you need to flash boot.img which is the kernel , in the case where root was being installed using systemless mode.
Otherwise, if you tried an old SuperSU version (where systemless didn't existed or the ones that failed to detect to install using systemless method on this phone) you'll need to reflash the whole system partition (using Firmware system chunks or custom ROM zip file).
I would like to root my moto xt1575 pure to try everything to improve battery life
It is running Nougat OTA zip flashed through stock recovery
I unlocked the bootloader at Motorola's web site.
I installed adb and fastboot on my windows 10 laptop. Not all the adb commands work
I want to do the image dump that magisk requires before proceeding any further.
I used Sunshine SuperSu and xposed on my HTC one m8 vzw running kitkat 4.4.4
I apologize if this is covered elsewhere or in the wrong place. Perhaps no one has rooted a stock Moto xt1575 pure already running nougat yet. If I can't figure out how to do the image dump I'm stuck with stock. I
jim1sn1 said:
I would like to root my moto xt1575 pure to try everything to improve battery life
It is running Nougat OTA zip flashed through stock recovery
I unlocked the bootloader at Motorola's web site.
I installed adb and fastboot on my windows 10 laptop. Not all the adb commands work
I want to do the image dump that magisk requires before proceeding any further.
I used Sunshine SuperSu and xposed on my HTC one m8 vzw running kitkat 4.4.4
I apologize if this is covered elsewhere or in the wrong place. Perhaps no one has rooted a stock Moto xt1575 pure already running nougat yet. If I can't figure out how to do the image dump I'm stuck with stock. I
Click to expand...
Click to collapse
You say you unlocked the bootloader? Why not just flash the magisk 14.3 zip in a custom recovery? (TWRP?) That is what I would do, flash TWRP, and then flash magisk through that. To do this you are going to want to follow this tutorial http://www.droidviews.com/how-to-install-twrp-and-root-moto-x-pure-2015-xt1575/ and then once in TWRP click install -> magisk zip. Let me know if this is unlcear. But yeah install TWRP, and then flash magisk through that
Spencervb256 said:
You say you unlocked the bootloader? Why not just flash the magisk 14.3 zip in a custom recovery? (TWRP?) That is what I would do, flash TWRP, and then flash magisk through that. To do this you are going to want to follow this tutorial http://www.droidviews.com/how-to-install-twrp-and-root-moto-x-pure-2015-xt1575/ and then once in TWRP click install -> magisk zip. Let me know if this is unlcear. But yeah install TWRP, and then flash magisk through that
Click to expand...
Click to collapse
I installed Magisk Manager and made a patched_boot.img but I get the error no devices/emulators found when trying to run adb commands from my laptop. I uninstalled and reinstalled the motorola driver software on my laptop. I'm just trying to go by the red letters straight off the magisk page in xda, so why doesn't it work? Must be me! LoL!
You don't need patched boot image.
Flash or boot only twrp 3.x(one version can backup stock recovery, I don't remember n°).
fastboot boot nameTwrp.img
Into twrp backup all: boot, system, data(?), recovery, esp.
Important: after backup restore boot.
Flash magisk14.zip(link is in my signature).
Reboot. @jim1sn1
I've flashed Magisk, but because I can't get Xposed to work, I'd like to remove Magisk and install SuperSU, but I don't know how. I tried to flash the uninstaller via TWRP and it says everything is fine, but after rebooting it just stays installed. If I try to flash SuperSU anyway I get stuck on boot. I have to flash stock boot.img via TWRP and then Magisk magically reappears. I tried using MiFlash but it refuses to do anything. It says no permission.
One possible solution, I guess, would be to flash stock ROM via TWRP. Can this be done? Any other ideas? Or am I just stuck with Magisk until a new version is available?
Filip013 said:
I've flashed Magisk, but because I can't get Xposed to work, I'd like to remove Magisk and install SuperSU, but I don't know how. I tried to flash the uninstaller via TWRP and it says everything is fine, but after rebooting it just stays installed. If I try to flash SuperSU anyway I get stuck on boot. I have to flash stock boot.img via TWRP and then Magisk magically reappears. I tried using MiFlash but it refuses to do anything. It says no permission.
One possible solution, I guess, would be to flash stock ROM via TWRP. Can this be done? Any other ideas? Or am I just stuck with Magisk until a new version is available?
Click to expand...
Click to collapse
Magisk is pretty much "useless" for now. Because it is based on system-less root, and cannot be updated (because still in testing phase! Newer Xposed module from Magisk requires latest Magisk root binary, which is pretty out of option atm as we can't update to the latest binary). The only solution if you want to have proper root access is:
1. Head over to Xiaomi MIUI website and download the full stock ROM again, and then flash it via fastboot (choose flash_all_except_storage.bat if you want to preserve your data).
2. Once flashed, reboot back to bootloader and unlock it.
3. While still in bootloader flash the correct CF-Auto root boot image for your ROM (contains SuperSU 2.82 binary, https://desktop.firmware.mobi/device:1748)
4. Wait patiently and it will automatically reboot. Install SuperSU from Play Store if you want root management app.
5. If you need Xposed, download the Xposed apk from XDA and then install it normally (not via recovery).
6. ??? Profit
*DO NOT INSTALL permanent TWRP as it will cause your phone stuck in boot loop.
@soralz
Thanks for your help, but no luck. I understand what I'm supposed to do, but I can't get MiFlash to work. When I try to flash stock image I get a "Permission Denied" error. (I have unlocked my bootloader successfully). I tried flashing modified stock image from here But then I couldn't boot. My only solution is to flash stock boot.img via TWRP and I can boot, but I stay stuck with Magisk.
So far, the only options I can think of is to wait for a recovery-flashable ROM, a new software update or a new version of Magisk.
Filip013 said:
@soralz
Thanks for your help, but no luck. I understand what I'm supposed to do, but I can't get MiFlash to work. When I try to flash stock image I get a "Permission Denied" error. (I have unlocked my bootloader successfully). I tried flashing modified stock image from here But then I couldn't boot. My only solution is to flash stock boot.img via TWRP and I can boot, but I stay stuck with Magisk.
So far, the only options I can think of is to wait for a recovery-flashable ROM, a new software update or a new version of Magisk.
Click to expand...
Click to collapse
You couldn't boot, are you using permanent TWRP?
Have you tried download the Full ROM from here and run this (as attachment)?
http://en.miui.com/download-333.html
Btw, place the folder under 1 directory only eg: as attachment. (I tried in multiple directory eg: "D:\Phones\ROM\Stock ROM", it just wouldn't flash)
@soralz
OMG!!! I can't believe it. MiFlash refused to let me flash because I tried to do that from the wrong location. Weird??!!
Good. I’ve managed to follow your instructions and success!! Just a minor note, I couldn't flash the modified boot.img directly via fastboot, it still won't let me. But I just booted TWRP (without flashing) and then flashed it from there. Again, THANK YOU!
BTW, yes, I had flashed permanent TWRP and then unsuccessfully tried to remove it.
Filip013 said:
@soralz
OMG!!! I can't believe it. MiFlash refused to let me flash because I tried to do that from the wrong location. Weird??!!
Good. I’ve managed to follow your instructions and success!! Just a minor note, I couldn't flash the modified boot.img directly via fastboot, it still won't let me. But I just booted TWRP (without flashing) and then flashed it from there. Again, THANK YOU!
BTW, yes, I had flashed permanent TWRP and then unsuccessfully tried to remove it.
Click to expand...
Click to collapse
Oh you manage to fix that? Good for you then. And yes you cannot have permanent TWRP and SuperSU at the same time. The CF-auto root for me I just click root.bat and done. btw side note, you will lose root after each update, besure to check out the new patched boot image. I m sure in the future we will have automated process, don't need to re-root manually after each update
I am no noobie when it comes to android rooting since I root and flash all of my android devices. But the axon 7 is a really tough son of a b*tch.
I got it brand new. Unlocked the bootloader then proceeded to update to marshmallow just so I can get nougat on my device. Then I installed TWRP so I can flash supersu, xposed and an audio mod zip. I believe this audio mod is what killed my devices since it was not booting into the os. Just stuck at the flashy axon booting screen. I booted into TWRP, deleted data, system and system storage and installed the nougat 2,6gb "update.zip" file. Since then the os is not booting at all, its just stuck at the booting screen, the warning because of the unlocked bootloader. And also, now, stock recovery is installed.
I have an idea how to fix this I am rather cautious so thats why Im asking the experts here first
EDIT: I have the 2017G Version
I have an A2017U, but if you can get your hands on an official Marshmallow zip, then that should hopefully let you boot. From there you can OTA update back to Nougat, then you just need to figure out how to install TWRP again.
Another recovery method is to flash EDL files with MiFlash while your phone is booted into EDL mode.
As for audio mods, I just use Arise, it's very comprehensive and has never bricked my phone.
I have an idea why you can't boot after flashing the Nougat zip: you triggered dm-verity. You must also flash a root zip that patches out the dm-verity. Or you can use @jcadduono's "no verity opt encrypt" zip as an alternative if you don't want to root. Your system and cache partitions should be formatted as ext4, and data should be F2FS. I recommend a full wipe of all partitions except the MicroSD.
GriechischerYoghurt said:
I am no noobie when it comes to android rooting since I root and flash all of my android devices. But the axon 7 is a really tough son of a b*tch.
I got it brand new. Unlocked the bootloader then proceeded to update to marshmallow just so I can get nougat on my device. Then I installed TWRP so I can flash supersu, xposed and an audio mod zip. I believe this audio mod is what killed my devices since it was not booting into the os. Just stuck at the flashy axon booting screen. I booted into TWRP, deleted data, system and system storage and installed the nougat 2,6gb "update.zip" file. Since then the os is not booting at all, its just stuck at the booting screen, the warning because of the unlocked bootloader. And also, now, stock recovery is installed.
I have an idea how to fix this I am rather cautious so thats why Im asking the experts here first
EDIT: I have the 2017G Version
Click to expand...
Click to collapse
If you still have TWRP, download Raystef66's B09 TWRP flashable Stocksystem and Bootstack, plus Magisk 15.2. Flash everything then wipe data.
What broke your device was probably Xposed.
Also, which audio mod are you talking about? Ainur, V4Android, V4ARISE, AK4490 patch, maybe some other?
Thanks for the help! i Managed to flash TWRP in EDL mode (black screen). Then I proceeded to flash nougat B9. I was up all night reading about it and searching tutorials how to flash stock from TWRP. I installed Bootstack and System, supersu 2.79 and xposed. First boot did not work but that was actually in the guide so I had to flash system and root again. My data partition is ext4 and everything works good now. I hope it wont make any problems.
The audio mod was "divine 10" or something. I will try the ones you have mentioned.
Thanks for all the help
GriechischerYoghurt said:
Thanks for the help! i Managed to flash TWRP in EDL mode (black screen). Then I proceeded to flash nougat B9. I was up all night reading about it and searching tutorials how to flash stock from TWRP. I installed Bootstack and System, supersu 2.79 and xposed. First boot did not work but that was actually in the guide so I had to flash system and root again. My data partition is ext4 and everything works good now. I hope it wont make any problems.
The audio mod was "divine 10" or something. I will try the ones you have mentioned.
Thanks for all the help
Click to expand...
Click to collapse
Xposed usually needs a 2 or 3 minute first boot for some reason, just sayin