[ROM][GT-I9506][ks01ltexx] LineageOS 15.1 UNOFFICIAL for the Galaxy S4 LTE-A

P

PixelChris95

Guest
Thanks you for your continues support of S4-lteA!!
I clean-flashed 20180414 build .
I'm having GPS locking problem . i.e., Gps test shows "NO Fix" (although is it shows 20 Sat "in view", 6 "in use").



Also each time when powering on, it cycles boot logo 2 times , only the third time it succeeds booting ....

Earlier I was using LOS 14.1, all was running smooth....

Any idea ?

Using LOS on my samsung gt-i9506
I have exactly the same problem with GPS. However Google maps still works so it is not too bad (because I won't get lost ;)), but my tracking app for running does not work (tried more than one app).
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
I'm having GPS locking problem . i.e., Gps test shows "NO Fix" (although is it shows 20 Sat "in view", 6 "in use").
...
Earlier I was using LOS 14.1, all was running smooth....
...
I am running my own RR build of 14.1 as my daily. However, I have tested my own build of Oreo crDroid (which uses the device tree from @kyasu) and actually found the GPS to have a more accurate reading (ie <5m) than my daily. What I have noticed is that GPS reception on my daily (14.1) is very sensitive to outside factors eg overcast/cloud cover or, I don't know, maybe Space weather (NB: the suns output could potentially knock out GPS satellites and it does cause radio signal interference, and many warn of electricity transmission possibilities).

I have exactly the same problem with GPS. However Google maps still works so it is not too bad (because I won't get lost ;)), but my tracking app for running does not work (tried more than one app).
That's weird, at least to me, I normally use Waze and/or Here and have found that their ability to get a fix is much weaker than GPS test apps (such as used above, I also use GNSS as it is clearer on which is Glonass and which is GPS). Sometimes I will actually switch over to the GPS test app to get a fix, which is then held/used by the nav software.
 

ranjan838

Member
Oct 18, 2016
5
0
0
bugs in my device

Just installed in my s4 i9506. These are the bugs I found . however,It may be problem in my device only.
1. AM and PM is not displayed in the status bar.
2. Notification light is not allowed for modification in the settings menu for different apps.
3 Infrared remote does not work.
 

supachris

Senior Member
Jul 17, 2009
403
121
63
Dresden
Happened to me once till now. I cleared Bluetooth app memory and rebooted, hasn't happened since.
Thank you. I did also clean up, it works now better, but there are still BT connection drops sometimes. I will see if it's going better in future builds.

Sent from my GT-I9506 using XDA Free mobile app
 

supachris

Senior Member
Jul 17, 2009
403
121
63
Dresden
lineage-15.1-20180506-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).
Sync with the latest LineageOS source.
Video recording is now working.

Changes:
https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-15.1
https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-15.1
Thank you!
Are there any changes to AGPS? The A GPS seems to be broken again. Regardless of the NTP server settings in the gps.conf the fix takes extremely long...2 minutes ore more.

Sent from my GT-I9506 using XDA Free mobile app
 
  • Like
Reactions: Henry G

TheBlackMini

Member
Mar 16, 2010
46
6
0
Pollycentral
Having an issue flashing this ROM...

TWRP 3.2.1-1 flashed by Odin on a stock phone (no root, no prior custom ROM)
TWRP keeps reporting that the zip is corrupt

I've tried
lineage-15.1-20180506-UNOFFICIAL-ks01ltexx
lineage-15.1-20180414-UNOFFICIAL-ks01ltexx
lineage-14.1-20180316-UNOFFICIAL-ks01ltexx
crDroidAndroid-8.1-20180430-ks01ltexx-v4.2-DiamondJohnDroid

any hints as to how to get this going?
 
  • Like
Reactions: jegogo99

supachris

Senior Member
Jul 17, 2009
403
121
63
Dresden
Hm, it seems like the xtra servers now have to be stated in gps.conf again. Strange. With xtra servers here the GPS fixes within some seconds.

Sent from my GT-I9506 using XDA Free mobile app
 

jegogo99

Senior Member
May 31, 2016
209
37
0
Having an issue flashing this ROM...

TWRP 3.2.1-1 flashed by Odin on a stock phone (no root, no prior custom ROM)
TWRP keeps reporting that the zip is corrupt

I've tried
lineage-15.1-20180506-UNOFFICIAL-ks01ltexx
lineage-15.1-20180414-UNOFFICIAL-ks01ltexx
lineage-14.1-20180316-UNOFFICIAL-ks01ltexx
crDroidAndroid-8.1-20180430-ks01ltexx-v4.2-DiamondJohnDroid

any hints as to how to get this going?
You could try with oficial TWRP 3.2.1.0

Enviado desde mi GT-I9506 mediante Tapatalk
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
No Problem! Please share your test results also.
Comparing to the source (and therefore what I would expect to be found from flashing the ROM) at https://github.com/LineageOS/androi...974-common/blob/lineage-15.1/gps/etc/gps.conf You have done a few steps more than you suggest. Apart from supplying NTP_SERVER(s) specific to your region (always a good thing in my eyes), AND un-commenting the XTRA_SERVERS, you also have changed the following:
Code:
[strike]CAPABILITIES=0x3[COLOR="Red"]7[/COLOR][/strike]
CAPABILITIES=0x31

[strike][COLOR="red"]# [/COLOR]ACCURACY_THRES=5000[/strike]
ACCURACY_THRES=2000

[strike][COLOR="Red"]#[/color]SUPL_HOST=supl.google.com
[COLOR="Red"]#[/color]SUPL_PORT=7275[/strike]
SUPL_HOST=supl.google.com
SUPL_PORT=7275
Did you make each change incrementally to see which made the difference? or did you make the changes in a single pass? and therefore not really know which change made the fix, fix it?;)

I *think* the ACCURACY_THRES is in meters, so a value of 2000 (ie 2Km / > 1 mile) is a VERY inaccurate position to accept, and therefore will provide a very quick "fix".
 

supachris

Senior Member
Jul 17, 2009
403
121
63
Dresden
OK, let me explain.

The accuracy threshold is only valid if the intermediate position is enabled.
I have always disabled this.

The 0x37 capabilities came from LOS14.1 releases, I don't know why this was changed.

Until today I had only the 0x37 and the NTP servers changed in comparison to the conf from sources.

Today, I first copied the my conf file and rebooted as usual after update. No fix.

Then I uncommented the SUPL servers, reboot. No fix.

After this, I uncommented the Xtra servers, reboot: Fix ater few seconds. Accuracy less then 10 meters!

For comparison, installed the today's update again, to have the conf from sources, no fix.
Copied the above conf, reboot. Fix.

Strange.

Sent from my GT-I9506 using XDA Free mobile app
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
The accuracy threshold is only valid if the intermediate position is enabled.
I have always disabled this.
I dont think that is the case. To further support this, an accuracy threshold of 0 turns intermediate positioning on. So any value > 0 (unless it is explicitly set) means intermediate position is not enabled. Yet, you have a value for this setting. Try commenting out this setting, and I think you may notice the change even though you have immediate positioning off.

I also have been meaning to play with this value, and your extreme value inspired me to finally give it a go. So I set my value to 20 (ie 20 meters, where I normally get an accuracy of 15 down to 9), What surprised me was that it locked (inside with curtains drawn) pretty quickly, but more surprisingly it got down to 3m accuracy, inside :eek:. I can only guess that it was triangulating better with more satellites of lower accuracy than it previously did with less satellites of higher accuracy. I am also getting a fix in a room (ie inside) that I would previously very rarely get a fix in.

It is definitely acting differently, even though immediate positioning is still off. My understanding is the immediate positioning will mean that a location based solely off network towers (ie not GPS fix) will be reported as a GPS fix, until a true GPS fix is attained.

As for why the changes you saw are in the source, my guess is that the changes were Kanged from another device that may have slightly different hardware.
 
Last edited:
  • Like
Reactions: Hemuli

supachris

Senior Member
Jul 17, 2009
403
121
63
Dresden
Hm, maybe, the accuracy threshold is related to wifi/cell based location assist. I have turned this off, as I don't want to be tracked by Google every step.
So I changed the value also down to 20 and get nearly the same result here for fixing time and accuracy.
20 seconds in house with 6 usable sats and about 10 seconds outside with more sats.
The 0x37 AFAIR were the source settings in 14.1 for this device.

Sent from my GT-I9506 using XDA Free mobile app
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,498
3,557
243
Sydney
Hm, maybe, the accuracy threshold is related to wifi/cell based location assist.
I am pretty sure its not only WiFi/cell as GPS satellites also have an accuracy. Try setting it to 1 and I would guess you will have a very hard time to get a fix. A Wiper fix I think will almost always precede the GPS fix. I think. I haven't actually tried turning it off completely to see if the Network location actually can be totally disabled; without going to Airplane mode. I would not be too surprised if it was still working.

I have turned this off, as I don't want to be tracked by Google every step.
Guess again, as one of the differences you have between the ROM and your modded one is the following
Code:
SUPL_HOST=supl.google.com
SUPL_PORT=7275
which explicitly connects to google server with location information. If you search online you will find lots of information regarding this setting and google being aware of your position. Re-comment these settings if you truly want to reduce googles awareness on you. There are other providers you may be able to use, but from memory they have been mostly device specific such as nokia and sony or network/carrier dependent.

So I changed the value also down to 20 and get nearly the same result here for fixing time and accuracy.
20 seconds in house with 6 usable sats and about 10 seconds outside with more sats.
As you have made a few other changes, they may have a greater effect on your fix time than this setting. ie you are actually getting a fix with less than 20m accuracy. A way to check is to go back to the original conf file and only make this one change. This is why asked if you made the change incrementally or in a batch. Trying to work out what is happening when making multiple changes is not the way to diagnose what is happening, I made this one change independently of anything else, and it has made a big difference. I also remember playing with this figure a few years back (leaving it at 5000m) and it did exactly what it said on the tin. Although my first fix was better than 5000m, it was still over 50m, but super fast.

The 0x37 AFAIR were the source settings in 14.1 for this device.
I am actually running 14.1 RR as my daily, and I too have this same setting. I think I once searched the ROM source for where the GPS settings are read in, but didn't find it, so I am guessing it would be part of the device/Samsung supplied blobs/firmware, which would imply you would be correct in using this setting even in 8.1. IF i am correct, even better would be to check the original stock values.
 

Siggi0904

Member
Jun 19, 2017
9
0
0
Hello,

I try to flash my phone from Lineageos 14.1 to 15.1 in TWRP 3.1.1.0. I cleaned cache, dalvik and data in TWRP.
But I get error 7. In E3004 Line is written that the found device is empty.

What should I do? Pease help me.
 

doirat

Member
Jul 28, 2010
7
0
0
Almost perfect

Hi everybody,

I've installed this rom successfully.
The first time, i've got a bootloop after restarting. This was resolved by going back in TWRP and doing a wipe including the system partition before reinstalling the rom.
I confirm that everything works fine. Indeed, You can get good video with the apps Footej Cam.
Something strange, data connection was only in 3G; but you can easily change that in the option to go into 4G.

I didn't install google apps. I don't want it. I use instead Fdroid (which allows me to install YALP Apps to have apk from play store) and Aptoide. I notice that without google apps you gain almost 1.5 to 2 time batteries!!
However in Android 8, there isn't anymore option to install apk from unknown source. Default File manager do nothing when you click on apk files!
Thus, I activate the developper options. Then in developper option, I have activated "Terminal". Then I've launched terminal and do the following command :
Code:
>> su (go into super user, need to install su addon)
>> cd mnt/sdcard/Download (where aptoide and fdroid apk have been downloaded with the android browser)
>> pm install <name of your apk>.apk
Go back to the main menu android, into your apps; then launch Aptoide or Fdroid and allow them to install apk when android asks you.

The only thing missing is the visual voice mail in the phone app which has disappeared compared to lineage os 13 that I used before (but was horribly buggy with bluetooth).

Big thanks for your Job kyasu!!
 
Last edited: