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


Adaptations/libhybris/Install SailfishOS for hammerhead

From Mer Wiki
< Adaptations | libhybris(Difference between revisions)
Jump to: navigation, search
(WIP Over-the-Air updates (OTA))
Line 1: Line 1:
[[File:nexus5.jpg|400px|thumb]]
+
[[File:nexus5.jpg|310px|thumb]]
 +
 
 +
 
 +
=== Port Status ===
 +
 
 +
{{Hadktableheader}}
 +
{{Hammerhead_port_status}}
 +
|}
  
 
=== Steps to install ===
 
=== Steps to install ===
Line 17: Line 24:
  
 
* See below for MultiROM instructions
 
* See below for MultiROM instructions
 +
  
 
=== WIP Over-the-Air updates (OTA) ===
 
=== WIP Over-the-Air updates (OTA) ===

Revision as of 15:20, 12 February 2016

Nexus5.jpg


Contents

Port Status

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

Steps to install

  • Install adb and fastboot on your workstation :
    • Debian/Ubuntu: apt-get install android-tools-adb android-tools-fastboot
    • Fedora: yum install android-tools
    • Mageia: urpmi android-tools (included in upcoming relase of Mageia 5).
    • OpenSUSE: zypper in android-tools
    • Mac OS X: Install Homebrew from http://brew.sh/, then: brew install android-platform-tools
    • Windows: See http://wiki.cyanogenmod.org/w/Doc:_fastboot_intro for instructions
  • Reboot the device and it should boot to Sailfish OS. If the device shows Google logo for 4-5 minutes, do a reboot using power button.
  • See below for MultiROM instructions


WIP Over-the-Air updates (OTA)

# open shell with normal nemo user
# you can be on any Sailfish OS version you have installed before

# Currently available OTA versions: 1.1.9.28, 2.0.0.10

RELEASE=<the version> # e.g. RELEASE=2.0.0.10

devel-su sed -i -e "s|^adaptation=.*$|adaptation=http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/|" /usr/share/ssu/repos.ini

ssu dr adaptation0

ssu release $RELEASE
ssu dr extra
ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
ssu er mw
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/

ssu lr
# ^ double-triple check that no -two- enabled repos point to the same URL

# Because Jolla Store started working only recently, you may have
# many of OpenRepos enabled. It's recommended to disable them, even
# though version --dup will do its best-effort to isolate repositories:
ssu lr | grep openrepos

devel-su zypper clean -a
devel-su zypper ref -f

version --dup
# if above fails, try again
version --dup

sync
reboot
 

How to Build Image

Hardware Support

For current status of hardware support refer to https://wiki.merproject.org/wiki/Adaptations/libhybris

Play Android OpenGL Classic Games

devel-su zypper in apkenv

Find a game's APK on the Internet that matches _exact version_ from this list: http://wiki.maemo.org/Apkenv/Game_Compatibility

Once downloaded, perform in Terminal as normal user, e.g.:

apkenv Angry_Birds_2_3_0.apk

Enjoy!

You're welcome to help us by writing a small UI app that manages/launches those, or provides .desktop files.

Games tested on Nexus 5 successfully:

Amazing Alex
Angry Birds
Cut the Rope
Fruit Ninja
Petals Redux
Plants vs. Zombies (no sound, WIP)
Rabit Game 2
Super Hexagon
World of Goo

To join the effort (or request a game), join #apkenv IRC channel on Freenode

Android Dalvik/Art apps are _not_ supported by apkenv.

MultiROM

Known Issues

Refer to bugzilla for list of known issues.

Changelog

Beta0 - 3 October 2015

  • Sailfish OS UX v2.0 - more info, release notes
  • OTA ready: see how
  • Jolla Camera is back!
  • Regression bug: video recording broken :( please help on bug here
  • New app to showcase: CodeReader

Alpha13 - 10 September 2015

  • Play classic Android OpenGL games from APK files (no apps only games)! Click here for instructions
  • [not working reliably?] Android's virtual SD Card is now mounted on bootup, so all photos, videos, music are now visible in Sailfish OS apps
  • MTP transfer mode works (not thoroughly tested), just choose "PC Connection" in Setting->System->USB
  • CameraPlus icons are now bigger \o/
  • New pre-installed apps: Books, Messwerk, Poor Maps, and SailorGram
  • Sailfish OS 1.1.7.28
  • WIP OTA only for those adventureous and who want to help polishing OTA: click here

Alpha12 - 19 June 2015

  • Support for 5GHz WLAN APs
  • Sailfish OS Update 15 (release notes)
  • BUG: Jolla Store broken (server side), apologies but that's the burden we all have to bear until the Jolla Tablet comes out, in the meantime pls use Warehouse from Openrepos for apps (subscribe to bug for updates)
  • FIXED in alpha13: Camera shows blackscreen when restoring the app. Can be worked around by restarting it (subscribe to bug for updates)
  • BUG: Videos still have no sound, and app crashes on stop recording, but video is saved (subscribe to bug for updates)

Alpha11 - 29 April 2015

  • Jolla Store hotfix
  • New libhybris from upstream
  • (tech bubbles:) Before Alpha10, porting underwent an important packaging reorg, which will make adaptation for future devices even easier and less cluttered

Alpha10 - 28 April 2015

  • BROKEN Jolla Store. This slipped through the cracks, sorry, fixing in the next hotfix soon out
  • Audio and video playback (MP3, MP4, H.264) works out-of-the-box using hardware accelerated codecs where applicable
  • Bigger hi-res icons (to match the font)
  • Sailfish OS early access Update 13 (release notes)
  • BUG: inverted wallpaper scrolling. Fix by creating a custom ambience (click here for inspiration)
  • BUG: WLAN may forget AP after first reboot. Please re-associate with your AP again, and then it will work normally thereafter

Alpha9 - 7 April 2015

  • Camera! (Use cameraplus from app grid, native jolla-camera still needs love)
  • Video playback including embedded HTML5 videos

Alpha8 - 28 February 2015

  • All sensors!
  • Sailfish OS public Update 11

Alpha7 - 27 February 2015

  • Sailfish OS early access Update 11

Alpha6 - 29 January 2015

Also available as OTA fix for alpha5 owners here.

Alpha5 - 14 January 2015

  • WLAN remembers last connected AP after reboot - bug fixed
  • Sailfish OS Update 10
  • Fingerterm app scaled to the screen size
  • Help us close this bug down - I could not reproduce it during 1st bootup

Alpha4 - 18 December

  • Jolla Store enabled
  • Sailfish OS Update 9
  • Magnetometer support
  • Improved BT HID support (US bt keyboard layout provided)
  • Generic BT improvements

Alpha3 - 18 August

  • Bluetooth
  • Allow untrusted software
  • Filemanager app
  • USB connection dialogue: Developer mode, USB tethering, charging, ...
  • Devicelock

Alpha2 - 10 August

  • MultiROM
  • LEDs

Alpha1 - 7 August

  • Initial release
Personal tools