yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] knojap:
Hello, can anyone explain me the difference between the unoffiial and official version of this rom?

thx
[Samsung Galaxy S 5 Unified Development] cal002:
FWIW, I have disabled zram on my device (commented out the "swapon -a" from /etc/init.qcom.rc and changed zcache.enabled=0 on kernel command line). Based on Google docs suggesting it is for low-ram devices only which apparently means 512MB RAM. IMHO zram is a very bad idea, the only reason to use it would be to run huge apps that can't run without it. But on a 2G RAM device such apps shouldn't exist. Maybe you can try and tell me if I'm wrong. :)

Works fine for me, but I don't use gapps or any other huge apps.

FWIW, I also tried this (Google uses it on Nexus and Pixel), but it doesn't make a difference for me:

--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -329,4 +329,12 @@
<item>SUPL_MODE=1</item>
<item>LPP_PROFILE=0</item>
</string-array>
+
+ <!-- Default list of files pinned by the Pinner Service -->
+ <string-array translatable="false" name="config_defaultPinnerServiceFiles">
+ <item>"/data/dalvik-cache/arm/system@framework@boot.art"</item>
+ <item>"/data/dalvik-cache/arm/system@framework@boot.oat"</item>
+ <item>"/data/dalvik-cache/arm/system@framework@services.jar@classes.dex"</item>
+ <item>"/data/dalvik-cache/arm/system@framework@wifi-service.jar@classes.dex"</item>
+ </string-array>
</resources>

(confirmed in "dumpsys pinned" that it works)
[Samsung Galaxy S 5 Unified Development] fitittome:
It's just that whilst you were away the issue caused much debate. I DO NOT pretend to understand but [MENTION=2693412]haggertk[/MENTION] discovered a fix, deep in the bowels of ZCache, which was causing much of the problems. I think [MENTION=516058]fbs[/MENTION] went off in his own direction to sort out the problems and [MENTION=947981]Lord Boeffla[/MENTION] suddenly announced he was discontinuing support. Since then there has been much debate. But one thing is certain that the S5 is a great device and more than capable of running the latest OS and apps.

I am grateful to all of you, even [MENTION=5110154]fipsy[/MENTION] ;) and everyone else for sticking together and persevering with the project.

PS. The much more RAM issue masks a whole stack of problems IMHO, excuse the pun! :laugh:

---------- Post added at 09:47 AM ---------- Previous post was at 09:02 AM ----------

Which unofficial one? This dev had an unofficial version, before the LOS infrastructure was established, about a year ago. I assume that there are many others out there who compile their own versions, which they may make available, but they won't be 'signed'. You will have to ask them directly.
[Samsung Galaxy S 5 Unified Development] brandon79:
No problem glad I could help
[Samsung Galaxy S 5 Unified Development] kevin527:
What about MMS. I lose data when trying to send picture mail.
[Samsung Galaxy S 5 Unified Development] aogakid:
Theme(pixel ui) or update(7.1.15.I)?
[Samsung Galaxy S 5 Unified Development] aogakid:
add this to build.prop
[Samsung Galaxy S 5 Unified Development] cchri78:
Does not work.
[Samsung Galaxy S 5 Unified Development] Louie Whitley:
can you post a changelog or something?
[Samsung Galaxy S 5 Unified Development] phalkon30:
The developer (and original poster) does provide changelogs, look at his recent posts (like post #849). Or follow cmxlog.com

Sent from my SM-G900R4 (klteusc) running CM13 10.17.16 with xposed
[Samsung Galaxy S 5 Unified Development] Jaanto:
I often have issues with YouTube app on build 2016-11-03 KLTE. Not every time, but sometimes (I think when there has been some app switching going on) when I open YouTube app, be it from another app, notification window or just opening the app from the drawer, the app crashes.
[Samsung Galaxy S 5 Unified Development] htb2050:
Looks like the nighties are just a few days away.
[Samsung Galaxy S 5 Unified Development] dyval:
good news! where'd you get the info? :good:
[Samsung Galaxy S 5 Unified Development] htb2050:
Gerrit.
[Samsung Galaxy S 5 Unified Development] james_rokr:
Problem Solved

I have an SM-G900F (Arab Emirates version)

I was using the 29/10/16 build, last build (03/11/16) solved the dev menu (and CM root) issue, also solved the microSD issue, everything else (gps, wifi, bluetooth) is working like a charm
[Samsung Galaxy S 5 Unified Development] luki7151:
I have been daily driving this ROM since the beginning of November and i am really surprised how stable it is. Obviously there are some already known bugs here and there, like NFC or auto rotation but otherwise it is really stable - no single random reboot since flash. Great work devs.

Also, i have some questions about battery to you guys.

Do you have any problems with wakelocks? I mean, even when the screen is off, battery stats show, that the phone is awake most of the time. I have never seen my phone in deep sleep on CM14, while on CM13 it was regularly showing no activity (FYI, i have the same set of apps since CM13) Could this be connected with FP scanner? I'm using it and i noticed, that it is always active - no need to turn the screen on.

And, last one. Is it just me or S5 charges slower on CM14 than CM13? On CM13 i could recharge my phone to 100% in about an hour, and now it charges ~25% in the same amount of time. Using original battery and charging brick.
[Samsung Galaxy S 5 Unified Development] haggertk:
I think part of the wake lock thing is that the NFC HAL changed compilation flags, it was defaulting to the wrong chip, and was in a fairly constant die/restart loop. I've merged the fixes and if nightlies aren't started tonight I will post updated builds tomorrow.

I'm not 100% convinced that NFC is fixed, I haven't actually successfully scanned anything (logs show that it's trying and recognizing that something is nearby), but it will at least won't keep restarting.

Also, if your FP sensor is active when the screen has been off for a bit then *something* is definitely keeping your phone awake. Just not the FP code itself.
[Samsung Galaxy S 5 Unified Development] :
yup. something fishy with wakelocks. i have to set 'stay awake when charging', otherwise it may not stay charging...

charging is horribly slow, unless i use usb-fast-charge kernel patch... cm14 takes hours to charge my phone, usb-fast-charge takes 35-45min... but yeah, cm13 by default charged much faster than cm14. idk why though...

about fp scanner, you could always disable it and/or remove it's kernel module to see if their is a difference. i dont use it, so i have no idea...
[Samsung Galaxy S 5 Unified Development] bbeds:
Just a random question. If nightlies do start is there anything that we would need to do to get started on that. This is my first time starting out in the alpha development of these builds.

By the time I started using cm13 it was already on nightlies so the cm updated took care of everything. Is it the same case here?
[Samsung Galaxy S 5 Unified Development] thunder2132:
14.1 is working great on my kltespr using Ringplus (I flashed the ringplus fixer). Thanks [MENTION=2693412]haggertk[/MENTION] !
[Samsung Galaxy S 5 Unified Development] haggertk:
Officially: It's best to clean flash

What I will do: Dirty flash back and forth between my unofficial and the official nightlies as I'm working off things.

If you are on my latest build for your device and everything us working well then you either already dealt with whatever database deletion was necessary or you came in after that point.

In any case, be prepared to have to do a full wipe if things turn into a giant suck-fest of force closes. Shouldn't happen, but it can even during the course or normal nightlies if someone accidentally merged something bad.
[Samsung Galaxy S 5 Unified Development] haggertk:
Is this fix some kind of apn update? If so, and this goes for anyone who has to do this kind of crap, please PM me whatever you have to do and I'll work to push it upstream. As long as it looks reasonable.
[Samsung Galaxy S 5 Unified Development] thunder2132:
Yep, it's a flashable APN update, I'll PM you the details. Thanks!
[Samsung Galaxy S 5 Unified Development] javelinanddart:
Leaving at the linux default was good enough for me back in October/November of last year, during the 14.1 bringup. That's what I'm going to be testing for now.

haggertk originally added ZRAM because he couldn't use pandora in the background and do anything else. FWIW, Google also uses ZRAM on marlin. Maybe I need to look to see what kind of special tweaking Google did.

The zcache fix that I think you're referring to was a mismerge in the kernel rebase -- lowmemory killer wasn't taking into account swapped memory pages, which meant it was far more aggressive than necessary. That was caused by the reintroduction of adaptive LMK. In the process of removing Samsung's changes to apply the adaptive LMK patches, that was (erroneously) removed as well.

As for swappiness, I guess we'll just have to see whether or not lowering the swappiness gets things back to the way we want.
[Samsung Galaxy S 5 Unified Development] Saber:
[MENTION=5795145]javelinanddart[/MENTION]

Is it possible that we haven't completely killed off Samsung DVFS? Or is the following patch not required anymore with the new kernel base? I checked gerrit, it says it was merged (in the old kernel base), but I can't find it in the github repo. Cheers.

https://review.lineageos.org/#/c/101218/
[Samsung Galaxy S 5 Unified Development] haggertk:
It's not in the rebased kernel at all. Honestly, the old kernel was a mess and I didn't want to carry the baggage of potentially needless changes.

I purposely didn't re-pick everything in it, only features that had an obvious effect (that I could remember). When I tested the change the first time I saw no meaningful difference either from performance or endurance perspective. I am always open to reassessing things, but until we know there are no more Samsung source drops, I'm going to lean even more strongly towards "no changes, even eviction of Samsung cruft, without demonstrative benefit" than normal, if only to minimize merge conflicts.
[Samsung Galaxy S 5 Unified Development] fitittome:
New 3.2.0-0 TWRP is out. It seems to work fine on klte, unless of course, anyone knows better.
[Samsung Galaxy S 5 Unified Development] AxelCC:
does aroma installer work?
[Samsung Galaxy S 5 Unified Development] fitittome:
Aroma is obsolete and not supported. It is not compatible with TWRP 3.2 or any recent versions afaik.
[Samsung Galaxy S 5 Unified Development] phvo:
Hello

I'm freshly on lineageos 14.1 and I live a very good experience with this rom.

But I face to a problem : in cm12.1 the path of my external card was identified as /storage/sdcard1.

In lineagos 14.1 the path of my external sdcard is /storage/3965-3034.

So i'm very embarrassed because several apps didn't recognise my external card with this path.

Would someone be so kind to explain me a remediation to this situation with the path ?

Thank you in advance for the help

Best regard
[Samsung Galaxy S 5 Unified Development] SuperSandro2000:
It is strange that aroma works on my s8 because the device is way newer.
[Samsung Galaxy S 5 Unified Development] fitittome:
I was just repeating what the TWRP guys were saying. Track down the Aroma guys and ask!
[Samsung Galaxy S 5 Unified Development] SuperSandro2000:
When was the last aroma update? 2013 or so? Don't think they update anything... But this goes way to much ot
[Samsung Galaxy S 5 Unified Development] javelinanddart:
THIS IS ONLY FOR DEVICES RUNNING THE KLTE BUILD! OTHER VARIANTS MAY NOT WORK PROPERLY BECAUSE OF HARDWARE DIFFERENCES!

So, I'm releasing the test boot.img with lowered swappiness: http://downloads.codefi.re/jdcteam/javelinanddart/klte/kltelowerswappiness.img

No need to wipe anything, just use TWRP's install image function to flash it to the boot partition.

This will overwrite magisk/supersu/anything that modifies the boot.img. While I HIGHLY discourage anyone from using those modifications, if you are using them, and want to keep them, you'll need to reflash them after flashing this boot.img.

If you face lagginess after a while of using your device, you may want to give this a try.

So far, I've been getting positive feedback from [MENTION=7978913]fitittome[/MENTION], so I'm hopeful this will perform well.
[Samsung Galaxy S 5 Unified Development] bytes2bits:
If it works out would there possibly be a version for kltedv (Sprint) eventually? Also, if you don't recommend using SuperSU what is the best way to obtain root on this ROM?
[Samsung Galaxy S 5 Unified Development] javelinanddart:
Yeah, I can compile a kltedv one eventually. The official Lineage addonsu that can be found here: https://download.lineageos.org/extras is my recommended way to obtain root
[Samsung Galaxy S 5 Unified Development] fitittome:
If you reall y want to scare yourself

I found this Packet Capture app. It acts as a man in the middle for SSL so you can see all the data Google, for instance, captures from your device. Even though I have good privacy awareness, it is shocking!
[Samsung Galaxy S 5 Unified Development] Servus Pauperis:
The situation is this,

i returned the efs file on my S5,

now that I have a signal in the outside,

but as soon as I get in the house

the complete signal disappears,

while at the same spot the second mobile phone has LTE signal,

is they're a solution?
[Samsung Galaxy S 5 Unified Development] omgbossis21:
After restoring efs even if on the latest I'd reflash the modem, if not bootlader as well just to be sure.
[Samsung Galaxy S 5 Unified Development] riphamilton:
for the record, what's the latest G900T modem firmware (as of the time of this post).... QC2? thanks!
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Yes...

The latest one is QC2 as of April 2017.

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I'm still on pi1, guess I need to track down the newest myself and take my own advice!

---------- Post added at 05:20 PM ---------- Previous post was at 05:11 PM ----------

Can't edit my post on Tapatalk for some reason but if anyone needs the T-Mobile latest -

https://www.dropbox.com/sh/mfic9spco4wr7ef/AABGldcY2YSBEiYK0S9pkuG8a?dl=0
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
The G900T & G900T3 modem updates are actually located on the following thread too.

https://xdaforums.com/showthread.php?t=3574276

Just an FYI option for those who may not be aware of this... :)

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
When I take screenshot while listening to music via headphones, the heaphones stop working and music resumes playing from the phone speaker. Then I have to remove headphone from jack and insert it again. Is it happening with other people too? It looks like a bug. It happens only on LineageOS and not on RR.
[Samsung Galaxy S 5 Unified Development] fitittome:
File a BUGBASH if you are quick. https://wiki.lineageos.org/bugreport-howto.html
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
Can't no option apart regressions while filling out form
[Samsung Galaxy S 5 Unified Development] fitittome:
Bah, I guess Midnight UTC on Monday means 10 hours ago..... Next bugbash is from midnight Friday.
[Samsung Galaxy S 5 Unified Development] emacsomancer:
mobile provider string/display?

Is there a way to change the mobile provider string? I'm on Ting, but it displays as T-Mobile (of course, they're using T-Mobile as the backbone). Minor thing, but curious if it can be changed.
[Samsung Galaxy S 5 Unified Development] fitittome:
I am certain it can be updated. there is a huge file called apns-conf.xml with them all in. What you need to do is goto settings Wireless & Networks->Mobile Networks->Access point names->Tap the one that you are currently using, which you know works!

Many of these are not set, but make a note of those that are, normally (but add any others):-

Name:

APN:

MCC:

MNC:

MMSC:

MMS Proxy:

MMS Port:

APN Type:

APN protocol:

APN roaming protocol:

MVNO Type:

MVNO Value:

Then you need to submit it as a JIRA. I would file it as a regression. ;)
[Samsung Galaxy S 5 Unified Development] javelinanddart:
Regarding the swappiness patch: It will make its way into this week's weekly. I was temporarily without an s5, but I have one in my hand now, and I'll give it a whirl to see if I can still find any lag I was seeing before.

I have received feedback from fipsy on lowering swappiness, I'll try that as well when I'm done testing the new swappiness value that has just been changed.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
What is the new value for swap?
[Samsung Galaxy S 5 Unified Development] javelinanddart:
60
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Wow performance is now really improving after I changed its value in kernel audiutor then reboot.
[Samsung Galaxy S 5 Unified Development] paulcarroty:
OnePlus Camera was updated. IMHO the one of the best for S5.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
But flash and selfie doesn't work
[Samsung Galaxy S 5 Unified Development] paulcarroty:
Selfie works now.
[Samsung Galaxy S 5 Unified Development] fipsy:
I can confirm that. Swappiness is a narrow ridge and needs to be well balanced. There has to be a compromise between swapping on one side and the Low Memory Killer (LMK) on the other. If the swappiness is too high and free memory becomes low, the system is only busy with swapping and becomes slow. If the swappiness value is too low, memory runs full too fast and large background apps are thrown out too early by the LMK.

I don't think there is an optimum value for every purpose. I have only noticed that with a device that is heavily loaded by many (large) apps, a swappiness value above 45 is problematic, because it will very soon come to "continuous swapping" and the device will then slow down. Below 45 I have not yet noticed these problems. However, this only applies to the LOS kernel. For other kernels, other optimal values apply (e. g. for Boeffla in my opinion 30 is the best value).
[Samsung Galaxy S 5 Unified Development] fbs:
I have huge slowdowns even with swappiness at 30, but they only occur after a long time not using an app

ie: I slept while using whatsapp. In the morning, whatsapp is slow as hell. all cores at the maximum clock for like 2-3 minutes trying to remove it from swap!
[Samsung Galaxy S 5 Unified Development] fipsy:
I can also confirm this. This is a good description of the problem! I've also noticed it when some apps are not used and running for longer in the foreground (not only WhatsApp, but also the Chrome Browser and other apps). But it's only occasional and seems to be independent from the swappiness value. Therefore, I guess the reason for this problem may be somewhere else.
[Samsung Galaxy S 5 Unified Development] startas:
Will bad battery life ever be fixed ?
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=2693412]haggertk[/MENTION]

https://android.googlesource.com/platform/cts/+/android-7.1.2_r36

New 7.1.2 revision since a long time :)

Regards

Sent from my SM-G900F with Tapatalk
[Samsung Galaxy S 5 Unified Development] fitittome:
What's your exact model number and baseband version?

---------- Post added at 09:25 AM ---------- Previous post was at 09:08 AM ----------

I would guess that would be down to Whatsapp just being poorly written, spewing memory leaks just like Windows apps are notorious for. You guys all know much more than me about memory management on Android, so I won't preach. But, I just get the feeling that more RAM (upgraded machines) gets thrown at these apps almost in the hope that the problems will disappear!

So for daily use I use slimmed down equivalent apps. As they are normally wrappers using Webview so they have a much smaller footprint memory wise and also much, much better from a privacy perspective. FWIW here are my main apps:-

Lightning Web Browser

Slim Twitter

Slim Facebook

Reddit

I don't use, or have an alternative for Whatsapp. I did try to get the family using Signal (which is brilliant) but our mobile data coverage in rural Gloucestershire is patchy to non-existent in places, so I gave up. It's somewhat ironic that my eldest goes to school a stones throw from GCHQ!
[Samsung Galaxy S 5 Unified Development] systemcrash:
After 48 hours - no differences perceived. I run small simple apps, *plus* messenger for FB, Viber, and Chrome. Gapps. Each of which is sandboxed, and does not have permission to run in the background, start at boot, nor wake the device.

I came from haggertks ALMK boot img from 3 months ago.
[Samsung Galaxy S 5 Unified Development] saski4711:
Hello,

does this ROM support HD-Voice (AMR-WBS, not VoLTE) for bluetooth HFP? In other Words if my bluetooth headset supports WBS (wide band speech), will the klte be able to deliver it? Many devices with LOS ROM force a narrow sample rate resulting in a very poor voice quality.

Forgive the question. I'd like to flash this ROM on my device but before I trip knox I need to know If HD Voice calls over bluetooth is supported.

Thx a bunch!
[Samsung Galaxy S 5 Unified Development] fitittome:
From info in Gerrit it shows that for ktle:-

WBS is enabled in the Bluetooth Stack and SCO WBS samplerate is 8kHz

I think you are going to have to check out your particular combination yourself.
[Samsung Galaxy S 5 Unified Development] saski4711:
Thanks for the quick reply. Stupid question: Doesn't SCO WBS 8KHz automatically mean narrow? I thought you'll need to have 16KHz for WBS, right?

https://review.lineageos.org/#/c/178371/
[Samsung Galaxy S 5 Unified Development] fitittome:
I guess it works for voice calls in car...... idk anymore than that.
[Samsung Galaxy S 5 Unified Development] Raynelfss:
Hi guys. I'm so happy with this ROM, I'm like... Where have this been my entire life. This ROM is as smooth as butter. I have more free space. A newer version of Android with high customization opportunities. This is fresh and free guys. I have no words to describe how happy I am with this ROM. My S5 never felt happier (if it had only feelings I'm sure it would say that :D). But as every great things in the world it has some mistakes. But after that, guys... You've done a really great job with this. Thank you so much for bringing this phone back to life with this ROM. You're great, keep being great devs.:good:
[Samsung Galaxy S 5 Unified Development] liquidraver:
Same here! After installing 20171130 it jumped up to 2%/hour drain from around 0,5%.
[Samsung Galaxy S 5 Unified Development] marchnz:
Re. Core 4 (kltedv) full frequency at idle. From the suggestion s here I tested [Smart pack] Kernel, disabled Hot plug [MPDecision] and enabled [Intelliplug] - this has solved the problem and fully restored battery life.

The S5 has never been better.
[Samsung Galaxy S 5 Unified Development] j1gga84:
I think this is kernel related because with MPDecision and interactive governor for example one core is running with max frequency in idle mode all the time..

regards
[Samsung Galaxy S 5 Unified Development] fitittome:
Not withstanding other grumbles about CPU3 locked at max, Baseband and Bootloader combinations also affect this. Make sure they are upto date and matched.
[Samsung Galaxy S 5 Unified Development] fipsy:
I use the actual bootloader and modem. Nevertheless, only with LOS kernel CPU3 is stuck at max. frequency. In my opinion this problem is definitely kernel related.
[Samsung Galaxy S 5 Unified Development] fitittome:
The CPU issue certainly is, along with the MPDecision issues (esp. if you use KA). But remember the older bootloaders cause more battery drain and other issues too. There have been quite a few users elsewhere complaining of excessive wakelocks (battery drain). Merely upgrading the Baseband and Bootloader (which rarely gets routinely done as far as I can tell) makes them more than happy. :)