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)
		
		
 (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  | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
= 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-  | + |   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-  | + |   pkcon install-local sfos-upgrade-3.0-2.noarch.rpm  | 
| − |   sfos-upgrade 3.0.  | + |   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  | ||
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 | 
Hardware Support
| 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.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
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
-  20190607 3.0.3.9 beta6 
- Enabled on-demand proximity sensor setting in MCE, screen-stays-off glitches less likely to happen
 
 -  20190525 3.0.2.8 beta5 
- Enabled Yama Linux security module
 
 -  20190329 3.0.1.11 beta4 
- Enabled doubletap to wake
 
 - 20181114 3.0.0.8 beta1
 -  20181114 2.2.1.18 beta1 
- Kernel update to 3.10.75 and caf/LA.BR.1.2.9_rb1.44
 - YT video color-correction fix in browser (thanks piggz !)
 - Add /home/nemo/android_storage link to internal storage (thanks to piggz too !)
 - Various improvements due to SailfishOS updates
 
 
-  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.
 
 
-  20180527 2.1.4.14 alpha7 :
- MTP fixed.
 - RTC alarm wakeup enabled.
 
 
-  20180422 2.1.4.14 alpha5 :
- Kernel support for Anbox.
 - Camera tweaks (viewfinderResolution, flash torch mode for back cam video recording).
 
 
-  20180411 2.1.4.14 alpha3
- Initial release here.
 
 
Source code
This port was made from HADK 2.0.1.
Repositories
- Kernel : https://github.com/vknecht/android_kernel_alcatel_msm8916
 - Devices : https://github.com/vknecht/android_device_alcatel_idol3
 - droid-hal-idol3 : https://github.com/vknecht/droid-hal-idol3
 - droid-config-idol3 : https://github.com/vknecht/droid-config-idol3
 - droid-hal-version-idol3 : https://github.com/vknecht/droid-hal-version-idol3
 
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>