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
Revision as of 18:29, 16 March 2020 by Vknecht (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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

Status

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

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.6.3-stable3.noarch.rpm
devel-su
pkcon install-local sfos-upgrade-3.6.3-stable3.noarch.rpm
# Use "rpm -Uvh sfos-upgrade-3.6.3-stable3.noarch.rpm" if sfos-upgrade is already installed
sfos-upgrade 3.2.1.20
# Download takes ~30mn, install takes ~5mn
reboot
# Device will reboot once on itself to update boot partition
# Once back in SFOS again, go to commandline again and run :
devel-su post_sfos-upgrade

Installation

Starting from stock Android MM 6.0.1, using TWRP :

  • Flash or update LineageOS 20181031 build or newer
  • Reboot into LineageOS at least once, otherwise WLAN may not work.
  • Flash SailfishOS

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).

Source code

This port was made from HADK 2.0.1.

Repositories

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
     20200308: removed since the PR was merged!
  <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