[One (M9) Original Android Development] Claymore1297:
​

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Instructions

First time flashing Lineage OS 15.1 your device?

Coming from a SENSE ROM?

Enable all location services: Settings > Location > (all location services) = On

Coming from another ROM?

Download the zip(s).

Install a compatible Recovery

Perform a NANDroid backup of your current ROM (Optional)

Wipe data & cache partitions of your device (required when coming from stock!).

Flash LineageOS.

Optional: Install the Google Apps addon package.

Downloads

Downloads

AFH - https://androidfilehost.com/?w=files&flid=267579&sort_by=date&sort_dir=DESC

Google Apps - http://opengapps.org/?arch=arm64&api=8.1&variant=nano

TWRP Recovery - https://dl.twrp.me/hima/twrp-3.2.3-0-hima.img.html

What is not working

Developers :)

How to Build

To setup the build environment, follow instructions here: https://wiki.lineageos.org/devices/himaul/build

Remember to change cm-14.1 to lineage-15.1

Create the direct and file .repo/local_manifests/roomservice.xml and add the following:

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

<manifest>

<project name="Claymore1297/android_device_htc_himawl" path="device/htc/himawl" remote="github" />

<project name="Claymore1297/android_device_htc_himaul" path="device/htc/himaul" remote="github" />

<project name="Claymore1297/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />

<project name="Claymore1297/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />

<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />

<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />

<project name="Claymore1297/proprietary_vendor_htc" path="vendor/htc" remote="github" />

<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />

</manifest>​

Things for successful builds:

cd <build LOS-root-dir>
cd frameworks/av
git fetch https://github.com/Claymore1297/android_frameworks_av lineage-15.1
git cherry-pick b0bb4377d1163233b96b1ca55b0814d778f52569
cd <build LOS-root-dir>
cd hardware/qcom/audio-caf/msm8994
git fetch https://github.com/Claymore1297/android_hardware_qcom_audio lineage-15.1-caf-8994
git cherry-pick 1e597fdbf233d361af1e6ca70ff69cb4c8d9cb73
git cherry-pick 652740eadecfc29b31e9b11810187b195afdb2cd