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

--> Personal Notes <--

20220421 Release notes :

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

RessurectionRemix Builds will follow later, right now i dont have any storage on my server to compile

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

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

TWRP

- My builds (3.5.9) WIth encryption support - XDA

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 10. No MicroG support currently

or

BiTGApps

- Pick ARM Package

Odin

- Odin3 v3.13.3

Heimdall

- Glass Echidna

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

F.A.Q

Q : How to use Encryption ?

A : First, head over to TWRP Thread And follow the notes for First time encryption setup (this involves formatting internal storage while using that twrp, This is mandatory as previous twrps did not create proper partition state for encryption), Then head over to settings > security > encryption > Encrypt Phone, the phone will reboot once or twice

Warning : Encryption will prevent TWRP from reading your internal storage at all, And encryption is very sensitive, any untested customization or mods might brick the ROM, and putting your data at risk, only use if required

UPDATE : You will bootloop if you did not set PIN/lockscreen in setup wizard before encrypting

Q : How to Tune for Performance or battery life ?

A : Latest release offers proper Power profiles which can be adjusted in Settings > Battery > EnergySaver and Performance. The slider will adjust MAX CPU frequency as follows,

Power saving Big: 1.4GHz Little: 1.0GHz

Balanced: Big: 1.7GHz Little: 1.3GHz

Performance: Big: 1.9GHz Little: 1.4GHz

Q: N910H wont detect SIM / network

A: This is due to it trying to force LTE, Go to settings > network > mobile networks And change preferred network type to 3G, then enable and disable Airplane Mode. Here is a Video by @mvrul2k20 to explain the procedure

Q : Korean variants (S/L/K) have tube / robotic audio in calls

A : this bug is unfixable for now as those models rely on stock audio hardware effects to fix this issue, but we cant use that and open source H/W does not support them

Q : How to enable android 10 gestures

A : First you need to enable navigation bar (this will disable touchkeys) then go to gesture settings and enable full screen gestures

Q : Recommended camera app to use ?

A : GoogleCamera or XDA Thanks @Kaper_20 and enable camera2Api

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: 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 or higher 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 : How to tune the kernel ?

A : use HKTweaks app from @corsicanu : Github

Source Code: github

BUG Tracker : github

Track changes on RefinedChannel : Telegram

Come hang with us on our chat : Telegram

--> Downloads <--

Lineage 17.1 (04/21/2022 - STABLE)

N910C/H (treltexx) MD5 : 5d3006cec330316f5187aab14c8ec3c7

N910S/L/K (trelteskt) MD5 12fa00de2dfa0affcaab2bd590b72454

N915SLK (tbelteskt) MD5 : 70754e3490c9576899db1e7632e555d8

N916SLK (tre3calteskt) MD5 : cc01e77e0b5e26e122427ddaa41d790f

N910U (trhpltexx) MD5 : 4ee91c68117f2ef77a960dbf1eb771c4

Google Drive : Download

SourceForge : Download

--> Changelog <--

Lineage 17.1 Update (04/21/2022 - STABLE)

* This is a cumulative release of the past couple months

- Fix interactive governor performance issues

- build missing OMX hidl

- update media configs to fix some playback issues

- Switch to N935FXXS7CTJ2 OMX to fix video recording (screen record/footej)

- Increase min cpu clock to 700mhz

- restore stock little cpu boosting frequency

- Revert Agressive hotplug power saving mods

- Fix bluetooth audio suttering when screen is off

- Switch to Exynos7420 Oreo R22P0 GPU

- Update Gralloc to oreo buffer

- Patch camera to work with new gralloc

- Fix AdaptivePlayback low quality issues

- add 4K camera recording profile (ofc wont work)

- re-do media configs and bunch of other **** for oreo graphics

- update power_profiles to use proper power values

- Fix Power management in PowerProfile switcher (Balanced / Powersaving and performance now properly apply)

- Add custom audioroute which fixes various Audio issues (leakout in headphone jack, some echo, other audio route issues)

- Enable AOSP dynamic audio processing

- Reserve 128MB of internal storage for critical system operations (to avoid losing data when internal is full)

- Fix parse errors in media configs

- Fix MFC dec/enc permissions

- Improve RIL mobile data stability / latching onto network

- Remove unused things such as DRK, F2FS and deprecated camera configs

- Add Encryption support (Follow F.A.Q For how to get encrypted)

- Add 2017 August Vendor patch level

- Fix USB MIDI mode crash

- Remove unsupported audio sampling rates to avoid extra processing

- Fix WiFI Direct / P2P

- Significantly reduce Drain caused by broken P2P

- Add back GPS NTP server configs

- Fix-up and update XTRA configs for GPS

- Remove unsupported software decoders

- Revert broken audio processing in the lineage audio HAL

- Fix random reboots caused by invalid GNSS/GPS config

- Disable legacy hardware keystore

- Switch from proprietary keystore/tee to OSS for future support

- Various fixes to USB / MTP

- Add a fix for WiFi turning off after doze

- And a bunch of other minor things here and there in the device trees

Kernel :-

- Fully re-do USB upstream to fix weird issues with MTP

- Fix FBE Encryption

- Switch to OSS Mobicore driver

- Remove default Boeffla block list as it broke WiFi and other parts

- Update interactive governor

- Disable broken/unused governors