yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 4 Unified Development] Eguy:
I don't have service or a SIM in the phone so I can't tell you if telephony is working. All I know is that aside from the major lag and freezing from the initial builds of 17.1, it was working fine. As soon as I flashed the first build from when they were restarted a week or so ago, now my phone starts flashing the entire screen with a pink color and is unusable. If I power it off, it stops and when I power it back on, it is fine until I unlock it and it starts flashing again immediately. Very weird.
[Samsung Galaxy S 4 Unified Development] ticktockman123:
Ph3ar, Thanks for the affirmation on this.

I will wait and go working on bricking other old devices until I hear more..

:laugh:
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Gotcha , that's why your's isn't rebooting. Sound's like you might be having hardware failure but to rule it out have you flashed an earlier build or different rom ? I did flash that same build and it all looks normal. I've also flashed the newer builds.
[Samsung Galaxy S 4 Unified Development] Eguy:
I haven't flashed anything else. The previous LOS builds have been removed from the server. Good thing I am not using the phone as my primary! I find it odd that it would be hardware failure though when it happened as soon as I updated builds. Seems too coincidental.
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
No sir , the older builds are still there https://download.lineageos.org/jfltespr

Flash one so you can rule out the HW .
[Samsung Galaxy S 4 Unified Development] Eguy:
You're right, I missed that. Anyway, flashed the 4/22 build and everything is fine so it is something weird with my phone and the latest builds :confused:
[Samsung Galaxy S 4 Unified Development] xperanto:
I`m definitely under 120s for the first fix, just tested for you right now and it`s raining at the moment (tested with GPStest from f-droid https://f-droid.org/en/packages/com.android.gpstest.osmdroid/ ):

First fix after reboot and last use of gps two days ago, 200km away: 42s

every following gps-fix tested within a two hours interval : 4s - 8s

First fix with all "helper-data" and "cache" erased (see GPS-test for information): 60s

You can even decrease the 42s in this test for the first fix with gps_lock enabled, but this can be very annoying if you don`t start your gps in the same area, where you stopped your gps the last time.

But keep in mind I didn`t test in a "steet canyon" or densed city, where an "adjuvant and assisted" agps can be mandatory.

Since about 7 satellites are needed to get a position-fix, things will even improve when hopefully the glonass ones are used for position-fix, too.

I promise I will update this post with the settings as soon as the new build (hopefully with glonass-fix reenabled) is out.

For navigation by car/motorcycle I prefer magic earth (privacy friendly, get the apk with aurora from playstore) which is very accuate with my s4, for walking I use OsmAnd ( https://f-droid.org/en/packages/net.osmand.plus/), both used with offlinemaps. But to be honest,I don`t care, if the first fix needs 40 or 60s. I disabled agps more due to privacy-concerns and not due to position-fix-time, but heard rumours say, that the proprietary modemfirmware-blobs contain fallback server adresses for agps-data.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
I would be nice, if you also would mention

- your device

- the modem version
[Samsung Galaxy S 4 Unified Development] A.MushtaqAli:
Updates are paused for jflte???

I'm not getting update after 04-06 build.
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
it seems so :( and all builds are (currently ?) set to "weekly":

https://www.lineageoslog.com/build/scheduler
[Samsung Galaxy S 4 Unified Development] xperanto:
(Thank you for your information. No offens, but please, don`t link to "lineageoslog dot com". This site is not related and is not officially assosiated with the Lineageos-team in any kind, even if it makes intensionally the impression.

The site is operated by a copycat "Okoram", even without a propper background or contact info, just putting advertisement on the work of others.

You can find the changelog from six days ago with further additional information on github here:

https://github.com/LineageOS/hudson/commit/446a12f34ff7a07d9a7cbcb628fbd078decdb2c5

And if you read closely, you can see who made the commit (thank you for all, great master ;) )
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
sorry, didn't know that

Update:

Today tested lineage-17.1-20200611-nightly-jfltexx-signed.zip

first fix: 64 s (cloudy sky)

usually: ~120 s (clear sky)

:fingers-crossed:
[Samsung Galaxy S 4 Unified Development] xperanto:
First, glonass is still not used for position-fix.:(

But i guess i found the "culprit". Can you do me a favour rw_on_xda?

Could you please

1. turn on flight-mode (disable every mobile connection and disable wlan). reboot and run gpstest and post your fix-time.

Should be around +-40s.

2.Turn your mobile-connection on again, reboot and wait and look at the connection-symbol on the top right (H+, LTE or whatever). After about a minute it should fall back to "dataloss" with an "x" mark for a couple of seconds and then it should reconnect to normal. Only then start gpstest but keep an eye on the connection symbol. It should fallback to connectionloss after 30s you have started gpstest and the overall gps-fix-time should be arround 60s-80s. Please post your fix time.

No matter what i wrote in gps.conf or "settings put global assisted_gps_enabled 0", only removing supl from carrier-config gave me ~40s with mobile-connections enable. So the easiest solution without any modifications should be to just to disable any mobileconnections when starting a gps-App to gain half a minute of gps-fix-time. Can you confirm?
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
If I identify "TTFF" as time until fix, it was 71 s

I interrupt that, cause NO fix after > 120 s.

The x (only) indicates if data connection is on or off.

So I only get the X if I switch data connection to off.

All my values before build 17.1-20200611 and yesterday's test had always been with data connection to OFF and GSM ON.

my Modem is XXUHQK1
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hello there. I upgraded my old S4 (GT-I9505) to LOS17 since it was available a few months ago but I haven't used it (only for pleasure [emoji28]...

The thing is that my wife's phone was broken yesterday and I didn't have mobile data connection on it. I tried to add the APN manually but don't works and also tried with the command given by my operator (Virgin Telco Spain) *119#, but never received the configuration message...

Do someone knows which is the problem? Because I also did a factory reset and nothing happens

I tried the same SIM card in a new smartphone and sent the command *119# and I perfectly received the configuration message.

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
not all key codes are working on custom rom.

only on manufacturer rom (e.g. Samsung default firmware).

Here, on LOS, *119# does nothing, too. - at least nothing visible -

maybe you will find an app which let you switch apn setting .... ?

maybe another way:

I currently don't know if apn settings are changed during custom rom (LOS) installation.

if not: install Samsung default firmware, configure your apn setting and again install LOS.
[Samsung Galaxy S 4 Unified Development] Gitanitos:
It's a bit strange because is the code that give me my provider to receive the automatic configuration message. I saw after write it the pop-up saying that the code has been correctly sent and in a few minutes I'll receive the message....

Anyway, thanks a lot for your options

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] xperanto:
Assuming your chosen LOS-rom was the right one for your s4-model,phonecalls are working, data is enabled, and no data limit is set under mobile networks, i think the problem could be, that Virgin Telco Spain is operated by euskatel since feb.2020 and the apns-conf.xml from LOS isn`t updated yet (/system/product/etc/apns-conf.xml)

try the following:

get your APN-settings from your providerhotline.

go to settings -> Network and internet -> Mobile Network -> Advanced -> Access Point Names and delete all listed APNs and edit your own manually. Turn mobile-connection off and on again.

If it doesn t work change under settings -> Network and internet -> Mobile Network -> Prefered network type a "lower" one.

If this still doesn`t work and the entered apn is correct, dial

*#*#4636#*#*

That`s the Network-service-menu from LOS.

Choose Phone information and select under "set prefered network type" the booked transfer-type from your data plan "only", i.e. "LTE only". try the other WCDMA only, too.

Last hope, if it still doesn`t work, install the according twrp as recovery and wipe the cache.
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hi [MENTION=8013334]xperanto[/MENTION] , thanks for your help. First, yes I have the correct ROM (I used LOS on this phone and other S5duos since several years) but yes could be also the problem.

For the second, you're right, Virgin Telco is part of Euskaltel so I'll try what you recommend me.

I need this phone as back up in case of some other don't works

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] gatarax:
Hello

I have exactly the same problem as you on my gt-i9505 jfltexx :(

I have the latest version 17.1 and nothing has changed

my phone is unusable in the street, a bar, a bus,etc it turns off after 1 to 2 minutes. And when i turn it back on, the home screen appears then it goes out again immediately.I am obliged to use it only at home connected with USB so that it does not turn off.

I pray that lineageos can correct this big problem :(
[Samsung Galaxy S 4 Unified Development] kurtn:
Sounds like a hardware issue. Battery or contacts.
[Samsung Galaxy S 4 Unified Development] gatarax:
Thank you for your reply. my battery is almost new and it's an official Samsung. I am sure it is not material because i have 2 galaxy s4 gt i9505 and on the other one too i have exactly the same problem.

And my installs of roms are good i make a clean flash each time followed to perfection.

I deleted the dalvik + cache each time but it does absolutely nothing :(
[Samsung Galaxy S 4 Unified Development] kurtn:
Can you get a logcat of that shutdown?
[Samsung Galaxy S 4 Unified Development] gotluck:
Looks like the system partition on the i9505G is too small for the rom + pico gaapps.

Thanks as always for the rom!
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hello again [MENTION=8013334]xperanto[/MENTION], I tried all of your indications without success. It's a bad new for a LOS user, maybe in the future they arrive to make it work

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] gatarax:
well i don't know how to log ... is it in system>options for developers?
[Samsung Galaxy S 4 Unified Development] xperanto:
Sorry to hear that it didn`t work.

I don`t speak spanish but found the according official homepage for the apn settings, so please compare and try these:

https://virgintelco.es/ayuda/movil and select "Cómo configurar internet en un Android".

(you can and should file a request to add virgin telco on LOS`s gitlab or github).

To eliminate other possibilities, did you try another sim from another provider and checked, if mobiledata is working?

If it is working with another sim, it`s defenetly the apn/provider/dataplan.

If it doesn`t work with another sim and provider,too, reflash the latest available

official

stock-rom from samsung for your specific s4-device to get the latest modem/baseband version, try the virgintelco sim (get the apn from settings too, if it works) and reflash LOS. But again, only if your actual LOS-installation doens`t work with another sim, too.
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hello thanks for your answer. It is not a problem if you don't speak Spanish, we understand well in English (even if my English is quite bad [emoji28]).

I know this page from Virgin website and is the first thing I tried after request to customer center.

This phone works well with my previous provider (Movistar) but as I told, I came to change to this new provider.

It's completely new in Spain so could be possible that LOS could update the providers APN list in the short future?

If not, I think that LOS will be not useful for Virgin Telco users (not others Virgin's providers around the world).

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] gatarax:
[MENTION=8031265]kurtn[/MENTION] Hello

I was wrong ,all my excuses ,i did a test today with my other i9505 for more than an hour

And it turns off by itself but same with the usb cable. The problem is not the same as with my other i9505 .The problem comes from an application and and i didn't know which one it was

so i reinstalled the optimized rom but without my data this time.

and i retested and this time my phone never turns off.It works very well

-on the other hand on my other phone i9505, it's a hardware,material problem you were right

because a little over a year ago when it was working very well, one day, suddenly he turned off on his own.

and never wanted to restart again. Even twrp or download mode was inaccessible.

I brought it to a repairman and for 50 euros he repaired it for me.

he said i think it was a problem of power, current...it was a component,but i don't know what it changed

and now, 6 months later, i have a similar problem again

but luckily it still works with the usb cable

I am copying the data from my i9505 on my other i9505 which does not have this matérial problem.

thanks again LineageOs for your superb and fantastics rom
[Samsung Galaxy S 4 Unified Development] rw_on_xda:
Bold changes by me.

to my knowledge: it it not necessarily the case that you get the lastest modem with the lastest (country-/provider-related) official stock rom.

the lastest modem for an 9505 is - AFAIK - I9505XXUHQK1

see ( => date):

https://www.sammobile.com/samsung/galaxy-s4/firmware/#GT-I9505

and here:

https://xdaforums.com/galaxy-s4/general/s4-unified-guides-collection-t3966126

for the last link => comment #2, => expand "MODEMS & BOOTLOADERS"

I guess it was in the "Optimized LineageOS17.1"-thread I fetched the info to flash the lastest modem/bootloader to get "Optimized LineageOS17.1" running.

I further guess - don't know exactly - it's a recommendation for "Official LineageOS" too ???

ping maintainer(s)

Am I wrong ?
[Samsung Galaxy S 4 Unified Development] xperanto:
I hope i don`t annoy you, but i was interested in this too, so i created a single apns-conf.xml with the given information from your provider, which can be loaded instead of the LOS-default one in /system/product/etc/ (technically a telephony.db is loaded with the content of apns-conf.xml and manually edited ones).

Ok, last try:

To do so, boot your phone with the sim inserted and data enabled. create a file named apns-conf.xml with the following content

<?xml version="1.0" encoding="utf-8"?>
<apns version="8">
<apn carrier="Gitanitos Internet" mcc="214" mnc="03" apn="i.virgintelco.es" user="" password="" authtype="3" type="default,dun,supl" mvno_match_data="0008" mvno_type="gid" />
</apns>

... and (the easiest way) push it with adb root to /data/misc/apns/

Of course you can use other methods like nano to manually edit or a root explorer, too. You don`t have to reboot.

Now, go to settings -> Network and internet -> Mobile Network -> Advanced -> Access point names and click ont the 3-dot-menu-button to the top right and select "reset to defaults". This will load the new apns-conf.xml from /data/misc/apns/ and will ignore the default one from /system/product/etc/. Toggle airplanemode on and off and make sure the new apn is selected.

Test it and if it works, good, but keep in mind that roaming wont work, because the list contains only a single provider.

If it doesn`t work, remove the apns-conf.xml from /data/misc/apns/ and "reset to defaults" again. to load the default one.

Additional information:

Normally /data/misc/apns/ is the path where the apn file received via ota from some providers is stored and it has a prority over /system/product/etc/. There are even ones with a "higher priority" i.e. under /oem or /system/etc (not working in LOS). But under /data.. you don`t have to hassle with binding and remounting /system.
[Samsung Galaxy S 4 Unified Development] Osorio1798:
Hi, I install Lineage OS 16 in my S4 JFLTESPR (SPH-R970C) with F2FS in partitions DATA/CACHÉ and work perfectly, today i want install LOS 17.1 i have bootloop, in future builds you added F2FS archives for Lineage OS 17.1? thanks
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hi xperanto, I'll try to do what you told me but I want to tell you that I haven't rooted my phone and I'm noob with ADB because even if I used LOS since LOS14, I always used the easiest way flashing by TWRP.

And last thing, into APN config of my actual phone, into "type" I see "internet" instead of "default,dun,supl".

During my test last days I tried both configs but I had an error with "default,dun,supl"

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hello again, I'm trying to do it but I can't push the file...maybe is because the phone is not rooted or maybe I'm doing something wrong... most probably ?.

So when I execute the command, I receive this (D:\WORK\Movil y Tablet\ADB\platform-tools>adb push .\apns-conf.xml /data/misc/apns/

adb: error: stat failed when trying to push to /data/misc/apns/: Permission denied).

It's my first time I use adb commands so I'm looking how to write but don't know...
[Samsung Galaxy S 4 Unified Development] xperanto:
Great to hear! You are doing fine! You don`t have to root your device with magisk or similar when using adb, you just have to enable it:

https://www.xda-developers.com/lineageos-17-1-android-10-officially-available/

To enable root through adb on your device, simply enable developer options (if you haven`t already done it) by going to settings -> about phone . Now tab on "Build number" five times (a counter will appear) and developer options will be enabled.

Now go to settings -> System -> advanced -> developer options . A new scrollable settings-page will appear. Scroll down to Debugging and enable both "Android debugging" and "rooted debugging".

Connect your phone to your PC, switch from "No data transfer" to "file transfer" in the dropdown-notificationarea.

Now in your commandline-promp from above type

adb root

first. This will restart adb with root-priviliges until you disconnect or restart adb. you can test now by typing

adb shell

what will guide you to i.e. "jflte:/ #" instead to "jflte:/ $ " (# means you are on root-shell,$ user-shell)

exit root shell by just typing exit

Now try your push from above again.

To remove the file again, instead to push, enter

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

(offtopic hint: If you reply to a post, please don`t quote the whole post. shorten it.:))
[Samsung Galaxy S 4 Unified Development] karmadelic702:
Does anyone run into error 70 when trying to install gapps with the nightly builds?
[Samsung Galaxy S 4 Unified Development] gatarax:
[MENTION=10473161]ticktockman123[/MENTION] Hello

I am testing my 2nd galaxy s4 i9505 with this rom and my apps

and unfortunately the same problem as you recurs all the time :

it turns off by itself .

it happens when i browse on google chrome,or app VK or any other application or even looking at my photos....

with the usb cable connected he never turn off

so even if my other s4 had already been repaired, this proves that it is no longer a hardware problem as i thought,because it happens on my 2 galaxy s4 :(

so this is a problem with a conflicting application :( can be magisk? or lucky patcher? or busybox ... i don't know ...

how to send a log please? is it in system>options for developers to do it?

thank you in advance

---------- Post added at 02:31 AM ---------- Previous post was at 02:26 AM ----------

hi,no errors . do you have the i9505 like me?
[Samsung Galaxy S 4 Unified Development] karmadelic702:
No, i have 9505/G
[Samsung Galaxy S 4 Unified Development] karmadelic702:
After reviewing the issue, it appears that the system partition does not have enough free space to install pico gapps. Does anyone have any experience updating the partition sizes? I downloaded the PIT file for 9505g, but could not figure out what values to adjust in an app called PIT Magic that I found. I was hoping to increase the system partition by 200MB and reduce the data partition by 200MB.
[Samsung Galaxy S 4 Unified Development] kurtn:
Thank you [MENTION=3044346]arco68[/MENTION]. Today's update for S4 active improved gps location significantly. Faster fix, higher precision und fixed date rollover bug.
[Samsung Galaxy S 4 Unified Development] Gitanitos:
Hi [MENTION=8013334]xperanto[/MENTION] ,

I followed your guide and...........it works [emoji122][emoji122][emoji122][emoji122].

Finally is quite easy to do but I never touched adb before.

So I tested with your XML file directly => That's work, and putting "internet" instead of "default,dun,supl" => don't work!!

And in a few minutes, I have a beautiful 4G icon in my bar [emoji6].

You have been very helpful.

Enviado desde mi SM-G9730 mediante Tapatalk
[Samsung Galaxy S 4 Unified Development] gatarax:
[MENTION=10473161]ticktockman123[/MENTION]

problem resolved it was my battery which was defective :) i indicated it here in my post #384 :

https://xdaforums.com/galaxy-s4/i95...neageos17-0-v1-0-t4020687/page39#post82867911
[Samsung Galaxy S 4 Unified Development] merlin133:
As i know : save your system/data -> also int store

wipe system+cache+data in twrp (wipe/adv wipe/"data" and "system" repair or change/repair fs)

once i had to format the fs from "data" and "system"
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
JFLTE/JFLTESPR Users

To users affected by the reboot to recovery issue after flashing 17.1 a new fix has been merged and is included in the newest build ( See the merged fix below) . You can now install the rom and disconnect usb cables without the fabled reboot to recovery!! . Thanks to the developer [MENTION=5848265]npjohnson[/MENTION] and others involved for getting this solved . At this point the rom runs perfectly with one remaining issue . The device does not detect the sim card at all so therefore telephony is dead , see attched pics . I would like others to confirm this issue to be sure it's not just my device . If the issue is present then we can log it for the op . As you can see in the pics , No sim card is shown , in the qs menu ,mobile data greyed out and switch to turn on missing and no sim card data available and therefore no phone number or sim status .Thanks

Updated with logcat https://pastebin.com/1zf5JLbC

https://review.lineageos.org/c/LineageOS/android_frameworks_opt_telephony/+/278132
[Samsung Galaxy S 4 Unified Development] MonitorShotput:
I can confirm this issue on my L720T. It existed alongside the reboot to recovery bug, but it was hard to see unless you quickly checked before the reboot. I originally thought that the SIM issue was tied to the rebooting, but after I installed the latest build (lineage-17.1-20200619-nightly-jfltespr-signed) I realized I was wrong. I thought it was just me, so I'm happy I'm not suffering alone ;)
[Samsung Galaxy S 4 Unified Development] Ph3ar.:
Thanks for the confirmation . I logged it and saved the log here https://pastebin.com/1zf5JLbC ... I can log but reading and understanding it is over my head . Hopefully [MENTION=5848265]npjohnson[/MENTION] will find whatever the problem is contained. Pastebin makes you trim and trim the size down to fit the paste limit so I'm hoping I didn't trim out the part to show what the problem might be . Anyone who knows how to read and decipher and see's the problem is sure welcome to chime in. Would love to know the culprit here .Thanks