[Galaxy S 4 i9500 Original Android Development] twain55:
An update to the Alberto96's last build of Lineage OS 14.1, containing the last security patches (from June of 2021) for the 14.1 release. This build has no fixed bugs, no new features or improvements. I just built with the trees they provided in their post, I'll link those trees down below. Considering the Exynos version of the S4 doesn't have ROMs above Oreo, I decided to build with the latest security patches available for LineageOS 14.1. For anyone still using an Exynos S4, this build has all the security patches issued till June of 2021, so it should in theory be more secure than Alberto's 2018 builds.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, 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.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/

Downloads

ROM

Gapps (choose arm, 7.1, nano or preferably pico)

All credits go to Alberto96 for the previous ROM and trees. ROM has only been tested on i9500.

What Works?

Everything.

If Camera doesn't work in third party apps like OpenCamera, copy the camera.goldfish.so and camera.goldfish.jpeg.so from /system/lib/hw/ files in stock ROM to in LineageOS' same directory.

Bugs:

Random Freezing, have to force reboot. Doesn't happen too often, and less frequent than Alberto's builds.

[ALL BUGS BELOW ARE PASTED FROM PREVIOUS BUILD]

Filesystem Socket Whitelist (https://goo.gl/1N6n7G) -

The only issue that requires to be fixed in order to get official.

SELinux (Permissive)

Shared Storage (doesn't encrypt the storage, F2FS driver issues)

ja3gxx: In-Call Echo Effect (random and rare)

ja3gxx: Robotic/Helium sound while In-Call using BT

How to flash?

1. Get TWRP version 3.1.0 from twrp.me for the i9500 and flash it to recovery partition.

2. Backup your phone.

3. IMPORTANT: Change the settings to use 'rm -rf' instead of actually formatting in TWRP settings.

4. Wipe: 1. cache, 2. dalvik cache and 3. system. then do a 4. factory reset. DO NOT (NEVER! NEVER! NEVER!) FORMAT DATA YOURSELF, JUST FACTORY RESET.

5. Install the zip from SD Card.

6. [Optional] Install the gapps.

7. [Optional] Install Magisk.

8. Wait for a while. The phone WILL take a couple minutes to boot.

Changelog:

Updated Security Patches.

Source Code

Device, Kernel, Vendor and Hardware Repositories: https://github.com/exynos5410

Build for Yourself

README: https://github.com/exynos5410/manifest

Contributors

Alberto96

Source Code: https://github.com/exynos5410

eladkarako

For the guide on flashing and updated links.

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Lollipop Bootloader and Modem, TWRP 3.1.1 as Recovery

Based On: LineageOS