yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] j1gga84:
If anybody wants to check out early LOS development of Android O checkt this out:

https://xdaforums.com/galaxy-s5/unified-development/rom-lineageos-15-0-klte-t3680666 :good:

regards
[Samsung Galaxy S 5 Unified Development] fipsy:
Unfortunately, the article does not say that only the WiFi standards 802.11r and 802.11s are affected. Very few routers support this. So if you don't use 802.11r/s with your clients, the gap will obviously not affect you.
[Samsung Galaxy S 5 Unified Development] fitittome:
I'm not sure that's the whole picture, disabling fast roaming on the router mitigates, but the advice is to get smartphones, tablets and computers updated. Detailed technical info here that's all but lost on me. The video is quite scary! :eek:
[Samsung Galaxy S 5 Unified Development] fipsy:
Okay, as it seems so far, everyone agrees that insecure clients are the problem. So... mostly smartphones or Linux clients. As Microsoft patched Windows already in the last October update and Lineage will probably follow on Wednesday, these two gaps on the client side are already closed. As I understand it, the attack runs directly to the end device via one of these protocols. So if I switch off the routers 802.11r/s, only the router is protected against attacks. If I switch it off on my device, the device is protected against attacks. If I turn it off everywhere, the whole net is protected against attacks.
[Samsung Galaxy S 5 Unified Development] jiml8:
Only difference between AT&T and T-mobile S5 devices are the LTE bands they run on, T_Mobile uses band 4 (AWS 1700/2100 Mhz) so the t-mobile phone would not do LTE on the AT&T network, nor would it operate at regular UMTS either as t-mobile uses the same frequency band for that. Phone calls yes as they are both GSM.[/QUOTE]

The 900T does do LTE on the AT&T network.

---------- Post added at 04:31 PM ---------- Previous post was at 04:21 PM ----------

It is an exploit against the client, yes. And the source website is this: https://www.krackattacks.com/

The author has demonstrated easy to perform attacks against MacOS and OpenBSD as well as Windows and Linux. It is best to assume that all computers and devices that use wifi are vulnerable.

OpenBSD has published a patch over a month ago, and I have been evaluating it for addition into FreeBSD. However this patch patches the kernel and not wpa_supplicant. A series of patches (which I have not yet evaluated) for wpa_supplicant are out, but I don't have that link in front of me.
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Yes, unless one uses a router in a repeater or client mode, not just mesh.

This may be interesting as well: "The AP can be used to forward injected packets to any other device on the network."

Note that DD-WRT patched this yesterday too, and has a new build with it today.
[Samsung Galaxy S 5 Unified Development] fitittome:
Rear facing camera

I guess it is working for everyone else then?
[Samsung Galaxy S 5 Unified Development] fipsy:
Tested it yesterday with three different camera apps (including LOS snap camera app). Both cameras (rear / front) are working with all apps.
[Samsung Galaxy S 5 Unified Development] jdrch:
I always wipe cache and dalvik after flashing new builds :angel: As for modem, I just checked and apparently there's a new firmware build out for the SM-G900V as of Oct 12. I'll try flashing that and then see if booting works.

Thanks for the research! I opened a regression issue on JIRA and will link to your comment as an idea.

---------- Post added at 13:04 ---------- Previous post was at 12:54 ----------

Just FYI for those who like to run the latest firmware: the G900VVRU2DQI2 update containing the Blueborne (Firmware? As opposed to OS) fix has arrived for the SM-G900V, so get to flashing ;)
[Samsung Galaxy S 5 Unified Development] fitittome:
Yes it was interesting research, but I am not qualified to guess! ;) It is probably nothing to do with that. Diagnosing a problem at that stage is very difficult.
[Samsung Galaxy S 5 Unified Development] HulkSmashBurgers:
Whoa whoa whoa, hold on. The G900V is still getting updates, while the G900T stopped in April? WTF T-Mobile?!
[Samsung Galaxy S 5 Unified Development] jdrch:
Yeah Verizon might not be good at feature updates, but they seem to have taken the whole monthly security patch thing very seriously.
[Samsung Galaxy S 5 Unified Development] fipsy:
What would be very interesting in this context: The file sdi.mbn in the archive for bootloader and modem contains the "transmission band info". If you replace the file sdi.mbn in the archive with the file of another provider or country, are the other (correct) bands used? That would be a good solution to the problem if it would work. I always remove sdi.mbn from the archive before flashing the new bootloader / modem. Especially because this file is not present in the stock firmware images from Samsung for my country!
[Samsung Galaxy S 5 Unified Development] fitittome:
When I asked, I was told that it is part of the firmware on various Qualcomm based devices & meant to be flashed on /dbi partition. I think it is diagnostic related.
[Samsung Galaxy S 5 Unified Development] jdrch:
Per the dev, they're generic and not actually country-band-specific: https://jira.lineageos.org/browse/R...issuetabpanels:comment-tabpanel#comment-18629
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Flashed the whole firmware

No, I flashed the whole stock firmware the I downloaded from sammobile, I'd messed with this phone and different root apps that I ended up having to Odin it back to stock and start over. Probably won't be the last time, that's why I keep a copy of the latest stock firmware just in case.
[Samsung Galaxy S 5 Unified Development] :
Does the lineage-14.1-20171011-nightly-klte-signed.zip from https://download.lineageos.org/klte contain fix for KRACK? Or is it going to be implemented in todays build (I say this because I assume that every 7 days a new build is made)?
[Samsung Galaxy S 5 Unified Development] fitittome:
Krack

https://xdaforums.com/showpost.php?p=74189161&postcount=8837
[Samsung Galaxy S 5 Unified Development] javelinanddart:
Bluetooth firmware is something that is shared across all variants, and Blueborne was not an issue in the firmware anyways. Broadpwn, however, was a firmware issue, and has already been mitigated by updating WiFi firmware from a patched build (assuming Samsung didn't lie in their security patch level). WiFi/BT firmware is not dependent on what modem/bootloader/whatever you flash, because it's shipped in /system.
[Samsung Galaxy S 5 Unified Development] HulkSmashBurgers:
To be clear, we're safe from both Broadpwn regardless of manufacturer firmware version? The G900T, for instance, hasn't had an update since April, but installing Lineage mitigates Broadpwn?
[Samsung Galaxy S 5 Unified Development] javelinanddart:
Yes. WiFi firmware is what mitigates the issue, and it's located in the ROM, not low level manufacturer partitions.
[Samsung Galaxy S 5 Unified Development] haggertk:
And as posted over a month ago (yes, it's been patched for all klte* builds since 27 August)...
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Kernel

Quick question, do you know if the Boeffla Kernel works on the SM-G900T? Running the official LineageOS one now but would like a little more customizable kernel, thanks
[Samsung Galaxy S 5 Unified Development] adrian1234a:
Hi [MENTION=2693412]haggertk[/MENTION] when have wifi i have problems with Mobile data :x

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------

How can fix this???

My model SM-G900F
[Samsung Galaxy S 5 Unified Development] fipsy:
Only the Lord will be able to answer that. According to his information, the kernel is only for the g900f. But the kernel adiutor app also allows for a very extensive configuration of the internal LOS kernel.
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Thxs

Thanks
[Samsung Galaxy S 5 Unified Development] jdrch:
Thanks for the explanation. It's difficult to tell where in the stack/which partition vulnerabilities are present in sometimes. Much appreciated.

---------- Post added at 12:41 ---------- Previous post was at 12:39 ----------

I laughed out so loud at this.
[Samsung Galaxy S 5 Unified Development] Efraimjb:
Did you solve your problem. How?
[Samsung Galaxy S 5 Unified Development] fipsy:
Smile! Lord Boeffla will rejoice if you compare him with God. :D
[Samsung Galaxy S 5 Unified Development] fitittome:
Update baseband to latest version, I imagine. Flash these in Odin. https://androidfilehost.com/?fid=817550096634787149
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I just wanted to add that the following thread is also very helpful for the G900F too.

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

Just a friendly/helpful suggestion/recommendation... :)

Good Luck!

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

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] bilbonotry:
Oh God, thank you for this, got tired of people declaring modem is responsible for BT and Wi-Fi. Maybe you could also clarify for GPS....
[Samsung Galaxy S 5 Unified Development] haggertk:
The modem does do location injection, and I believe it is capable of acting like a location processor, but if you are as far as having data then it's not going to negatively affect your GPS.

Now, NON-HLOS has tons of different firmware, keys, and applets (including fingerprint applets), so not having that at a good baseline level can make things behave poorly. This is why I hate, with a passion, those who separately distribute modem from the rest of the firmware partitions. Too many people will just update "baseband/modem" and not the rest if they aren't packaged together.

The final takeaway is that a large percentage of stuff you read on XDA is flat out wrong and there isn't enough time in the day to correct it all.
[Samsung Galaxy S 5 Unified Development] adrian1234a:
Don't work :( i from spain
[Samsung Galaxy S 5 Unified Development] :
Is it possible to edit Quick settings, so that i can have a Sound button, so I can switch between sound, just vibration and silent?

Also can i somehow edit the number of columns and rows in fully expanded quick settings?
[Samsung Galaxy S 5 Unified Development] Nico1544:
Yes, U must Go in The pen
[Samsung Galaxy S 5 Unified Development] :
What pen? You mean the one above the quick settings? I go in there but no option for sound button, like i said in post above, and no option to edit number of columns/rows
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
you can always post your question there or on the following thread and, hopefully, a member can guide you to the right place.

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

Good Luck!

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

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] javelinanddart:
Calling all kltespr users

I have a test build for you. You'll need to wipe before flashing it. http://downloads.codefi.re/jdcteam/javelinanddart/klte/lineage-14.1-20171018-UNOFFICIAL-kltedv.zip

Yes, I know it says kltedv, just trust me on it.

Make sure you're using this TWRP https://androidfilehost.com/?fid=817906626617939186, otherwise you won't have any network functionality.

Initial reports from [MENTION=4422232]eurohunter[/MENTION] sound promising, it looks like the airplane mode bug (at least) was fixed.

I need lots of testing on this one, anything and everything you can think of that's related to some sort of network functionality (save WiFi and BT), please test it.

Test traveling (aka tower switching), and if you can, any domestic roaming yo have access to.

I think you get the idea. RIL bouncing around from CDMA to GSM seems to still be an issue, but I think eurohunter found some interesting things on it, which I'll let him explain.

The goal of this change I made was to clean out some old hackery, which fixed some bugs we're seeing it looks like. No promises, but i'll keep futzing around with RIL to see

if I can get anything useful that'd help with the CDMA->GSM and GSM->CDMA bouncing when on LTE.

Thanks in advance to all who test and provide feedback!
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Well, I guess that the three beeps at the end of a call has been fixed in the new build, or at least it is so low I can't hear it, no problems at all except for the free space errors in the files app.
[Samsung Galaxy S 5 Unified Development] eurohunter:
The GSM-CDMA bouncing is super weird. Overall it is more stable with this build, but it still happens, and it's not completely random. I have observed the following regarding network types:

- when preferred network type is set to CDMA+LTE/auto and you restart, the phone will restart on GSM lte, but if you change it to anything else (including airplane mode on or off), the phone will stay on CDMA.

- when preferred network type is set to either LTE or Global and you restart, the phone will restart on CDMA, but if you change it to cdma+lte/auto or cdma/evdo, the phone will subsequently switch to GSM every time it is on LTE.

- when preferred network type is set to CDMA/evdo and you restart, the phone will restart on CDMA, but if you change it to any LTE type (LTE, Global, CDMA+LTE/auto), it will go back to GSM for LTE.

The workaround for the last two scenarios is to take phone to CDMA/evdo (so 3G), and press Carrier Settings to prompt the force close. After that happens, the phone stays on CDMA even for subsequent switches to LTE.

Just in case, I attached main logs and radio logs for two scenarios: when phone was previously set to "CDMA+LTE/auto" and when it was set to "LTE".

Again, thanks [MENTION=5795145]javelinanddart[/MENTION] !
[Samsung Galaxy S 5 Unified Development] cdrivex4:
has usb internet every worked for klte/klteduos ?

in developer options, select usb configuration changed to RNDIS (usb internet) driver installs in windows 7, device appears, but has red x like a network cable is not connected..
[Samsung Galaxy S 5 Unified Development] DragonQ:
I notice the latest build still has the "4th core always at maximum frequency" bug. Is there a quick, easy way to fix that? I'm sure someone posted something but it'll be dozens of pages ago by now.
[Samsung Galaxy S 5 Unified Development] cal002:
Worked for me when I last used it months ago, don't use developer options but go to

settings -> more -> tethering & portable hotspot -> USB tethering.

I don't use Windows but Linux.
[Samsung Galaxy S 5 Unified Development] fitittome:
Yes, there seems to be a problem when you 'look' at it. 3C Toolbox show this of CPU2. Kernel Adiutor shows it as Core3 (I guess 3C counts from zero). But, it is only

after

you have loaded these programs (and quit) do you see the MP-Decision errors in the logcat. So is it really a problem before those programs were loaded? I dunno. :confused:
[Samsung Galaxy S 5 Unified Development] j1gga84:
I think it is a bug of stock kernel because other kernels like boeffla or smartpack do not have this issue.

When you open kernel adiutor 2 or 3 cores are offline and the others are running at min frequency when device is idle.

Regards
[Samsung Galaxy S 5 Unified Development] Paul_Lunardi:
I'm on stock and can confirm the bug too

I was wondering why my phone was slow of late especially when using Google maps, tune in radio and Bluetooth. But that may be also me trying to get too much out of my device.
[Samsung Galaxy S 5 Unified Development] fbs:
install KTMONITOR to really monitor what speed is every core (and if it's on/off). and it works on top of any other app (a little window)
[Samsung Galaxy S 5 Unified Development] fitittome:
Cannot find on f-droid, cannot find on play store..... various, maybe dubious, websites seem to have copies.... any you can vouch for?
[Samsung Galaxy S 5 Unified Development] jdrch:
The Oct 18 build is failing to boot for me too.
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Core Frequency

A CPU core running at max will not cause your phone to run slow or be sluggish, it is exactly the opposite, when you have your CPU cores running at maximum you would get the highest performance. Also if you use kernel auditor and set the governor at conservative or power saving core 4 will drop in frequency, so I don't think it is a "bug" in the kernel but in the governor settings. I'm still playing with it and I done see a way to edit the governor settings.
[Samsung Galaxy S 5 Unified Development] DragonQ:
Yeah mine looks the same when idle. Core 1 is switching between states, cores 2 and 3 are off, and core 4 is just pegged at max.
[Samsung Galaxy S 5 Unified Development] fitittome:
Is ADB running BEFORE doing the upgrade? If not set it up in Developer options. Verify that it works OK from the DOS prompt with adb logcat.

Then boot into TWRP and flash the Oct 18 nightly, then power off.

Get the DOS box ready with an adb logcat>logcat.txt and press enter as you turn the S5 on. Wait for it to hang.

You should find a full logcat in the logcat.txt file which should give an insight.
[Samsung Galaxy S 5 Unified Development] jdrch:
How do I do this when I can't boot into LOS to begin with?
[Samsung Galaxy S 5 Unified Development] fitittome:
:) It's too late then! You can't. What I mean is, restore to before the upgrade. Then configure ADB as you have to verify keys etc. Then do the upgrade so you can watch it fail. :cool:

edit: Oh, I have just remembered... didn't you have trouble restoring? my bad. this isn't going to work is it.
[Samsung Galaxy S 5 Unified Development] revjamescarver:
Core 4

I don't know, tried several different apps (3C Toolbox, Kernel Auditor), and they show different frequency info. When I switch governor from interactive to conservative and back it shows core for going down in frequency like it is supposed to so maybe it's just the apps, or perhaps of you edit the governor settings? I'm playing around with it to try to see what's going on with it.
[Samsung Galaxy S 5 Unified Development] fbs:
ktmonitor is the perfect way of monitoring each core clock.. it's a tiny window overlayed and you can move it where you like.. I use it since S2

and yes, the last core is stuck in 2457MHZ for me too..
[Samsung Galaxy S 5 Unified Development] HulkSmashBurgers:
Updated from 10/11 to 10/18 and my notification tone for at least one app has changed to the low battery warning sound. In settings, the global default tone is still set to what I had it before.
[Samsung Galaxy S 5 Unified Development] fipsy:
Even with your own kernel? I don't have any problems of that kind with governor interactive and profile battery.
[Samsung Galaxy S 5 Unified Development] fbs:
I don't know how, but it isn't happening with mine..
[Samsung Galaxy S 5 Unified Development] fitittome:
I know zero about any of this but I did snoop at some changes, some time back. I thought that I had not seen the MP-Decision issues before this, but I honestly cannot remember and probably wouldn't have noticed either. I am sure that CPU0 is special as it is the default one, but I thought a 'pattern' wasn't being followed exactly. https://xdaforums.com/showpost.php?p=73965722&postcount=8429

I was just being curious and its probably nothing.
[Samsung Galaxy S 5 Unified Development] fipsy:
Just to calm you down: For the Boeffla kernel the folder 'cpufreq' is also only present below /sys/devices/system/cpu/cpu0 and not below the other three cpu folders. And the cpu3 is not stuck at high frequencies there.
[Samsung Galaxy S 5 Unified Development] fitittome:
I am calm! I was thinking more along the lines of it being 'initialised' differently, or not at all, may cause 3C Toolkit or whatever to 'misread' what's going on. i.e. these reporting progs are saying different things, aren't they? I dunno. :confused: It doesn't seen to impact battery life. Anyway I am not contributing anything so I'll shutup!
[Samsung Galaxy S 5 Unified Development] cdrivex4:
what i find curious is,

1. having just disabled adaptive lmk using kernel auditor am not "seeing" it stick at 2.4ghz. have also enabled "aggressive" multi core saving.

i wonder if it'll stick... at least for right now phone doesn't feel sluggish.

2. how i can be on the efficiency battery profile which is meant to top out at 1036mhz we are setting clocks higher than the 1.4ghz input boost which should only be temporary.i occasionally see 1.5, 1.7, and 2.4ghz for the clocks.

there is some odd behavior with kernel auditor, i like to change the io scheduler and enable io stats as this will then show up on "cool tools" after making the changes and rebooting the scheduler is changed.. that's fine.. but sometimes i won't see io usage stats at all and then one day i suddenly start getting read/write usage..
[Samsung Galaxy S 5 Unified Development] fitittome:
I would agree with that! I have seen the governor for a single CPU just change..... all by itself. So three running interactive and one conservative. :confused: Not to mention the MP-Decision errors that crop up after Adiutor has been used but not before.
[Samsung Galaxy S 5 Unified Development] branty:
hi there! looks like ive gotta update my sisters s5 tomoz, think she has stock rom installed , any stuff i need to do b4 the update???

android 6.0.1, baseband g900fxxs1cqav, build number mmb29m.g900fxxs1cqd1

any info/tips would be most welcome! :)
[Samsung Galaxy S 5 Unified Development] fitittome:
The trickiest part is getting Odin running on a PC so that it can see your S5. Once you have that done, installing TWRP is straight forward. Then install LOS. Make sure the S5 has the latest Samsung updates on it before you start, then you will not have to worry about Baseband etc. If you cannot use Odin follow the Wiki. I prefer to install from an sd-card.
[Samsung Galaxy S 5 Unified Development] branty:
s5 update to lineage

many thanks for that info. all ready check the phone to see if there was any updates but none available.

think i`ve all ready got twrp on her phone, if not time to fire up odin... :)

i take it once ive got latest trwp on there, i can factory reset, flash lineage, flash gapps then reboot???

again thanks for the info.. dont want to mess up sisters phone.. she may be smaller than me, but i`m not gonna piss her off.. she`s the mad one of my 7 sisters.. (and 1 brother)

:)
[Samsung Galaxy S 5 Unified Development] fitittome:
Just advanced wipe each partition, Dalvik, System, Data, Internal Storage and Cache then you should be OK to install.
[Samsung Galaxy S 5 Unified Development] branty:
ok m8 sorted! many thanks for info!

:)
[Samsung Galaxy S 5 Unified Development] fipsy:
I wanted to thank you again! Since the update of the baseband and bootloader I had no more spontaneous reboots. Although I was very sceptical at first, the update had only advantages and no disadvantages. This may even be a small hint to those who are also very conservative and sceptical about such an update.

---------- Post added at 04:29 PM ---------- Previous post was at 04:20 PM ----------

I used the Boeffla Config App, the Kernel Adiutor App and the SystemPanel Lite App to watch the CPU Activity. All three Apps were always showing the same...
[Samsung Galaxy S 5 Unified Development] FettyWap:
I would hate to ask an elementary and basic question... But here it goes. In Settings - Wireless And Networks - Preferred Networks what is the proper settings for LTE on the sprint network in New York. Just plain LTE and I can't call out call automatically disconnects and there dial pulse tones are heard. Currently I am using CDMA+LTE/Evdo with these settings I get some call but people have showed me when they dial me the phone will ring and ring for them and nothing happens on my phone. Also Telegram alerts are 30 and 40 minutes delayed. In previous I would just switch on 3g and leave it. Now when I toggle CDMA (for 3g only) I only get 1x) and I would like to get the speeds I pay for if possible. Wondering if it is a ROM or Tower Issue

I am running the Oct 18th Nightly KlteSpr. Clean install. Baseband is PS3CQD1