SailfishOS for ASUS Zenfone 5Z by VerdandiTeam
Warning: Flashing this may void your device’s warranty, lead
to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore
must be done entirely at your own risk. No one affiliated with this project is responsible for your
actions but yourself.
THIS IS NOT ANDROID NOR THERE IS ANY ANDROID APP SUPPORT. GO USE GNU OR SOMETHING
Not working:
- Camera recording (in progress but i wanted to share the sfos with yall already)
- Use advanced camera from openrepos if you want wide angle (jolla didn't get to add it to stock camera yet)
- calls are untested altho should work
- GPS is untested (probably works too)
INSTALL:
Strap in for a ride, if at any step you don't know what you are doing, you better give up and stay on android. If i'm doing something incorrectly then tell me but i've been fighting over 3 days just to get lineage and twrp working… but maybe i'm just stoopid
If you can install provided lineage 17.1 on slot a then you don't need these instructions and jump to flashing sfos:
I couldn't find any valid tutorial on getting stock android 10 but i've found stock fastbootable image somewhere (yes, don't trust it lol) so i will share it with you [link]
Also lineage removed 17.1 builds but the guy was making nightlies which are still available so i also uploaded the build i'm using for archive purposes [link]
Idea is that no matter where you are coming from or if you just bought device you should get to sfos this way. And if you are wondering still yes we will be removing ALL YOUR DATA so backup it.
Flash the provided stock via fastboot (there is script and even files for QDL but i haven't tested those). It's pretty straight forward you should figure it out, if not then there is some tutorial i think on this forum or on internet, if you can't handle it then give up really you can do more damage than good.
Verify that its booting, stock will be flashed to slot a. flash and boot twrp (android 10 version, link to image, link to installer) via "fastboot flash boot twrp-3.5.2_10-1-Z01RD.img" i'm not really using windows but you should be able to figure it out already. Flash lineage 17.1 from provided link, it will flash to slot b. afterwards flash twrp installer (the zip) so that you can boot twrp (just flashing twrp on boot on slot b doesn't work GO FIGURE). Reboot, verify that lineage is booting, reboot to bootloader, select recovery, hold power button (fastboot reboot recovery only works sometimes, again GO FIGURE). you should be back in twrp on slot b. Flash lineage again as well as twrp installer so that lineage will be installed on slot a as well as twrp will be bootable. reboot, verify that lineage boots and that you are in fact on slot a. Finally we have lineage on slot a.
Sailfish flashing instructions (come here if you have lineage 17.1 on slot a):
- download rootfs
- flash/boot twrp on slot a (or slot b, i'm not even sure at this point)
- wipe everything (you need to format data, not wipe, format. data NEEDS to be unencrypted, advanced -> format data -> yes, if you didn't realize yet we are wiping EVERYTHING so backup your data)
- Install rootfs (aka sailfish, it will flash kernel onto the same slot so you don't have to worry about switching slots, at least i hope so, if it doesn't boot, get the hybris-boot.img from the zip and fastboot flash boot it onto slot a)
- Boot
- Have fun
Changelog:
STABLE 1:
- Initial public release
F.A.Q.
HOW TO REPORT BUG
After bug occurs type in the terminal following commands:
/usr/libexec/droid-hybris/system/bin/logcat
devel-su dmesg
devel-su journalctl
and give me logs from there (do not paste it in the post! Use pastebin.com)
devel-su will ask you for password, you can set it in developer tools.
Contributors
Mister_Magister
Source Code: https://github.com/VerdandiTeam
Last edited: