yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] Senko7699:
Okay, strange how the original creator stated that it was.

Don't really know which rom i should go for.

Lineage os 17 has no bugs for me.

And that's what i'm aiming for.

But ofc a newer android is good too.
[Samsung Galaxy S 4 Unified Development] Retrial:
Officialy LineageOS support and suggest MindTheGApps since builds are tested with this specific GApps package and mostly this package made by los team.

But this is not the only GApps which work fine.
[Samsung Galaxy S 4 Unified Development] npjohnson:
For lineageos, yes, use lineage recovery and MTG.
[Samsung Galaxy S 4 Unified Development] x2k13:
BitGApps works as well.
[Samsung Galaxy S 4 Unified Development] kurtn:
@npjohnson 18.1 devices moved to a monthly schedule. Can you shift them to the middle of each month? So they get security patches with minimum delay.
[Samsung Galaxy S 4 Unified Development] npjohnson:
No. It is what it is.
[Samsung Galaxy S 4 Unified Development] HTC_S3:
Hello, i have some problem with APN settings. When i go on roaming with another network company out of my country, the original APN settings change in other settings that are not the correct original one. I can't edit or creat a new APN, so i can't use internet data connection until i come back to my country (and my original network). Somebody had a similar problem?
[Samsung Galaxy S 4 Unified Development] Upriver:
Just installed on a i337 att with appropriate bootloader. Was wondering if there was a pathway to root for me on this device while on los 18.1? Thanks on advance.
[Samsung Galaxy S 4 Unified Development] npjohnson:
just flash magisk from recovery
[Samsung Galaxy S 4 Unified Development] OldAndroidUser:
device: galaxy s4 i9505 (jfltexx)

Lineage os 18.1

issue: bootloop after update from last 18.1 (nov) to latest 18.1 (24-12 release)

Got a notification there was an update for my 18.1 and downloaded + ran it. Afterwards it boot looped and sent me to twrp 3.3.0.0. I've been a dumbass and havent backed up for a while. Is there any way to roll back or fix it without losing my data?
[Samsung Galaxy S 4 Unified Development] npjohnson:
No clue man, but TWRP is probably the issue here - we only support lineage recovery.
[Samsung Galaxy S 4 Unified Development] OldAndroidUser:
Thank you for the reply. MTP still works fine it seems. Would updating twrp and flashing to a previous 18.1 version which worked before be an option?
[Samsung Galaxy S 4 Unified Development] npjohnson:
No clue.
[Samsung Galaxy S 4 Unified Development] OldAndroidUser:
Bit the bullet, wiped and flashed back to the 18.1 november edition. While flashing i wondered if it couldve been Magisk
[Samsung Galaxy S 4 Unified Development] Retrial:
I update via TWRP just fine all this time.

Update ur TWRP to the latest version and follow my dirty flash guide to fix ur bootloop.

You can find everything 🗃️S4 Unified Collection & Guides.📚
[Samsung Galaxy S 4 Unified Development] HTC_S3:
Hello to every body.

I have some little problems with this rom. In roming out of my country the phone cancel the APN setting and i can't connect to internet until i come back to my country network. I tryed to setup again the correct APN but i can't save it.

Somebody has the same problem?
[Samsung Galaxy S 4 Unified Development] g_lebleu:
Hello! First-time posting in this forum so apologies if I missed any formalities!

I'm currently on LineageOS 18.1 for my Galaxy S4 and I've been having issues with the wifi disconnecting/failing to connect randomly. It wasn't a problem when I first installed the OS, but then a few months ago, the connection started to get really spotty. Now it's a challenge just to get through a random 10min youtube video as the connection will drop in the middle, and won't automatically reconnect (so I have to manually click on the wifi network in "settings" again, turn radio off/on, etc).

Is this a known bug, and if so, are there any permanent fixes? I've listed below troubleshoots I've tried but were unsuccessful:

Device Model - Galaxy S4 SGH-I337M

LineageOS version - 18.1-20221215-NIGHTLY-jfltexx

Kernel version - 3.4.113-gf25a38e2a57

Build number - lineage_jfltexx-userdebug 11 RQ3A.211001.001 1cbb31b2ee

wifi network:

Frequency - 5 GHz

Type - wifi 5

Security - WPA/WPA2/WPA3-Personal

Transmit link speed - 263 mbps

Have tried/unsuccessful:

- restart phone/wifi router, forget wifi network, turn wifi radio on/off, airplane mode on/off, location on/off

- Setting>wifi>Network details>Auto-connect

- Setting>wifi>Network details>Network usage>detect automatically/metered/unmetered

- Developer Options>Networking>Enable wifi verbose logging & wifi scan throttling

Please let me know if any additional info would be needed to diagnose this issue. Any help would be really appreciated, thanks!
[Samsung Galaxy S 4 Unified Development] js-xda:
I believe it was addressed already in one or the other way but can´t pinpoint it straight away.

From own experience, this happens indeed and is rather something that "grows" over time (sorry for the "unqualified" description). I have seen it with multiple S4 (I believe all I9505) and both on pure WPA2 and WPA2/WPA3 mixed mode while all were mixed mode 2,4 and 5 GHz networks. For some devices (but also more busy surroundings with regards to number of networks/SSIDs) it was really problematic, for others (also in less busy surroundings) it is manageable - I am still using one. For the first, it required also manual reconnect, for the latter, it reconnects typically automatically.

I can´t link it to a specific point in time that it started as I thought at some point the device is broken and I bought another used device where it was OK in the beginning and became again troublesome after a few months.

Hope it helps ... I won´t look too much anymore into this as I am about to move with my own secondary phone(s) to Google Pixel 2 these days. But I will keep some S4s also in the family as secondary phones and can try to test fixes.
[Samsung Galaxy S 4 Unified Development] g_lebleu:
Glad to hear that mine isn't an isolated case. Yes, it does feel like the issue has been steadily growing worse as the months have gone by.

Could you let me know if you find the solution post/thread you mentioned; I can't seem to find a definitive answer searching the forum on how to fix it (unless it isn't repairable...)

Many thanks!

g_lebleu
[Samsung Galaxy S 4 Unified Development] kurtn:
One thing that you haven't tried yet? Restarting all your WiFi equipment. - and of course keep it updated.
[Samsung Galaxy S 4 Unified Development] js-xda:
Not sure whether this is the cause in my case. I observed the issues with several different devices of AVM and always updated firmware and reboots in between.

I don't think there is a solution yet. But feel free to search further and share.
[Samsung Galaxy S 4 Unified Development] g_lebleu:
Forgot to add that to my list, but it was the first thing I tried. I know it isn't the cause because other phones/PC have no issues connecting (and staying connected) via wifi
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
some thoughts regarding WIFI:

what has been working in the past doesn't mean it is working today or in the future, cause 3 (!) components are involved: your device, your router and your neighborhood's router

if I can't evade my neighbours channels:

the best channel I use is the same as the strongest one of my neighbour, cause of lesser signal distortion.

IFAIK in this setup my and the strongest neighbours station are sending alternately with a ~full~ signal versus destroying the other one, even when channels overlap.

regarding AVM router:

on 2.4 GHz: the channel 13 is usually switched OFF per default, might mean rare people use it in your area...

=> channel overlapping ?!

on 5 GHz: channel 100 sends with 1000 mW (the whole 2.4 GHz band and all other channel <100 on 5GHz send with 200 mW only, [1]). but using channel 100 could cause hickup's cause of radar detection/scanning ...

auto channel is OFF, cause side stepping each others whole the time leads to never stopping side stepping.

using fixed channels leads to side stepping too, but not here on *my* router, even when I send with 1000 mW (somewhat hardcore though)

:cowboy:

[1] at least for AVM Fritzbox 7490 and 7590

else:

I do not have any trouble with wifi here with my GT-I9505.

but my wifi use case is only: fetching the updates from LOS server, syncing with thunderbird, installing downloded apps via samba (and MiX).
[Samsung Galaxy S 4 Unified Development] g_lebleu:
Thank you! I will try to see if any of the channels are adjustable on my router.
[Samsung Galaxy S 4 Unified Development] js-xda:
This is absolutely not about saying that you are saying anything wrong (good summary and several of these points I tried) but I have observed this trend now with at least 4 Samsung Galaxy S4 I9505. At the same time not having comparable "growing" issues with other devices (on stock or custom ROM, with and without GApps, never with Magisk) in the same networks. Also, a full reset sometimes eased the issue again for a while before coming back. I have never seen such a trend with any other device. And it depends indeed on the surroundings - I am still using a S4 in my rather quiet neighbourhood with very low level of these issues and, if not knowing the heavier symptoms, I might not even have picked them up as such. It is a odd behavior.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
ping @npjohnson

thinking about buying a new phone (Pixel 7, FP4), but they a currently too expensive for me and the Pixel has a big bug:

Anyone else having issues with Google Pixel 7/PRO rear camera glass shattering without dropping - Google Pixel Community

read a Pixel 7a/8a might be in the pipe for this year too ...

as my GT-I9505 is still okay (battery too) for my use case, one question:

How long is LOS 18.1 supported for my device ?

I guess (but I'm unsure) until LOS 21 hit the scene (next year ?) ?!

couldn't fetch related info's out of the LOS blog - maybe I'm blind -

though, I realized LOS 18.1 got an additional year of support.

Thanks !
[Samsung Galaxy S 4 Unified Development] npjohnson:
Not yet sure, I'd count on an extra year.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
you mean 2024 (or 2025 too) ?
[Samsung Galaxy S 4 Unified Development] npjohnson:
24
[Samsung Galaxy S 4 Unified Development] MrTangoWhisky:
Back on the track with 9505, 9506 and 9515, I have a few issues with WiFi and BT.

Most of the time my devices stay connected and online. Everything works fine then, nothing to comply. First I thought, there might be my fault leading to WiFi-disconnection. Further investigation led me to the following behaviour on different S4-devices using LOS18.1:

- all of a sudden the WiFi disconnects

- BT follows shortly after

- devices gets warm (above 50°C)

- battery drains even when connected to charger

- WiFi is still available (can scan and analyze surrounding networks)

- BT cannot be turned on again (indicated off)

- WiFi can be restarted by turning off and on again

It is not app-related, I first stumbled across while using CCTG (corona tracing) wich uses BT. That gave me a warning. But even with only plain LOS and a wireless headset connected this issue occurs. The only way to solve is, so far, to reboot the phone.

I remember a similar problem with the FP3+ wich disabled the cellular and BT when leaving a known WiFi. I also remember a similar problem with one of my Galaxy J3 (2016) wich wasn't able to automatically switch back to WiFi disabling it (and BT also) when loosing cellular connection.

Maybe If anyone wants me to I can do tests and hacks and send logs If that helps to find a solution. Please just let me know...
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
to me it sound like a bad battery.

I would do one or all of the following:

- find out if the battery is sane

- pull out the battery and leave it off for some time

- charge it offline (without use) to 100 % and 1 h further (if the battery gets unusual hot => bad battery)

- use the battery until the device shuts off

- reflash stock and then again LOS

if you need to buy a new battery:

double check if you need one with or without NFC !
[Samsung Galaxy S 4 Unified Development] MrTangoWhisky:
It does not depend on the battery I use. I have a stock of 11 individual S4 here with 20+ batteries and the observable behaviour is always the same on LOS18/18.1...

I also tested, if screens maybe faulty but they're not.
[Samsung Galaxy S 4 Unified Development] js-xda:
This sounds to me a bit similar as some WiFi issues (nothing reported on BT) being reported in this thread over time - last a. o. here, here (myself) and here (myself, addition). Not sure whether I might have mentioned it before, but I have sometimes also issues with sudden rapid drain of the battery while I was so far not connecting it with the WiFi disconnect but cannot exclude that it was (I thought so far it was more related to notifications keeping device awake - and it got less when deactivating some notifications).

I cannot put my finger behind what is really the issue - also with the aspect of "apparently growing over time" but also being less of an issue in "quiet" areas with regards to number of competing WiFi networks.

Hope it helps. Happy to do tests as well while I will move soon away from active use of S4 and keep it only as backup.
[Samsung Galaxy S 4 Unified Development] MrTangoWhisky:
I am not using all these S4 on a daily base also, but I love and keep them alive as long as possible. Though a 9505 is my tool on WiFi pentesting and forensic research. I use Kali and Warify to burst into customer networks for security manners (not abusive!).

It happend to be much more practical to have this little limitless configirable nugget on hand with a big battery, than to carry around the 5.5kg-box with a closed source device to do exactly the same, but with external power...
[Samsung Galaxy S 4 Unified Development] g_lebleu:
A slight update regarding the wifi disconnecting issue I posted last month:

I went into my Telus modem via the admin account and switched off the 5 GHz (high & low) frequency radio, leaving only the 2.4 GHz radio on. So far, this has fixed the issue for me and the wifi no longer drops (or if it does, it reconnects immediately without me noticing it, and it definitely hasn't interrupted me in the middle of a browse or Youtube video).

I'm assuming this is some sort of compatibility issue with the newer fiber internet routers defaulting to the higher frequency.

Hope this helps someone with their S4!
[Samsung Galaxy S 4 Unified Development] MrTangoWhisky:
I definitly will try this.

At least, I am using a Fritz!Box on an ADSL-line, I have 2 Networks (one for guests 2.4 only with powersaving and the other all I can get mixed and maxed). I will lock some S4 to the 2.4 and take logfiles to share...
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
yesterday I tried to flash stock on my I9505 and I got this:

I also saw something about PIT or no PIT ...

haven't had such trouble before with flashing via ODIN !

Idea's ???

ODIN was v3.10.7 (for flashing stock) and v3.13.1 (for flashing LOS recovery [1])

[1] LOS recovery was converted as described in the LOS wiki to flash it via ODIN.

I also followed the instruction there apart from flashing recovery via ODIN, cause the only way out was to flash the LOS recovery via heimdall

P.S.

before flashing:

the phone was on lineage-18.1-20230115-recovery-jfltexx and lineage-18.1-20230115-nightly-jfltexx but with GApps, I attempt to get rid off (GApps !) and took the chance to clean flash all again (last stock, then LOS)
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
answering myself and for the record:

flashing stock with ODIN 3.14.4 using an USB2 Port fixed it !
[Samsung Galaxy S 4 Unified Development] przemekSiemens:
How to make this on walpaper like in lineage 16.

In 18 no this option only see how long minute to end charging
[Samsung Galaxy S 4 Unified Development] piero-e:
Hi, Thank you to maintain those devices across the years.

I use a s4active (jactivelte) running /e/OS a fork of official lineageOS and I can't find a way to enable the navigation bar in

-->system -->buttons

(useful for "scrcpy" display and control the phone from the PC)
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
does someone know *why* the new introduced "boot.img" was created ?

LineageOS Downloads

download.lineageos.org
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
don't know !

but you might take a look here to remote controlling/admin a device:

Remote Desktop Software for Android – AnyDesk

Download AnyDesk for Android for free and access, control and administrate all your devices when working remotely.

anydesk.com
[Samsung Galaxy S 4 Unified Development] kurtn:
Maybe a service for people who prefer installing magisk by batching boot image?
[Samsung Galaxy S 4 Unified Development] kurtn:
Yes. /e/ removed that option half way. When you search for "navigation" you still find results. But those are dead links.

Maybe lineage.microg.org is an option for you?
[Samsung Galaxy S 4 Unified Development] npjohnson:
s4 active has hardware buttons (not capacitive) so lineage doesn't allow enabling onscreen navbar, sorry.

If it isn't mentioned in the wiki, don't worry about it, it is for power users and debugging.

Not directly, but definitely convientent.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
well, I am that "power user"

anyone here not ? ;)
[Samsung Galaxy S 4 Unified Development] npjohnson:
you'd be amazed how many people flash lineage and don't even know what a boot image is ;)
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
come on !

the smarter one's ask before, didn't they ? :)
[Samsung Galaxy S 4 Unified Development] kurtn:
Smart people read wiki. All others watch YouTube
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
smarter smart people hear music on YT while reading wiki's in another browser Tab ! ;)
[Samsung Galaxy S 4 Unified Development] Henrik Jansson:
Does it runs faster without GApps?

How do you install other apps then, without google play store?
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
for playstore apps *without* GApps with playstore on the phone:

APK Downloader

APK Downloader 4.24.0

raccoon.onyxbits.de

other apps:

F-Droid - Free and Open Source Android App Repository

F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.

f-droid.org
[Samsung Galaxy S 4 Unified Development] piero-e:
installing apps and keep them uptodate is not a problem, thanks to "aurorastore" from F-droid

running banks apps or some junk apps

(gogol services required) is a bit more triky, thanks to "magisk" (+shamiko+safetynet-fix)
[Samsung Galaxy S 4 Unified Development] Henrik Jansson:
ok. But is there any reason not to install GApps? Will my phone be faster without GApps?
[Samsung Galaxy S 4 Unified Development] kurtn:
Is there a reason to install lineageOS with GApps? You end up at nearly the same privacy nightmare as with stock ROM.

Yes, you have some battery and performance improvement without GApps. But is that worth the usability degradation? If you are not interested in privacy, stay within Google eco system.
[Samsung Galaxy S 4 Unified Development] vip5912:
As I understand it, you will lose push notifications in this case.
[Samsung Galaxy S 4 Unified Development] kurtn:
Yes and no and 100 other things. And 20 if them can be replaced with microG.
[Samsung Galaxy S 4 Unified Development] vip5912:
I always thought that microG is one of the GApps, like OpenGApps or MindTheGapps.
[Samsung Galaxy S 4 Unified Development] kurtn:
MicroG is definitely not GApps. Many confuse it with opengapps micro
[Samsung Galaxy S 4 Unified Development] przemekSiemens:
On April 15, exactly at midnight, Vanced stopped working for me. "Short" videos work. I logged into another account and it works. It just doesn't work on my account. A friend found a newer version of microG "ReVanced Microg 0.2.27.230755" and my account started working. Yesterday my account started not working again exactly at midnight, when I log out it works Vanced. What else can I do.

I have GT-I9505
[Samsung Galaxy S 4 Unified Development] vip5912:
+1

extract zip is also fail
[Samsung Galaxy S 4 Unified Development] bersem:
its placed in /data/lineageos_updates. folder exist. checked right now.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
thanks for clarification, but I do not have a folder "lineageos_updates"

investigated with MixExplorer, also during (!) download.

no such folder, but download completes without error's and verify is also okay ...

me is confused (that's I'm anyway and always, but today somewhat more :geek: )
[Samsung Galaxy S 4 Unified Development] bersem:
it has maybe something to do with the first release or the nightly from today is corrupt.

Did u made a clean flash and not rooted ? i made a dirty from official 17.1 and rooted with magisk.

Also downloaded the nightly and recovery from today. Tried to flash ( apply from update in los recovery ). It flashed the nightly and then "installing system update" appears. It loaded over 30min. So had to shutdown my phone.

Flashed back the first release through TWRP.

Regards !
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
clean flash (see first page in this thread)

LOS recovery

no root (but it seem's I can access everything with MiX)

no magisk

I was just on the step to try installing via recovery (I was waiting for an sufficing battery charge), but I guess leave that off...

Thanks for finding that out !

Regards

P.S.

there is a (Seedvault) backup under System (see Settings), I guess I'll test it the next days....

- EDIT -

did it:

it seems only apps are backuped and their settings/data.

I guess nothing to restore under recovery to bring a broken phone back to life ...

ping @npjohnson, are you here ?
[Samsung Galaxy S 4 Unified Development] vip5912:
I tried Seedvault backup. Unfortunately it backup a little apps (only with allowBackup = yes).
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
yup, tested it too (see "EDIT" in comment #45)

after reading this:

SeedVault - Calyx Institute

Seedvault Backup is an open-source data backup application for Android.

calyxinstitute.org

it seem's it's more for encrypted "user data" backup/restore, like mails, sms, and such (if I get it right).
[Samsung Galaxy S 4 Unified Development] vip5912:
It's useless backup for me because 70% my apps are not backuped.

As my opinion: NANDROID (in TWRP) is for full backup and Migrate (only for rooted phone) is for all apps, sms, call log.
[Samsung Galaxy S 4 Unified Development] vip5912:
https://gitlab.com/LineageOS/issues/android/-/issues/3290
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
First off 18.1 is running solid as a rock on my jfltespr. Like the others have said the updater script needs a little tweaking, . On this device it downloads and verifys the file and gives an install button. Press install and the box pops open with the standard info warning you of the upgrade, When you click ok nothing happens whatsoever . No Error message appears either .The device is smooth as silk and very very stable for the first official build. Fortunately not having any of the other issues the other variants are reporting.

In the meantime go into TWRP if you use that / mount system / go to advanced / file manager / navigate to Lineage Updates folder under data and move the Lineage 18 zip file to internal storage to a folder of your choice. Give it a minute or two because you won't see any progress bar activity but it will complete . Back out of file manager , un-mount system , then go flash the new build manually. For all we know this issue might even be fixed in this new build .Worked for me and now running the new update.
[Samsung Galaxy S 4 Unified Development] vip5912:
Update to lineage-18.1-20210408-nightly-jfltexx-signed.zip by TWRP (Install).

At first glance, everything works fine.
[Samsung Galaxy S 4 Unified Development] joam280:
without it is downloaded manually and installed by recovery, it works fine