yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] stef2020:
Just an update on the wifi issues I have been having. I ended up buying a new phone anyway as I figured it was about time for an upgrade anyway & was able to get a pre owned Galaxy A40 for a good price & i'm very happy with it so far.

I then also decided to play around with the S4 a bit further to see if I could get it working again & so took the phone back to stock & while the wifi did initially connect/disconnect/re-connect a dozen times it eventually settled down & remained connected for a few hours.

I then decided to try & go back to the latest build of Lineage 18.1 & immediately starting having the issue of it not picking up any wifi signal again. So I went back to stock again & it was again working although did again initially connect/disconnect/re-connect a dozen times before settling down.

So I then decided to go back to the initial version of Lineage I installed on it a few years ago (Lineage 16 from August 20th 2019) as I still had that rom file which I used when I first opted to flash the phone & yet that too brought back the issue of it not picking up any wifi signal.

BTW before I took the phone back to stock it had simply stopped connecting to both wifi & Bluetooth. I would hit the icon to connect & it would just immediately switch off again.

So it looks like there is just something going on with the phone which is suddenly causing wifi issues outside of stock despite it working fine on Lineage for 3 years.
[Samsung Galaxy S 4 Unified Development] OldAndroidUser:
Hello everyone, first of all thank you to the OP for making the Rom. I am still on Liquid Remix Android 10 rom. I noticed by chance that LineageOS 18.1 came out. I am somewhat satisfied with my current rom my only gripe is that the wifi sometimes shuts off. When this happens I need to just turn the wifi option on/off again and it reconnects. I was wondering if this issue is resolved in LineageOS 18.1?
[Samsung Galaxy S 4 Unified Development] Achsel:
@Retrial

You said in your Post 260:

I use OTA fine with the latest Official TWRP (twrp-3.5.2_9-1), it automatically Download the new build > Reboot TWRP > Flash new build > Reboot system.

Did you use "MindTheGapps" or another Gapps bundle? Do you have "Magisk" installed for root access too?

Thanks in advance

Axel
[Samsung Galaxy S 4 Unified Development] Retrial:
I use MindTheGApps but it should work with other GApps bundles too.

I don't use Magisk no, no root, but it should work.
[Samsung Galaxy S 4 Unified Development] pocketrule:
I've got BitGapps installed and Magisk, both survive a rom update.
[Samsung Galaxy S 4 Unified Development] Achsel:
@pocketrule

The key question, however, is which recovery do you use, TWRP or Lineage recovery? Maybe it also depends on the device version of the S4.

@Retrial and @pocketrule

As I wrote in my longer posts 249 and 256, I used the smaller "BiTGApps" package + the "BiTGApps" add-on "Google TTS" for the first clean installation via TWRP on both of my S4 versions, which ran through without any problems. But after installing the OTA updates from August (error message when backing up/restoring "BiTGApps" during installation), the system could no longer boot and it went back to recovery mode, as described. So the "BiTGApps" or parhaps only the "BiTGApps" add-on "Google TTS" (I need for a navigation app) don’t seem to be combatible to OTAs via TWRP, but perhaps via Lineage recovery.

So I made a new clean installation with the August updates on both S4 devices (GT-I9505 and GT-I9515), a reduced "MindTheGapps" (see my instructions and attachement in post 249) and "Magisk-v23.0.zip" via "TWRP 3.5.2_9-1", because I don’nt want to be without root.

The crazy thing is that with otherwise the same installation on a Samsung Galaxy Tab 4, the "MindTheGapps" lead to an error when mounting "/mnt/system" just during a first clean installation via TWRP, but with the "BiTGApps" + "Google TTS" also work OTAs on the Tab 4.

@npjohnson and @Retrial and @pocketrule

Good news: 30 minutes ago I made via "Settings/Advanced/Updater" on the GT-I9515 (S4 VE) the update from today and everything runs automatically now and booting works without problems.

So I can say: My reduced "MindTheGapps", "Magisk-v23.0.zip" and "TWRP 3.5.2_9-1" are compatible with OTAs. When the next update for the GT-I9505 is out, I will also test the updater there. But I am sure that it will also work with this device.
[Samsung Galaxy S 4 Unified Development] npjohnson:
I wouldn't release it if OTA's didn't work lol

But your issue with MTG on Tab S4 is that the TWRP you're using does mounting of partitions wrong. It does it the old way. Maybe a newer TWRP would solve your issue?
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

My tablet is a Tab 4, not a Tab S4, but you are right, the TWRP of matteo0026 is one version older (3.5.2_9-0, and not 3.5.2_9-1), but as I said, with the "BiTGApps" the OTAs work on my Tab 4 via older TWRP, but not on my S4 VE via newer TWRP.

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

Thanks for your good job!

Axel
[Samsung Galaxy S 4 Unified Development] pocketrule:
After you and Retrial have written about flashing with TWRP (at least to my regognition) - it was clear to me, we're all talking about flashing with TWRP. But you're right. Thinking about it, I should have mentioned that. My devices are I9505.

I don't flash updates that often, so I didn't have this specific problem.

It's alway hard to say, where exactly the error is, when you have different components working together.. But that's great news, glad it worked for you 👍️
[Samsung Galaxy S 4 Unified Development] Achsel:
@pocketrule

According to the information from npjohnson, the version of the TWRP recovery is also very important. For me, the "BiTGApps" and the latest TWRP version 3.5.2_9-1 lead to the error described during OTA updates on both S4 versions GT-I9505 and GT-I9515, but not with installed "MindTheGapps". Maybe you have installed TWRP version 3.5.2_9-0 or older, as I did on my Tab 4 (there is no newer version for this device yet), on which "BiTGApps" work for OTAs.

Important: I always create a complete system backup via TWRP before and after installing an OTA update!
[Samsung Galaxy S 4 Unified Development] kurtn:
Maybe bitgapps is not the best choice?
[Samsung Galaxy S 4 Unified Development] Achsel:
@kurtn

Based on my previous experience, I can only recommend using "MindTheGapps", and not "BiTGApps", if you are using the latest TWRP recovery version 3.5.2_9-1 for flashing OTAs via updater on the S4. The size of "MindTheGapps" can be adjusted according to your needs (see my instructions and attachement in post 249).
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

After doing an new clean installation on my both S4 devices (GT-I9505 and GT-I9515) with the reduced "MindTheGapps" (see my instructions and attachement in post 249) and "Magisk-v23.0.zip" via "TWRP 3.5.2_9-1" 5 days ago, I was able to install today's update via "System/Advanced/Updater", as expected, fully automatically via TWRP on the GT-I9505 too.
[Samsung Galaxy S 4 Unified Development] Mastamp3:
Hi 👋 I just got my old s4 from my niece and unfortunately I don't see this version. I believe it is a sgh-720t (jflte).
[Samsung Galaxy S 4 Unified Development] maanteel:
Hi @Mastamp3

if you install e.g. https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw&hl=de&gl=US

app should show you the device
[Samsung Galaxy S 4 Unified Development] Mastamp3:
My bad sph-l720t
[Samsung Galaxy S 4 Unified Development] Linskun:
I know, this is borderline, but i would like to know if with Los 18.1 Accubattery tell you that "Your device is not compatible with this version"

Tried to clear Play store data, wait without success.

Tried to update to latest Los version without change.

You can find here :

AccuBattery - Apps on Google Play

AccuBattery monitors battery health performance via science

play.google.com

Thanks in advance
[Samsung Galaxy S 4 Unified Development] npjohnson:
Use Lineage Recovery - that's a SUPER old, and unified jflte recovery. You need a jfltespr recovery.
[Samsung Galaxy S 4 Unified Development] droi1:
This App is not compatible
[Samsung Galaxy S 4 Unified Development] kurtn:
@npjohnson you Comment on this?

Failed builds · Issue #197 · lineageos4microg/docker-lineage-cicd

Seems to be various different reasons. Open for suggestions on how to fix any of these. lineage-15.1-20210628-UNOFFICIAL-microG-angler.log lineage-15.1-20210628-UNOFFICIAL-microG-bullhead.log linea...

github.com
[Samsung Galaxy S 4 Unified Development] droi1:
i didn't, commented for post #278 the App "Accubattery"
[Samsung Galaxy S 4 Unified Development] npjohnson:
No clue why you linked a random docker image issue thread.

I have no clue about that or how it works.

Nor why builds are failing on it?
[Samsung Galaxy S 4 Unified Development] kurtn:
Sorry. I thought you could help out wit this: "Somebody could find the LineageOS maintainer for jfltexx and kindly ask them to change the BoardConfig to allow for more space in the system partition."
[Samsung Galaxy S 4 Unified Development] npjohnson:
No, because stock lineageos fits in this size, and can be used on the GPE version.

If I up the number the GPE version won't be able to install lineage.
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
I can't seem to find a way to change the intensity of the vibration and haptic feedback. Is there a way?

Also the "charging status" led is either always on or not usable, is it possible to automatically turn it off when the screen is on?
[Samsung Galaxy S 4 Unified Development] npjohnson:
No support for variable vibration.

And yeah, "Lights with screen on" toggle.
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
It doesn't affect the "Battery light".

No matter what position the "Lights with screen on" toggle is set to, if the "Battery Light" toggle is set to active, the led will turn on every time the usb cable is connected, even when the screen is lit up.

Could this change with future updates? I remeber it being a feature in the 14.1 (unofficial) build I was running previously on the same phone.
[Samsung Galaxy S 4 Unified Development] npjohnson:
1. Huh, looks like it's a platform feature we don't have - maybe someone will port it.

2. Nah. It's had people attempt to resurrect it for some time, doubtful someone will find the time to actually do it properly.
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
Guess I'll have to get used to it; I don't know if it's a problem with my phone but I find the haptic feedback strangely strong, it's kinda farty.

Many thanks to you and to the team.
[Samsung Galaxy S 4 Unified Development] pocketrule:
If you have got root, you could check, if BuffCore Kernel Adiutor (still) works with android 11. You can find it in the installation zip of the aroma installer for JDCTeam 10/Q roms. It allows to change vibration strengh.
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
Hey, I have more noob questions.

Is it possible to display videos at 60fps properly on YouTube?

It doesn't give me the option to select 1080p60fps, the quality setting tops at 720p60fps and the video stutters badly.
[Samsung Galaxy S 4 Unified Development] pocketrule:
full hd 60 fps is not possible with our i9505. Even if you've got an app that shows such videos (vlc or, for youtube videos newpipe - which I highly recommend) it will stutter. We've had made some tests recently, only to find out (again), that the hardware of our device cannot play such videos
[Samsung Galaxy S 4 Unified Development] x2k13:
60 fps and 1080p doesn't have any advantage on this small display anyway, because you won't notice any difference.
[Samsung Galaxy S 4 Unified Development] stephendt0:
I seem to be having regular issues with Wi-Fi connectivity. Is it just me? Wi-Fi stays connected but I can't load webpages, need to reboot before things work again.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
just checked:

- I could download new update from today

- surf the internet

no errors here (tested with mobile data OFF and only wifi ON)

"WI-FI-enhanced MAC randomisation" ON (see Developer options) and Router with MAC filter configured ?
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
Is it possible to not have the cover art in the lock screen be blurred?
[Samsung Galaxy S 4 Unified Development] kel_niun:
I am having the same problems, google play says "not enough storage" although there are 9GB left. What did you format and how? Any howto links?
[Samsung Galaxy S 4 Unified Development] kel_niun:
For completeness, I wiped all partitions with the latest TWRP 3.5.2, installed latest LOS 18.1 lineage-18.1-20210930-nightly-jfltexx-signed.zip directly followed by the latest OpenGApps pico zip. Than after reboot and logging in with my google account, it is not possible to install apps because it says not enough storage. I tried the nano OpenGapps and also the MindTheGapps, all having the same problem. Maybe will try now without GApps to test if there are still storage problems.
[Samsung Galaxy S 4 Unified Development] kurtn:
Official procedure includes formatting data partition for removing device encryption
[Samsung Galaxy S 4 Unified Development] kel_niun:
Thank You very much! That did solve my problem. I flashed the current lineageOS recovery with heimdall and used that to "factory reset" and install the LineageOS zip. I thought that wiping partitions with TWRP would do the same but the LOS recovery seems to do some extra things.
[Samsung Galaxy S 4 Unified Development] kurtn:
Haha! No. LineageOS recovery just has just the absolute minimum of features. Looks like that made it easier for you to find.

Twrp also has that factory reset somewhere in advanced menu.
[Samsung Galaxy S 4 Unified Development] Edhuin:
Just picked up this phone for 30 bucks for my brother. Flashed twrp using odin and your lineageOS rom with opengapps pico. Runs well just the battery drains kinda fast even with wlan disabled. Wondering if it's caused by the rom or if the battery needs to be replaced. (gt-i9505)
[Samsung Galaxy S 4 Unified Development] kurtn:
GApps is a heavy pieceof software. Leit it settle a few days. Wlan enabled.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
idle drain is here ~10 % /day (without GApps installed, Wifi, BT, NFC, Mobile Data: OFF, mobile: 2G)
[Samsung Galaxy S 4 Unified Development] Xharos:
I'm having a problem with this ROM. I was on LineageOS 17.1 previously and I followed the instructions to install 18.1 "from scratch", from the installation instructions page in the lineageOS wiki. I installed LineageOS and the MindTheGapps package, and the ROM boots but it always gets stuck in this part of the initial setup process:

Any ideas? I left it overnight just in case it was just taking VERY long but nah, it always gets 100% stuck.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
no expert here, but:

1. I would leave MindTheGapps off in the first step

2. I would exchange LOS-Recovery with TWRP Recovery (currently don't know if LOS-Recovery is able format partitions !)

3. when TWRP is on the phone: format (not wipe) caches, DATA, system

4. install the rom

5. reboot

6. install MindTheGapps
[Samsung Galaxy S 4 Unified Development] Retrial:
You can check my guides in S4 Unified Collection & Guides.
[Samsung Galaxy S 4 Unified Development] js-xda:
I am still having troubles with reboots on a S4 (see quote of an earlier post below - the change of mobile network from 4G to 2G did not resolve in the end). I can narrow it by now down to receiving a WhatsApp message without GAPPS/Magisk/MicroG being installed (I9505, plain LOS 18.1 various recent builds, no Magisk, no MicroG, no GAPPS, WhatsApp and a 2-3 other apps). But it is by far not for every message! Nevertheless, I have also another S4 in use (same details as above) with Signal and WhatsApp without GAPPS/Magisk/MicroG where this issue does not occur. Also not on two S4s with GAPPS running no WhatsApp but some other messager (WeChat).

Is anyone experiencing issues with WhatsApp causing reboots in same or similar setting?

In the end, the issue can be top-line due to:

bug in a specific app

bug in the ROM

faulty hardware (e. g. overheating)

As I don't see it in a similar setting, I am wondering that the phone might be faulty but can't notice any excessive heating or so. Any other suggestion?
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
@js-xda

maybe

- app CPU-Z for heating issues

- app syslog for getting log's

thoughts:

- try to install the Rom from the scratch

- maybe with stock as a intermediate step

- format partitions under TWRP

- try the last bootloader/Modem [1]

in short:

get the phone in a clean state

see @Retrail's Guides from comment #308

- try to exchange the battery of both phones to check if it's the not battery

- check sdcard's if you're running one

- usually they get slow over time => try to format under windows (NOT quick format !)

in the prev. LOS there had been crashes/reboots for some users and according to @arco68 they might be in this ROM too...

no one know exactly what it is/was !

I have had one during the first ~5 relases of 18.1

[1]

i've been running the last modem (HQK1) on an I9505

since LOS 18.1 I'm back on stock (HPK2, what is stock [germany, DBT])
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

Today I installed the latest update lineage-18.1-20211104-nightly-jfltexx-signed.zip via the updater and found that the "Terminal" app is no longer available and can no longer be activated in the developer options. What could be the reason?
[Samsung Galaxy S 4 Unified Development] npjohnson:
We removed it, it wasn't very useful, as SELinux blocked most of it's functionality behind neverallows.
[Samsung Galaxy S 4 Unified Development] kurtn:
Oops. It was my test tool for root.
[Samsung Galaxy S 4 Unified Development] Achsel:
For information only, these are the last updates with the Terminal app:

lineage-18.1-20211014-nightly-jfltexx-signed.zip and lineage-18.1-20211016-nightly-jfvelte-signed.zip
[Samsung Galaxy S 4 Unified Development] Jixyuuru:
GT-i9515 here, what's the best firmware for this rom, should i go for lolipop or kitkat?
[Samsung Galaxy S 4 Unified Development] x2k13:
Android 11? If GT-i9515 is your device, look here:

LineageOS Downloads

download.lineageos.org

If you're looking for the last vendor update/firmware then check here:

Samsung GT-I9515 Galaxy S4 VE LTE - Sfirmware.com

Download the latest version of Samsung firmware GT-I9515 for your region for free. Please go to the firmware download page.

sfirmware.com
[Samsung Galaxy S 4 Unified Development] Jixyuuru:
yeah, I mean the requirement or best samsung firmware to run lineageos 18.1, do i need like android 4.4.2, 5.0.1 or 5.0.2? Sorry if type that wrong.
[Samsung Galaxy S 4 Unified Development] npjohnson:
whatever the newest is for your variant.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
the requirement are here:

Info about jfvelte | LineageOS Wiki

wiki.lineageos.org

in general you don't need to care what's currently on the phone. It's overwritten when you flash LOS.

But I would flash the lastest stock to get the lastest stock modem and bootloader.

AFAIK, both don't get overwritten when flashing LOS (but I'm unsure here, esp. regarding bootloader).

but you're able to exchange both after flashing LOS too

- if modem/bootloader packages are available: see @Retrail's Guides from comment #308 -
[Samsung Galaxy S 4 Unified Development] Jixyuuru:
I see, thank you sir.

Ok, I keep that in mind, thanks.
[Samsung Galaxy S 4 Unified Development] chris1abc:
Thank you for this rom. Everything works fine after 2. installation. First i´ve flashed only the rom and after rebooting i installed the gapps.But Google does not sync the contacts.

After that,i installed the rom together with the gapps and it was fine. Battery Life is great even though my battery is old. I don´t know the difference between JDC optimized 18.1 for the S4.

Perhaps someone could tell me his experience. For now i want to stay on the official 18.1. For me it works good and fast.:)
[Samsung Galaxy S 4 Unified Development] kurtn:
The ROM is good. If the only reason to have GApps is contact sync, you should try without and keep a local export of your contacts.
[Samsung Galaxy S 4 Unified Development] dj3d:
how about installing the function

when telehonieren that you can turn off the proximity sensor
[Samsung Galaxy S 4 Unified Development] npjohnson:
What?

If you mean "turn off proximity sensor while in call", I think our dialer supports that? Google Dialer doesn't I know
[Samsung Galaxy S 4 Unified Development] dj3d:
If you mean "turn off proximity sensor while in call", I think our dialer supports that? precisely yes just found no setting there where do I set that?
[Samsung Galaxy S 4 Unified Development] Chase Whittemore:
So I'm having a weird issue on my SCH-R970 S4. I installed the lineageos recovery and rom easily. Everything worked fine for about an hour, then the phone powers off by itself and boots into recovery telling me that lineageos is corrupt.

The weird thing is that it takes around an hour for it to happen. It's not the battery, it shows

"Powering off" and the battery still shows it's charge when it happens.

I had a Android 8 rom running on my S4 before this that worked fine, so I'm very confused as to why it's doing this.
[Samsung Galaxy S 4 Unified Development] kurtn:
Let's hope inernal storage chip isn't dying. Try installing lineageOS again.
[Samsung Galaxy S 4 Unified Development] Chase Whittemore:
I reinstalled it now and it seems to be running fine now. Thanks for the help.
[Samsung Galaxy S 4 Unified Development] Chase Whittemore:
Nevermind I spoke too soon I guess. After about an hour again it shut off and booted into recovery saying the OS was corrupt.

I'm currently running an unofficial lineageOS ROM based off Android 10 and so far it's been a couple hours and it hasn't shut off. I'm very confused, I actually have a feeling it's a problem with the ROM. Maybe the SCH- R970 version is buggy, can anyone confirm if they're running the same model?
[Samsung Galaxy S 4 Unified Development] kurtn:
I don't have that model. Can you tell us, in what configuration you are running it? Sim? Sd? GApps? Magisk?
[Samsung Galaxy S 4 Unified Development] Chase Whittemore:
OpenGApps, and Toshiba SD card. No Magisk or sim.
[Samsung Galaxy S 4 Unified Development] droi1:
since update 2021-11-25 i have no sim-reception?

*update

after booting in twrp recovery and simple restart without doing anything else it works again :LOL:
[Samsung Galaxy S 4 Unified Development] npjohnson:
This sounds like a hardware issue tbh. Other people don't have that problem on R970 - see if stock has the reboots happen?

Still works here. Not sure.
[Samsung Galaxy S 4 Unified Development] minoo14534:
Hello

since the update lineage-18.1-20211104-nightly-jfltexx-signed.zip

Is the internal storage invisible, no access is possible, the SD card is available.

The memory is also visible under System Settings / Memory

It is no longer possible to install any Apps.

Most apps can no longer be started either

I installed the old Lineageos 17.1 and there is no such problem.

TWRP is currently

twrp-3.5.2_9-1-jflte.img.tar	9.9M	2021-05-18 01:09:39 UTC

Does anyone have similar experience with Galaxy S4.

Very strange

Thanks for your Info
[Samsung Galaxy S 4 Unified Development] droi1:
is it visible in TWRP Recovery? I think i had long time ago similar problem when upgrading older LOS to new Android version, i did after clean install LOS in TWRP "resize option" then internal storage was visible in TWRP. Make shure to backup first.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
NO
[Samsung Galaxy S 4 Unified Development] minoo14534:
Many thanks for your response.

I have a clean installation plus the latest Magisk.

The problem occurred after I updated Lineage 18.1 to lineage-18.1-20211104-nightly-jfltexx-signed.zip.

To your question yes the internal memory is visible in TWRP.
[Samsung Galaxy S 4 Unified Development] npjohnson:
If you initially formatted using TWRP that might be your issue.

You'll need to format data in lineage recovery.