[HTC One Mini 2] nightcore500:
Introduction

This is UNOFFICIAL LineageOS 14.1 for HTC One Mini 2.

Please use this thread to report bugs, request features, and offer feedback.

Installation instructions

You must unlock your bootloader or be S-OFF.

You must have a custom recovery installed. (TWRP)

Fully wipe your device from Recovery (Data, Dalvik and Cache!) and install the LineageOS 14.1 ROM.

If you would use Gapps install it now and than reboot.

The first boot will take a while!

Disclaimer

Changelog

Release V0.8 (21.06.2018)

Update to latest LOS upstream

Added latest WCNSS firmware

EGL buffer_age extension support disabled

exFAT support added

Amplifier deadlock fixed

wcnss_service added to set the correct HTC MAC address during initialization

Default USB mode removed

ZRAM max. compression streams have been increased to 4

Switched ZRAM compression algorithm to LZ4

Switched to ADB over FunctionFS

Kernel: Added many patches to ZRAM, zsmalloc and zpool which improve functionality and performance

Kernel: Switched to new prima wifi driver

Kernel: Added exFAT and sdFAT drivers

Kernel: Added FunctionFS support

Kernel: Pgtable mapping for zsmalloc enabled

Kernel: RCU boost enabled

Kernel: Linux regulatory feature enabled

Kernel: Added some patches to sdcardfs and USB gadget driver

Look here for full kernel changelog (Last commit from previous release: 0d4c423)

Older changelogs:

Release V0.7 (20.01.2018)

Update to latest LOS upstream

Shrink USB Charging Images to fit 720p screen properly

Rework init power script a bit

Unbreak perfd

Hide sRGB toggle in developer options

nfc: Advertise extended length support for IsoDep frames (Thanks to stkl)

Kernel: ANDROID: sdcardfs: notify lower file of opens

Kernel: ANDROID: sdcardfs: Add default_normal option

Kernel: Enable some perf-related configs

Kernel: drivers: touchscreen: Fix active touchscreen during calls and power button camera shortcut

Kernel: drivers: i2c: Use older QUP bus driver to fix wakeup issues on memul

Look here for full kernel changelog (Last commit from previous release: 2d22c8c)

Release V0.6 (25.11.2017)

Fix USB Accessory mode

Add ANT+ support

Swappiness has been set to 100

Kernel: Pocket check added for dt2w

Kernel: Fixed non-working microphone during a call on loudspeaker

Kernel: Improved the bus recovery procedure in qup i2c driver

Kernel: Register SPS IRQ with IRQF_NO_SUSPEND flag

Kernel: Reworked kernel config

Kernel: Merged Tag "v3.4.100"

Kernel: Merged Tag "v3.4.113"

Kernel: Max readahead size changed to 512KB

Kernel: Fix high load average from uninterruptible waits

Kernel: Do not allocate new hw_event if event is duplicate

Kernel: interactive: turn boost_pulse off on boost off

Kernel: interactive: Remove unnecessary cpu_online() check

Kernel: ablk_helper - Replace memcpy with struct assignment

Kernel: Don't plug the I/O queue in do_io_submit()

Look here for full kernel changelog (Last commit from previous release: 4e5b7fb)

Release V0.5 (04.11.2017)

Amplifier HAL improvements

Removed useless button backlight support on liblights

GPS HAL cleanup

Enabled CLANG compilation for GPS HAL

Removed some deprecated flags

Fix tombstones creation

Root directories now created on early-init

Missing directories under /data are now created

Cleaned up main QC init script

XTRA download now uses https

Cleaned up OMX codecs packages

Added GPS configuration for China

DRM ClearKey plugin is now builded from source

Fix gpuclk and reset_count denials

Added missing OMX codecs decoders

Removed deprecated media blobs

Cleaned up bluetooth config

Decreased in call volume to about 74dB

Enabled GLONASS support

Kernel: Added Himax touchscreen driver

Look here for full kernel changelog (Last commit from previous release: 2fc6b22)

Release V0.4 (13.09.2017)

"New" CAF based kernel on version 3.4.90

AptX Support added

Earpiece volume Increased

startOffsetMs removed from media_profile to avoid capturing the video record tone while recording the video with camcorder

Sepolicy rework

thermal-engine moved to vendor/bin

Amplifier: removed a forgotten debug

Build rild and libril from caf source

Compile libril with GCC instead of Clang to avoid RIL crash while establishing outgoing calls

Fix crashing RIL when trying to print "Create UIM thread on SUB%d with name %s" with Clang libc

media codecs config updated

Addded media codecs performance config

Adreno blobs updated to LA.BF.1.1.3_rb1.12

Build GPS HAL from source

Added overlay-based GPS configs

A-GPS re-enabled

Changed from 2 to 3 FramebufferSurface buffers to avoid tearing because of invalid fence semantics

Fixed null pointer de-reference klocwork error in liblight

fstab cleaned up

Added device model information to the USB config

Removed the "KERNEL_MISSING_CLOCK_BOOTTIME_ALARM" because our kernel now has the proper support

USB config cleaned up

Removed unused CameraParameters_EXT header

Disabled face detection in the params In addition to making the UI saner. This should fix manual focussing the camera when in auto-focus mode.

All changes to support our One Mini 2 on the new CAF based kernel can be found here: https://github.com/nightcore500/android_kernel_htc_msm8974-caf_rebase/commits/lineage-14.1

Release V0.3 (08.07.2017)

Enable Ambient Display

Increase ZRAM to 400MB

Set default USB mode to charged to fix the USB mode bug on switching from "charging" to "MTP" mode

Rework on init.qcom.bt.sh

Remove DAC override permission which would allow rmt_storage daemon unix permissions to everything and add the system and wakelock group to these service

Adjust mpdecision service permissions to access procfs filesystem

Remove writes to non-existent IPv6 nodes

Remove useless property triggers

Properly set thermal control flags

Ensure boot-with-noop as this results in much shorted boot times

Adjust power config (Starting mpdecision later in boot to improve boot time and some more minimal changes)

Remove some permissions these are allready globally defined in device/qcom/sepolicy

Enable blur

Remove some unused permissions

Update to latest LOS upstream

Kernel: Only expose su when daemon is running

Kernel: Add some filesystem, net etc. patches (look here for full changelog)

Release V0.2-himax hotfix (12.05.2017)

Kernel: Enable himax touchscreen driver

Release V0.2 (11.05.2017)

switch to userdebug

switch to enforcing mode

fix NFC

switch to Jelly Browser

switch to Moto 8226 Thermal Engine

Update Qualcomm MSM Interface, Radio Interface Layer, GPS blobs

Update Camera & Sensor blobs

Update Widevine DRM blobs

Update graphics blobs

remove unused proprietary files

selinux: fix some denials

Kernel: re-add DT2W

Kernel: re-add our RT5506 changes

Kernel: fix SDCard driver

Release V0.1-Alpha (06.05.2017)

(Based on the source of CM13)

eng build

disable pre-odex for now

rename to lineageos

fix some platform configs

Update bootloader message offset flag

enable sdclang

enable legacy camera HAL1

Add GraphicBuffer shim for camera hal

enable text relocations for camera blobs

remove some configs

enable GCC LIBC for rild blobs

re-enable jemalloc for low-memory

set selinux to permissive for now

set media.stagefright.legacyencoder

remove old unused dhcp inits and configs

remount debugfs

some changes on core framework configs

some changes on init script

move chargeled to c++

set KERNEL_MISSING_CLOCK_BOOTTIME_ALARM because our kernel does not have support for it

some changes on media codec config

set NXP_CHIP_TYPE

changes on Permission configs

set Qualcomm Bluetooth SOC ID

remove enhanced NFC feature

switch to shared graphics driver repo

use prebuild rild from the last cm13 release for now

disable agps for now

some more changes

Kernel - clone the msm8974 kernel source from lineageos and change to our last kernel config

Kernel - enable RPFILTER

Kernel - signal: allow to send any siginfo to itself (to get debuggerd back to running)

Kernel - switch back to our Prima WLAN driver

Downloads

ROM v0.8 LineageOS 14.1 21.06.2018

md5sum for ROM v0.8 LineageOS 14.1 21.06.2018

Older releases:

ROM v0.7 LineageOS 14.1 20.01.2018

md5sum for ROM v0.7 LineageOS 14.1 20.01.2018

ROM v0.6 LineageOS 14.1 25.11.2017

md5sum for ROM v0.6 LineageOS 14.1 25.11.2017

ROM v0.5 LineageOS 14.1 04.11.2017

md5sum for ROM v0.5 LineageOS 14.1 04.11.2017

ROM v0.4 LineageOS 14.1 13.09.2017

md5sum for ROM v0.4 LineageOS 14.1 13.09.2017

ROM v0.3 LineageOS 14.1 08.07.2017

md5sum for ROM v0.3 LineageOS 14.1 08.07.2017

ROM v0.2-himax_hotfix LineageOS 14.1 12.05.2017

md5sum for ROM v0.2-himax_hotfix LineageOS 14.1 12.05.2017

ROM v0.2 LineageOS 14.1 11.05.2017

md5sum for ROM v0.2 LineageOS 14.1 11.05.2017

ROM v0.1-Alpha LineageOS 14.1 06.05.2017

Root add-on: su (arm)

Open Gapps for all ROMs: Gapps

Thanks

Big thanks to MrAnswer for his one mini 2 that i can use for development purposes.

XDA:DevDB Information

LineageOS 14.1 for One Mini 2, ROM for the HTC One Mini 2

Contributors

nightcore500

Source Code: https://github.com/nightcore500

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Latest stock

Based On: LineageOS

Version Information

Status: Stable

Current Stable Version: 0.8

Stable Release Date: 2018-06-21

Current Beta Version: 0.6

Beta Release Date: 2017-11-25

Created 2017-05-06

Last Updated 2018-06-21