yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] Jules_1606:
I have the following problems with my S4 (GT-I9505):

After I activate a hotspot, the phone restarts and ends up around boot screen.

You have to take out the battery for it to restart.

Now I can't open the settings, mobile says:

System -UI is exiting repeatedly.

The S4 also restarts itself just like that.

Two weeks ago I had the problem with the phone before, had then renewed the motherboard, unfortunately brought nothing.

The error is definitely software related.

I hope the bugs will be fixed soon, it is after all an official version of LineageOS 18.1 ^^.

Wish a nice Weekend
[Samsung Galaxy S 4 Unified Development] kurtn:
I doubt thisis a general lineageOS bug. Maybe your baseband software is too old. Maybe you installed some strange GApps or magisk stuff.
[Samsung Galaxy S 4 Unified Development] npjohnson:
yeah, hotspot both 2.4 and 5 ghz work here.
[Samsung Galaxy S 4 Unified Development] Arhiteh:
battery warming up much more after last update, draining faster
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
can't confirm here.

but I'm running the Rom with BT, WLAN, mobile data OFF (on need only: WLAN is on) and Power Profile: Efficiency

with that: drain is ~9 %/day

battery calibration:

- empty the battery (all above on, display: no sleep/max. brightness)

- recharge to 100 %

- reset the above setting

- recheck drain over the next charge cycles

P.S.

wasn't a heating up battery (during use !) a bad battery ?

how old and how much recharge cycles does your battery have ?

is the battery still flat ?
[Samsung Galaxy S 4 Unified Development] Ludoboii:
What version of LineageOS would you say is the most stable on the Galaxy S4? Possibly without battery drain issues.
[Samsung Galaxy S 4 Unified Development] kurtn:
Looks like 14.1 is still in use.

LineageOS Statistics

stats.lineageos.org
[Samsung Galaxy S 4 Unified Development] zyhk:
Hi there, I've optimized the audio output quality of 3.5mm jack (48kHz & 16bit) via the OS mixer (AudioFlinger), especially its resampling quality (now it can be a mastering quality level; i.e., no resampling distortion in a real sense).

Try a magisk module Audio-misc-settings. You can enjoy music streaming service through 3.5mm jack without resampling distortion! (Only without Amazon music, its app has its own "not-bad" resampler internally)
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
ping @npjohnson

reading this, e.g. what comes under "Let’s talk about legacy devices…" from here:

Changelog 26 - Tailored Twelve, Audacious Automotive, Neat Networking, Devoted Developers

XIX

lineageos.org

makes me think our S4 will stuck at 18.1

True ?
[Samsung Galaxy S 4 Unified Development] kurtn:
@haggertk answered this for S5 with only unofficial lineageOS 19.1 is possible.
[Samsung Galaxy S 4 Unified Development] dvhttn:
To be honest, 18.1 is a fair send off for the S4, considering it was released 9 years ago with A4!
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
it wasn't a complaint, just to check whether to search for a new ROM/phone by time/money

Thanks @npjohnson and *all* involved (@arco68 are you still reading here ?)
[Samsung Galaxy S 4 Unified Development] Retrial:
There is available 19.1 for S4 by @side so the story doesn't end up here.

However, tbh LineageOS team shouldn't be so strict with legacy devices to get the tag Official. These devices are old now and needs some "hacks" in order to work which LineageOS team doesn't approve.
[Samsung Galaxy S 4 Unified Development] npjohnson:
Side is one of us. He's aware of the constraints lol.

It's not "strict" - the "workaround" people keep linking LITERALLY just ignores the error - data restrictions, data management, and routing in general will always be 100% broken - and that will never be considered "working" - if someone makes that stuff properly work, even if tacky, we're no opposed - just that the current stuff isn't even a hack, it's just "ignore what's broken".
[Samsung Galaxy S 4 Unified Development] nnullius:
Hi, I recently updated to LineageOS 18.1 for S4 OTA. After the update the SD card is visible, but all the directories contain no files. For Example, the Android directory on the SD card contains only the "data" subdirectory, wich is empty,

However, when I put the SD card in my Mac or in a Windows laptop all files are still there and work fine. The SD card was OK on previous LineageOS versions.

Can you help me?
[Samsung Galaxy S 4 Unified Development] drufa:
The same happened to me. So went back to the latest working backup I had and updated stepwise.

I found out as soon as I updated to lineage-18.1-20220414-nightly-jfltexx-signed.zip some programs couldn't read their own /android/data on SD card any more. Here it was my Mapfactor Navigator program.

For now I simply returned to the previous version and all is ok.

Maybe thats also the cause of your problem.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I'm still on lineage-18.1-20220421 and could read my sdcard (MiX, buildin filemanager)

Haven't tested Mapfactor's offline cards (complete for germany, 1.2 GB) running from sdcard since Mapfactor messed it during Mapfactor-update in the past and I'm running it from internal storage now/since.
[Samsung Galaxy S 4 Unified Development] drufa:
Yes, internal storage = no problems

But I have 8 GB of maps which don't fit in internal anymore.

Oruxmaps also didn't find their data on SD card /Android/data anymore. Had to move it to SD card /android/media. Luckily Oruxmaps location is configurable. Navigator's is not.
[Samsung Galaxy S 4 Unified Development] side:
As @npjohnson said...even my builds seems to work fine, they simply "bypass" some new, Android 12 stuff because our old device can't support.

Go to data usage, via settings, and check any application data usage. Let's say Chrome. Regardless how much u use the Chrome, the data usage seems zero. That's the problem.

I personally consider and respect the fact that lineageos wouldn't ship a build which includes a hacky thing that bypasses those network related stuff. This feature is a big change on Android platform, hence, I understand why LineageOS insist on a fix on this

tl;dr, as nolen said, the problem is on the kernel side and since jf can't have that backported change (I won't mess with it personally), the solutions are 2.

1. Someone will mess with jf kernel and will backport ebpf (as lineage page says so)

2. We will restore iptables back. This is my approach and I will personally work on it too. Fixing this will help many legacy device come back but trust me... It's really hard to bring it back
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
you're able to run Mapfactor from sdcard, see it's settings (for after install move) or install configuration during install.

Btw.:

I format my sdcard's with this tool from time to time, cause sdcard speed degrades over time

SD Memory Card Formatter for Windows/Mac | SD Association

www.sdcard.org
[Samsung Galaxy S 4 Unified Development] zyhk:
Hi there, I found an issue of MPDecision. When I play back music through a USB DAC, my S4 (jfltexx) frequently stutters like loose connection between my S4 and any DAC.

However, if I execeute a command "setprop ctl.stop vendor.mpdecision", then the stuttering disappears. Is MPDecision really needed?

Edit: Sorry, the above frequent stuttering stops after latest "Solid Explorer" update (frequent USB OTG devices scanning problem?), but it sometimes happens still and can be suppressed by the "setprop" execution.
[Samsung Galaxy S 4 Unified Development] mahir555:
Will we get Los19 for S4 variants ? I got I9295
[Samsung Galaxy S 4 Unified Development] x321:
Hi guys, is NFC and camera working for you?
[Samsung Galaxy S 4 Unified Development] kurtn:
LineageOS camera and NFC reader app work on my s4 klte

Edit: Sorry, typo and wrong thread and a typo. I was talking about galaxy S5
[Samsung Galaxy S 4 Unified Development] x2k13:
I suppose he meant jfltexx, probably. klte is S5.
[Samsung Galaxy S 4 Unified Development] kowa.pi:
I can't report bugs via GitHUB, sorry I'm old, it's too hard for me. Sorry for my English. I report bugs here:

Samsung S4 LTE GT-i9505 LineageOS 18.1 06/06/2022

lineage_jfltexx-userdebug 11 RQ3A.211001.001 fe9f4d003a

I am using the system without GAPPS.

Bugs found:

1. The system does not ask for a PIN code

(when the SIM card has a PIN code, the phone resets)

a) when you try to unblock the SIM card in the SECURITY menu, the system will ask for the PIN, and then it will ask if the PIN is incorrect. The system then says: TWO ATTEMS REMAINING ... ONE ATTEMPT REMAINING ... but nothing happens. After installing the SIM card in another phone, there are still THREE TRIES.

2. Lack of the LTE ONLY option makes it impossible to use the Internet, when the LTE network coverage is too weak in relation to UMTS, the phone constantly switches to 3G.

3. A permanently set LED blinks all the time, it does it differently, regardless of the settings. For example, when charging, it should be green and flash every 3 seconds. This happens with every notification (missed call, SMS, MMS and so on).
[Samsung Galaxy S 4 Unified Development] spaced<->out:
Hi, I've a i9505/jfltexx.

Camera works fine, except for double-tap power button to open the camera never works the first time from the lock screen. An error message says "can't connect to the camera" even though I can see the camera view appear a moment later behind it. It generally works the second time I try.

I tested NFC last night and that is working. It detected the Mifare cards I have for public transport and the office.

I do have the issue I think another poster wrote about where the GPS doesn't work for live navigation. I can get interactive location and directions on a map, but if I try to use it as a real-time sat-nav the updates come minutes apart and it's useless. Experience is the same with Google Maps, Maps Go and Waze, although I've briefly tried MapFactor Navigator and it seems to have promise that it will work.

I also get spontaneous soft-and hard-reboots, but usually only occasionally.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
no such "bugs" on my I9505 seen here !

to 1.:

you got PIN's and PUK's from mobile provider...

I would clean install the phone (with stock FW first to see if the SIM behaves there similar as you described)

and I would leave the SIM off the phone during FW install

to 2.:

Settings => Network & Internet => Mobile Network => Preferred network type

to 3:

Apps & Notification => Notification => Advanced => notification lights and more there
[Samsung Galaxy S 4 Unified Development] kowa.pi:
Unfortunately, it cannot be used. My Samsung is acting weird. I have a lot of network problems. Telfon has no bugs on the original software, it works great. 1.the phone does not want to detect the LTE network, it keeps turning on to 3G. 2. LTE coverage is full, even stronger than 3G in my place of residence. 3. VoLTE doesn't work (my network supports VoLTE on the 800/1800/2300/2600 bands). VoLTE does not work because the phone switches from 4G to 3G network when SMS comes in or someone calls. Unfortunately, despite the "PREFERRED 4G" option selected, it does not come back to this network, even when I have USB Tethering active and I use LTE in my computer. 4.The only way to force LTE is to temporarily select 3G and then 4G, then the phone switches to LTE and stays in this network until even receiving an SMS. This software is missing the "LTE ONLY" option in the network selection. The old Samsung SM-G357FZ which has the original firmware (Android 4.4.4) works with my super SIM card. VoLTE works, the phone behaves normally, it always selects 4G automatically, even though LTE in some location is weaker. It chooses the 3G network only when the 4G network is completely lost for a minute or two. This is how LineageOS should work. 5. There is a huge difference between the original software and Lineageos when I do speed tests. On Lineageos, I fail to achieve more than 40-50Mb / s (never!) And on stock software it is always 90-100Mb / s (T-Mobile Polska network). I tested two Samsung phones, the i9505 and the i9506. Both phones are operational. You have to add in the MENU the option "USE ONLY 4G" and improve VoLTE. Without this, in many European countries it is impossible to use the telephone. In Poland, they began to turn off 2G and 3G networks, UMTS transmitters are disappearing, VoLTE4G and 5G appear instead. Without forcing the bandwidth, LineageOs becomes useless in many countries.
[Samsung Galaxy S 4 Unified Development] kurtn:
Custom ROM becoming useless is a common issue on all Samsung phones. The community has not managed to reverse engineer the proprietary Samsung VoLTE implementation.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I have here in germany running Aldi-Talk (O2 ?) the option to switch to 4G (LTE, what should be the "LTE-only"), 3G (UMTS, should be dead) and 2G (GSM) on LineageOS 18.1.

it might be that it's mobile provider dependend.

anyone else from Poland here running T-Mobile to clear this point ?

But, I'm currious that T-Mobile had switched off 2G too, cause that would exclude all phones which are only able to run 2G...

I'm also curious if LOS could do VolTe at all.

anyone ?

and if not:

I guess it won't come, cause development for S4 is nearly dead and I further guess there will be no LOS anymore for the S4 when LOS 18.1 is at it's support end (when LOS 20.x goes online, May (?) 2023)

means: there is no "You have to ..." and there had never been such thing (for an OS for free) !

the last stock for an S4 is Android 5.0.1:

Samsung Galaxy S 4 (Snapdragon) Firmware Download GT-I9505 DBT Free Download

Samsung Galaxy S 4 (Snapdragon) Firmware Download GT-I9505 Free Download ⭐ Official and fast update ⭐ Max speed and free download ⭐ Best Samsung Galaxy website

samfw.com

what hold you off to run the phone with stock /buy another phone ?

last question:

why are you able to switch to 3G when you said before it's offline ???

me is confused.
[Samsung Galaxy S 4 Unified Development] npjohnson:
VoLTE will never work on the S4, or the S5.

These are from early VoLTE generations - in which there was no even semi-standard method to do it. Samsung and LG both stuffed it into the frameworks side java code and it's hopeless - there are too many subsystems working together on the stock ROM we just can't reverse engineer and tie together on LineageOS.
[Samsung Galaxy S 4 Unified Development] pocketrule:
You could check out the extensive guides from @Retrial. These contain hints for troubleshooting, too.

🗃️S4 Unified Collection & Guides📚
[Samsung Galaxy S 4 Unified Development] kowa.pi:
1. Is there any way to add "LTE ONLY"?

2. Is there a chance to fix the option of a faster return to the 4G network?

Just these two points don't work! The rest of the software is great 100% ok!

Additional questions:

Why is there no bandwidth enforcement on Lineagos?

Such options were already available in good E3372 modems 7 years ago (the famous Huawei HiLink).

Lineageos should be more extensive in this respect.

There should be manual sorting of the bands: LTE2600, LTE2300, LTE1800, 800, 900 and so on. It would be a great thing.

Other deficiencies in LineagOS include:

1.no possibility of automatic (scheduled) turning on and off the phone at certain times (times of the day)

2. the inability to set the PROFILE (silent, home, offline, loud) at specific times (times of the day) - scheduled times and automatic start.

3. Call recording does not work on all versions of the system.

4. Unfinished screenshots (rough controls)
[Samsung Galaxy S 4 Unified Development] Jules_1606:
Can you please send me instructions on how to install the latest baseband version?

The current baseband version is: I9505XXUHPK2

I have installed the gapps "MindTheGapps-11.0.0-arm-20220224_161620.zip" and nothing from magisk.

Which gapps version is the best for the S4?

Kind regards
[Samsung Galaxy S 4 Unified Development] kowa.pi:
Data transmission does not work with the latest software version. Despite the switched on transmission (both in 3G and LTE networks), all applications will say: you are not connected to the Internet. There is still no "LTE only" option in the latest firmware version. I'm going back to stock-soft, it doesn't make sense. It cannot be used, just as underdone as almost all Cyanogenmods. Let's skip VoLTE, but the "LTE ONLY" option should be. I also see no obstacles for Lineageos to have icons on the desktop for fast network switching (with one click) as standard in such cases, eg "2G ONLY" "3G ONLY" "4G ONLY". This would solve almost all problems because the USSD and SMS codes work in 4G, there is only no telephoning when there is no VoLTE option. Meanwhile, this software cannot be used only for the Internet! Why are developers having trouble adding an option to force bandwidth in 2022? Why is there no "ONLY 4G" and "ONLY LTE2600" options? I also inform that the i9505 model cannot be loaded with earlier versions of Lineage, e.g. v13 (Android 13). The message in recovery says: the uploaded software is only for the model (and here it lists available models) and the list of models listed is the one I am trying to upload soft to. The hands drop.

PS. T-MOBILE Polska in the official announcement of November 2021 announced that it will turn off the 3G network, but it does not plan to turn off 2G for the next 10 years. The reason is that disabling 2G would cut 40% of Poland from GSM telephony coverage (3G and 4G have a lot of holes) and cut off older people from the phone. We would go back to the times before GSM. GPS locators in car fleets, alarm systems, remote access and home management (GPRS) are based on GSM. Disabling the 2G 900/1800 network will paralyze the country!
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
hell !

you just need to read the 2cd comment above your's and follow the links !!!

damn !
[Samsung Galaxy S 4 Unified Development] Jules_1606:
Oh ok, i am sorry ^^.

I have now flashed the latest LineageOS 18.1 again without gapps.

Now the S4 runs great.

Thanks a lot
[Samsung Galaxy S 4 Unified Development] kowa.pi:
Gentlemen ... I am at home! At last!

https://xdaforums.com/t/rom-jfltexx-7-0-cm-based-crdroid.3017844/

Zero problems!!!
[Samsung Galaxy S 4 Unified Development] npjohnson:
Why are you linking some random Marshmallow ROM?
[Samsung Galaxy S 4 Unified Development] jonatandejota:
hello everyone, first of all very good job.

This rom featured lag in some apps. How can I solve this?
[Samsung Galaxy S 4 Unified Development] kurtn:
Maybe some apps are too heavy for that old phone. Try lighter alternatives.
[Samsung Galaxy S 4 Unified Development] jonatandejota:
could pass me the link of the alternatives to Galaxy S4 GT I9505.
[Samsung Galaxy S 4 Unified Development] ze7zez:
There is no alternative to "some apps". It's a ROM thread. Be specific and best send your logcat here.
[Samsung Galaxy S 4 Unified Development] zyhk:
If you consider this ROM as an alternative to a DAP (for hi-fi audio use), try Hifi maximizer and Audio jitter silencer. And change the performance profile (in the battery section of Settings UI) to "Performance".

You can get a little bit quicker response and much better audio quality from a music streaming app while having a little bit hot S4.

Edit:

You must be getting hang-ups of a music app when initializing the app at its first start-up, but it will be normal after repeating this hang-up and killing the app several times. The reasons why getting much better audio quality are a mastering quality resampling of the OS mixer (AudioFlinger) and reducing jitter ultimately.

Especially, you could get the best bluetooth audio quality under very low jitter environment by these magisk modules.
[Samsung Galaxy S 4 Unified Development] trer253:
Hi guys. Been reading a lot, but not sure about bootloader.

I have an S4 at&t on latest firmware. I think it's ok3 or something like that.

I remember I downgraded many times using Odin to 4.x or I'm missing something?

There is something I can do to install this rom? Most third party apps doesn't work anymore on official 5.1

Thanks
[Samsung Galaxy S 4 Unified Development] npjohnson:
Nope, you're out of luck.

Locked bootloader and can't downgrade.
[Samsung Galaxy S 4 Unified Development] trer253:
Hi. Thanks. So it's going to the trash :/
[Samsung Galaxy S 4 Unified Development] minoo14534:
Galaxy S4 Mic Boost

Hello I would like to increase the volume of both microphones and earpiece.

Unfortunately I don't know where to change the values in mixer_paths.xml.

I had the same problem with Galaxy S5 Cold and Galaxy Note 3.

Then I was able to change these values in Lineageos 18.1 with success.

Volume for earpiece

<!-- Play Scenario -->

<path name="handset">

<path name="rcv" />

<ctl name="EAR PA Gain" value="POS_3_DB" />

<ctl name="RX1 Digital Volume" value="84" /> 94

</path>

Volume for microphones

<!-- Recording Scenario -->

<path name="rec-main-mic">

<path name="main-mic" />

<ctl name="DEC2 Volume" value="95" /> 114

</path>

<path name="rec-sub-mic">

<path name="sub-mic" />

<ctl name="DEC4 Volume" value="95" /> 114

</path>

But Galaxy S4 in the mixer_paths.xml I can't find these values.

Thank you for your tips and help
[Samsung Galaxy S 4 Unified Development] Achsel:
@minoo14534: You can increase the volume values in the "/system/vendor/etc/mixer_paths.xml" at these positions by "try and error" (not tested by myself):

Spoiler content hidden.

Much luck!
[Samsung Galaxy S 4 Unified Development] Ben.gd:
Will it be LineageOS 19 for S4 jfvelte (GT-I9515/L)?
[Samsung Galaxy S 4 Unified Development] npjohnson:
Nope. Said elsewhere but jf lacks BPF due to kernel 3.4, so no 19.1 for jf ever.
[Samsung Galaxy S 4 Unified Development] minoo14534:
Hey Achsel

Thank you so much for your Information . At moment i am busy and i will try soon and give fadeback.

Thanks lot of
[Samsung Galaxy S 4 Unified Development] Ben.gd:
But in xda-developers, is unofficial Lineageos 19 for GT-l9505 (jfltexx). Is this not jf aswell? Or am I missing something?
[Samsung Galaxy S 4 Unified Development] npjohnson:
That has broken net traffic and all net filtering. They hackily disabled BPF.
[Samsung Galaxy S 4 Unified Development] Senko7699:
Thank you devs♥️

But gapps doesn't work.
[Samsung Galaxy S 4 Unified Development] npjohnson:
yes they do. Follow the guide.
[Samsung Galaxy S 4 Unified Development] js-xda:
I can confirm.

I have still a functioning OpenGApps Pico package from September 2021 which I used on multiple LOS 18.1 builds without issues. Can share if interested.
[Samsung Galaxy S 4 Unified Development] kurtn:
Better share the guide

Redirecting…
[Samsung Galaxy S 4 Unified Development] Senko7699:
I did, they don't even install.

On my gt-I9505

Only lineage os 17 works
[Samsung Galaxy S 4 Unified Development] npjohnson:
They work fine. MindTheGapps. I've confirmed it myself.

Unless you have the I9505-G, in which case we dont support your device.
[Samsung Galaxy S 4 Unified Development] Senko7699:
No it's I9505
[Samsung Galaxy S 4 Unified Development] npjohnson:
Then gapps work fine.

What does the install log say?
[Samsung Galaxy S 4 Unified Development] kurtn:
People usually select the wrong file. The links look like Version specific, but end all in the same mindthegapps folder.
[Samsung Galaxy S 4 Unified Development] Retrial:
Check my S4 Ultimate Collection & Guides, I have a GApps section there which you can find all working GApps. Make sure you have selected the proper Android version of the package and to be ARM.

Also if you are using TWRP, use the latest Official version.

LineageOS recovery also working fine.
[Samsung Galaxy S 4 Unified Development] Senko7699:
Thank you i tried both recoveries.

Will try to update to the latest version as you suggested.

Tho would definitely love to install lineage 19.1.

Also quite interesting that the only supported gapps version is MindTheGapps
[Samsung Galaxy S 4 Unified Development] Retrial:
19.1 is only available as Optimized LineageOS by side.

It has some issues here and there but mostly working fine.

MindTheGApps is not the only supported version. Look my collection as I said above.