[Galaxy Note 4 Android Development (Exynos)] ananjaser1211:
LineageOS 18.1 for the Samsung Galaxy Note 4 (N910C/H/U/S/L/K | N915S/L/K | N916S/L/K) ​

--> Personal Notes <--

20230630 Release notes :

Hello again everyone, I have finalized the release, half of these changes were included in the last "test" release i posted, i had to postpone any releases due to my note 4 USB port dying on me, but now that it is all sorted i managed to debug and do some changes i wanted to finish.

Overall this release is more or less preparation for Android 12/13 if i ever get around to doing them, there was alot of missing upstream required in the kernel and adding them helped performance alot, and hopefully aid in fixing the random app crashes reported, CPU, Binder, Memory and few others have been upstreamed.

i have used my note 4 for few days with my main sim card in it, made alot of calls, tested various modes such as bluetooth calls and so on, and it has been solid, battery life sucks on performance mode, using low/balanced did help things a bit, but i would not say its excellent, the ROM is too demanding.

Few other minor notes, Audio, fingerprint in 3rd party apps, Vulkan GPU all got fixes, WiFi is more stable now regardless of NearbySharing settings, and i added support for MicroG, and S-PEN Palm rejection. i have listed everything in the changelog

Note : While now the phone runs the actual official CTS fingerprint, it fails to pass CTS, after some testing it seems that the official note 4 fingerprint is no longer being certified, unless im mistaken, To circumvent this, if you need CTS pass you must flash magisk and Kdrag0n SafetyNet Fix module.

20221231 Release notes :

Happy to be able to still work on this device whenever the time allows, Lineage 18.1 Android 11 is here, comes with a good number of bug fixes and optimizations. and fixes some old issues we struggled with in past versions, Audio is still sadly a big downside of lineage roms however it is good enough for every day use and media consumption.

I have updated all the wikis on SourceForge, and ROM is mirrored to AFH.

Further more, i will be compiling PixelExperience 11 and releasing it soon, since sadly there is no RR-OS with android 11.

Android 11 itself is moving to EOL, so sooner or later i will have to start working on 12, so that is in the pipeline, other things such as TWRP will also get an update next year.

There isnt much traction to the note 4 anymore, but im happy some people still find it usable to this day

universal543

Happy new year everyone!

SourceForge mirrors, Wiki and TWRP/Bootloader is all found here Head over to WiKi for instructions.

The main device repo contains bug reporting and tracking found here it is the most updated bug list page and you are able to provide your own bug reports there following the steps below.

Submitting new issues/Requests

First read existing issues and the F.A.Q Below to ensure its not a duplicate/workaround

Head over to universal5433 for logging and issue reporting guide

provide as much info as possible and upload your logs on the forum

old release notes

20220430

This is more or less a minor release, You can dirty flash it, Main key points is fixing encryption and few other minor things.

Ive also included VR Support which enables Gyro sensor in VR, however it is VERY funky and you need to force enable the Gyro service in Google VR Services

RR builds are compiled and will be released along side this, with the same changelog as 17.1 however ive also compiled FaceUnlock packages and enabled SystemInfo overlay

20220421:

Hey everyone! Glad to be back again for another release, This one has been in development for couple months now, and comes with massive upgrades and improvements, the most major is a full transition into Exynos7420 Oreo graphics drivers, which modernizes our device graphics stack significantly, and finally allows us to use proper OMX media codecs which solves many issues including the dreaded low quality playback! (You no longer need to flash FakeDeviceInfo)

Further more the new GPU driver significantly boosts performance in games and UI which is always a welcome (including fixing graphical glitches in games)

Other major fixes include full encryption support, Please refer to Updated TWRP to perform first time encryption setup, i must warn however, Encryption might interfere with future rom flashes, so only use it if you can keep your data backed up, as it will fully deny you access to it from TWRP.

This release also includes fixes for the random reboots, and Audio leakage, sadly this does not address the tiny microphone quality, so that remains an issue, Please refer to bugs for an uptodate bug list and instructions on how to easily report new issues

Big thanks to @Fuadmoin , @ISoreo and @TrisTanster for a ton of help with testing

20210630:

Builds for all variants have been updated, this release has been a WIP since April, ive done quite alot of changes for memory management, and added zRAM with LZ4 compression, to significantly improve our RAM situation.

Ive also fixed a broken sdfat driver that caused random reboots, and over all did a clean up of the kernel, removed old commits, updated some drivers, and more importantly, ive removed "ALL" custom GPU modifications, as they cause graphical issues in most games, and overheating, this means there no longer is an option to overclock/undervolt GPU. for now atleast.

finally, ive added a binary to help with N910H devices, which now allows them the option to go to settings > mobile networks > and pick 3G (full guide in F.A.Q) to fix SIM issues

Change-log wise this is a "small" update, but it hopefully addresses various stability problems, i have not done much work in audio tho, nothing ready for release, but i will be looking into that moving further.

03/08/2021

Update : I have released N910U builds with full sim support, they are available in the download section Sim calls / Data and SMS were all tested. it should be at the same level of bugs as other models now

03/05/2021

Alright i finally have time to release the next set of builds, i have done alot of work again on Audio to make it more stable.

and other fixes overall for modem / sim. i have used it for the past 3 days with my sim in it, and its alright.

i have also made a magisk module which you need to flash if you want high quality instagram (and other apps) video playback. all info in F.A.Q

I still have no idea how N910H will perform, so let me know if it works or not. if sim is buggy, try to manually force 3G APNs

N910U Now can show baseband info but still will not load or detect simcards. so no progress there.

We are down to few bugs, i am going to try to tackle some boring tasks in the next releases, like selinux and encryption, i am hoping to get us enforced soon, and maybe encrypted. after that i will probably re-do all our device trees. in case we ever get all the bugs resolved, we might apply to lineage official

2/17/2021

This batch of releases should hopefully address the random reboots and sim issues faced by many, i have also did entire audio from scratch, which would be fun to experiment on, i could not test it fully so i am going to expect that some calling scenarios might not work, would love to know about them.

i would like to also mention that the power management in this build has been re-done and settings > battery > profiles actually do use custom tunable similar to stock ROM, you may override the frequency i set for CPUs via HKTweaks but i personally think its better for over all stability and battery life

i should also mention that performance in general is miles better than both 16 and 17.1 builds of the past, as i found a big flaw in the kernel

over-all these set of builds carry a ton of improvements and fixes, and many missing commits that we should have had ages ago.

Enjoy and do let me know how it goes, to report any issues, follow the guide below on how to capture useful logs

2020 NOV

Alright everyone, so i have taken the stable state of our lineage 16.0 trees and decided to just go for 17.1, i have basically observed the same bugs (wifi thing on idle, no video recording in default cam app and encryption) so figured it was worth it to just spend the extra time to upbring 17.1, i have noticed a ton of improvements myself, i dropped certain hacks, and repaired a bunch of stuff in the tree, and fixed some critical 16.0 bugs related to GPS, Wifi and a ton others. I hope you enjoy this release, and please let me know how it goes, i am basically down to 2 or 3 testers at this point as everyone i knew already left this device, and i personally suck at testing, i loaded my phone with gapps micro, nova prime launcher and my general social apps / debugging tools. and so far its solid, There are some additional notes make sure to read below regarding registering fingerprint, as it gets stuck but actually takes in the FP information.

regarding continuing 16 builds, i dont know honestly, the build server i use is already crowded and building for 5 devices is too much to handle, last 16 build might be the last for a while.

Hope you enjoy this release!

Also BIG WARNING : Dualbootpatcher is no longer a thing with 17.1, it wont work ,dont ask me for support. the tool is deprecated

Lineage 16 release 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

Documentation

- Our project is also at SourceForge

TWRP

- My builds (3.7) WIth encryption support - XDA or SourceForge

ROOT Method

Magisk

- Simple follow Install instructions , Make sure to enable Magisk Hide to restore SafetyNet functionality

- i recommend Magisk V23 + Magisk hide for most usage

Google Apps

Open GApps

- Pick ARM > Android 11.

- MicroG is supported as of 6/29/2023+ Builds

or

BiTGApps

- Pick ARM Package

Odin

- Odin3 v3.13.3

Heimdall

- Glass Echidna

Bootloader/Modem

- Latest Packages here

Hope you enjoy this ROM!

--> Quick Notes about this project <--

ROM is stable for daily-usage.

Only the N910C version is tested by me.

All Exynos models support full functionality (Sim , calls etc)

For Stable Camera (Photo/Video) Use this GoogleCamera or XDA Thanks @Kaper_20 and enable camera2Api

Lineage 17.1/18.1 DOES NOT support dualboot patcher!

The kernel is fully customizable using HKTweaks by corsicanu: Github

--> Known Bugs <--

Footej and This GoogleCamera or Custom Opencamera XDA can record videos only

Kernel is Permissive

Microphone quality outside of calls is weak

Issues Page

--> Credits <--

Special and massive thanks to retiredtab for his contributions to the Exynos5433 project on the Galaxy Tablets!

@bonuzzz for his work in los-15.1 and exynos5433 Tablets and @dl12345 for his los-14.1 contributions

@stricted for help throughout this project, and porting modern BSP for exynos5xxx

@Alastor89 for help with custom powerHAL and contributions from Galaxy S7

@ripee & @tripLr for contributions to maintain the trees and build server

[*][user=8096767]@lukasb06 for contributions in exynos7420

@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 :

@Fuadmoin for extensive N910S/L/K Testing

@ISoreo for extensive N910C Testing

ck on telegram for N910U testing

@Voytec83 @claude96 @Enginyaman @MrNova @podiwadda @muddii_yasser @Mohelsayedplus @SypeR_ @exalented @Seemanthinis @clewisit

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

Source Code: github

ROM OS Version: 11.x

ROM Kernel: Linux 3.10.x

ROM Firmware Required: Latest Bootloader/Modem and TWRP 3.5.9+

Based On: Lineage OS 17.1

Version Information

Status: stable

Stable Release Date: 2023-06-30

Created 2019-06-09