yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Official LineageOS Addonsu Available - Warning!

Thanks :good::cool: for the pointer.

The official LineageOS Addonsu 16.0 is available in https://download.lineageos.org/extras : addonsu-16.0-arm-signed.zip is the one for the S5.

Edit: Warning - I was running Magisk v18.1, disabled it using the "Restore Images" option in Magisk Manager > Magisk Uninstall & rebooted, installed an unofficial 16.0 addonsu which was working fine & flashed the Latest Uninstaller from the XDA Magisk thread & rebooted to System afterwards.

I uninstalled the unofficial 16.0 addonsu using addonsu-remove-15.1-arm-signed.zip because I checked in their respective updater-script & it uninstalls exactly the same path/files as the unofficial 16.0 addonsu installed.

I tested official addonsu-16.0-arm-signed.zip build 219-03-04 & Privacy Guard > 3-dots > Advanced is crashing Settings: "Settings has stopped".

Same with > Developer options > Manage root access > which normally opens Privacy Guard > Root Access tab if you are using Addonsu.

Note that Manage root access is not available if using Magisk. In that case the same function to enable/disable su for individual apps is in Magisk Manager > Superuser.

Privacy Guard > Advanced is still crashing after flashing addonsu-remove-16.0-arm-signed.zip.

Dirty flashing Official 16.0 build 2019-03-04 klte did not fix the problem.

I restored a full TWRP backup (except modem & EFS because if it ain't broken don't fix it) made 2 days ago with Magisk running & will stick with Magisk until I have the time to do a clean install before using the official 16.0 addonsu.

So my advice to users currently running Magisk: do a full TWRP backup before completely uninstalling Magisk & trying the Official 16.0 Addonsu.

***
[Samsung Galaxy S 5 Unified Development] fitittome:
Privacy Guard if fine with a clean install.
[Samsung Galaxy S 5 Unified Development] Anidatte:
No problem :)

I can confirm, that build 20190305 fixed Snap camera app issues and now it's working fine. In fact, I updated my S5 from 14.1 to 15.1 when the LOS15 was released and now to 16.0 Pie.

So, for now, the remaining issues I found:

1. HCE / Google Pay not working at all, my phone cannot be recognized by any POS, but NFC itself is working fine. On Lineage 15.1 HCE worked fine.

2. Receiving MMS messages locking mobile data transfer (showing X in cellural signal icon). I have to restart data connection and after restarting, the MMS is downloading and data transfer works again.

3. Notification LED not working in default SMS/MMS application.
[Samsung Galaxy S 5 Unified Development] curiousrom:
LineageOS Addonsu, Magisk & SafetyNet Test

Good. Thanks for the feedback.

Could you tell me with LineageOS Addonsu 16.0 & using the SafetyNet Test app as seen in the attachment if it passes the test like it does running Magisk v18.1 on Official 16.0? Note in Privacy Guard you can disable "Keep your device awake" for that app.

That could be important for people using some banking apps, payments, Netflix, etc.

Edit: LineageOS official page about SafetyNet: What it is, and how it affects you

***

Thanks for reporting back that your Camera problem is fixed.

Sorry can't help with your other problems as I don't use Google Pay (not available in my country), my network provider disabled MMS & SMS LED notification is working in the stock Messaging app for me.

Check your network provider's recommended APN settings then double check > Settings > Network & internet > Mobile network > expand Advanced > scroll all the way down to > Access Point Names (APN).

***
[Samsung Galaxy S 5 Unified Development] fitittome:
I don't run Google Play Services or Magisk. I'm pretty sure that any device would fail that Safetynet app without Gapps even if obtained via Yalp etc.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Micro SD Card Problem - Random Reboots

The reason I suggest to use the device itself to format the Micro SD Card in S5 LineageOS Super Clean Install is that it's foolproof as it will format to it's own default file system. I always do that in devices that can do it like in my Nikon DSLRs for example after once being forced to use special recovery software on a card that was formatted in Windows. I do it even with brand new cards.

***

Random Reboots On Different Firmwares

Try rebooting in Safe Mode (long press Power off or Restart) & if the problem is solved then it's something you installed.

If the reboots are very frequent your could try ADB and run a continuous logcat:

adb devices

adb logcat

The logcat will stop if the devices reboots & you could check the last lines. If you want to stop it: Ctrl + c.

You could also use SysLog to capture the last_kmsg which is the last thing the kernel did before an unwanted reboot.

Or use a root enabled file explorer or TWRP's File Manager to copy /proc/last_kmsg.

I had some daily random reboots on a S3 because of corrupted memory sectors that I fixed as described here: S3 Black Screen Freezing Fix - Sudden Death Syndrome.

I read a post by a S5 user & his random reboots was caused by an old swollen battery that made the contact with the phone intermittent. You could remove the battery & put it on a very flat surface & press the corners. If it rocks it's swollen.

I have 2 OEM S5 batteries. One is dated 2015-08, same as my S5 manufacturing date & the other one 2014 & is slightly swollen.

The original Samsung battery for S5 weighs 45~45.2G while the fake ones weighs about 40G and some are not exactly the same size as the OEM & fit loosely in the battery bay.

To rule out a hardware problem install the most recent Samsung stock firmware for your S5 G900I from here or here & test for several hours. That will also update your bootloader & modem if they are old.

After that I suggest a S5 LineageOS Super Clean Install, install only LineageOS & the smaller Open GApps Pico if you wish & test before installing a bunch of apps & rooting if you wish.

Please report back if you solve your problem or not. :cool:

***

Vendor Out Of Date

As [MENTION=8031265]kurtn[/MENTION] wrote the vendor is Samsung & it is not publishing security patches for it's S5 proprietary blobs anymore since August 2017 & nobody can do anything about it.

See this post for more info & screenshots: S5 Android & Vendor Security Patches.

***

It's good practice to read the last 2-3 pages to get up to speed before posting in a thread IMO. ;)

***
[Samsung Galaxy S 5 Unified Development] Fly_7113:
Well, it's now been 5 days of OFFICIAL builds, and now we do even have the OFFICIAL addonsu. maybe we can think of closing this thread and start an OFFICIAL one.

What do you guys think?
[Samsung Galaxy S 5 Unified Development] fitittome:
Another one? There are too many all ready. I'll be starting the 17.0 one early next month. On or about the 1st, I think.
[Samsung Galaxy S 5 Unified Development] godofsalt:
So, is this Thread going to be renamed to OFFICIAL, or just add another Thread for Official 16.0 , on our beloved S5's?
[Samsung Galaxy S 5 Unified Development] Fly_7113:
Yes, you're right. Considered the speed Google is adopting to pull out newer version of Android we'll probably get to 20.0 in an year and half if not less?.

Transforming this into OFFICIAL, as already stated, would be a better option.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
[MENTION=4281316]godofsalt[/MENTION] & [MENTION=8313336]Fly_7113[/MENTION], Typically the Official Lineage Team Maintainer (in this case [MENTION=2693412]haggertk[/MENTION]) either changes the predecessors thread title to the current one or begins a new one.

This is done so the Official Maintainer remains the OP Developer of the Official Thread.

It's not a bad idea actually but, I'm in no hurry/race myself... LMAO! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] pietsukkel:
Disable FlapFlap

Hi Guys,

I'm using a belt holster with a magnetic lid which activates S-View. I read that this is caused by the FlipFlap app and since there is no option (yet) in LineageOS 16 to disable a flip cover, I wanted to disable the FlipFlap app. But for some reason the disable button is grayed-out for this app. Has anybody found a way to fix this? I know you can remove the app when you are root, but it will come back after every upgrade.

Thanks for any help!

Kind regards,

Piet
[Samsung Galaxy S 5 Unified Development] shkedov:
Yeah my laptop's frame has magnets in it (lenovo yoga) so it activates it sometimes. And then no button will wake it up. So I'm usually resetting every time it happens
[Samsung Galaxy S 5 Unified Development] Paul_Lunardi:
Hi all I can't wait until MMS functionality works. If I were to install lineage 16 would there be any way for me to troubleshoot? I mean it doesn't seem like the type of issue that you could submit a logcat for.

I know there was mention in copying over an XML type file with the apn details from Oreo to pie but I wish it worked straight from the installation.

Amy advice would be greatly appreciated.

Thanks
[Samsung Galaxy S 5 Unified Development] haggertk:
There is absolutely a setting:

Settings -> Connected Devices -> Connection Preferences -> Smart Cover

It shows up the first time the hall sensor is triggered after a clean install.
[Samsung Galaxy S 5 Unified Development] jeremywh7:
Fwiw, part of my normal upgrade process is to delete FlipFlap in TWRP, as I am not rooted (I also delete LiveWallpaperPicker):

Mount 'System' then Advanced->File Manager and navigate to /system/priv-app/FlipFlap, then delete (I do the same for /system/app/LiveWallpaperPicker).
[Samsung Galaxy S 5 Unified Development] loomax12:
Bluetooth stability

Bluetooth seems to be working but less reliable as in lineageos 15.

When i connect to my Jabra headset phone calls are working but audio is played via the phone. In the settings it shows that bluetooth audio is connected.

In my car it works nearly as good as on lineageos most of the time everything works. Sometimes I have to turn off bluetooth on both sides to get it working again.

---------- Post added at 08:37 AM ---------- Previous post was at 08:30 AM ----------

Does anyone know whether the phone ( klte) can be encrypted with this rom. I couldn't find any confirmation in this thread.
[Samsung Galaxy S 5 Unified Development] pietsukkel:
Ah yes, I found it. Thank you very much for your help haggertk!

Kind regards,

Piet
[Samsung Galaxy S 5 Unified Development] pietsukkel:
I can confirm that using NFC payments are not working. I always used my phone to make payments using the app of my bank but after the upgrade to LOS16 it is no longer working, the device just isn't recognized by the payment terminals.

Kind regards,

Piet
[Samsung Galaxy S 5 Unified Development] Anidatte:
LineageOS 16 - HCE / Google Pay doesn't work

Yay, I'm not the only one with this problem! ;)

Today I tried to reinstall Google Pay and add my credit card again but it wasn't fix this issue. Google Pay app says, that I can pay, but it's not working, payment terminals can't detect my phone.

Tested on build 20190306 with latest firmware.
[Samsung Galaxy S 5 Unified Development] Vini69:
Quick questions:

- camera : doesn't save photos under DCIM, as with previous releases, when selecting Storage SC Card, but under /android/data/org.lineageos.snap/files ?

- phone connected to home wifi, idle, screen turns off and wifi gets disconnected/turned off after 15~20 minutes and start using mobile data instead, but reconnects to wifi upon turning it on ?

since the option to "keep wifi on during sleep" is not available anymore, I checked the policy with adb : wifi_sleep_policy=2

which is correct to Keep WiFi on during sleep: Always = 2

- anyone able to install any themes with substratum ? ?

Otherwise, works well so far, thanks for the amazing job of keeping the S5 up-to-date!
[Samsung Galaxy S 5 Unified Development] isutommyt:
I'm having "No Service" issues with my klte after trying an upgrade from older working version of los.

My most recent wipe and install is with lineage-16.0-20190305-nightly-klte-signed.zip and open_gapps-arm-9.0-full-20190303.zip. Everything seems fine and I have cell service for a while and then I lose it and can't get it back. Taking my sim out and putting it in my wife's s5 works fine.

This same behavior of cell service working and then going away happened on my first attempt at los 16.0 and I realized I forgot to upgrade my firmware. I odined 20180118_G900V_QL1_MODEM_NON-HLOS.tar.md5 and things seemed to work and then it happened again. Since then I've tried los 15.1 and now back to los 16.0 and get same "No Service" issue.

Has anyone had these issues? What am I missing? Thanks!

EDIT: Ugh, so I go into "Network & Internet" -> "Mobile network" -> "Advanced" -> "Access Point Names" and nothing is selected. I select Verizon as it's my provider, reboot and I have service again. I guess my question now is why/how did that get flipped off?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Bluetooth Headset No Sound During Calls

You could try connecting your Bluetooth headset then > Settings > Connected devices > click on the cog next to your headset's name. Do you see Phone calls & Media audio enabled like in the screenshot?

View attachment 4718628

If you make a call do you see in the dialer the Bluetooth logo above Sound? If not press on it for the popup with the Bluetooth, Speaker & Phone options.

View attachment 4718654

If it fails you could Forget the device, reboot & pair again.

Still fails? Then check the LineageOS Wiki: How to submit a bug report.

***

Bluetooth Has stopped

While waiting for a battery replacement for a Sony headset got a cheap Bluetooth headset showing up as AGILER 0240 once connected to the S5.

After OTA update to 2019-03-07, rebooted & listened to some music with the stock Music app & the Bluetooth headset for 4 hours today. Everything works, phone, WhatsApp & Skype calls & Recording.

The music automatically pause when making a phone & WhatsApp call & restarts after. I stops with Skype & must be manually restarted.

This said "Bluetooth has stopped" (crash) after 2.5 hours, restarting it the headset automatically paired but Bluetooth stopped again after a few seconds. Restarted Bluetooth again & the headset paired & could listen to music for an other 1.5 hours w/o problems until I turned it off.

View attachment 4718655

I captured a logcat using SysLog & attached it in case haggertk is interested.

A few lines from that logcat (open with WordPad or Notepad++ for example to keep the formatting):

That's on S5 SM-G900M (klteub) running Official 16.0 build 2019-03-07 klte + Open GApps ARM 9.0 Pico + Magisk v18.1 & most recent modem & bootloader. No custom kernel, Magisk modules or any system mods.

***

Check your network provider's recommended APN settings then double check > Settings > Network & internet > Mobile network > expand Advanced > scroll all the way down to > Access Point Names (APN).

See this post No Network, No IMEI, No SIM & EFS Partition Restore Fix.

Please report back if you fix your problem or not. :cool:

***

I don't have this problem. Logcat maybe?

***
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
[MENTION=4122877]curiousrom[/MENTION]s you Bluetooth crash is very similar to mine. I have noticed that it is worse when I'm connected to my Chromecast. I filed a bug report on gitlab. https://gitlab.com/LineageOS/issues/android/issues/275

---------- Post added at 08:50 PM ---------- Previous post was at 08:44 PM ----------

I did try removing Bluetooth and my audio book player from battery optimization, but it doesn't seem to have made any difference.
[Samsung Galaxy S 5 Unified Development] Gitanitos:
Hi, on KLTEDUOS Bluetooth in LOS16 works worse than LOS15.1

I'm having a lot of issues with my Xiaomi Mi Band 3 (I never saw any issue on LOS 15.1) and also very unstable wit the Bluetooth car kit.

Enviado desde mi SM-G950F mediante Tapatalk
[Samsung Galaxy S 5 Unified Development] J-Lindo:
Search the thread for "no service". You should find it quick and easy.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I'm trying to gather the logs and such but, has anyone installed the Official AddonSU, set the Superuser to Apps & ADB, successfully gaining root for apps...

... and then after a reboot no apps are able to locate the SU Binary?

Then i Checked the Manage Root area (within the Developer Options) and it reflects that the apps you Granted Root to were all successfully given Root?

I'm trying to also see if there's something in the pipeline in Gerrit by [MENTION=2693412]haggertk[/MENTION] regarding this as well.

I really wasn't expecting this... LMAO! :eek:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
I flashed official addon SU on tuesday I think. I'm using it for terminal and root browser. I have it set to apps only, and have had no problem.
[Samsung Galaxy S 5 Unified Development] zrockcool:
Hi everyone! Just recently flashed the official build and I'm impressed on the improvement made. No reboots and no bluetooth issues so far. I couldn't find though the option in trebuchet where we could change the app icon. Does this version support that just like on 15? Thank you in advance.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Icons, Addonsu Fix & Bluetooth Has Stopped: Mutex?

You can't change the icons in stock LineageOS 16.0 Trebuchet launcher but you can change the icon shape in both Home & App drawer. Some third-party launchers have that option but I don't use them as Official 16.0 is in the early stage & want to stick to stock for bug reporting.

Maybe some S5 16.0 users can report which launcher works for them? :cool:

Press an empty space on the Home screen like in either side of the Apps drawer ^ to access Home settings, Widgets or Wallpapers. Or search for icon in Settings.

Home settings > Change icon shape. Choices are Circle, Square, Squircle or Teardrop @ the present. Annoyance: folders created by stacking app icons are circles when selecting Square & some tilted squircle when selecting the other shapes. Good: you can create folders in the Dock in the bottom of Home.

Some icons have a lot of white because those apps only have legacy icons & not the new Adaptive icons. See Android Developers - Adaptive icons for detailed explanation.

I attached some screenshots including the Trebuchet Home settings options for lurkers who did not install LineageOS 16.0 yet. The last attachment is of Settings & I like those icons.

To extend battery life, thanks to the S5's Super AMOLED display properties which uses less power when the color is black, I use > Settings > Display > Style > Dark and Dark Mode > Black. Also Display > Wallpaper > No wallpaper.

Why? Did you try all the LineageOS 16.0 built-in options in Display?

***

Addonsu Bug Fix?

I was checking in Changes for klte and saw this which is Merged & will be included in 16.0 build 2019-03-09 & newer: 243527: su: Add back mistakenly removed code: "This should fix running su when you are already root." Maybe this will fix your problem?

***

Bluetooth Has Stopped: Mutex?

Thanks for creating a bug report. :good::cool:

I downloaded your logcat & effectively you have some lines similar to the ones I posted in Bluetooth Headset No Sound During Calls with that mutex thingy. Not sure if it's the cause or the effect. :confused: From your logcat:

I don't know if you can edit your bug report's title but to attract a dev's attention I suggest this which includes the error that user get, phone model & the OS. This also makes it easier to find when running a search: 16.0 S5 klte Bluetooth Has Stopped: Mutex?

This search in the LineageOS Gerrit returns a lot of stuff: branch:lineage-16.0 mutex.

***
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I took a look at the Gerrit and Github Commit Comments (and the changes) and it looks, to me, like that's likely to be what was needed.

The mistakenly removed code within the "su.c" looks like it referenced the command that included "ALOGD("Allowing root.")"...

... and, without it, the system defaulted to the next command that included "ALOGD("access_disabled")".

So the two commands (from what I can tell) work together with:

The first looking to see if Root was previously allowed and, if so, to continue allowing it.

The Second looking to see if it was either Denied OR wasn't Previously Allowed.

So, with that stated, it looks to me like "Without the First command", Root that was previously Allowed was only being Referenced/Logged as being allowed but, wasn't actually being granted access to the SU that was resulting in Apps not locating it since the Apps couldn't actually access it.

I hope that I had explained this okay via text... LMAO! :eek:

Thank you very much for pointing this out [MENTION=4122877]curiousrom[/MENTION]! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
I've never made a bug report before this one. Does someone on the lineage team not comb through them and assign them to the appropriate developer based off the information provided in the template? Should I try tagging haggerk in the comments?
[Samsung Galaxy S 5 Unified Development] dekiru:
Muting notification sounds for some apps

Hi,

I am seeking some guidance on how to mute app notifications on a per app basis. Popups are ok, but I don't want to hear the sounds for some news related apps. All the settings I see relate to all apps without a way to individually select which apps can make a sound notification.

Thanks
[Samsung Galaxy S 5 Unified Development] Paul_Lunardi:
Hi there warism,

I've just installed lineage os 16 yesterday with opengapps nano. What I did notice was that the Google clock application where I have my alarms stored has battery optimisation whereas the lineage os clock version did not have battery optimisation.

If I were you I'd check within the clock application settings of battery optimisation is present and change this to no battery optimisation.

Please get back to me it'll be interesting to know your experience.
[Samsung Galaxy S 5 Unified Development] warism100:
when i have this issue i have no GAPPS installed in

my device so the problem is in lineageos apk

(alarm )