[ THE VZW VARIANT HAS A PERMALOCKED BOOTLOADER AND CANNOT BE ROOTED.]
@squid2's
qualcomm TWRP
https://forum.xda-developers.com/moto-e4/development/twrp-twrp-moto-g4-qualcomm-t3655160
------------------------
To be able to mount system as RW in TWRP you have to go to wipe and format data, after sliding right type yes and this will restore your system to stock unencrypted, once you're done doing that reboot to recovery (NOT SYSTEM) then flash dmnoverity and then whatever root method you prefer phh su, magisk etc.
SuperSU is currently experiencing issues with our firmware.
------------------------
Credit goes to Mer2017
Revised by Myself
Follow the following at your own risk!
I am not responsible for any mishaps with your devices.
The short version is:
1. Unlock the boot loader
2. Boot twrp
3. Flash noverity and magisk
4. Reboot to root'd phone.
0. Prepare
Get the following:
i. Motorola usb drivers: your pc won't talk properly with the device without these. google around for these.
ii. adb and fastboot: used to unlock the bootloader and boot twrp https://developer.android.com/studio/releases/platform-tools.html
iv. no-verity-opt-encrypt-5.1 zip: https://forum.xda-developers.com/moto-e4/how-to/moto-e-guide-to-rooting-t3652982/post74282478
v. Squid2's TWRP for the E4: https://forum.xda-developers.com/moto-e4/development/twrp-twrp-moto-g4-qualcomm-t3655160
vi: (optional) stock roms: in case you need to go back https://androidfilehost.com/?w=files&flid=195327 applying these with RSD lite (if RSD can *actually* detect your phone) or manually (
) should work.
0.1 Prepare the phone:
Get developer options on android and turn on "OEM unlocking" and "USB debugging".
Test that your pc can see the phone by running:
0.2 Dump your zips onto the phone
1. Unlock the boot loader
The post here details how to unlock the motorola boot loader. Keep in mind it will probably void any warranty on the phone. This process involves signing up for a motorola account to get the unlock code.
https://forum.xda-developers.com/showpost.php?p=72878183&postcount=2
2. Boot into bootloader using: adb reboot bootloader
2.1 Flash TWRP using: fastboot flash recovery twrp.img
2.2 Now type fastboot reboot recovery and TWRP should start.
3. Flash magisk and no-verify zip
In twrp, go to wipe, format data and slide it, type yes this unencrypts the device. Now reboot the RECOVERY and set system as r/w. Now flash dmnoverity, and then flash magisk.
4. Reboot
That should be it. When you reboot back to android, install magisk manager if you haven't already and feel free to use your root.
Thank you so much for this! Seems like this can all be done on the phone itself? Does it require a microsd?
Sent from my Moto E (4) using Tapatalk
I'm not sure, since I have a micro SD I used it but you should be able to get away with it without one.
Also aside from unlocking the bootloader and booting into twrp from a pc the rest is done on the device.
Which version of the E4 can this be done? There is some variants of this.
I use the metro pcs snapdragon one, most other people are reporting success with other prepaid carriers I'm assuming most of them have the snapdragon variant.
picsles said:
Thank you so much for this! Seems like this can all be done on the phone itself? Does it require a microsd?
Click to expand...
Click to collapse
I don't see how this is possible without a sd card, since you can't get root if you give TWRP access to your data, so where would you put the rooting files like the noverify zip and the magisk zip
True I didn't even think about that, yeah you need an SD card, and make sure it's formatted as external memory. After root you can reformat it to internal again If you wanted
i guess no root ever for xt1767 vz since bl can't be unlocked
Can I flash the Amazon stock rom onto the Verizon variant of the e4?
Mensarius said:
Can I flash the Amazon stock rom onto the Verizon variant of the e4?
Click to expand...
Click to collapse
More than likely no, unless your bootloader is unlocked there's not much you can do, and cross carrier roms might not work for everyone.
Mensarius said:
Can I flash the Amazon stock rom onto the Verizon variant of the e4?
Click to expand...
Click to collapse
Why would you want to do that?
I read that the amazon variant has a boot loader that could be unlocked.
mendelgordon said:
I don't see how this is possible without a sd card, since you can't get root if you give TWRP access to your data, so where would you put the rooting files like the noverify zip and the magisk zip
Click to expand...
Click to collapse
This is why I asked. Thank you though everyone !
Sent from my Moto E (4) using Tapatalk
Mensarius said:
I read that the amazon variant has a boot loader that could be unlocked.
Click to expand...
Click to collapse
It doesn't work that way, flashing a different firmware won't change your bootloader unlocking capabilities, since to unlock the bootloader you need a code from Motorola, and they won't give it to you for the Verizon version.
Help!
"Your device does not qualify for bootloader unlocking." Can someone please help me with this issue? Everything I put in was correct. I have a moto E4 verizon version.
You can't unlock the bootloader on a Verizon E4
KyleBryant said:
You can't unlock the bootloader on a Verizon E4
Click to expand...
Click to collapse
Is this working on international mediatek variant {XT1760}
No idea, give it a shot and report back if it works.
did u have backup of moto e4 stock firmware ?
(XT1760 - international version)
Mtk-droidtools failed to load rom structure and Miracle-tool dump a buggy Scatter file, with partition index error.
Anyway to extract stock rom without any error.
I don't have one, and I'm not sure. I've never ran into an issue like that.
Related
Hi guys ☺,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Nobody?
Sent from my LG G4
Hi,
root without unlocking bootloader works only on lollipop, right. Not sure if u can downgrade, but when, u will use "LGUP" tool with the "H81510D.kdz" file. Maybe there exists a pre-rooted kdz to flash.
If u want to root android 6, u need a unlocked bootloader. Rooted Android 5.1.1 or unlock bootloader with rooted android 6.x.x
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Im also Confused..Where can i find rooted kernel?
I already did this Method u said...But I got Boot Loop
Then I revover my phone with Lg Bridge
We need to find this.....I also Had Android MM with V20d
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
In my case I wasn't able to flash recovery on the stock kernel, I had to flash boot.img unpacked from the custom kernel like SimpleGX and only then I was able to flash recovery and full kernel through it.
welder73 said:
Hi guys ,
I bought today G4 eu model,it came with Marshmallow 6.0 V20d version.
I want to root it because of Greenify and Xposed,to increase the battery time,maybe later to flash some rom but...
There is a lot of topics on this subject,I started to read but I'm lost right now...as far as I saw,I can't root Marshmallow without unlocking the bootloader,only Lollipop,right?
Is it a big trouble to go back from MM to LP?
I'm not new in this flashing and rooting stuff,I had (still have) a Motorola Razr XT910,I flashed it 100 times for sure for 3.5 years but I didn't had to unlock the bootloader (it's impossible anyway) and there's a custom recovery Safestrap,modified Twrp which allows to flash and use 6 different roms,from JB to MM,without changing the kernel...
I will be grateful if someone can point me in the right direction,to give me some useful links etc.
And is there some list which procesess are safe to freeze with TB and which ones I can greenify?
Oh,and the bloatware too...
Sorry if I'm demanding but I want to bring out the best from this phone
Thank you in advance
Sent from my LG G4
Click to expand...
Click to collapse
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
dbzgoku said:
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
Click to expand...
Click to collapse
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
welder73 said:
My method:
1. The same
2. The same
3. Flash twrp.img with twrp
4. Reboot to recovery
5. Reboot to the system
6. Done
Viper4android works (judging by what other people say)
I don't know about spirit fm,I don't use it
Xposed is working fine
What's your problems with Xposed btw?
Sent from my LG G4
Click to expand...
Click to collapse
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
dbzgoku said:
I didn't know i could flash something other than .zip files with twrp.
As for viper4android i tried normal way, flashed it with twrp, flashed extreme music mod with v4a fix. None seem to work. The drivers never get installed.
Xposed i haven't tried. I was in process of getting more information about it by reading various threads. But all seem to point to problems like bootloop, fc and Bluetooth issues. Can you guide me towards the best version of xposed for v20d with way to avoid problems or with as less problems as possible?
Click to expand...
Click to collapse
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
welder73 said:
Here is the official Xposed thread
http://forum.xda-developers.com/showthread.php?t=3034811
Download xposed-v80-sdk23-arm64.zip and flash it with Twrp.
Download XposedInstaller_3.0_alpha4.apk and install it.
And just in case if you have a bootloop,download xposed-uninstaller-20150831-arm64.zip.
I haven't had any problems
Oh,be careful which Xposed module you install.Here is the thread of working/not working modules
http://forum.xda-developers.com/showthread.php?t=3180217
Your bootloader is unlocked,right?
Sent from my LG G4
Click to expand...
Click to collapse
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
dbzgoku said:
Thanks
I am gonna try it today.
And yes my bootloader is unlocked. We can't root marshmallow without unlocking bootloader.
Click to expand...
Click to collapse
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
---------- Post added at 10:53 ---------- Previous post was at 10:51 ----------
@welder73 I wrote wrong guy I'm sorry.
Flash Imperium Kernel or SimpleGX Kernel. I used their kernels and ROMS on my older phones, they are legend. I suggest you to flash Imperium Rom. It includes kernel and everything and it is updated regularly by its dev.
This is kernel thread: http://forum.xda-developers.com/g4/orig-development/kernel-imperium-kernel-g4-v1-0-t3282915
This is ROM: http://forum.xda-developers.com/g4/development/rom-imperium-rom-g4-v1-0-t3312337
FINALLY Root My H815 Android 6.0 V20d
Hi to all!
As you have you bootloader unlocked, you can root your h815 M6 V20d with this method.
I was looking for days, and today i found this http://www.tuttoapp-android.com/root-lg-g4-h815-e-installazione-recovery-18188/
and now my g4 is rooted
Good luck!
p.s. Firstly convert the language from italian to english or ever you want
welder73 said:
Ok,I successfully unlocked the bootloader but now I'm stuck with rooting and installing Twrp...
I've downloaded BETA-SuperSU-v2.67-20160121175247 and TWRP-3.0.0.0-H815+ but there's a lot of metods,which one should I use?
Flash SuperSu+Twrp with stock recovery?
Install Twrp with adb command and then flash SuperSu with Twrp?
Install both with adb command?
I also saw somewhere that I must flash some other kernel that is already rooted...
I just need root and the Xposed for now,help me guys!
Click to expand...
Click to collapse
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
dontpannic said:
Unlock bootloader
adb reboot bootloader
fastboot boot twrp-3.0.0.0-h815.img
install -> images -> twrp-3.0.0.0-h815.img
reboot -> recovery
install -> BETA-SuperSU-v2.67-20160121175247.zip
reboot system
Click to expand...
Click to collapse
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Zanina said:
I think doesn't need to install recovery to root the phone.
Just this:
1) adb reboot bootloader
2) fastboot boot TWRP-2-8.7.0-h815.img
Wait a second and it will open, on the phone, the recovery.
Once open go to Advanced -> ADB sideload and take a swipe to start it where it says "Swipe to Start sideload".
Now on the PC write
3) adb sideload BETA-SuperSU-v2.67-20160121175247.zip
( If it says after the instalation to install supersu etc just abort it)
And then, when installation is complete, press "Reboot System"
I rooted it this way, without install TWRP Recovery
Click to expand...
Click to collapse
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
dontpannic said:
Yeah - but the question has to be asked - why unlock the bootloader and root and not install TWRP? If you've got as far as unlocking the bootloader you might as well make life easier for yourself and install TWRP - that way anything you want to flash in the future can be done without being tethered to the PC, and also allows you to take proper full system image backups etc.
Click to expand...
Click to collapse
Of course , i agree with you. By the way, we can't root g4 on m6 without unlocked bootloader.
And finally, i decided to pass twrp on my phone, for every file i want to install from twrp, and not every time to boot from pc
You're right
p.s. the first thing i did after twrp installed, was to install g5 live wallpapers
Looking for the best available root for the lg g4 marshmallow international version, even a 1 click method
If you searched you'll realise there's no root for locked bootloader G4s on MM.
lambstone said:
If you searched you'll realise there's no root for locked bootloader G4s on MM.
Click to expand...
Click to collapse
He said international dude... The H815 which has unlocked boot loader. Very useful reply. But I too need to know the best method.
LightInDark said:
He said international dude... The H815 which has unlocked boot loader. Very useful reply. But I too need to know the best method.
Click to expand...
Click to collapse
Wait will the international version work in the US on ATT?
LightInDark said:
He said international dude... The H815 which has unlocked boot loader. Very useful reply. But I too need to know the best method.
Click to expand...
Click to collapse
What? H815SEA and H815EU are both international variants but only H815EU can be unlocked.
The best method is to flash boot.img unpacked from the custom kernel like SimpleGX via fastboot that will allow you to further flash TWRP in which you'll flash full kernel package to avoid software problems and lastly SuperSU
the method i followed was-
1. boot into twrp recovery with adb command(you need to have the twrp.img file in PC and also copy it in internal memory of your phone with SU)
2. flash systemless root with twrp
3. reboot
4. install flashify
5.flash twrp.img from your phone.
6. done
but there aren't as much benefits of rooting as any other phone. viper4android doesn't work. spirit fm doesn't work. xposed doesn't work properly.(these 3 were the main reasons for which i rooted)
Hello Everyone,
how to root Asus Zenfone 3 Deluxe ZS570KL 2.15Ghz with Android 7.0?
It's possible? There are root solutions without unlocking bootloader?
Thank you
I believe you might be able to with a systemless root. This may cause issues though without the bootloader unlock.
What I'd do, and I've already unlocked my bootloader, is boot TWRP, this won't replace your recovery and will disappear next boot, then flash magisk systemless root.
This should allow root with a locked bootloader BUT I can't try this now as I have an unlocked bootloader.
You'd do this through fastboot.
Be prepared to reflash your stock rom if you do get a soft brick...
ultramag69 said:
I believe you might be able to with a systemless root. This may cause issues though without the bootloader unlock.
What I'd do, and I've already unlocked my bootloader, is boot TWRP, this won't replace your recovery and will disappear next boot, then flash magisk systemless root.
This should allow root with a locked bootloader BUT I can't try this now as I have an unlocked bootloader.
You'd do this through fastboot.
Be prepared to reflash your stock rom if you do get a soft brick...
Click to expand...
Click to collapse
Thanks ultramag69 for info. Have you a guide for safe root? The only guide that seemed trustworthy that I found on the internet, unfortunately it was written in Chinese.
vodafonever said:
Thanks ultramag69 for info. Have you a guide for safe root? The only guide that seemed trustworthy that I found on the internet, unfortunately it was written in Chinese.
Click to expand...
Click to collapse
OK, if you are game...
As I said, my phone has bootloader unlocked so this worked fine, I don't know if it will work.
Essentailly you replace the stock recovery with TWRP TEMPORARILY, just one boot.
Download magisk systemless root file and put on sd card. Also activate developer settings and tick " USB Debugging".
Put TWRP file in folder with fastboot files on PC, hold shift and right click. Select "open CMD window here".
Put phone in fastboot mode. Attach to PC with usb.
Type in cmd window "fastboot devices", you should see you're serial number come up on another line if you are connected.
Type "fastboot boot twrp.img" - make sure the twrp file is named this.
You should reboot to TWRP. Make sure you DON'T select "Alter system files" as you're bootloader is locked.
Install magisk systemless root file from TWRP.
Reboot and see if it works...
As I said, I did this after I unlocked the bootloader but as magisk is a systemless root I don't see this not working.
That said there is always a risk when doing this sort of thing and I would urge you to unlock bootloader 1st as this makes it a bit easier to fix if things if something does go bad...
Yes, right. No root and TWRP for Anus ZendFone 3 Deluxe ZS570KL yet.
May be it become later. Right? Right!
PaulPP said:
Yes, right. No root and TWRP for Anus ZendFone 3 Deluxe ZS570KL yet.
May be it become later. Right? Right!
Click to expand...
Click to collapse
If you unlock your bootloader then yes there is a TWRP you can flash and from there gain root by either flashing SuperSU or Magisk.
I prefer not to replace my recovery as when I was trying to gain root there was a problem with TWRP registering the touches in a reversed position, top right corner would register bottom left corner and so on. So instead I booted TWRP and installed Magisk, this gained root access but allowed flashing OTA updates instead of having to download a 2gb rom by keeping stock recovery.
Twrp has since been fixed and should be fine now but I still prefer to keep stock recovery, it's really up to you, either use "fastboot boot twrp.recovery" to temporarily replace stock (it reverts to stock when you reboot) or "fastboot flash twrp.recovery", this will flash twrp to your device permasnently (or until you want to replace it).
At the moment, magisk is not allowing safety net to pass but there should be an update soon that will fix this, flashing supersu will never allow a safetynet check to pass...
Again, up to you and how you use your device but either way will give you root access....
ultramag69
I have questions:
1. Where I can download fresh TWRP for Z016D model?
2. After install Magisk I must restart device for remove TWRP to stock recovery?
Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
JIJOK said:
Thats the question, can "easily" install magisk on stock rom (.236) unrooted ? since magisk thread says that root is not necessary, its ask for stock boot img that cant be obtained w/o root
Click to expand...
Click to collapse
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
levone1 said:
Never tried, but even though root may not be needed, unlocked bootloader probably is. Magisk non-system works by patching boot img... If you unlock bootloader you probably can use it.
Click to expand...
Click to collapse
so, can get the image by just unlock the bootloader ? I though root was necessary for that
JIJOK said:
so, can get the image by just unlock the bootloader ? I though root was necessary for that
Click to expand...
Click to collapse
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
levone1 said:
You can unlocked bl by official Sony method, then flash recovery with adb. Boot to recovery and flash Magisk.
Backup ta - https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
Unlock bl - https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader
Recovery img - https://androidfilehost.com/?fid=961840155545588613
You can try flashing recovery within locked bl, but I don't think it would work.
Click to expand...
Click to collapse
So, if you was wondering it, no, cant flash it with locked bl.
At the moment Backup ta didnt work, will check that thread
And thanx the help, nice to have you on z1c forum :good:
perfect. thx! i was already wondering, if i had to downgrade my z1c in order to get the recovery back. but now, how i do i flash magisk from here?
when i try to flash, i get an error message saying, that the ftf is in sony elf32 format and that i need bootbridge from @AdrianDC to flash.
anyone ever did that or has a better idea?
just tried it now and ended up in a bootlop
It is many months after this post, but in case this helps anyone, here is the answer.
BootBridge method is pretty simple and it worked for me.
On an un-rooted device. (important)
Just rename magisk zip to "install.zip" put it in a folder called install.
Then with 7zip, create a zip-file, include the bootbridge folders, "META-INF" and "scripts" with the "install folder" you just created.
Then name it "anything_you_like.zip" and flash with TWRP
Basically Magisk is SuperSU alternative and provides SuperSU service for your device. ( roots it )
No problems for me at this point. Working on 14.5.A.0.270 and can also get working on 14.6.A.0.236 but have other problems related to getting compatible recovery on 236.
Eventually in recovery, system mount and unmount break for me, then other mounts eventually fail after trying to get Nanodroid working (My Goal to UnGoogle my Z1c) and can't wipe format or anything (only way to fix is reflash with flashtool)
Deodexed ROM seems to be necessary for Nanodroid and this is causing additional problems for me.
If I have to run with unlocked bootloader, I think AOSP may be a better starting point.
Anyone has the latest(released Feb 16th) oreo OTA full stock firmware from T-Mobile?
I tried pulling it from a logcat. Was going to fastboot flash it since I can't install it while rooted. Every url I found in the logcat gave me a 405 error though.
I got another Moto Z2 Force today. Fresh out of the box TMO. Came with the OCX27. I have not yet taken the update. If someone can guide me on how to extract the OTA That'd be helpful. Only thing I am willing to do so far with this new device is unlock the bootloader that's it. I will not root or install TWRP until I can extract the OTA and attempt to fix my other device stuck in an unknown baseband no IMEI state. I got there by attempting to install TWRP and root with Magisk.
droidgreg said:
I got another Moto Z2 Force today. Fresh out of the box TMO. Came with the OCX27. I have not yet taken the update. If someone can guide me on how to extract the OTA That'd be helpful. Only thing I am willing to do so far with this new device is unlock the bootloader that's it. I will not root or install TWRP until I can extract the OTA and attempt to fix my other device stuck in an unknown baseband no IMEI state. I got there by attempting to install TWRP and root with Magisk.
Click to expand...
Click to collapse
Pulling the log through ADB will yield the OTA download link. That's how @joemossjr and I grabbed the Oreo update from nougat for TMO and Sprint.
Uzephi said:
Pulling the log through ADB will yield the OTA download link. That's how @joemossjr and I grabbed the Oreo update from nougat for TMO and Sprint.
Click to expand...
Click to collapse
Step by step instructions would be appreciated.
droidgreg said:
Step by step instructions would be appreciated.
Click to expand...
Click to collapse
It's hard to explain. You have to capture the moment the phone grabs the OTA file from Motorola's update website.
Enable developer options
Enable ADB
Plug phone up to a PC that has updated ADB binaries
Open terminal/command prompt
Adb shell
Logcat
After you do that your terminal of choice will start spitting out the log.
Run the system updater.
Download the OTA. At that moment, one of the logs should give you a VERY long URL. That's the download link you're looking for.
Copy and paste into your browser. You should be auto downloading it.
Done
Very stupid question, but I have to ask, because Moto is a bit wonky on bootloaders and updates, etc.
I'm currently on OCX27 and I've got the notification to download OCX27.1. I do have an unlocked bootloader and I am rooted with Magisk. Since I have not overwritten the recovery partition, can I take this update? On most other phones I have, I've been able to restore the stock recovery partition, flash the update, and flash TWRP back on, but on this Moto, I chose to boot twrp for loading magisk via adb. Make sense? If I'm not able to take this update, can I shut these update notifications off? They are already off in dev options.
Thanks in advance!
joesee said:
Very stupid question, but I have to ask, because Moto is a bit wonky on bootloaders and updates, etc.
I'm currently on OCX27 and I've got the notification to download OCX27.1. I do have an unlocked bootloader and I am rooted with Magisk. Since I have not overwritten the recovery partition, can I take this update? On most other phones I have, I've been able to restore the stock recovery partition, flash the update, and flash TWRP back on, but on this Moto, I chose to boot twrp for loading magisk via adb. Make sense? If I'm not able to take this update, can I shut these update notifications off? They are already off in dev options.
Thanks in advance!
Click to expand...
Click to collapse
I used titanium backup to freeze the update service as it's named in the notification.
charlatan01 said:
I used titanium backup to freeze the update service as it's named in the notification.
Click to expand...
Click to collapse
Thank you. I looked under U for update. I should have searched... It's actually called Motorola Update Services.
joesee said:
Very stupid question, but I have to ask, because Moto is a bit wonky on bootloaders and updates, etc.
I'm currently on OCX27 and I've got the notification to download OCX27.1. I do have an unlocked bootloader and I am rooted with Magisk. Since I have not overwritten the recovery partition, can I take this update? On most other phones I have, I've been able to restore the stock recovery partition, flash the update, and flash TWRP back on, but on this Moto, I chose to boot twrp for loading magisk via adb. Make sense? If I'm not able to take this update, can I shut these update notifications off? They are already off in dev options.
Thanks in advance!
Click to expand...
Click to collapse
You won't be able to update through OTA if you're rooted
https://we.tl/B4j816Z2n8
Here's the link to the TMO OCX27.1 OTA firmware if anyone needs it.
Hi, I am wondering, if I am on ocx 27 do you guys think the 27.1 ota will install in adb sideload as it won't install in ota and I am not rooted. Also, is there a way to extract the bin in the ota?
droidgreg said:
I got another Moto Z2 Force today. Fresh out of the box TMO. Came with the OCX27. I have not yet taken the update. If someone can guide me on how to extract the OTA That'd be helpful. Only thing I am willing to do so far with this new device is unlock the bootloader that's it. I will not root or install TWRP until I can extract the OTA and attempt to fix my other device stuck in an unknown baseband no IMEI state. I got there by attempting to install TWRP and root with Magisk.
Click to expand...
Click to collapse
Did you get your second Z2 rooted and if so did you use magisk v16? I just got a Z2 today that is on the December 1, 2017 security patch, OCX27.1, Android 8.00 and I'd like to root but hesitant. I have already unlocked the bootloader, placed magisk and twrp-3.2.1-1-nash zip(s) in internal storage, and know how to fastboot boot into recovery, I just don't want to brick my new phone. Any help with step by step instructions once I'm in TWRP to flash magisk is greatly appreciated! Do I need to do any of the following: Keep system read only or allow modifications before flashing magisk? wipe data/factory reset, mount storage, wipe cache and dalvik after flashing? Thanks in advance!
climbhigh77 said:
Did you get your second Z2 rooted and if so did you use magisk v16? I just got a Z2 today that is on the December 1, 2017 security patch, OCX27.1, Android 8.00 and I'd like to root but hesitant. I have already unlocked the bootloader, placed magisk and twrp-3.2.1-1-nash zip(s) in internal storage, and know how to fastboot boot into recovery, I just don't want to brick my new phone. Any help with step by step instructions once I'm in TWRP to flash magisk is greatly appreciated! Do I need to do any of the following: Keep system read only or allow modifications before flashing magisk? wipe data/factory reset, mount storage, wipe cache and dalvik after flashing? Thanks in advance!
Click to expand...
Click to collapse
All you need to do is grab the latest twrp img and zip file from twrp. Should be version 3.2.1-1
Then fastboot boot the img file, then once in twrp you want to flash the zip file, then when that is done reboot back into recovery
Then simply flash Magisk and reboot. Done.
How should I properly Flash Stock Firmware?
New to Moto phones and wondering what the correct method is for reverting to stock? I downloaded the 27.1 Oreo zip from this thread, do I flash it in twrp or should I flash it in adb from the bootloader? I get the following error message in twrp whenever I wipe dalvik/cache, try to install a zip, or do a backup which always says fail. I need a fresh install and re root, etc. Thank you!!
climbhigh77 said:
New to Moto phones and wondering what the correct method is for reverting to stock? I downloaded the 27.1 Oreo zip from this thread, do I flash it in twrp or should I flash it in adb from the bootloader? I get the following error message in twrp whenever I wipe dalvik/cache, try to install a zip, or do a backup which always says fail. I need a fresh install and re root, etc. Thank you!!
Click to expand...
Click to collapse
you can not flash with twrp. open the zip and see if there is a "flash-all.bat" file as well as adb and fastboot files. if not then pull them from one of the other flashall zips and add them to 27.1 zip. boot your phone to the bootloader, connect usb cable to your device and pc, then run the .bat file.
mattlowry said:
you can not flash with twrp. open the zip and see if there is a "flash-all.bat" file as well as adb and fastboot files. if not then pull them from one of the other flashall zips and add them to 27.1 zip. boot your phone to the bootloader, connect usb cable to your device and pc, then run the .bat file.
Click to expand...
Click to collapse
Factory reset gets the same error message shown in the attached photo. Thanks for the info, unfortunately I'm still a bit confused. Is this the only method to return to stock? I've searched but I'm not finding much and this method is completely new to me. In the past I've used Odin and LG up with my other devices, this is my first motorola. If I wipe internal storage in twrp will that erase the OS and need a new install? I am thinking that may clear up my issues but nervous that the phone won't boot up after that. Thanks and my apologies for my noob questions.
climbhigh77 said:
Factory reset gets the same error message shown in the attached photo. Thanks for the info, unfortunately I'm still a bit confused. Is this the only method to return to stock? I've searched but I'm not finding much and this method is completely new to me. In the past I've used Odin and LG up with my other devices, this is my first motorola. If I wipe internal storage in twrp will that erase the OS and need a new install? I am thinking that may clear up my issues but nervous that the phone won't boot up after that. Thanks and my apologies for my noob questions.
Click to expand...
Click to collapse
unfortunately other than manually fastbooting each img file to your phone this is the only way. check out this https://forum.xda-developers.com/z2-force/how-to/to-stock-roms-t3672859
BROKEN
droidgreg said:
https://we.tl/B4j816Z2n8
Here's the link to the TMO OCX27.1 OTA firmware if anyone needs it.
Click to expand...
Click to collapse
Please upload again. Thx
sd_N said:
Please upload again. Thx
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=673956719939833411
Here's the official 27.1 firmware. The flashfile.xml has the correct order and commands to flash in fastboot, or search xda for the converter to a flashall.bat.
Sent from my Moto Z (2) using XDA Labs