yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Hello everyone,

I am using official LineageOS for my S5+ (kccat6) half a year now and everything is fine.

Now I found this thread. In one of the first posts here, [MENTION=3419717]cvxda[/MENTION] wrote about using actual modem and bootloader firmwares.

It seems like the versions offered at sammobile's website (LINK) are newer ones than the ones installed on my S5+.

Is it recommended to update my phone to the latest versions?

And will my phone boot the currently installed LineageOS without problems after installing the new modem and bootloader drivers with Odin?

And which is the newer version?

This: 2017-11-30 Germany (T-Mobile) 6.0.1 G901FXXU1CQJ1 G901FDTM1CQJ1

Or this: 2017-11-28 Netherlands (T-Mobile) 6.0.1 G901FXXU1CQJ2 G901FTNL1CQJ1

Thank you for your answers.

Regards

Not-Aus

EDIT:

Just to answer my questions to myself:

-After updating modem and bootloader the system boots up flawlessly.

-Both realeases offer the same modem and bootloader version.

I successfully updated three different samsung devices now. I recommend everyone to update!
[Galaxy S 5 Android Development (Snapdragon)] max6698:
[MENTION=3419717]cvxda[/MENTION] FYI: I'm getting "Can't connect to the camera" on my lentislte with my own compile of LineageOS.

My repo sync included all changes listed at https://www.lineageoslog.com/14.1/lentislte up to and including "qcacld-2.0: Add vdev_id in wma_unified_bcntx_status_event_handler".

Edit: My camera problems were caused by a hardware failure. They persisted when I went back to stock. They were not caused by LineageOS.
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
The good news is that [MENTION=3419717]cvxda[/MENTION] is working hard on LineageOS 15.1 for kccat6. Building works but worse with booting. We keep our fingers crossed [MENTION=3419717]cvxda[/MENTION]
[Galaxy S 5 Android Development (Snapdragon)] quphkzie:
how about lentislte?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Lineage-15.1 kccat6/lentislte

Given this is discussed anyway, here's the current state.

Working:

Wifi

Bluetooth

USB

Sensors

Display

Hardware Keys

Not working yet: Everything else. Most notably

Audio

Camera

GPS

NFC

RIL

EDIT: Deep Sleep, probably a side effect

EDIT: Google Play

Still a long way to go but we're getting somewhere, mainly due to the hard work of [MENTION=4251307]micky387[/MENTION] and [MENTION=8068134]sassmann[/MENTION]. Thanks a lot guys!

No test builds yet, but perhaps end of March if all goes well.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
You are my hero. :good:
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
Is there a way of fixing the 'ussd errors' on the galaxy s5 lte-a... Yes I know the phone was built for Korea, but I own it outside Korea.

If it wasn't for lineage, I wouldn't be able to cloak to LTE speeds... But now am able bse lineage allows it. Though not will all carriers... I think that is a band thing.

Now my concern is, is there a way of getting the ussd codes working (all of them)

And the call forwarding options are faulty... When I try to forward, the network z cut off and returned with no success...
[Galaxy S 5 Android Development (Snapdragon)] phamanhvu01:
It doesn't work on stock to begin with (for me), so I guess it can't be fixed.
[Galaxy S 5 Android Development (Snapdragon)] Zubagy:
Oh.... Okay
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
lineage 15.1 status 2018-03-21

Working:

Audio

Bluetooth

Camera (Photos only)

Deep Sleep

Display

Fingerprint

Google Play (with clean install, and a bit bumpy at installation time)

GPS

Hardware Keys

Lights, Torch

NFC

RIL (but there's a bug: Every 2nd or 3rd boot it fails to recognize the SIM)

USB

Sensors

Wifi

Not working yet: Everything else. Most notably

Camera (Video)

Google Play (see above)

IR

RIL (see above)

SELinux

Corinna
[Galaxy S 5 Android Development (Snapdragon)] pwarz:
Anyone else having problem with Bluetooth gets freezed in on or off mode? Btw I use a lot of Bluetooth devices.
[Galaxy S 5 Android Development (Snapdragon)] k2828:
[MENTION=3419717]cvxda[/MENTION]

im stuck for the x time after trying out the encryption feature. the last time before it was around first december. after everything was set up the phone just got stuck at some point. cant remember any details. the only thing i know i had to flash a stock rom over odin.

yesterday gave it another try after reading multiple statement of you saying that encryption works now.

i factory reset the phone and flashed the last 14.1 build. after finishing the first setup without installing anything but gapps i encrypted the phone. after tit seemed that everything was ready(didnt asked me for a password, so i guess it was half way finished) the phone restarted and booted straight up and throw a sysem ui error. of course i couldnt do anything after that.

edit:

it seems that a simple factory reset wasnt enough. first i had to flash a stockrom via odin again to be able to flash los via twrp again. after that i wiped everything including the internal storage. with just plan LOS installed it seems to work now. will report back if this changes after setting everything else up.
[Galaxy S 5 Android Development (Snapdragon)] liverhook:
Yes I had with the January versions.

But approximately since "lineage-14.1-20180316-nightly-kccat6-signed" and above bluetooth is o.k. (I skipped some update versions between).

Even devices with provide for query the accu status are supported. With my in-ear bluetooth headphone connected there appears a litte vertical accu status indicator bar beside the bluetooth symbol in the upper display status area. "Normal" android versions weren't able to until now, only IOS devices.

This shows the good work of the lineageos developers and maintainers.
[Galaxy S 5 Android Development (Snapdragon)] k2828:
[MENTION=3419717]cvxda[/MENTION]

there is a security threat in the encryption. the encryption didnt worked properly as stated 2 posts above. but i think that was a twrp bug. idk.

but then i wiped everthing and the encryption worked..... now after two days of using the phone it doesent asks or an encryption password just boot right away. not while booting and also not in twrp... 5 times in a row so far....

what do i need to provide so you can look at it.

edit:after removing and adding pin again, it seeems to work again....but this isnt a solutuin for the root of the problem...

[MENTION=535343]all[/MENTION]

which build auf los 14.1 works without bugs and with encryption working properly.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
LineageOS 15.1 (Oreo) preview builds

I made LineageOS 15.1 preview builds available for kccat and lentislte.

This is very much Work In Progress.

Only for the experimentally inclined, don't use as daily driver.

This is only for toying around, I don't take bug reports yet.

Working:

Audio

Bluetooth

Camera (Photos only)

Deep Sleep

Display

Fingerprint

Google Play (with clean install, and a bit bumpy at installation time)

GPS

Hardware Keys

Lights, Torch

NFC

RIL

USB

Sensors

Wifi

Not working yet: Everything else. Most notably

Camera (Video)

Google Play (see above)

IR

SELinux

Corinna
[Galaxy S 5 Android Development (Snapdragon)] bschtl:
You're awesome. [MENTION=3419717]cvxda[/MENTION]
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
I installed the system and this is my observation:

1. The system works, even well only I have a boil that it is slower than LineageOS 14.1.

2. Android Pay with magisk does not work on this Build.

3. I have found a VERY ERROR. After setting the lock screen as a trace the phone hangs every time you unlock it properly

Overall, my feelings are very positive but I still have to go back to LineageOS 14.1 due to the lack of Android Pay and the non-working lock screen.

Thank you [MENTION=3419717]cvxda[/MENTION] for your time on LineageOS. The LineageOS 14.1 system is very good and I hope you will not have to work a lot on LineageOS. I apologize for the lack of a log but I did not have a pc.
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Nice work, Corinne...

I will test it as soon as possible.

Thanks
[Galaxy S 5 Android Development (Snapdragon)] sajera:
Camera is working

Play is working

No bugs founds atm, but when i change the lockscreen, phone freeze :)

Good job bro, i'm available for tests if you want ;)
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
I installed this rom without installing Opengapps.... That didn 't work....

After that with minimal Opengapps it went all well, and I was suprised about it, because I was expecting more bumps.

So i was pleasantly surprised...
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
No bro, she is a women.

Edit:

Btw, for people with weatherproblems, try this apk's

https://androidfilehost.com/?w=files&flid=243785
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Yeah right bro or sro.... in his defence: it's not visible (in NL, Cor=Male; Corrie=Female)
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
For those like me, who prefer lineage-root.
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Hi Corinna,

since the beginning of February, the barcode scanning function in Whatsapp is faulty again. Looks exactly like in this post from March 2017. This is, I think, since 20180207 build. No big deal, but I thought I'd let you know.

Best wishes

Peter
[Galaxy S 5 Android Development (Snapdragon)] ali.akbar01:
[MENTION=3419717]cvxda[/MENTION]

Hi Corinna,

First of all, thanks a lot for ur hard work and dedication. I just updated my S5 Prime to 06-04-2018 build and a persistent notification has emerged that I don't know how to remove. I tried removing using terminal but failed. Moreover, a LOSCoin app is installed along with flashing of build which is of no use to me and I'm even not aware of it's purpose.

How can I remove that persistent notification (in screenshot) and LOSCoin app?

Edit:

Fixed the persistent notification.

Terminal wasn't obtaining root access so I ran following command in command line and restarted terminal. Voila

/system/xbin/su -c "/system/xbin/bash -"

After restarting terminal, entered following command

setprop persist.lineage.nofool true

Restarted device, persistent notification gone :)
[Galaxy S 5 Android Development (Snapdragon)] vpa2013:
android 7.1.2 CVE vs kccat6/apq8084 CVE

Hi,

I'm thinking of switching to lineageOS in order to get as many security fixes as possible. Right now i'm using Android 6.0.1 with OTA security given until 09/2016 (I know there's also a samsung release of 04/2017 that I could install manually, i'm actually hesitating between this and lineageOS). From what I understand, this ROM is based on android 7.1.2 (as per wikipedia lineageOS 14.1 = android 7.1.2).

So I'm looking at CVE for android 7.1.2 in cvedetails.com/vulnerability-list/vendor_id-1224/product_id-19997/version_id-213923/Google-Android-7.1.2.html and expects to find whether the vulnerabilities are patched or not based on the CVE tracker at cve.lineageos.org/android_kernel_samsung_apq8084

The thing is, the CVE tracker doesn't mention most of the android 7.1.2 vulnerabilites. For example only looking at score 10, none of them are mentioned:

(cve with google security bulletin references)

CVE-2017-13229 source.android.com/security/bulletin/pixel/2018-02-01

CVE-2017-13208 source.android.com/security/bulletin/2018-01-01

CVE-2017-13179 source.android.com/security/bulletin/2018-01-01

CVE-2017-13178 source.android.com/security/bulletin/2018-01-01

CVE-2017-13177 source.android.com/security/bulletin/2018-01-01

CVE-2017-13160 source.android.com/security/bulletin/2017-12-01

CVE-2017-7376 source.android.com/security/bulletin/2017-06-01

CVE-2017-0807 source.android.com/security/bulletin/2017-12-01

Does it mean that they are not patched? that the patch status is unknown? Am I missing something? Is the code base for apq8084 kernel so different from android 7.1.2 that the list of android 7.1.2 vulnerabilites doesn't apply to it?

One last element: that commit says that lineage OS 14.1 kccat6 has security patch level to 2018-03-05 since Mar 8, 2018

review.lineageos.org/#/c/208870/

Bump security patch level to 2018-03-05

So are all the patches until 2018-03-05 in the ROM?

I have looked at all logs in github projects LineageOS/android_build and LineageOS/android_kernel_samsung_apq8084. The only CVE mentioned in my list is CVE-2017-13208 in commit ce9588a047eae53baf1607a408a8d1d5363f5fde (LineageOS/android_kernel_samsung_apq8084 project)

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
True, I experience the same problem.

Additional the Smart Lock, concerning location based unlock, works no more.
[Galaxy S 5 Android Development (Snapdragon)] oxygen_doi:
Hi, on last 3 build's weather isn't working, only showing the day. Any solution for this? Thanks,
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
I believe that's not a fault of one of the latest updates and / or of LineageOS. The same problem occours on a AICP device (amami), which was updated last in January.
[Galaxy S 5 Android Development (Snapdragon)] max6698:
I just stumbled across this: https://www.xda-developers.com/android-oem-lying-security-patches/ . It includes a link to a tool called SnoopSnitch which can check if security fixes have been applied. I ran it on my lentislte with claimed patch level 2018-03-05. I have attached 3 screenshots. The first screenshot says 102 vulnerabilities have been patched but 3 have not been. The second and third screenshots are from when I drilled down to "2016-12" and "2017-05" to see which patches it thought were missing.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
LineageOS 15.1 (Oreo) preview builds, take 2

I made new LineageOS 15.1 preview builds available for kccat and lentislte.

This is still Work In Progress.

Don't use as daily driver unless the functionality is ok for you.

I still won't take bug reports.

Working:

Audio

Bluetooth

Camera

Deep Sleep

Display

Encryption

Fingerprint

Google Play (with clean install, and a bit bumpy at installation time)

GPS

Hardware Keys

IR

Lights, Torch

NFC

RIL

USB

SELinux

Sensors

Wifi

Not working yet: Everything else. Most notably

Camera (Quality issues, the good old Flash problems with Snap, use Open Camera instead)

RIL (sometimes doesn't come up after boot, rebooting necessary)

There's some unidentified battery hog.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] fgl27:
[MENTION=3419717]cvxda[/MENTION]

In case you want to correct these...

Whatsapp revert this https://github.com/LineageOS/androi...mmit/99899863d4eac80a493c411c8096fc4f0ecdf7cc

The bellow correct the cve reports above on quark:

2016 cve Qualcomm media codecs

https://github.com/bhb27/android_hardware_qcom_media/commit/80104370c090290af4acc4be1cb978cf38a529a9

https://github.com/bhb27/android_hardware_qcom_media/commit/5eb50b71c300753b3b0a552ed61396fcee7906fd

2017 mediaserver was abandoned in the review, but I use it and it works (to make that app report the vce as patched)

https://review.lineageos.org/#/c/LineageOS/android_frameworks_av/+/172845/
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I don't understand what you mean here. Whatsapp removed code from apq8084?!? Sounds unlikely...

Can you push these patches to LineageOS gerrit, please? I'm really busy and it's my last week before vacation.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] fgl27:
Shore I can.

The Whatsapp is a old bug for apq8084 related we have this since M:

https://review.lineageos.org/#/c/LineageOS/android_hardware_qcom_display/+/75011/

As you removed the flag the problem is there and only display it self on some random apps that preview the camera on a "none full screen" way.

I push the revert also so you can test, I'm shore will fix the preview problem...
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Thanks!

I'm just test building but we already know that our device works with it, so I think I'll push it very soon. And (reminder to self) to the lineage-15.1 branch as well.

As for the other patches, I have no merge permissions on these repos, so I'll add other reviewers.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
Hello,

For about two weeks I have installed this ROM. (Kccat6)

Is currently running really well. But I noticed that the battery is empty faster overnight. 13% from 0:00 to 7:30. That's double compared to the stock ROM.

I have already adjusted the system so that no apps are running during idle time or WLAN is active. In the battery history is in this time only a green bar with mobile signal Everything else is inactive.

The performance profile is also "balanced" here

Can I optimize something in terms of consumption?

greetings
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Yes, maybe it helps to install the latest Radio and Bootloader as explained in one of the first posts in this thread. But remember to DO the radio flashing TWICE!

1. Download latest modem

2. Restart your phone into Download mode

3. Start Odin. Untick checkboxes Auto Reboot and F. Reset Time. All other settings leave unchanged! Do not enable Re-partition!

4. Click on AP button, browse for and select the relevant TAR file.

5. Connect your phone via USB cable and wait until Odin recognizes it. Click on Start button.

6. When modem installation finishes, a "Success..." message appears in the Message box.

7. Unplug your phone, press and hold Power button until the phone turns off.

8. On restart immeadiately go to Download mode again and repeat steps 5.-6.

9. Unplug your phone, press and hold Power button until the phone turns off and restarts.

10. Check baseband version in System settings.

Additional do a clean LineageOS install using the latest TWRP, latest LineageOS rom and latest GAPPS.

Wipe

everything

before installing.

There you go. :good:
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
Hello Not-Aus,

Thank you for the instructions.

These are exactly the steps that I did two weeks ago. TWRP 3.2.1-0 is installed. A complete clean-install was done. GApps Micro has been installed. Later added Maps and Chrome via the PlayStore.

At the first installation I had added the GApps Stock. But this was the device very warm and the battery was empty within a short time. Everything was very slow.

I have now installed Wakelock Detector (WLD). Maybe I'll recognize the problem maker (s) here. I'll get back.
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
Hi,

After an hour I added some screenshots.

It was just on the table. From time to time I switched on the display and wrote two WhatsApp.

Greetings
[Galaxy S 5 Android Development (Snapdragon)] Nerva:
What are the current downsides to running LineageOS vs. a customized stock S5 ROM?

The main thing I'm aware of with LineageOS (and the earlier CyanogenMod) is the camera -- the lack of HDR in particular. I see the first post mentions "Open Camera" as "has no such problems and 'just works'" so I'm wondering if that provides the same functionality as the stock camera? I did find the S5's HDR to be one of its best new features, although I don't take THAT many pictures or care THAT much about their image quality... it would still be nice to get HDR and the best quality possible out of the hardware, though.

Another nice feature that I think Samsung introduced on the S5 was the way you could "hover" your finger over all sorts of stuff on screen and get the sort of functionality you do on a computer when you hover the mouse over something rather than clicking -- does LineageOS provide that capability, or is it a proprietary Samsung thing?
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
I take pictures with the device very much and only in HDR. If only the Samsung photo app was available individually ;)

I use the app "Fast Camera - HD Camera Professional" in LOS now. It is similar to the Samsung app and HDR can be easily activated on the screen. It is based on OpenCamera. From time to time but unfortunately the device crashes and reboots automatically when I switch to the same after a long video recording on the photo mode. That is not so often.

There is also a lite version.
[Galaxy S 5 Android Development (Snapdragon)] tomsche:
Hello,

is there a possibility to enable extended lentgh NFC? It is needed to use the german "Ausweisapp2".

regards, tom.
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
When recording the video, the microphone is much too sensitive in noisy environments.

Even if I play it very quietly, an overdriven sound is heard.

Is that due to the Camera app or the LOS?
[Galaxy S 5 Android Development (Snapdragon)] Nerva:
I'm currently running OptimalROM 13.1, and it's been a correspondingly LONG time since I've put a custom ROM on a phone, to the point I've forgotten everything about installing them. Am I better off restoring it to stock and then installing LineageOS, or installing LineageOS directly over OptimalROM? I don't want to brick my phone...
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
This may has something to do with 'mixer_paths.xml' in /system/vendor/etc . See #1311. Had the same problem with external microphone.

Try to replace file with this (must be rooted of course). Then delete cache and dalvic cache in TWRP. Probably it helps.

BTW: I flashed the new LOS 15.1 and works much better than I expected :good:. I know [MENTION=3419717]cvxda[/MENTION] you don't take bug reports, but headphone jack doesn't seem to work.
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
Can it be that this file does not exist on the device? I can not find it anywhere.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
LineageOS 15.1 (Oreo) preview builds 20180427

We're getting closer.

I made new LineageOS 15.1 preview builds available for kccat and lentislte.

This is still Work In Progress.

Only use as daily driver if the functionality is ok for you.

Basically, everything should work now, bugs not withstanding.

Important Notes:

Audio: the missing headphone jack problem should be fixed.

Camera: I switched back to Camera2 since Snap is just buggy. There's a good chance that Lineage will provide OpenCamera at one point, but this may be a long time off yet .

Make sure to perform a factory reset if you already installed the previous Oreo preview build. Otherwise you may end up with a broken Camera.

That's it for now. I'll be very busy with non-Android stuff the next few weeks so it may be a while until I can come back. Nevertheless...

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Sorry for the late reply. It looks like this is possible. A matching patch is already in the lineage-15.1 branch, just not in cm-14.1. I can add this to the cm-14.1 branch as well, but somebody else has to test it in the next official cm-14.1 weekly.

HTH,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
[MENTION=3419717]cvxda[/MENTION]

The link for new lineagebuild isn't set up. But with

change to 27build work. So i think your build upload

was finished.

Btw, any news about the high batterydrain? Looks

more like a generell lineageproblem.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
No idea what you mean. All links are set up correctly, afaics.

Battery drain should be on par with cm-14.1

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Just tested AusweisApp2 with the lineage-15.1 build and I can confirm that it works. That means it's highly likely that it works with the next week's cm-14.1 weekly build as well.

Downside: It only worked after I removed my silicon cover case, but it's not the first time I noticed how queasy the NFC chip is.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
Ok, now the link at your website is visible for me.

Maybe a short refreshproblem on some side.
[Galaxy S 5 Android Development (Snapdragon)] Shirkahn:
I found it and replaced it

I test it when something loud is heard again.

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] pbecks1963:
Is Lineage Os 15.1 based on Android Oreo 8.1?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Yes.

14.x = nougat

15.x = .....

:cowboy: