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

LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), 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 16.0 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

ROM - https://mirror.codebucket.de/claymore1297

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

TWRP Recovery - https://github.com/CaptainThrowback/android_device_htc_hima/releases

XDA: DevDB Information

LineageOS 16.0, ROM for the HTC One (M9)

Contributors:

[MENTION=8276284]Claymore1297[/MENTION]

[MENTION=7104332]k4y0z[/MENTION]

ROM OS Version: 9 Pie

ROM Kernel: Linux 3.10.108

Kernel Source: https://github.com/Claymore1297/android_kernel_htc_msm8994

SELinux: enforce

Requirements

HTC Firmware: 4.x

TWRP: 3.3.0-0

special thanks to:

[MENTION=6052895]root-expert[/MENTION]

Version Information

Status: Beta

What is working

WiFi

Bluetooth

IR

Camera (including video recording)

Telephony (Calls, MMS/SMS and Mobile data)

Audio (Record and Playback)

Video Playback

GPS

NFC

What is not working

FM Radio

Bug report

Bug reports without a proper description of the issue and a log will be ignored!

You don't know howto take a log - see here:

https://www.xda-developers.com/how-to-take-logs-in-android/

https://lmgtfy.com/?q=how to get android logs&p=1&s=g

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-16.0

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_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" />

<remove-project name="LineageOS/android_hardware_qcom_audio" />

<project name="Claymore1297/android_hardware_qcom_audio" path="hardware/qcom/audio-caf/msm8994" revision="p9.0-caf-8994" remote="github" />

<project name="Claymore1297/JamesDSPManager" path="packages/apps/JamesDSPManager" remote="github" />

<project name="AICP/frameworks_opt_jamesdsp" path="frameworks/opt/jamesdsp" remote="github" revision="p9.0" />

</manifest>

Things for successful builds:

cd <build LOS-root-dir>
. build/envsetup.sh
repopick -t pie-aosp-wfd
brunch himaul (for himaul)
brunch himawl (for himawl)