[Samsung Galaxy S 5 Unified Development] curiousrom:
New S5 LineageOS 16.0 haggertk 2019-01-09 Build! - Report & Bugs

Edit: There is a new post about the new build: New S5 LineageOS 16.0 haggertk 2019-02-09 Build! but the download links below remain valid.

***

FYI a new haggertk unofficial LineageOS 16.0 build 2019-01-09 for the Galaxy S5 is available: https://androidfilehost.com/?w=files&flid=281381

Thank you Mr. [MENTION=2693412]haggertk[/MENTION]! :good::cool:

haggertk's Galaxy S5 klte + Variants Models Supported @ the present:

klte - SM-G900AZ, SM-G900F, SM-G900M, SM-G900R4, SM-G900R7, SM-G900T, SM-G900V, SM-G900W8, SM-S902L

klteactivexx - SM-G870F

kltechn - SM-G9006V, SM-G9008V

kltechnduo - SM-G9006W, SM-G9008W

klteduos - SM-G900FD, SM-G900MD

kltedv - SM-G900I, SM-G900P

kltekdi - SCL-23

kltekor - SM-G900K, SM-G900L, SM-G900S

***

Edit: I don't expect a 16.0 build 2019-01-09 Changelog so those links will have to do for now: the awesome Privacy Guard is working as per the merged commits here: https://review.lineageos.org/q/topic:"pie-privacy-guard"+(status:open OR status:merged, other changes include all the goodies of haggertk's amazing work merged before this 2019-01-09 build and after his 2018-12-10 build found here: https://review.lineageos.org/q/owner:haggertk%40lineageos.org+branch:lineage-16.0+status:merged

Also the merged work of the other LineageOS 16.0 devs dated before 2019-01-09 that are not specific to other devices here so they apply to all 16.0 devices including the S5 like Privacy Guard for example: https://review.lineageos.org/q/branch:lineage-16.0+status:merged

***

Edit 2 ongoing update report:

Installation:

Check this post if you want to start from the ground up & do a really super clean install including updating your bootloader & modem.

On a Galaxy S5 SM-G900M (klteub), Bootloader (aboot) G900MUBS1CQD5 & Modem (baseband or radio) G900MUUB1CQA3 & TWRP 3.2.3-0 coming from a haggertk's klte 16.0 build 2018-12-10 + Open GApps Pico + Magisk install:

1- I first completely uninstalled Magisk 18.0 using Magisk Manager, then made proper backups as described in Report: Bugs & Semi Clean Install S5 klte 16.0 Unofficial > Semi Clean Install chapter.

2- Copied the downloads to external SD Card.

3- In TWRP > Wipe > Advanced Wipe > wiped System & the Dalvik / Art cache & Cache only (screenshot) & flashed the new 16.0 build 2019-01-09 + a fresh download of Open GApps Pico ARM 9.0 2019-01-09 without Magisk for the first boot which took about 3:20 minutes to complete.

4- All my accounts, apps + their data & settings were preserved including the desktop's icons & folders created by stacking icons. :)

To successfully install unofficial 16.0 over official LineageOS 15.1 without having to reinstall all my apps & accounts I followed these same steps except for uninstalling the LineageOS addonsu instead of Magisk using the TWRP flashable addonsu-remove-15.1-arm-signed.zip available here: LineageOS extras.

Only the Home settings (desktop) & icons had to be redone because the new LineageOS launcher in 16.0 is called Quickstep instead of Trebuchet.

Bugs & Features Not Enabled Yet:

This is my daily driver & I had exactly zero system crash, freezing or unwanted reboot since I started to use haggertk's unofficial 16.0 on 2018-11-21. There are a few minor bugs & some features missing but nothing preventing me from enjoying this build which is a work in progress on the verge of becoming Official soon.

Security patch level: January 5, 2019. :) Screenshot attached of System > About phone > Android version.

View attachment 4683240

Settings > Security & location > Trust > Privacy Guard > 3-dots > Advanced is working and can swipe between Location, Personal, Messaging, Media, Device, Run in Background (my favorite), Bootup (love that one too), Root access & Other then long press on an app to change it's permissions.

You can create a direct shortcut to that Advanced Privacy Guard panel & much more with the Settings widget (long press on an empty space in Home pages). (screenshot)

View attachment 4683241

Tested the LineageOS Stock Camera's Photo, Photo HDR, Video, Panorama & front selfie camera & everything seems to work fine so far.

In the Stock Camera > hamburger > Storage > if you select SD Card the photos & videos will be saved to /external sdcard I.D./Android/data/org.lineageos.snap/files/ & not in DCIM as usual. If Phone is selected it goes in the standard /storage/emulated/0/DCIM/Camera/.

***

I did not test with other camera apps but in Open Camera > Settings > More camera controls > Save location > default is /storage/emulated/0/DCIM/Camera and cannot be changed to the external sdcard as it gives a "cannot write to this folder" error.

[MENTION=7500155]tomm1e[/MENTION] posted here a workaround: "...there's a way to write to sdcard using Storage Access Framework. Open Camera has this option, goto Options -> More Camera Controls and turn on "Use Storage Access Framework" then choose the original sdcard folder (e.g. /storage/<id>/DCIM/Camera) for Save Location".

Settings > Network & internet > Hotspot & tethering > Hotspot panel: if I select AP Band 2.4 GHz Band it works fine & can connect other devices to it but if I select 5.0 GHz Band it does not work as the hotspot toggle returns to Off immediately. [MENTION=8069426]jmichael2497[/MENTION] made a detailed post about it here.

Hotspot & tethering > USB & Bluetooth tethering to share the S5's internet connection are working fine.

Testing LineageOS' AudioFX equalizer on speaker & with earbuds did not change the sound at all but after trying Settings > Accessibility > Audio > Mono audio enabled as suggested below by [MENTION=8031265]kurtn[/MENTION] it worked. Strange that after pausing Music & disabling Mono AudioFX now works in stereo on speaker & with earbuds. But this workaround does not survive a reboot & must be redone afterwards. :(

View attachment 4683467

Meanwhile if rooted with Magisk > Manager > Downloads > Search for viper4 & download the VIPER4Android FX (2019-01-09 by coincidence) module. During the install it offers some choices, mine was newer version & install as a system app. I have been testing it while listening to a high quality recording using the FIREqualizer in Viper4 with bass pushed to the max & treble to the min & good earbuds & it's working fine & really obvious when toggling off/on the equalizer as seen in the attachment.

Dark Style & Gboard: I switch several times a day between 3 different virtual stock AOSP keyboard languages & > Notification > Change keyboard (or by long pressing the Space bar) works fine. As seen in the attached screenshots when > Settings > Display > Style > Style > Dark and back to Settings > Display > Style > Dark mode > Dark is selected & using Gboard > long press the Space bar > keyboard switcher it's impossible to see the language options. That bug is also present in the official LineageOS 15.1.

View attachment 4683554

If you click on > Notification > keyboard switcher it offers the stock AOSP keyboard options + only Gboard without any of it's language choices.

The workaround shown in the screenshots: Settings > Display > Style > Dark mode > Default. It's no pure black :crying: but solves the problem until it's fixed. Or don't use Gboard w/ multiple languages.

The > Display > Advanced > Expanded Desktop is usable but it's semi working. As you can see in the screenshots when tested with the stock Browser & other apps the view is expanded but the Status bar icons are visible & overlaid & when tapping in the Search box they can be triggered.

View attachment 4683622

Battery charging: with the S5 turned off the battery status notification LED is not working. With the phone connected it will not boot to system when pressing the Power button. The cable needs to be disconnected & wait a few seconds before pressing the button.

With the S5 turned on the LED works. With the battery showing 100% on the Status bar if rebooted it will now show 90~92%. More explanations in this post.

Settings > Sound > Advanced > press on either Phone ringtone or Default notification sound or Default alarm > and select the Sounds app > then select one of the folders & Sounds crashes as seen in the screenshot. Thanks to [MENTION=229789]MapisM[/MENTION] for his report here. Workaround: use Media Storage app instead. For more explanations & workarounds see Sounds Crash When Changing Ringtone, Notification or Alarm.

View attachment 4688836

After testing the S5 for 1-2 hours, for root because there is no LineageOS 16.0 Addonsu @ the present, I downloaded & copied to the external sdcard Magisk v18.0 and on that page: Latest Stable, Latest Uninstaller (it's TWRP flashable if something goes wrong) & Latest Magisk Manager.

Back into TWRP wiped both caches, then flashed Magisk-v18.0.zip & rebooted to System. Magisk Manager was not showing up so installed manually the MagiskManager-v6.1.0.apk downloaded previously & everything is working fine.

In Magisk Manager > Settings my preferences are: Update Channel: Stable, Automatic Response: Prompt (thanks to [MENTION=8069426]jmichael2497[/MENTION] for his security tip here), Superuser Notification: None (otherwise it's gets annoying fast). And kept the default settings for all the rest and the S5 passes the SafetyNet test in both Magisk Manager & in the SafetyNet Test app as seen in the attachment.

View attachment 4683517

If an app gets superuser denied automatically all the time go to Magisk Manager > Superuser > and toggle On for that app (screenshot). Only apps that requested superuser permission will be listed in that panel.

Cast: Settings > Connected devices > Connection preferences > Cast > 3-dots > Enable wireless display is not working in this 2019-01-09 Build. See this post for detailed explanations: Cast - Miracast or Wifi Display Not Working - Workaround which includes logcat snippets & links to reports by [MENTION=8527629]Rome-Italy[/MENTION], [MENTION=8126437]Raynelfss[/MENTION] & [MENTION=1937977]curiousde2002[/MENTION].

View attachment 4691860

If you enable Display > Advanced > Advanced Display > Accessibility Mode > Screen Curtain the screen goes black immediately & there is no obvious way to return to the normal display. Thanks to [MENTION=9686420]Ilshatey[/MENTION] & [MENTION=8031265]kurtn[/MENTION] for reporting this. More info & workarounds if you did it & are stuck with a black screen: S5 Display Screen Curtain Black Screen - A Chinese Finger Trap!

***

Note that if on a PC browser or tablet the new XDA forum Header @ the present may cover the top of the image attachments so clicking on View full image to open it in a separate window is may be necessary to see 100% of the image. Or right-click on the image attachment thumbnail > Open in a new tab. See this post about how to reduce the size of the new XDA navigation bar: Header Cleanup.