yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] :
Yes it works great. I checked all the settings that were changed by [MENTION=1901473]supachris[/MENTION] and appart from changing this line "#ACCURACY_THRES=5000" all other changes appeared to be mandatory to make GPS work properly for me. Anyway thanks again [MENTION=1901473]supachris[/MENTION]!
[Galaxy S 4 i9506 Android Development] supachris:
Cool! I'm also not really sure if there is one crucial setting or if this is a combination of some settings. I don't have the time at the moment to further examine this, for me also this conf works very well.

I'm happy that I could help you.
[Galaxy S 4 i9506 Android Development] k3mot:
Anybody have problem with light sensor? Everything else is good. Thx for answers.
[Galaxy S 4 i9506 Android Development] lospuegos:
This is what i get every 5 minutes ... No matter what Rom :( im gonna throw it in the trashbin soon ...
[Galaxy S 4 i9506 Android Development] Siggi0904:
Can anyone help me with these bug?

What should I do?

Great thanks.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
You have to wipe SYSTEM as well when upgrading from Nougat to Oreo. It should be in the OP. ie read and follow the instructions.
[Galaxy S 4 i9506 Android Development] achlys75:
That seems to be a Hardware failure.

Is your SIM Card or are the contacts in the slot damaged?
[Galaxy S 4 i9506 Android Development] lospuegos:
only removed the blue sticker from sim card slot ...
[Galaxy S 4 i9506 Android Development] k3mot:
Everything is ok :) cleaned :)
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Try to clean the sim connector with q-tips and alcohol
[Galaxy S 4 i9506 Android Development] achlys75:
So you have a new device? Did the originial rom work?
[Galaxy S 4 i9506 Android Development] lospuegos:
partially ... sometimes yes sometimes no ... I get a new one soon ... it's a used phone btw.
[Galaxy S 4 i9506 Android Development] achlys75:
So, that seems indeed to be a hardware failure. Looks like machine fatigue. Try to clean the contacts like Sub_Zero suggested.
[Galaxy S 4 i9506 Android Development] VaktBleppe:
S4 is pretty much a terrible phone, when it comes to hardware failures, i have 3 S4 9505,9506,9500 all have sim problems, one random reboots, one camera is messed up, one drains battery in a few hours. Does not matter if on official or LOS. :laugh: So it is something you just need to learn to live with.
[Galaxy S 4 i9506 Android Development] Hemuli:
You can get replacement sim card boards from eBay. They are so cheap it might be worth a try.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Be careful from what you get on eBay for this part. I had an issue with the sdcard/sim card reader and most I found where for an i9505 and not the i9506, Even the one I got which was marked as being for the i9506 was not correct. They are not interchangeable from what I found.

Ha! you should try a Nexus 5. That thing is nothing but hardware failures and bad hardware design.
[Galaxy S 4 i9506 Android Development] Siggi0904:
Hi, I fixed it myself. I updated the recovery and then the installation works great. :D

Actually I have some problems with the built in mail app and some string aren't translated but it's ok.

In mail app I cannot move mails to the spam folder because of that in the popup window with the folders for movement is empty.

I'm connected with IMAP.
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
gapps error

Hi, Everybody! Great thanks to kyasu for amazing firmware, only I have one problem, after installation gapps i restarted and got message: "google service keeps stoping". What is wrong?

UPDATE:

Problem resolved. Dont need to reboot right after flash new rom to configure system. Have to install all 3 packages(rom, root and gapps) at one time and then reboot.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
get a logcat.
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
Problem resolved. Dont need to reboot right after flash new rom to configure system. Have to install all 3 packages(rom, root and gapps) at one time and then reboot.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-15.1-20180512-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (May 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] Pitbull_Raven:
First time flashing on the S4., Trying to recover an old phone for my daughter to play around with. I flashed a stock rom first with ODIN. Now trying to get LineageOS on there. TWRP via odin was ok, but I have to boot into recovery as soon as I flash via ODIN because twrp won't stick. Haven't figured out why yet. Then I try to format system, data and cache. Fails on formatting data. Wiping works though.

Question: do I need to format data for this rom to work? And anyone have a clue why twrp won't stick?
[Galaxy S 4 i9506 Android Development] :
After flashing twrp you need to boot only once directly into twrp. After that it should stay. Wiping everything should be enough to flash this rom.
[Galaxy S 4 i9506 Android Development] schwatter:
Don't reboot after flash. Go straight in twrp.
[Galaxy S 4 i9506 Android Development] Pitbull_Raven:
Thank you both. The ROM feels a bit sluggish. I suppose that's because I am used to my company issued phone. But I'll give it a whirl. Should I do anything specific to make this feel faster?
[Galaxy S 4 i9506 Android Development] :
I don't know what kind of performance you are used to, but in any case I wouldn't say this rom is sluggish. Could be that the CPU was throttled right after flashing and booting up due to overheating.
[Galaxy S 4 i9506 Android Development] lightningrev:
Is the camera fixed? can I turn on the Internet with a single click? Equalizer working?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have flashed a number of ROMs across a number of phones over the years. The first boot, for a while has always seemed a bit sluggish, as android does what it needs to be done; remember, one of the partitions you wiped was also the cache. It takes a few boots till the phone can really be compared for snappiness; including possible thermal throttling effects. Also, its possible to get the full performance from a ROM, some adjustments (eg IO cache) may help; ie its not really the ROM, but the configuration for your use. I don't think I have ever ran any ROM without increasing the IO cache.:p

I haven't tried this ROM. However, I did build a RR ROM from the device tree of this ROM and was pleasantly surprised to find the camera AND the video camera worked :highfive:, so I would assume it also works for stock LOS; I saw there was also a commit relating to media in LOS which may help in part to explain the fix, or not.:silly:

However, in my RR, the built in Equalizer did not work. I did flash ViperFX and got that working, which is the equalizer of choice for me anyway; ie I do not run LOS AudioFX on my daily anyway.
[Galaxy S 4 i9506 Android Development] lightningrev:
where to find viperfx? Thank you
[Galaxy S 4 i9506 Android Development] Pitbull_Raven:
Sure enough, a couple of boots in and a day gone by and the phone feels totally different. Snappier than before with stock rom.
[Galaxy S 4 i9506 Android Development] lightningrev:
I really liked the firmware, thanks for supporting the Galaxy S4

please add here these additions:

digital keyboard row on top as lineage 14.1

Drag the button to clear everything on the bottom to the right

remove the request to disconnect the Internet
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
how can update to new build without loss of data? as i understand if i flash new build in TWRP i will loss all my datas and installed programms.
[Galaxy S 4 i9506 Android Development] :
If you flash the new build without wiping anything you don't loose your data.
[Galaxy S 4 i9506 Android Development] Hemuli:
I flashed from nougat and had zero issues without wiping anything. But always have full backups when you have something you don't want to lose!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
phew... that saved me from more possible embarrassment...:good: of talking rubbish

The other way to access extra features, is to try a more featured custom ROM. Lineage is pretty close to ASOP; well, at least for me.

In ALL my daily ROMs, I run GBoard from the Play store, which optionally has the numeric row on top. That's one of the features of Android in general is the ability to customize without having to modify and rebuild from the source. Your request (using simple methods) would basically affect ALL LineageOS ROMs, not just this one device.

If you are talking about in the recents screen, that feature is pretty common in other more featured custom ROMs, and again, a change here would affect all other lineage devices, not just this one device; the topic of this thread.

I personally do not run LOS, and so, have no knowledge about this, or to be honest understand the effect :silly:

Changes to standard LineageOS feature would probably be best requested in some general LineageOS forum, not on a device specific thread, but as I have said before in previous posts, please note, its all my own opinion, and I do not speak for [MENTION=4861355]kyasu[/MENTION] :D

Well, you were dang lucky! interesting to know it worked for you:good:, but I personally would not be advising anyone to do so the same, and against the OP recommendations; not that anything I say means anything;), particularly over actual personal experience.:cool: there are good reasons its not the recommended path, to dirty flash between android versions.
[Galaxy S 4 i9506 Android Development] Hemuli:
The op does not say you need to wipe anything; it says it's optional. I was expecting I need to wipe something so I did backups but decided to try my luck before wipes. If my memory serves me right, Nougat brought some improvements to rom updates.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
https://xdaforums.com/showpost.php?p=74912498&postcount=26840

Note, you may also need to either change to SELinux permissive or add explicit SELinux allows. ACTUALLY, wait a sec, this rom IS PERMISSIVE:silly: I was thinking of my own ROM builds which are all enforcing on boot,:o

ignore these lines, and simply try flashing the above linked ZIP, and removing AudioFX. Then turn on and configure viper as normal. NB: There is no need to install the drivers as they are included in the ZIP.:good: nor Busybox, as the step its needed for (ie installing the drivers) is included in the zip.:cool: good luck. Let us know how it goes for others, as I personally have used this zip on multiple devices, ROMs and android versions, and it has yet to fail me.

---------- Post added 14th May 2018 at 12:00 AM ---------- Previous post was 13th May 2018 at 11:42 PM ----------

Your right, the OP does not mention it. However, when I did a search, *someone* did recommend wiping the System partition; but it was not a LineageOS authorised site, so a grain of salt.

As for improvements in the install, that is a safe statement, as nearly every component in android gets some improvement along the way, especially between android versions; and hence the loooong change logs.

As an example, If any system databases such as contacts or sms & phone calls etc etc had additional or changed tables or field names had changed between Nougat and Oreo, you could possibly see issues. Sometimes an upgrade of the same ROM from the same android version to a newer build of the same ROM requires a clean flash. And hence, I think you were lucky; but I do believe you it has worked so far for you.

By not wiping system, you have also added the GApps issues in the mix, which are different between android versions; I don't know specifically how:silly:
[Galaxy S 4 i9506 Android Development] lightningrev:
I'm talking about the button to clear all

it is more popular bottom than the top
[Galaxy S 4 i9506 Android Development] darkness:
clear all button
[Galaxy S 4 i9506 Android Development] darkness:
thank you bro :good:
[Galaxy S 4 i9506 Android Development] foxrft:
Can you tell me which weather widget are you using?
[Galaxy S 4 i9506 Android Development] darkness:
Simple weather & clock widget :o
[Galaxy S 4 i9506 Android Development] lightningrev:
here it must be moved downwards
[Galaxy S 4 i9506 Android Development] j4br1x:
my wifi is problem.when idle this wifi auto off
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Search this thread for wifi sleep policy
[Galaxy S 4 i9506 Android Development] j4br1x:
After reboot my device baseband uknown how fix my problem? & my device can't lte
[Galaxy S 4 i9506 Android Development] wkwk:
This is quite common with some builds. Reboot again, the baseband will return.

Else try previous build, it doesnt have this issue, but will power cycle several times at splash screen.

Want to mention that this issue seems isolated to SHV-e330 models.
[Galaxy S 4 i9506 Android Development] j4br1x:
my device is i9506 .
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
problem with GLONASS fix

Hi guys, according to the app "GPS Status" I can see multiple GPS, GLONASS and BEIDOU satellites, but only gets a fix for GPS satellites. I never get a GLONASS fix nor a a BEIDOU fix. I only get a GPS fix, even with a better signal from GLONASS. Does anyone have any ideas that could help me out?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
As far as I understand, a GT-I9596 does NOT have BEIDOU https://www.gsmarena.com/samsung_i9506_galaxy_s4-5542.php

Again, we don't have BEIDOU. As for which satellites are used to get a fix, I cannot remember any GPS test app that actual distinguishes which satellites are used. Most I have seen gives you the number of satellites used, and the strength of each satellites, so you can only assume that the strongest satellites are the ones being used.

Please give a screenshot to show that you know that the GLONASS satellites are not being used.
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
https://dl.xda-developers.com/4/5/0....jpg?key=EAcvU6l6rWtg0fvwxmA6gg&ts=1526428680

https://dl.xda-developers.com/4/5/0....jpg?key=KuIqcL2NUK2wCzgBOwa-MA&ts=1526428690

Rectangular gray are inactive glonass satellites. with stock rom (android 5.0.1 lolipop) glonass working properly(same device i9506) 8 instead of 14 satellites are used to get a fix.. Seems like LOS just do not support glonass.
[Galaxy S 4 i9506 Android Development] jegogo99:
Triangle points are glonass satélite. Working for me

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Just to be clear, I am not running this ROM.

The difference between 8 & 14 satellites is an accuracy of 1m (ie 11m vs 12m), in the screen shot you took. If the device prefers GPS over GLONAS, but gets a similar fix (1m can go up or down over time) then *maybe* its making a choice based on other criteria such as battery consumption. Just a stab in the dark.:confused:

The screen shots you have taken are also 2 different devices. You should maybe compare the gps.conf file; remembering that they are two different devices, and LOS 15.1 has changed the location of some of the settings.

I use this app as well, I have NOT seen any documentation as to what you are assuming. I see the triangles/squares and circles BEFORE any fix is made. ie it does NOT indicate that the satellite is being used, just "seen"/available I think.

I am not saying that the GPS is configured for all it can be, however, the real check of GPS to me is

1. how quickly it gets a fix

2. how accurate is the fix

3. how stable the fix is ie it does not loose the fix once it has one

4. how well it can attain a fix under less than perfect conditions eg on a heavily overcast day

Some of these can be altered by mods to the gps.conf file. The gps.conf file (mostly the NTP Servers) are actually specific to a region, and its one of the first things I modify whenever I flash a new ROM. Most default ROMs are configured for north america or somewhere other than Australia.
[Galaxy S 4 i9506 Android Development] gebaya:
New LineageOS 15.1 build

I'm back to building.

lineage-15.1-20180515-UNOFFICIAL-ks01ltexx.zip (MD5)
[Galaxy S 4 i9506 Android Development] Mikhail Korolev:
enable root and execute command in terminal:

settings put global wifi_sleep_policy 2
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Just my opinion.

I think you should start your own thread/DevDB project. This thread was created specifically by [MENTION=4861355]kyasu[/MENTION] to provide and discuss the builds he does specifically. Posting from two build sources could only cause confusion as to which build experiences an issue.:silly:

In your own builds thread, you should:

1. Provide a link to the source URL's for your builds ie Device, Kernel and Vendor with the ROM of course

2. Explain how your builds are different to the ones provided here by [MENTION=4861355]kyasu[/MENTION] I know he sometimes adds specific repo-picks in addition to the github device tree

4. I would suggest against Mediafire links and substitute with dropbox. Its fairly simple to create a new Google account and get 5GB for free :victory:

Although not "banned", its not welcomed without some suspicion see the posts just before and after this one https://xdaforums.com/showpost.php?p=76490264&postcount=10437

5. You can also put the link through bitly and get a count of the number of clicks (basically downloads) from the link. Which is fun to know.
[Galaxy S 4 i9506 Android Development] gebaya:
I've been posting my builds in kyasu's threads since 2016. I never apply any patches of my own, I just build from his sources as they are. kyasu even linked to my builds in first posts of the 13.0 and 14.1 threads as alternative downloads:

https://xdaforums.com/galaxy-s4/i9506-develop/rom-cyanogenmod-13-0-12-1-unofficial-t3264134

https://xdaforums.com/galaxy-s4/i9506-develop/rom-cyanogenmod-14-1-unofficial-galaxy-t3489779

I don't see a good reason to switch to Dropbox. Mediafire gives me 10 GB for free and it's always been more than enough. It also allows me to view the number of downloads, no annoying bit.ly links needed :p
[Galaxy S 4 i9506 Android Development] DiamondJohn:
As I said it was "just my opinion", I do not speak for kyasu in ANY WAY. And I was not speaking about your patches added, but unless you have received info outside of this thread (or read responses to specific questions in this thread), there have been builds by kyasu with specific repo-picks (ie fixes) which you may or may not have.

Again my opinion, but interesting that your builds links are not yet there yet for 15.1. Maybe contact kyasu to put a link to your builds in the OP as in previous android versions. no need to get overly defensive

It may be great for you, but the end user experience is not the best. I myself use a heavy handed firewall, and log MANY background hosts being contacted unnecessarily when accessing mediafire. I am obviously not alone in my mistrust of meadiafire, as you can read in the links I provided above (XDA mods discussion). What someone accepts as a "good reason" is a personal choice. As for the amount of space, I personally have something like 5 or 6 free dropbox accounts, so am sitting at up to 30GB. Extending it even further is simply a matter of creating another account. I have filled more than one dropbox account.

And what in particular is "annoying" about bitly links? They re-direct without poping up any screens or trying to connect to numerous hosts in the background. ie the experience to the end user is transparent.
[Galaxy S 4 i9506 Android Development] :
That's good news! Btw your build works just fine here.
[Galaxy S 4 i9506 Android Development] YESN3Y:
where can I get Lineage os 15.1 for the GT i9505

Enviado desde mi GT-I9505 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] eccko:
https://xdaforums.com/galaxy-s4/i9505-orig-develop/jdcteam-optimized-lineageos-15-0-builds-t3708586

And

https://xdaforums.com/galaxy-s4/i9505-orig-develop/jdcteam-android-source-project-oreo-t3685231
[Galaxy S 4 i9506 Android Development] j4br1x:
changelog ?

changelog ?
[Galaxy S 4 i9506 Android Development] beppon:
Hello

I flashed this ROM on a i9506 Galaxy S4 and it works lovely, besides that missed calls are not added to the

missed/outgoing/incoming list of calls in the phone app. The list "Recents" of the Phone app remains empty

all the time.

Have anyone seen this problem and know a solution to this?

I dirty-flashed the ROM
[Galaxy S 4 i9506 Android Development] :
I just checked and all calls are logged correctly for me. I assume you have to clean flash this rom to make it work (and fix possibly more bugs by doing so :confused: )
[Galaxy S 4 i9506 Android Development] beppon:
I hear ya. It is my wifes phone so I tried dirty flashing it to steer clear of the "oooh! Now Facebook doesn't work, and where is my photos now?"-drama.
[Galaxy S 4 i9506 Android Development] Moebiusten:
SELinux

Bonjour,

Thank you very much for this Rom (and the former one 14.1 that I actually use)

Just a question : I'm french and I don't understand exactly what means the sentence « SELinux is permissive » ; is there a security problem ?

cordialement,
[Galaxy S 4 i9506 Android Development] Alsec:
14.1 or 15.1

Hi,

i am a beginner and i need some advice.

I want update my stock rom with custom rom. I read a lot about lineage os. My big question is that i should install 14.1 or 15.1.? Which is more stable and which have just some bug. And what is 15.1 problems? (camera dont work? wifi or sim problems?)

i forward your anwser thanks.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Search in YouTube there are numerous explanations in French. Any response here would either be too long or lacking in depth. The more you watch, the more you will understand, and you can decide how much you need to know. View more than one, as the first you pick, may be deficient.
[Galaxy S 4 i9506 Android Development] gebaya:
You're probably right about Mediafire. And bit.ly just does a redirect, yeah. I confused it with adf .ly :D I think I'll take your advice and upload new builds to Dropbox or somewhere else from now on.

I started posting these builds back when kyasu stopped building for a longer period and I wanted to share my updated build. I would like to continue doing that, just providing a current build once in a while, with no additional changes, so I don't think a dedicated thread would make a lot of sense...

Sync with current LineageOS sources, patch from https://xdaforums.com/showpost.php?p=76148580&postcount=276 added.
[Galaxy S 4 i9506 Android Development] Moebiusten:
I'm so stupid !!

Very interesting answer, thank you very much !

I'm so stupid that I never thought to search on internet, particularly on youtube.

Well, I apologize, thank a lot again !!!

PS : nevertheless, if someone else owns an answer...
[Galaxy S 4 i9506 Android Development] marcinadd:
Is this method still working or it is not nevcesary anymore? Maybe Google Pay was fixed in latest build of los? I don't have so much time to test it.
[Galaxy S 4 i9506 Android Development] wkwk:
It works fine, but with one caveat. Every time I reboot the phone I need to do a few random things to get it to work properly. Once thats done it works without any intervention till the next reboot.

I do the following -

1.enter smart lock and make sure all options are visible (sometimes on reboot the smart lock options disappear, need to toggle google trust agent to get the options back).

2. With data on, turn nfc off

3. Start google pay, turn on nfc from within google pay.

4. Toggle data once.

This is usually enough to get it to work properly thereafter till next reboot. Sometimes I toggle the nfc from within google pay again if it isn't working.