yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] haggertk:
It does work on top of a CM tree.

The general compile guide is here:

http://xdaforums.com/showthread.php?p=32965365#post32965365

But if you are looking for the easy-button approach for klte, here you go. I haven't tried on N yet, so this is 13.0 based...

Grab the twrp.xml from here and place in your local_manifests directory. Make sure to change the revision flag appropriately if you are going to attempt to build a 14.1/7.1 recovery:

https://github.com/haggertk/cm_build_stuff/tree/cm-13.0

Pull in the last two commits from here onto your klte-common:

https://github.com/haggertk/android_device_samsung_klte-common/commits/cm-13.0_twrp

breakfast for your klte variant (for recovery it only really matters to select from klte, kltechn, kltedcm, and kltekor) and then mka recoveryimage. When booting into the recovery it will have the red "NOT SEANDROID ENFORCING" message because I'm not about to create a mkbootimg just to append a string to the image just to remove something that doesn't impact functionality.
[Samsung Galaxy S 5 Unified Development] pitr134:
Just installed the cm-14.1-20161217-NIGHTLY-klteduos.zip and the second SIM is not working, so you have to remove the SIM card from the device in order be able to use one sim
[Samsung Galaxy S 5 Unified Development] haggertk:
Several maintainers have mentioned issues with soft restart, which is essentially what you are doing. I haven't looked into it terribly much myself.

I checked out that change and seems to work for me. I want Ozzy to have a chance to weigh in:

https://review.cyanogenmod.org/177648
[Samsung Galaxy S 5 Unified Development] GGTheGooch:
I'm on the SPR 17 build and everything works great except SMS and MMS. Can't send either. Besides that, great build!
[Samsung Galaxy S 5 Unified Development] thaidroid:
Check a couple of posts back...... change to 3G
[Samsung Galaxy S 5 Unified Development] rayzor666:
Hi just looking for a quick yes or no as this has probably been asked befor... Could I dirty flash from the last unofficial build to the newest nightly without probs? Thanks
[Samsung Galaxy S 5 Unified Development] denyo81:
Yes
[Samsung Galaxy S 5 Unified Development] rayzen6:
[MENTION=2693412]haggertk[/MENTION]

Can we expect something today? :D
[Samsung Galaxy S 5 Unified Development] iggysamsung:
I installed newest version (20161218) on G900FD and still no sound on second sim. Any solution?
[Samsung Galaxy S 5 Unified Development] thaidroid:
Use the first;);)

Seriously check the change log before you you flash, maybe it will save you from disappointment.

https://www.cmxlog.com/14.1/klte/
[Samsung Galaxy S 5 Unified Development] Fil in XDA:
With the 17th December build the cpu 3 can now be idled if the cpu is not too busy and the cpu scaling is better than the previous builds. Is the 17th build supposed to fix cpu scaling? [MENTION=2693412]haggertk[/MENTION]
[Samsung Galaxy S 5 Unified Development] airidosas252:
I'm pretty sure 17th December build fixed scaling issues. Now I'm on 18th build and I can finally live with interactive governor, which wasn't possible before (too much clearly seen lag everywhere). Battery life seems a lot better as well, or maybe I'm just obsessed with updates and starting to see placebo effects. :D
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Battery life will improve extra better when you disable touch boost and CPU boost in kernel auditor app.
[Samsung Galaxy S 5 Unified Development] htb2050:
Probably placebo. Because for me the CPU 0 and CPU 3 shoot to 1574mhx on touching and then immediately go back to 300mhx and sometimes only the CPU 0 is on and goes to 1574mhx and back and all others sleep. The only scaling issue was probably on boeffla kernel where he mentioned that it was fixed with newest update.
[Samsung Galaxy S 5 Unified Development] muubase:
Or maybe rather https://www.cmxlog.com/14.1/klteduos/
[Samsung Galaxy S 5 Unified Development] thaidroid:
Yep that would be more appropriate, you also guided me to find kltekor.....Thanks
[Samsung Galaxy S 5 Unified Development] haggertk:
17 Dec was really just a bunch of security-related fixes. Stuff that could have impacted that was a couple days ago.

18 Dec brought 3.4.100, but you won't see those changes in the changelog or gerrit because we don't want to spam gerrit with upstreaming changes.
[Samsung Galaxy S 5 Unified Development] haggertk:
Meaning what? A new build from source changes yes, but no projects I am explicitly working.
[Samsung Galaxy S 5 Unified Development] Swiss Cheese:
I had been on SPR 11/19 waiting for SMS to resolve. This weekend I am mostly out in the country with no LTE and yesterday I started having problems with SMS on 3G and 1G so I found a restaurant with WiFi and installed 12/17 which resolved all issues. This morning I was in a town with great LTE signal and I was able to send SMS. Makes me scratch my head.
[Samsung Galaxy S 5 Unified Development] grey1213:
So are things like vibration intensity control and xposed support things that we might or might not get, or are they things that will just never get? And I remember in older versions there used to be a switch for night mode in the quick settings, is that something we may see as cm 14.1 develops or is it not in the vision of cyanogenmod anymore?

I presume that most of this sort of thing is mainly because its still new and features aren't the focus at the moment, but still curious as to how it is. Thanks.
[Samsung Galaxy S 5 Unified Development] rayzen6:
OK we have to wait more than. It's OK :)
[Samsung Galaxy S 5 Unified Development] haggertk:
As a maintainer, I'm OK if xposed never works, but xposed support is a question for the xposed team - xposed is not a CM feature at all.

Re vibrator intensity, that support is there...
[Samsung Galaxy S 5 Unified Development] LGaljo:
Is there any specific reason that wifi stays on when turned off in settings (build 16/12)? I noticed that today, when I saw in betterbatterystats app that WifiSupplicant got a lot of alarms.

I admit that I'm on boeffla kernel, but I have seen that behaviour in cm kernel.
[Samsung Galaxy S 5 Unified Development] cal002:
Ah, that's where it's hidden... but it means the search function in Settings

is broken and fails to find it.
[Samsung Galaxy S 5 Unified Development] haggertk:
Shows up for me?
[Samsung Galaxy S 5 Unified Development] cal002:
Thank you very much for sharing the TWRP build instructions!

Seems to have worked without problems (built on cm-13.0). I flashed it and

it booted OK (didn't test much though), but on "reboot System" it went

into bootloop. No idea if it's related or was just bad luck. Maybe I'll have some

time before the end of the year to play with it.

BTW, currently my SD card is formatted as portable, but when I had it

as internal storage TWRP couldn't deal with it. Recently I found out the reason:

- AOSP creates two GPT partitions, a small 16MB "android_meta" and a big "android_expand"

- android_expand is used with dm-crypt + ext4 or f2fs

- android_meta is unsed and not formatted, thus it contains garbage

from the previous FAT filesystem

In my case the android_expand started at the same sector (2048) as the

previous FAT and so it looked valid at first glance and TWRP mounted it,

claming it was 64GB, much to my confusion.

---------- Post added at 20:58 ---------- Previous post was at 20:54 ----------

Oh? Now I cleaned "Settings" data and it works, thanks for the hint :)
[Samsung Galaxy S 5 Unified Development] thaidroid:
KLTEKOR

Can any one please post a boot image of the or a flashable version of the kernel that is currently in use in CM14.1.1.

Am I correct when I assume that you can use this to flash over any Cm14.1.1 base build of klte G900F roms to make them work on kltekor?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
View attachment cm-14.1_boot-img_kltekor_20161218.zip from last nightly. It hopefully help you to boot cm-14.1 based klte roms on your kltekor. Cheers...
[Samsung Galaxy S 5 Unified Development] conflicting:
I tried to flash gapps 7.1 arm7 pico after accidental dirty update from previous cm rom. Google apps and play store do not work at all.

I tried to factory reset, wipe everything, but twrp doesn't seem like it's doing the job, when I reboot all my data is still there with my dirty ass messy rom? How come twrp isn't wiping?!
[Samsung Galaxy S 5 Unified Development] thaidroid:
sunil,

You are a star. Is this directly flashable or should I unzip it and flash as an image?

I think I got it..extracted the image file, thanks

Is there an easy way to extract the boot image from the installed rom or the install zip? I have been looking for an app but no luck really.
[Samsung Galaxy S 5 Unified Development] phalkon30:
Try manually wiping the system partition?

Sent from my SM-G900R4 (klteusc) running CM14 12.18.16
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
The zip file is flashable in twrp.. so, u can simply flash flash this after klte ROM...

Regarding the extraction of boot.img, what you really need? Extract boot.img in to kernel, ramdisk and dtb? If so, you can do such tasks very simply in Linux (or a Linux running in virtual box) using mkbootimg_tools or AIK-Linux.
[Samsung Galaxy S 5 Unified Development] thaidroid:
Never tried linux so i'll just beg for help in the future.:D. When is a new bootimage required? After a revision change of CM14 or only after a Kernel change in CM14?

In other words how do I know when I need an updated bootimage?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
As I understand from my experiments with bootimg editing, using an old bootimg will be safe until cm brings significant changes to the 'Kernel' (still I'm not an expert to claim anything on this topic). However, since kltekor builds are released almost everyday, I suggest you to use the latest boot.img from the official build. If you have windows/linux/mac pc (even in ur mobile... but I never tried), you can do that job in few clicks.

1. Download the latest kltekor build in to your windows pc.

2. Open the zip file and extract the 'boot.img' to your pc.

3. Now open flashable bootimg zip file provided with my recent post, delete the current 'boot.img' file and add the new one from latest kltekor build (I use 7-zip for the above tasks).

4. Your latest flashable zip for cm 14.1 based klte ROMs are now ready.

Enjoy...
[Samsung Galaxy S 5 Unified Development] mukdiwalaazim:
[MENTION=2693412]haggertk[/MENTION]

Why in official c.m file manager can't Access SD Card...it says to allow root access i did it through developers option...gave root permission too bit did 't worked for me...can you help me plzz???

Thanks in advance...
[Samsung Galaxy S 5 Unified Development] thaijunk:
This is a known issue with the cm file manager. Download a different one from the play store and it should work. I use Solid Explorer. Others use es file Explorer. They both work fine.
[Samsung Galaxy S 5 Unified Development] Blackburn119:
Can you make another version of dtb boot file for making S5 can boot up in every custom roms & kernels but without headphone bug like last time?
[Samsung Galaxy S 5 Unified Development] thaidroid:
Brilliant:good::good: Thank you for that just did a test and it worked out OK:p:p

Will put this into Notepad.
[Samsung Galaxy S 5 Unified Development] Wlld1:
By 18 Dec autorotation does not work sometime after boot. Builtin root does not work in some apps (Solid Explorer, AdAway). Getting message like "...granted superuser access... bla...bla" and nothing else. SuperSU works great.
[Samsung Galaxy S 5 Unified Development] LGaljo:
Just a quick tip ;)

If you want to rotate screen open youtube app and rotate your phone to desired angle and with multitasking menu go to your app. Enjoy :D
[Samsung Galaxy S 5 Unified Development] thaidroid:
Did you flash SuperSU and not loose wifi?

You need to set kernel to linux permissive and install busybox for adaway to work.
[Samsung Galaxy S 5 Unified Development] haggertk:
kltespr test request

Can any kltespr users give this a spin and see if you can SMS while on LTE?

https://www.androidfilehost.com/?fid=385035244224406529
[Samsung Galaxy S 5 Unified Development] rayzen6:
Haha lol. I would better wait for [MENTION=2693412]haggertk[/MENTION] to fix this weird issue. :D so that I can finally switch to 7.1.1 from 7.0.
[Samsung Galaxy S 5 Unified Development] dollardollar:
Seems like finally the header for kltekor is changed to OFFICIAL.

Been checking on daily basis :D

Thanks [MENTION=2693412]haggertk[/MENTION]
[Samsung Galaxy S 5 Unified Development] Hiaburi:
I didnt need to do any of that for adaway to work. My wifi was broken but that was patched in v2.78 SR5 and it works flawlessly now.

https://www.xda-developers.com/chainfire-releases-supersu-v2-78-sr5-fixing-some-nougat-bugs/
[Samsung Galaxy S 5 Unified Development] Wlld1:
On G900F started CM14 from 16 Dec and never have any problems with Wi-Fi and SuperSU 2.79.
[Samsung Galaxy S 5 Unified Development] bytes2bits:
[MENTION=2693412]haggertk[/MENTION] I just tested in on a clean install and I'm sorry to say sms not working. Mms is working. Thanks for your continued efforts though. It's greatly appreciated.
[Samsung Galaxy S 5 Unified Development] haggertk:
If you haven't already abandoned ship and are still using my test build, if you add the below to build.prop (remounting system rw, editing, etc) and reboot, does anything change?

telephony.lteCdmaDevice=1
[Samsung Galaxy S 5 Unified Development] bytes2bits:
Just add it to the end of the file or at a particular line?
[Samsung Galaxy S 5 Unified Development] haggertk:
The end is fine. The order of lines in the file does not matter.
[Samsung Galaxy S 5 Unified Development] bytes2bits:
Ok, I'll let you know shortly. I had abandoned ship but I just reflashed it and will edit and try again. Have nandroid, will travel :)

---------- Post added at 01:29 PM ---------- Previous post was at 01:15 PM ----------

[MENTION=2693412]haggertk[/MENTION] That didn't work either. I confirmed it was correctly entered into the buildprop, rebooted, and tested. I have to abandon ship temporarily because I'm leaving the house but I'll be happy to try any further tests in a couple of hours when I return. Thanks again!
[Samsung Galaxy S 5 Unified Development] Swiss Cheese:
I installed and sadly no luck here. I posted yesterday that I was able to send 3 SMS on LTE after coming out of a horrible service area but when I tried again about an hour later it no longer worked. I really appreciate you trying to fix this issue.
[Samsung Galaxy S 5 Unified Development] IoEsisto:
SuperSU Work

I confirm SuperSU 2.79 works in the latest release
[Samsung Galaxy S 5 Unified Development] godofsalt:
Does seem to work either CM's Messaging, as well as, Google's Messenger, are working with the new Download today 19DEC16.....

Results- LTE nope, nothing

WiFi w/LTE- - Nope

3G - - Seems to work at least it "Sending the message w/ time stamp.

Wi-Fi w/3G, same as above, seems to work

What can we do? (As you can See, Am willing to test just about anything, except any "Beta Exposed app screw that!!!)

thanks again for the hard work,
[Samsung Galaxy S 5 Unified Development] bytes2bits:
I don't know what happened after trying this. No matter which nandroid I try to restore I keep getting "no sim card found". I know it's not related to this but I can't for the life of me figure how to resolve this. And I know at least one of these nandroids is good. I've restored to it several times in the past. Crazy!
[Samsung Galaxy S 5 Unified Development] godofsalt:
... did need to add, I have yet to receive any! do know that person is rather busy today, so still waiting for a reply....

Does look like maybe you have found something... with that, HOPEFULLY, we can see something on our end...

Tanx again.
[Samsung Galaxy S 5 Unified Development] rayzen6:
First time restoring 7.1.1 backup?? Or did you done it before?
[Samsung Galaxy S 5 Unified Development] bytes2bits:
No, I've done it several times before. I'm on Beanstalk (7.1.1). I wiped the phone and flashed the latest CM to test a potential fix for the sms issue on Sprint phones. After I finished I restored my nandroid (several different ones) and every one gets a "no sim found" now. I had to clean flash Beanstalk and start new. Weirdest thing I've ever come across. Completely wrecked my confidence in a nandroid now :)
[Samsung Galaxy S 5 Unified Development] conflicting:
I did, even though twrp says successful in green letter in the bottom, I didnt read the scripting. it said can't mount cache. reflashing twrp fixed the issue as i couldn't mount cach under the mount tab manually. Thanks!
[Samsung Galaxy S 5 Unified Development] systemcrash:
[MENTION=2693412]haggertk[/MENTION]

Massive logspam from NFC subsystem when reading cards, but only on the 18th nightly. Some strange behaviour also, had to reboot to stop some weird loop where the NFC subsystem just kept on spamming, even though no tag was near, after reading a few times. Switched NFC off, spam stopped, switched NFC on, spam continued.

16th was ok in this regard.

selinux changes in the new kernel? :/

logs attached.
[Samsung Galaxy S 5 Unified Development] systemcrash:
search this thread - haggertk did a writeup on how to avoid this with some earlier custom builds and nightlies he published. Search for telephony, something like this
[Samsung Galaxy S 5 Unified Development] thaidroid:
I'm getting intermittent funny behavior with the power button not bringing up the advanced boot menu but instead going to lockscreen. It used to go to camera but I disabled that option under buttons in settings. Am I alone with this?

The good news is that SU 2.79 works and its 10 times better than using CM's version
[Samsung Galaxy S 5 Unified Development] brianinmaine:
on all my phone calls, in and out, I get "Roaming Indicator Off" at the top of every screen and it also says that on every recents call list item. Is this behavior on any other device? I have the US Cellular version. Any ideas?
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
How can I boost the mic on this rom? The other person on call complain for low sound?
[Samsung Galaxy S 5 Unified Development] thaidroid:
do a search for mic gain

http://xdaforums.com/search/thread/3476433?query=mic gain
[Samsung Galaxy S 5 Unified Development] shirioko:
Some bugs that are quite annoying in both CM13 and CM14 in the stock Music app:

- Shuffle and Repeat playback settings are reset after app restarts.

- Lockscreen album art settings are reset after app restarts, so album art eventually shows on lockscreen even though the switch is set to disabled. Toggling it on and off again fixes it until next restart.

- Deleting songs only deletes them from library and not from SD card, so they reappear after restart.
[Samsung Galaxy S 5 Unified Development] cedouic:
Hello

Did you try to remove the dust from the mic hole at the bottom of the phone? (use a niddle)

It worked for me.

Bye
[Samsung Galaxy S 5 Unified Development] ItsMeShouko:
I'll try it?
[Samsung Galaxy S 5 Unified Development] Fil in XDA:
Upon further investigation to what causes games to lag I downloaded a game in play store called nonstop Knight. This game is basically just a simulation game which you could play hands free if you want. I noticed that every time I let my hands off the screen for a brief second, the horrible stutters happen. However, if I touch the screen and not letting my fingers away from it (sliding my fingers through the motion) it runs 60 full fps. [MENTION=2693412]haggertk[/MENTION] I guess that this might be really a governor issue?
[Samsung Galaxy S 5 Unified Development] phalkon30:
I also get this. However for the first time on cm for this device it doesn't say "no service" on the data icon so... I guess I'm living with it :)

Have you noticed if it affects service? I have yet to roam on cm14, a little worried about that.

Sent from my SM-G900R4 (klteusc) running CM14 12.18.16
[Samsung Galaxy S 5 Unified Development] ML_Outlaw:
just updated to the 1120 bulid

rotation worked after reboot for about 1 minute and than stopped

got a logcat after it stopped

hope that helps

search of all "error"

12-20 13:54:25.479 W/ResourceType(2192): Failure getting entry for 0x7f050010 (t=4 e=16) (error -75)
12-20 13:54:25.546 W/ResourceType(2192): Failure getting entry for 0x7f050010 (t=4 e=16) (error -75)
12-20 13:54:26.299 W/bt_sdp (1383): SDP - Rcvd conn cnf with error: 0x4 CID 0x40
12-20 13:54:27.230 E/BootReceiver(772): Error reading /data/system/last-header.txt
12-20 13:54:27.313 I/BootReceiver(772): Checking for fsck errors
12-20 13:54:31.425 W/bt_sdp (1383): SDP - Rcvd conn cnf with error: 0x4 CID 0x41
12-20 13:54:34.850 W/MediaScanner(2225): Error opening directory '/storage/4475-16E4/.android_secure/', skipping: Permission denied.
12-20 13:54:38.086 W/MediaScanner(2225): Error opening directory '/storage/4475-16E4/.android_secure/', skipping: Permission denied.
12-20 13:54:51.342 W/MediaScanner(2225): Error opening directory '/oem/media/', skipping: No such file or directory.
12-20 13:54:52.572 E/ChimeraRcvrProxy(2241): Chimera config error: com.google.android.chimera.config.InvalidConfigException: No registered Chimera receiver impl for ComponentInfo{com.google.android.gms/com.google.android.gms.reminders.notification.NotificationReceiver}
12-20 13:54:52.840 E/WVCdm (313): LoadCertificatePrivateKey: OEMCrypto_LoadDeviceRSAKey error=35
12-20 13:54:52.984 W/MediaScanner(2225): Error opening directory '/storage/4475-16E4/.android_secure/', skipping: Permission denied.
12-20 13:54:57.625 E/GCoreUlr(1835): Bad errorId configuring silent feedback
12-20 13:54:58.978 E/Backup (1835): gwo: server error in app com.cyanogenmod.trebuchet: code 7
12-20 13:55:56.507 I/rmt_storage(290): wakelock acquired: 1, error no: 42
12-20 13:55:56.588 I/rmt_storage(290): rmt_storage_client_thread: /boot/modem_fs2: clnt_h=0x2 About to block rmt_storage client thread (th_id: -1231288032) wakelock released: 1, error no: 0
12-20 13:57:22.723 E/wifi (772): wifi_get_supported_feature_set returned error = 0xffffffa1
12-20 13:57:31.297 E/wifi (772): wifi_get_supported_feature_set returned error = 0xffffffa1
12-20 13:58:12.180 I/rmt_storage(290): wakelock acquired: 1, error no: 42
12-20 13:58:12.285 I/rmt_storage(290): rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0x1 About to block rmt_storage client thread (th_id: -1230243552) wakelock released: 1, error no: 22
[Samsung Galaxy S 5 Unified Development] haggertk:
Well, the power hal does boost processor speed on screen touches (touch boost) think of it like an overclock. Is this the only thing that exhibits the problem?

NM, I now read all of what you wrote (blame not completing coffee ingest), this seems larger as it relates to games.

Did things behave better previously?
[Samsung Galaxy S 5 Unified Development] Fil in XDA:
Anything 2d to 3d games really. This is why any games that rely on tilt controls suffer. Not only games. For example in Facebook messenger there's a feature where you can change the primary emoji to whichever emoji you'd like instead of the thumbs up emoji. One member in our group chat changed the emoji to balloon emoji(which if you click it it would start summoning a bunch of balloons all over the chat) and started to click the emoji. My phone would stutter as if it is a gif. This is strange as the system is very smooth. Just suffers from gaming performance.

---------- Post added at 02:32 PM ---------- Previous post was at 02:30 PM ----------

Same behavior as it was on cm 13.
[Samsung Galaxy S 5 Unified Development] 4rz0:
Interesting, so I'm not the only one.

Playing Hill Climb Racing 2 and Super Cat Bros here, and it started around build 20161212, not quite sure which one exactly.

Horrible stuttering, making the games unplayable.

It's better now since I'm on 18, but it's still there.

KLTE on stock kernel.