• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[EXYNOS][UNOFFICIAL] LineageOS 16.0 10/19/2019

ananjaser1211

Recognized Developer / Recognized Contributor
May 11, 2012
2,829
17,814
113
Dubai
www.youtube.com



LineageOS 16.0 for the Samsung Galaxy Note 4 (N910C/H/S/L/K | N915S/L/K | N916S/L/K)

DUE TO RECENT CHANGES TO XDA, THE THREAD IS OUTDATED. PLEASE GO TO THE SECOND POST FOR RELEASE INFO / CHANGELOGS. I WILL UPDATE THE MAIN THREAD ONCE I HAVE TIME


--> Personal Notes <--
Alright, it took a lot of work and effort, but finally our device is running Android Pie in a state that is considered "usable" by myself and the testers. There is still a lot of room for improvement but for now the current C/H build is good enough. S/L/K and U builds will follow later after the C/H one is tested, and while i get myself a server.

This project is only possible due to the awesome people who helped me get my foot into AOSP development, which is very different from what I'm used to. In no particular order, our thanks to @Lunarixus , @ripee , @Stricted (especially for commits that fixed RIL) @tripLr , @bonuzzz and many others from various communities who helped indirectly by sharing their device trees on GitHub.

I will continue to work on Lineage 16.0 and hopefully Lineage 17.0 in the future. I am enjoying AOSP more than TW at the moment.
Expect other flavors of AOSP Pie to come out. I was going to release Havoc but it seems to have a problem with incall UI when you install gapps, so I'm skipping it for now.

If you appreciate the effort behind this, don't hesitate to leave a thanks, provide constructive criticism and maybe consider donating some "totally not illegal stuff" over at my paypal

Odin
- Odin3 v3.13.3

Heimdall
- Glass Echidna

Bootloaders and modems
ripee
- .BL_CP
Download the one whose file name starts with your variant. Boot your phone into Download mode and use Odin's "AP" button to import the .tar file. If you are using Heimdall, extract each file from within the .tar file and flash each of them individually.
ripee has posted bootloaders and modems for most of the Exynos variants, as well as some other device which you may also find useful. If ripee has not yet posted one for your variant, please him know.

ROMs (early-test Folder)
ananjaser1211
- AOSP

Ripee Builds
- AOSP

* Open "Note 4 Exynos *"

Magisk

Open GApps

SPenCommand

- It is against XDA Developers rules to post links to paid apps and games. Please find this app on your own if you wish to use it.

Hope you enjoy this ROM!

--> Quick Notes about this project <--
  • ROM is in daily-usage state.
  • Only the N910C/H version is tested by me.
  • N910U builds are not available until RIL is resolved
  • Dualboot patcher support is added. As always, install this rom as primary.
  • The kernel is fully customizable using HKTweaks by corsicanu:Github

--> Known Bugs <--
  • Only footej can record videos (and some other apps that use software encoding).
  • Encryption is broken
--> Credits <--
  • @bonuzzz : For his work on the Galaxy Tab S2, bringing up Lineage 14.1 and Lineage 15.1, many other contributions for Exynos5433 SoC and giving me personal help when needed. Without his work, we wouldn't have 16.0.
  • @stricted for pointing commits to fix RIL and other good stuff to come.
  • @ripee for many contributions to our current sources and help with maintaining them.
  • @tripLr for his awesome build-server that made these builds possible.
  • @dl12345 for continuous Lineage 14.1 support, fixing MFC/ION and other important issues.
  • @lukasb06 for his work on Exynos7420, which helped fix some issues.
  • [MENTION=]corei7x[/MENTION] for studying the Ericsson RIL, which made a workaround possible to start RIL.
  • @clewisit for testing and dualboot patcher support.
  • @RaymanFx & @erickwill for their work in maintaining this device on CyanogenMod 13.0, which helped both directly and indirectly with this project.
  • @lineage project and all team members.
  • If you helped with this project and I forgot to add you, please PM or mention below.

Thanks for the best testers you could wish for :
@Voytec83 @claude96 @Enginyaman @MrNova @podiwadda @Mohamed Arshad @muddii_yasser @Mohelsayedplus @SypeR_ @exalented @Seemanthinis @clewisit



Downloads, Change-logs and F.A.Q Below

XDA:DevDB Information

Lineage-16.0, ROM for the Samsung Galaxy Note 4

Contributors
ananjaser1211, ripee, bonuzzz
Source Code: https://github.com/exynos5433

ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest Bootloader/Modem and TWRP 3.3.1-0
Based On: Lineage OS 16.0

Version Information
Status:
Testing
Current Stable Version: 2019-09-21
Stable Release Date: 2019-09-21

Created 2019-06-09
Last Updated 2020-01-18
 
Last edited:

ananjaser1211

Recognized Developer / Recognized Contributor
May 11, 2012
2,829
17,814
113
Dubai
www.youtube.com
Downloads and changelogs

Track changes on RefinedChannel : Telegram
Come hang with us on our chat : Telegram
My TWRP (3.3.1-0) For all Galaxy Note 4 Exynos Variants : XDA

--> Downloads <--
Lineage 17.1 (11/23/2020)
N910C/H (treltexx) : AFH | MD5 : e8de4fa2e53d21ab59c9524c2c09fec9
N910S/L/K (trelteskt) : AFH | MD5 : d2b38f59afc461035f6723551d1716bd
N915SLK (tbelteskt) : AFH | MD5 : b4cbf809ebdd176cb74bdd4294cbc79c
N916SLK (tre3calteskt) : AFH | MD5 : 87da8b64428d52215149efdc0a4c06c9
N910U ALPHA (trhpltexx) : AFH | MD5 : 030c8cfeb8412fb1ed594e3bc946445b
GoogleDrive Mirror : Download

Lineage 16.0 (11/01/2020)

N910C/H (treltexx) : AFH | MD5 : a09788f0384b7d10924acb1467603f48
N910S/L/K (trelteskt) : AFH | MD5 : 48950d5032f0721d1e2bd892a61baf1f
N915SLK (tbelteskt) : AFH | MD5 : 082461f5c5099aac5a200cb2100f48c9
N916SLK (tre3calteskt) : AFH | MD5 : a61060895aae647b42b0107d1e50bc69
N910U ALPHA (trhpltexx) : AFH | MD5 : 6221a2d991083778c502dd5764d6ebe9
GoogleDrive Mirror : Download


->> Lineage 16.0 builds (10/19/2019)

N910C/H (treltexx) : AFH | MD5 : 488840aca19725b0003f5d262da95b2f
N910S/L/K (trelteskt) : AFH | MD5 : 04681665fa88a1c4eacd56e42067bd09
N915SLK (tbelteskt) : AFH | MD5 : c7c975bd401f1e5a5a1ea3c7f8486631
N916SLK (tre3calteskt) : AFH | MD5 : c72ec56a7f67d6d57ab78759f9375718


->> Lineage 16.0 builds (10/10/2019)

N910C/H (treltexx) : AFH | MD5 : c26c8cedf315398c002c4c7629eb2b56
N910S/L/K (trelteskt) : AFH | MD5 : 0b7cf4305d160f7a42c5d5342c1a74cb
N915SLK (tbelteskt) : AFH | MD5 : 0a302764053ce8e1ef666a3f34e97698
N916SLK (tre3calteskt) : AFH | MD5 : a91239b9335bc79231a1ec2bc8e5572c


--> Changelog <--
Lineage 17.1 (11/23/2020) LATEST.
- Rebased trees and update to lineage 17.1 running android ten
- resolved an issue that broke GPS + RIL Connection and affected GNSS Locking
- Updated widevine and implemented clearkey to match modern devices with netflix playback support (requires magisk hide + reboot and some time to show up on the store)
- Updated kernel net driver significantly to resolve connectivity issues
- Remove broken/unsupported WiFi display that caused severe draining
- Fixed Fingerprint for android Q (read F.A.Q For more details)
- Allow direct booting from offline charging mode
- Added logging service to help with user debugging (When facing issues zip me /cache) read F.A.Q if you want to disable it
- Improve network scanning for RIL
- Improve graphics performance
- Early boot system for faster booting speeds
- Include official lineage power HAL which works better on our phones
- Apply fixes for media playback that required hacks previously
- and everything else Android ten brings!

Lineage 16.0 (11/01/2020).

ROM :-
- Updated to latest lineage sources with October 2020 Patch
- Switched to new BSP to compile most blobs (including video , display etc) big thanks @Stricted
- build and update OMX from BSP to resolve many codec issues
- Fix graphical glitches / issues during games (pink stuff)
- remove unused shims from the trees and do general cleanup
- update GPS shim and and improve its stability
- implement MultiHAL Sensors wrapper to resolve rotation and other sensor issues
- Disable broken CPUSETS
- update WiFi Configs and disable broken wifi features
- update TCP and other throughput configs
- Fix spammy P2P wifi logging
- bring back argosd service to fix slow WiFi / lag when downloading (tested upto 260mbps)
- Fixes to Wifi during Doze
- build open source bluetooth blobs with some call fixes
- update and adjust SWAP rates and switch to ZRAM
- disable nearby service by default which makes wifi unstable when bluetooth is active
- use second mic when using speaker calls to avoid echos
- other misc mixer and audio changes
- Disable GPU errors caused by unsupported screen fade effect
- Fix Front camera in stock/3rd party
- fixed video recording in footej camera and its quality to 1080p
- Fix headphone mic one more time
- Add workaround for muted incall audio

Kernel :-
- Remove broken wakelock controls
- implement devfreq boost driver by @Lunarixus
- update LMK driver to resolve issues with memory leaks
- properly kill GPU DVFS control from the driver
- adjust GPU interactive governor
- Fix an issue that made the GPU stuck at 100% utilization with min frequencies (this also resolved serious lag issues)
- bring back stock input booster settings (to maintain decent performance).


Lineage 16.0 (10/19/2019)

1- Fixed low quality video in instagram/twitter and so on by fixing AVC decoder (And encoder was improved)
2- Fixed offline charging animation
3- inline encryption with stock (untested)
4- Tons of fixes to WiFi, will remain working when screen is off, and more stable in games (and enabled background scan/batched scan)
5- Generally improved the quality of video playback / recording (to inline with stock)
6- LowMemoryKiller tweaks added that should help with the memory leak issue
7- Enabled burn-in protection
8- Added some fixes for mediaserver and made it more stable (It will crash less often now, but it will if you try hard enough)
9- Many changes to ramdisk to fix missing nodes (NFC, DVFS, GPS And sensors)
10- Adjust LowBattery warns (to inline with stock)
11- fix some errors in miracast so it works more often
12- Entire rework to the GPU to fix Graphical glitches, crashes and many more to heavy games (PUBG, CSR, COD etc)
13- Removed 100mhz GPU clock, set default min 266, max 600 as stock, removed 800mhz overclock option (Max is 730)
14- Sync with latest lineageOS source
15- And other misc changes to fix performance and battery in general


Lineage 16.0 (10/10/2019)

Cumulative changes from all the previous test versions
1- Re-work Audio fully with a new mixer_path based on stock tinyucm conf
2- Fix call echo in all scenarios (3rd party calls not tested)
3- restore stock gains (the ones we had were all over the place)
4- fix headphone mic in 3rdpaty apps and in calls
5- add missing wideband/narrowband scenarios
6- update the lineage audio hardware hal
7- restore mic level to stock without hurting voice recorders
8- Fix memory issues (with improved LowMemoryKiller and swap)
9- fix random shutdowns due to low memory after long useage
10- Set the minimum GPU frequency to 160
11- Set the GPU to be always online (due to lack of HWC, this fixes performance issues)
12- reduce the effect of touch booster to save battery
13- Disable swipe-up gestures
14- Massive liveDisplay fixing (ColorProfile , Displaymode (Night/day) , Color temperature , Outdoor mode And color calibration support)
15- Other performance improvments
16- Improvments to calls by reverting some broken changes
17- removed AudioFX (Qcom only)
18- added lineage vibration hal
19- removed custom gnss hal that wasnt needed
20- more fixes to GPS
21- slight changes to sensors
22- built healthd hal (still no offline charging)
23- enabled and fixed HWC
24- added a prop that helps with performance
25- Fixed NFC so it no longer ****s everything up when its turned off (and now can be turned on without also ****ing said things up)
26- other misc changes you can see in git
27- Fixed all HWC leaks (therefore you shouldnt have random reboots anymore)
28- Disabled always_on GPU for better battery saving
29- Animations and layers will have improved performance
30- removed a workaround that delayed boots
31- critical kernel changes to remove many workarounds we had by :
32- updated sdcardfs driver to remove legacy stuff
33- updated sdfat driver and enabling it for exFAT
34- updated EXT4 driver and using it for EXT2/3 instead of dedicated drivers for both
35- updated USB and ADB so we dont need legacy stuff anymore
36- updated and enabled F2FS Driver (support not tested)
37- patch a ion leak
38- updated wireless/wifi driver to remove the need for workarounds
39- Added back AudioFX as it works
40- DRM changes
41- default hotspot name
42- fixes to rotation sensor (it works fine with/without location enabled here, but if it as slow, enable location)
43- remove duplicated tether config
44- fix nfc config
45- Updated powerprofiles
46- slight changes to meda and camera set for the future
47- synced with latest lineage sources

TLDR : tons of fixes, better performance and having an actual usable phone.


Lineage 16.0 (9/21/2019)
1- Full hardware video playback (no lag even on 1080p60 playback)
2- LiveDisplay enabled (color mode changing) with more features to be added later
3- updated and enabled back ambient and aod (not fully tested yet)
4- added and updated APN and SPN configs
5- improvments to camera and include camera2 instead of snap
6- fix a mic bug that introduces artifacts in audio recording
7- OMX and media fully redone based on herolte
8- Rotation sensor should be more robust now
9- few changes to spen
10- Bluetooth range and issues fixed
11- improve RIL for SLK variants
12- Fix NFC issues on N916 variants
13- improvments to NFC on intl variants
14- set default color mode to cinema for vivid colors
15- Removed a binary that caused SLK variants to over-heat
16- latest lineageOS sources
17- compiled stable builds for N910SLK|N915SLK|N916SLK
18- overall the build is more responsive and stable due to MFC/OMX fixes


Lineage 16.0 build (9/16/2019)

1- Fixed Video playback for 3rd party apps
2- Youtube and other social media apps will no longer freeze randomly
3- fixed an issue that took a toll on performance
4- over all the rom will be noticeably smoother


Lineage 16.0 initial build (9/14/2019)

1- Updated and reworked the tree all together
2- A decent powerHAL modded to N4
3- Bluetooth APTX errors resolved
4- Fully fixed RIL (no workarounds needed)
5- Entire Kernel has been built from scratch
6- New binder, sdcardfs, and WiFi drivers
7- all the features of HeliosKernel built it and customizable
8- Updated brightness tables to conform with stock
9- removed ugly workarounds and hacks
10- Audio much more stable
11- stock APN , TCP configs and much more
12- Added more LED modes
13- Added AOD and ambient display support that kinda works
14- updated most libs and shims
15- built lineage trust and touch HALs
16- enabled gesture support
17- enabled smart pixels for ROMs that support it
18- And tons of other changes covered in the github source
 
Last edited:

ananjaser1211

Recognized Developer / Recognized Contributor
May 11, 2012
2,829
17,814
113
Dubai
www.youtube.com
F.A.Q And Notes

Q : Recommended camera app to use ?
A : This Google Camera : Download or Footej2 from the play store

Q : When registering FP, i dont see progress or vibration
A : It is fine, keep enrolling your finger, and at the end it will show you pass. this seems to only happen with first enrollment

Q : How to disable automatic cache logger ?
A : Delete system/system/vendor/init/hw/loggy.sh

Q: Whenever I try flashing any lineage- build, I get the following error in TWRP: Updater process ended with ERROR: 7
A: Update your TWRP to 3.2.3 available Here or newer

Q : Device is too warm
A : After first boot that is common, let the phone finish setting up and cool down

Q : The phone sometimes wake up with wifi disconnected
A: This is currently unfixable as samsung has framework addons in the stock rom to prevent this from happening

Q : How to get google apps ?
A : Go to Opengapps.org . Select ARM > 9/10 > [your choice] and flash opengapps*.zip after the ROM.zip

Q : How to get Root ?
A : Flash Magisk Root From Here

Q : How to tune the kernel ?
A : use HKTweaks app from @corsicanu : Github
 
Last edited:

Seemanthinis

Senior Member
Feb 29, 2012
119
37
0
Cant thank you enough for your immense work on this abandoned but powerful device.. to others, it was totally unexpected that we would get this rom working in this condition for note 4. The development has been really positive and the rom is in a very usable daily state.
Glad to be part of the family and seeing this rom from its inception to its release is heart warming.
Cheers to all..
 
  • Like
Reactions: ananjaser1211