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.1.0.12 beta7)
(Added 3.2.0.12 and 3.2.1.20 releases, updated manifest)
 
Line 22: 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-3.5-4.noarch.rpm
+
  curl -O https://openrepos.net/sites/default/files/packages/5928/sfos-upgrade-3.6.3-stable3.noarch.rpm
 
  devel-su
 
  devel-su
  pkcon install-local sfos-upgrade-3.5-4.noarch.rpm
+
  pkcon install-local sfos-upgrade-3.6.3-stable3.noarch.rpm
  sfos-upgrade 3.1.0.12
+
  # 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
 
  reboot
  # Patience, it takes an additional reboot to flash boot partition
+
  # Device will reboot once on itself to update boot partition
  # Go to commandline again and run :
+
  # Once back in SFOS again, go to commandline again and run :
 
  devel-su post_sfos-upgrade
 
  devel-su post_sfos-upgrade
  
Line 36: Line 38:
 
* Flash or update LineageOS 20181031 build [https://forum.xda-developers.com/idol-3/development/rom-lineageos-14-1-2018-update-t3842525 or newer]
 
* 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.
 
* '''Reboot''' into LineageOS at least once, otherwise WLAN may not work.
* Flash SailfishOS :
+
* Flash SailfishOS
** [https://androidfilehost.com/?fid=4349826312261610855 sailfishos-idol3-release-3.1.0.12-20190819-beta7.zip]
+
  
 
= Changelog =
 
= Changelog =
 +
 +
* [https://androidfilehost.com/?fid=4349826312261741044 20200309 3.2.1.20 beta 9]
 +
** '''BUG''': USB tethering broken, don't use it or you'll have to reboot. Please use wifi connection sharing instead.
 +
* [https://androidfilehost.com/?fid=4349826312261733625 20200228 3.2.0.12 beta 8]
 +
** '''BUG''': USB tethering broken, don't use it or you'll have to reboot. Please use wifi connection sharing instead.
 
* [https://androidfilehost.com/?fid=4349826312261610855 20190819 3.1.0.12 beta7 ]
 
* [https://androidfilehost.com/?fid=4349826312261610855 20190819 3.1.0.12 beta7 ]
 
** '''BUG''': USB tethering broken, don't use it or you'll have to reboot. Please use wifi connection sharing instead.
 
** '''BUG''': USB tethering broken, don't use it or you'll have to reboot. Please use wifi connection sharing instead.
Line 111: Line 117:
  
 
<!-- droidmedia fork needed for audiopolicy support, see this PR ;
 
<!-- droidmedia fork needed for audiopolicy support, see this PR ;
     https://github.com/sailfishos/droidmedia/pull/11 -->
+
     https://github.com/sailfishos/droidmedia/pull/11
 +
    20200308: removed since the PR was merged!
 
   <project name="platform/external/libxml2"              path="external/libxml2"
 
   <project name="platform/external/libxml2"              path="external/libxml2"
 
           remote="aosp"                                revision="nougat-release" />
 
           remote="aosp"                                revision="nougat-release" />
Line 117: Line 124:
 
   <project name="vknecht/droidmedia"                    path="external/droidmedia"
 
   <project name="vknecht/droidmedia"                    path="external/droidmedia"
 
           remote="github"                              revision="master" />
 
           remote="github"                              revision="master" />
 
+
-->
 
</manifest>
 
</manifest>
 
</pre>
 
</pre>

Latest revision as of 18:29, 16 March 2020

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

[edit] 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

[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
     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