Sailfish/Exopc

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


 * http://www.youtube.com/watch?v=UEgdW3KSxkM

Install Steps
VBoxManage internalcommands converttoraw sailfishos.vdi sailfish.raw sudo dd if=sailfish.raw of=/dev/sd* bs=4M sync cd /usr/lib/connman/test ./test-connman enable wifi ./simple-agent Name=test123 Passphrase=abcd123 ./test-connman list ./test-connman scan ./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 EGL_PLATFORM=x11 EGL_DRIVER=egl_dri2 MCOMPOSITOR_USE_TFP=1 Section "Monitor" Identifier "Default Monitor" HorizSync 30-100 VertRefresh 20-160 EndSection Section "Screen" Identifier "Default Screen" Monitor "Default Monitor" DefaultDepth 24 SubSection "Display" 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
 * Extract root filesystem from emulator virtualbox image
 * Copy to flash key
 * 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:
 * Run simple-agent, e.g. the network name(SSID) you want to connect is test123 and password is abcd123
 * open another terminal:
 * 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
 * connect to wifi
 * edit sshd to allow remote login
 * install x86-generic adaptation files from https://build.merproject.org/project/show?project=home%3Avgrade%3Abranches%3Anemo%3Adevel%3Ahw%3Ax86-common
 * 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
 * Set content of /etc/X11/xorg.conf.d/x86-vm.conf to :
 * 1) Viewport 0 0

//width: _transpose ? screen.height : screen.width //height: _transpose ? screen.width : screen.height width: 1366 height: 768
 * Edit /usr/lib/qt4/imports/Sailfish/silica/ApplicationWindow.qml to se width/height 1366/768

gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90
 * To make display work in portrait mode execute following command (while logged in as user "nemo")