yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] kurtn:
Any typo in your post? It reads like "x is your problem, try x"
[Samsung Galaxy S 4 Unified Development] pocketrule:
I don't think so. IIRC in this case, it's data which should be formatted separately (which it's normally not done during a normal flash)
[Samsung Galaxy S 4 Unified Development] npjohnson:
Yeah, typo, look again. Fixed.
[Samsung Galaxy S 4 Unified Development] minoo14534:
Thank you for the Infos i wel try to format whit the lineage recovery.. An report for you thanks
[Samsung Galaxy S 4 Unified Development] minoo14534:
I reinstalled Lineage 18.1. after the installation I have the button Update Lineage recovery automatically.

And see the internal memory is back.

Ps. Although I activated this button, I still get into TWRP state Lineage recovery.

Thank you for your tip, it helped
[Samsung Galaxy S 4 Unified Development] vip5912:
I have small bug in OTA update.

After OTA update in recovery the phone reboots to ROM, shows "System update" then reboots again.

But this is not real phone reboot but UI reboot only (no PIN request).

Then the phone shows "System update" again endlessly.

I need press power button and select reboot to ROM.

OTA setting: update recovery, delete ROM after update.
[Samsung Galaxy S 4 Unified Development] npjohnson:
Yeah you need to use Lineage Recovery for initial install for that toggle to work. TWRP overrides it.

What other mods do you have? Xposed or magisk?
[Samsung Galaxy S 4 Unified Development] vip5912:
No. Only Official LineageOS 18.1 (Recovery & ROM), MindTheGapps, unrooted.
[Samsung Galaxy S 4 Unified Development] npjohnson:
I'd format and try again, something went wrong.
[Samsung Galaxy S 4 Unified Development] vip5912:
OK. I have the plans for this (clean install) in NY holiday :)
[Samsung Galaxy S 4 Unified Development] therob2:
While checking why my internal 12GB storage runs full on my GT-I9515 I noticed in settings -> storage, that 7GB are used by "system" (and +5,5GB for "other apps", thats realistic due to podcasts). Are these 7GB normal for LOS18.1 (20211009, will also try to update today to latest)?

How I can spot exactly what files this are (it is not rooted)? App diskusage cant give details for this part without root.
[Samsung Galaxy S 4 Unified Development] kurtn:
System is only 3.0 GB in my 18.1 installation without GApps. I recommend DiskUsage app and AntennaPod.
[Samsung Galaxy S 4 Unified Development] therob2:
3GB, I expected that.

As I worte: DiskUsage can't access to the 7GB-system-folder without root, and I do already use AntennaPod, but evem if I choose in the app-setting to store data on external SD-card, it just doesn't do it and AntennaPod-data rests on internal (maybe due to limitations of Android 11?).

How I could proceed to check what is wrong, maybe with help of an Linux/ADB-Notebook?

edit: Update to LOS-18.1-202111287 inkl. wiping cache/dalvik made no difference.
[Samsung Galaxy S 4 Unified Development] pocketrule:
you can activate adb mode, connect it to a computer and enter

adb devices

adb shell

df -h

the output should look similar to mine:

Filesystem Size Used Avail Use% Mounted on
tmpfs 911M 776K 911M 1% /dev
tmpfs 911M 0 911M 0% /mnt
tmpfs 911M 0 911M 0% /apex
/dev/block/mmcblk0p16 2.6G 1.1G 1.5G 42% /
tmpfs 911M 3.3M 908M 1% /sbin
/dev/block/mmcblk0p18 1.9G 36M 1.9G 2% /cache
/dev/block/mmcblk0p1 86M 12M 74M 14% /firmware
/dev/block/mmcblk0p2 86M 50M 36M 59% /firmware-mdm
/dev/block/dm-0 9.1G 5.9G 3.1G 66% /data
tmpfs 911M 0 911M 0% /system/app
tmpfs 911M 0 911M 0% /system/etc/permissions
tmpfs 911M 0 911M 0% /system/priv-app
tmpfs 911M 0 911M 0% /system/xbin
/data/media 9.1G 5.9G 3.1G 66% /storage/emulated
/mnt/media_rw/243F-D851 60G 16G 43G 28% /storage/243F-D851

the big partitions are:

/data 9 gig total

/cache -> 2 gig free space, not usable

/ (/system) -> 2.6 gig total / 1.5 gig free space, not usable (depending on the gapps package)

you'll see:

1) /data is /storage/emulated is the usable space is only 9 gig out of 16.

2) the storage info in android settings is crap. It shows 16 gig total, but 7 out of them are out of reach for the user. And what is shown as system space could be located on different partitions (I ASSUME root/system and /data and maybe other)

3) if you have to free space, you should check, if you have big folders which you don't need anymore in /data. For example, I've found one big backup folder from the migrate app in a temporary folder which should have been deleted by the app after using it. Apparently, this deletion didn't work as it should. You would have to do this by using adb shell again or by using e.g. disk usage scanning /data (only on a rooted device).

It's a shame, that on our device, so much space is wasted for nothing, we could have about 3 gig more space if the partitions were better sized. Unfortunately, repartition is (almost) impossible...
[Samsung Galaxy S 4 Unified Development] therob2:
thanks for this. I got the following result - I would say quite similar to yours, or do you see something strange?

Filesystem Size Used Avail Use% Mounted on
tmpfs 909M 1.0M 908M 1% /dev
tmpfs 909M 0 909M 0% /mnt
/dev/block/mmcblk0p16 2.6G 1.0G 1.5G 40% /
tmpfs 909M 0 909M 0% /apex
/dev/block/mmcblk0p18 1.9G 36M 1.9G 2% /cache
/dev/block/mmcblk0p1 86M 12M 74M 14% /firmware
/dev/block/mmcblk0p2 86M 50M 36M 59% /firmware-mdm
/dev/block/mmcblk0p29 9.1G 4.4G 4.6G 49% /data
/dev/fuse 9.1G 4.4G 4.6G 49% /storage/emulated
/dev/fuse 30G 21G 8.3G 72% /storage/3466-3762

Android itself reports: 5.05G free, 10.95 of 16 G used (68%), and maybe the "crap" thing: system with 7.0G used (can't find this above - or which parts should sum up to 7G?). DiskUsage reports "system data" as 3.3G now as one (locked) part of my 9.1G (internal) storage card, and 4.7G free space. Does this make sense?

What is not yet solved for me is to have a look into the files/folders of the "System data" part which DiskUsage can't access. With trial and error I think at least /Android/data is part of this (as their file sizes in KB seems just symlinks), which I have interestingely access with my SimpleFileExplorer (and thus both LOS-Updater-Images are counted here as well as AntennaPod-Podcasts). Is there a special shell command to check this part in detail without root?
[Samsung Galaxy S 4 Unified Development] pocketrule:
No, you've got the same problem as we all - misaligned partition sizes...

Of course, it doesn't. Obviously, what is shown as 'system' is calculated from several partitions 🙄️

And there are system files in /data (i.e. internal storage) to which you don't have access without root.

Yes but only in adb mode. You'll have to use linux shell commands (which has to be present on your device). You should know how to use cd and ls command. With du you can calculate folder sizes. I've found a great tutorial here: How to Get the Size of a Directory in Linux
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

Would you be so kind, as to reactivate the "Terminal" app in the developer options. Your argument for the deactivation was "SELinux blocked most of it's functionality behind neverallows." However, if you, like me and many other users, have root access via "Magisk", the "Terminal" app is very useful. I therefore still have the updates from mid-October on my "GT-I9505" and "GT-I9515", where the option for the "Terminal" app is still activated. I could of course also install another "Terminal" app from the Play Store.

Thanks in advance

Axel

For other users with or without root access:

I had tried in vain to get the "LADB" app (Local ADB Shell) from "tytydraco" to work on the S4. This app supports "Wireless Debugging", which can be activated in the developer options since Android 11. When starting the app for the first time, a "pairing code" must be entered from the phone setting option "pair device with pairing code". To do this, the ADB command "pair" must be present in the integrated ADB binary. However, this is only the case with the 64-bit version compiled by "Surge1223". Therefore you cannot use the "LADB" app on the S4 with a 32-bit ADB binary (missing command "pair").

So I installed the Magisk module "ADB & Fastboot Installer 1.0.41 for Android NDK" from "osmOsis", which inserts the same 32-bit or 64-bit version of the ADB binary from "Surge1223" into the Android system.

Activation of "Wireless Debugging" with root access and installed ADB on the S4 itself:

If you now enter the following ADB commands via the "Terminal" app, "Wireless Debugging" remains activated until the next restart and you can connect to the S4's own (Local ADB Shell) or to other IP addresses via WiFi without having to enter a "pairing code" and to use a computer. For example, you can now use the "Remote ADB Shell" app for the S4 itself until the next restart by entering the IP address of the S4 and port 5555 to connect.

su (for root access)

setprop service.adb.tcp.port 5555

stop adbd

start adbd

adb connect x.x.x.x:5555 (x.x.x.x = IP address of the S4)

Activation of "Wireless Debugging" without root access via ADB installed on a computer:

adb tcpip 5555

adb connect x.x.x.x:5555 (x.x.x.x = IP address of the S4)

Good luck!

Axel
[Samsung Galaxy S 4 Unified Development] npjohnson:
No, we won't be re-enabling it, sorry. It's not useful for our users who don't root, and given that we don't have a built-in root package, we care about the supported use case.
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

Of course, I respect your decision and thank you for your successful work.

Kind regards!

Axel

Can anyone recommend another "Terminal" app from the Play Store? I had installed the "Terminal Emulator" app on Android 4.4 / 5.0, but it has not received an update since 2015.
[Samsung Galaxy S 4 Unified Development] x2k13:
Look on F-Droid for Termux (not Play Store, deprecated). That will do it.
[Samsung Galaxy S 4 Unified Development] Achsel:
@x2k13

Thank you for the tip on the "Termux" app. The "Qute" app also seems to me to offer a lot more options (for example creating SH files) than the "Terminal" system app. I will test both apps.
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
I have experienced 3 or 4 crashes using the phone on different system revisions.

Always the same behavior: the phone stops to work and the display turns black with green "glitchy" horizontal parallel lines of different thickness that get progressively brighter until I remove the battery (holding the power button doesn't seem to work).

After, with the battery back on, the phone powers up and runs normally.

I'm fairly certain that every time it happened I was running an app that plays audio in the background: the last time I was just using antennapod with the screen turned off, the previous crashes all

happened while playing audio in the background (I think it happened once using newpipe, it's not just antennapod) and running another app in the foreground, like browsing with chrome.

Has this happened to anyone else?

Is there something I could use to have a log with info on the crash in case it happens again?

I've been using the phone as my main device since mid September, I've made a clean install of lineage 18.1 (+gapps) seemingly without issues and I've updated it multiple times (now on the second-to-last update) with twrp 3.1.1-0; I know, it's old, could that be the problem?
[Samsung Galaxy S 4 Unified Development] Trubbs:
Quote from Eddie Dingle

Always the same behavior: the phone stops to work and the display turns black with green "glitchy" horizontal parallel lines of different thickness that get progressively brighter until I remove the battery (holding the power button doesn't seem to work).

After, with the battery back on, the phone powers up and runs normally.

I'm fairly certain that every time it happened I was running an app that plays audio in the background:

Yes very similar last Sunday after BBC Sounds playing in background, I say after because I had stopped the audio and a couple of minutes later noticed the screen like you described, never seen anything like it before from the S4.

I was however, able to reset with 10 second power button press.

I do not have gapps installed and otherwise it has been very reliable and stable for some time now
[Samsung Galaxy S 4 Unified Development] Eddie Dingle:
It's possible that I simply did not not press it for long enough, the first time it happened I got scared of how bright it was getting and rushed to remove the battery.
[Samsung Galaxy S 4 Unified Development] Trubbs:
I don't think it would supply a fatal voltage or current to the screen though I can see how it would be alarming, can't say I noticed brightness increase but I caught it and reset quite quickly no more than minute probably 20 seconds or so
[Samsung Galaxy S 4 Unified Development] vip5912:
I have this problem too, but when I read news by Feeder (once a week).

I can reboot the phone by long press Power button (20 sec +).

If I wait the phone reboot itself I can see "SD card is corrupted".

After the phone reboot SD card is working OK.

This bug was appeared in LOS 17.1.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I'm unsure if crash log's survive a reboot...

anyway:

GitHub - Tortel/SysLog: A tool to grab Android system and kernel logs

A tool to grab Android system and kernel logs. Contribute to Tortel/SysLog development by creating an account on GitHub.

github.com

and isn't there a buildin ~bugreporter~ in "Developer Options" ?

while in D.O.:

=> "Store logger data persistently on device"

=> "Always show crash dialogue"

or

via adb ~awaiting~ the crash:

Logcat command-line tool | Android Studio | Android Developers

Logcat is a command-line tool that dumps a log of system messages, including stack traces, when the device throws an error and sends messages that you have written from your app with the Log class.

developer.android.com

- no expert here -

why /how could a ~tuned~ bootmanager influence running apps ?

you could find that out too:

- run the default recovery

- run a newer recovery e.g. this:

https://xdaforums.com/t/jdcteam-twrp-3-5-2_9-0-custom-builds.4271049/
[Samsung Galaxy S 4 Unified Development] troyer1234:
does this work on GT I9500 ?
[Samsung Galaxy S 4 Unified Development] kurtn:
No, i9500 is not QCOM. It's exynos
[Samsung Galaxy S 4 Unified Development] Achsel:
@npjohnson

Today I installed the current December updates for my two devices GT-I9505 and GT-I9515 via the updater without any problems. Thank you for your work!

For users with root access:

I have now decided to use the Terminal Emulator App "Qute" for the "Terminal" app that is missing in the developer options, because it only takes up 7.83 MB of storage space. "Termux", on the other hand, requires significantly more storage space.
[Samsung Galaxy S 4 Unified Development] chris1abc:
Battery drain is very high, especially in use with wifi on. The cause is not the battery, i tried severall other batteries.

The idle drain is not high, but in usage it sucks the battery. Screen on time is about 3-4 hours. Anyone the same problem ?
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
maybe "Wifi scan throttling" (Developer Options) could help ?
[Samsung Galaxy S 4 Unified Development] chris1abc:
I will try
[Samsung Galaxy S 4 Unified Development] js-xda:
I have a slightly different observation - so for occurring once with the December 16th build on one S4 device: White, pretty bright screen with some grey noise on it. Was out of the blue without using it. Was able to reboot via long press of power button. Not sure whether linked.

I am running multiple S4s and have overall good experience regarding battery endurance of this ROM. Only thing that I observe is misprediction in the last 30-40 % of the capacity where it drops sometimes really fast. Other battery drain is - for me - usually related to certain apps. E. g. Signal app consuming quite some battery when running without Google messaging service. Can't find the post back (somewhere 1-2 months ago in this thread) but there was some recommendation on what battery monitor software to use to identify more clearly the cause if not obvious as in my case.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
maybe a battery Calibration could help or the battery seems going to it's end ?

Simple battery & charging tips

Battery calibration Charge your phone to 100% without interruption. Discharge your phone fully until it turns itself off (never connect the charger) Turn your phone on a few times to confirm its actually at 0% charge and quickly turnsoff Plug your phone into the charger and, without turning it...

telegra.ph

Battery Calibration

All newly-installed smart batteries should be calibrated as soon as possible. This helps your phone or laptop get an accurate reading on the battery’s state of charge.

www.ifixit.com

more to read:

All about battery and charging

Charging habits to maximize battery life Smartphone users- casual and enthusiast alike are forever in search of longer battery life. While fast charging keeps us topped up every day, the absence of replaceable batteries means eventually the lithium-ion cells enclosed in our phones are going to...

telegra.ph

Learn About Batteries

Battery University™ is a free educational website offering hands-on battery information.

batteryuniversity.com
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
it seems the shame was heard:

https://review.lineageos.org/c/LineageOS/android_device_samsung_jfltexx/+/291102/

thanks @npjohnson ! (y)
[Samsung Galaxy S 4 Unified Development] npjohnson:
well uh, this was being resized to the full size anyway...

this just does it at build time instead of install.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
well, I need to confess that I'm not always understand all.

just surfing the git's.

anyway, thanks for info
[Samsung Galaxy S 4 Unified Development] handyflo:
Is there any chance to get VOLTE / VoWifi working on the:

Samsung Galaxy S4 GT-I9515

with this:

Lineage OS 18.1
[Samsung Galaxy S 4 Unified Development] kurtn:
No
[Samsung Galaxy S 4 Unified Development] akmens:
I just got an update for my I9505 to 23 december 2021 from earlier version this month. Installed in TWRP 3.x and doing full reset and wipe after installation. All is working as far as I know but I think there is bug in the settings. When you open Settings-> Location, the settings app stops working and closes. I hope there will be fix for this in the next update.
[Samsung Galaxy S 4 Unified Development] Trubbs:
Works fine here on same update
[Samsung Galaxy S 4 Unified Development] x2k13:
After upgrading to 18.1, Trebuchet loses home screen icon & folder layout/settings after reboot when using adoptable storage and the apps residing on sd-card (read: migrated data) haven't loaded yet.

Those and the folders they're in (if apps in them are on sd-card only) get removed. Folders containing mixed apps, internal and sd-card ones, the icons of the sd-card ones are removed.

Didn't happen on 17.1, the icons used to be just greyed out, the layout kept instead of removed.
[Samsung Galaxy S 4 Unified Development] hermes127:
Hi, I've just clean installed this version but for me the phone network is not stable, it looses signal very easy and to solve it I have to reboot. In ufficial Lineage OS 17.1 no problem. All the other functions seem to be ok.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
OMG, the rom is out just some days and I - and I guess the most here - are absolutely pleased to have an current android on this old device after a lot of work from the unpaid mantainer's and then reading such a junk here..., HELL ...

what "LOS-Bloat" you're talking about ?

with MIX looking into the above folders/partition *I* see them all rw and maybe removable (?)

if you know better "what should be where", your're at least free in:

- providing patches and bringing them through the review processes

- building your own ROM

- use another one

to fullfill your demands.

Hell, what drugs you're on ? :eek:
[Samsung Galaxy S 4 Unified Development] Blackeyse:
samsung s4 jflteex not working horspot wi-fi
[Samsung Galaxy S 4 Unified Development] massinius:
Nice work from you. a question where can I download magisk manager for this room?
[Samsung Galaxy S 4 Unified Development] kurtn:
GitHub - topjohnwu/Magisk: The Magic Mask for Android

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com
[Samsung Galaxy S 4 Unified Development] massinius:
Thanks for your answer
[Samsung Galaxy S 4 Unified Development] npjohnson:
No clue what you're talking about - our device has nothing relate to dynamic partitions. `/system_ext` is just a subfolder of `/system` on jf. You can delete whatever you want as it is.

We located it on /system_ext, as it uses private APIs, which, as per AOSP conventions, means it should land on /system_ext. Little, if anything should be put on system (from a platform perspective) to comply with Treble.
[Samsung Galaxy S 4 Unified Development] x2k13:
Does anyone of you have no access to android/data anymore as well? That's pretty bad, I use that directory constantly. How can I bypass this?
[Samsung Galaxy S 4 Unified Development] kurtn:
That?
[Samsung Galaxy S 4 Unified Development] x2k13:
Exactly. obb directory is also having this, btw.
[Samsung Galaxy S 4 Unified Development] kurtn:
And what is your "no access"
[Samsung Galaxy S 4 Unified Development] zyhk:
Some apps need to be adapted to A11 for browsing such directories. For example, see the Solid Explorer change log.
[Samsung Galaxy S 4 Unified Development] hermes127:
Me too, and even wifi icon is grayed out (samsung s4 jfltexx)
[Samsung Galaxy S 4 Unified Development] bersem:
Update to lineage-18.1-20210408-nightly-jfltexx-signed.zip failed. Also not able to export the zip file to storage after downloading ( short pink screen flash ).

https://download.lineageos.org/jfltexx

why doesnt appears the last nighly here ?

Regards !
[Samsung Galaxy S 4 Unified Development] sw_strange:
I'm having this issue also. Update downloads okay but fails to install.

Edit: Sorry, I'm new here. My phone it a GT-I9505 from Tracphone. I use jfltexx ROMs and I just did a fresh upgraded to 18.1.
[Samsung Galaxy S 4 Unified Development] kurtn:
Probably someone did the right thing. Not reported here but in bug tracker. So the broken build got removed.
[Samsung Galaxy S 4 Unified Development] bersem:
Build is now there and isnt removed. Maybe something is wrong on my jflte. Couldnt update last nightly.

Regards !
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
same here.

nightly downloads and verifies without errors, but pressing install throws an error "Install error".

EDIT

if /data/lineageos_updates/ [1] is still valid as the folder where updates get placed: the folder doesn't exists

[1]

older folders (?):

/data/data/org.lineageos.updater/app_updates
[Samsung Galaxy S 4 Unified Development] npjohnson:
Never. Not on a device this old.

You used TWRP, use Lineage Recovery if you want support.

It doesn't happen here.