yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] kyasu:
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.

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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

#include <std_disclaimer.h>

/*
* 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 it! 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.
*
*/

This is an unofficial LineageOS 17.1 build for the international Galaxy S4 LTE-A (GT-I9506).

The korean Galaxy S4 LTE-A (SHV-E330S/K/L) is NOT tested by the developer.

Known Issues

None

Instructions

Flash TWRP recovery via Odin.

Boot to TWRP recovery (Vol UP + Home + Power).

Optional: Wipe data / Factory Reset

Install the ROM (Lineage zip).

Install the Google Apps (OpenGapps).

Optional: Install Magisk to get root.

Reboot.

Enjoy!

Downloads

All: https://www.androidfilehost.com/?w=files&flid=43918

LineageOS 17.1: lineage-17.1-20201213-UNOFFICIAL-ks01ltexx.zip

TWRP: twrp-3.4.0-2-ks01ltexx.tar

Recommended Bootloader/Modem: I9506XXSDPL2_I9506XXUDOJ2_bootmodem.tar

Sources

https://github.com/kyasu/android_kernel_samsung_msm8974

https://github.com/kyasu/android_device_samsung_ks01ltexx

https://github.com/kyasu/android_vendor_samsung_ks01ltexx

XDA:DevDB Information

[ROM][GT-I9506][ks01ltexx] LineageOS 17.1 UNOFFICIAL for the Galaxy S4 LTE-A, ROM for the Samsung Galaxy S4

Contributors

kyasu, Borstelchen, LineageOS Devs

ROM OS Version: Android 10

ROM Kernel: Linux 3.4.x

Based On: LineageOS

Version Information

Status: Stable

Created 2019-12-27

Last Updated 2020-12-13
[Galaxy S 4 i9506 Android Development] coyote2610:
Hello. I saw in the builds of Android 10 such a feature: in the camera settings, you choose to save to the SD card and the photo is not saved, it is saved only when you choose the memory of the smartphone. Anyone have any ideas how to fix this?
[Galaxy S 4 i9506 Android Development] Vickeey:
Love u and Thanks Kyasu for the Lineage Rom. I am waiting for this Rom.
[Galaxy S 4 i9506 Android Development] Stayka007:
Best news ever, Can't thank you enough for keeping this phone alive.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
[MENTION=4861355]kyasu[/MENTION] , just an FYI. I built crDroid using your Kernel, and now I can flash and use Magisk (which does not work on the last build of crDroid)

https://xdaforums.com/showpost.php?p=81332359&postcount=17
[Galaxy S 4 i9506 Android Development] __Alchemist__:
Wow [MENTION=4861355]kyasu[/MENTION] is still rocking! I was using your rom in late 2017's. But sadly i broke my phone physically. I am using an s8 now. I would be happy to see you on the dev team of s8 lineageOS :D
[Galaxy S 4 i9506 Android Development] rainringgowawy:
SHV-E330S using ur los16,it working perfect,thx 4 ur efforts. I like it.

happy 2020 and gooluck.
[Galaxy S 4 i9506 Android Development] joam280:
everything works stable but I don't receive 4g

Enviado desde mi SM-G973F mediante Tapatalk
[Galaxy S 4 i9506 Android Development] audianer:
Hey. I am looking for a stable and fast ROM for the S4 LTE A. Maby for some games.

Lot 15, 16 or 17?
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200111-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (January 2020 Security Patch).

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] Moebiusten:
Official Lineageos ?

Bonjour,

Thank you for this good job ; I've just a question : what is the reason for not joining the lineageos team ? It would be nice to have this S4 present in lineageos supported devices list again !

cordialement,
[Galaxy S 4 i9506 Android Development] bintoito:
hi kyasu,

after clean flashing 17.1 it has no welcome/reinstall backed up apps/call lags/etc from g drive and g one; i've tried factory reseting from within android but it just went to twrp; is there a way to get this or else i cannot recover a lot of data?

thx
[Galaxy S 4 i9506 Android Development] DiamondJohn:
How long are people experiencing, for their first boot on 17.1?

I have done a wipe of all but internal SD, and am now sitting at 30min, with just the ROM, no GApps or Magisk.

Or will it only boot with GApps?

A previous attempt had both GApps and Magisk 20.3, but also took a long time without success

-----edit------

whoops.... just read the following in the OP
[Galaxy S 4 i9506 Android Development] audianer:
You will scold me. I flashed LOS 17.1 dirty over LOS 16. Everything works great! With Magisk Root.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Album art does not work.

I have four MP3 files on my internal SDCard. They get scanned and included in the MediadB, but there is no Album art, nor are there any records in the MediaDB. I also tried manually updating/creating album art using an Album Art updater from the playstore, and it also failed to create the alum art.

I also noticed this same behavior on flashing crDroid

I did a clean flash, can someone else please confirm they get the same results?

have you checked your album art?
[Galaxy S 4 i9506 Android Development] audianer:
I have no mp3´s on my phone.

I will check it later.
[Galaxy S 4 i9506 Android Development] GT-I8160P:
I did the same and am quite happy.

One thing I noticed:

I used to have a Profile to unlock the phone when connected to home Wifi and another to set the pin when not connected to my home wifi.

Both profiles are still there, but there is no more lock settings in the profiles.

Is that generally not there anymore in 17.1 / android 10?

Smartlock also does not work for me.

Any idea on how to automatically have the phone unlocked at home and locked elsewhere?
[Galaxy S 4 i9506 Android Development] audianer:
In the file explorer i have no album art, only in the music app.

Now i try the crdroid rom ^^ At this time with clean flash =)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I am a little obsessed with album art :o As such, I built a few features into the following app:

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

Under the menu, *small bug in last release, the first opening of the app, the menu is little borked, but corrects itself on the next opening:o)

"Database>MediaDB SQL>Songs Missing Album Art"

You can also see it in the last column:

"Database>MediaDB SQL>Last 1000 music files added to MediaDB"

As I said, I cleaned flashed, so I don't expect you to have a different result.
[Galaxy S 4 i9506 Android Development] GT-I8160P:
Why does this thread stop at page 9?

Before switching the platform it had more!
[Galaxy S 4 i9506 Android Development] GT-I8160P:
Everything between August and December seems to be lost....(n)
[Galaxy S 4 i9506 Android Development] strangersth:
hey why is the OTA update not working? It doesn't show any new updates. Please help me update LOS 17.1 over the air. How can I smoothly update LOS. This has been always problem for me. Please tell me easiest way anyone?
[Galaxy S 4 i9506 Android Development] NoxCivi:
Nearly no unofficial Lineage ROM has a working OTA functionality. But do not worry. Just download the latest Build of this ROM (link in first Post) and the latest gapps-package of your choice. Boot into Recovery and install both downloaded zip-files. That is all.

This "dirty flash" method should work fine as long as you update from and stay on the same ROM version (i. e. kyasu's LOS 17.1 builds) and gapps package.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
A dirty flash does not require you to re-flash GApps, only the ROM zip.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.0-20201206-TEST-ks01ltexx.zip

lineage-18.0-20201206-TEST-ks01ltexx.zip | by kyasu for Galaxy S4

Sources: https://github.com/kyasu/android_kernel_samsung_msm8974 https://github.com/kyasu/android_device_samsung_ks01ltexx https://github.com/kyasu/android_vendor_samsung_ks01ltexx

www.androidfilehost.com

* Mobile data does not work

* SELinux is permissive

* ...
[Galaxy S 4 i9506 Android Development] toubi:
https://review.lineageos.org/c/LineageOS/android_system_netd/+/289818
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.0-20201208-TEST-ks01ltexx.zip

https://www.androidfilehost.com/?fid=10763459528675599881

* Mobile data works (Thanks @toubi )

* SELinux is permissive

* ...
[Galaxy S 4 i9506 Android Development] fichatel:
Hi there,

Since I use lineage v17.x, I have a "No sim card detected" message very often (sometimes several times a day !). I have to reboot each time, which is obviously very boring on a little bit old phone ! :)

I currently use last lineage-17.1-20201108-UNOFFICIAL-ks01ltexx.

My sim card does not have problem in other phones.

Any idea where the problem could come from ?
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20201213-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (December 2020 Security Patch).

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1
[Galaxy S 4 i9506 Android Development] grbgdn:
Works! But i didn't find gapps for arm32 :(
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.1 (Android 11) is available!

https://xdaforums.com/t/rom-gt-i950...1-unofficial-for-the-galaxy-s4-lte-a.4212287/
[Galaxy S 4 i9506 Android Development] elsquare:
@kyasu - first of all: a TRILLION thanks for your extraordinary work keeping these babies alive and up to date. Been using mine and my wife's for years and now passed mine on to my son.

Only problem I have with LOS on these S4s (and also on samsung tablets): There is a local-VPN based firewall app called "netguard" by m66b which fails - up to about now - on various (if not all ?) LOS builds. Probably heard of netguard, its a must-have for me actually on any device. Works like charm on stock roms and other modded roms. It's known to be an issue in LOS for long (see this where it has come up multiple times and here).

Just now, it appears a fix has been implemented for klte* and hlte* devices, see here.

Could you have a look at those changes for klte / hlte and see if you can get it over to ks01lte builds?

Edit: On LOS 17.1 atm
[Galaxy S 4 i9506 Android Development] yomguy75:
Great work, thanks a lot!

However, FYI, I had no user data storage available after installation.

So I had to format the data partition into ext4 (not f2fs) from the recovery like this:

umount /data
make_ext4fs /dev/block/mmcblk0p36
mount /data/
[Galaxy S 4 i9506 Android Development] DiamondJohn:
You can reformat and switch formats from within TWRP. Go to wipe, then advance and from there its pretty obvious.
[Galaxy S 4 i9506 Android Development] kyasu:
Please try the latest build of LOS 18.1 ks01ltexx which merged those kernel changes.
[Galaxy S 4 i9506 Android Development] elsquare:
@kyasu: done, thanks. Works95%.

But, if you enable "Filter traffic" under "Advanced options" then internet connection is lost again. On a stock room Samsung S10, all features work as expected, so I'd say this is still something LOS-specific only.
[Galaxy S 4 i9506 Android Development] dbotev:
Thanks for the great ROM!!!

Unfortunately it works 95% for me too. The distance sensor triggers a bit delayed for some reason. Because of this the display and the touch are being deactivated delayed during phone-call. Phantom touch activities are being experienced. Can somebody else confirm this behavior?
[Galaxy S 4 i9506 Android Development] mac231us:
Hello Kyasu

I came across your builds 17.1 lineage for the Tab S 8.4 docomo cellular+wifi version. Would it be possible for you to create one for the Tab S 8.4 SM-T715 (or 715Y) cellular version? You are the only developer who has gone beyond Lineage 14 for the Tab S 8.4. I understand you are busy and why would you do this on your own time for a device that likely do not have (maybe you have the Docomo Tab S 8.4 and therefore you have maintained an interest in it) However I thoiught I would ask. Appreciate it. Thank you.
[Galaxy S 4 i9506 Android Development] kyasu:
Sorry, I don't have Tab S 8.4 docomo or Tab S 8.4 SM-T715 anymore.
[Galaxy S 4 i9506 Android Development] mac231us:
too bad thanks asked as your last update was just 2 months back

Downloads for : Samsung Galaxy Tab S 8.4 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

hope someone else can pick up on your work (tried asking already)

Please keep these uploads for a few more months if you can it would be useful for others. Please do not take them down if possible. Thanks.
[Galaxy S 4 i9506 Android Development] dbotev:
I just tired different hardware by friend of mine – same behavior.

https://xdaforums.com/t/rom-gt-i950...for-the-galaxy-s4-lte-a.4025695/post-84576907

Am I the only one facing the issue with phantom touches during call?

By the way – if I reduce the distance between the phone and my ear very slowly, everything works fine.
[Galaxy S 4 i9506 Android Development] Humaxxx:
@kyasu

Hello, are Glonass-Satellites used in your Rom for location services? Because that wont work on jfltexx because they use radio blobs (and gps sources) from Nexus 7 - which blobs are u using?
[Galaxy S 4 i9506 Android Development] Borstelchen:
:cool: I've done it again! :cool:

Out of some little necessity I just created a new LineageOS 17.1 build:

https://androidfilehost.com/?w=files&flid=332936

February (Security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-02

.. and I would like to provide monthly builds for this device.

Have a lot of fun and enjoy my builds!

Note:

My builds won't be signed for now!

Be careful when updating or upgrading from an earlier signed build!

Instructions can be found here

https://wiki.lineageos.org/signing_builds.html#test-keys-to-your-own-release-keys-or-vice-versa
[Galaxy S 4 i9506 Android Development] klaus-hamburg:
"no mirrors fond" on androidfilehost to download the build

a pity
[Galaxy S 4 i9506 Android Development] klaus-hamburg:
now download mirrors are available

thx :-)
[Galaxy S 4 i9506 Android Development] Borstelchen:
The "no mirrors found" issues with AFH finally seem to be fixed.

Sorry for the inconvenience...
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 March build is available now:

https://androidfilehost.com/?w=files&flid=332936

March (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-03

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 April build is available ...

https://androidfilehost.com/?w=files&flid=332936

April (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-04

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 May build is available:

https://androidfilehost.com/?w=files&flid=332936

May (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-05

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 June build is available:

https://androidfilehost.com/?w=files&flid=332936

The June (security) patches were released so late...

https://review.lineageos.org/q/topic:Q_asb_2022-06

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] dakonga:
tested several builds on my i9506 LTE but battery drains a lot.

clean install, no additional apps. drain is 50% a day without use. battery statistics list is empty.

(battery allready replaced.)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
are you rooted? if so, check your doze history and profile. You can do it visually with my app TeMeFI Currently Running>Doze>Doze Cycle Graph
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 July build is available now:

https://androidfilehost.com/?w=files&flid=332936

July (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-07

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 August build is available ...

https://androidfilehost.com/?w=files&flid=332936

August (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-08

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 September build is available ... :cool:

https://androidfilehost.com/?w=files&flid=332936

September (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-09

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 17.1 October build is available now!

https://androidfilehost.com/?w=files&flid=332936

October (security) patches are included:

https://review.lineageos.org/q/topic:Q_asb_2022-10

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
End of my support for LineageOS 17.1 ...

A month ago I switched my entire LineageOS build tree to version 18.1.

Therefore, I do not provide LineageOS 17.1 builds any more.

As of now, I'll be providing new builds for the Galaxy S4 LTE-A in the LineageOS 18.1 branch.

Please follow me here:

https://xdaforums.com/t/rom-gt-i950...galaxy-s4-lte-a.4212287/page-11#post-87634121

In my case, an in-place upgrade always failed.

Unfortunately I couldn't solve the problems.

I had to do a factory clean install of LineageOS 18.1 and restore the data from the Google One backup.

However, there was still a lot to do...

Nonetheless, here are the standard upgrade steps.

Please be careful! Note step 1!

Maybe you are successful?

Upgrade instructions:

1. Make a backup of your device including all partitions using a Recovery system like TWRP!

2. Download the LineageOS 18.1 build:

https://www.androidfilehost.com/?w=files&flid=336620

3. Download proper addon packages if needed:

Google Apps for ARM architecture:

https://opengapps.org/?api=11.0&variant=pico&arch=arm

4. Boot into Recovery system.

5. Format your System partition!

6. Install the LineageOS 18.1 build, then install all your addons without rebooting!

Note:

If you have the Google Apps addon installed on your device, you must follow this step before booting into LineageOS 18.1 for the first time!

7. Wipe Cache and Dalvik!

8. When you’re done, reboot the device and enjoy the new LineageOS 18.1 system.

However:

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] GT-I8160P:
I just put some mp3s in the music folder on the internal storage. The "Music" App shows them nicely with the album art that is embedded in the mp3s.

No problem here, even after a dirty flash over LOS16.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
But check what is stored in the MediaDB. I think that is what will be used for the lock-screen as well. The media player itself may have fail-over code (and that may actually also go for the lockscreen IDK) that will extract the image from the MP3, when the media dB fails to supply an image.

Check the media dB contents. It stores a reference / link between albums and cover art. Actually, I just checked, and the file location actually does have the cover art images, but they are not associated with any albums in the MediaDB, so, they are unused and useless.

Try to change the album art using a cover art app from the playstore (a standard feature of Android). Most of these will use the MediaDB and not change the cover art within an individual MP3.
[Galaxy S 4 i9506 Android Development] bintoito:
Hi diamonjohn I see that yyou had a clean instal - did you had the initial screens where we get to choose this and that (namely if any backups were made, the abbility to get them?)

thx
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have no idea what you are talking of.

maybe I did not get the screen, as I choose to never back up to my google account, so nothing to restore.
[Galaxy S 4 i9506 Android Development] bintoito:
ok, that's probably it, thx
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200124-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] DorGind:
Infrared

Thanks for your great work, but I found a bug :p

The infrared-diode isnt working for me, my app irplus wont send any signals
[Galaxy S 4 i9506 Android Development] GT-I8160P:
I installed this latest build over the previous one.

Now the phone tries to boot system for some time and then reboots back to recovery.

Even installing the previous build zip does not change that.

Any ideas how I can revive my phone?

Thanx!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Not wanting to sound like a "I told you so" kind of guy, but I would estimate you have not done a backup? If so, is that also failing?

The behavior you're seeing, is also sounding a lot like the issues people are having with the latest Magisk. Maybe as a very first attempt (after a nandroid) try removing Magisk using the uninstall zip.

I would personally try (again after doing a nandroid) wiping system, cache and dalvik (while leaving data), then flash the previous install zip. Also leave Magisk install till after you have booted at least once.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-17.1-20200129-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source.

IR blaster now works.

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-17.1-test

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-17.1-test
[Galaxy S 4 i9506 Android Development] derflasher:
Can we dirty flash 17.1 over 16.0 December 12 build?
[Galaxy S 4 i9506 Android Development] bizzzang:
touch

sorry

touch bug screen stop working crome
[Galaxy S 4 i9506 Android Development] GT-I8160P:
I did that and was lucky. Just make sure to also flash open_gapps-arm-10.0-pico-20200129.

That worked for me.

open_gapps-arm-10.0-nano-20200129 did not work for me (always booting back to recovery.

Make sure you have a twrp BackUp before you try.

---------- Post added at 06:45 PM ---------- Previous post was at 06:41 PM ----------

Hi John,

thanks for your thoughts. In fact I had a backup to restore and that worked.

But even after uninstalling Magix I was not able to update to the latest build.

After several hours I now think I know what the problem was:

When 17.1 first came out kyasu recommended BiTGapps, which I installed and never changed.

Now OpenGapps is recommended.

I tried installing the latest build plus "open_gapps-arm-10.0-nano-20200129" but that did not work for me (again always booting back to recovery).

Then I tried installing the latest build plus "open_gapps-arm-10.0-pico-20200129" and now my phone is alive again with all apps and data without doing a full wipe.
[Galaxy S 4 i9506 Android Development] DorGind:
Thank You, this build fixed my issue.

I will use this build now on my device. Keep up the good work! :good:
[Galaxy S 4 i9506 Android Development] derflasher:
Thank you very much! I flashed the pico and it worked.

Thank you, kyasu! For years, you're keeping my S4 LTE+ alive!

Keep up the great work!