- Disclaimer
- Unlocking the device
- Firmware & TWRP
- Flashing steps
- Skipping the tutorial
- Dual-booting with LineageOS
#include "disclaimer.h"
/*
* I am NOT responsible for you getting fired because the alarm app failed or if you destroy your device.
* Please do some research if you have any concerns about features included in this port.
* Same security standards as for official Sailfish OS devices may not apply here.
* Everything is served on an as-is basis and YOU are choosing to do these modifications.
*/
WARNING: All current data on the device WILL be erased, so be sure to make full data & NANDroid backups before proceeding!
Check out this forum post, rooting can be ignored as the system will be wiped fully anyways afterwards.
When using Sailfish OS the current port expects the phone to have Android 9 Pie firmware.
- Fetch the files for latest O2OS 9.0.11 firmware (OP5 / cheeseburger | OP5T / dumpling) and a TWRP >=3.3.x image.
- Flash the firmware zip first and then TWRP image to Recovery partition.
- First time flashers should also check
/data
for filesystem issues (make sure it's unmounted & formatted asext4
beforehand!):
ADB_SHELL # e2fsck /dev/block/bootdevice/by-name/userdata
- Before rebooting back to recovery make sure to "Format data"!
- Clear data & caches (factory reset)
- Flash a recent official LineageOS 16.0 zip (OP5 / cheeseburger | OP5T / dumpling)
- (Optional) Flash whatever else you normally have on the Android side (e.g. OpenGApps, Magisk, disable dm_verity & force-encrypt etc)
- Flash your desired
sailfishos-*.zip
from the pipeline artifacts (OP5 / cheeseburger | OP5T / dumpling); normally takes ~1 min 30 sec) - Reboot
Once booted for the first time Sailfish OS will always start off with a tutorial screen. Since you'll likely be flashing zips many times, this will become very annoying rather quickly. You can skip this by tapping each corner of the screen once starting from top-left going clockwise.
What makes SFOS unique as well is that it doesn't actually touch your /system
partition (and /vendor
once I figure stuff out :p), which makes it super easy to dual-boot!
When you've flashed a Sailfish OS zip you can swap between the operating systems without needing wiping anything by simply flashing my boot-switcher zip within TWRP.