Active Topics

 


Reply
Thread Tools
edp17's Avatar
Posts: 599 | Thanked: 711 times | Joined on Jul 2019 @ UK
#1
Sailfish OS for the Motorola Moto G7 Power (XT1955-5) - (ocean)

Code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!            Everything you do,               !!
!!      you do at your own peril and risk.     !!
!!                                             !!
!!      I do not bear any responsibility       !!
!!          for your faulty devices.           !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
First I would like to thank mal, elros34, vlad and all the Sailfish OS porter guys who helped me to make this port.
Thank you very much guys!

News 07/10/2024: SFOS 4.6.0.15

Requirements:
Before you start to download anything, please read all this through carefully.
The first requirement is your device must be rooted and you should be able to boot into a custom recovery (preferably TWRP).

Installation instructions:
1. Download all files, LOS17.1 zip, Sailfish OS zip to the external SD card on the phone
2. Download twrp-3.7.0_11-0-ocean.img on your host PC
3. Reboot into bootloader (Hold buttons: Power on + Volume down)
Once the device booted into bootloader, connect it to your PC
Once connected boot into TWRP: on your host execute: fastboot boot twrp-3.7.0_11-0-ocean.img

4. Do a factory reset
5. Format data to remove any encryption or other residues
6. Still in recovery, flash the LOS17.1 image
7. Still in recovery, flash Sailfish Os image
8. Reboot
9. Enjoy the latest (4.6.0.15) Sailfish OS on your Moto G7 Power (ocean).

This Sailfish OS Android HAL is based on LOS 17.1.


Downloads:

Debug/login/troubleshooting:
In Ubuntu, connect USB cable. telnet 192.168.2.15 2323 or SSH defaultuser@192.168.2.15.

How to make a backup/restore with TWRP:
You can boot into TWRP with instruction above and can make backup/restore.

Battery life
In my experience this build gives a very good battery life (In my tests it drops around 5% overnight with wifi on)

Changelog:

07.10.2024
=========
Work:
  • Screen
  • Touch
  • IMEI number detection
  • Sensors
  • GPS
  • Notification LED (white)
  • Wifi
  • USB modes (Developer mode, MTP mode, Charging only mode)
  • Bluetooth
  • Calls incoming/outgoing
  • Messages incoming/outgoing
  • Mobile data
  • External SD card detected and mounted to /run/media/nemo/_sdcard_name_ (where _sdcard_name_ is the name of the sd card when it was formatted like 4B93-785B)
  • Vibra
  • Pixel ratio and icons set to 1.25
  • Audio is routed to headphone if that presents
  • Sound adjusting with volume rockers
  • Apps do start (Firejail/Sailjail)
  • Charging icon displayed properly
  • Camera front/rear (picture & video recording)
  • Video recording (only on the front camera)
  • Jolla store
  • Torch
  • Audio
  • OTA update
  • LXC container (I've tested with installing Debian Bookworm in it)

Do not work:
  • The device only boot into TWRP with fastboot
  • Fingerprint scanner
  • Waydroid

Extras:
  • If you want to mount network drive (NAS), install cifs-utils. It's available in device repo, so in Fingerterm execute: devel-su zypper in cifs-utils
  • Desktop Linux distro install/run on the MotoG7 Power:
    Just follow the instruction here Install Debian Bookworwm in LXC
  • Install less outdated firefox engine: Replace esr78 with esr91
  • Install better fonts: High DPI setup aka PixelPerfect by dumol
  • Display Weather forecast on lock screen:
    - Enable weather on lock-screen (on sfos 4.6 it is disabled by default):
    Code:
    dconf write /desktop/lipstick-jolla-home/force_weather_loading true
    - Install MeeCast, MeeCast daemon and MeeCast Event and add a city

Last edited by edp17; 2024-10-10 at 14:34. Reason: Video recording fixed
 
edp17's Avatar
Posts: 599 | Thanked: 711 times | Joined on Jul 2019 @ UK
#2
Install PixelPerfect by Dumol:
  • Download and unpack in $HOME the PixelPerfect-hidpi-0.4beta2.tar.gz released archive
    Code:
    cd ~
    curl -LO https://github.com/dumol/PixelPerfect/releases/download/v0.4.0beta2/PixelPerfect-hidpi-0.4beta2.tar.gz
    tar xvfz PixelPerfect-hidpi-0.4beta2.tar.gz
  • Amend pixel ratio & icon size
    Code:
    devel-su sed -i 's/theme_pixel_ratio$/theme_pixel_ratio_RENAMED/' /etc/dconf/db/vendor.d/locks/silica-configs.txt
    devel-su dconf update
    dconf write /desktop/sailfish/silica/theme_pixel_ratio 1.1
    dconf write /desktop/sailfish/silica/icon_size_launcher 110.0
  • Set Asap font
    In ~/.config/fontconfig/os/sfos.conf instead of Barlow and its fallbacks, set Asap as UI font (falling back to Roboto and Arimo).
    Also, in Settings->Display->Text Size, "normal" is now actually "small", and you have to set "large" to get "normal" text sizes.
    The only known downside to this change of theme pixel ratio: the “diallers” in the Phone app and the locked screens looking a bit more cramped than they should.
  • Restart homescreen

Source: High DPI setup See steps 2 & 6.

Last edited by edp17; 2024-10-10 at 13:57.
 
edp17's Avatar
Posts: 599 | Thanked: 711 times | Joined on Jul 2019 @ UK
#3
Video recording has fixed. Link has updated to the new build.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:44.