yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] xperanto:
Great you didn`t give up!

Aftermath:

Keep in mind that the path /data/... isn`t affected by systemupdates and therefore your custom config will stay there until you delete it and you won`t have to copy the file after every update.

As already stated, roaming won`t work (i didn`t test if it works to copy the whole default apns-conf.xml with the added string of your provider) and to revert the setting just remove your apns-conf.xml with (as root ;) )

adb rm /data/misc/apns/apns-conf.xml

and "reset to defaults" as already described in my post above.

You should also have an eye on the following link

https://github.com/LineageOS/android_vendor_lineage/blob/lineage-17.1/prebuilt/common/etc/apns-conf.xml

from time to time and search for i.virgintelco.es to check, if Virgin Telco Spain is added to the default apns.

Again, you did well!:)

Edit: Forgot to mention: You can make screenshots of your S4 by pushing and holding vol- and powerbutton simultaneously
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Thanks again for your help. I'll check the apns in GitHub and push the correct one if in the future it appears my provider.

Until this, the telephone will rest with this custom apns file because at least I could use it.

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] DaveWareRulesOK:
Gallery cannot see images saved to SD card by stock camera

I was aware on 16.0 that when the stock camera is configured to save images to the SD card they are stored in /Android/data/org.lineageos.snap/files. This was fine because stock gallery could 'see' the files folder as well as the usual DCIM/camera folder.

But since I have upgraded my I9505 from 16.0-20200325 to 17.1-20200618 (dirty install using TWRP 3.3.3-1) I find that the stock camera behaves in the same way but the stock gallery can no longer see the files folder eg by clicking on Albums. Any chance of a fix.
[Samsung Galaxy S 4 Unified Development] npjohnson:
Try changing ro.telephony.default_cdma_sub=0 to 1 and see if there's the same issue.

The log doesn't really tell anything.

To do this you need to open your build.prop and edit it. Will need some form of root.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I'm rooted . It's already set to 1 for that value so no go there. The log was taking when the phone was already booted up. Is there any certain way I can take one that might be a better indication of why it's not mounting and showing a sim card present ? I'll try anything brother. Rom is fantastic in every other way. Thanks

edit: I have two of these jfltespr . Tried both on pie and both work but neither detect a sim card on 17.1. Right now I have one running pie and the other running 17.1 . Both side by side with build prop editor opened . Telephony values are the same but there are some entries in each build prop that are not in the other build prop.

Maybe taking the log after the phone has booted up and running for awhile isn't showing because the phone has attempted to mount 5 times and quits trying as related to the fix for the reboot error ? I'll take one while booting and see if I see any difference . If so I'll send it to you .
[Samsung Galaxy S 4 Unified Development] arco68:
Set it to 0, reboot and check.
[Samsung Galaxy S 4 Unified Development] arco68:
F2FS is no longer supported.
[Samsung Galaxy S 4 Unified Development] arco68:
Can you, or anyone with a GPE provide the output of the following:

adb shell cat /proc/partitions

adb shell ls -la /dev/block/by-name

I would like the info from other variants as well, exluding the jactive, which I have myself.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Yup , I had already tried that with no affect. Went to 0 , rebooted , no change then back to 1 with no change.
[Samsung Galaxy S 4 Unified Development] Coldtone:
I'm currently on 16.0, if I want to upgrade to the latest 17.1, do I simply download the zip and flash using TWRP? Also, would I have to download the gapps for this version, or would the current one installed work.
[Samsung Galaxy S 4 Unified Development] kurtn:
https://wiki.lineageos.org/devices/jactivelte/upgrade
[Samsung Galaxy S 4 Unified Development] Coldtone:
Thanks, I'll give it a try.
[Samsung Galaxy S 4 Unified Development] xperanto:
GT-I9505

cat /proc/partitions

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 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 512000 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 9728000 mmcblk0p29
179 32 124868608 mmcblk1
179 33 124867567 mmcblk1p1

ls -la /dev/block/by-name

aboot -> /dev/block/mmcblk0p6
apnhlos -> /dev/block/mmcblk0p1
backup -> /dev/block/mmcblk0p23
boot -> /dev/block/mmcblk0p20
cache -> /dev/block/mmcblk0p18
carrier -> /dev/block/mmcblk0p28
efs -> /dev/block/mmcblk0p10
fota -> /dev/block/mmcblk0p22
fsg -> /dev/block/mmcblk0p24
hidden -> /dev/block/mmcblk0p27
m9kefs1 -> /dev/block/mmcblk0p13
m9kefs2 -> /dev/block/mmcblk0p14
m9kefs3 -> /dev/block/mmcblk0p15
mdm -> /dev/block/mmcblk0p2
mmcblk0 -> /dev/block/mmcblk0
modemst1 -> /dev/block/mmcblk0p11
modemst2 -> /dev/block/mmcblk0p12
pad -> /dev/block/mmcblk0p9
param -> /dev/block/mmcblk0p19
persdata -> /dev/block/mmcblk0p26
persist -> /dev/block/mmcblk0p17
recovery -> /dev/block/mmcblk0p21
rpm -> /dev/block/mmcblk0p7
sbl1 -> /dev/block/mmcblk0p3
sbl2 -> /dev/block/mmcblk0p4
sbl3 -> /dev/block/mmcblk0p5
ssd -> /dev/block/mmcblk0p25
system -> /dev/block/mmcblk0p16
tz -> /dev/block/mmcblk0p8
userdata -> /dev/block/mmcblk0p29
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
[MENTION=5848265]npjohnson[/MENTION] , I've passed through St Augustine back in the early 70's . I was stationed in Mayport and rode through there on my motorcycle going to Daytona beach.

Could something like this point to the problem ? 18:30:11.044 580 580 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.google.android.carriersetup requires unavailable shared library com.verizon.provider; failing!

06-23 18:30:11.060 580 580 I PackageManager: Time to scan packages: 1.545 seconds

06-23 18:30:11.066 580 580 I PackageManager: Un-granting permission android.permission.MANAGE_NETWORK_POLICY from package com.google.android.carriersetup (protectionLevel=2 flags=0x2008be45)

[MENTION=5848265]npjohnson[/MENTION] I emailed you logs from boot to homescreen .I think these should shine more light on what's happening . The log was to massive for pastebin. Thanks
[Samsung Galaxy S 4 Unified Development] ze7zez:
According to this site, this is not a GPE model. It should be GT-I9505G? :confused:
[Samsung Galaxy S 4 Unified Development] xperanto:
No, it is not the GT-I9505G alias GPE alias Google Play Edition. It`s a plain and simple GT-I9505, international frequencies, different soc msm8974 (see https://en.wikipedia.org/wiki/Samsung_Galaxy_S4#Model_variants )

arco68 asked for other variants, too, for comparsion, because the GT-I9505G came with different software preinstalled and therefore -and maybe- with a different partitiontable, too ;)
[Samsung Galaxy S 4 Unified Development] arco68:
No, this shouldn't matter.

Do you have IMEI and baseband version showing in settings?

Try adding this to build.prop: ro.telephony.ril.config=simactivation

Also, try grabbing a radio log (from boot): adb wait-for-device shell logcat -b radio
[Samsung Galaxy S 4 Unified Development] arco68:
Yeah I'd like the info from all variants so I can check if there's any difference. And it's also nice to have for future reference.
[Samsung Galaxy S 4 Unified Development] John D J:
Sorry to ask but its important to me. Does this ROM allow connecting your apps to sd card please?
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I did try the line in build prop but no luck, I do show IMEI and Baseband . Here's a screenshot of sim status . I will run the radio log off shortly and post . Thank you.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Radio log

[MENTION=3044346]arco68[/MENTION] and [MENTION=5848265]npjohnson[/MENTION] , here is the radio log from boot to homescreen , thanks https://pastebin.com/SPRrR2YZ
[Samsung Galaxy S 4 Unified Development] arco68:
Yes if you format it as internal storage, you can move some apps to it.
[Samsung Galaxy S 4 Unified Development] John D J:
Thanks but I won't be doing that. When I know that link2sd is possible on pie without formating the SD card. I prefer to avoid that. But thank you for your reply.
[Samsung Galaxy S 4 Unified Development] arco68:
Try flashing this: http://www.mediafire.com/file/6putxbxy70zagwy/radio_test1.zip/file
[Samsung Galaxy S 4 Unified Development] joam280:
could you indicate download link? please

Enviado desde mi Nexus 9 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] kurtn:
No GApps is a April 1st bug. Try April 2nd
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Ok, thank a lot

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] kurtn:
Same place as ROM download
[Samsung Galaxy S 4 Unified Development] joam280:
I can't find the link I'm sorry, if you can pass it to me please

Enviado desde mi Nexus 9 mediante Tapatalk

---------- Post added at 07:54 PM ---------- Previous post was at 07:45 PM ----------

no longer available for i9505

Enviado desde mi Nexus 9 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] ha789di:
Which is for i9500?
[Samsung Galaxy S 4 Unified Development] NewIdenty:
i9500 has the Exynos CPU, right? That's a totally different phone and not supported by current LineageOS
[Samsung Galaxy S 4 Unified Development] joam280:
we have a new rom, i will try it [emoji6]

Enviado desde mi Nexus 9 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Working with GAPPS [emoji106][emoji106][emoji106]

Thanks a lot guys.

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] 2013Paco:
Three Questions:

1) Did u install gapps, too? Did gapps install properly? [I installed LOS 17.1 & Gapps Arm Nano 17.0 via TWRP. LOS started ok, but Google Play App is missing although TWRP installed Gapps without errors => same problem as post #20 of Gitanitos]

2) If TWRP is current recovery and I switched to use the lineage recovery: What happened to TWRP? Do Lineage overwrite TWRP Recovery?

3) Can Lineage recovery install a TWRP backup of LoS 16, if installation of LOS 17.1 failed ? (I feared that I can't get back to an older backup !!!)

Best Regards .. Paco
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hi Paco,

As [MENTION=8031265]kurtn[/MENTION] said, with the last LOS17 firmware (published some minutes ago) the GAPPS will work.

In my S4 has worked and now I'm configuring all options.

Until now 0 problems... That's incredible

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] joam280:
this new rom works perfectly

Enviado desde mi GT-I9505 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] jeyzones:
I'm using it on a I9505G and so far it's going well, just a bug in recorder app, but maybe it will be solved in the next nightly.

And Magisk work fine.

Note: To install the Gapps you have to modify it so that it doesn't install googletts, googlepackageinstaller and soundpicker so that it doesn't present the error of no space in the partition.

Sorry for bad english xD
[Samsung Galaxy S 4 Unified Development] KRafi:
Upgrade with TWRP

Can I upgrade to Lineage OS 17.1 from 16.0 using TWRP? If so, do I need to wipe my phone? Or I can just dirty flash Lineage OS 17.1 over 16.0? [MENTION=5848265]npjohnson[/MENTION]
[Samsung Galaxy S 4 Unified Development] kurtn:
My proposal:

Backup every you think its worth it.

Download lineageOS 17.1 ROM and recovery and GApps 10.0 if installed before

Boot into twrp flash lineageOS recovey

Reboot into recovery flash ROM (and GApps)

Wipe nothing, boot into system

---------- Post added at 06:34 AM ---------- Previous post was at 06:26 AM ----------

1] I have no GApps.

2) if you install lineageOS recovery, twrp is removed.

3) lineageOS recovery has no backup/restore features. To get back you can always fastboot flash recovery twrp.img
[Samsung Galaxy S 4 Unified Development] KRafi:
I tried to run 'adb reboot sideload'. But, it returns, " 'adb root' is required for 'adb reboot sideload'. " How to solve this? [MENTION=5848265]npjohnson[/MENTION]
[Samsung Galaxy S 4 Unified Development] joam280:
waiting version for i9506 [emoji6]

Enviado desde mi SM-G973F mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] kurtn:
https://stats.lineageos.org/model/ks01ltexx

Never gone official
[Samsung Galaxy S 4 Unified Development] Mynacol:
Maybe you need to enter "adb root" in your terminal, as written.

But "adb reboot sideload" won't work. There are the two commands

1. "adb reboot", where you can append recovery or bootloader to specify to what you will reboot to

2. "adb sideload", which needs as another parameter a file to sideload to your device. Your device has to accept this transfer, therefore you have to put your device (probably in recovery) into adb sideload mode.

If you need help, just enter "adb --help"
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hi there.

I´ve done the first nightly ¨auto¨ update in LOS17. All has worked as usual and restart has also been fast.

Very good job [MENTION=5848265]npjohnson[/MENTION], thanks

---------- Post added at 19:06 ---------- Previous post was at 19:05 ----------

Hi there.

I´ve done the first nightly ¨auto¨ update in LOS17. All has worked as usual and restart has also been fast.

Very good job [MENTION=5848265]npjohnson[/MENTION], thanks
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
What modem is this ? This modem I have works perfect on android pie . L720VPSGPL1 . It's the same modem I've used through all the android versions to date .
[Samsung Galaxy S 4 Unified Development] arco68:
It's not a modem. :)

It contains some test changes to the android telephony framework sources.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I flashed it .rebooted and right about the moment the boot animation ends and the home screen is about to appear it instantly reboots to recovery . Tried it 3 times with the same result . I backed up the efs partition right before I flashed. Restored EFS but continues to exibit the same behavior. I'll be glad to test and try anything you like. Do you want another radio log with the test sip installed? Thanks
[Samsung Galaxy S 4 Unified Development] arco68:
No, don't need it yet.

Ok, shame about the instant reboot. If you can try this build, that would be nice.

http://www.mediafire.com/file/mo35vsw3kt96uwx/lineage-17.1-20200624-UNOFFICIAL-jfltespr.zip/file

Since this is an unofficial build, it can't be flashed over the official one, so you would have to backup

your current install, clean wipe and then install it.

EFS isn't touched, so you don't need to backup it.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I'll give this build a shot and let you know shortly.Thank you

---------- Post added at 02:18 AM ---------- Previous post was at 01:56 AM ----------

Installed the test build . Boots fine , stays on but like the official build it shows no sim card , no signal triangle , shows imei , shows baseband .
[Samsung Galaxy S 4 Unified Development] arco68:
Hmm ok. I'll make another test build, likely tomorrow. Thanks for testing.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Yes sir , thank you for for your efforts .
[Samsung Galaxy S 4 Unified Development] Coldtone:
When I connect my S4 to the pc, sometimes it takes anytime between 5-15 minutes before the pc register that it's connected. What could be the cause of that?
[Samsung Galaxy S 4 Unified Development] Coldtone:
When I tried it, I got the error

Updater process ended with signal: 7
[Samsung Galaxy S 4 Unified Development] wilsonhlacerda:
Hi all, just in case you haven't seen yet, there's a new Official TWRP release:

https://twrp.me/site/update/2020/06/24/twrp-3.4.0-0-released.html

I have not tried it yet with S4, though (in fact with any device ? ).

This is just if you want to try it, maybe with S4 and LOS 17.1 and then let us know here if it is working properly or not.

Edit: XDA post about it:

https://www.xda-developers.com/twrp...s-support-legacy-devices-upgraded-android-10/
[Samsung Galaxy S 4 Unified Development] xperanto:
...normally means, you haven`t done a factory reset.

As staded in https://wiki.lineageos.org/devices/jactivelte/upgrade

I`d try to backup the important files first and then reset, as described in https://wiki.lineageos.org/devices/jactivelte/install#installing-lineageos-from-recovery

You will lose all your data/apps! Backup first!
[Samsung Galaxy S 4 Unified Development] Coldtone:
Thanks very much. I went ahead and did exactly that as I was kinda stuck. But I'm back up and running now. I'll just have to monitor the 'no sim' issue
[Samsung Galaxy S 4 Unified Development] kurtn:
Tip: In some cases, a newer LineageOS version may not install due to an outdated recovery. Follow your device’s installation guide to see how you can update your recovery image.
[Samsung Galaxy S 4 Unified Development] arco68:
Try this:

http://www.mediafire.com/file/bu32dpassp7n32p/lineage-17.1-20200625-UNOFFICIAL-jfltespr.zip/file
[Samsung Galaxy S 4 Unified Development] Coldtone:
Thanks for the tips.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Good morning . I just tried it . Did a clean wipe and flashed it. Booted fine but still no sim card , no service , no signal icon shown . Can we PM or email ? Thanks
[Samsung Galaxy S 4 Unified Development] Motivate6:
I had to use this today as I could not get the Lineage recovery working, I can't remember the exact error but when I was using the lineage recovery and at the adb sideload step it was something like "failed to bind mount emulated\media\0".

I used the twrp with odin and it wiped and then I used the adb sideload option and it worked perfectly. The phone is working great the only issue I have experienced so far is when I try to encrypt device it just reboots.

I have never done anything like this before so it may have been me doing something wrong when i was using the Lineage recovery, I am unsure.

Also I am using a i9505 S4 from Telstra Australia if it matters.
[Samsung Galaxy S 4 Unified Development] Coldtone:
Unlike him, I'm getting signal etc. The phone rings and dials, but cannot hear the person and vice versa
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
What is your device model ? Are you using a JFLTESPR sprint device?
[Samsung Galaxy S 4 Unified Development] Coldtone:
My device is SGH-M919, which is a JFLTETMO
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Ok , your post quoting me could be a little misleading . We have different devices and different problems and we use a different rom. We are completely unrelated . The only reason I bring this up is when you tie into unrelated post and say, I have signal on mine it could make it appear as if my problem is device or operator error . See what I'm saying ?We're in completely different unrelated conversations and we don't need to get those confused . I see you are new here and just trying to help . The JFLTESPR does not have signal for anyone I know of. Thanks
[Samsung Galaxy S 4 Unified Development] Coldtone:
Thanks for helping me understand. I'll post a separate reply with my issue.
[Samsung Galaxy S 4 Unified Development] arco68:
I'll let you know if we need closer contact.

When you turn on the screen, what does it say in the upper left side? Something like this? "No signal" or "No sim card. emergency calls only"?

Anyone knows if the Verizon variant is ok? Considering it's a CDMA device too...

Also, how long ago did you test Lineage 16.0? If it's been a while, do you mind testing again?
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
I use Lineage 16 weekly in between testing 17.1 . Pie , Android 16 works like a champ , pretty near perfect right up to the last build. LTE , Telephony all good. I find it odd that on both the adb radio log and the full log the word Sprint never appears but VZW appears over and over as if we're using a VZW tree instead of sprint tree or source . It's over my head . I can't say for sure if VZW works but my guess would be it probably is as I haven't seen any mention of a problem with it.

On your question about the screen , at the lock screen it shows No Service , the home screen shows nothing related to missing sim card . You never get any message or notification about the simcard . On the quick pull down menu beneath the mobile data icon it says " No Sim Card . If you to to settings/network mobile data is greyed out and the switch to turn it on is missing . Please refer to each of the pics below. Thanks
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Thank you for understanding . You can always go back and edit , delete or redo post . Lots of good people here usually willing to help . Everybody here was a new user at one time .For your kind reply let me award you your first thank you :) Thanks .
[Samsung Galaxy S 4 Unified Development] Coldtone:
You're most welcomed. So far this forum is better than others. People actually respond to help instead of criticize.

Well I have some positive news to report. I rebooted the phone and it worked.