yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Bunch of Mods

That's because you are missing balsamic vinegar in that ratatouille lol.

Too many variables to troubleshoot in an official LineageOS thread.

Go to the various mods threads according to the errors in the logcat.

You can capture a logcat of the OTA update while it's bootlooping if you enabled adb debugging on the device & authorized once access for your computer previously.

"...adreno330 MOD..." - See Re: S5 Adreno 330 GPU Drivers & New Samsung OEM Battery?.

"...After wipe system and flash rom, i must install this addons again?..." - Yes if you do a S5 super clean install

And do a full TWRP backup including the EFS Partition of that clean install before installing system mods.

***
[Samsung Galaxy S 5 Unified Development] kurtn:
Or change to lineage4microG. Best with clean installation.
[Samsung Galaxy S 5 Unified Development] LuisElListo:
Hey umm, i am a big fan of game launcher and game tuner for samsung, its possible to install those and work?
[Samsung Galaxy S 5 Unified Development] Eadn33:
EFS Partition

I have two SM-G900V klte phones in the family, both running Lineage 16.0 2019-11-17 nightly, haggertk firmware files including baseband QL1. One of them has been dirty flashed since Lineage 15, the other super clean install per [MENTION=4122877]curiousrom[/MENTION] recommendation.

Both phones experience occasional loss of service requiring restore of EFS partition, this can happen once per week, or sometimes once per month.

I understand this is a known issue and I believe it seems to be specific to the verizon variant. My question is whether this is an issue that can be studied, logged, reviewed? OR is this a black box that is not possible to see into and is something that can not be fixed?

thanks for any input.
[Samsung Galaxy S 5 Unified Development] phone_user19:
Hi, how to switch off back key button light? There's 2 button at the bottom that I want to switch off the light.

Thanks in advance
[Samsung Galaxy S 5 Unified Development] kurtn:
Settings system buttons
[Samsung Galaxy S 5 Unified Development] phone_user19:
Thank you very much!:good:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Android Bump Security String to 2019-12-05 in The Tubes!

As you can see in the LineageOS Gerrit, S5 dev haggertk has been busy and merged 22 commits today (2019-12-11): owner:haggertk@lineageos.org branch:lineage-16.0.

Because that page changes all the time I attached a screenshot to this post for posterity.

View attachment 4899151

Besides 6 commits related to Bluetooth (LineageOS/android_system_bt) there is Bump Security String to 2019-12-05 which is included in build 2019-12-11 or newer: https://download.lineageos.org/klte/changes/

See Android Security Bulletin—December 2019 for details about the security fixes.

You can see what the automated LineageOS builder is currently doing here (klte is on page 6 or 7 these days but that may change @ any time): https://buildkite.com/lineageos/android/builds?branch=lineage-16.0

Will report back after installing the next update LineageOS 16.0 for S5 klte via OTA Updater.

***

Updated to LineageOS 2019-12-11 via the built-in LineageOS OTA Updater a Galaxy S5 G900M LineageOS 16.0 klte running build 2019-12-01 + Open GApps Pico + LineageOS AddonSU, no custom kernel or system mods of any kind & everything went smoothly.

After the automatic reboot as seen in the screenshot: > Settings > About phone > press on Android version 9 > Android security patch level: December 5, 2019.

View attachment 4899255

The Vendor security patch level remains @ August 1, 2017 because the vendor is Samsung & it is not publishing security patches for it's S5 proprietary hardware related blobs anymore since August 2017.

Of note from the moment I clicked install to full automatic reboot to System it took 7 minutes 45 seconds. That may very depending on your setup, settings & installed apps.

Thank you to the Lineage Team & Mr. haggertk for keeping our old S5 up to date. :good::cool:

***
[Samsung Galaxy S 5 Unified Development] phone_user19:
unroot phone

Hi all. I cannot use one of my app because my phone is rooted. What is the safe or official way to unroot my device? Thanks in advance.

[IMG="rooted phone"]https://i.imgur.com/gAQ6143.png[/IMG]
[Samsung Galaxy S 5 Unified Development] cexcells:
If you are rooted using magisk from magisk manager you can hide any app from root detection.
[Samsung Galaxy S 5 Unified Development] phone_user19:
In the developer option, Root Access is disabled. I don't root after I install Lineage 16 but app detect my device as rooted maybe because I'm using custom ROM?

WhatsApp also detect I'm using custom rom but allow me to use it.
[Samsung Galaxy S 5 Unified Development] kurtn:
Yes, it's called safetynet and checks for more parameters. Not only root. But most apps give you a message crying about root if safetynet check fails.

In the short term there is maybe a solution, but Google can and will change the detection mechanisms.
[Samsung Galaxy S 5 Unified Development] Noob9496:
Settings/System/Buttons/Backlight - uncheck Illuminate buttons.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Official: Privacy Guard & LineageOS AddonSU Gone in 17.0

FYI in the upcoming official LineageOS 17.0, Privacy Guard & LineageOS AddonSU are gone. :crying:

See this 2019-12-11 XDA portal article for detailed explanations: LineageOS is dropping its own superuser implementation, making Magisk the de facto solution.

Note that in the LineageOS Gerrit I don't see any work done for a S5 klte + variants LineageOS 17.0 by S5 maintainer [MENTION=2693412]haggertk[/MENTION] @ the present with this search: owner:haggertk@lineageos.org branch:lineage-17.0.

Either haggertk is working secretly on his own computer or after all those years supporting the S5 through CyanogenMod 13.0, LineageOS 14.1, 15.1 & 16.0 he decided to move on to an other device or just do other stuff with his spare time.

Whatever he decides is cool with me & Thanks for all the fish! :good::cool:

***

You cannot use this app on a rooted device error

Some apps check only if your device passes the SafetyNet Test.

On my Galaxy S5 G900M LineageOS 16.0 klte build 2019-12-11 + Open GApps Pico, the LineageOS AddonSU adds > Settings > System > Advanced > Developer options > Root access > enable Apps option.

I can disable root at any time on the fly with that Root access setting if an app does not work with it.

With root SafetyNet Test Fail, with root disabled: SafetyNet Test Pass (screenshot).

Now some users root & hide the fact that the device is rooted with Magisk.

Other apps like yours will refuse to run if you have a custom ROM. The workarounds:

Use an other app instead.

Trick the app by pretending that LineageOS is a stock Samsung. Search thread Magisk General Support / Discussion with spoofing.

Check also the excellent Magisk and MagiskHide Installation and Troubleshooting guide by [MENTION=4667597]Didgeridoohan[/MENTION].

In this case he is not rooted & should pass the SafetyNet Test on S5 running LineageOS 16.0 like I do with root disabled but his app does an additional test.

***
[Samsung Galaxy S 5 Unified Development] phone_user19:
I installed magisk and hide the app and restart device but still the app can detect I'm on rooted phone. After hide the playstore and restart then I can login into my app.

Thank you all for your helpful reply. My problem is solved.:good:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: You cannot use this app on a rooted device

Good for you & Thanks :good: for reporting back about how you fixed it. Feedback is the best way to learn.

Just curious: what is the name of the app so I can test without Magisk & what is your exact S5 model?

Are you sure your S5 was not rooted when you got the "You cannot use this app on a rooted device" error? :confused:

***
[Samsung Galaxy S 5 Unified Development] phone_user19:
Here's the app. https://play.google.com/store/apps/details?id=com.celcom.yoodo&hl=en.

I'm using SM-G900F and phone is not rooted.

I get some helped from here : https://support.yoodo.com.my/hc/ms/...ad-application-from-playstore?page=2#comments

Somebody even dig into the code to check how the detection happen:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: You cannot use this app on a rooted device

Thanks :good: for the additional info.

When I check your app Yoodo on my computer it returns: "X This app is incompatible with all of your devices." and when searching for it on the S5 Play Store it does not show up in the results.

That's an app for a Malaysian network operator, right? I live in Costa Rica so the download may be region restricted.

***

Edit: in your image I see detectTestKeys & instead of release-keys which one gets in stock ROM, in my S5 G900M LineageOS 16.0 build.prop I see ro.vendor.build.tags=test-keys.

***
[Samsung Galaxy S 5 Unified Development] phone_user19:
yes, that app is from malaysian telco. Also apparently I lost my fingerprint feature after installing magisk.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Lost Fingerprint with Magisk

Try deleting registered fingerprints, set screen lock to None, reboot & try it again.

***
[Samsung Galaxy S 5 Unified Development] phone_user19:
That does solved the fingerprint issue. Thank you very much:good:
[Samsung Galaxy S 5 Unified Development] Vini69:
Got confronted to this issue some time ago and found on a thread those recommendations that worked for me :

"Do a clean install, making sure that in TWRP you WIPE /data using the FORMAT DATA button and type 'yes' to continue. This makes sure the Trustzone (where the fingerprints are stored) is reset."

Unfortunately that also means you are reinitializing your phone in the process!
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Sorry for the novice question, but does this mean that there has been a significant update to the bluetooth within the rom?
[Samsung Galaxy S 5 Unified Development] curiousrom:
"Significant" Recent Buetooth Changes? - S5 Encryption Performance?

¯\_(ツ)_/¯

I am a novice too when it comes to Bluetooth coding. ;)

Everything is relative including "significant" which surely does not have the same meaning for you & me.

LineageOS devs are not known for verbose & easy to understand commit messages.

In haggertk's recent Bluetooth commit messages the links to Bug: numbers are broken but pasting those numbers in a search engine returns some results.

Because they were merged together with the security bump I guess that they are security related but maybe not for some of them.

JustWorks: Auto-accept only incoming temporary pairing.

Fix read out of bounds in BtifAvEvent: DeepCopy

SDP: Disconnect when there is a bad length

Use memcpy instead of casting to convert device_class to int

SDP: disconnect if sdp_copy_raw_data fails

DO NOT MERGE: btif: require pairing dialog for JustWorks SSP

BTW when you quote a long post you can trim the quote & delete the irrelevant parts between the [ Quote ] and [/Quote] brackets to remove clutter like I just did when quoting myself above. ;) Or use the @ mention instead of a quote to get the user notified like this: [MENTION=7350987]yoshkapundrick[/MENTION] for example.

***

Does Encryption Impact The Galaxy S5 LineageOS 16.0 Performance?

[MENTION=7847310]Vini69[/MENTION] - Currently your signature says "SM-G900FD (klteduos) Lineage 16.0 Encrypted…". AFAIK the S5 does not have hardware support for encryption, only software in LineageOS 16.0 so just curious did you notice a lost of performance after encrypting?

[MENTION=7978913]fitittome[/MENTION] posted elsewhere that it did not affect his S5 G900F running LineageOS 16.0 but can't find the link @ the present. Maybe he could chime in?

***
[Samsung Galaxy S 5 Unified Development] yoshkapundrick:
Thanks. I guess I will have to try the update. Currently I am using a 14.1 rom because with this rom my car bluetooth 1.1 does not work well (dropped connections). The 14.1 rom works really well for my needs (bluetooth). Thanks again
[Samsung Galaxy S 5 Unified Development] wrighto3:
Love the ROM, no problems with it, c-spire galaxy 5. Was wondering how to turn off charging light at top left of phone. Want to use as night clock and light is too bright. Thanks for any help.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Disabling Battery LED/Light Notification - Custom Apps Colors

Search Settings with light > Battery light > toggle off Battery light. (screenshot)

Note that in the same panel you could change Charging > light to a darker color by pressing on it & you will see the actual LED preview on the phone.

There are also some Brightness levels options.

***

Edit: [MENTION=3883681]wrighto3[/MENTION] - You can also customize the light color for your apps notifications like in the second attachment.

***
[Samsung Galaxy S 5 Unified Development] wrighto3:
Thanks for the quick reply. Exactly what I needed. This forum and its members are the greatest.:D
[Samsung Galaxy S 5 Unified Development] Samzee89:
Network Connection/Battery Life Bad/APN Missing/Things

First thing's first: I'm new around these parts, and also relatively new to flashing ROMs and all that. My apologies.

So, I recently installed a Lineage 16 nightly build for my G900P (Virgin Mobile U.S.). The installation went well, but I'm having network and battery troubles. I've done a fair bit of Googling and looking through these forums (though they are vast) and as a noob, I've come up with more questions than answers.

So, the issues that I've come across thus far are as follows: 4G LTE is not a thing. At best, I get relatively low speeds at 3G. It drops out pretty frequently, and sometimes goes to 1X or 2X. Battery life drains fast. APN settings are non-existent. They're just not there. Also can't find CSC, PDA, or Baseband version where it seems they should be in settings. The "Phone INFO" app provides Baseband version, but not CSC, or PDA. The app tells me that my Bootloader and Baseband version are both: G900PVPS3CQD1

When I expand Advanced Settings under Mobile Network, it only reveals "Preferred Network Type" (which is currently CDMA + LTE/EvDo), System Select (Which I just now set to "Home Only"), and CDMA Subscription (which is set to NV. It won't even let me change it to RUIM/SIM). No APN settings, or anything else.

I came from stock 6.0.1. So in theory, I should have the latest stock firmware, right? It appears that way--at least for Bootloader and Baseband. I'm confused about all this firmware stuff. I've seen posts saying that these network/battery issues are likely a result of the Baseband/Modem/Radio firmware being too outdated for Pie. But then others say to only flash the latest stock firmware, which I think I have? I've never flashed specific firmware, but it would seem that I would already have the latest stock firmware since I came from stock 6.0.1. As for APN, I tried using the "APN Settings" app to view/change that, but to no avail. All I've tried thus far is to restore EFS partition. Didn't do the trick. I'm a bit out of my league here, and am at a loss.

Any help is greatly appreciated. Thank you!

[Edit: Oh, and I'm not currently rooted]
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: G900P Virgin Network Connection/Battery Life Bad/APN Missing

Welcome to XDA. :good::cool:

Did you also install a GApps package? If so which one exactly?

CQD1 are the most recent Bootloader and Baseband @ the present for the S5 G900P.

Virgin Mobile U.S. is a Mobile Virtual Network Operator (MVNO) which is marketing speak for a reseller of network services. It's not a real network provider.

Some of them block APN editing when they are provisioning the SIM & sometimes have a complicated APN setup.

Sometimes they switch which real network provider they are using depending on the nearest cellular tower.

How old is your SIM?

I am asking because on S3 i9300 LineageOS 14.1 for 2 weeks I could receive but not send SMS. Then I bought a Galaxy S5 SM-G900M & on LineageOS 15.1 official inserted that old SIM and still had the can't send SMS problem + was not getting LTE.

Went to my network provider's shop & got a new SIM & LTE appeared instantly on the status bar after booting it. And the SMS problem was solved.

The workarounds: insert your SIM in an other phone with stock firmware, send an SMS & wait for 10 minutes for provisioning. Or get a new SIM.

Edit: [MENTION=10384965]Samzee89[/MENTION] - Check this post by [MENTION=4422232]eurohunter[/MENTION] replying to [MENTION=8098052]Couchy[/MENTION] about not seeing APN settings options, Virgin Mobile, CQD1 & working LTE on a S5 G900P running LineageOS 16.0. He said he flashed a "VM APN FIX zip" but did not provide a link.

***

About battery life check the links for tips + idle battery usage analyzing apps & screenshots in S5 New Battery Life.

***
[Samsung Galaxy S 5 Unified Development] jdrch:
2019-12-15 build is failing to boot on my SM-G900V. Seems stuck at the animated logo stage. Anyone else?
[Samsung Galaxy S 5 Unified Development] kurtn:
GApps or magisk or any other addon installed?
[Samsung Galaxy S 5 Unified Development] greddyrx7:
G900f i am having a problem. Many times in the Day my S5 stucks and Just looks like this. Any ideas? Have this problem with Any Android 9 rom.
[Samsung Galaxy S 5 Unified Development] durukanx:
Here no problem same device ?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: 2019-12-15 build is failing to boot on my SM-G900V - Disabling System Apps

Also if using a custom kernel.

Did you try flashing manually the LineageOS update only & wiping only the caches?

The more troubleshooting info you include the more relevant help replies you will get.

[MENTION=5909804]jdrch[/MENTION] - See Re: SM-G900F always boots into TWRP after LOS 16 OTA update and the follow-up post below it about using logcat to find the cause of the bootloop, using Safe Mode & the TWRP app causing bootloop.

There are no changes between build 2019-12-11 & build 2019-12-15 and did not have any problems with the OTA update as described here: Android Bump Security String to 2019-12-05 in The Tubes!

***

How to Disable System Apps & Smart Cover

That's the Smart Cover lockscreen activated by a magnet that was near the left side Recent capacitive button. See the attached screenshot.

Go to > Settings > Connected devices > Connection preferences > and disable Smart cover.

That Smart Cover settings appears only after the first time the hall sensor (magnetic field) is triggered after a clean install.

The app detecting the cover & locking/unlocking the screen in LineageOS 16.0 is Settings > Apps & notifications > 3-dots > Show System > FlipFlap (org.lineageos.flipflap).

If rooted there are a number of third-party apps that can disable (they call it freezing) System apps in Settings > Apps > 3-dots > Show system when the Disable button is greyed out like SD Maid which I use for lots of stuff but I use also App Freezer because you can add some apps to Favorite & when pressing on them you get infos like path, services, etc as seen in the screenshots.

I also use it for freezing some annoying hard to tame apps that I only use once in a while. You can also export your disabled apps & import the list after a clean install.

Be very careful & don't disable stuff without researching it otherwise brace for system freeze & boot loops. A recent full TWRP backup is a good thing when tinkering with this.

If not rooted you can use the adb command method described in How to disable any pre-installed system app bloatware on Android without root using adb. These tweaks will survive updates.

Just go to > Settings > Apps & notifications > 3-dots > Show System > app's name > Advanced > scroll all the way to the bottom to get the package name to be used in adb. In this case it is:

Windows Command Prompt: adb shell pm disable-user --user 0 org.lineageos.flipflap

Mac/Linux Terminal: ./adb shell pm disable-user --user 0 org.lineageos.flipflap

***
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
This is the flip cover. Go to settings and disable the flip cover.

See Disabling System Apps - FlipFlap, Smart Cover or S View.
[Samsung Galaxy S 5 Unified Development] jdrch:
GApps, which the previous build works just fine with.

---------- Post added at 12:31 ---------- Previous post was at 12:15 ----------

No custom kernel installed.

Yes, that's exactly what I did.

Thanks for the additional information!
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: 2019-12-15 build is failing to boot on my SM-G900V

After trying to boot in Safe Mode to see if it boots which would point to a boot problem caused by an app you installed, try flashing both LineageOS + GApps & wiping only the caches.

In the LineageOS download page you could download the sha256 checksum of the build you are flashing & use a hash calculator utility on your computer compare it to the file you downloaded to make sure it's not corrupted.

When using the LineageOS built-in OTA Updater it automatically checks the integrity of the file after downloading it.

In the Open GApps download pages you can find an MD5 checksum to do the same thing.

You could also try with LineageOS build 2019-12-11 which is known to work properly.

***
[Samsung Galaxy S 5 Unified Development] kurtn:
In your case i would download new GApps, wipe system and flash rom and GApps.
[Samsung Galaxy S 5 Unified Development] jdrch:
I'll try that.

I do checksums on both before I install them, every time.

2019-12-14 works properly too.

---------- Post added at 13:00 ---------- Previous post was at 12:51 ----------

2019-12-14 LOS 16.1 + GApps builds works perfectly, so there's no problem there. Literally the only change in my phone's configuration between booting and not booting is the 2019-12-15 build.

I might try that too.
[Samsung Galaxy S 5 Unified Development] curiousrom:
WARNING - Re: 2019-12-15 build is failing to boot on my SM-G900V

Thanks for reporting back with that info. :good::cool:

We could try to ping [MENTION=2693412]haggertk[/MENTION] but I have not seen him in this tread since several months.

Edit: [MENTION=5909804]jdrch[/MENTION] -I can see a bunch of changes for our S5 kernel (android_kernel_samsung_msm8974) included in the klte build 2019-12-26 or newer. Hopefully it does not carry the bug you found with build 2019-12-15: https://download.lineageos.org/klte/changes/

I think they are mostly for an other device using the same kernel.

Because that changelog page is updated all the time, I'm including a screenshot of it for posterity.

You could file a bug report & include a logcat made during failed boot + a TWRP recovery log as described below but they are just piling up with very long response time: LineageOS Wiki > How to submit a bug report.

If you do make one please post the link here.

WARNING - Following [MENTION=5909804]jdrch[/MENTION] info, make sure you have a recent full TWRP backup before updating! (screenshot)

Which is good practice anyway. ;)

***

FYI if you look in the TWRP log after flashing LineageOS manually or via OTA Updater it automatically wipes System before installing it but it can't hurt. This is from TWRP last_log after the OTA update to build 2019-12-11:

TWRP automatically copies it's last log in /cache/recovery/last_log.

So if you did not capture the log you can boot in TWRP > Advanced > File Manager > and copy to external Micro SD card the last TWRP log: /cache/recovery/last_log.

Using a root enabled file explorer I save that last_log after every OTA update as it automatically boots in System without giving you the chance to save the TWRP log manually.

I also navigate to /data/lineageos_updates/ & move the update to the external SD Card in case I want to re-install it manually or for possible future use.

If you flash manually you can check the TWRP log for errors: after flashing in TWRP & before rebooting: go to > Backup > Select Storage to external Micro SD card then > Home > Advanced > Copy Log to external SD card then you can connect to a computer to copy it as MTP is enabled by default in TWRP.

***