[ROM][UNOFFICIAL]LineageOS 14.1 for One Mini 2

Search This thread

nightcore500

Senior Member
Jul 5, 2016
190
392
Burgstädt
icera-network.de
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
OFFICIAL DISCLAIMER
/*
* Your warranty is now void.
*
* I am not responsible for bricked device, 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 me for messing up your device, I will laugh at you.
*/


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:


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
 

nailyk

Senior Member
Oct 3, 2015
1,511
2,971
Amazing! Thanks for your dev!
As you know I don't own this device but is good to know 8974 is not dead ;)
Feel free to highlight me here or on IRC if you need something. Also I have some contacts which can help to become official when you will be ready :)
 
  • Like
Reactions: nightcore500

Andruxcx

Senior Member
Apr 23, 2017
59
5
Cool. gonna try this

---------- Post added at 03:35 PM ---------- Previous post was at 03:30 PM ----------

Is it 7.0 or 7.1?

---------- Post added at 03:36 PM ---------- Previous post was at 03:35 PM ----------

oh nvm

---------- Post added at 03:59 PM ---------- Previous post was at 03:36 PM ----------

When theres a new update will i have to wipe data? I am kind of a newbie to roms.
 

Andruxcx

Senior Member
Apr 23, 2017
59
5
7.1.2


If you are already on lineageos 14.1 you don't need a full wipe.

Thanks. So i tried the rom and everything seems fine for now except that i cant get out of strict mode with dev options. Is there a way to turn strict mode off?

---------- Post added at 05:45 PM ---------- Previous post was at 05:43 PM ----------

For those who want root dont install super su it will bootloop your device. just download it from this link ~ https://download.lineageos.org/extras ~ and flash it in twrp :good:

---------- Post added at 06:04 PM ---------- Previous post was at 05:45 PM ----------

Not sure if this is a bug but i cant see any contacts when i go to the import from sim window
 
Last edited:

stkl

Senior Member
Sep 8, 2008
112
23
Awesome. Did a clean install after full wipe (using TWRP 3) and started testing.

Working:
  • System UI, GApps
  • Stable networking (WiFi 2.4 + 5 GHz), Cellular 3G and 4G
  • Bluetooth (audio, data)
  • Simple NFC tag
  • Camera, flash, torch
  • Audio in/out (loud and clear)
  • GPS
  • Sensors (magnetic, light, proximity - proximity little buggy, but that problem existed before)
  • Running much smoother than the latest CM13 build overall

Problems / Not Working:
  • DT2W
  • 16GB SanDisk SD card not working - worked before and also with another Android 7.1 device (older 8GB SanDisk works - have to figure out why)
  • Some root issues, most lilkely due to eng build incompatibilities with my apps

Just played around for an hour and so far it's running pretty stable (not a single app crash). Looks like we're on the right track.

The issued I experienced before (CM13) with OTG are still the same - surprise - but that's not of priority.
 
Last edited:

tryllz

Senior Member
Apr 8, 2014
389
69
Received ERROR when flashing via twrp, both 2.8.5.0 and 3.0.2:

Can't install this package on top of incompatible data. Please try another package or run a factory reset.
Updater process ended with ERROR: 7
ERROR installing zip file '/externl_sd/lineage_memul-ota.zip'


I tried dirty flash with STOCK ROM installed, so I did a complete wipe of SYSTEM, CACHE, DALVIK CACHE and DATA and installed successfully.

Also I have this Red Screen border flash when touching screen at times, NOT always but mostly, I have checked developer options all settings are off but still it wont go away. I read about strict mode but there is no options in settings, any ideas, I even turned off developer options but still remains.

INITIAL REVIEW.

Way better than CM13
Slightly laggy, I will assume due to alpha state
Crystal clear audio
Camera is crisp clear with photos compared to CM13
Boot/reboot more than once tried is a bit slow
SD read in gallery is too slow could be due to slow MMC read/write and first time reading too many images - fine after it loads all images
 
Last edited:

nightcore500

Senior Member
Jul 5, 2016
190
392
Burgstädt
icera-network.de
Received ERROR when flashing via twrp, both 2.8.5.0 and 3.0.2:

Can't install this package on top of incompatible data. Please try another package or run a factory reset.
Updater process ended with ERROR: 7
ERROR installing zip file '/externl_sd/lineage_memul-ota.zip'


I tried dirty flash with STOCK ROM installed, so I did a complete wipe of SYSTEM, CACHE, DALVIK CACHE and DATA and installed successfully.

Also I have this Red Screen border flash when touching screen at times, NOT always but mostly, I have checked developer options all settings are off but still it wont go away. I read about strict mode but therte is no options in settings, any ideas.


Look at https://xdaforums.com/showpost.php?p=72190216&postcount=7
 
  • Like
Reactions: Thepsych111

stkl

Senior Member
Sep 8, 2008
112
23
16GB SanDisk SD card not working - worked before and also with another Android 7.1 device (older 8GB SanDisk works - have to figure out why)
Seems to be an issue with die SD card driver, UHS-1 cards (tested with SanDisk Ultra) are not supported by our current kernel.
The same card (verified genuine btw.) has been working with CM13.

kmsg:
[ 7841.388709] c0 22066 mmc1: slot status change detected (0 -> 1), GPIO_ACTIVE_LOW
[ 7841.775759] c0 18205 mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[ 7841.781131] c0 18205 mmcblk1: mmc1:aaaa SU16G 14.8 GiB
[ 7841.803148] c0 0 mmc1: data txfr (0x00200000) error: -84 after 16 ms
[ 7841.803201] c0 0 sdhci: =========== REGISTER DUMP (mmc1)===========
[ 7841.803247] c0 0 sdhci: Sys addr: 0x00000000 | Version: 0x00003e02
[ 7841.803292] c0 0 sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000008
[ 7841.803336] c0 0 sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[ 7841.803381] c0 0 sdhci: Present: 0x03f80206 | Host ctl: 0x00000017
[ 7841.803425] c0 0 sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 7841.803469] c0 0 sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 7841.803512] c0 0 sdhci: Timeout: 0x00000008 | Int stat: 0x00000000
[ 7841.803557] c0 0 sdhci: Int enab: 0x03ff800b | Sig enab: 0x03ff800b
[ 7841.803600] c0 0 sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 7841.803645] c0 0 sdhci: Caps: 0x2329c8b2 | Caps_1: 0x00008007
[ 7841.803689] c0 0 sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 7841.803734] c0 0 sdhci: Resp 1: 0x5b590000 | Resp 0: 0x00000900
[ 7841.803779] c0 0 sdhci: Resp 3: 0x0a404012 | Resp 2: 0x76b27f80
[ 7841.803820] c0 0 sdhci: Host ctl2: 0x0000000c
[ 7841.803859] c0 0 sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0x2e300008
[ 7841.803909] c0 0 mmc1: clk: 50000000 clk-gated: 0 claimer: mmcqd/1 pwr: 14
[ 7841.803957] c0 0 mmc1: rpmstatus[pltfm](runtime-suspend:usage_count:disable_depth)(0:0:0)
[ 7841.804003] c0 0 sdhci: ===========================================
[ 7841.810959] c0 27665 mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
[ 7842.098945] c0 18205 mmcblk1: p1
 

nightcore500

Senior Member
Jul 5, 2016
190
392
Burgstädt
icera-network.de
Seems to be an issue with die SD card driver, UHS-1 cards (tested with SanDisk Ultra) are not supported by our current kernel.
The same card (verified genuine btw.) has been working with CM13.

kmsg:
[ 7841.388709] c0 22066 mmc1: slot status change detected (0 -> 1), GPIO_ACTIVE_LOW
[ 7841.775759] c0 18205 mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[ 7841.781131] c0 18205 mmcblk1: mmc1:aaaa SU16G 14.8 GiB
[ 7841.803148] c0 0 mmc1: data txfr (0x00200000) error: -84 after 16 ms
[ 7841.803201] c0 0 sdhci: =========== REGISTER DUMP (mmc1)===========
[ 7841.803247] c0 0 sdhci: Sys addr: 0x00000000 | Version: 0x00003e02
[ 7841.803292] c0 0 sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000008
[ 7841.803336] c0 0 sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
[ 7841.803381] c0 0 sdhci: Present: 0x03f80206 | Host ctl: 0x00000017
[ 7841.803425] c0 0 sdhci: Power: 0x0000000f | Blk gap: 0x00000000
[ 7841.803469] c0 0 sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 7841.803512] c0 0 sdhci: Timeout: 0x00000008 | Int stat: 0x00000000
[ 7841.803557] c0 0 sdhci: Int enab: 0x03ff800b | Sig enab: 0x03ff800b
[ 7841.803600] c0 0 sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 7841.803645] c0 0 sdhci: Caps: 0x2329c8b2 | Caps_1: 0x00008007
[ 7841.803689] c0 0 sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 7841.803734] c0 0 sdhci: Resp 1: 0x5b590000 | Resp 0: 0x00000900
[ 7841.803779] c0 0 sdhci: Resp 3: 0x0a404012 | Resp 2: 0x76b27f80
[ 7841.803820] c0 0 sdhci: Host ctl2: 0x0000000c
[ 7841.803859] c0 0 sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0x2e300008
[ 7841.803909] c0 0 mmc1: clk: 50000000 clk-gated: 0 claimer: mmcqd/1 pwr: 14
[ 7841.803957] c0 0 mmc1: rpmstatus[pltfm](runtime-suspend:usage_count:disable_depth)(0:0:0)
[ 7841.804003] c0 0 sdhci: ===========================================
[ 7841.810959] c0 27665 mmcblk1: error -84 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
[ 7842.098945] c0 18205 mmcblk1: p1

Thanks, I have fixed the problem yesterday evening: https://github.com/nightcore500/and...mmit/08a899fdb120982aaad42c6c6ea9315a60a908e5
Its included in the next release.
 

stkl

Senior Member
Sep 8, 2008
112
23
Yes, exactly. Same code snippet referenced be nightcore. Should be fixed now. Just started a new build, will test tomorrow.

The UHS problem has been fixed and reverted numerous times in the past, not only for CM/LOS...
 

tryllz

Senior Member
Apr 8, 2014
389
69
When I select image(s) for deletion, sometimes the delete button shows sometimes it doesn't.

Anyone knows how to make a flashable zip of stock apps, Thanks..
 

Soenisti

Senior Member
May 7, 2012
452
509
Dublin
www.philosopherscorner.co.uk
As far as I can judge, nightcore uses the latest msm8974 kernel source from lineage? Invisiblek has here synced the mmc driver some time ago to caf/LA.BF.1.1.1_rb1.26. (https://github.com/LineageOS/androi...mmit/b7a99c094be02d78d1a9f7f8e5898bd702df82c7) That problem was already announced by some people to the devs. But nobody had ever cared about it. Or what do you mean stkl?

Yeah the git entry I always revert when building the One Mini 2 is the following commit:

b7a99c094be02d78d1a9f7f8e5898bd702df82c7

This is when all the MMC stuff changed to fit the M8 and similar and stopped working for the Memul.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 47
    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
    OFFICIAL DISCLAIMER
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked device, 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 me for messing up your device, I will laugh at you.
    */


    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:


    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
    9
    V0.4 is here ;)

    Release V0.4 (13.09.2017)
    • "New" CAF based kernel on version 3.4.90
    • Add AptX Support
    • 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
    8
    V0.2 is now released :)
    LineageOS 14.1 is now ready to be used as a daily driver. :good:

    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
    7
    V0.7 is here :)

    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)
    7
    I can confirm that the performance is better with an increased zram. With the next release, we change to the 384MB. Thanks for your work @stkl :)