Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!
If you're running LineageOS 15.1 you can simply flash LineageOS 16.0, upgrade the firmware for modem etc. and be done. There is no need to wipe the data partition, just clean dalvik and cache after updating LineageOS.
How to get root?
- Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
- Grab newflasher and put it in the same folder as the firmware files.
- Read the newflasher original post on XDA for general instructions!
- Remove the follwing from the folder so they won't get flashed:
- all *.ta files (keep the one in the boot/ directory)
- Turn off your phone
- Hold the volume down button and attach it via USB to your system till you see LED turning green
- Run newflasher from within this directory to flash the remaining files
You can say yes to the first optional step, in case you dont have working drivers installed.
Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.
Flash the su addon from LineageOS you can find here: https://download.lineageos.org/extras
You can download and install the Google Apps from opengapps.org
. You need ARM64 and 9.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.
Privacy Guard for GApps
I wouldn't run GApps without Privcy Guard. Here is what you need to do:
Go to: Settings -> Security & location -> Privacy Guard
Open the advanced menu (3 dots) and select: Enable by default
and Show built-in apps
Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.
This ROM comes with FDroid
and the Privilege Extension pre-installed.
This ROM doesn't support Signature Spoofing. However we are watching MicroG and check if they provide newer builds e.g. for Android Pie.
Simple Mobile Tools
This is a collection
of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks
You can find them in FDroid and the Play Store.
Some apps don't work (Gardenscapes, Die Zeit, ...)
When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!