yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
So I am actually running A Nougat not this Oreo Rom, but I am sure I read somewhere here that some people were having problems with GPS during navigation, while others said they got great GPS using the test apps. Well, that was my problem exactly. The GPS worked great in the test apps, but during navigation it kept loosing the fix and then getting it back:mad:

Anyway, I used Google Maps Navigation (not my normal app), and in the bottom right there was a round "GPS Symbol" image that I thought would re-center my view. However, when I pressed it, it came up with a compass calibration instruction telling me my current compass was badly calibrated. So I did the figure eight thing as shown (a little longer than what I expect it) until the calibration was good. Now the navigation fix is rock solid; however I have only used it twice, but previously it would loose fix 5-10 times over short journeys.

Moral of the story, if your GPS Fix is questionable, calibrate your compass. It really helped mine.
[Galaxy S 4 i9506 Android Development] jsson98:
Has any of you guys got xposed to work with this rom?

I tried xposed-v90-sdk27 for arm and the 3.1.5 installer app but recived a message in the app that said that the framework was installed but not active.

Anyone that knows how to solve this?
[Galaxy S 4 i9506 Android Development] achlys75:
Hi!

Is your device rooted?

It works fine for me with the 90-beta3 and I use the Xposed Installer. But I have to reinstall the framework after every time I update the rom. But that's quite simple with the installer.
[Galaxy S 4 i9506 Android Development] jsson98:
Big thanks, this worked wonderas and i now have +-7 meters in accuracy :D :good:

---------- Post added at 03:38 PM ---------- Previous post was at 03:35 PM ----------

Yes, i have rooted it with magisk v16,0
[Galaxy S 4 i9506 Android Development] :
Interesting because without the gps.conf postedt by [MENTION=1901473]supachris[/MENTION] GPS is simply broken for me. It's not even about speed or accuracy, I just don't get a fix with GPS test apps and with my running tracking app. But with the file it's all working just fine.
[Galaxy S 4 i9506 Android Development] Hemuli:
In case you are still wondering about the capabilities part, the difference between 0x37 and 0x31 is that 0x37 has bits 1 and 2 enabled. According to the commented part, these are MSB and MSA. These are A-GPS features: https://en.wikipedia.org/wiki/Assisted_GPS#Modes_of_operation

To me it looks like, on GPS Test app, the amount of satellites "In use" is always the same as GPS satellites with a signal bar. I know this is vague but it looks like GLONASS satellites are not in use even if their signal is found. Can someone confirm?
[Galaxy S 4 i9506 Android Development] noob403:
Thanks for the tips, but it wifi keep dropping after reboots if I mange to rebooting. I have tried everything and still cant make it work. ROM+ Root=wifi works so and so. ROM+ PICO GAPPS = no wifi , ROM+ROOT+GAPPS=*****y wifi comes and goes as it like.

By the way when I try to format the internal it says it cant do it do to some error.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I can confirm that I NEVER get a GPS lock using GLONASS satellites; even when their signal is clearer/stronger than GPS (ie higher S/N). I have also checked on another phone (N5, running RR Oreo) and it too does not use GLONASS satellites to get a fix. I think someone above posted that it may have something to do with the east-west crap (GLONASS being Russian).:mad:

---------- Post added at 10:16 AM ---------- Previous post was at 09:43 AM ----------

The question is not what, but why. We can all read the few lines directly above the actual changed value:p
[Galaxy S 4 i9506 Android Development] nhihoppro:
I use the bootloop problem when booting to the Samsung logo it is repeated when the power. I have to remove the battery and then re-start the normal boot. I use the S4 E330L hoping to fix the next build.
[Galaxy S 4 i9506 Android Development] Hemuli:
I found this possibly related reason for why LineageOS for S5 has seemingly same problems: https://jira.lineageos.org/plugins/servlet/mobile#issue/BUGBASH-383

Maybe the story is similar for us.

I'm able to get a fast fix after choosing a local NTP server. I read that using too many servers may have an inverse effect, so I chose two with the lowest latency. Enabling those A-GPS features doesn't seem to hurt either.
[Galaxy S 4 i9506 Android Development] supachris:
Did anyone observed any changes in BT behavior? I had massive BT disconnects and afterwards BT stopped working completely until reboot with 15.1

So I had to switch back to 14.1 but without new builds and security is March 2018 :(
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I had a fc of bluetooth service.. Didn't have time to logcat since i was in the car (phone connected to bluetooth radio in the car)... I will investigate this further later...
[Galaxy S 4 i9506 Android Development] Chris Miller94:
​

I have this problem too with BT, connection losses and sometimes Bluetooth Service crashes.

Another problem:

Sometimes Magisk /latest stable v16.0/ crashes too.

The Magisk Manager app is working perfectly ,but the root goes away until next reboot.

Its causes many problems, like installed thing by a Magisk Module crashes.

I dont know its ROM or Magisk problem, but very annoying.

I can send logcat later
[Galaxy S 4 i9506 Android Development] Alsec:
Someone can help me?

Why i cant install google camera 5.1 apk with lineageOs15.1. ???

I download the apk and than press install apk and the end of the progress not installed just write ,,app isnt installed"
[Galaxy S 4 i9506 Android Development] zubair1836:
Can you please provide me the kernel which is included in this ROM? as a separate flashable zip. :)
[Galaxy S 4 i9506 Android Development] simenious:
I have an issue where I have to boot to recovery and then to System for the OS to load. If I just turn on or do regular reboot it goes into boot loop. This is with the 12th may build.
[Galaxy S 4 i9506 Android Development] wkwk:
Try 27th May build. Issue was fixed on my e330s. It was persistent for the past 4 builds atleast.
[Galaxy S 4 i9506 Android Development] simenious:
Ok, I'll give that a go when I have the time and report back, but it's not really a big problem. Regardless this rom works pretty much flawlessly except for a few quirks which I don't know if are OS related or not (Spotify randomly pauses every now and then, and the SIM card wasn't found on boot once, and sometimes the audio jack stops responding and only plays music from the phone speakers, after unplugging audio jack and later putting it back in), but other than that I couldn't be happier and this really has transformed my phone into feeling like a brand new one although it is like five years old. That said, I upgraded it from the official rom which is like android 4.3 or whatever and it was bloated with all sorts of gross samsungware. So thanks a lot OP, you're a legend.

I don't know what the rules are on this but I also wrote a heimdall flashing tutorial specifically for this phone because I had to manually flash the official update to upgrade my modem after flashing custom rom prematurely here:

https://www.simernes.com/?p=279

Please tell me if this is inappropriate and I'll remove the reference, but I thought maybe it could be useful.
[Galaxy S 4 i9506 Android Development] Ins3rt:
Can I somehow turn on ANT+ sensor? ANT+ tester say my device don't have this sensor. It's very important for me.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-15.1-20180616-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (June 2018 Security Patch).

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
[Galaxy S 4 i9506 Android Development] darkness:
thank you :victory::victory:
[Galaxy S 4 i9506 Android Development] gebaya:
[MENTION=1901473]supachris[/MENTION] [MENTION=7636264]Chris Miller94[/MENTION] There is a commit related to bluetooth included in this build, maybe it will fix your bluetooth issues?
[Galaxy S 4 i9506 Android Development] supachris:
Oh, this sounds good, I will test it.
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Very good....

With this build Trust has been implemented.
[Galaxy S 4 i9506 Android Development] j4br1x:
i have problem sleep of death
[Galaxy S 4 i9506 Android Development] supachris:
Hmmm, I tested, but it's not much better. Once connected it seems to be stable, but often the connect and even the disconnect fails (hangs). Maybe it's partially related to my car stereo, but with 14.1 no issue. My car streaming adapter connects on ignition on and while starting the engine the power drops for 2 seconds or so and so the BT adapter disconnect and connect again. 14.1 has no problem with this, but 15.1 in most cases do not connect the second time. I will try to find another power supply line in my car or buffer the BT power by capacitor to avoid this and after this I will try again Oreo.

Thanks a lot!
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
There should be a cable for holding car stereo settings that is not dependable on ignition
[Galaxy S 4 i9506 Android Development] supachris:
My car stereo only has AUX in, I use a Mpow Strembot for Audio and phone.

So it depends only on the power supply for the mpow. Nevertheless it's better on Nougat, no issues so far.
[Galaxy S 4 i9506 Android Development] kyasu:
Please try this one:

lineage-15.1-20180617-UNOFFICIAL-ks01ltexx.zip

https://www.androidfilehost.com/?fid=962339331459001031

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-15.1
[Galaxy S 4 i9506 Android Development] jegogo99:
Great job. I don't have any issue, but with last build, battery drains more quickly than previous build

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] lospuegos:
is it possible to show three rows in the statusbar thingy up there, like in nougat?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Last build, do you mean 0616 or 0617?
[Galaxy S 4 i9506 Android Development] jegogo99:
0616

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] lightningrev:
when rebooting is not included the first time
[Galaxy S 4 i9506 Android Development] supachris:
I will test in the next days.
[Galaxy S 4 i9506 Android Development] supachris:
Thank you! It seems to be fixed. I have no connection issues with this build. I will test the stability over some time.
[Galaxy S 4 i9506 Android Development] kyasu:
Thank you for your feedback. I updated the first post to refer to the 20180617 build.
[Galaxy S 4 i9506 Android Development] khalvat:
Thank u kyasu. You are the best:good:. This is very nice rom;)

I have a question: can make for this device i9506 vendor part for suport treble project? And whatsup about lineage os 16?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I've been testing today, and the BT buffer problem i was facing on los 14.1 builds and earlier 15.1 builds seems to be gone (problem was when streaming to car stereo, after around 15 minutes it sounded like a buffer error and the audio started to stutter)..

Very nice!

I will test further!

Update: I've been testing more today, and I've had no bt issues so far.
[Galaxy S 4 i9506 Android Development] DonAndress:
Does anyone face this random reboot issue when the battery is 100% charged but still plugged in for a while and idle?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Not now but i had a battery with manufacture error that made the phone reboot randomly. I switched back to the old battery, and everything worked fine (still is).
[Galaxy S 4 i9506 Android Development] Chris Miller94:
I updated the ROM a few hours ago.

Bluetooth issues is solved, i havent issues until now.

Except one thing: I hear noises when i want to call with my bluetooth headphone.

I use Google Dialer v20 latest, settings is fine.

Anyone has this issue?

Magisk is better now too.

I dont know Magisk root loss problem was caused by Magisk itself or ROM but its fine now
[Galaxy S 4 i9506 Android Development] maxaa:
Hi,

with 0617 callings with BT car handsfree is not possible. It comes only noise. I flashed 0616. Here the BT car handsfree work fine.

Best regards Max
[Galaxy S 4 i9506 Android Development] djrys:
in the mail application, how is Exchange missing in the settings, could it be added in the next version?
[Galaxy S 4 i9506 Android Development] DonAndress:
Yes but what I have on 14.1 are not just random reboots. In my case reboots happen only when I leave the charger plugged in and the battery is already 100% charged.

Additionally:

- is the phone unlock instant or with a delay like on 14.1?

- does the camera start instantly or with a delay like on 14.1 (I'm aware that only one camera app actually works so far)?
[Galaxy S 4 i9506 Android Development] :
The phone has the same delay when waking up. Camera opens instantly tho, big improvement imo. And by now all camera apps should work. Also the torch quick settings tile is working without bugs, which has also to do with the improved stability of the camera.
[Galaxy S 4 i9506 Android Development] supachris:
I can confirm this. A2DP works fine, but HFP produces noise only.

I reverted back to my 14.1 build for now.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
More a workaround than a solution. However, I recently noticed an app here on XDA that implied it stopped your phone from fully charging. ie it stopped the charge before it reached 100%. I think that's what it did from the skim reading of just the title of the thread... https://xdaforums.com/android/apps-games/root-battery-charge-limit-t3557002
[Galaxy S 4 i9506 Android Development] strifer.no1:
Hello everyone,

I have tried to install LineageOs 14.1 and 15.1 on my Galaxy S4 Advance (I9506)

But I have a signature failed error on both of this ROM.

I have installed TWRP last version with Odin.

I don't know why, but I don't have the touch version of TWPR, and I don't have the setting to disable the signature verification.

Someone can help me ?

Thank you in advance :)
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I have no delay when unlocking when phone is not in deep sleep. No camera delay.
[Galaxy S 4 i9506 Android Development] DonAndress:
Perfect, thanks.

I got one more ;)

When I use whatsapp I often have an issue with a top bar (with clock, battery icons etc). It just disappears and everything on screen is locked and to unlock the screen I have to put this top bar down (yes, it's not visible but it's still there) and only then screen unlocks again.

Is this present in 15.1? :)
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Never happened to me on 15.1... (And i use whatsapp too)
[Galaxy S 4 i9506 Android Development] kyasu:
I also confirmed BT call noise in 0617 build. I reverted BT firmware update and updated BT config files.

lineage-15.1-20180622-UNOFFICIAL-ks01ltexx.zip

https://www.androidfilehost.com/?fid=818222786056041219

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-15.1
[Galaxy S 4 i9506 Android Development] BarryViper:
Anyone experienced mobile data gets disconnected?
[Galaxy S 4 i9506 Android Development] DonAndress:
[MENTION=4861355]kyasu[/MENTION]

Just theoretically, is it possible to create certain map of sound distribution?

I mean like: ringer sound to loud speaker, music player app to jack, Google maps app to BT speaker etc.
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Yes... An x is showing on the mobile network icon, right? It seems to be happening at times when you move the phone out of range of a connected wifi network....

I then enable airplane mode, and disable it after 5 seconds, then mobile data works again.
[Galaxy S 4 i9506 Android Development] BarryViper:
Nope, my mobile data icon got greyed out completely. No x displayed. Turned off wifi, put device on airplane mode for awhile then switched it back off still no mobile data. Pulled out battery, removed my sim card, put everything back on and rebooted my device but still no luck. Had to flash my backup prior to this rom and that's unfortunate.

Side note: I flashed RR-O-v6.1.0-20180615 and also got the mobile data issue. Well, guess it's just my device maybe.
[Galaxy S 4 i9506 Android Development] Chris Miller94:
[MENTION=4861355]kyasu[/MENTION]

Its possible to remove the yellow dialog: "Set warranty bit : kernel" from boot screen?

And could you do some workaround about languages?

I mean I'm hungarian and i use hungarian language in my phone.

But some things in Menu and Power Switch dialogs shows up in English.

I think this parts of system is not connected to the global android language directory and doesnt translated to the system language.

I think this is not just your ROM problem, its missing from the global Lineage source.

Could you fix this little 'issue'?

Thanks your awesome work. ?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Update: the stuttering is still there, but starts at around 30 minutes...
[Galaxy S 4 i9506 Android Development] DiamondJohn:
If I am not mistaken, that is from your unlocked bootloader. The booloader is closed source, and not part of the ROM. ie the rom cant change it.

Languages are normally corrected in the LineageOS source. Kyasu would have to maintain a LOT of code to independantly update Hungarian specifically for his specific ROM builds.

The languages are normally crowd sourced (ie by users like you). So if you wish to contribute/correct any, I am sure that the LineageOS team would be very happy to have your input. see: https://wiki.lineageos.org/translate-howto.html
[Galaxy S 4 i9506 Android Development] kyasu:
There is no such audio config file to my knowledge. As you might know, mixer_paths.xml defines audio input to output paths based on scenario (use case), not based on applications.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
To an extent, in that it would not be a global map, it is actually possible, but I think it would mean a modification to the actual individual apps. For example, I use Waze for Navigation, and it has an option to route the audio instructions to the phone speakers, instead of the headphones jack, when there is something plugged in.
[Galaxy S 4 i9506 Android Development] DualJoe:
When using VLC or MX Player in background mode (screen off) with wifi source (internet radio, lan) audio stops after 5-10mins. This doesn't happen when the file is local. The wifi power profile might be wrong. It doesn't happen on CM13. Turning off 'battery optimization' doesn't help.
[Galaxy S 4 i9506 Android Development] Chris Miller94:
Thanks, it was very helpful for me.

I had an idea its not Kyasu's ROM problem, its in the Lineage Source.

Because its just those things, whiches added by the Lineage OS Team to the original Android source.

I will check your link, and contact with Lineage Team
[Galaxy S 4 i9506 Android Development] DonAndress:
Hmm so in theory it is possible to create an app which would hijack sounds from applications and the route this sounds according to the settings?
[Galaxy S 4 i9506 Android Development] kyasu:
I don't know about RR init system. Just try it.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
The build just finished, and I tried flashing it, and now I am not getting that error in my last_kmsg, but it still bootloops :(, and is searching for other files its not finding. more work for me :)

I re-checked an official LineageOS 15.1 device, and found that similar changes to the above have been made between 14.1 and 15.1

https://github.com/LineageOS/androi...mmit/5a7380f666266ed37a0206c32844828d762fc525

I have no idea why it was changed or how it affects LineageOS, but it would maybe seem like the thing to do.

Obviously it does not seem to make a diff on this device for standard lineage, since people are booting fine.

PS: Thanks for all your work on this device. It was great being able to use your trees to build a Nougat RR:good:
[Galaxy S 4 i9506 Android Development] lospuegos:
THX for the new build :laugh:
[Galaxy S 4 i9506 Android Development] kallakanxha:
Maybe I messed up something with substratum lockclean or subtweaks, but from first pre alpha until this last build options to snooze or turn off

alarm are not visible.I have to go to clock app to turn it off. I uninstalled them but it is the same.
[Galaxy S 4 i9506 Android Development] h4kuna:
LTE looks like does not work

Hello looks like LTE does not work. I used 5 months October build Lineage OS 14. Yesterday I installed lineage 15. My operator in Czech is O2. I tested in two cities. Maximum is H+.
[Galaxy S 4 i9506 Android Development] Revolted5:
Thanks for the ROM, still no fix for the WI-FI going off while the phone is idle?
[Galaxy S 4 i9506 Android Development] supachris:
First of all: Many thanks for the hard work.

I tried the 15.1 ROM and it runs very smooth.

I cannot find the developer option for disabling wakup on connect/disconnect charger. Where can I adjust this?

Furthermore I also have more battery usage while in use. Standby seems to be OK.

And the Lockscreen wakeup delay is also present here :(
[Galaxy S 4 i9506 Android Development] DualJoe:
Anyone able to download files with jelly browser (builtin browser)? Looks like the stock download manager doesn't kick in here. Or i messed something up. All apps using system webview doesn't seem to be able to download.

Did you try 'adb shell settings put global wifi_sleep_policy 2'?
[Galaxy S 4 i9506 Android Development] Revolted5:
I've never used the adb shell, I wouldn't even know where to start unfortunately, I'm quite skillful at unlocking, rooting and installing ROM's on phones, provided I don't have to do any programming myself. ?
[Galaxy S 4 i9506 Android Development] DualJoe:
You can use local shell as well by omitting the first two words (adb shell). Unfortunately, the function is not provided by gui in oreo yet if i see it right. For me it helped to keep connections up in screen-off.
[Galaxy S 4 i9506 Android Development] marcinadd:
Go to Settings-->Network & Internet-->Mobile Network-->Advanced-->Preferred network type and set it to LTE (recommended). This should help you :).
[Galaxy S 4 i9506 Android Development] Revolted5:
I'm in a learning mood so I'll go ahead and look up what I need in order to use adb shell and replicate your step, thank you very much for letting me know.

EDIT: After reading and installing everything needed, having a look and testing a few things by myself it seems way simpler than I thought so here is the result, dunno if I did it right but I think so!

EDIT: Well it sure is working, thanks again, this was a huge help and finally made me take the extra step in learning how to do it.
[Galaxy S 4 i9506 Android Development] DualJoe:
Yes, looks correct. But better check your setting with 'settings get global wifi_sleep_policy' or 'settings list global'. I'm not sure if it can be done without root (as you did). Usually you would do an 'su' beforehand so you'd get an '#' instead of '$' as prompt (like on your picture). Needs root addon of course (or Magisk).
[Galaxy S 4 i9506 Android Development] Revolted5:
Weird, I do have root and SuperSU but yes it's working!
[Galaxy S 4 i9506 Android Development] h4kuna:
Much better :)

Thank you...
[Galaxy S 4 i9506 Android Development] DualJoe:
You were not logged in as root though. The rom/permissions are probably in a very early stage (WIP). I don't think generic users (UID >10000) should be able to tinker around with such settings. 'Root' or 'system' should be mandatory.

As long as you have a '$' prompt you are not the root user (UID 0). You can check with 'id'.

Edit: But be aware that this is probably still buggy. It drains battery a lot here when Wifi is kept turn on. Even on screen-off. I probably will revert it to '1'.