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


Sailfish/Exopc

From Mer Wiki
< Sailfish
Revision as of 15:37, 10 March 2013 by Zeta (Talk | contribs)

Jump to: navigation, search

Work in progress don't use

Install Sailfish SDK Emulator on ExoPC

This page has instructions on how to install Sailfish SDK emulator on your ExoPc

Install Steps

  • Extract root filesystem from emulator virtualbox image
VBoxManage internalcommands converttoraw sailfishos.vdi sailfish.raw
  • Copy to flash key
sudo dd if=sailfish.raw of=/dev/sd* bs=4M
sync
  • Mount flash key
  • Edit /boot/extlinux/extlinux.conf to boot from sdb1 and add rootwait
  • Place in Exo and boot, press BBS button on screen and select flash key
  • Ctrl/Alt F2 - Login root/nemo here are our steps for your reference. (If Ctrl/Alt F2 doesn't work, try with left ctrl and alt buttons)
  • Enable WIFI:
cd /usr/lib/connman/test
./test-connman enable wifi
  • Run simple-agent, e.g. the network name(SSID) you want to connect is test123 and password is abcd123
./simple-agent Name=test123 Passphrase=abcd123
  • open another terminal:
./test-connman list
  • will list the network name and service name like this : test123 {wifi_123456_123456abcd_managed_wpa }
  • If test-connman doesn't list anything, you can try
./test-connman scan 
  • connect to wifi
./test-connman connect wifi_123456_123456abcd_managed_wpa
zypper ar http://repo.merproject.org//obs/home:/vgrade:/branches:/nemo:/devel:/hw:/x86-common/latest_i586/home:vgrade:branches:nemo:devel:hw:x86-common.repo
zypper in mesa-x86-generic-9.0.2
zypper in xorg-x11-drv-intel-2.21.3
  • remove egl_gallium.so and st.so from /usr/lib/egl
  • Edit to /usr/lib/systemd/user/lipstick.service to add Environment=QT_DEFAULT_RUNTIME_SYSTEM=
  • Edit to /var/lib/environment/nemo/50-jolla-ui to have following vars
EGL_PLATFORM=x11
EGL_DRIVER=egl_dri2
MCOMPOSITOR_USE_TFP=1
  • Set content of /etc/X11/xorg.conf.d/x86-vm.conf to :
Section "Monitor"
Identifier "Default Monitor"
HorizSync 30-100
VertRefresh 20-160
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Default Monitor"
DefaultDepth 24 
SubSection "Display"
# Viewport 0 0
Depth 24
EndSubsection
EndSection
Section "Device"
Identifier "Videocard0"
Driver "intel"
Option "AccelMethod" "sna"
EndSection
Section "Module"
Load "glx"
Load "dri"
EndSection
Section "DRI"
Mode 0666
EndSection
  • Edit /usr/lib/qt4/imports/Sailfish/silica/ApplicationWindow.qml to se width/height 1366/768
//width: _transpose ? screen.height : screen.width
//height: _transpose ? screen.width : screen.height
width: 1366
height: 768
  • To make display work in portrait mode execute following command (while logged in as user "nemo")
gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90
Personal tools