yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] gotluck:
this is from i9505G (GPE)

Hope I got this right!

not enough space to install 17.1 + pico gapps, good to go on 16.0

Cheers!

major minor #blocks name

179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 1153432 mmcblk0p16
179 17 16384 mmcblk0p17
179 18 734004 mmcblk0p18
179 19 4096 mmcblk0p19
179 20 6144 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 10240 mmcblk0p23
179 24 6144 mmcblk0p24
179 25 3072 mmcblk0p25
179 26 8 mmcblk0p26
179 27 9216 mmcblk0p27
179 28 13307904 mmcblk0p28
179 32 61404672 mmcblk1
179 33 61388288 mmcblk1p1

total 0
drwxr-xr-x 2 root root 600 2014-06-26 21:03 .
drwxr-xr-x 5 root root 1220 2014-06-26 21:03 ..
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 backup -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 boot -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 fota -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 fsg -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 misc -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 param -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 persdata -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 recovery -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 ssd -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 system -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 20 2014-06-26 21:03 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 2014-06-26 21:03 userdata -> /dev/block/mmcblk0p28
[Samsung Galaxy S 4 Unified Development] Isael Lambert:
Does this version of the operating system work on the SGH-M919V?
[Samsung Galaxy S 4 Unified Development] arco68:
Ok, new test: http://www.mediafire.com/file/kdje3evcc85773x/lineage-17.1-20200628-UNOFFICIAL-jfltespr.zip/file

I'm a bit baffled as to why the sim is not detected. The logs doesn't show anything majorly wrong from what I can see.
[Samsung Galaxy S 4 Unified Development] xperanto:
did you try this?

1. turn off all systemprofiles settings -> system -> system profiles -> toggle all of and try again.

2. How old is your sim card? I know, it sounds weired, but even if your phone shows "No sim", try to call your phone, while it is on. If it is ringing, it should be "ril". If not, it could be "ril":

Try a dirty push of the versions of 16 to 17.1 of

libril.so

libreference-ril.so

librilutils.so

and rild as a "standalone-push".

Others don`t differ.

(you can pick the files by decompressing and mounting the image with brotli andsda2img, if you don`t want to flash it, just for pulling out the files.)

This is "dirty" and it could be, your phone won`t even boot fully up.

Just a try.
[Samsung Galaxy S 4 Unified Development] JensU:
Trebuchet keeps crashing after installing Gapps

I did a clean install of lineage-17.1-20200625-nightly-jfltexx-signed on my GT-I9505. That works well.

But after flashing open_gapps-arm-10.0-micro-20200627 in a second step Trebuchet crashes again and again.

What can I do?
[Samsung Galaxy S 4 Unified Development] kurtn:
Wipe system, data, caches. Flash lineageOS and GApps in one recovery session
[Samsung Galaxy S 4 Unified Development] JensU:
I have already done that in the first attempt since that the way I normally flash LineageOS.

But the result was the same: Trebuchet crashes continually.
[Samsung Galaxy S 4 Unified Development] kurtn:
Oops, GApps micro contains pixel launcher. That's incompatible. Usr pico or nano.
[Samsung Galaxy S 4 Unified Development] JensU:
OK, that seems to work. Thank you!

Is that characteristic for LineageOS 17.1?

Because I had never problems with "micro"-Gapps on lower LineageOS Versions!

There I could choose weather I like to use Trebuchet or Pixel launcher (which I don't like ;).
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
No luck with this build. Same problem. Here is some new info . I've started fresh using the latest official builds of v 16 and v 17 .

I've logged 16's radio from boot all the way to homescreen , telephony and LTE both up and working and a little extra beyond that .

I've logged 17.1's radio the same way but of course no telephony or data and no sim card .

Both of these logs done on my seconds JFLTESPR that also works perfect on 16. Both logs are on clean flashes of 16 and 17 back to back. This will give you one that works perfect to compare to . Thanks

One other note . On the official builds of each VZW does not appear in the radio logs and Sprint does appear . Not sure why the un-official builds were just backwards from that.

JFLTESPR 16 Radio with working sim https://pastebin.com/hGXAzhFa

JFLTESPR 17.1 radio No Sim Issue https://pastebin.com/bjSB0cEZ
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Thanks for chipping in . I did try your suggestion and still no luck but I did see one change . It was the first time I got the emergency calls only message so there was some slight effect it seems . On the sim cards they aren't old and both work instantly with Pie 16 .Thanks
[Samsung Galaxy S 4 Unified Development] Eguy:
I am still having a constantly flashing pink screen on my jfltespr. Ever since the 4/22 build which doesn't flash at all but is super laggy.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Is it laggy going into recovery ? For me the JFLTEspr builds are fast and snappy without any lag or pink screen on two of the devices I own. Just wonder if you have an emmc chip going bad. Have you tried version 16 lately ?
[Samsung Galaxy S 4 Unified Development] Eguy:
Nope, recovery is fine. It's just using apps, especially the browser. The phone locks up. I don't think it would be hardware at all since as soon as I downgrade to 4/22, the screen stops flashing again :confused:
[Samsung Galaxy S 4 Unified Development] xperanto:
hm.

Could you try the following (maybe you have already) with 17.1 and no changes:

settings -> security -> sim card lock and toggle/disable Lock SIM card to off. (be careful, if you haven`t got your puk2 alias super-pin alias unlock code). Keep in mind, this will disable pin-request on your SIM, no matter what phone it is in, until you reanable it.

Toggle airplane-mode on and off.

EDIT: If Lock SIM card was already off, enable it, assign a new pin/puk1 and reboot. Don`t mistake the sim pin with the screenlock ;)
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
No such setting on this device. That sounds like a setting that would be found on a GSM sim card . This is CDMA if that makes a difference.
[Samsung Galaxy S 4 Unified Development] xperanto:
No, no, no, sim pin is not just for gsm. Can`t imagin your provider hands out sims without pinlock.

Flash 16 and have a look, if the setting is there. And your sim is from which provider again?
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I have 15 devices on Sprint and have been with them for years . As long as I have tested and flashed custom roms over the years I've never even heard of a sim pin lock so that's why I'm not familiar with it . But without a doubt none of mine have ever been locked. Both of these JFLTESPRs are nice cleaned standard phones that work perfect with Pie so the problem has to be with v17 .I can flash either of them 15 times and restore nandroids and telephony , LTE and sim card works perfection .
[Samsung Galaxy S 4 Unified Development] xperanto:
Thas wasn`t the question. Of course the problem is 17.1. The problem is that your sim card isn`t registring to the sprint network and i was just trying to eliminate some options.

Even if puk1 on Sprint SIMs is disabled by default (sprint sims do have a puk1 and puk2 which can be obtained from hotline or from the onlineaccount if registrered, as i read), the option under settings -> security -> sim card lock should be there in any case to my knowledge.how else should sim-unlocked devices be able to operate probably? At least the missing of this setting, again, no matter if disabled or not, could at least give a hint to the problem why 17 won`t register to the network, if this setting is available in 16.

Again, is it the setting available in 16?

nevermind...
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I gotcha , makes sense . I restored my 16 nandroid and Yes, it's definitely got the simcard lock option as well as the option to change the pin. On 17.1 the sim card lock is nowhere to be found . Sorry for the late reply . Was outside working this afternoon. So if I were to click on lock sim I would need to have that pin number from Sprint to be able to unlock it correct ? Or would I be prompted to create one ? Thanks
[Samsung Galaxy S 4 Unified Development] xperanto:
If it were the other way round, that your puk1 was enabled, chances would have been higher :(

I don't think enabling sim pin will change anything, this goes beyond that, but you can try nevertheless.

Yes, you will need puk1 from sprint. Get puk2, too while you`re at it.

As you have never been in touch and never heard of puk1/puk2 (which isn`t your fault, but Sprint`s) a short explanation what it is:

The puk1 (Personal unblocking key) is a security feature to protect the sim being misused by others and is implemented in the SIM itself. In your case, if your phone is stolen, someone could just swap the SIM into another phone "and send nice smss to your office with your number or call the TittyTwister for 5$/min.

If enabled, the SIM will request puk1 before it will connect to the network and you will be prompted to enter puk1, similar to the locksreen. You can enter a wrong puk1 two times, the third should be the right one, because otherwise the SIM will be locked.

If you have entered a wrong puk1 three times you will need the puk2 to unlock it again. If you enter a wrong puk2 three times your SIM will be disabled and only your provider can reactivate it.

Let me try something else this evening (MET), because i don`t have time at the moment,sry.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Thanks for the explanation. So the fact that 17.1 says no sim card and that the sim card lock setting missing ties in. In this situation there is no icon at the top of the QS that says no sim card like there would be if you just removed the sim card from a working device . The only place it shows no sim card is in the pulldown menu under mobile data as the pics show.
[Samsung Galaxy S 4 Unified Development] xperanto:
Dear Ph3ar,

i`m so so sorry. My bad. I removed the sim from device (texx) and -of course- the pin setting is gone. Iḿ so sorry for the confusion. your sim isn`t even initalized in 17.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
No worries friend . Hoping [MENTION=5848265]npjohnson[/MENTION] and [MENTION=3044346]arco68[/MENTION] can pull a rabbit out of the hat . Thanks for trying!
[Samsung Galaxy S 4 Unified Development] St.mcqueen:
what can I install on I9500? I can't see it among those installation guides
[Samsung Galaxy S 4 Unified Development] :
Sorry but no, this rom's are only for the models (GT-I9295); (SGH-I337); (SCH-R970/C/X, SPH-L720); (SCH-I545); (GT-I9505/G, SGH-I337M, SGH-M919); (GT-I9515/L).
[Samsung Galaxy S 4 Unified Development] Mowca:
Hello

After installing lineageos, the camera does not save photos to the sd. Total commander does not save .txt files after editing in sd card.

On lineageos 16.0 everything worked fine.

phone: s4 jfvelte (GT-I9515/L)
[Samsung Galaxy S 4 Unified Development] John D J:
I believe there's a problem on Q with getting things to go to SD card including on a 2nd partition. I think the whole thing is linked somehow and needs time for a resolution. Failing a resolution there's always nougat. :good:
[Samsung Galaxy S 4 Unified Development] A.MushtaqAli:
Request for Lawnchair 2 to replace lineageos default launcher.

First of all sorry for v. Bad English.

Hello

Thanks for your great work. I'm using this rom from day 1. Lineageos 17.1 is enough stable and smooth for daily usage. But default launcher's options is lacking i can not change icon size and create adaptive icons.

I know i can use third party launcher. But these launcher dose not work properly with Android 10. Currently I'm using Lawnchair 2 launcher as default. But it is not smooth like system launcher.

I wish developer understand what i trying to say. Thanks

And Again sorry.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Hey there , have you tried Nova Launcher ? To me it's about the best launcher of all time and works perfect with 10 . The default launcher is what Lineage packs with the OS . I don't think this rom developer can control how Lineage wants tp package the rom or functionality of the included apps . Sorry if I turn out to wrong. I would sure give Nova a try . You can do everything you want to do with it and tons more . Best of luck .
[Samsung Galaxy S 4 Unified Development] xperanto:
This is due to the "Scoped storage", introduced in Android 10 https://developer.android.com/training/data-storage#scoped-storage

The reason why this can`t/won`t be fixed, Nolan Johnson already stated on gitlab:

https://gitlab.com/LineageOS/issues/android/-/issues/443#note_326928869

As an alternative, you could adopt the sdcard as internal storage as a whole or just partially splitted.

As for the camera app, you can also use Opencamera https://f-droid.org/en/packages/net.sourceforge.opencamera/ which is able to save the photos directly on your external sdcard.

(edit:correct link)
[Samsung Galaxy S 4 Unified Development] A.MushtaqAli:
Thanks for your response. Sure i will try Nove Launcher.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I've used it for years . First thing I install on any rom I install . I used the free version for a long time then paid for pro because it frees up so many rich features .
[Samsung Galaxy S 4 Unified Development] arco68:
Can you give me the output of

adb shell ls -la /dev
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
As you requested , Thank you https://pastebin.com/Er6DzW2z
[Samsung Galaxy S 4 Unified Development] Mowca:
what about total commander? also does not save the edited file ...
[Samsung Galaxy S 4 Unified Development] xperanto:
This was already solved by ghisler, the developer of totalcommander, as you can read in the appropriate forum-post:

https://ghisler.ch/board/viewtopic.php?f=22&t=57114

PLease read the whole thread.

I know, it`s impossible to drive people away from total commander, once they are "addicted" ;), but as an alternative, i can recommend amaze filmemanager

https://f-droid.org/en/packages/com.amaze.filemanager/

(Ha, i`ll give you your first thanks, yeeeeah :))
[Samsung Galaxy S 4 Unified Development] Mowca:
I can't find "Add a custom location" where to look for this option?
[Samsung Galaxy S 4 Unified Development] xperanto:
Again,

...and you will find a link to video. Even if it is in german.

Hint: "+ User-defined location", and if your external sdcard is already in the list, remove it, re-add it and give access. i dont use tc, but i installed it now and it works. For futher questions, please refer to their forum.

Edit: That app won`t even uninstall properly.¯\_(ツ)_/¯

Go for an alternative..
[Samsung Galaxy S 4 Unified Development] xperanto:
AGPS - need some provider-related tests

[MENTION=2502178]allin[/MENTION]terested

In the gps.conf https://github.com/LineageOS/android_device_samsung_jf-common/blob/lineage-17.1/gps/etc/gps.conf there are two specific values,

CAPABILITIES=0x31
...
LPP_PROFILE = 0

For all living in the U.S. (i don`t), could you please change these two values according to your provider from the following list and tell me, if you get a faster agps-fix time or a fix at all? (you can find a good app to test fixtime here https://f-droid.org/en/packages/com.android.gpstest.osmdroid/ )

AT&T

CAPABILITIES=0x33
LPP_PROFILE=3

Sprint

CAPABILITIES=0x31
LPP_PROFILE=2

T-Mobile

CAPABILITIES=0x33
LPP_PROFILE=2

Verizon

CAPABILITIES=0x31
LPP_PROFILE=3

I just want know, if these settings are (still?) povider-dependent.

Since the last commits i don`t get any google-ips for agps in tcpdump anymore, only 10.### from my provider when i use agps Thats great. Unforunatly my provider enabled 4g for my dataplan last week, and i only get agps working when switching manually to 2g (maybe useful for others). for me, "Application Processor" for NMEA_PROVIDER works better, too.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
How did it look ? I tried the new build this week and it's still the same, no sim card mounted . I'd be happy to provide any other logs that might help you in getting this figured out. [MENTION=3044346]arco68[/MENTION] [MENTION=5848265]npjohnson[/MENTION] , thanks
[Samsung Galaxy S 4 Unified Development] arco68:
The output looks fine, so I still don't know what's causing the issue.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I'll make you a log from bootup to home screen in the morning . You haven't seen one of those yet. Maybe it will shed some light on it. Thanks for the reply.
[Samsung Galaxy S 4 Unified Development] grisu59964:
I recently upgraded a friend's GT-I9505 jfltexx to LineageOS 17.1 (20200702). It worked like a charm with LOS 16, but since the upgrade, we face(d) serious problems.

First of all, we used the SD card as internal storage in LOS 16 when I did the upgrade. After the upgrade, the SD card was marked as damaged, the apps were not available any more most of the time and the phone crashed as soon as you would try to access them or any data on the SD card. The phone froze with the pink screen of death just to reboot moments later. Also already after the PIN was entered, the phone booted once again. Very annoying. This is why we wiped the phone to have a fresh start.

But unfortunately, not all the problems are solved for us. Sometimes the display turns black, but the inputs are still recognized (so its possible to type rubbish you can't see) and the hardware button backlights are flickering. Furthermore, I was not able to format the SD card so that it is used as the primary internal storage, so even if I format it as internal storage, the storage of the phone is still visible in the storage options and the SD card is not visible to the apps. We tried different SD cards (128 GB) without any different effect and so we use the SD card as mobile storage for now.

I really wish to provide my friend a nag-free operating system as she was blissfully happy with LOS 16 (which didn't get updates any more), but I'm running out of ideas. Can you help us? Thank you very much in advance!
[Samsung Galaxy S 4 Unified Development] Mowca:
another problem. Does not display thumbnails of photos saved on the SD card taken with the Open Camera.
[Samsung Galaxy S 4 Unified Development] curiousde2002:
Hi everybody,

I just upgraded my GT-I9505 from the latest LOS 16.0 build to lineage-17.1-20200716, dirty with latest TWRP 3.4.0-0 wiping system, dalvik and cache and using magisk 20.4.

It's working fine so far but I have a few questions:

I get the status bar only for a few seconds by sliding down from top of the screen.

Is there any setting for permanent view?

No screen mirroring any more? It used to work in LOS 16.0.

When using cable from USB to HDMI with TV phone freezes. Need to remove battery to restart.

This already occurred on LOS 16.0.

Thank you very much for your help!
[Samsung Galaxy S 4 Unified Development] mittkonto:
I get this error after trying to upgrade from LOS 16:

" E:failed to bind mount /mnt/staging/emulated/media/0 to /storage/emulated:no such file or directory "

After it takes ages to boot, but never completes and restarts to LOS 17 recovery.

Any advice?

Thanks!
[Samsung Galaxy S 4 Unified Development] xperanto:
I assume you followed the "normal" installation procedure "from stock to LOS" https://wiki.lineageos.org/devices/jfltexx/install and not the ugrade procedure https://wiki.lineageos.org/devices/jfltexx/upgrade.

Therefore i assume you wiped data/userdata as mentioned in the installation guide, which is not mentioned in the LOS-upgrade.

via https://old.reddit.com/r/LineageOS/comments/g4vext/unable_to_load_171_on_jfltexx_s9505g/

As said in the post, try to restore stock rom via heimdall and retry with the normal installation procedure, including

from the guide.
[Samsung Galaxy S 4 Unified Development] mittkonto:
Yes, I followed the install version you link to.

What I did to solve this was: Install TWRP 3.4. Wipe everything, mounted system (also) sideloaded latest at the time LOS (20200716) pressed back and mounted system again, sideloaded latest opengapps_pico (20200721). Seems to work and "ota" upgraded to the release a week after.

The LOS recovery was a no go, my best noob guess is that it did not mount system. Very weird.
[Samsung Galaxy S 4 Unified Development] honzapat:
No Signal

Got a bit of a problem, Ive installed SPH-L720 version (thats what my phone showed in settings) and it worked, I deleted cache phone botten, first settings etc. so far everything works, just for one thing, the carrier signal(T-Mobile Czech Republic) which is kinda main part of a phone. Now Iam trying to get root to edit build.prop
[Samsung Galaxy S 4 Unified Development] Max Frost:
Sprint S4

Just wondering if the SPH-L720 will be fixed eventually? I've tried new builds ever since Lineage 17 was brought up and it still doesn't have working telephony or mobile data . In fact it doesn't even know there's a sim card present . This pretty much renders the phone useless . There's no signal icon present at all. Android P works fine so why is Q telephony/sim card totally broken ? Everything else about Q works fine . I'd rather have updated v 16 builds if v 17 is never going to be fixed. I see people posting logs and offering to provide more logs without any response. What can we do to get this thing looked at and fixed finally? I'll help too .
[Samsung Galaxy S 4 Unified Development] gotluck:
success on i9505g after fiddling with gapps-config with pico gapps (removed googletts from the install and had the config remove the stock browser and email app) to get around the failure to flash gapps due to the small system partition

wonderful rom!