The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Adaptations/libhybris/Install SailfishOS for idol3

From Mer Wiki
< Adaptations | libhybris(Difference between revisions)
Jump to: navigation, search
(Update for 3.0.2.8 beta5)
(Update for 3.0.3.9 beta6)
 
Line 15: Line 15:
 
* Sometimes the screen blacks out (during call, during install) :
 
* Sometimes the screen blacks out (during call, during install) :
 
** Workaround : short press or triple-press on power button should wake the screen ; also try different lid/cover/proximity sensor settings
 
** Workaround : short press or triple-press on power button should wake the screen ; also try different lid/cover/proximity sensor settings
 
= Installation =
 
 
Starting from stock Android MM 6.0.1, using TWRP :
 
* Flash or update LineageOS 20181031 build [https://forum.xda-developers.com/idol-3/development/rom-lineageos-14-1-2018-update-t3842525 or newer]
 
* '''Reboot''' into LineageOS at least once, otherwise WLAN may not work.
 
* Flash SailfishOS :
 
** [https://androidfilehost.com/?fid=6006931924117880897 sailfishos-idol3-release-3.0.2.8-20190525-beta5.zip]
 
  
 
= OTA update =
 
= OTA update =
Line 30: Line 22:
 
  # On a freshly booted device...
 
  # On a freshly booted device...
 
  # Install sfos-upgrade package like this, or through Storeman
 
  # Install sfos-upgrade package like this, or through Storeman
  curl -O https://openrepos.net/sites/default/files/packages/5928/sfos-upgrade-2.6-1.noarch.rpm
+
  curl -O https://openrepos.net/sites/default/files/packages/5928/sfos-upgrade-3.0-2.noarch.rpm
 
  devel-su
 
  devel-su
  pkcon install-local sfos-upgrade-2.6-1.noarch.rpm
+
  pkcon install-local sfos-upgrade-3.0-2.noarch.rpm
  sfos-upgrade 3.0.2.8
+
  sfos-upgrade 3.0.3.9
 
  reboot
 
  reboot
 
  # Patience, it takes an additional reboot to flash boot partition
 
  # Patience, it takes an additional reboot to flash boot partition
 
  # Go to commandline again and run :
 
  # Go to commandline again and run :
 
  devel-su post_sfos-upgrade
 
  devel-su post_sfos-upgrade
 +
 +
= Installation =
 +
 +
Starting from stock Android MM 6.0.1, using TWRP :
 +
* Flash or update LineageOS 20181031 build [https://forum.xda-developers.com/idol-3/development/rom-lineageos-14-1-2018-update-t3842525 or newer]
 +
* '''Reboot''' into LineageOS at least once, otherwise WLAN may not work.
 +
* Flash SailfishOS :
 +
** [https://androidfilehost.com/?fid=6006931924117892414 sailfishos-idol3-release-3.0.3.9-20190607-beta6.zip]
  
 
= Changelog =
 
= Changelog =
 +
* [https://androidfilehost.com/?fid=6006931924117892414 20190607 3.0.3.9 beta6 ]
 +
** Enabled on-demand proximity sensor setting in MCE, screen-stays-off glitches less likely to happen
 
* [https://androidfilehost.com/?fid=6006931924117880897 20190525 3.0.2.8 beta5 ]
 
* [https://androidfilehost.com/?fid=6006931924117880897 20190525 3.0.2.8 beta5 ]
 
** Enabled [https://lwn.net/Articles/393012/ Yama] Linux security module
 
** Enabled [https://lwn.net/Articles/393012/ Yama] Linux security module

Latest revision as of 18:40, 10 June 2019

Notes for installing Sailfish OS on the Alcatel Idol 3 (OT-6045 with 5.5" screen). This (unlike the OT-6039 4.7") is a msm8939 device (2GB RAM, Snapdragon 615, Adreno 405).
Originally released in 2015 with 3.10.49 Linux kernel and Android 5 Lollipop, it was officially updated to Android 6 Marshmallow with the loss of fastboot ability.

Contents

[edit] Hardware Support

Legend:  Y  - Working (y=hack),  Y  - HAL works, not hooked up to UI/MW/init yet,  N  - Not working,  ?  - Untested,  N/A  - N/A on device.
Device released Linux
Kernel
Display Touch LED Audio NFC Bluetooth GSM WLAN GPS Camera Fingerprint Sensors Keys Vibra Haptics Power
Mgmt.
RTC
alarms
USB FM Radio
SMS Voice Data Connect Hotspot ALS PS Accel. Gyro. Magne. Vol+/- Home Net. Charge
2015/03 3.10.75 Y Y Y Y Y Y Y Y Y Y Y Y Y N/A Y Y Y Y Y Y N/A Y Y Y Y Y Y Y

[edit] Status

[edit] Known problems

  • [CALLS] Can't change loudspeaker volume using buttons
  • Sometimes the screen blacks out (during call, during install) :
    • Workaround : short press or triple-press on power button should wake the screen ; also try different lid/cover/proximity sensor settings

[edit] OTA update

Use the commandline, sfos-upgrade application is recommended.

# On a freshly booted device...
# Install sfos-upgrade package like this, or through Storeman
curl -O https://openrepos.net/sites/default/files/packages/5928/sfos-upgrade-3.0-2.noarch.rpm
devel-su
pkcon install-local sfos-upgrade-3.0-2.noarch.rpm
sfos-upgrade 3.0.3.9
reboot
# Patience, it takes an additional reboot to flash boot partition
# Go to commandline again and run :
devel-su post_sfos-upgrade

[edit] Installation

Starting from stock Android MM 6.0.1, using TWRP :

[edit] Changelog

  • 20180628 2.2.0.29 alpha11  :
    • Kernel update to caf/LA.BR.1.2.9_rb1.39
    • OTA updates enabled using Mer OBS "testing" channel
    • Flash over 20180614 LineageOS
    • If you're already running Demetris' build or guiniol's rebuild it should be fine.
  • 20180422 2.1.4.14 alpha5 :
    • Kernel support for Anbox.
    • Camera tweaks (viewfinderResolution, flash torch mode for back cam video recording).

[edit] Source code

This port was made from HADK 2.0.1.

[edit] Repositories

[edit] Local manifest

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <project name="vknecht/android_device_alcatel_idol3"    path="device/alcatel/idol3"
           remote="github"                                revision="vkn-14.1" />

  <project name="vknecht/android_kernel_alcatel_msm8916"  path="kernel/alcatel/msm8916"
           remote="github"                                revision="hybris-lxstable" />

  <project name="IDOL-3/proprietary_vendor_alcatel"       path="vendor/alcatel"
           remote="github"                                revision="cm-14.1" />

  <project name="vknecht/droid-hal-idol3"                path="rpm"
           remote="github"                               revision="master" />
  <project name="vknecht/droid-config-idol3"             path="hybris/droid-configs"
           repote="github"                               revision="master" />
  <project name="vknecht/droid-hal-version-idol3"        path="hybris/droid-hal-version-idol3"
           remote="github"                               revision="master" />

<!-- hybris-boot fork needed for fixup-mountpoints until this PR gets merged :
     https://github.com/mer-hybris/hybris-boot/pull/132 -->
  <remove-project name="mer-hybris/hybris-boot" />
  <project name="vknecht/hybris-boot"                     path="hybris/hybris-boot"
           remote="github"                                revision="master" />

<!-- droidmedia fork needed for audiopolicy support, see this PR ;
     https://github.com/sailfishos/droidmedia/pull/11 -->
  <project name="platform/external/libxml2"              path="external/libxml2"
           remote="aosp"                                 revision="nougat-release" />
  <remove-project name="sailfishos/droidmedia" />
  <project name="vknecht/droidmedia"                     path="external/droidmedia"
           remote="github"                               revision="master" />

</manifest>
Personal tools