yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
dito here:

installed TWRP and did the update.

all seems fine, apart from that I always get a notification from the Download manger each boot
[Samsung Galaxy S 4 Unified Development] joam280:
What version of twrp do I install, I have 3.5
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
the last one (twrp-3.5.2_9-0).

for an I9505:

Download TWRP for jflte

Download TWRP Open Recovery for jflte

eu.dl.twrp.me

Hint:

I had LOS recovery on the phone before and installed TWRP via heimdall on an linux box with:

sudo heimdall flash --RECOVERY twrp-*-jflte*.img --no-reboot --verbose

- being in the directory where I download TWRP -

Be ware:

check your Preferences in the updater setting where it says "Update recovery" (right top corner in updater => three points; Hambuger Menue (?)) after switching to TWRP.

I currently don't know it is default ON, but if so you might switch that OFF.

I also currently don't know when it's ON if it overwrites TWRP per design or if it only updates LOS recovery when LOS recovery is installed/active.

But better save then sorry ...
[Samsung Galaxy S 4 Unified Development] kurtn:
Yes. Update recovery overwrites any recovery partition content with lineageOS recovery.
[Samsung Galaxy S 4 Unified Development] npjohnson:
I'm aware of the issue and working on it.
[Samsung Galaxy S 4 Unified Development] vip5912:
Great work devs!!! Thank you!

No one reboot (horizontal strip, freeze) for a week.

All work is fine.

Only one small bag with OTA (I can use TWRP for updating).

Now I'm on 2021-04-08.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
thanks for response and support
[Samsung Galaxy S 4 Unified Development] Savatage76:
today, for the first time in a week, i I had the black screen with horizontal stripes without reboot. stripes remain on the screen increasing brightness from low To maximum.
[Samsung Galaxy S 4 Unified Development] Savatage76:
newpipe? remove also microg...doesn't need it
[Samsung Galaxy S 4 Unified Development] piero-e:
Have you try using "Newpipe" from "F-droid"
[Samsung Galaxy S 4 Unified Development] Retrial:
This is not a device issue. Check my xda thread for ReVanced:

https://xdaforums.com/t/app-8-0-guides-revanced-revanced-extended.4523967/
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
yesterday my S4 with lastest LOS rebooted lying idle (no Wifi, BT, mobile data) on the table

Anyone ?
[Samsung Galaxy S 4 Unified Development] js-xda:
I have seen this behavior with multiple S4s over the time - should be also documented with more details in this thread somewhere (my guess "random reboot" as search term).
[Samsung Galaxy S 4 Unified Development] HTC_S3:
Hello, i'm using this rom from a lot of mounths as daily phone, but i have every time problem with the internal memory that is quite full. I have all the apps, documents, photo saved in external memory. How can i solve this?
[Samsung Galaxy S 4 Unified Development] ze7zez:
Reboot the ROM from time to time, clean the cache in TWRP and clear the cache of the most frequently used applications, mainly those using the Internet.
[Samsung Galaxy S 4 Unified Development] pocketrule:
use a storage analysis tool like DiskUsage to check which apps / media files use space and delete the ones you don't need.

Edit: Don't try to enhance your internal storage by formatting an external sd card as adoptable storage. This feature is broken / has never worked reliably!
[Samsung Galaxy S 4 Unified Development] HTC_S3:
I used a file analyser and i have less than 500 MB of files in the internal storage, the rest of space (8,5GB) is system ocupated space :(
[Samsung Galaxy S 4 Unified Development] pocketrule:
Let me guess, you didn't use DiskUsage 😉️ I encourage you to install this app, too. Obviously this one is better than your app. No worry, that won't eat up much space, less than 1 MB (!) is used for it.

Most of the space occupied should be NOT classified as "System data" which you can not check as the access is restricted. In general, most of the space is occupied with "Apps". The app shows the amount of data, cache (and apk) used by each app. Then you can check, if you can free space by clearing the cache of apps (which, of course will only have a temporary effect...) or deleting an app which uses a lot of space and which you can do without.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I have 9.43 used of 16 GB on internal storage here.

the device has around ~25 apps installed.

the biggest are Sennheiser-Smartctl (Apps before install is ~300 MB) and Mapfactor Navigator with 1.1 GB of maps (complete Germany maps) on internal storage.

NO Gapps here

my bets what could occupy so much space [1] would be

- the folder "DCIM" where camera shots are located

or

- mails with large attachements

or

- some large and hidden tmp folders somewhere

[1]

if you don't have hundreds of apps or some very very big ones installed

cit.: "How can i solve this?"

if can't find out what's eating up your storage I would do a clean install beginning from last stock.

slightly remembering some years ago there had been some trouble with partiton size during LOS or additonal Gapps installs...

- but I'm old, though ! -

btw.:

a short run of DiskUsage from F-Droid (cause no gapps) here only shows the external SDCard ...

is it just me ?
[Samsung Galaxy S 4 Unified Development] pocketrule:
Unfortunately, these values are the sums of the single partitions. The data partition has an approximate size of only 9 GB. The other partitions can't be used. For example, the cache partition blocks almost 2 GB...

Yes, that MAY be true. But in most cases, if you have a "normal" use, most of the available space (9 GB) is occupied by (user) apps (and their corresponding data / cache).

Most likely that was a problem regarding limited space in the system partition depending on the size of the gapps package (as the gapps are installed in system partition).

I haven't tested it with the s4, but with another device running LineageOS 20 (!) and it works flawlessly. Don't you have "Storage card" when starting - meaning: internal storage
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
might be I was confused from the naming "card"
[Samsung Galaxy S 4 Unified Development] HTC_S3:
i installed it, it's working well. I deleted some apps, some cache of browsers and other apps and now i have 1GB free. It's better then befor. Thank you for the help.
[Samsung Galaxy S 4 Unified Development] himseslf:
Hi

I've a nice, working S4 in Australia. Here, we still have 3G SIM service that comes with our 4G LTE. However, in a few months, we'll be copying the USA and all providers will drop that 3G.

Can anyone tell me if my I59056 Samsung S4 phone will still be able to make "normal" phone calls (and answers) once the 3G service goes away? Would this latest and greatest 18.1 have any upgrades (if necessary) for that service to work? Would be sad to let this amazing phone go, but if necessary...

Thanks very much for your replies and help!!
[Samsung Galaxy S 4 Unified Development] kurtn:
2G was dropped years ago in Australia? You have been able to do classic phone calls in 3G network?

In a 4G/5G only environment you will have no chance. Except installing Samsung original firmware.
[Samsung Galaxy S 4 Unified Development] himseslf:
Thanks for your reply!

I'm more than curious to see if there are any users of S4's still in the US. They killed off 3G in 2022, so any phone that (I guess) can't do VoLTE must not be able to work with their SIM's there.

-That's what I've read in the news; is this what happened? (the original S4 OS is too old for anything, unfortunately).
[Samsung Galaxy S 4 Unified Development] kurtn:
3G has been killed in Germany. My LTE Samsung phones get telephony via 2G and data via 4G.
[Samsung Galaxy S 4 Unified Development] droi1:
Have anybody else SIM-Card Problems since lineage-18.1-20230415-nightly-jfltexx? Shows no SIM Found after reboot it works again, happens every Day.
[Samsung Galaxy S 4 Unified Development] npjohnson:
sounds like it might be a hardware issue cause this is almost 10 years old :/
[Samsung Galaxy S 4 Unified Development] piero-e:
Yes i had 2 Years ago,

It is easy to change parts on s4 séries, that's why I like it, only Fairphone can be better device because more recent.

just buy a used s4 for 10€, with a broken screen for example, and see "sossav" website for guidance
[Samsung Galaxy S 4 Unified Development] gatarax:
Hello,do you advise me to install the official or unofficial rom?
[Samsung Galaxy S 4 Unified Development] ze7zez:
I endorse!
[Samsung Galaxy S 4 Unified Development] pocketrule:
If you want to have a stable rom and / or regular (security) updates you should install the official rom. OptLOS is kinda beta build.
[Samsung Galaxy S 4 Unified Development] piero-e:
Excuse me but the sentence is totally contresence, the device was officially abandoned running android 6 in August 2017 and don't received any security updates from Samsung

Every month, LOS port security updates
[Samsung Galaxy S 4 Unified Development] kurtn:
Did you misunerstand on purpose? When we talk about official ROM, we mean the one from lineageOS.org . we call the abandoned android 6 from Samsung "stock ROM"
[Samsung Galaxy S 4 Unified Development] gatarax:
Hi,thank you for your answer, i will install the official one then :)

do you recommend MindTheGapps or other gapps? I used to install the pico before and suited me well.

otherwise, what version of twrp do you need to have installed?
[Samsung Galaxy S 4 Unified Development] pocketrule:
The (only) supported combination for the official rom is Lineage OS recovery and MindTheGapps (as mentioned in OP). I'm using BitGApps (much smaller, no annoying google setup) and TWRP 3.6.1_9-0 without problems.
[Samsung Galaxy S 4 Unified Development] gatarax:
Thank you for your answer, can i use twrp 3.6.1_9-0 like you then?
[Samsung Galaxy S 4 Unified Development] pocketrule:
Yes, I'm sure it will work 👍
[Samsung Galaxy S 4 Unified Development] himseslf:
Darn, but here in Australia, we will also kill 2G...

Seems unlikely my really impressive S4 will continue to work as a PHONE pretty soon, -unless others have found otherwise in their countries which have already dropped 2G and 3G

-Anybody else? -Thanks for your help and feedback!!
[Samsung Galaxy S 4 Unified Development] gatarax:
is it this one? https://androidfilehost.com/?fid=14655340768118444137
[Samsung Galaxy S 4 Unified Development] npjohnson:
please don't discuss random recoveries here - we don't support them.
[Samsung Galaxy S 4 Unified Development] gatarax:
ok,i'm sorry, where can i discuss the recovery that you support please?
[Samsung Galaxy S 4 Unified Development] kurtn:
LineageOS supports lineage recovery. Follow the installation guide linked from lineageOS download site.
[Samsung Galaxy S 4 Unified Development] droi1:
Hi thx, i will try first to get new SIM Card from my Provider.

°update: I have new SIM Card everything works now (y)
[Samsung Galaxy S 4 Unified Development] gatarax:
hello,i flashed the rom + the MindTheGapps. Everything went well the rom is very good,thank you all :)
[Samsung Galaxy S 4 Unified Development] kitros3942:
Hi,

I have a Galaxy S4 GT-I9505 phone.

I installed official LineageOS 18.1 onto it last year and updated it to the latest version a couple days ago.

My problem is that I've never been able to make S-View functionality work since I flashed LineageOS.

(Before installing LineageOS last year, the phone was on its stock firmware, in which the flip case's S-View functionality worked as expected)

Specifically, the clock face does not show up in the rectangular area of the flip case upon closing its lid.

(I believe I set up this feature correctly in the Settings app)

On the other hand, the clock face does show up when I connect the phone to or disconnect it from the charger.

The clock face also shows up intermittently when the flip case is closed. I suspect it reacts to notifications but am not entirely sure.

There is also some other buggy behavior with regards to this: sometimes when I *open* the flip case (as opposed to when I close it) of the phone whose LED screen is turned off, the clock face turns up very shortly in the rectangular area of S-View, with the rest of the LED screen being black. Then the phone wakes up and the home screen is shown as usual. I can't reproduce this particular behavior at will.

I also have another Galaxy S4 whose model is SPH-L720 and I also flashed LineageOS 18.1 onto this one last year and the S-View functionality never worked either.

I filed a bug report via the official channel at some point (https://gitlab.com/LineageOS/issues/android/-/issues/4307) but it got silently ignored.

Any help to solve this issue will be appreciated.

Thanks.
[Samsung Galaxy S 4 Unified Development] npjohnson:
I think it should just work? So, weird question, do you have any other magnets attached to your phone? Maybe for a mounting mechanism or something?
[Samsung Galaxy S 4 Unified Development] kitros3942:
No, I don't think I have any other magnets attached.

I'm just using an authentic S-View phone case from Samsung.

While the clock face doesn't show up when I close the lid of the flip case,

In the Settings app:

Apps & notifications -> Notifications -> Notification history

shows:

Recently dismissed -> FlipFlap: Smart cover detected

and this latter has the correct timestamp matching the time when I closed the lid.

I can also hear a phone ring upon closing the lid when sound is turned on.

For the record, I have another phone with LineageOS 18.1 installed, namely LG G3, which also makes use of FlipFlap for almost similar functionality: the circle area of its flip case should show a clock face upon closing its lid.

Here too, this used to work properly with stock firmware, but not anymore once LineageOS was installed.

Regarding this, the maintainer of LineageOS for LG G3 model kindly answered to my inquiry yesterday: he said he in person is using an authentic quick circle case for LG G3 phone and confirmed that it is working very well.

So now I suspect some OS settings I make out of habit is preventing FlipFlap from functioning correctly, but I have trouble narrowing it down.
[Samsung Galaxy S 4 Unified Development] npjohnson:
If you go to connected devices, Smart cover, what does it show you?
[Samsung Galaxy S 4 Unified Development] kitros3942:
In the Settings app, this is the screenshot of Connected devices -> Connection preferences -> Smart cover.
[Samsung Galaxy S 4 Unified Development] kitros3942:
This will probably not be of much help, but I tried to make this feature work properly by fiddling with various settings.

Then I noticed that when I turn on USB debugging and run adb shell from my PC wirelessly, there is a high chance that the clock face will show up upon my closing the lid of the flip case, only it will show up for some seconds, then disappear, then show up and disappear again endlessly until I re-open the lid. Once this behavior was triggered, I couldn't find a way to suppress it (either make the clock face not show up altogether or make it show up only for once) by tampering with settings save turning off the USB debugging.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I've a Spigen Slim Amor here

S-View functionality is working: shows the clock,date when the Home button is pressed.

even with "smart cover" off I see the Status bar line (provider, signal strength, charge), but no clock, date

I'm on lineage-18.1-20230515-nightly
[Samsung Galaxy S 4 Unified Development] kitros3942:
Thanks for your feedback.

I'll wipe my phone, re-install LineageOS and see how things go over the weekend.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
hint:

my slim amor doesn't have a magnetic closure.

what seems to be for the Samsung's be the case

- me is unsure -
[Samsung Galaxy S 4 Unified Development] kitros3942:
Hi,

I wiped my Galaxy S4 and re-flashed LineageOS.

Sorry, it took a lot longer than expected, as I had lots of data to back up.

This is how I've proceeded:

- I downloaded the latest official rom file (i.e. lineage-18.1-20230515-nightly-jfltexx-signed.zip) onto the external sdcard of my S4

- turned off the phone and took out the microSD card.

- booted to LineageOS recovery (Home + Volume UP + Power)

- Factory Reset -> Format data / factory reset

- turned off the phone via menu entry from recovery

- re-inserted my external sdcard

- re-booted to LineageOS recovery (Home + Volume Up + Power)

- 'Apply Update -> Apply from Android', then navigated to the file 'lineage-18.1-20230515-nightly-jfltexx-signed.zip' on the external sdcard and flashed it.

- 'Reboot system now'

Then the phone seems to work fine, but unfortunately the functionality still doesn't work.

Settings such as sounds and notifications naturally seem to have been reset, but closing the lid of the flip case just turns off the screen, it does not display the clock-face.

Maybe I'm missing some very simple setting which should have been set up upon booting the freshly installed OS?

Also, what I don't understand is that Google PlayStore is installed by default, despite the fact that I wiped my phone and did not side-load Google Apps.

So I suspect the above procedure does not completely erase the previous installation, and I hope someone will point me in the right direction with regards to doing this properly.

On a related note,:

- At some point in the past I unsuccessfully tampered with Google Apps entry within '/addon.d/' to fix PlayStore which kept crashing, which made LineageOS unable to boot. Upon applying mindgapps addon from LineageOS recovery, LineageOS booted again, PlayStore was not fixed, though.

- Around that time, I also tampered with '/system/build.prop' to deal with an app which refused to run on non-stock firmware. As I could not make this work, I reverted the built.prop file to its original version, but I'm not entirely sure about this.

I wonder if my messing with the above system files influenced the OS not to be properly wiped.
[Samsung Galaxy S 4 Unified Development] kurtn:
The flip case thingy can be set up under unser settings - connected devices

To remove GApps you have to additionally wipe system partition before flashing.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
maybe a sensor, etc. problem ?

- there should be something that signals the phone/OS the case is closed/open -

Have you tried to check the case functionality on stock ?
[Samsung Galaxy S 4 Unified Development] kitros3942:
I fiddled with the settings you referred to, but can't seem to make it work.

And thanks for the GApps tip, I'll re-flash the OS later today.

On stock firmware, the clock-face used to worked flawlessly with the flip case. Also the flip case is incidentally an authentic S-View case from Samsung, as far as I can tell. So I have trouble understanding why this is not working.

edit: to elaborate, the flip case *is* functional, as the screen turns off when I close the lid, and turns on upon re-opening it. My problem is that the clock-face will not show up properly, no matter what I do.
[Samsung Galaxy S 4 Unified Development] RoboRebel:
Hi everyone,

I have installed UNOFFICIAL version (with GApps), it works great, but when I update stock Chrome that built into the firmware (83.0.4103.106) to the latest version from Play Store (114.0.5735.61), it stops rendering pages, and shows blank page upon loading (though with clickable invisible links, if you manage to hit one).

There was the same effect when I installed OFFICIAL version, adding GApps from MindTheGapps-11.0.0-arm-20220217_095902.zip.

Does anyone know a solution to this problem?

The version I installed is from the 1st thread message: https://updater.oddsolutions.us/#/devices/jfltexx/builds , I tried lineage-18.1-20230506-UNOFFICIAL-jfltexx.zip and also the latest 20230612.

Thank you!
[Samsung Galaxy S 4 Unified Development] RoboRebel:
Update: tried open_gapps-arm-11.0-nano-20220215.zip (which contains no Chrome) with OFFICIAL ROM lineage-18.1-20230515-nightly-jfltexx-signed.zip (no Chrome either), installed latest Chrome 114.0.5735.131 from Play Store, and the same problem with blank pages persist. At first I thought preinstalled Chrome from MindTheGapps somehow interferes with the one I install from Play Store, but obviously this is not the case. It looks like the latest Chrome from Play Store just doesn't work on latest LineageOS 18.1 builds for jfltexx. Can anyone confirm this? Any other ideas I can try?
[Samsung Galaxy S 4 Unified Development] kurtn:
Try other browsers.
[Samsung Galaxy S 4 Unified Development] pocketrule:
For me, DuckDuckGo is the fastest one I could find
[Samsung Galaxy S 4 Unified Development] RoboRebel:
Thanks for the suggestions!

It looks that you were right -- it's Google's fault after all: Chrome beta 115.0.5790.32 seems to work just fine. Hope it will be fixed in the next stable Chrome release.
[Samsung Galaxy S 4 Unified Development] orse04:
Hello, if incoming call auto answer doesn't work.
[Samsung Galaxy S 4 Unified Development] Retrial:
Hi npjohnson, I just noticed you provide unofficial builds for S4. Beside the GApps build-in, what Pixel goodies includes and is there any other difference vs official builds?

Thanks!
[Samsung Galaxy S 4 Unified Development] npjohnson:
Really just pixel specific apps
[Samsung Galaxy S 4 Unified Development] mentat:
Big Thanks to npjohnson for supporting our Galaxy S4 devices.

I just updated my old SGH-I337M using twrp-3.6.1_9-0-jflte with

lineage-18.1-20230815-nightly-jfltexx-signed + MindTheGapps-11.0.0-arm-20220217_095902

Performance is far better than expected (for this ancient device).

Thanks, Again.
[Samsung Galaxy S 4 Unified Development] orangepowerpokes:
Wow I stumbled on my old S4 and was curious what traffic on xda. Years ago, I wanted to flash the older s4 but got stuck somewhere. The lockpad on the boot screen shows unlocked... I wonder if I dig in to see what ATT variant I have maybe I can flash LOS (?) :)
[Samsung Galaxy S 4 Unified Development] npjohnson:
The unlocked logo does not mean unlocked, it means you rooted or modified system on this device.

ATT variants are not unlockable unless they are on the day one shipped firmware.
[Samsung Galaxy S 4 Unified Development] orangepowerpokes:
Well that makes sense. I do recall giving up on the endless pursuit of unlocking that s4.
[Samsung Galaxy S 4 Unified Development] npjohnson:
Hey all, I am moving and therefore the unofficial update server/wiki will be down for a few days. Likely Wednesday, Friday at the worst.

Don’t panic when links in the OP don’t work, and your Updater app says something like “Can’t connect to server”. It is planned outage.

Thanks, see you on the other side!
[Samsung Galaxy S 4 Unified Development] npjohnson:
Hey y'all - Unofficial build server/download portal is back up.

It may be hit and miss tomorrow as I rewire everything, but everything /should/ be functional for now.

Thanks!
[Samsung Galaxy S 4 Unified Development] DisneySWkiller:
Hi all !! I'm getting back after a long long time into the s4 custom roms and i wanted to know how long this rom (lineageos 18.1) will be supported ? ( I would like to make it my daily driver on the s4 i bring back to life but didn't want to set all up (banking apps , differents important files , calendar ,etc...) for seeing the rom discontinued and have to find another rom to re-set all data and things ... Thank you anyway for the help and for keeping our beloved s4 alive !! Phablets are boring.... ;)
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I guess a partly answer is here:

Changelog 27 - Thriving Thirteen, Amazing Aperture, Careful Commonization

X_X

lineageos.org

=> "Deprecations"

​

My view (me is unsure):

LOS 18.1 might be dead, when LOS 21 hit the scene ...
[Samsung Galaxy S 4 Unified Development] DisneySWkiller:
Thank you for your quick reply , english isn't my first language but for what i've get , lineageos 18.1 will not be killed but kind of freezin state ? But if the pattern is correct everytime a new lineageos version rise out the older one is killed so lineageos 18.1 will stand for another year and after that will be stopped no?