So the 7.1.1 for the Axon2017G has been released today. Since I have a Daydream view and Daydream does not work for all Daydream apps on Lineage, I'd like to install it. But I also like Lineage and I would favour installing both using Dual Boot Patcher.
I know there are tutorials for dual boot patcher, for going back to stock, for installing lineage on the G version but since they are not meant to be used together, they contradict in some points. So I what I am asking for is a feedback whether what I want to do will lead to the result I want. Which of these steps are wrong / which are missing?
0.Getting the latest SuperSU from here: supersu.com/download (Is it really the same for all devices?)
1. Flashing SuperSU for Dual Boot Patcher to work
2. Altering the ZTE 7.1.1 TWRP flashable using dual boot patcher.
3. Altering SuperSU using dual boot patcher.
4. Altering the Bootstack using dual boot patcher?
5. Flashing the altered Bootstack using dual boot patcher?
6. Flashing the altered 7.1.1.
7. Flashing the altered SuperSU for Dual Boot Patcher to work on the ZTE 7.1.1.
I ain't sure about 4. and 5.. I already have the N-bootstack since I am on LOS... Do I have to flash it/another version again? If yes, do I have to use dual boot patcher on it?
btw, will I loose my data on the LOS when rooting? And just to be sure: installing the ZTE 7.1.1. won't replace my TWRP with the ZTE recovery/ the bootloader with the stock BL, will it?
I know these are many questions, sorry. But this is the first time I root and install multiple ROMs on a device.
Thank you, your help is greatly appreciated!
Related
Good evening ladys and gentlemen,
hoping you can help me with my root-not staying-problem.
I have the A2017G B09 version. I already managed to unlock my device and I had root with xposed installed.
Sounds good so far, right?
Well my problem is that after the restart that is needed to activate my xposed modules, my root went away and I couldn't get it back. After that I tried to do it again but root wouln't stick no matter what.
And yes, I did use the "reboot disemmcwp" command.
I tried to root by flashing the newest chainfire supersu 2.79, since I have newest twrp 3.0.3-1.
It would be great if you would be able to help me on my journey and maybe explain to me the difference between systemless and normal, and what magisk is since I saw that op up a few times.
Oh and please tell me from where I should start if I want to work on everything android related (roms, kernel, apps) since my semsester is nearing its end.
Thanks in advance.
Systemless root means that the /system partition is not modified, however the boot image is altered. There is much hype on this, however there still are many mods out there requiring modifications of /system. I personally do not see any advantage of it, probably because I have been using custom ROMs for years, and custom ROMs has many alterations to the /system compared to stock or pure CM or AOSP roms. However it is clear that the future goes that way and eventually most of the mods will be systemless. The advantage is that you will supposedly be able to flash OTA upgrades, however if the OTA is also modifying the boot partition, then it doesn't matter, you will not be able to flash the OTA upgrade. So the benefits of systemless mods are arguable.
Magisk is an open root. it is systemless from the beginning and any module under Magisk framework will be systemless. So far no official Magisk release (latest at this time is v10.2) is compatible with the Axon stock ROM. However, the latest v10.3-beta2 seems to fix the root injection problem. It is included in the Bad Boyz custom ROM.
There are some apps not working on root devices. They use a SafetyNet procedure to check for that, such as Android Pay or Pokemon Go. However there are ways to overcome this security check and you can enjoy root and SafetyNet compatibility either using SuperSU or Magisk, system or systemless root. the issue becomes a little tricky when adding Xposed mod framework to the mix, since the procedures to have all 3 (root, SafetyNet and Xposed) working is not that straightforward. However this is possible in the Axon 7. You can find one of my guides in the links in my signature.
Enjoy!!!!
Thanks for the info. I actually used your guide but nothing came out of it. I got stuck on the Axon screen. Tried it multiple times. Guess I'll try again either after the N update or when I get impatient.
Try reflashing supersu don't reboot, then use terminal in TWRP to do reboot disemmcwp and see if it works. I usually use root Explorer to see if I can change /system to r/w. If it did not work go back to terminal in TWRP and try again. I have had to do it a few times to get it to work. Using adb terminal seems to work first time, terminal apps have not worked for me.
Yuujinz said:
Thanks for the info. I actually used your guide but nothing came out of it. I got stuck on the Axon screen. Tried it multiple times. Guess I'll try again either after the N update or when I get impatient.
Click to expand...
Click to collapse
If you tried my guide, then you must use ROM B29 or any other ROM based on B29. I am afraid that the patch is only compatible with B27 or B29 based kernels.
Oki said:
If you tried my guide, then you must use ROM B29 or any other ROM based on B29. I am afraid that the patch is only compatible with B27 or B29 based kernels.
Click to expand...
Click to collapse
Wouldn't it brick my european device?
Yuujinz said:
Wouldn't it brick my european device?
Click to expand...
Click to collapse
You can flash directly the BootStack for your version of Axon 7 and the B29 ROM (or any other custom ROM) using TWRP. You can get those files from https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Oki said:
You can flash directly the BootStack for your version of Axon 7 and the B29 ROM (or any other custom ROM) using TWRP. You can get those files from https://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Click to expand...
Click to collapse
Ok thanks I'll do it this evening
Or maybe not, to risky.
So I just updated to the latest xt1644 Nougat JP25.93.14-4 and am having an issue installing TWRP and getting it to stick. I installed it and even did a backup, but once I boot to System and then back to bootloader, and finally to recovery, it goes back to stock recovery. Also I am unsure of how to root this device now with Nougat. I've seen on a few sites differing methods. One site had a download for what they called a root package and it was a SuperSU 2.76 version. Another site said to use Phh SU and just install TWRP and then flash Phh. I don't want to mess anything up, can someone point me in the right direction since it seems everything in this forum is for a device other than the XT1644. Lastly, is it possible to revert back to Marshmellow using fastboot, or is that now not possible? I have unlocked my bootloader, obviously. Thanks.
After flashing TWRP you have to manually boot to TWRP without booting to system first. For rooting you have to flash ElementalX or Vegito Kernel and then flash SuperSU v2.79 SR3 or Magisk v12
.
tywinlannister7 said:
After flashing TWRP you have to manually boot to TWRP without booting to system first. For rooting you have to flash ElementalX or Vegito Kernel and then flash SuperSU v2.79 SR3 or Magisk v12
.
Click to expand...
Click to collapse
I did manually boot it. I went back to bootloader, then choose recovery again and it goes back to TWRP. After I boot to system is when the issue occurs. If I go back to bootloader after booting to system, that is when I have the problem. Once I try to go into recovery again it goes to stack recovery. I am trying to install TWRP 3.0.2.0 Athene.
robn30 said:
I did manually boot it. I went back to bootloader, then choose recovery again and it goes back to TWRP. After I boot to system is when the issue occurs. If I go back to bootloader after booting to system, that is when I have the problem. Once I try to go into recovery again it goes to stack recovery. I am trying to install TWRP 3.0.2.0 Athene.
Click to expand...
Click to collapse
try latest twrp 3.1.0
I got it working. I had originally set it to read only and I think that was the issue. Reinstalled it and mounted system and then choose to allow modifications. It then worked. Now onto root, we will see how that goes.
Sent from my XT1575 using Tapatalk
tywinlannister7 said:
try latest twrp 3.1.0
Click to expand...
Click to collapse
When rooting do you still do the little systemless trick or is that already accounted for. Does the elemental X kernel play well and is it nice and stable? Thanks for the info.
Sent from my XT1575 using Tapatalk
robn30 said:
When rooting do you still do the little systemless trick or is that already accounted for. Does the elemental X kernel play well and is it nice and stable? Thanks for the info.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
If you're using SuperSU v2.79 SR3 beta ( https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133), this already is configured for systemless, and if you're going for SuperSU, that's the version I recommend. Any versions below 2.79 SR3 appear to have created boot issues on Nougat (or required the echo systemless command to work).
ElementalX (1.0.4 stock is what you want) is stable and is essential for rooting. Don't try to root your device without flashing a custom kernel like ElementalX or vegito, else if you try to root the stock Nougat kernel, you'll likely trip anti-root kit/anti-rooting security (dm-verity, I recall?) and will prevent your device from booting. By flashing ElementalX or vegito, you'll bypass that security.
A useful checklist to follow is in this guide here: https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918 Having a newer version of TWRP shouldn't matter (and in fact may present less issues). With step 6, you may choose to flash either magisk or SuperSU as mentioned by tywinlannister7 (I've not had experience with phh superuser, so cannot comment). If, at some point in the future, you wish to swap rooting methods, I'd suggest following the recommended unrooting procedure for your existing root manager (e.g. unrooting from the SuperSU app settings, or flashing the magisk uninstaller, check their respective pages on XDA) before changing root managers. I've used the aforementioned checklist to root a XT1642 on Nougat without issue.
As for downgrading your system to Marshmallow if you so choose, that is possible. Verify the MM firmware you need (a selection for XT1644, retus channel devices, is here https://mirrors.lolinet.com/firmware/moto/athene/official/RETUS/) and use that firmware with a guide like this: https://forum.xda-developers.com/moto-g4-plus/how-to/guide-downgrade-to-marshmallow-nougat-t3515961 If you're using fastboot rather than mfastboot, replace mfastboot in the provided script with fastboot.
EDIT - no worries @pastorbob62 - good to have another member verifying information
robn30 said:
When rooting do you still do the little systemless trick or is that already accounted for. Does the elemental X kernel play well and is it nice and stable? Thanks for the info.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
NO! NO! NO! Do not use the systemless root method. That is for Marshmallow ONLY!. You will not be able to boot into the system after trying that and you may have to go all of the way back to flashing stock from fastboot to fix it.
ElementX-G4 kernel plays well with Nougat stock. I ran it with stock Nougat for a couple of weeks on my XT1625 without any major issues. So flash it from TWRP. Be sure you have the correct version. Then boot to system to check it out. Next reboot to TWRP and flash SuperSU 2.79. Boot back to the system. It will probably boot a couple of times before the system comes up. Don't panic. You should be good to go.
Edit: Sorry echo92. I was typing my reply at the same time you were. :good:
echo92 said:
If you're using SuperSU v2.79 SR3 beta ( https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133), this already is configured for systemless, and if you're going for SuperSU, that's the version I recommend. Any versions below 2.79 SR3 appear to have created boot issues on Nougat (or required the echo systemless command to work).
ElementalX (1.0.4 stock is what you want) is stable and is essential for rooting. Don't try to root your device without flashing a custom kernel like ElementalX or vegito, else if you try to root the stock Nougat kernel, you'll likely trip anti-root kit/anti-rooting security (dm-verity, I recall?) and will prevent your device from booting. By flashing ElementalX or vegito, you'll bypass that security.
A useful checklist to follow is in this guide here: https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918 Having a newer version of TWRP shouldn't matter (and in fact may present less issues). With step 6, you may choose to flash either magisk or SuperSU as mentioned by tywinlannister7 (I've not had experience with phh superuser, so cannot comment). If, at some point in the future, you wish to swap rooting methods, I'd suggest following the recommended unrooting procedure for your existing root manager (e.g. unrooting from the SuperSU app settings, or flashing the magisk uninstaller, check their respective pages on XDA) before changing root managers. I've used the aforementioned checklist to root a XT1642 on Nougat without issue.
As for downgrading your system to Marshmallow if you so choose, that is possible. Verify the MM firmware you need (a selection for XT1644, retus channel devices, is here https://mirrors.lolinet.com/firmware/moto/athene/official/RETUS/) and use that firmware with a guide like this: https://forum.xda-developers.com/moto-g4-plus/how-to/guide-downgrade-to-marshmallow-nougat-t3515961 If you're using fastboot rather than mfastboot, replace mfastboot in the provided script with fastboot.
EDIT - no worries @pastorbob62 - good to have another member verifying information
Click to expand...
Click to collapse
Thanks for all the information, it is very much appreciated. Thanks to pastorbob62 as well. This information will be very useful.
Sent from my XT1575 using Tapatalk
pastorbob62 said:
NO! NO! NO! Do not use the systemless root method. That is for Marshmallow ONLY!. You will not be able to boot into the system after trying that and you may have to go all of the way back to flashing stock from fastboot to fix it.
ElementX-G4 kernel plays well with Nougat stock. I ran it with stock Nougat for a couple of weeks on my XT1625 without any major issues. So flash it from TWRP. Be sure you have the correct version. Then boot to system to check it out. Next reboot to TWRP and flash SuperSU 2.79. Boot back to the system. It will probably boot a couple of times before the system comes up. Don't panic. You should be good to go.
Edit: Sorry echo92. I was typing my reply at the same time you were. :good:
Click to expand...
Click to collapse
One other thing, can I back up the stock kernel? Or at least find it somewhere for download. Is this something I can backup using TWRP? Thanks again.
Sent from my XT1575 using Tapatalk
robn30 said:
One other thing, can I back up the stock kernel? Or at least find it somewhere for download. Is this something I can backup using TWRP? Thanks again.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
Got it figured out. Backing up my boot.img via TWRP ensures my stock kernel is safe. Already installed elemental X and SuperSU and all went perfectly smooth. Thanks again for the links.
Sent from my XT1575 using Tapatalk
robn30 said:
Got it figured out. Backing up my boot.img via TWRP ensures my stock kernel is safe. Already installed elemental X and SuperSU and all went perfectly smooth. Thanks again for the links.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
You are very welcome. Glad you got it figured out and all is working well. :good:
Hey guys... I know I am late to the thread but if you see this, can you inform me how can I receive updates afterwards? I currently have twrp with elementx kernel and Magisk. And there is a security patch out for the phone. How can I install that?
1emrys1 said:
Hey guys... I know I am late to the thread but if you see this, can you inform me how can I receive updates afterwards? I currently have twrp with elementx kernel and Magisk. And there is a security patch out for the phone. How can I install that?
Click to expand...
Click to collapse
Generally you'd have to revert back to a clean stock ROM, no TWRP, no ElementalX, no magisk. The stock ROM also needs to be in a read only state (no modifications allowed in TWRP) and cannot be debloated (OEM partition needs to be untouched).
You could revert back to a TWRP backup made before you flashed ElementalX, provided you did not let TWRP make modifications. You'd also have to find a stock recovery (if you flashed TWRP), and restore a stock logo.bin as well if you flashed a custom logo.bin to hide the bootloader warning. Then, you should be able to apply OTA/security updates. Attempts to apply OTA updates with TWRP on your device will likely fail and leave you in a soft bootloop unless you boot via the bootloader. You could try this to break the bootloop: https://forum.xda-developers.com/moto-g4/help/troubleshooting-twrp-boot-loop-ota-t3714325
The easiest and safest method I've found is to re-flash the stock ROM you have. Ensure this is the same firmware as you currently have and the latest firmware that you've flashed onto your device (don't downgrade your firmware if possible). You can re-flash without erasing your data by omitting the fastboot erase userdata command. However, I would recommend you back up your device anyway (e.g. in TWRP) and any important files, as although this procedure should not affect your data with that command omitted, any firmware flash has the possibility of affecting your device stability. That may require a factory reset/device wipe to fix. Backing up your data should be standard policy when it comes to flashing anything affecting your device's system/underlying firmware.
After re-flashing the stock ROM, you should be able to apply the OTA update.
Thanks a lot for the detailed answer. I really appreciate people like you. [emoji3]
Sent from my Redmi Note 3 using Tapatalk
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
Hi guys,
I need a proper guide how to install/flash magisk on RR Oreo.
Try to flash it through TWRP and no go. Seems likely i need to flash stock image or probably stock recovery.
Thanks.
same here
For me it's working on any Oreo, just flash in twrp.
If you don't see magisk app after reboot just do another reboot and it'll be there.
Sent from my HTC One using XDA Labs
Hi,
i have an general Question in which sequence the root might been installed? On my OP2 should be working Lineage so does the root installed after flashing custom rom und gapps or before? Lineage overwrite an existing root if i didnt flash in a correct sequence.
Or is it possible that Magisk 18.1 are incompatible with Lineage 15.1?
If someone can answer this question it will makes the flashing procedere for my first time safer.
Best regards
sense92 said:
Hi,
i have an general Question in which sequence the root might been installed? On my OP2 should be working Lineage so does the root installed after flashing custom rom und gapps or before? Lineage overwrite an existing root if i didnt flash in a correct sequence.
Or is it possible that Magisk 18.1 are incompatible with Lineage 15.1?
If someone can answer this question it will makes the flashing procedere for my first time safer.
Best regards
Click to expand...
Click to collapse
flash lineage+gapps, reboot and do the initial setup, reboot in twrp and flash magisk, reboot and install magisk manager manually(lately it's not installed automatically for some reason and root doesn't work without the app).
Device: Moto G4 XT1625 retus (non amazon firmware)
Android version: Android 7.0 April 2018 security update
I have problems on installing magisk on my Moto G4. I have unlocked the bootloader and flashed twrp. When I installed ElementalX Kernel since it's a requirement for magisk to work, my phone just boots fine. But when I will install the latest or old versions of magisk, My phone gets stuck in a boot loop. I tried supersu ans other kernels but no luck of booting my phone with magisk installed. Is there anything that I did wrong? My phone only boots without magisk/supersu installed.
UPDATE: I used Vegito Kernel and now my phone boots with magisk installed.
Stock ROM doesn't like Magisk/SuperSU. You need to reflash the original boot image for it to boot again and I think it'll remove root access. From my experience, a custom ROM improves the hackability of the phone a fair bit (I'm using official Havoc OS, which looks like Android 9 but is based on Android 8.1. It's quite stable actually)