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
(Add SFOS 2.2.1.18 and 3.0.0.8 updates, more device background info, and manifest)
(Added 3.2.0.12 and 3.2.1.20 releases, updated manifest)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Notes for installing [https://sailfishos.org Sailfish OS] on the [https://en.wikipedia.org/wiki/Alcatel_One_Touch_Idol_3 Alcatel Idol 3] (OT-6045 with 5.5" screen).
 
Notes for installing [https://sailfishos.org Sailfish OS] on the [https://en.wikipedia.org/wiki/Alcatel_One_Touch_Idol_3 Alcatel Idol 3] (OT-6045 with 5.5" screen).
This (unlike the OT-6039 4.7") is a msm8939 device (2GB RAM, Snapdragon 605, Adreno 405).
+
This (unlike the OT-6039 4.7") is a msm8939 device (2GB RAM, Snapdragon 615, Adreno 405).<br/>
 
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.
 
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.
  
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
 +
 +
= OTA update =
 +
 +
Use the commandline, [https://openrepos.net/content/olf/sfos-upgrade 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 =
 
= Installation =
  
 
Starting from stock Android MM 6.0.1, using TWRP :
 
Starting from stock Android MM 6.0.1, using TWRP :
* Flash or update to [https://forum.xda-developers.com/showpost.php?p=78026917&postcount=66 20181031 LineageOS build].
+
* Flash or update LineageOS 20181031 build [https://forum.xda-developers.com/idol-3/development/rom-lineageos-14-1-2018-update-t3842525 or newer]
* '''Reboot''' (otherwise WLAN probably won't work).
+
* '''Reboot''' into LineageOS at least once, otherwise WLAN may not work.
* Flash SailfishOS (no wipe needed, choose one of the following) :
+
* Flash SailfishOS
** [https://androidfilehost.com/?fid=11410963190603846743 sailfishos-idol3-release-3.0.0.8-20181114-beta1.zip]
+
** [https://androidfilehost.com/?fid=11410963190603846742 sailfishos-idol3-release-2.2.1.18-20181114-beta1.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 ]
 +
** '''BUG''': USB tethering broken, don't use it or you'll have to reboot. Please use wifi connection sharing instead.
 +
* [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 ]
 +
** Enabled [https://lwn.net/Articles/393012/ Yama] Linux security module
 +
* [https://androidfilehost.com/?fid=1395089523397928645 20190329 3.0.1.11 beta4 ]
 +
** Enabled doubletap to wake
 
* [https://androidfilehost.com/?fid=11410963190603846743 20181114 3.0.0.8 beta1 ]
 
* [https://androidfilehost.com/?fid=11410963190603846743 20181114 3.0.0.8 beta1 ]
 
* [https://androidfilehost.com/?fid=11410963190603846742 20181114 2.2.1.18 beta1 ]
 
* [https://androidfilehost.com/?fid=11410963190603846742 20181114 2.2.1.18 beta1 ]
Line 36: Line 63:
 
* [https://androidfilehost.com/?fid=11050483647474830208 20180628 2.2.0.29 alpha11 ] :
 
* [https://androidfilehost.com/?fid=11050483647474830208 20180628 2.2.0.29 alpha11 ] :
 
** Kernel update to caf/LA.BR.1.2.9_rb1.39
 
** Kernel update to caf/LA.BR.1.2.9_rb1.39
** Flash overLineageOS 14.1 :
 
** If you're already running Demetris' build or guiniol's rebuild it should be fine.
 
** You can use this updated [https://androidfilehost.com/?fid=962339331458999041 20180614 LineageOS rebuild] from the same source.
 
* '''Reboot''' (otherwise WLAN probably won't work).
 
 
** OTA updates enabled using Mer OBS "testing" channel
 
** OTA updates enabled using Mer OBS "testing" channel
 +
** Flash over [https://androidfilehost.com/?fid=962339331458999041 20180614 LineageOS]
 +
** If you're already running Demetris' build or guiniol's rebuild it should be fine.
  
 
* [https://androidfilehost.com/?fid=890278863836288122 20180527 2.1.4.14 alpha7] :
 
* [https://androidfilehost.com/?fid=890278863836288122 20180527 2.1.4.14 alpha7] :
Line 92: 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 98: 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