yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Horror Business:
Fastboot not working after update

I installed lineage a couple days ago.

I followed the OP, flashed the partition firmware first, then the ROM, TWRP, GAPPS, rebooted, flashed Magisk. Everything was working fine.

I took the 0210 nightly OTA. Google Play Services and all Google apps stopped working.

I figured I'd start fresh through fastboot, but now any command that would actually help (flash, boot, etc) returns "failed: unknown command". Can't boot into TWRP.

"fastboot devices" returns the device ID fine, fastboot reboot works.

Tried a factory reset based off another post I found, still in the same boat.

Any ideas?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Knuxyl:
any updates on getting VoLTE working with Verizon? I have tried everything. Moto Z2 Play VoLTE works fine with Lineage, it does not work on X4. Lineage does not show model number, but I have the Android One USA retail unlocked version.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
[EDIT]

I cam across an old post where I discussed Verizon VoLTE with another person where VoLTE DID work with Verizon.

https://xdaforums.com/showpost.php?p=77914975&postcount=639

[EDIT 2]

Arn't you the person from the previous post where VoLTE was working?

What changed?

[ORIGINAL POST]

This is going to be a problem for me as well since I planned to use Lineage. Based on posts earlier in this thread, it was indicated that VoLTE does work. Did something break in an update and nobody checked or did the person I'm quoting mess up?

If it's a mess up, then make sure your using the most updated version of the firmware from post #2.

There could be another issue but I don't know what it would be.

If it's the former, then the devs need to investigate this being that Verizon is dropping 2G/3G at the end of this year. Another user on this thread can state if it is working and do a compassion of the build version of lineage. I don't know the right technical words, but something to that effect.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] moxfyre:
A couple things I'm really missing…

I've got 15.1 running on my Moto X4 now, and it's great.

One thing that's missing from the install instructions on LineageOS.org is the necessity of doing the A→B partition copy before installing LinOS. Attempting to install without this insta-bricked my X4, and I needed to figure out blankflash before I could continue. Rather alarming!

Two things I miss from LinOS 14.1:

Why can't I create an extra home screen to the left of the main home screen anymore???

Why must I tap twice twice on the ambient display screen before it does anything?

And two things I miss from the stock X4 ROM…

Is there any way for me to install the stock camera app? The Moto Camera2 on the Play Store is not the same thing; among other things, its barcode reading is broken.

Is there any way to be able to use the fingerprint reader as a screen-off button with LineageOS?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] 1ster:
OTA report

Just reporting that I successfully used OTA to update to 20190213 nightly which contains Feb Android Security Patch.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bungholio69balls:
[MENTION=3279856]moxfyre[/MENTION] Can you point me to the info you found on blankflash? I installed LOS via lineageos instructions (no partition copy) and have a brick; not having much luck finding device-specific info on blankflash via google or searching here. Thanks!

edit: please forgive my clumsy usage of this board's features. still learning.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] macin42:
I had the exact same sound issue and the exact same modem flashing issue with my XT1900-7. I solved it by flashing the modem partitions as follows. The video https://www.youtube.com/watch?v=eCGB-yxC09w contains a link to https://androidfilehost.com/?w=files&flid=229118 from where I downloaded PAYTON_OPW28.46-21_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip (since I do not have an Amazon nor Google FI variant), unzipped it and flashed NON-HLOS.bin to the modem A/B partitions:

fastboot flash modem_a NON-HLOS.bin
fastboot flash modem_b NON-HLOS.bin

As for the choice of the zip file: O in OPW stands for Oreo, 28 stands for 8.1 (27 is Android Oreo 8.0, 29 is Pie). So the firmware contained should match well with LineageOS 15.1. I have no idea though what OPWS might be.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] moxfyre:
Sure. It's pretty straightforward actually.

Download and unzip blankflash from any of the many sites that offer it. It is *not* actually device-specific; AFAIK, it'll work on any Qualcomm Snapdragon device.

Connect the bricked device via USB. Assuming you're using Linux, or Mac, it should show up as a USB serial port (e.g. /dev/ttyUSB0). Probably similar under Windows. If it *doesn't* show up as a USB serial port, it's bricked in some way that blankflash can't help you with.

Then, run blankflash.bat (Windows) or, as root, blankflash.sh (Linux/Mac). It'll send a few commands to the device and a few seconds later it should reboot back into the standard Android fastboot bootloader… at which point you can follow the usual LOS instructions.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sibincbaby:
On Feb 16 build ,sim slot 2 and volte not working! Any fix?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] derpens:
Can you get back into the OS even with gapps not working? Try re-enabling oem unlocking or try the mfastboot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tong6998:
Anyone run into an issue where they can't get 4G/LTE? Just got this phone and followed the direction to get it on lineage, everything else seems to work. There's 2 phones both flashed the same exact way, one to be used on ATT, one for on Verizon. Neither Phone will go 4g on Verizon, but both work on ATT. Other than that, everything else is fine. Any hints???
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pothaiahgari omkar:
What are these firmware files? What to do with them? You have instructed to flash "Copy Partition Zip" in OP. But you not discussed any thing about these Firmware files. I am not an advanced user. I want to install lineage os. Till now I have not flashed any custome ROM in my XT1900-2 with android pie. Kindly tell me?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Neffy27:
There are walkthrough videos available as well made by a user, if you need past what information has been posted already, and including the FAQs thread. Generally you flash based on your variant (country) but they are all compatible.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tong6998:
Yeah, what are the firmware files for? What do you gain from them (radios?, Back to stock?)?

In all my other phones,usually it specifies to flash a certain frimware to get the radios ready for the new ROM, so: for 12 it needs firmware 2.***.7, for 13 it needs 2.***.93, so on so forth. But no reasoning on why or how for this phone???
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Neffy27:
The firmwares are ROMs themselves. Each caught up to specific build of Android OS such as Oreo/Pie and monthly security updates. There are no smaller individual flashes for this phone such as radio, modem, etc. yet.

I'm either not understanding what exactly you're confused on or you two are overthinking this. There's only one main download link for this ROM.

[MENTION=921457]munchy_cool[/MENTION] has a walkthrough video for this ROM I think.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
ELI5; moto x4 has ab slots, but moto doesnt use them ..they send updates out like a only device.

for us custom rom users, we use ab slots so you need the copy partitions zip file..to copy data from slot a to inactive slot b. it only copies slots which are updated with firmware updates from moto. custom roms dont touch those partitions but need them.

new video i did today is here

https://www.youtube.com/watch?v=NWOBa88eJRs

if you want to know in detail, then old long video is better

https://www.youtube.com/watch?v=2-Kcwjyk_Ls

if you want to learn about ab slots

https://www.youtube.com/watch?v=zVwYxp30dps

sorry for the shameless self promotion though.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Hi. I am s little confused by this statement. Stock Moto X4 does seamless updates where it updates to the opposite partition and simply reboots to the updated partition... Or am I misunderstanding what is happening when I update? Thanks.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Neffy27:
I'll add these to the FAQs thread soon.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
Google it about A/B partition and learn it :cowboy:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Neffy27:
I'm sure someone will correct me but my understanding is, Slot A will always be used primarily. Slot B is used only during the update till it's fully complete.

A/B Slots Explained
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I am familiar with ab partitions, as I have installed several custom ROMs and GSIs on this device, but am currently back on stock rooted.

What confused me is [MENTION=921457]munchy_cool[/MENTION]'s statement that Moto treats it like a-only device. Additionally, I am confused by the statement above that B is used only during update... Does that mean Moto is not using it in the ”seamless" way, but using it like the traditional cache partition?

I will have to take note of the partition the next time I successfully take an OTA.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] munchy_cool:
when moto x4 first launched b partitions were not used for otas either.

maybe they changed it down the line (in the last 3-4 months) and started using b slot as well.

if you are getting seamless updates on your variant of moto x4 (ie no downtime for an OTA update) then moto implemented ab slots.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
He said update came are like a only device but on phone it get install on slot b while u can use ur phone after reboot it switches slot for everyupdate slot get switched
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mithravindan:
Nice work
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
From my own understanding to clear this up:

First:

Motorola released the device as an A only device and updated it likewise.

However, it it capable of A/B but needs to be activated using the copy partition zip.

Second (this is the part I'm not so clear on).

The copy partition activates the A/B system but the firmware still needs to be flashed.

The 'firmware' in this case is the software that connects the system ROM to the hardware.

The ROM is the system partition data (and probably others?; I'm not sure if it edits the firmware or not during installation either).

So my install directions, for myself, to my understanding would be such that

1) Unlock bootloader

2) Boot TWRP and flash copy partition (activates A/B system)

3) Boot to bootloader and flash firmware (it updates both A and B partitions)

4) Boot to TWRP and flash rom (zip install or ADB sideload?)

5) Wipe Data partition (factory wipe)

7) Reboot to system

Optional:

6) Reboot and boot to TWRP to flash Gapps/TWRP
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
You weren't the only one confused, but it makes sense that they might have changed how OTAs roll out.

I think the factory firmware will flash to the a partition due to how they are made. I think you can flash to the b partition, but the gpt might need to be altered.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bamaredwingsfan:
Yes! Just what I've been waiting for
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] sirbrokensword:
I tried to install 15.1 on my moto x4 may have bricked it. help!?

I tried to install 15.1 on my moto x4 may have bricked it. help!?

well, i had a new moto x4 , i followed the instructions to install lineage os, and i got the os sideloaded by the twrp custom recovery, however when i went to install the lineage os su addon, i had to copy the file to my phone, and when i rebooted to do that it powered off and never came back on. battery was at %75 i cannot get it to power back on now, ive tried holding power plus volume down, which should launch the boot menu. but nothing, it isn't detected by my pc when plugged in, and ive got it plugged into the wall charger right now, ill let it sit and hope for the best. Any thoughts on where to go from here?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Toboe3:
We had OTA's bricking previously, same symptoms as you described. Try blankflashing.

https://xdaforums.com/moto-x4/development/rom-lineage-os-15-1-t3802265/post77843311#post77843311

Has basic blankflash.

If you get blankflash not working, also take a look at

https://xdaforums.com/showpost.php?p=77859622
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Shani Rajawat:
Bro can you port this rom for Coolpad cool play 6 tell me
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Official Lineage OS 16.0 is live! ?

We need an official thread before this one gets all mixed up!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4Custom:
LineageOS 16 Official

https://download.lineageos.org/payton

lineage-16.0-20190302-nightly-payton-signed.zip
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Just as I said in the post above yours. LOL:laugh:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4Custom:
Yes, I just wanted to give the link.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
+1 for making it easy to find/get to.

I don't want to have to search it manually myself either.

Anything that can be done to make things easier or more convenient is good/better (for anything, not just this).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] upcboy:
I've flashed this and noticed a small bug it seems my Carrier does not show up. Instead I see "Roaming Indicator Off" where my carrier should be.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JDBarlow:
Installed with no issues and running very well thanks! :highfive:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] uvo23:
What about root access? There's no su addon yet on the downlod page.

Does an OTA update work? What about Google apps if I do an OTA update?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
Addonsu unofficial

https://androidfilehost.com/?fid=11410963190603875495

---------- Post added at 10:57 AM ---------- Previous post was at 10:24 AM ----------

Other problem I see, randomly WiFi is unstable and self switching to LTE even that WiFi signal is very strong.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] :
After installing LineageOS 16, and attempting to do an OTA update, my phone is now a paperweight, and shows up as QUSB_BULK when I connect it to my PC
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] viggy96:
Same for me. I installed the first build of 2 March 2019, then used the updater to update to 3 March 2019, and apparently the bootloader locked itself for some reason. And I can't unlock it again. My 4GB/64GB payton is now a paperweight as well. Luckily I have a 3GB/32GB payton to use while this serious bug gets fixed.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
Here is the thread that contains my un-brick guide; it's near the bottom of the page. This is for the XT1900-1.

https://xdaforums.com/moto-x4/help/fastboot-longer-t3899010
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] netfire97:
Is there any way to have the function of Motorola One Button Navigation?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] x1357246:
Just a minor report that I came from stock pie FI version, wiped data instead of formatting it( keeps internal/media storage untouched)

It works without issues:D
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] theburrus1:
What does this "Copy partitions .zip file do exactly? I did it once after getting my phone but never did anything with it, nor does it ever say in the guide to flashing from stock. Anyhow, any time I reflash a stock firmware, I just boot TWRP and install Lineage with using that copy-partition file and it is fine. So I am trying to understand why the copy-partition.zip then?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] viggy96:
Settings > System > Buttons, Disable on screen navbar.

The fingerprint reader now serves as navigation.

---------- Post added at 06:36 AM ---------- Previous post was at 06:33 AM ----------

Apparently on earlier versions of the stock firmware the B system partition was disabled, and updates were distributed like an A only device. However, Motorola soon activated the second B partition to do proper seamless updates on the stock firmware.

The 'copy-partitions' zip is to enable the second partition on the early release devices with old stock firmware with only a single system partition enabled. However, flashing it isn't harmful, so flashing it is just fine regardless.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ultramanoid:
Meaning that not flashing it would be as leaving the device with a single slot ? That would be perfect for those of us wanting to 'kill' the second slot.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Droidge:
Same issue right here. Just came back from unbricking my device with blankflash.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
anyone tried dirtyflash the official over the last unofficial LOS16 ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] marlonhms:
Sorry, I did not get it right, but this build is based on android pie or oreo?

"LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (Oreo), which is designed to increase performance and reliability over stock Android for your device."
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ultramanoid:
Lineage 16 is Android 9. Pie.

Edit : It's just been released. The quote you've added after I replied is just not updated yet. The newest build is Lineage 16 now :

https://download.lineageos.org/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] viggy96:
No, that hasn't been the case for a while. As I said, Motorola themselves activated the second partition in the stock firmware many versions ago. Also, LineageOS for this device is designed to use seamless updates, so "killing" the second partition is not advisable.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] btotta:
Yes, work just fine!

You will need to flash ROM > TWRP > Reboot to Recovery > MindtheGapps 9.0 > Reboot to system

And if you use magisk, after the first system load you can Reboot and flash magisk again.

Edit: Not with the unofficial, but the Official from the website.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
great, thx!

I am not using gapps, and I realized I dont use root or magisk, so I dont know why I flashed magisk in the first place :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] T1Coreon:
hardbrick

using the lineage updater hardbricked my device. luckily, blankflash revived it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] marlonhms:
Error install MindGapps and Oppengapps

I tried to install the android 9 gapps in this lineage version and returned the following error saying that the version of gapps is not compatible with the mobile system as it corresponds to version 8.1 and not 9.0.

what to do?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] btotta:
Search for "mindthegapps 9.0" and install it, will work just fine :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
[delete] already answered.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pteek:
Yep worked for me tho didn't test much. I started over with a factory reset(data and cache wipe) tho for best results.

I installed the new LOS16 .zip, then installed TWRP. Reboot into recovery and flash magiks and wipe dalvik cache.

Always make full backups!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] marlonhms:
Root Acces

how to root acces in this version?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] grant_:
After updating to today's update my phone shows "Android One" for a second then it just has a blank screen. Any tips? I can't even use fastboot boot twrp... it seems like it relocked my phone.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] marlonhms:
you need reinstall boot loader from stock rom, this fix it in my case
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] upcboy:
I was able to fix mine by flashing the gpt.bin from the stock pie image the rebooted the bootloader

fastboot flash partition gpt.bin
fastboot reboot-bootloader

After that I had to swap active Slots to the one the update was installed to and the phone came back to life properly updated

fastboot getvar all
fastboot --set-active=b
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Samyantak:
Is it based on android pie.??

It is written on the main page that based on oreo
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] t3ch42:
Hi. Last week I recently received my X4 (moving from a broken G5+ )and intended to install the latest official lineageos release, which was 15.1 at the time. A few days later, I saw the 16.0 image had been uploaded to the lineageos download site and thought that it would be a better idea to move to 9 as i was just starting to use the phone and I didn't want to jump to another version 6 or even 12 months from now. I hadn't really invested in the 15.1 for the day or so, so I made a backup and installed the 16.0 using the default instructions.

I am used to twrp, and feel that most any issue can be handled safely when I have that installed. I was a little apprehensive due to the A/B slots when reading the literature, but found something using Magisk and a twrp install. When I went to install the persistent twrp, described in post 778, I flashed the twrp installer, but it ended up corrupting my boot image I think. I say I think, as I was not able to boot into the system anymore and my files were encrypted. I hadn't made a backup of the 16.0 boot image so I felt I was in a bind. Nothing I tried worked(passwords, etc), so I found my 15.1 twrp backup and booted that boot.emmc.win file from fastboot. That worked, so I was back in the system. I renamed the 15.1 boot.win file to boot.img and flashed the boot partition through twrp. That worked, but now I am running a 15.1 boot with the 16.0 os. My question regarding this configuration: will this cause issues? If so, can I flash someone else's twrp backup from 16.0? I guess ideal would be to update to the latest nightly, but the downloads have since been taken down. If anyone has any comments, I would be grateful.

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Nicholas6706:
Is Lineage 16.0 not showing up for anybody else? All i see is 15.1 until 2/24. Here's the link I'm using. https://download.lineageos.org/payton
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] t3ch42:
16 was up for a few days... appears to have been pulled. Waiting to see what is up.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mikib1:
No I am also a bit confused...