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): doublecheck for dupes)
(WIP Over-the-Air updates (OTA): latest (cleaner) status)
Line 19: Line 19:
  
 
=== WIP Over-the-Air updates (OTA) ===
 
=== WIP Over-the-Air updates (OTA) ===
* device lock seems to break after OTA, please help debugging/fixing that: https://bugs.nemomobile.org/show_bug.cgi?id=860
 
  
 
  <nowiki>
 
  <nowiki>
 
# open shell with normal nemo user
 
# open shell with normal nemo user
# you need to be on at least 1.1.6 (alpha12)
+
# you can be on any Sailfish OS version you have installed before
  
# if you want to OTA to 1.1.7 (alpha13), do this:
+
# Currently available OTA version: 1.1.9.28
RELEASE=1.1.7.28
+
REPO=sailfish_latest_armv7hl
+
  
# if you want to OTA to 1.1.9 (alpha14 WIP!) instead, do this:
+
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
RELEASE=1.1.9.28
+
REPO=sailfishos_1.1.9.28
+
 
+
devel-su sed -i -e "s|^adaptation=.*$|adaptation=http://repo.merproject.org/obs/nemo:/devel:/hw:/lge:/hammerhead/$REPO/|" /usr/share/ssu/repos.ini
+
  
 
ssu dr adaptation0
 
ssu dr adaptation0
  
ssu release $RELEASE
+
ssu release 1.1.9.28
 
ssu dr extra
 
ssu dr extra
 
ssu dr mw
 
ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/devel:/hw:/common/$REPO/
+
ssu ar mw http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfish_latest_armv7hl/
 
ssu er mw
 
ssu er mw
ssu ar dhd http://repo.merproject.org/obs/nemo:/devel:/hw:/lge:/hammerhead/$REPO/
+
ssu ar dhd http://repo.merproject.org/obs/nemo:/testing:/hw:/lge:/hammerhead/sailfish_latest_armv7hl/
  
 
ssu lr
 
ssu lr
Line 49: Line 42:
 
# Because Jolla Store started working only recently, you may have
 
# Because Jolla Store started working only recently, you may have
 
# many of OpenRepos enabled. It's recommended to disable them, even
 
# many of OpenRepos enabled. It's recommended to disable them, even
# though version --dup will do best-effort to isolate repositories:
+
# though version --dup will do its best-effort to isolate repositories:
 
ssu lr | grep openrepos
 
ssu lr | grep openrepos
  
Line 58: Line 51:
 
# if above fails, try again
 
# if above fails, try again
 
version --dup
 
version --dup
 
# In 1.1.9 this line is no longer needed:
 
devel-su zypper rm jolla-camera
 
  
 
sync
 
sync
devel-su reboot
+
reboot
 
  </nowiki>
 
  </nowiki>
  

Revision as of 16:04, 3 October 2015

Nexus5.jpg

Contents

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 version: 1.1.9.28

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

Personal tools