FORUMS
Remove All Ads from XDA

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

167 posts
Thanks Meter: 334
 
Post Reply Email Thread
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
Quote:

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.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/andr...s/lineage-14.1

Older changelogs:

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.4 LineageOS 14.1 13.09.2017
md5sum for ROM v0.4 LineageOS 14.1 13.09.2017
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: Beta
Current Beta Version: 0.4
Beta Release Date: 2017-09-13

Created 2017-05-06
Last Updated 2017-09-13
The Following 33 Users Say Thank You to nightcore500 For This Useful Post: [ View ] Gift nightcore500 Ad-Free
 
 
6th May 2017, 01:29 PM |#2  
nightcore500's Avatar
OP Senior Member
Flag Burgstädt
Thanks Meter: 334
 
Donate to Me
More
Reserved
The Following 4 Users Say Thank You to nightcore500 For This Useful Post: [ View ] Gift nightcore500 Ad-Free
6th May 2017, 01:54 PM |#3  
nailyk's Avatar
Senior Member
Thanks Meter: 1,940
 
More
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
The Following User Says Thank You to nailyk For This Useful Post: [ View ] Gift nailyk Ad-Free
6th May 2017, 04:59 PM |#4  
Member
Thanks Meter: 2
 
More
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.
6th May 2017, 05:41 PM |#5  
nightcore500's Avatar
OP Senior Member
Flag Burgstädt
Thanks Meter: 334
 
Donate to Me
More
Quote:
Originally Posted by Andruxcx

Is it 7.0 or 7.1?

7.1.2

Quote:
Originally Posted by Andruxcx

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

If you are already on lineageos 14.1 you don't need a full wipe.
The Following 2 Users Say Thank You to nightcore500 For This Useful Post: [ View ] Gift nightcore500 Ad-Free
6th May 2017, 07:04 PM |#6  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by nightcore500

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

---------- 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
The Following User Says Thank You to Andruxcx For This Useful Post: [ View ] Gift Andruxcx Ad-Free
6th May 2017, 07:11 PM |#7  
nightcore500's Avatar
OP Senior Member
Flag Burgstädt
Thanks Meter: 334
 
Donate to Me
More
Quote:
Originally Posted by Andruxcx

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?[COLOR="Silver"]

No, its a debugging feature thats automatic enabled on eng builds. This build is currently only for development purposes. I switch to userdebug on the next releases.
6th May 2017, 07:31 PM |#8  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by nightcore500

No, its a debugging feature thats automatic enabled on eng builds. This build is currently only for development purposes. I switch to userdebug on the next releases.

Okay
7th May 2017, 10:59 AM |#9  
Senior Member
Thanks Meter: 49
 
More
Does this need TWRP version 3 to flash or the 2.8.5.0 flashes as well ?
7th May 2017, 02:44 PM |#10  
Member
Thanks Meter: 18
 
More
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.
7th May 2017, 02:54 PM |#11  
Senior Member
Thanks Meter: 49
 
More
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
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes