LINEAGE OS 13 FOR HARPIA
In the wake of perfected Nougat and nearly complete Oreo for our beloved G4 Play… the ROM literally none of you have asked for is finally here!!!
:victory::victory::victory:
NOTE: This ROM has been discontinued, due to Xposed being released for Nougat, but more so due to sync errors whenever I try to pull the latest changes to my system with repo sync. I'll keep the thread here in case any of you want to build this for yourselves, since the steps needed to build everything differ from what the official Lineage wiki says about building Lin13.
What’s Working
Everything seems good to me
What’s Not Working
I can't find anything, so let me know
How To Build
Follow the standard procedure found on the Lineage Wiki for building Lineage 13, except DO NOT INSTALL OPENJDK 7!!! If you have this on your system, remove it before starting the process. JUST STICK WITH JAVA 8!!!
After doing your repo sync to get everything on your computer, run "breakfast harpia" so it creates a roomservice.xml file. After breakfast is done, replace the roomservice file it auto-generates with this one below:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Dark98/android_device_motorola_harpia" path="device/motorola/harpia" remote="github" />
<project name="Dark98/android_device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" />
<project name="SubhrajyotiSen/android_kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_bson" path="external/bson" remote="github" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="moto8916/proprietary_vendor_motorola" path="vendor/motorola/" remote="github" revision="cm-13.0" />
</manifest>
and do a "repo sync --force-sync". Once that's done, just brunch it and you'll be good to go!
As a side note, to add custom ringtones/alarms/sounds to your ROM, you need to wait for it to successfully build once, then put your desired .ogg files in the respective /system/media/audio/ folder that's contained in your specific device's /out directory, and build again (don't do a make clean or make clobber, it'll erase your work). Interpret me saying this however you want
Download Link
DOWNLOAD FROM GOOGLE DRIVE HERE
I also recommend a custom kernel, like SomeFeak or SquidKernel.
Questions You May Want To Ask
Why would I even want to use this ROM?
Since Xposed for Nougat just came out, there's literally no practical reason for you to need to use this anymore. I guess if you want some nostalgia, but that's it.
Why would you want to even make this ROM?
Something about me just wants at least one stable, updated MM ROM for this thing. I really can’t tell you why, just a weird urge I have.
I’m getting Java build errors when I try to compile!!!
Make sure you have only Java 8, and no Java 7.
I’m getting build errors at Gello when I try to compile!!!
You can disable Gello during the build process, which I did. Edit the moto8916.mk file in moto8916-common device directory and comment out all the stuff about Gello.
I’m getting status 2 errors at the kernel part when I try to compile!!!
GET RID OF JAVA 7!!!!!
How often will you be updating this?
This is obviously an unofficial build, so while I’ll try to make regular releases if everything works out alright, don’t expect that. I’m thinking maybe once a week or so, maybe every 2 weeks if life gets really busy.
Why won't my device encrypt? When I try to make it encrypt it just bootloops or reboots without doing anything
Make sure you're UNROOTED before you try and encrypt. Having a custom kernel/Xposed/etc. is fine, you just need to take off root before running the encryption process. Once it's done, you can reroot and be happy again.
There's something wrong with jack-admin when I try to compile and it won't work!!!
Run the following commands from inside the root of your build directory:
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx#g" (REPLACE # WITH 1GB LESS THAN THE AMOUNT OF RAM YOU HAVE)
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server
Then try to brunch again, see if that fixes it
Special Thanks
My good man @Dark98 has been a huge help in getting this to work. He was actually the first to make a Lin13 build for Harpia about 2 months ago, so without his initial work in solving all the compiler error stuff (like the BoardConfig thing mentioned above) I wouldn’t be able to release what I did. Also, special thanks to all you guys in the SomeFeak telegram group!
Last edited: