yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] MarchisioH:
@Borstelchen

This is my first comment in this 9506 topic.

First of all, a huge thanks for your effort of keeping this legend of Galaxy alive and providing us the monthly security patch.

I installed the "18.1 July 2023 version" directly over stockrom and after that i looked in the updatesection, where the ota updater suggested me to update to the august one.

Then i pushed the button to download it. After the update was done, there is the possibility to install it.

If you start this routine, the galaxy boots directly into TWRP, but then stops.

So, from this point on, you have to install yourself the downloaded update ZIP file, which is located at .../data/lineageos_updates...

worked.

In summary the ota update is semi-automatic, you save the way to search, find and download the newest file, installing is your own turn.

Besides that, i will test the newest one and give feedback.

The first thing i noticed is, that the galaxy is damn hot the whole time.

Is that known so far? I cant believe that this is going to be good in the long run.

I know such behaviour from the stock rom on my old 9505, which "burned" to death.

No hate, i am really grateful for the whole project, its only my observation regarding testing and hopefully helps.
[Galaxy S 4 i9506 Android Development] azikrullo_74:
hello! I've been using the lineage os firmware for a month now. this is 100 percent better than the stock. I now have a July build. in the gallery in the video contribution, the application freezes how will it fix it?

sent from my Korean SHV-E330K
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 18.1 August build is available ...

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

August (Security) patches are included:

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

And finally:

The OTA updates are working again!

Requirements:

At least the July 2023 build must be installed!

The device must be able to use an IPv6 internet connection!

(unfortunately no change on this point yet)

Using the TWRP recovery system (see Downloads section in the original post)

Enjoy and have a lot of fun!
[Galaxy S 4 i9506 Android Development] duckS4:
If i use the updater in recovery mode the update failed:

Verification failed.

And error opening trace file: no such file or directory

Is this to be expected? I'm not sure i have twrp installed
[Galaxy S 4 i9506 Android Development] Jelges:
Thank You very much. Using the July 2023 build of Lineage OS 18.1 on my GT-I9506 works very good for me. I think I found one problem:

If I set the on/off switch to be camera shutter switch in camera app works only until first camera app close.

Afterwards the camera app crashes every time I choose it. Even rebooting Lineage OS does not change that. The only solution for now is the delete user data and storage for the camera app in settings. I can set every other function in the camera app and use it. It is very stable. But only the on/off switch camera shutter function is not.

I hope that helps.

Greetings to all,

Jelges
[Galaxy S 4 i9506 Android Development] azikrullo_74:
Hello ! If it says verification did not pass the test, install it anyway? then click on yes, I think you can do
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 18.1 September build is available now!

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

September (Security) patches are included:

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

And this build is available via OTA update as well!

Have a lot of fun!

/ˈlinēij/
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 18.1 October build is available:

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

Changelog:

October (Security) patches are included:

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

And this build is available via OTA update as well!

(sorry, currently only via IPv6 internet connection)

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

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

Changelog:

November (Security) patches are included:

https://review.lineageos.org/q/topic:R_asb_2023-11

And this build is available via OTA update as well!

(sorry, currently only via IPv6 internet connection)

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 18.1 December build out now!

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

Changelog:

December (Security) patches are included:

https://review.lineageos.org/q/topic:R_asb_2023-12

And this build is available via OTA update as well!

(sorry, currently only via IPv6 internet connection)

Please excuse that this post is so late.

Once again there were major difficulties uploading the image files to AndroidFileHost.

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
@Borstelchen: Thank you for keeping our i9506s alive.

Merry Chrismas and a happy new year to all.
[Galaxy S 4 i9506 Android Development] fichatel:
Hello,

Not sure if it is the right place for my problem. @admin please move it if necessary.

First of all, really many thanks to you @Borstelchen to allow me to make my 9506 survive and not to buy a new phone, it's juste a question of ecology for me.

My problem now.

I used LOS18 during severall months (years) without any issue (except extended sdcard, that I just discovered it was not a good idea ! :) ).

My 9506 became more and more laggy and I decided to clean it and make a clean install.

Everything were ok (wipe + los18.1 + opengapps, as MindTheGapps never wanted to install) but my banking app that never wanted to run (root detected on device).

I had to Start to play with Magisq, SafetyNet, LSPosed, ... to finally manage to make my banking app works, but my current problem is my contacts do not synchronize.

I installed OpenGapps pico, and not Google Calendar nor Contacts.

I tried many things (reboot, remove/add my Google account, clear cache of various apps/services, ...) without any result.

As far as it can helps/explains, my Play Store is not certified anymore (whereas it was after the 1st install but with non working banking app) :

and here is the result of Play Integrity Checker :

Any idea to fix that issue ?

Thanks

[EDIT] Finally fixed there : Problem with syncing contacts
[Galaxy S 4 i9506 Android Development] Badger50:
Thread cleaned.

Please keep posts respectful and "On Topic" as stipulated in XDA Rules 2.3 & 15:

Your cooperation is appreciated. Thank you.

-Regards: Badger50
[Galaxy S 4 i9506 Android Development] Borstelchen:
LineageOS 18.1 January build is finally available!

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

Changelog:

January (Security) patches are included:

https://review.lineageos.org/q/topic:R_asb_2024-01

And this build is available via OTA update as well!

(sorry, currently only via IPv6 internet connection!)

Please excuse that this post is so late.

Once again there were major difficulties uploading the image files to AndroidFileHost. 🤯

Uploading to AndroidFileHost has only been possible again since today!

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

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

Changelog:

February (Security) patches are included:

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

And this build is available via OTA update as well!

(sorry, currently only via IPv6 internet connection!)

Have a lot of fun!
[Galaxy S 4 i9506 Android Development] Strmy:
Hi!

I have issue with battery life, i can barely get 2h sot, battery drains 1% or more per minute, with light usage. I have small gapps package, but google services arent even showing in usage, only android system. battery is new and geniune
[Galaxy S 4 i9506 Android Development] ZP31:
I am on Linux. I want to install on stock.

I installed twrp-3.6.1_9-0-ks01ltexx.tar

heimdall flash --RECOVERY recovery.img --no-reboot

and when I do Format Data I get:

E:Unable to wipe '/data' --unknown file system 'auto'. Can't format to remove crypting

Clearing Data without /data/media

I changed /data into ext4 and wipe went ok.

Is that ok? Isn't it going to cause problems?
[Galaxy S 4 i9506 Android Development] DualJoe:
Formatting (to ext4) is ok but you lose internal sdcard content as well. If that's ok nothing wrong here.

@Strmy

I have 3h sot on 10y old battery. I'm mostly in airplane mode and low screen brightness though.
[Galaxy S 4 i9506 Android Development] ZP31:
Can I stay with default stock modem/bootloader if everything works fine? Or do you recommend this version because stock doesn't work correctly?
[Galaxy S 4 i9506 Android Development] DualJoe:
See this:

[REF] GALAXY S4 FAMILY MODEMS and BOOTLOADERS collection

Official MODEMS and BOOTLOADERS for the I9505 !DISCLAIMER! Although updating your modem and/or bootloader is mostly a safe process, there could be dire consequences for not following the instructions. I take no responsibility for any...

xdaforums.com
[Galaxy S 4 i9506 Android Development] ZP31:
Any chances to fix battery issues? It discharges 2% per hour on new battery, without any connections, with wi-fi, bluetooth, etc off.
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
Try

Settings / Battery / /Battery saver and performance / Performance profile: Efficiency

Let battery drain until device powers off; load fully while off; power on; repeat a few times; this helped me with a "new" battery (i think there are no really new batteries; all of my "new" batteries for such old devices have been produced some years in the past)
[Galaxy S 4 i9506 Android Development] ZP31:
I missed to check NFC option. Now when it is switched it off, along with other connections / power consuming options, battery works very well, about 4% in 8 hour. I moved to LOS 20 but I believe it would be the same on 18.1. I need to mention that I didn't installed any gapps.

Anyway, thank you for your great work. For equivalent of about 20-25$ I have working phone with new OS. I really appreciate it.
[Galaxy S 4 i9506 Android Development] vegochilde:
After flashing Lineageos 18.1 hangs - TWRP can't recover former system (Android 5.01)

Hi there,

I followed the instructions on the first page with a GT-I9506 accept of the optional choices (Wipe Data / Factory Reset & Install Magisk).

After rebooting the green Lineageos bow with the moving point appeared and after may be 20 minutes without progress I took off the battery, and tried to restore my old system (Android 5.01) via TWRP.

TWRP ended with following error: twrp process ended with signal: 9

After rebooting, the system sticks with the Android logo (it won’t start)

I tried to flash TWRP with Odin again which seems to be successful. But the system starts only into the Android recovery system (before flashing lineageos~.zip it was TWRP).

Windows now recognizes this connected Samsung S4 via USB, but I can’t see the S4-partition in the file manager anymore.

What would you do to be at least successful either to get to the old system (5.01) or to the new one (LineageOS 18.1)?

King regards

Larry
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
@vegochilde did you boot to recovery immediately after flashing TWRP with odin? When you boot to system first after flashing TWRP it will be replaced.

Try flashing TWRP again and immediately boot to recovery. Dont let odin do the boot. Boot manually by power off and then power button+vol.up+home button.

If all goes good you may be able to backup all your data (pictures, ...).

You may need to do a clean install then. You will loose all your data by doing so. Have a look here for latest stock rom and guide ho to do a clean install.

I had to do it once some time ago, so i do not remeber what i did in detail.
[Galaxy S 4 i9506 Android Development] vegochilde:
Hi Kryga-i9506,

thanks for your quick response!

I think I booted to recovery immediately (which opened TWRP) after flashing as it is said in the instructions at the beginning of this thread.

Due to your help I could re-flash TWRP. After putting the lineageos-18.1.zip on an external sd card, TWRP easily installed the system.

Thanks a lot for your help and the nice link ('Welcome to S4 Unified Collection!')!

Cheers

Larry

PS: The original firmware has 1.5 GB (lineageos-18.1 500 MB!)
[Galaxy S 4 i9506 Android Development] Borstelchen:
End of support for LineageOS 18.1 ...

On 02-05-2024 Google published the final Android Security Bulletin for Android 11,

which LineageOS 18.1 is based on.

Therefore, I will no longer provide such LineageOS 18.1 builds here!

For more information, see the official LineageOS 18.1 discontinuation announcement:

https://lineageos.org/Sunsetting-LineageOS-18.1

However:

Have a lot of fun!

Borstelchen
[Galaxy S 4 i9506 Android Development] ze7zez:
American date notation is handicapped, first the month, then the day and finally the year. Not logical and not mathematical.

Thank you for your work in building the ROM.
[Galaxy S 4 i9506 Android Development] DualJoe:
Any future plans yet? Will you take a look at LOS21 maybe?
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
Thanks kyasu for maintaining.

Some hints (or don't repeat my error).

When downloading OpenGApps don't get fooled by that green "Download latest version"; be shure to download from folder Home/arm/test/2021mmdd .

Follow this FAQ to remove GApps and switch to OpenGApps

Edit: Apparently only a clean installation is successful.
[Galaxy S 4 i9506 Android Development] bizzzang:
Very good
[Galaxy S 4 i9506 Android Development] bizzzang:
After installing the ROM, you are still using it without bugs. Thank you.
[Galaxy S 4 i9506 Android Development] SunnyRalf:
The new build works fine. I recognized two things:

1. Still the UI hangs up, but now very seldom. Probeably when an Music App connects the Internet, but I'm not shure.

2. I cannot make Mobile Calls. The connection is established, Mobile Data works fine. But after I have dailed, the TelefonApp directly shows "connection stopped"

Thank you - great job :)
[Galaxy S 4 i9506 Android Development] Kryga-i9506:
I can confirm this; even reverting to lineage-18.1-20210110-UNOFFICIAL-ks01ltexx-gapps.zip does not help; had to restore a backup of just before updating from lineage-18.1-20210103-UNOFFICIAL-ks01ltexx-gapps.zip to lineage-18.1-20210110-UNOFFICIAL-ks01ltexx-gapps.zip.

Edit 1: I will now update to lineage-18.1-20210110-UNOFFICIAL-ks01ltexx-gapps.zip and report again.

Edit 2: With lineage-18.1-20210110-UNOFFICIAL-ks01ltexx-gapps.zip mobile calls are ok; maybe a faulty Dialer Framework in OpenGApps arm/test/20210110 ?

Edit 3: Did some more tests.

clean install of lineage-18.1-20210123-UNOFFICIAL-ks01ltexx.zip (without any GApps): mobile calls ok

clean install of lineage-18.1-20210123-UNOFFICIAL-ks01ltexx.zip and OpenGApps (arm/test/20210110): mobile calls ok

So maybe only a clean install is the good way this time?
[Galaxy S 4 i9506 Android Development] EJT01:
After dirty installing the lineage-18.1-20210123 version the pattern unlock doesn't work and I can't unlock the phone.
[Galaxy S 4 i9506 Android Development] DualJoe:
Does SystemUI crash for anyone else when pressing 'system settings' button in SystemUI (gear symbol bottom right)?

How to disable the 'rotate suggestion' icon that appears on screen when auto-rotation is disabled? That's annoying as hell.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I *THINK* the rotate icon is apart of accessibiity features.
[Galaxy S 4 i9506 Android Development] DualJoe:
Some people say there's a suboption menu when pressing the textarea below (or holding) systemui icon 'auto-rotate' (since Pie on Samsung stock roms). Any attempt to open any of these suboptions crashes SystemUI here though. Maybe the function is missing.

Unless i missed it there is no entry in 'settings list [--lineage] {secure, system, global}' either.
[Galaxy S 4 i9506 Android Development] grbgdn:
I don't have such problems. Installed lineage-18.1-20210123-UNOFFICIAL-ks01ltexx.zip after full wipe cache, data and system.
[Galaxy S 4 i9506 Android Development] DualJoe:
I've deleted '/data/user_de/0/com.android.systemui' and menus work properly now. But there's no option to disable the on-screen rotate icon.

There's a trick/workaround though. Enable auto-rotate with 0 degree mode only that will keep the screen fixed. For rotation, disable 'auto-rotate' and use the overlay icon to rotate.

Will ask the lineage guys later about the current state.
[Galaxy S 4 i9506 Android Development] Dankal:
Why is I9506XXSDPL2_I9506XXUDOJ2_bootmodem recommended instead of the newer I9506XXUDRB1_I9506XXUDRA1_bootmodem?

Does the newer bootloader also work properly?
[Galaxy S 4 i9506 Android Development] Stayka007:
Thanks for keeping this device alive all this years.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Sorry to @kyasu, i can not speak on his behalf, however, it is common knowledge that switching the bootloader/modem requires a LOT of work and testing for the dev. He is already providing a free ROM.

No, not with a ROM built for a different bootloader/modem. The source specifically expects the interface provided by a specific bootloader/modem.

The other question you did not ask, and is probably not for this thread, is "what advantages would the new bootloader/modem provide?"
[Galaxy S 4 i9506 Android Development] DualJoe:
There are some bad reports about that modem. Not sure if its confirmed otherwise.

https://xdaforums.com/t/unofficial-havoc-os-rom-android-8-1.3840393/post-77724206
[Galaxy S 4 i9506 Android Development] DualJoe:
@kyasu:

Never mind... it must have been the manifest file transition or something. I thought i had clobbered already. The apks are gone in the out/priv-app folder. I guess it's alright now. Will apply the MicroG patches next. Sorry for any inconvenience. Rom is great.

When compiling your rom i get a bootloop with the error below. Looks like some permissions are missing. I'm using ro.control_privapp_permissions=log to bypass the enforce state (bootloop). I also get a red tinted screen when pulling down notification bar without any errors in log. I'm not sure if that's an intended behavior of some (unwanted) test apps that might have been added unintentionally to the rom build. It looks like i have several testapps that shouldn't be there. Somehow my build seems to differ from your rom. I compile with 'lunch lineage_ks01ltexx-userdebug && m dist'. Any ideas?

Edit: As far as i can tell this are 'testrunner' apps (development/testrunner) that usually should be pushed manually to the device. I will clobber my build system. Maybe it wasn't clean in the first place...

/system/priv-app/SoundTriggerTestApp
/system/priv-app/VoiceEnrollment
/system/priv-app/UsbHostExternalManagementTestApp

Source tree:
frameworks/base/tests/SoundTriggerTestApp
frameworks/base/tests/UsbHostExternalManagmentTest
frameworks/base/tests/VoiceEnrollment

# getprop |grep permissions
[ro.control_privapp_permissions]: [enforce]

Show missing permissions:

Spoiler content hidden.

Spoiler content hidden.
[Galaxy S 4 i9506 Android Development] DerGriechisch:
Kyasu man you make excellent lineage os roms

why arent you the official maintainer for gti9506?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
search and reaad this thread and the LOS 17.1 and probably all previous ROMs, as its been asked before.
[Galaxy S 4 i9506 Android Development] DualJoe:
I've tested the new MicroG patches. They work flawlessly, speed is awesome, no more crashing apps due to missing gapps (if you do not want gapps). Even though the patches itself are very small the resulting files are not. An incremental flashable zip would exceed 100MB. As xposed slows down the device significantly the direct patches are a much better approach. I will keep this. Its great for older phones.

Kyasu, if you think this is a good idea as well you'll find the patches here. It doesn't interfere with regular gapps installation.
[Galaxy S 4 i9506 Android Development] corvus.corax:
Is there a way to extract or find an independent copy of the email app that comes with LOS? I am keeping my S4, but I bought an S21 and the built-in samsung email app isn't nearly as good.
[Galaxy S 4 i9506 Android Development] DerGriechisch:
What do you mean I have los 18.1 and there isnt a stock email app, i use gmail

If it exists 99% you will be able to install it on your new phone
[Galaxy S 4 i9506 Android Development] grbgdn:
I confirm! The system UI hangs with some audio players such as Poweramp. In the VK application, not only freezes system UI, but also the bluetooth falls off.
[Galaxy S 4 i9506 Android Development] DualJoe:
It improves the situation if you hide the notification entries.
[Galaxy S 4 i9506 Android Development] corvus.corax:
My bad. I am on 17.1. It has an email app, just called email. I found the apk but I think possibly it has to be installed with the exhange services apk to work.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
These were always the first two apps I froze. And then I would install K-9 from the playstore. But I also never had to collect mail from exchange servers.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-18.1-20210206-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (February 2021 Security Patch).

Please use OpenGApps.

Changes:

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

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-18.1
[Galaxy S 4 i9506 Android Development] R_A_N_D_Y:
Hello guys,

I'm a newbie here...

I'm going going to do a clean install for the first time on my S4 that has Android 5.0.1

But I'm a little bit confused which OpenGApps package I should download.

Please can anybody help me out?
[Galaxy S 4 i9506 Android Development] bizzzang:
This ROM is very stable. If the temperature of the motherboard is lowered
[Galaxy S 4 i9506 Android Development] R_A_N_D_Y:
Hi guys,

I can't manage to install the Bootloader & Modem via Odin on my phone.

Does the phone need to be already rooted in order to install the B&M?

Attached is also the capture I took when rebooting the phone in Download mode.

I selected "reboot to bootloader" in order to install the B&M, because otherwise Odin won't detect that the phone is connected to the PC. Probably I'm doing something wrong.

Any help will be very much appreciated.

Thanks in advance.
[Galaxy S 4 i9506 Android Development] DualJoe:
Phone doesn't need to be rooted. The picture shows the recovery mode not the download mode. You can hold power+vol-down+home until the download mode appears. The download mode has a large green android logo (robot).
[Galaxy S 4 i9506 Android Development] R_A_N_D_Y:
Thank you for that piece of information. Hopefully now I think I managed to get the download mode(see the capture). I was pressing the "volume up" button instead of the "volume down" button.

But still when I try to install the B&M Odin is telling me that it has failed(see capture).

Do you know what I might be doing wrong?
[Galaxy S 4 i9506 Android Development] DualJoe:
AP is not the correct slot for modem/bootloader. Better look up some valid instructions. I'm not sure which one to use. Normally BL is bootloader and CP modem.

Edit: Combined ones should work with AP.

I'm not sure if SHV-E330 is compatible though.

I can remember though that Odin might be somewhat tricky at times responding like this. Try to restart Odin and re-enter download mode (reset) and restart from scratch. Sometimes it seems to be confused indeed.
[Galaxy S 4 i9506 Android Development] R_A_N_D_Y:
Mmm...but I understood from another thread that if you have the Bootloader and Modem combined into one file(which is in my case) then in Odin you need to select AP.
[Galaxy S 4 i9506 Android Development] DualJoe:
Yes, my fault. It's a combined archive so AP should be correct.

Not sure though why it doesn't work. Maybe shv-330 blocks i9506 stuff.
[Galaxy S 4 i9506 Android Development] derflasher:
I was told one day: try another USB cable and use an original Samsung cable.

Hope that helps.