[Samsung Galaxy S 5 Unified Development] curiousrom:
Updating TWRP, S5 Flashing 16.0 on Official 15.1 & Camera Quality

"...Can I flash LOS 16 with twrp 3.0.1-0 version?..." - I does not make sense to keep that old TWRP version & can only causes some errors.

Edit: See this new post with screenshots: How To Flash TWRP 3.3.0-0 Using TWRP Itself.

It's very easy to update TWRP by using TWRP itself because your current version is "TWRP 2.8.4 or higher" as explained in this TWRP for Samsung Galaxy S5 Qualcomm (klte family) download page:

To which I would add: make 100% sure you download the correct version for your device, don't do anything else in TWRP after flashing the most recent @ the present twrp-3.2.3-0-....img update & reboot to Recovery to see the 3.2.3-0 updated version on the top as seen in the screenshot made on my S5 G900M. Then reboot to System.

View attachment 4651795

If you are running stock Samsung firmware see the Flashing TWRP Recovery on Samsung Firmware chapter in the S5 LineageOS Super Clean Install post.

***

Flashing Beta 16.0 on Official LineageOS 15.1

Edit: See also new post Official 16.0 for S5 2019-03-01 - Dirty Flash Report

I flashed a couple of days ago haggertk's 16.0 beta build 2018-11-21 + Open GApps Pico ARM 9.0 over S5 SM-G900M (klteub) running LineageOS 15.1 klte official build 2018-11-17 + Open GApps Pico 8.1 + Lineage su addon 15.1 (without any system modifications) with just System wipe in TWRP 3.2.3-0.

If you have Magisk, custom kernel & whatnot system modifications I would suggest to uninstall all that before doing it or do a clean install including wiping all caches, Data & System.

A super clean install would include Format Data which is different from just wiping Data & will erase also the internal sdcard. See TWRP FAQ: What is a data/media device? for detailed explanations.

Before I did that I disabled Root in Developer options, rebooted to system, synced all my accounts, forced a backup in the 15.1 Backup tab + an extra backup with SMS Backup & Restore + a chat backup in WhatsApp > Settings + a backup of internal storage to computer then rebooted to TWRP and made a full backup (except Cache) to external sdcard including the EFS partition which can come handy in case of no IMEI and/or no network problem.

All my settings & apps were preserved after flashing 16.0 except the desktop settings & icons because 16.0 is using the Quickstep launcher instead of Trebuchet.

Mobile network access was not showing up on the status bar on first boot but turning off the S5, waiting 5 second & turning it back on fixed that.

See [MENTION=2693412]haggertk[/MENTION]'s reply to my flashing beta 16.0 over official LineageOS 15.1 with just System wipe question here: "...I'm not going to recommend those. Official -> unofficial" but I did it anyway with the proper backups before doing it & it's working fine so far.

After testing the S5 for 1-2 hours, for root I downloaded & copied to external sdcard Magisk v17.3 and on that page: Latest Beta, Latest Uninstaller & Latest Magisk Manager.

In TWRP wiped both caches, made a full TWRP backup of my new 16.0 install, then flashed Magisk-v17.3.zip & rebooted to System. Magisk Manager was not showing up so installed manually the MagiskManager-v6.0.1.apk downloaded previously & everything is working fine.

In Magisk Manager > Settings my preferences are: Update Channel: Beta, Automatic Response: Grant (to avoid having to say Yes every time), Superuser Notification: None (otherwise it's gets annoying fast). And kept the default settings for all the rest.

So instead of getting all those notifications & grant questions I just check once in a while > hamburger > Superuser and > Log.

I would strongly suggest to use the Magisk Manager > Uninstall & reboot to System before updating to a new beta 16.0 build as I have seen some S5 users reporting update problems w/ Magisk installed. Just reinstall it afterwards.

I would prefer a LineageOS 16.0 addonsu for root to keep the system 100% stock but it's not available yet.

Not working yet in the current haggertk's 16.0 beta build 2018-11-21:

Settings > Battery > the data is incomplete & 3-dots > Battery usage sometimes says "Battery usage data isn't available".

Privacy Guard is disabled. As a workaround using rooted apps like App Ops - Permission manager several permissions are not accessible including Run at startup, etc. while with the exact same App Ops can see & modify them on a S3 i9300 running stock LineageOS 14.1 rooted with Lineage addonsu.

Expanded Desktop settings is not opening.

AudioFX is missing. Thanks [MENTION=8031265]kurtn[/MENTION] for mentioning it in a post below which got me going on the subject.

Searching the LineageOS Code Review with AudioFX (status open OR status:merged) branch:lineage-16.0 returns just a few older results @ the present. So either it's not a priority right now or it will not be included in 16.0 or an other equalizer with an other name is being developed.

Meanwhile if rooted with Magisk > Manager > Downloads > Search for viper4 & download the VIPER4Android module. I have been testing it while listening to a high quality recording of Beethoven's 9th. symphony using the FIREqualizer in Viper4 & good earbuds & it's working fine.

Thanks to [MENTION=4281316]godofsalt[/MENTION] for the pointer & his detailed post Equalizers !?!?! in the Android 9.0 Pie For Galaxy S5 thread.

There is no weather provider for the clock widget included in the 16.0 build 2018-11-21 & could not find a 16.0 compatible plugin or apk. [MENTION=4422232]eurohunter[/MENTION] posted here: "...no weather provider pre-installed (like yahoo) as it was in previous versions". Maybe a person more clever than me can extract it from an older haggertk 16.0 build?

Obviously there are several alternative weather apps in Play Store & elsewhere

If I find more stuff will update this post!

Everything else is working including the important SELinux Enforcing security feature.

It's stable enough to be used as my daily driver. :)

Edit: New follow-up posts:

Report: Bugs & Semi Clean Install S5 klte 16.0 Unofficial Build 2018-12-03

New S5 LineageOS 16.0 haggertk 2019-01-09 Build! - Report & Bugs

***

Camera & Video Quality

"Can someone share the experience regarding camera, pictures and video quality compared with stock..." - I'm an advanced amateur photographer with a couple of Nikon DLSRs & comparing photo quality is not an easy task.

You would have to mount the S5 on a tripod & photograph the exact same scene w/ the exact same settings & light conditions in both stock Samsung & beta 16.0 then transfer to computer and analyse them side-by-side.

Stock Samsung camera app is probably better because they have the secret sauce specific to handling the S5 camera hardware which they don't share. So the dev have to reverse-engineer which is not an easy task.

I attached a photo without HDR, everything to default auto that I made with S5 16.0 beta build 2018-11-21 & the stock Camera app. You can see quite some details as it was taken with the sun setting behind me with lots of different shade & lighting conditions in the scene.

View attachment 4651796

Because the XDA attachment service skews the quality by resizing the images I also included a zip of the original untouched photo.

It's not useful to upload a video to YouTube for example because they optimize the file for their purposes so its not the original which makes it impossible to really evaluate the quality.

This said the LineageOS Team devs are working hard on the S5 Pie camera. See this search for LineageOS 16.0 patches submitted for review including a bunch of them by Kevin Haggerty (haggertk the S5 dev) on Nov 20: topic:"pie-snap" (status open OR status:merged)

So we can expect the camera to be even better in the following haggertk's beta 16.0 builds. :cool:

***