[Samsung Galaxy S 5 Unified Development] curiousrom:
Official 16.0 for S5 2019-03-01 - Dirty Flash Report

While haggertk (S5 klte + variants maintainer Thanks! :good: ) & LineageOS Changelog 22 - Pushing Pie... > Upgrading to LineageOS 16.0 recommend to wipe both System & Data when installing official over unofficial I wanted to try a dirty flash because my unofficial 16.0 was also by haggertk.

Contrary to my previous 16.0 installs I did not uninstall Magisk v18.1 before doing it. I used Magisk because there was no LineageOS 16.0 addonsu ARM @ the time but it is now available.

Users coming from Official 15.1 or 14.1 can install Official 16.0 as described in the Changelog which is basically the same as below:

On a Galaxy S5 SM-G900M (klteub) with the most recent Bootloader, Modem (baseband or radio) & the most recent TWRP coming from a haggertk's klte 16.0 build 2019-02-09 + Open GApps ARM 9.0 Pico + Magisk v18.1 install:

Made proper backups: sync all accounts one by one. Force a fresh > System > Google > Backup + a Chat backup in WhatsApp's Settings if you use that app.

I used SD Maid > AppCleaner to clear 545MB of cache to make the TWRP full backup smaller.

Copied the downloads to external SD Card.

In TWRP did a full backup (except cache) to the external Micro SD Card including the very important EFS partition.

In TWRP > Wipe > Advanced Wipe > wiped System & the Dalvik / Art cache & Cache only & flashed the new Official 16.0 build 2019-03-01 + a fresh download of Open GApps Pico ARM 9.0 2019-03-01 without flashing Magisk (get also the MagiskManager.apk) for the first boot.

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

Magisk Manager showed that Magisk was not installed & trying to install it with the Manager failed. Rebooting in Recovery & flashing Magisk-v18.1.zip worked & the S5 passes the SafetyNet test as seen in the attachment. Note that if you use the LineageOS 16.0 addonsu it will fail the SafetyNet Test.

If you install Magisk for the first time via TWRP & don't see the Manager after rebooting: manually install the MagiskManager.apk and it should show that Magisk is installed properly.

Edit: After running that setup successfully for 2 weeks and making a fresh Google & WhatsApp Chat Backup, I did a S5 LineageOS Super Clean Install (Format Data (not wipe), wiping System, Dalvik / Art cache & Cache) & restored the Google Backup as soon as I booted to System the first time. My Google backup was huge @ 1.3 GB so make sure you have a quick wifi connection if you do that.

It restored 90% of my settings & did not include the apps that I installed manually from other sources than Google Play obviously.

My current setup: S5 G900M LineageOS 16.0 klte build 2019-04-05 (updated frequently via the built-in LineageOS OTA Updater) + Open GApps Pico + LineageOS Addonsu.

Always do a full TWRP backup including the EFS partition before doing any of this so you can go back quickly to your current setup by restoring that backup in case something goes wrong.

***

WARNING - Users of S5 kltedv - SM-G900I, SM-G900P and klteduos - SM-G900FD, SM-G900MD & other klte* variants reported a "reboot to download mode" issue after flashing Official 16.0 for S5 builds 2019-03-01, & 2019-03-02 but the problem is fixed in build 2019-03-03 & newer.

***

Trimming Quotes

[MENTION=9763966]wdfitzpat007[/MENTION] - Could you please do me a favor & Edit your post > Advanced & trim the huge quote & do not forget to include [/QUOTE ] at the end of the quote as without it, it breaks the quote box & it's link like this for example but without the space before ]: