[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] jasonmerc:
DirtyUnicorns for Harpia!!!​

Here is DirtyUnicorns (n7x-caf branch), ported to the Moto G4 Play! This ROM as-is is unrooted and without Gapps, so please don't forget to flash some sort of root zip as well as Gapps if you so choose.

As with all development projects, you take full responsibility to what happens to your device. While I will certainly help you fix a problem to the best of my abilities, don't sue me if your alarm doesn't go off and you lose your job or something.

Tested On

-XT1607 (me)

-XT1603, thanks to [MENTION=7233351]EmersonTR[/MENTION]

What's Working

-Speaker audio

-Brightness adjusting

-Adaptive brightness seems to be fine

-Calls

-Texts

-SD card (formatted as internal storage)

-WiFi

-Mobile

-Photo taking

-Video recording

-GPS location

-Device encryption (takes longer than usual to encrypt, but works fine afterwards, DOES NOT SEEM TO WORK WITH FIREKERNEL FOR SOME REASON)

-Root (SuperSU may say the su binary is occupied, if this happens just reflash SuperSU in recovery and you should be fine)

-Boot animation (now fits screen and doesn't get cut off)

-Honestly, everything seems fine.

What's Not Working

-For some reason, when I use SomeFeaK 8.00 kernel and any audio comes out of the speaker, I get little clicks coming out as well. I'm going to speak to my good man [MENTION=5817781]facuarmo[/MENTION] to see what I can do about this.

-You tell me

Upcoming Features

N/A

Download Links

LINK TO BUILD FOLDER

Source Code

*NOTE* If you are having problems with Jack during compilation, follow this guide to resolve them.

-Link to my harpia device tree for DU

-My local-manifest xml file, so you know what kernel/device/vendor trees (and other tweaks) I used:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<!-- remote names -->

<remote name="aidonnou" fetch="https://github.com/aidonnou-surnia" />

<remote name="losgit" fetch="https://github.com/LineageOS" />

<remote name="tehmuppets" fetch="https://github.com/themuppets" />

<remote name="dunicorns" fetch="https://github.com/dirtyunicorns/" />

<remote name="jasonmerc" fetch="https://github.com/jasonmerc/" />

<!-- harpia stuff -->

<project path="device/motorola/harpia" name="android_device_motorola_harpia" remote="jasonmerc" revision="n7x-caf" />

<project path="device/motorola/msm8916-common" name="android_device_motorola_msm8916-common" revision="du_n7x-caf" remote="aidonnou" />

<project path="kernel/motorola/msm8916" name="android_kernel_motorola_msm8916" revision="cm-14.1" remote="losgit" />

<!-- dependencies -->

<project path="vendor/motorola" name="proprietary_vendor_motorola" revision="cm-14.1" remote="tehmuppets" />

<project path="packages/resources/devicesettings" name="android_packages_resources_devicesettings" revision="cm-14.1" remote="losgit" />

<project path="external/bson" name="android_external_bson" revision="cm-14.1" remote="losgit" />

<!-- du-dependencies -->

<project path="hardware/qcom/audio-caf/msm8916" name="android_hardware_qcom_audio" revision="cm-14.1-caf-8916" remote="losgit" />

<project path="hardware/qcom/display-caf/msm8916" name="android_hardware_qcom_display" revision="cm-14.1-caf-8916" remote="losgit" />

<project path="hardware/qcom/media-caf/msm8916" name="android_hardware_qcom_media" revision="cm-14.1-caf-8916" remote="losgit" />

<project path="hardware/qcom/fm" name="android_hardware_qcom_fm" revision="n7x-caf" remote="dunicorns" />

<project path="packages/apps/FMRadio" name="android_packages_apps_FMRadio" revision="n7x-caf" remote="dunicorns" />

<project path="system/qcom" name="android_system_qcom" revision="n7x-caf" remote="dunicorns" />

<!-- when you believe in things that you dont understand -->

<!-- then you suffer..... -->

<!-- superstition aint the way -->

</manifest>

Special Thanks To (AKA what was in my local-manifest xml file)

-DirtyUnicorns team

-LineageOS team

-"themuppets" GitHub

-"aiddonou" GitHub

And last but certainly not least, a HUGE thanks to [MENTION=6062450]ElDainosor[/MENTION] for the one-on-one help he gave me with setting up my build environment and manifest file properly. His assistance and guidance made this possible.