[Galaxy S 4 i9505 Original Android Development] side:
[JDCTeam] &#127796;Optimized LineageOS 15.1&#127796; Release 06 [11 Sep] [8.1.0_r43] [KANGED] [EOL]

Optimized LineageOS 15.1 for the Samsung Galaxy S4 (Qualcomm variants)

Brought to you by the Jflte DevConnection Team​

* Your warranty is now void.

* We are 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! YOU are choosing to make these modifications and if
* you point the finger at us for messing up your device, we will laugh at you.

FEATURES

Based on LineageOS 15.1 - Android 8.1 Oreo r_43

September 2018 security updates integrated

F2FS support

Improved speed, stability, RAM usage & battery drain

LEDify by JDCTeam - choose your favorite notification LED pattern at device's boot!

Toolbox by JDCTeam - the all-in-one device manager

OMS integrated / Substratum supported plus LOS themeing

Spectrum profile manager supported

Powered by BUFFcore kernel:

BUFFcore 2.17:
Set CONFIG_HZ to 300
Add intelliplug, use as default hotplug.
Tweak our touch boost, after new hotplug
Add Color control tweak
Stop lowclocks from defconfig
Build with GZIP
Quickwakeup - the kernel can semi-wakeup and decide if needs to end suspend or return to suspend with losing doze.
fully optimized toolchain flags;
reduced sleep timeout;
dynamic file syncing - early_suspend and dyn_fsync by default;
boeffla wakelock blocker;
print to dmesg log when a suspend gets broken;
sdfat enabled;
fastcharge implemented (up to 1900 ac / 1600 usb);
bcmhd wakelocks for rx and tx halved;
libmemcopy and libstring sped up;
io readahead to 1024k;
lower min cpu governor frequency (270);
power efficient work queues;
voltage tweaking user interface;
faster vmstat;
autosmp hotplugging replacement;
mmc crc disabled;
allow for lower cpu voltage;
reduce swapiness;
optimize divide / multiply by power of 2;
added tcp optimization options;
set westwood default;
force doze screen off helper;
optimize cbfillrect function;
reduce wifi wakelock times;
nohz: reduce overhead under high-freq idling patterns.

Many, many more - install and see for yourself!

SUPPORTED DEVICES

All Galaxy S4 variants with Qualcomm Snapdragon 600 are supported:

GT-I9505

GT-I9505G

GT-I9507

GT-I9508

SCH-I545

SCH-R970

SGH-I337

SGH-M919

SPH-L720 - * you may need this workaround *

SGH-S970G

SM-S975L

All Variants with a locked bootloader are currently unavailable until the unified tree is further updated.

AT&T USERS: since your bootloader is locked, you must be on the UCUAMDB or UCUAMDL bootloader.

VERIZON USERS: since your bootloader is locked, you must be on the VRUAMDK bootloader.​

Do 'getprop ro.bootloader' in Terminal Emulator or through ADB shell to find out which bootloader you have.​

TWRP

You are REQUIRED to be using TWRP 3.2.3-0 to be able to flash any Pie rom.

If your device does not have an updated relevant version then you can use the standard JFLTE version.

If you have a device with a locked but exploitable bootloader as above (AT&T + Verizon) then use the Loki-patched version.​

UNSUPPORTED DEVICES

GT-I9515

is not

/

will never be

supported (slightly different hardware)

GT-I9500

is not

/

will never be

supported (completely different hardware)​

DOWNLOAD

Optimized-LineageOS-15.1 at AndroidFileHost: HERE

Official OptLos aroma addon package: HERE

Latest official TWRP Recovery v3.2.3-0 for JFLTE: HERE.

Latest official TWRP Recovery v3.2.3-0 for JFLTE Loki-patched by [MENTION=4062149]mattgyver[/MENTION]: HERE.

Other variants may require a different recovery. :eek:​

INSTALL

Move any files you want to keep to PC - or you will lose them !

Make sure you are using the unofficial JDC version of TWRP above. Earlier versions will give Updater process ended with ERROR: 7.

Download the Optimized LineageOS rom , root solution and a Gapps 8.1 package (nano / pico or larger) for arm

Move the Optimized LineageOS rom, root solution and Gapps package to external storage

Boot into recovery mode (hold volume UP, HOME, and POWER button for 1 second after vibrate)

Wipe > advanced wipe > select (enable / tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache

Swipe to wipe at bottom of screen

Back to main start screen

Wipe > format data

Type ‘yes’ and press blue checkmark at the bottom-right corner

Back to main start screen and select Install to install rom, root solution, Gapps and Aroma.

DO NOT wipe cache / dalvik / art after flashing as this rom is pre-deodexed

Reboot System! Enjoy!

Once first boot is completed you can safely move your files back to Internal Storage

NOTICE:

First boot after an install / update takes a while, wait at least 5 - 10 minutes for it to boot.

Phone will be hot / slow after first boot as dex optimisation of your apps occurs and media catalog is built of your audio / video files.

If the LED stops flashing and goes solid with any color then SuperSU did not correctly trigger the reboot. You can either pull the battery -OR- hold down the power button for 15 seconds till the led / screen goes blank, then let go of the power button. Then after another 4 seconds it will automatically boot and vibrate and everything is 100% normal. It only happens that one time on a new Rom install with SuperSU.​

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

JDC aroma flashable addon

This is an optional addon that needs flashed through TWRP after rom, SU and gapps.

Download from HERE.

It contains working tested versions of:

Adaway, Arise, AudioFX, Bromide, Buffcore Aduitor, Eleven, Google Camera, Magisk, Magisk Uninstaller, Mixplorer, Snap, Toolbox, YT Vanced, Wallpaperpicker
​

The Buffcore branded version of kernel auditor is the full version. It has a settings page for boeffla wakelock blocker editing and a spectrum switcher page, so no longer need spectrum app, and other JF specific tweaks.

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

SOURCECODE

Available on:JDCTeam GitHub​

CREDITS

Side - Lead developer / da boss.

Buff99 - Minor developer / major meddler

JDCTeam

LineageOS

OpenGapps

SPECIAL THANKS

Donators

OptLos test team / Slack testers

AndroidFileHost

Sausages

All of you!

JDCTeam

Buff - [MENTION=1711160]Buff99[/MENTION]

Creeper - [MENTION=4385445]Creeper36[/MENTION]

Diego Monaco - [MENTION=4899086]alucard_24[/MENTION]

Dimitris Katikaridis - [MENTION=5968293]side[/MENTION]

Franck Rohée - [MENTION=2875350]franzyroy[/MENTION]

Ray Daley - [MENTION=2026779]gadget![/MENTION]

Jim Silverlock - [MENTION=5528810]Jimsilver73[/MENTION]

Marco Zanin - [MENTION=5576897]-+BB+-[/MENTION]

Matthew Booth - [MENTION=3443334]MattBooth[/MENTION]

Mattia D'Alleva - [MENTION=5464206]AntaresOne[/MENTION]

Mike Atkins - [MENTION=2026117]FernBch[/MENTION]

Oliver - [MENTION=5891038]angelcalibur[/MENTION]

Paul Harris - [MENTION=4272718]hawkerpaul[/MENTION]

Paul Keith - [MENTION=5795145]javelinanddart[/MENTION]

Simeon Ivanov - [MENTION=6180151]smstiv[/MENTION]

Stefano Meroni - [MENTION=3545504]smeroni68[/MENTION]

Giwrgos Mantratzis - [MENTION=6753279]Retrial[/MENTION]

Yannis Menexes - [MENTION=7042651]SkL*[/MENTION]

You are welcome to join the official OptLos chat / test group in Slack optlosoreo

XDA:DevDB Information

🌴 Optimized LineageOS 15.1 🌴 for S4 unified, ROM for the Samsung Galaxy S4

Contributors

side, buff99

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

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 3.4.x

Based On: LineageOS

Version Information

Status: No Longer Updated

Created 2017-11-22

Last Updated 2018-12-02