Decided to do this write up to hopefully create a one stop shop for all. Thank you MODs for sticky!
DISCLAIMER - Modify your device is at your own risk. Check any command set you use to flash a rom to assure it does NOT have a command to relock the bootloader. DO NOT under any circumstances attempt to re-lock your bootloader!
Enjoy!
1. Who makes the Moto X4?
Manufactured by Motorola which is owned by Lenovo.
2. How many variants/models are there of the Moto X4?
Motorola Moto X4 XT1900-01 variant
3 Models: Retail, Android One, Amazon
Canada, USA
Motorola Moto X4 XT1900-02 variant
Australia, India, Indonesia, Japan, New Zealand
Motorola Moto X4 XT1900-04 variant
Latin America
Motorola Moto X4 XT1900-05 variant
Europe
Motorola Moto X4 XT1900-06 variant
Brazil
Motorola Moto X4 XT1900-07 variant
Italy, Ukraine,
Discussion thread here started by @Jithin91.
3. Is there a difference between the models?
They have the exact same hardware other then certain non-US variants offer dual-sim, 4gb memory, and 64gb storage options. Their firmwares are different slightly. XT1900-01: Retail has more Motorola apps and features like the One-Button Nav exclusively. Android One is more of a pure Android experience and will have the least bloatware but has some Motorola features. Amazon has Alexa and some Motorola features.
4. Can the bootloader be unlocked and how?
The only way to know if your variant can be unlock is via Motorola's website, via their instructions. There is no alternative method. This is the definitive way to find out if yours can be unlock. Typically, users are reporting that the Amazon model cannot be unlocked.
Lenovo themselves has not released factory signed stock images. Once you unlock the bootloader, THERE IS NO RETURN. Orange bootloader msg will appear at boot, even when you perform #9. SafetyNet will pass if not rooting.
5. Can it be rooted, and how? Custom recovery (TWRP)?
Bootloader must be unlocked first.
[GUIDE][Video] How to Root Moto X4 & Install TWRP Recovery by @munchy_cool
SafetyNet passes with latest Magisk
Don't forget to grab latest files from XDA Magisk Thread and TWRP. Have to install apk after flashing.
6. How do I remove the orange unlock bootloader warning at boot?
[GUIDE][Video/Text] How to Remove Unlocked Bootloader Warning on Moto X4 by @munchy_cool
Also, if you flash stock firmware, the msg is there only on Oreo 8.1 and Pie. The msg isn't there if you flash Nougat or Oreo 8.0.
7. Are there any customs ROMs/Kernels yet?
First off, BIG thanks to @erfanoabdi! He didn't even own the device but did the work to make it possible.
[ROM][OFFICIAL]Lineage OS 15.1 by @munchy_cool
[ROM][Unofficial][20180617]CarbonROM | cr-6.1 [payton] by @munchy_cool
[ROM][Unofficial][20180630]Resurrection Remix v6.1 [payton] by @filipepferraz
[KERNEL][FEB 8] RyzenKernel -r3 (stock/oreo) by @kraatus90
[TREBLE][PORT] Android P DP5 for Moto X4 [20180801] by @munchy_cool
Not an all inclusive list, head over to MOTO X4 ROMS, KERNELS, RECOVERIES, & OTHER DEVELOPMENT
8. Is Lineage going to be OFFICIAL?
It is in the works but no timeline so don't ask. One prerequisite for it, is the dev must own the device. That process was started, refer to this thread.
9. How do I go back to stock?
[Guide][Video/Text] How to Flash Official/Factory Firmware (Moto X4) by @munchy_cool
10. Where do I download firmwares?
Beware that Motorola have not officially released signed stock images, can double check here. The urls below are by users.
[url]https://www.motox4custom.com/firmwares[/URL]
[url]https://androidfilehost.com/?w=files&flid=229118[/URL]
[url]https://firmware.center/firmware/Mot...tock/XT1900-1/[/URL]
[url]https://mirrors.lolinet.com/firmware/moto/payton/official/[/URL]
Full Firmware 2018 November Android One Oreo 8.1 here by @Comby_sk
Full Firmware 2018 November Android One Pie 9.0 posted here by @Comby_sk
Work in progress... Will edit/update as needed and conveniently able.
11. Can I flash a different stock firmware on my device? ie flash Android One on Retail or another variant
Yes. Non-US variant users have reported successful flashes of US firmwares in this thread. Ensure you have a TWRP backup before performing just in case.
12. I am rooted and now Official OTAs don't install
This is a known issue with no fix. Your only option is to wait for copy of latest firmware to be available and manually flash it without the erase userdata to keep your data (customized script here). Another option is if you are receiving the OTA notification, manually re-flash current firmware build without the erase userdata to keep your data and proceed to accept the OTA (You will have to re-install TWRP/re-root.)
13. What the hect is this A/B partition stuff people keep mentioning?
Great XDA article will best explain it all.
When you boot into TWRP, where it shows that active slot, remember when you do a flash you flash to the other slot. Example: If you're on A, you will flash to slot B and vice versa. Yes you can have stock firmware on one and a custom ROM on another but they share the same data partition. So its not dual boot in the way you're thinking.
14. Best camera to use?
Refer to this XDA Thread by @uccollab and this reddit thread.
15. I'm not on Retail version, how can I enable One Button Nav?
For Oreo - TBD
For Pie - Post by @jhedfors - Need root
*reserved*
I have an XT1900-7 with 3GB RAM / 32GB Storage / Dual Sim, it was sent direct from Motorola/Lenovo as a replacement, anyone know what variant this would be? It came with a two-pin Turbo Power adapter but I am in the UK, they then sent me a UK charger.
Don't have 8.1 yet but have the notification for the OPWS27.2.3, 1 June 2018 OTA update although I can't install it due to an error. I have Magisk installed with unlocked Bootloader etc. Don't have a backed up bootloader from stock unfortunately as it was wiped when I did the whole bootloader/magisk thing.
Would it be safe to flash the 8.1 update from here: https://androidfilehost.com/?fid=746163614322270003
Cheers for the info.
Z3RO2K said:
I have an XT1900-7 with 3GB RAM / 32GB Storage / Dual Sim, it was sent direct from Motorola/Lenovo as a replacement, anyone know what variant this would be? It came with a two-pin Turbo Power adapter but I am in the UK, they then sent me a UK charger.
Don't have 8.1 yet but have the notification for the OPWS27.2.3, 1 June 2018 OTA update although I can't install it due to an error. I have Magisk installed with unlocked Bootloader etc. Don't have a backed up bootloader from stock unfortunately as it was wiped when I did the whole bootloader/magisk thing.
Would it be safe to flash the 8.1 update from here: https://androidfilehost.com/?fid=746163614322270003
Cheers for the info.
Click to expand...
Click to collapse
Go to settings, system, regulatory information, what variant does it say?
Is that an OTA or full firmware? Should be safe. For an OTA, it will fail if it can't install.
Neffy27 said:
Go to settings, system, regulatory information, what variant does it say?
Is that an OTA or full firmware? Should be safe. For an OTA, it will fail if it can't install.
Click to expand...
Click to collapse
Think it's Europe? Attached screenshot.
No idea what it is, I just got the latest link you posted from that site. It's a generic retail 8.1 update it seems.
Z3RO2K said:
Think it's Europe? Attached screenshot.
No idea what it is, I just got the latest link you posted from that site. It's a generic retail 8.1 update it seems.
Click to expand...
Click to collapse
In this thread, various variants have reported successful flashes of US firmwares.
Mods - request sticky
Updated FAQs.
Are there MODs for Moto X4?
Neffy27 said:
Updated FAQs.
Are there MODs for Moto X4?
Click to expand...
Click to collapse
report the thread, non urgent and ask for it to be stickied.
Thanks for this thread. I got Moto X4 today, coming from the Nexus 5X....
I have some concerns about OEM unlocking, bootloader as well, damn a/b partitions, variants...
It was way simpler and seemed safer with nexus devices I have.
Is there some kind of emergency recover software for if whatever goes wrong to manage fixing softbricks and returning to safe stock in such cases, like wugsfresh NRT?
Sent from my payton using XDA Labs
jugoslavpetrovic said:
I have some concerns about OEM unlocking, bootloader as well, damn a/b partitions, variants...
It was way simpler and seemed safer with nexus devices I have.
Is there some kind of emergency recover software for if whatever goes wrong to manage fixing softbricks and returning to safe stock in such cases, like wugsfresh NRT?
Click to expand...
Click to collapse
There is no 3rd party software available at this time. It is definitely more then just flashing a single Google factory image image via recovery. We're spoiled.
Fixed broken link in #5.
Updated with more current information and links.
Updated Question 12: Install OTA with root workaround.
Updated various verbage.
Still need to add/update links.
Can you please explain what are firmware files as given in second post in official lineage os 15? And what to do with these firmware files?
pothaiahgari omkar said:
Can you please explain what are firmware files as given in second post in official lineage os 15? And what to do with these firmware files?
Click to expand...
Click to collapse
There's only one main download link for Lineage firmware on that second post. What are you trying to find out exactly?
There are some firmware files below the "copy partition.zip" file on that second post. I mean what are those files? There is no description about those files on that thread. I asked on that thread. And I got replied as refer to your this thread of Moto X4 F.A.Q.s. Kindly tell me.
Hi I have a xt1803 G5S Plus, retgb and have recently unlocked bootloader and rooted my stock ROM which is NPSS26.116-26-14.
I have noticed there are higher version numbers available like NPS26.116-61. How do I go about having the latest stock ROM with twrp and root access? I'm guessing the stock ROMs are not flashable via twrp. Would I have to flash the latest stock ROM via ADB like it explained here
https://forum.xda-developers.com/mo...lash-official-firmware-moto-g5s-plus-t3681018
and then unlock bootloader again, flash twrp etc like starting from scratch?
I honestly would not recommend flashing NPS26.116-61 to your device. Despite the version number being higher, that firmware is actually for a different region (I think NPS26.116-61 series firmwares are for India and Indonesia, whereas the NPS26.116-26 series is for EU/UK). If you flash that, you may find yourself ineligible for OTA updates at all, since your build does not match that expected by the stock OTA servers, and if there are incompatibilities between the firmwares - since they are for different regions - you may have issues with IMEI/SIM access.
If you wanted to update though, you'd have to follow the steps in that guide. Though I don't have a G5S Plus, you would have to remove TWRP/root through a stock ROM flash (no need to re-lock bootloader), then update via OTA, then flash TWRP and re-root. If you can find a stock ROM with the same firmware build as you have now, you may be able to preserve your data by omitting the 'fastboot erase userdata' command from the stock ROM flash commands, but I would recommend you have a backup (e.g. TWRP backup) before flashing anything.
There's a copy of the NPSS26.116-26-18 stock ROM (June 2018 stock ROM) here, flash at your own risk: https://forum.xda-developers.com/showpost.php?p=77025728&postcount=507 This build was released as an OTA update to retgb devices as reported here: https://www.reddit.com/r/MotoG/comments/8w0c0c/june_patch_now_available_on_retgb/
My phone was previously rooted with magisk. I did a complete uninstall of magisk and then fully wiped my phone and installed the stock image. I've tried this multiple times now. After my phone gets set up, I try to download the OTA updates, and it will just say the update failed. Is there something else I am missing here? What is causing me to be unable to update?
Back when the 8.1 update was offered OTA I had a similar problem. For whatever reason OPW28.1 (OPW28.46-13) failed every time. I had to wait for the flashable firmware to become available and then flash it. After that I took all OTAs just fine up to the current version (Jun 2018). If you are willing to wipe your phone you can try to flash the latest firmware instead of trying OTAs.
Latest one is OPW28.3 (OPW28.46-21) 8.1.0 w/ June 2018 security patch:
Moto X4 Retail https://androidfilehost.com/?fid=5862345805528054494
Moto X4 Amazon edition https://androidfilehost.com/?fid=5862345805528062525
Moto X4 Android One https://androidfilehost.com/?fid=5862345805528054493
Knowledge of ADB and fastboot is required.
xt1900-1 payton_fi retus
Thanks, I was actually trying something similar when you posted.
I had previously been flashing OPWS27.57-25-6-10 which is 8.0, and it would fail to update every time.
I decided to try a different stock image, and I found an 8.1 image linked from this thread.
I flashed it, and tried ota update again. I initially got an error that the update failed, but I tried again, and it actually worked! So I am up to date on the July patch now!
Hi, I have the Sprint variant Z3 Play currently rooted on 8.1 with the last update from January and I received the notification that the 9.0 update is available to download and install. I've been reading on how I can install this update but from what I understand, I have to update/re-install magisk using the patched boot IMG from the stock 9.0 IMG. The OTA is labeled PCW29.85-36 however all the stock firmwares I've been able to locate are labeled PPW29.xx. Can I extract the boot IMG from this firmware to patch or does it have to be the exact PCW firmware. And is there an alternative such as unrooting the device, reflashing the latest Current Sprint 8.1 Oreo firmware, taking it back to stock while keeping the bootloader unlocked, and then taking the OTA and re-root? My only reason for the root was to run Viper4Android and would like to keep this setup. I've also read on methods using LMSA but instructions on a rooted device are a little vague to me. Any assistance would be greatly appreciated.
Hi, I've got a dual-sim moto g6 (xt1925-5). I see that software channels such as reteu or retail have more recent Pie updates whilst retgb last Pie update was PPS29.55.24. I know that because my phone is rooted with unlocked bootloader and twrp, I would not get OTA updates. But from what I've read I could flash any updates from retail or reteu using RSDLite.
So I'm wondering if I would loose any functionalities or have any drawbacks by switching away from retgb ? any recommendation as to either move to reteu or retail ?
Thanks.
bump...
So I flashed the latest reteu I could find (PPS29.55-37-4) using fastboot and keeping user data. It went smoothly (only got an bad key error for the bootloader img, which was expected with unlocked bootloader). Reflashed twrp / disable_dm / magisk before the first boot. Phone rebooted and working fine.
Settings shows the right build but I'm still on retgb somehow. I expected to see reteu, any ideas ? Something I did wrong ?
Sorted, found it in /data/system/users/0/mot_settings_global.xml