yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] dezraj:
Bugs not fixed

Dear developers, I've updated the system to the build from March 18th and the following bugs persist:

- the embedded music player won't recognize my music in my external SD card. It shows the playlists with 00 songs. The same happens with Google Play Music app too. I also had this problem with Lineage 15.1 but I suppose it got eventually fixed there because the songs started showing.

- the rotation button cannot keep the phone in landscape mode. If I toggle the rotation, then turn the phone to landscape, then turn off the rotation to always keep it in landscape mode, phone returns to portrait mode.

- if you're running out of battery and turn on the battery saver mode, and your phone dies (it shut downs) when the battery runs out, then if you turn it on with a good amount of charge in the battery, it will still be in battery saver mode. I suppose it had to automatically turn it off as soon as it detected a good amount of charge, no?

- also, the clock widget will never load when the thing above happens. It will always be in "loading widget..." state.

- I'm not being able to download any attachments from the Gmail app. I touch the download button but nothing seems to happen. I don't know if it's a bug in the app or in the system though.

Build installed:

lineage-16.0-20190318-nightly-klteduos-signed.zip

Thank you so much for any help. :good::highfive:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Can Files explorer see your music and play it?

Make sure your folder is named exactly: Music.

Search the folder & delete any .nomedia files which prevent Music or other sounds apps from indexing it.

The stock LineageOS Music app supports only playlists in your folder with the .m3u extension.

When I add stuff to the S5 & it does not show up immediately I use media.Re.Scan: media scanner and force a scan of the external memory card or the entire phone internal media + card (screenshot).

Did you try Settings > Apps & notifications > Music > Storage > Clear storage & > Apps & notifications > 3-dots > Show System > Media Storage > Clear storage & reboot?

Edit: [MENTION=8542611]dezraj[/MENTION] What is the extension of your music files?
[Samsung Galaxy S 5 Unified Development] J-Lindo:
That's entirely what I expect it is. What I imagine at this point is my logcat might be useful because at the time it was logged, the G900V No Service bug got triggered, either by cause or coincidence.

Always a fun ride with custom ROMS ?
[Samsung Galaxy S 5 Unified Development] cexcells:
There is a ROM for the S2 based on Android 4.4.4 that gets updated security patches.
[Samsung Galaxy S 5 Unified Development] Eclipse1991:
The thing is that I need to revive it first. Some weeks ago it just didnt reboot anymore and it has been always on stock firmware. Then I tried a factory reser through the stock recovery and after that its even worse because i cant even boot into recovery anymore. Only thing is working atm is the dl mode. I tried to flash a stock firmware via odin but it just didnt work.I used the odin 3.13, when I got some time ill try other versions of it.

Gesendet von meinem MI 8 mit Tapatalk
[Samsung Galaxy S 5 Unified Development] DragonQ:
This just blows my mind. How do you get such good battery life?? I'm still on the last 15.1 build on my G900F and I rarely get to the end of the day with any spare battery, and that's with barely touching it at work because it's in my locker rather than at my desk. I use it for music and maps during my 20 minute commute, which uses maybe 15% each way. Other than that, I probably look at it a dozen times a day for a minute at a time or less. The battery stats are completely useless too, since it's always Mobile Network Standby or Android OS using the battery supposedly. The lock-down of non-system apps sucks too because I can't see CPU wakelocks in Wakelock Detector, for example.

I have the latest BTU baseband, the battery is under a year old, and I've done at least 3 complete clean installs since 15.x came out.

It was definitely much better on 14.1 because I didn't actually need to charge it every night, whereas now I have to charge it during the day if I know I'm going to be using it in the evening. Is this just something that's improved with version 16.0?
[Samsung Galaxy S 5 Unified Development] Paul_Lunardi:
Bug Reports and prioritisation

Hi all,

I've submitted my first 2 bug reports for lineage 16:

https://gitlab.com/LineageOS/issues/android/issues/302 (bluetooth wireless speaker disconnection issue) (which appears to be similar to https://gitlab.com/LineageOS/issues/android/issues/275)

and https://gitlab.com/LineageOS/issues/android/issues/402 (unable to send and receive MMS issue).

I realise that it's rude to ask for ETA's and fixes though can I encourage people to look at the bug reports so that they could possibly add their logcats to get some traction on the issue.

Unfortunately I don't know how to go about resolving the issues personally, though hope that I can make a contribution with making good bug reports to hopefully make the process of resolving them easier and making the overall experience for users more positive.

Any comment/feedback would be greatly appreciated.

Thank you.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Battery Life 15.1 vs 16.0

"...How do you get such good battery life??" - Remove Animations UI Speedup Test - Taming Google & Apps.

"...I'm still on the last 15.1 build on my G900F" - Other S5 klte + Variants LineageOS 16.0 users can confirm that: the battery life is better on 16.0 vs 15.1 with reasonable Mobile Network Standby usage as you can see in the attached screenshot made yesterday.

View attachment 4728254

This said the quality of the cell signal you get may affect the battery usage. The second attachment also made yesterday is of GSam Battery Monitor > Phone Radio panel where you can see the variations. Wifi signal variations may also affect battery life. The third attachment is Doze as reported by GSam.

View attachment 4728255 View attachment 4728256

It's fast & easy to try official 15.1 ==> official 16.0 as described here: Official 16.0 for S5 2019-03-01 - Dirty Flash Report.

Just make a full TWRP backup & the other backups suggested in the post, then > Wipe > Advanced Wipe > wipe System, the Dalvik / Art cache & Cache only & flash the Official 16.0 for S5 + Open GApps Pico ARM 9.0 if you wish. You can always root later w/ the LineageOS Addonsu 16.0 which I'm using currently or Magisk v18.1 which I used previously.

My bet is if you try 16.0 you won't go back to 15.1.

"...the battery is under a year old - Ya, 2 shops in my village had brand new cosmetically perfect S5 batteries but with a lower weight so less capacity: fast charging & fast discharging & going bad after a few months. Again: fake with a weight of 40~40.2 grams or a 45~45.2 grams original Samsung for S5.

" ...it's in my locker rather than at my desk" - If it's a metal locker then maybe it's a perfect Faraday cage & your S5 is going crazy trying to find a signal. :eek: Why not turn Airplane on before throwing it in jail? :)

My daily driver: S5 G900M LineageOS 16.0 klte build 2019-03-18 + Open GApps Pico + LineageOS Addonsu. Most recent modem, bootloader & TWRP for my model. No system mods of any kind. Previous flashed as linked above w/ Magisk now on S5 LineageOS Super Clean Install with no battery life difference that I can observe @ the present.

If you do try 16.0 please report back with your impressions. :cool:

***
[Samsung Galaxy S 5 Unified Development] Eclipse1991:
Btw how can I see If im getting the "original" battery when Im buying it at amzn or ebay?

Gesendet von meinem MI 8 mit Tapatalk
[Samsung Galaxy S 5 Unified Development] fitittome:
Just ask the seller if it NFC compatible (or see if its mentioned in the description) that then forms part of your contract. ;) I've bought a few like that and they work fine, whether they are 'original' or not, I don't know.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Fake vs OEM S5 Samsung Battery

Expand "Show all specs" in this official Samsung page (45.2g): https://www.samsung.com/uk/mobile-accessories/battery-bg900b-galaxy-s5/

I have 2 OEM S5 batteries & the weight for both is 45g on a cheap scale.

On one side you can see & feel a rectangular depression due to the shape of the NFC antenna as seen in the attached photo I took.

You can see the antenna in this video as the guy removed the batterie's wrapper: https://www.youtube.com/watch?v=HoOo7A_AjsU Attached is a screengrab from it.

Yes asking if the battery is NFC compatible is a good trick OTOH I saw a fake battery in a fake box which said NFC compatible. So why not ask the weight too? ;)

I did this with 6 local online vendors & all were fakes @ 40~40.2 gr.

***

See also this post about LineageOS 16.0 for S5 limiting the maximum battery charge voltage: S5 Battery Charging - Fake 100%

***
[Samsung Galaxy S 5 Unified Development] pietsukkel:
Issue seems to be fixed, bank payments with NFC are working fine now. Thank you very much!
[Samsung Galaxy S 5 Unified Development] kdc415:
Battery Life

I decided to try an aftermarket battery, that way I at least take away the question of OEM or not. Did some research and decided on aexpower AEXS5. I got 2 batteries and battery charger for 24 bucks I think it was. I "conditioned" the batteries per the instructions, doing a complete discharge and full recharge for at least 3 full cycles. After that I mostly follow that regime where I can. On unofficial 16 for a G900V, I was getting 31-36 hours per charge depending on usage as my daily driver using the tips here: Remove Animations UI Speedup Test - Taming Google & Apps. I just upgraded to the latest official last night and I expect the same battery life.

---------- Post added at 09:00 AM ---------- Previous post was at 08:09 AM ----------

I just went from unofficial 16 to lineage-16.0-20190321-nightly-klte-signed.zip last night. When I went to change the ringtone, I was asked to use Sounds or Gallery, I chose Sounds | Always. When I try to select a new sound the Sounds app crashes, has anyone else experienced this?

Just to throw my experience in on the No Service bug, my phone went to No Service while I was still on unofficial 16. I was out of town and did not have my EFS backup so I did:

Flash latest bootloader/modem from haggertk: G900VVRU2DQL1_G900VVRU2DQL1_Baseband_Firmware.tar.md5 located here - which for G900V does not contain the bootloader mind you, so it's stock G900VVRS2DQB2.

Wipe of caches, system, data and flashed lineage-16.0-20190321-nightly-klte-signed.zip with gapps arm pico.

Rebooted into system, did the initial config and service was restored.

Back in to TWRP (3.2.3) - did a full backup then flashed addonsu-16.0-arm-signed.zip from 2019-03-04 - reboot into System now No Service.

Restoring EFS brought the service back, I have not rebooted since as I need it for work today
[Samsung Galaxy S 5 Unified Development] WinJunkie:
Hey guys trying reuse this s5 g900i, everything seems to be running great with the 03/21 except I have no sound from rear speaker.

The front speaker seems to work when i try adjust call volume but no media ringtone etc.. from back.

Is this a know issue? Any fix?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Sounds Crash When Changing Ringtone - Battery Conditionning?

Thanks for the reports. :good::cool:

I don't know about that brand of battery but when I check battery reviews I read the ones where the reviewer updated it after several months. Some don't hold their charge & get swollen fast.

From Battery University - How to Prolong Lithium-based Batteries:

I try to avoid discharging below 5~10%. Overtime the fuel gauge will be correct w/o the need of full charge/full discharge of the battery.

This said check S5 Battery Fake 100%: if you charge @ 100%, unplug & reboot does it show 90~92%? Rebooting again w/ the battery @ 92% or less will cause only a normal 1~2% drop.

Anyway if you swap batteries often then that calibration is worthless IMO.

***

"...the Sounds app crashes"- That's a known issue. See my post Sounds Crash When Changing Ringtone, Notification or Alarm with workaround.

There is a bug report in the LineageOS bug tracker, maybe you could add your experience & vote it up: The Sounds App keep on crashing.

***

"I was out of town and did not have my EFS backup..." - I always keep a standalone EFS partition backup in the external SD card as it is so small: No Network, No IMEI, No SIM & EFS Partition Restore Fix

***

Even when you play some music?

***
[Samsung Galaxy S 5 Unified Development] WinJunkie:
Yep music / youtube

I think i might of flashed the wrong rom though, my s5 displayed klte in aida64 as the model but on lineage it says to use kldedv for 900i

I'll try doing a clean flash of both of them tommorow again when batteries charged and report back

Is kldedv the right choice though?
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 kltedv shown as klte?

Are you 100% sure it's a S5 G900I? Did you check the sticker under the battery? What does DevCheck say?

LineageOS wiki: Galaxy S5 LTE (G900I/P) (kltedv)

Check S5 Odin Flashable Modem & Bootloader w/ link to most recent for S5 SM-G900I.

***
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
Just a heads up regarding the Root issue I previously had been experiencing myself using the Official AddonSU.

It looks like today's (22-Mar-2019) build has been, so far, keeping root without any issues as opposed to the previous builds loosing Root after 1-3 +/- reboots.

So far, today, It's been approximately 6 or so hours with a handful of Reboots and its looking fantastic (fingers crossed).

I would like to see a solid week before closing this issue within the Gitter for LineageOS.

I also had noticed that the SELinux is, in fact, Permissive Capable. I was a bit thrown off that the LineageOS 16.0 no longer displays that "Kernel is not SEAndroid Enforcing" on the first display of the boot up.

I had also noticed the different verbiage used on Pie. While in the Enforcing Mode, the system reflects SELinux as "Enforcing" but, while in Permissive Mode, the system reflects SELinux as "Disabled".

I just wanted to provide my input here in hopes of helping others out. :thumbup:

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

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] Pat_D:
Guys I'm running the 22-03 build on g900f with gapps nano. I'm experiencing this strange phenomenon where I hold down the home button but instead of google assistant popping up, only a quick vibration is triggered. In the settings I have the 'search assistant' option enabled for the home button being held.

Everything is stock by the way, I haven't touched the kernel ever, no root, no magisk.

Any ideas?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Buttons Settings - Search Assistant

I don't have Search Assistant but have you tried > Settings > System > Buttons > Home button > Double tap action & Recents button > Log press action?

What happens if you select Voice search instead of Search Assistant?

***
[Samsung Galaxy S 5 Unified Development] Pat_D:
Yes, if I select voice search, the old fashioned standard Google search is triggered, rather than the assistant. Basically it's the same that you can access from the google app when you click the mic icon in the search bar.

I tried other options as well for the long press like open last app, etc. and they seem to work fine, only the assistant doesn't. What do you think?
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
AFAIK the actual assistant isn't included in nano. Just the general search assistant.

---------- Post added at 11:54 PM ---------- Previous post was at 11:47 PM ----------

I decided to dig in a little on my issue. I found that my device defaults to AVRCP version 1.4. I changed it to 1.6 in developer options. I regained my full headset button functionality, and Bluetooth seems more stable. Its only been a few hours, but I have not had any disconnections or crashes. I'll report back on stability as time goes on. I don't know what the implications of this would be, but it seems an improvement so far.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
[MENTION=4122877]curiousrom[/MENTION], can you please let me know where the WiFi's "WPS Pin" option is (or if it's available any longer)?

I've been able to locate a good handful of settings that were typically/previously located within one area/location that I had found in various other areas but, that specific WiFi WPS Pin just seems to be something that, I'm hoping, wasn't removed from Android Pie in general.

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

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] kurtn:
There is no wps in android pie due to security reasons.
[Samsung Galaxy S 5 Unified Development] Pat_D:
I think it is because on lineage os 15.1 I had nano as well and it did work. Also with the awkward "OK google" voice trigger it pops up so it must be installed. Anyway perhaps I'll try other versions of gapps and let you know. Speaking of gapps, can I just flash a different version (micro?) on top of everything else I already have?
[Samsung Galaxy S 5 Unified Development] cexcells:
Tried the EFS restore from twrp backup with no difference but a full wipe including format data and latest build and I'm all good to go.

Thanks for your detailed guides and info.
[Samsung Galaxy S 5 Unified Development] WinJunkie:
It was a g900i, reinstall and used kltedv.

However I finally found out what the speaker issue was.

I contacted my friend and the speaker problem was caused a hardware failure.

After I spoke to my friend he told me that's also why he upgraded. I thought it was only the proximity sensor that was bugged.

After a bit of trial and error the phones running great. I did have one issue with the wifi dropping but it only happened once.

Everything is working as it should although I'm not using a sim yet.

For the speakers i used a dual speaker mod and it isn't too bad.

Good enough for what i wanted to repurpose the phone for (simple communications). Going to get a sim for it soon hope that works too.

My daily driver is a stock Note8 but i gotta say I'm really impressed with the speed of this thing.

Nearly forgot there is one issue which I don't know how to fix.

Adaway doesn't work, it can't access the hosts file or something, and it never prompts me for root access.

Using Magisk 18.1 and also tried systemless host and reinstall but it just doesn't work. Do I have to uninstall the su extras addon after I install magisk? any fix for this?

Thanks
[Samsung Galaxy S 5 Unified Development] djbrzos:
I had the same problem. Did you try going into settings/apps& notifications/default apps/assist and voice input then select Google as the assist app?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: WPS Settings in Pie & LineageOS 16.0

Why do you need WPS settings? What are you trying to do exactly?

What happens if you try to connect to a device or WiFi network w/ WPS? Can't you enter the WPS pin?

When I tried using Cast which is disabled by Google & in LineageOS 16.0 for S5 @ the present I can see in logcat:

I/wpa_supplicant( 1012): p2p0: WPS-PBC-ACTIVE

I/wpa_supplicant( 1012): p2p0: Trying to associate with fa:94:c2:xx:xx:xx (SSID='DIRECT-HRMyComputer-UX330msEZ' freq=2412 MHz)

I/wpa_supplicant( 1012): p2p0: Association request to the driver failed

As [MENTION=8031265]kurtn[/MENTION] says Wi-Fi Protected Setup (Wikipedia) is insecure.

I replied to [MENTION=9693615]bRickJamez316[/MENTION] to a WPS settings question here but never got a feedback from him:. :crying:

While in my Galaxy S3 i9300 running LineageOS 14.1 I can see in > Settings > Wi-Fi > 3-dots > Advanced Wi-Fi: WPS Push Button & WPS Pin Entry I could not find any settings like that in LineageOS 16.0 for S5.

A LineageOS Gerrit search with branch:lineage-16.0 (status: open OR status:merged) wps returns no results @ the present.

A Google search with android 9.0 wps returns several interesting results.

Try a search in developer.android.com with WPS with many "Deprecated in API level 28" (that's Pie) in the results but also Create P2P connections with Wi-Fi with 2 mentions of WPS in it.

There is an XDA portal article here from 2018 [Update: Maybe Not] WPS disappeared in Android P and may never come back that links to a post by a Google employee: [Developer Preview Android P] WiFi - WPS Support deprecated? "The issue has been fixed and it will become be available in a future Android release. Thanks".

A Play Store WPS Connect search returns many results. I have not tried any of those apps.

***
[Samsung Galaxy S 5 Unified Development] WinJunkie:
[MENTION=4122877]curiousrom[/MENTION] any fix for adaway with magisk?
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
My WiFi Router has a button on it that, when pressed, gives me about 30 seconds to select the "WPS Pin" option on my device to connect to it without requiring a password.

It's honestly just my lazy way not to bother with typing the password in to connect to it... LMAO! :eek:

It's not a show stopper for me. I guess I'll just have to use the password like everyone else. :D

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

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] Myhand:
What also great works and zero resources coast, is the private DNS setting in the network settings. I have set a DNS resolver with AD and tracking blocking.
[Samsung Galaxy S 5 Unified Development] Didgeridoohan:
When everything is working as it should, the uninstaller will remove all traces of Magisk.

Real life sometimes gets in the way... Thanks for the poke.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Does Magisk Uninstaller Remove Everything Magisk Installed?

Thanks :good: for replying. :cool:

[MENTION=5848265]npjohnson[/MENTION] who is a LineageOS team member & maintainer of several devices as you can see in the threads he started in XDA here and in the LineageOS Wiki - LineageOS contributors replied to me in the LineageOS subreddit here: "...Magisk's uninstaller doesn't actually undo everything it does."

So I don't know what to believe. :confused:

***
[Samsung Galaxy S 5 Unified Development] Didgeridoohan:
The only thing Magisk does is to patch the boot image (or equivalent file depending on your device) and install files to /data, /data/adb and /cache (and also addon.d if your ROM supports it). All of those files are removed when uninstalling, apart from the boot image backup that is kept in /data. That file is in turn used to restore the boot image to the state it was in before you installed Magisk. You can take a look at it all here:

https://github.com/topjohnwu/Magisk/blob/master/scripts/magisk_uninstaller.sh

Don't know what [MENTION=5848265]npjohnson[/MENTION] means when he says that, but there might be something going on with Lineage and Magisk that I don't know about. Or there might be a bug with the script somewhere. Or something else. I haven't experienced anything like that though... If I find the time I might investigate a little further.
[Samsung Galaxy S 5 Unified Development] Didgeridoohan:
Small update on this. There might actually be some SELinux policies that does not get switched back under some circumstances when uninstalling Magisk (had a chat with [MENTION=5848265]npjohnson[/MENTION] to see what it might be about). I'll put it on my "possible-bugs-to-investigate"-list.
[Samsung Galaxy S 5 Unified Development] fitittome:
It doesn't. It cost me a whole day whilst testing 15.1. I do not trust the uninstaller. Life is too short to get to the bottom of these things. Just clean install, to be sure!
[Samsung Galaxy S 5 Unified Development] WinJunkie:
Wow thanks for all the info mate [emoji106]

For now I'm just doing to use that adfree file you provided