[Galaxy S 4 i9500 Original Android Development] Alberto96:
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

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

MONTHLY

ja3gxx (GT-I9500)

|

ja3gchnduos (GT-I9502)

|

ja3gduosctc (SCH-I959)

|

jalteskt (SHV-E300S/K)

|

jaltelgt (SHV-E300L)

Download Folder (choose the newer one for your variant): https://basketbuild.com/devs/Alberto96

Previous Releases:

Download Folder (choose the newer one for your variant): https://www.androidfilehost.com/?w=files&flid=183829

BETA (up to 20170521)

ja3gxx (GT-I9500)

20170521: https://www.androidfilehost.com/?fid=673368273298956479

20170430: https://www.androidfilehost.com/?fid=817550096634766106

20170423 Build: https://www.androidfilehost.com/?fid=745425885120726598

MD5SUM: https://www.androidfilehost.com/?fid=817550096634764324

20170413 Build: https://www.androidfilehost.com/?fid=529152257862719040 (Not compatible with 11GB .pit partition sizes, your device needs to have an 8GB .pit partition table to install it)

MD5SUM: https://www.androidfilehost.com/?fid=745425885120724007

20170408 Build: https://www.androidfilehost.com/?fid=817550096634760721 (Not compatible with 11GB .pit partition sizes, you need to use the stock 8GB .pit to install it)

MD5SUM: https://www.androidfilehost.com/?fid=817550096634760720

TWRP/GearRecovery (20160220, will be updated soon): https://www.androidfilehost.com/?fid=24421527759883765

EXPERIMENTAL

jalteskt (SHV-E300S/K)

20170430: Temp. Removed, will be back soon. Current Status: No Mobile Data and No Incoming Calls, everything else works fine.

ja3gchnduos (GT-I9502)

20170430: https://www.androidfilehost.com/?fid=817550096634766107

jaltelgt (SHV-E300L)

< Developers >

I need a Korean Developer with this device that is able to fix RIL. Currently this is what i managed to obtain: https://github.com/exynos5410/android_device_samsung_jaltelgt

< Users >

20170501: https://www.androidfilehost.com/?fid=673368273298951557

-------------------------------------------------------------------------------------------------------------------------------------------------------------

<< Up-to-date TWRP Recovery >>

ja3gxx (GT-I9500)

|

ja3gchnduos (GT-I9502)

|

ja3gduosctc (SCH-I959)

|

jalteskt (SHV-E300S/K)

|

jaltelgt (SHV-E300L)

Download Folder (choose the newer one for your variant): https://basketbuild.com/devs/Alberto96/TWRP

-------------------------------------------------------------------------------------------------------------------------------------------------------------

<< Stock ROMs >>

ja3gxx (GT-I9500)

Latest Stock ROM + 8GB .pit file: https://mega.nz/#F!BQVRGLQB!710w3GfCl2AEDi6AW8B_tA

Latest Bootloader and Modem: https://xdaforums.com/showpost.php?p=71871916&postcount=305

Just in case something goes wrong during the Stock ROM flashing process (e.g. bootloop), here you can download a repair firmware: https://www.androidfilehost.com/?fid=24572369242686457

-------------------------------------------------------------------------------------------------------------------------------------------------------------

<< Google Apps (add-on) >>

OpenGApps (recommended: arm, 7.1, nano)

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Changelog

Starting from 20170721 builds: https://github.com/exynos5410/weekly_ota/blob/cm-14.1/CHANGELOG.md

Builds are now 100% automated, with complete OTA support and automatic changelog generation.

Previous Releases:

20170616 up to 20170714:

Up-to-date LineageOS sources

20170609:

Up-to-date LineageOS sources

Fixed Video Encoding with some apps

jaltelgt: HOPEFULLY Fixed RIL

20170602:

Up-to-date LineageOS sources

20170526:

FIRST AUTOMATED WEEKLY

Up-to-date LineageOS sources

Fixed camera issues with some apps

Added pseudo-OTA updates support

ja3gchnduos: Fixed RIL but disabled Dual SIM support

jalteskt: HOPEFULLY Fixed Calls with no Mobile Data yet

jaltelgt: HOPEFULLY Fixed RIL (Calls/SMS/Data)

20170521:

Up-to-date LineageOS sources

Improved RIL Stability (no more random reboots should be there)

Reduced Earpiece Volume while in-call

20170430:

Introduced Experimental GT-I9502 and SHV-E300S/K/L support (thanks to the exynos5420 team for the audio wrapper)

Migrated from i9500 codename to ja3gxx (necessary for compatibility reasons)

Removed Baseband/RIL throttling causing lags with no signal or such

Restored Pulsing LED on boot

Switched to proper BFQ I/O Scheduler

Tuned Power Profiles

Reduced Power Usage on boot by reducing brightness and GPU frequency

Fixed all WiFi issues some users were facing

Improved Overall UI responsiveness

20170423:

Updated to Android 7.1.2 with April's Security Patches

Fixed Audio on Boot

Improved Bluetooth Stability

Enabled Doze Support for Better Battery Life

Improved Baseband Management

Improved GPU/UI Performance

Fixed SIM Card Contacts (?)

Increased Speaker Volume by 10%

Disabled Block OTA to maintain the best compatibility with all devices (aka 11GB .pit)

Added KeyDisabler to enable on-screen buttons

Improved Flashlight Stability

Fixed all Tethering Issues

Added some WiFi Driver Improvements

20170413:

Fixed Mobile Data

Fixed Bluetooth In-Call Audio

Possible Better Battery Life due to less RIL issues, but nothing sure.

20170408:

First release.

[/LIST

Installation

3-button-combo = "Volume Up/+" + "Home/Center" + "Power/Lock"

- First time flashing LineageOS to your device (or coming from TouchWiz/Stock Based ROMs)?

Install latest TWRP linked above.

Reboot into Recovery using 3-button-combo

Do a Backup! (if required)

Wipe (wipe data/factory reset + wipe cache partition + format /system partition)

Install the ROM from internal/external sdcard

Optionally install Google Addon

Done! You can now reboot the phone.

- Upgrading from other ROMs?

Reboot into Recovery using 3-button-combo

Do a Backup! (if required)

Install latest TWRP linked above

Reboot into new Recovery using 3-button-combo (if needed)

Wipe (wipe data/factory reset + wipe cache partition + format /system partition)

Install the ROM from internal/external sdcard

Optionally install the Google Addon

Done! You can now reboot the phone to enjoy the rom :)

- Upgrading from another build of LineageOS 14.1?

Reboot into Recovery using 3-button-combo

Do a Backup! (if required)

Install latest TWRP linked above

Reboot into new Recovery using 3-button-combo (if needed)

Install the ROM from internal/external sdcard

Wipe Dalvik/ART Cache (wipe cache partition + wipe dalvik cache)

Done! You can now reboot the phone.

Known Issues and/or not working features

!!! BUG REPORTS ABOUT ALREADY KNOWN ISSUES WILL BE IGNORED !!!

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

ja3gchnduos: Missing Dual SIM support.

ja3gduosctc: Can't switch mobile data baseband correctly without restart networks.

jalteskt: Due to some RIL issues, the GPS driver has been temp. disabled. (20171229 and newer)

jalteskt: Unstable audio driver with calls.

< TO-BE-CONFIRMED > jalteskt: USSD Codes can't be sent.

jaltelgt: RIL crashes on boot, meaning that Calls/Data won't work.

Reporting Bugs

!!! BUG REPORTS WITHOUT LOGS WILL BE IGNORED !!!

Read this first: https://xdaforums.com/showpost.php?p=72130080&postcount=742

No Bug Reports from the Developer Options menu.

Android: adb logcat

Radio: adb logcat -b radio

Kernel: adb shell dmesg

If you can't or don't want to use adb, check this advice (using SysLog): https://xdaforums.com/showpost.php?p=72553412&postcount=1131

Source Code

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

HOW-TO Build

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

XDA:DevDB Information

[ROM][Exynos][7.1.2][UNOFFICIAL] LineageOS 14.1 for Samsung Galaxy S4 (most variants), ROM for the Samsung Galaxy S4

Contributors

Alberto96

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

XDA:DevDB Information

[ROM][7.1.x]Unofficial LineageOS 14.1 Monthly Builds (all variants), ROM for the Samsung Galaxy S4

Contributors

Alberto96, ja3gduosctc: spxg, pohrom

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

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

Version Information

Status: Nightly

Created 2017-04-08

Last Updated 2018-07-07