yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] megacar@gmail.com:
So, we are focused on the previous version of android, and current version is on hold. so when Android 10 gets out, lets focus on Android 9. Makes perfect sense! Thank you all for the hard work!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] radjad:
This is perhaps the most impressively entitled post I've seen on here. Feel free to submit patches.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] thezibrail:
Respect is a two way street.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JMandava:
ETA is strict no no ! ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
You know at first, I thought about reporting your post, but I've decided there is a better option. Rather I am going to put you on ignoring and have encouraged the developer ( [MENTION=6298645]erfanoabdi[/MENTION] ) to do the same. Which means here on out, your problems really are your problems. Given for now on you will be standing alone without any help or support since your post will no longer be seen. Maybe some random stranger can take pity on you in the future (assuming you're a little nicer).

Good-bye megacar@gmail.com and good luck. :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pteek:
This is a rock stable OS since 4 days.

issues that need attention:

1 FM Radio

2 network monitor doesn't show up

3 can't use TWRP for backup as it asks for encryption password. I tried:

a PIN is not accepted

b "default_password" is not accepted

c cli can't set new password as command to do it seems be be depreciated.

Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
[MENTION=1757349]pteek[/MENTION]

I am using TWRP 3.2.3.1 with encryption just fine. What version of TWRP are you using?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] JMandava:
Faced the same previously and got to know that there is no fix for this as of now! Please remove pwd before u perform any ops with twrp.

---------- Post added at 03:44 AM ---------- Previous post was at 03:43 AM ----------

So it's fixed then ? I'm not able to use it in mine ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pteek:
I disabled screen lock and I was able to use TWRP again.

I am also using 3.2.3.1.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] selvakk:
Don't need to disable anything, just click cancel and it will go to TWRP main menu.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
I have occasionally experienced this issue (coincidentally this happened to me last night).

I had to format data, boot once, and then restore backup. I then recreated PIN again. Strange.

You won't have access to data partition (other than formatting) when you select Cancel.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] selvakk:
For the purposes of using adb push, backup or wiping out should be fine. You won't have access to the folders in the encrypted mode.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] adilsonlima2014:
Hello, is anyone using the latest rom version? The last one I used was a problem with performance in games like Arena of Valor and Pubg, I ended up going back to version 8.0 of android one
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] CryptoRishabh:
There are no updates after 29 September I'm using the latest update, it is working fine no issues till now
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] marcusvpstein:
Dual Sim

Is Dual Sim working in this ROM? Because I had issues with it Lineage 15.1. Sim card 2 was not working.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] trpsl:
camera not working on latest build (20181123)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Have also tried several camera apps, and none have worked.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
A new release was released today Nov 24, 2018 | 01:59 PM
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] trpsl:
already installed, everything works like charm so far
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Upload Date: Nov 25, 2018 | 01:19AM
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] trpsl:
i have installed yesterdays build (24112018), do i need do wipe everything before updating?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] frabe8378910:
No, I just updated two X4 from the September Release.

Just follow:

https://xdaforums.com/showthread.php?p=77795544

If you want to exclude any risk, delete any installed overlays and disabled the HW Key (PIN/PW) before the update. Rember to set it afterwards and renew the fingerprint (as it's deleted with the key).

Gesendet von meinem Moto X4 mit Tapatalk

---------- Post added at 05:18 PM ---------- Previous post was at 05:15 PM ----------

Any important reason to update from 11/24?

Have not seen it in the changelog... but could be too blind. [emoji23]

Gesendet von meinem Moto X4 mit Tapatalk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Officially, this is a developer preview and the whole point of this preview (alpha) is to test the ROM itself and the best way to do so is always start fresh. Because the whole point it to guarantee any issues you face and ultimately report back is in fact from the current release. ;)

Unofficially, you could technically, perform a dirty upgrade, which is basically booting into recovery, flashing the newest ROM over the previous, wiping cache/dalvik, and then reboot as usually.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
!! STOP !! I usually do not attempt to tell people what to do. I know you may believe you are being 'helpful' but your "method" is likely going to cause issues down the road. Mass deleting ALL your overlays is not the correct way to upgrade a ROM. A point of fact, this "method" will not exclude risk, rather it is very likely to cause them and if you haven't faced any yet, you have been lucky.

The changelog link can be found in post # 1. However, since you missed it here is a direct link https://www.lineageoslog.com/16.0
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] frabe8378910:
Sorry, if I was not clear enough for that point!

All personal installed overlays from i.e. substratum should be deleted before ROM update. As I always use dark UIs (substratum or now swift installer) you easy forget them.

Often leads to UI crashes then.

For the changelog:

I already read it, but haven't seen huge changes between 11/24 to 11/25...

Gesendet von meinem Moto X4 mit Tapatalk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I believe this is important

https://review.lineageos.org/c/LineageOS/android_device_qcom_sepolicy-legacy/+/234248
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
The build 24/11 had a problem with drm, 25/11 was fixed, I guess it was the widevine level to play Netflix in HD.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Open Settings>Apps and Notifications.

There's an option there for led control, but I don't remember if it's possible to deactivate.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
wi-fi hotspot isn't working. It just says 'error' underneath the menu entry and when you click the toggle it immediately switches back off. Here's a snippet I found in the logs:

11-27 17:11:30.488 24957 24957 I hostapd : Add interface 'wlan0'
11-27 17:11:30.512 24957 24957 I hostapd : rfkill: Cannot open RFKILL control device
11-27 17:11:30.516 24957 24957 I hostapd : ACS: Automatic channel selection started, this may take a bit
11-27 17:11:30.516 24957 24957 I hostapd : ACS: Offloading to driver
11-27 17:11:30.516 24957 24957 I hostapd : wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
11-27 17:11:30.517 24957 24957 W hostapd : wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
11-27 17:11:30.517 24957 24957 I hostapd : wlan0: IEEE 802.11 Hardware does not support configured channel
11-27 17:11:30.517 24957 24957 W hostapd : wlan0: IEEE 802.11 Hardware does not support configured channel
11-27 17:11:30.517 24957 24957 E hostapd : Could not select hw_mode and channel. (-3)
11-27 17:11:30.517 24957 24957 I hostapd : wlan0: interface state UNINITIALIZED->DISABLED
11-27 17:11:30.517 24957 24957 I hostapd : wlan0: AP-DISABLED
11-27 17:11:30.517 24957 24957 E hostapd : wlan0: Unable to setup interface.
11-27 17:11:30.517 24957 24957 I hostapd : nl80211: deinit ifname=wlan0 disabled_11b_rates=0
11-27 17:11:30.532 24957 24957 E hostapd : Enabling interface wlan0 failed
11-27 17:11:30.533 1261 1823 E SoftApManager: Soft AP start failed
11-27 17:11:30.534 1975 22331 V WifiManager: SoftApCallbackProxy: onStateChanged: state=14, failureReason=0
11-27 17:11:30.536 1261 1261 E WifiController: SoftAP start failed
11-27 17:11:30.537 1261 1261 D WifiService: handleWifiApStateChange: currentState=14 previousState=12 errorCode= 0 ifaceName=wlan0 mode=1
11-27 17:11:30.537 1261 1261 D WifiService: updateInterfaceIpState: ifaceName=null mode=-1 previous mode= -1

logcat and pic attached

View attachment logcat.txt

lineage 16 20181125 xt1900-1 opengapps-arm64-9.0-stock-20181125
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
[MENTION=4487886]ptn107[/MENTION] thanks you for providing a log.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] batp:
some bugs:

alarm clock does not ring over night, rings upon turning on screen (hours later)

removing clock from battery optimization fixes the issue

had issues with calls hanging up, taking off all call/phone stuff from battery optimization fixed the issue

opening privacy guard in trust crashes the settings ui
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
I don't have the same problems with the alarm clock or privacy guard that you do. No idea why.

I do have the same calls issue. Sometimes calls just drop after 30 seconds or more for no reason. Happens with wifi calling on or off. A default installation of LOS using the gapps phone app already has it un-optimized.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] frabe8378910:
After running the ROM from 11/25 on two MotoX4 for more then 4 days now, I'd like to give some feedback. Important to consinder that both X4 were initialy clean installed with the ROM from 09/20 and then only updated (or dirty flashed). As this is a dev preview, I'd reinstall everything fresh if I run into errors. As long as I'm just flashing a newer version of the same ROM, I always try to update first. ;)

Both X4 are used as daily drivers, so I'd call them productiv. So far tested and working:

- Phone

- GPS

- WLAN (hidden SSID is now working)

- Bluethooth (headset, send/receive of files)

- Audio (speaker, Bluethooth headset)

- Camera

- SD-Card (64GB)

- Fingerprint unlock

- Notification light

- GAPPS pico

- Magisk v7.1/v7.2

- Swift Installer for complete blacked UI (used Substratum black theme 'till mid October)

- my standard subset of about 140 apps (a lot of them as paid apps)

- > 7 updates (dirty flash) from 20/9 'til 25/11 without problems

-> battery: got max 5 days with 5:30h SOT and 23% charge left

So far: stable ROM for daily driver. A huge thanx to everybody involved!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Prayas29:
Does the dual camera works in the latest build??
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darwyn001:
Latest build (03/12):

Hotspot is working
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
The member, [MENTION=5879789]Niku-Droid[/MENTION] made a useful guide here on how to obtain a log. When reporting bugs, these can be very useful and will often get you a fix a lot sooner (as opposed to just saying, it doesn't work).

https://xdaforums.com/showthread.php?t=2774386
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
lineage-16 build 20181206 I can confirm that hot spot is now working for me!

update: Updated the baseband from android 9.0 payton retail and flashed it to my payton_fi running LOS 16. It's now on version M660_7042.27.01.89R. Call drops have ceased so far where they normally drop after a few minutes. I'll keep testing throughout the week.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] pteek:
Please share how you updated the baseband from 9.0.

I am using your 8.1 firmware/baseband right now with 1203.

2.82.

Edit: On LOS 20181203, fast charging is only going upto 2A. It would go upto 2.8A before. Anyone else facing same issue?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
:rolleyes:

I put the required files in a zip here. A few things though:

1) If your bootloader is not unlocked then you will be unable to flash back to original stock firmware if need be. With the bootloader locked you can upgrade but not downgrade. Don't try to downgrade either or you will brick your device.

2) I'm running LOS 16 so I flashed each of the three files to my A and B slots like this:

fastboot flash bootloader_a bootloader.img
fastboot flash bootloader_b bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash modem_b NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot flash fsg_b fsg.mbn

If you're running stock payton_fi 8.1 then you only need to flash to current slot:

fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn

3) Since my payton_fi bootloader now identifies as 'payton retail' I'm willing to bet that stock 8.1 will no longer take OTAs now. Since my bootloader is unlocked and I'm on LOS it's not really an issue but if yours is locked you will be unable to take security patches or even the official update to Android 9.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Upload Date: Dec 06, 2018 | 04:51PM
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maelopam:
I'm traveling in a couple of weeks and would really like to use this ROM (right now I'm on LOS 15) because I want to be able to use google fi's VPN, which only works on pie from what I read.

But has anyone gotten fi and/or the VPN to work? There's a post from October that LTE is not working, is that still the case?

[MENTION=4487886]ptn107[/MENTION] I'm a little bit confused about the baseband stuff. Is that the manufacturer updates as opposed to android updates that I would get if I'm on stock? If so, are they typically included in the LOS ROM or does it have to be flashed separately? And if the latter, where does it originate from? Is there a secure way of getting them? My bootloader is unlocked, would I just need to reflash stock, update, then reflash LOS 16?

My baseband version is M660_7042.27.01.74R, is that the latest? I haven't update LOS since Sep.

Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Shashank012:
Volte issue

I am not able to call anybody...it shows call ended...help
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I use Google Fi and NordVPN as my VPN provider without issue. Additionally, LTE+ (4G) works just fine. :)

Follow the instructions to the letter on post #1 and you will be fine.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Shashank012:
can anybody help me with volte issue....i have permanently flashed twrp...is this thing causing volte issue...
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Possibility,

I've ran into issues when installing twrp to the pie boot images.

Most notable for me is being stuck in qcom download mode, where you need blankflash to rescue the device.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] selvakk:
This ROM has had an issue with HD calling / VOLTE in the past. While I have not tried the newer versions of Lineage 16.0 there used to be a bug where after restarting after first boot the VOLTE would disappear and not work. You can try installing the Pixel Experience ROM as VOLTE works on that.

If that does not work then you might have to flash back to stock.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
If you want pie, just install the official 9.0 stock rom

https://xdaforums.com/moto-x4/how-to/stock-install-stock-android-pie-t3873129
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Shashank012:
Thanks....I just flashed PE rom on my device... everything seems fine....
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
latest payton_fi firmware from official android 9 update

Latest firmware for payton_fi android 9 from PPW29.69-26

firmware-29.69-26_payton-fi_xt1900-1.zip

Update: If anyone is interested in contributing firmware from their variant you can download a script here to do so.

Put it on your internal storage

adb push mkimg.sh /sdcard/

and run it from an adb shell with

adb shell
su -c sh /sdcard/mkimg.sh

files are stored in /sdcard/firmware-images/ and can be copied back to your pc and zipped.

Root is required.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Thank you. Will update post #1 to include this newest firmware. :good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
This is for the Partitions but for 9 ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maelopam:
So I'm finally upgrading to LOS16 and following the instructions. When flashing the firmware I got "Okay" for everything except for the "modem.img". For the modem I get:

Should I just ignore and continue? My phone is unlocked if it matters.

Edit: I was on LOS 15.1 but installed the firmware listed "Latest firmware for payton_fi android 9 from PPW29.69-26". I guess I should have installed the one for Android 8.1? I misread it to mean that I should install the firmware for the android version I'm installing, but I should have realized it meant the system I was currently running... Should I just reinstall the one for 8.1?

Edit:

Re-flashed the firmware listed for 8.1 and have the same issue for the modem.img. All the other firmware images were okay.

Final Edit:

After flashing 8.1 firmware I flashed the ROM, then went through the whole process again but flashed the 9.0 firmware (dunno if that was needed). I had to experiment with gapps because first I tried gapps micro, but it lead to some crashing of google setup or something. I tried the unofficial MindTheGapps but then google fi didn't work at the setup screen and I couldn't proceed with setup (there seemed to be wifi issues).

Finally I redid the process but used gapps nano and although there was some initial issues with the wifi, where even though it connected, the initial phone setup wouldn't proceed, it finally worked after trying a few times. Google Fi worked immediately, and everything seems very stable.

Thanks a lot for the ROM!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dragonsun252:
Installed Last Night

Build number: lineage_payton-userdebug 9 PQ1A.181205.006.

So far so go. No VOLTE for those wondering. Install was a breeze and fast. Fasted first boot for LOS I have ever had! So far seem to be much more responsive vs stock Pie.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] maelopam:
Display->advanced->Expanded Desktop crashes when opened. Here's the logcat:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Trying to build LOS 16 but I'm struggling to find this file "capi_v2_smartAmp_TAS25xx.so.1" and I can't get it anywhere. It's not available in the repos or anywhere on GitHub, it's not on my LineageOS 16 x4 device, not on my stock android 9 x4 device, and it wasn't extracted from either device as a proprietary blob. I even dug through the 'android_vendor_motorola_sdm660-common-mko-mr1' repo in GitHub. Is there a way to tell the build process to ignore this? Will it still build? So far I've been able to find and retrieve all the files the build process has asked for but this one.

full error:

ninja: error: 'vendor/motorola/sdm660-common/proprietary/vendor/lib/rfsa/adsp/capi_v2_smartAmp_TAS25xx.so.1', needed by '/home/phil/android/lineage/out/target/product/payton/vendor/lib/rfsa/adsp/capi_v2_smartAmp_TAS25xx.so.1', missing and no known rule to make it
10:50:58 ninja failed with: exit status 1
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] erfanoabdi:
Hi, don't look at any unofficial repos, if you want to build lineage16 everything is available on https://github.com/LineageOS and https://github.com/TheMuppets/proprietary_vendor_motorola

"breakfast payton" should work ig

good luck
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Found them. Thanks.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ptn107:
Would you know why when I did 'extract-files.sh' step that it did not produce all of the files required? I did 'extract-files.sh' in 'device/motorola/payton' and 'device/motorola/sdm660-common'. Some of the files were present but the rest I got from your link.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
is there an effort underway to rebase this from the actual stock pie bits?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
Have a look at the script, I think the payton script calls the common one, so you only need to run one... maybe. It's been a while since I looked at the script.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Script seems to pull everything fine but all device libs go to vendor folder Vs main proprietary folder which differs from what's at the Muppets.

Also less files populate Vs than what's on the repo

Though they did seemed to work when I was building
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
has work on this stopped? if not, has it been re-based to the actual pie bits?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DarkLara:
https://sourceforge.net/projects/lineageos-development/files/payton/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Looks like a different developer. Could not find the developer thread.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
Interesting... ok so what do we know about that development work? Are the bits based from Oreo? Or based from X4's latest release?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
I am in no way involved with the development of this device's projects, however I can answer the following questions.

1) The latest release for the Motorola X4 is Android Pie (they are one in the same)

2) Read the following page: https://en.wikipedia.org/wiki/LineageOS

Notice what is under "Version History" the Lineage version #, the Android version #, and the "First build release date"

Yes, "Lineage 16" = "Android 9 (Pie)" = "X4's latest release" (indirectly)

Also notice, the "To be announced" sign; if you're looking for a compete/official build on this device, you woln't find it until there is an official build overall (for any device)

So I'm not sure the reasoning why there are people working on a specific device already when the official release is not out yet. That's from my lack of understanding.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4Custom:
LineageOS 16 Udate:

lineage-16.0-20190207-UNOFFICIAL-payton.zip

https://motox4custom.jimdofree.com/custom-roms/lineageos/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] edufur:
I understand that from a Lineage perspective, 16 is version Pie. However, x4 bits still have to be used. In the case of 15, early oreo bits were the base and I don't think those ever got rebased. And since the 16 preview came out before x4 pie, I am assuming the x4 bits in this build are still oreo bits. No one has said different.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dougo007:
Do you mean the firmware?

To my knowledge, you should be using X4 PIE firmware with a PIE rom and X4 OREO firmware with an OREO rom.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
Los 16 and every custom roms (pie) are using vendor blobs from stock x4 pie not on Oreo
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jesslegentil:
Can someone explain to me why the install instructions say to intall copy partitions zip then reboot to bootloader and fastboot firmware while the instructions from LOS 15.1 don't include flashing official firmware after. Wouldnt flashing official firmware after negate any changes made by flashing copypartions zip?