yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Confirmed. I'll pass this along to development as well.

1 of my Moto X4's strangely is working flawlessly (the one from Motorola), but the other two (Amazon and Project Fi) cannot enable at all.

Logs make things so much easier by the way. Thanks again! :good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Updated post #1 to include a bug log. Added it to the top of the post so folks will be warned right away. Because while I can personally live without headphones or tethering (for the moment), some folks that can make or break them and you should know what you're getting into before proceeding.

Please, keep them coming. If you find something, say something. Logs are especially useful as they lead to fixes sooner. ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] FTL_Ian:
Well, it's definitely not a signal issue - I flipped back to stock because I'm traveling as of today and wanted to maximize my cell tower compatibility. Once I got back to stock, I tried the switching codes and was able to successfully switch to all three providers while sitting inside my home, so low signal was not the issue.

Is anyone able to confirm 100% that Project Fi actually works on all three providers via Havoc?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Go to /system/overlay and delete deviceinputjack.apk or something with it at the name, restart the phone after deleting, it should work now.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] absaget0:
Tried just now and it works, thank you.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
I've tried to flash the ROM but i have bootloop, i do the advance wipe's and factory reset and format data, and then flash copy-patitions and then flash the .img file of rom but TWRP says me that is not OS install, and the i reboot but the phone is in a bootloop... Help?

---------- Post added at 10:59 PM ---------- Previous post was at 10:36 PM ----------

recommend this rom for daily use?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dunnakaal:
I got a bootloop with Hovok version 20181021 , i downloaded an installed the newer version 20181027, witch has no bootloop on my device
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] khanhlinh:
Tried reflash lineage os 15.1, flashing just fine. So frustrating.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] van462:
I also had issues coming from stock, I tried flashing the rom from TWRP from sdcard and OTG, tried flashing from bootloader and it never seem to take. It appeared to run fine but not boot. I then tried lineage 15 it worked and then dirty flashed this over it and it went first time. Looks good so far, loading gapps now.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhruvagg:
Cool, I'll try this method too!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] azazelcrey:
Upon Adb Push the file never seems to complete, Twrp shows the file but i get error 255 upon flash. if i use the other method (flash from bootloader) it flashes but i get boot loop or boot to bootloader. Some reason I think the rom just isnt transferring properly for me. The same issues happen when I Attempt to install LinOS
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
Sorry for the noob question, but it's necessary a treble TWRP?

---------- Post added at 02:17 PM ---------- Previous post was at 01:22 PM ----------

thanks this method works!!

---------- Post added at 02:33 PM ---------- Previous post was at 02:17 PM ----------

the phone app doesnt works, it force stop de UI
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] khanhlinh:
This works like a charm!!!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Which phone app? If your trying to use Google Phone, you have to set it as default app.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
Yes, I installed the rom with the method of flash LO15.1 and dirty flash havoc rom, but the UI stops every time, and more when i use the phone app of the rom
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
Someone correct me if I am wrong, bit I am pretty sure you cannot dirty flash from LOS15.1 to this ROM. I tried dirty flash from LOS16.0, and that did not even work (I was hoping it might work as this ROM is supposedly based on LOS}.

Almost without exception, you can dirty flash ROM upgrades, but always need to clean flash moving between ROMs (unless the ROMs are VERY similar).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
Flash LOS15.1 let it boot, wait 5 min, then do a dirty flash of this rom and it going to boot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] happy3777:
Everthing is working fine for me tought rom installation is a bit tricky

But i can confirm headphone jack is not working even after flsing audiojack fix

Is their a way? Fix was working fine on gsi port
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Open a file manager that have root access, go to /system/overlay and delete deviceinputjack.apk, reboot and the audio jack will work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
The ROM works great for daily use?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] happy3777:
Thnx

Thanx a lot brother u saved my day thanx

---------- Post added at 09:34 PM ---------- Previous post was at 09:33 PM ----------

Device heating more while chrging only at this rom anyone having same issue? Even with a slow chrger its heating
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] zerolam:
hello

I am sorry whether I should post the question here.

I am going to flash the rom after making a backup for all the partition of my moto x4, that help me to restore my phone to the stock easily.

could you help me?

thank you so much
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
Yes
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] happy3777:
For now what i know is we cannot restore stock rom only we can reflash it,

what i found is flash rom following tutorial in first post and flash gapps after a complete boot

rest for detail dm me :good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] zerolam:
It seems there is no way to go back to the stock completely.

Because i hear that just booting into TWRP without installing TWRP will break the ota updates.

I still feel confused about the flashing steps.

Could someone help me?

1) what does "Flashing the copy partition zip" do actually?

2) what does the firmware of xt1900-1 provided in the first post include? ( Boot partition? System partition? Others?)

3) I find there is a firmware for xt1900-2, can I flash this firmware instead of xt1900-1 firmware then flash HAVOC?

4) is there any body who flashes successfully with xt1900-2 by following the guidelines?

Thank you so much
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I would say, yes! I have been using this ROM for nearly a month and it is working just fine for me. The only concerning issue seems to be the headphone jack and tethering. If you can live without those (as I can), you'll be fine. If not, you should wait until development eventually resolves the issue.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] LuisAngel321:
Hi [MENTION=9167870]MotoX4[/MENTION] how can I enable moto gestures like lineage ? :confused: :good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Settings > System > Moto Gestures ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
A quick follow up. -- There is also

Settings > Phh Treble Settings > Doze feature

Settings > Havoc Settings > Gestures
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] valeriopastore20:
Is tethering still not working?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
when i open magisk tells me that my device needs a zip installation, the root works but the modules do not, should i flash the magisk zip?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] jhedfors:
You should probably ask in the Magisk forum.

You are not asking for a ROM ETA are you?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
How can i disable this!?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
I can't use voice match why!?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] abrfilho:
Go to Havoc Settings>Gestures>Pie Control and disable it.

Don't know, here works fine, I'm using the latest build (27/10) with custom installation from Super GApps package.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
correct me if I'm wrong but I've found that while this is somewhat true, you still can't utilize visual voicemail and wifi calling/texting if ProjectFi is not activating fully.

I don't notice the config updater that usually runs during ProjectFi setup which may be related.

Its a great feature rich rom otherwise
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] trpsl:
rom works nice and smooth, but wide angle lens is not working and that's a deal breaker for me
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bcrichster:
are there any Pie trees for this device?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
A question I keep getting PM's is whether or not this is still being developed? Seems like an odd question given that if you actually followed the link in post #1 you would notice that since the original posting, this has received several updates.

August 18, 2018 -- Original release

August 19

August 29

October 21

October 27 -- Current which is less than 1 month old (still fairly new)

Updates do not automatically become available on the 1st of the month or any particular day for that matter. This development spans over multiple devices (not just Moto X4) and the current one recommended for the Moto X4 is the generic AB Trible release. Things do take time and the official release date is

always

: When it is ready! ;)

However, that said, as we get closer to the holidays, into the new year, developers are people too and they too have families of which they'll be spending time with. This project, just like every project here on XDA is free and done only when the time is allowed on free (spare) time. If that is a problem for you, I suggest you help code this ROM or develop your own ROM at which time you'll have 100% control over the release schedule.

But I digress, the current release is less than 1 month old, which means it is still fairly new. Yes, development is ongoing. You can find a fix for the headphone jack bug a few pages back (reading is always recommended).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
What's Havoc-OS' stance on sharing/maintaining a unofficial build?

Based on the work of LineageOS device/kernel trees I have a 8.1 build up and running
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
This thread covers the official build and really only is here to inform Moto X4 users that they do have Havoc-OS as an option and how to install/upgrade it on your Moto X4. In addition, it also serves as placeholding where tracking specific Moto X4 issues in a community setting too. That said, I would assume the development is OK with unofficial builds given that the code is freely available and Havoc-OS itself is made from the source of several other developments and projects, but when in doubt, you should contact the development yourself to be sure.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ritesh Mhatre:
Please share screenshots
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
Changing the build.prop in system allows you to activate project fi.

Here is a guide if you need it:

https://xdaforums.com/android/general/activate-project-fi-account-unsupported-t3784430
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
I turned on "Lift to check phone" in Gestures, but it is not working.

Any suggestions?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DangerxZone:
how do I deactivate rounded corners? to have a normal screen?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Will be updating post #1 giving [MENTION=7119915]Sass86oh[/MENTION] credit (as well as yourself, [MENTION=2689772]johnjingle[/MENTION] for pointing this out). The following 'fix' works.

Google Project Fi Fix

You will need to make a minor and yet important edit to your system before installing the Project Fi app. If you have already installed the Project Fi app before making this edit, you should close the app, clear both the app's cache and clear the app's storage, then proceed to uninstall the Project Fi app.

Using your preferred root text editor navigate to /system/

Locate the file build.prop

Carefully make the following changing, listed below, to the file build.prop

!! Important !! Double check you have correctly made the correct changes.

Save your changes

REBOOT your phone

Go to: Setting > System > About

Verify that your device model is a Moto x4

Install Project Fi

Open Project FI and proceed with the activation

Congratulations, you're done! :cool:

!! IMPORTANT !! These values are CASE SENSITIVE which means if you type "Payton" rather than "payton" it will NOT work !! Be sure you double-check what you type before saving !!

Locate and edit to match. -- Do NOT rush (Do NOT be in a hurry). This is something you want to carefully take your time with.

ro.product.model=Moto x4
ro.product.brand=Motorola
ro.product.name=payton
ro.product.device=payton
ro.product.manufacturer=Motorola
ro.build.product=payton
ro.opa.eligible_device=true
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
The actual file name is treble-overlay-devinputjack.apk and deleting this file does resolve the issue in the Moto x4.

Located at: /system/overlay/treble-overlay-devinputjack.apk
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
My phone always uses T-Mobile and it sucks in my area. When I switch to Sprint manually, I lose 3G/LTE, but voice calls work and signal is better. So weird.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] OVER90:
On this ROM when I go to settings then display then colors option but the menu is blank.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] nabhse90:
Anybody know whats the best working GCam with this Rom? With Slow-Mo if at all posible? Most GCams I install force close for dumb reasons. Only one works kind of good with occasional force closes and for video I first have to switch to settings and then back to video, and AR Core does not work either... Says it's outdated and I'm using latest apk from apk mirror, thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] HAJT669:
I just want to know, I'm not asking for anything, just to know, if there will be update of this rom or the project has died
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I just want to know, I'm not asking for anything, just to know, if you honestly expect anyone to take you seriously or if you even bothered reading this thread.

https://xdaforums.com/showpost.php?p=78189465&postcount=84
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Google Camera works just fine

https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera

edit: Should add that I am using the current beta build though
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] nabhse90:
You mean latest beta GCam? It works for you? I tried one of the beta and didn't work... If its not too much to ask may you post a link? Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I am uncertain if the beta is open to the public but here is the link from Google's Play Store

https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera

If it is not available to the public. At least take some comfort that it will eventually roll out into the stable version.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
Seriously, thank you for being sarcastic. The ROM works great! Be thankful for what you have [MENTION=464840]other[/MENTION]person
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] lavavex:
Unable to flash

So, I followed all steps in post to the letter and cannot seem to get the stupid image to flash. TWRP didn't work so I tried fastboot method instead. When trying I get an error saying "fastboot: unknown variable -- u" and when trying without the -u in the command I get this.

Sending sparse 'system__a' 1/3 (524284 KB) OKAY [ 11.565s]

Writing sparse 'system__a' 1/3 (bootloader) Invalid partition name system__a

FAILED (remote: '')

Finished. Total time: 13.479s

What do I do?

UPDATE: Am attempting to flash using the 20181016 image instead of newest one to see if that fixes issues in TWRP. Will post update again with result

UPDATE 2: After trying several things I seem to have gotten fastboot flash to work by using the command: fastboot --slot all flash system Havoc-OS-v2.0-20181016-GSI-ARM64-AB-Official.img

this was the result:

Sending sparse 'system_a' 1/3 (524284 KB) OKAY [ 11.557s]

Writing sparse 'system_a' 1/3 OKAY [ 4.570s]

Sending sparse 'system_a' 2/3 (524284 KB) OKAY [ 11.525s]

Writing sparse 'system_a' 2/3 OKAY [ 4.017s]

Sending sparse 'system_a' 3/3 (420564 KB) OKAY [ 9.269s]

Writing sparse 'system_a' 3/3 OKAY [ 3.251s]

Sending sparse 'system_b' 1/3 (524284 KB) OKAY [ 11.589s]

Writing sparse 'system_b' 1/3 OKAY [ 4.818s]

Sending sparse 'system_b' 2/3 (524284 KB) OKAY [ 11.550s]

Writing sparse 'system_b' 2/3 OKAY [ 3.969s]

Sending sparse 'system_b' 3/3 (420564 KB) OKAY [ 9.274s]

Writing sparse 'system_b' 3/3 OKAY [ 3.232s]

Finished. Total time: 92.460s

after rebooting it seems it still boot right to bootloader... guess im gonna keep trying stupid things...

UPDATE 3:

I've given up on this rom for now until Issues with A/B devices are fixed... Will be moving on to trying to build my own Lineage 15.1 ROM w/ Kali Nethunter Kernel. Check my Account post for any updates if Interested
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
There is something wrong with your phone or your computer. 1st problem is your computer will not even recognize fastboot commands. 2nd problem is your phone is unable to even locate your partitions correctly.

None of that is normal or "A" typical either. -- Suggest you try to do this via Linux as I suspect something could be wrong with your Windows install or is interfering someway. 11 pages of people who have installed this, with nearly 500 people downloading the ROM (just this week), and only you are reporting this issue (the issue is not the rom).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
I could be wrong here, but part of the problem could also be the 2 underscores, there should only be one in the partition name when trying to flash.

Love this rom.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] lavavex:
Yeah, I know... thats why im so confused... the script tries to put 2 underscores but when i specify that i want both slots flashed using --slot all variable it flashes fine but wont boot
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
Have you tried flashing each file individually in terminal/cmd line instead of using the batch file?
[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/sho....php?t=2774386
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] trpsl:
i found that wide angle camera can be enabled with magisk module from HERE. you only need hal3_eis_zoomfix-v3.0.zip module

i tested THIS camera and even night sight is working!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Added to post #1

Latest firmware for payton_fi android 9 from PPW29.69-26 - courtesy [MENTION=4487886]ptn107[/MENTION]

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

Useful for those first coming to this ROM or coming from stock. If you already have the ROM installed, ignore this (it will wipe everything).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
Sad news :(

I have been informed (at the end of October) that the development for the Havoc-OS GSI is currently on hold. The Official ROMs themselves are still being worked on and continued for supported devices. But the generic GSI is on hold for further development. It's not dead, just on hold. I was informed of this at the very end of October but held out passing this info since I knew Phh-Treble was coming with a new release (which Havoc-OS GSI is built from). A long conversation concerning the generic GSI A/AB release has been ongoing via Telegram and the developers decided to sideline those topics into its own Telegram channel (chat room). The reasoning has been vague in my opinion, but the general consense was that Phh-Treble had changed something that made Havoc OS as a GSI problematic. After the newest Phh-Treble release, I had hoped, as did others, that this development would continue (especially since folks have attempted to contribute via Github).

I hold out hope that this GSI will be continued, but it should be noted that officially, we're being told development is currently on hold via Telegram and all chats concerning the GSI are being redirected toward its own independent channel.

It should go without saying, but this is a Havoc-OS issue. Should add that Phh-Treble works just fine in my opinion and that the developer of Phh-Treble ( [MENTION=1915408]phhusson[/MENTION] ), as well as the many folks who help contribute to that development, are doing a fine job. This issue is specifically concerning Havoc-OS (and I would ask that no one here bother the folks who work on Phh-Treble).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] retro486:
Bummer, I really liked Havok.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Ritesh Mhatre:
Share screenshots please
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
That's sad news indeed.

Since havoc 9.0 gsi came to this device forum I've been working on / trying to port a device specific build.

It can be done as I've had a few builds working with some patchwork to the vendor.Img but at this rate I'm unsure if I'm ever going to get it right.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
I'm at a crossroads to give up.

Can't get the simcard to work anymore in device specific builds.

I'll give it another shot again once lineage 16 makes official status, otherwise I'm too much of a novice regarding development.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
U build havoc?if u want I can give fix for ril issue now
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] SyberHexen:
Sure I'm down to give it another go
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] dhinesh_cool:
Revert ims and telephony jar from Daisy on common tree it will fix ril but no volte

Contact me on telegram I can help https://t.me/cool585
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MotoX4:
I am going to just leave this right here.

See the attached screenshot. ;)

For those of you either too lazy to read the screenshot or unable... Havoc-OS GSI may be revived soon.