View Single Post
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#1910
Thanks to everybody who helps with SailfishOS port, I've created new image based on latest updates (including latest filippz kernel).
New SailfishOS (1.1.0.39) images based on previous .ks:

sailfish-hv-1.1.0.39-20141110.img.xz - 174.1 MB
vmlinuz-3.5.3-1.1.1-n950-sailfish - 3.4 MB

The first file is an xz compressed ext4 image (uncompressed image will be around 1.3GB), and the second one is the same kernel used for the image (not required if you use Alt_OS partition). It can be uncompressed in GNU/Linux environments using "xz -d", and in Windows using software like 7zip.

- To boot using N9 easy boot, just copy the kernel and uncompressed image file to your ~/MyDocs/boot partition and modify ubiboot.conf file accordingly.

- To boot using normal method (with Alt_OS partition), you can dd the image to Alt_OS partition, and use resize2fs to enlarge the filesystem to fill the partition (as noted by kibet85, you'll also need to run fsck on the image before resize2fs); which can be done inside Harmattan (this command also decompresses the .xz image):
Code:
umount /dev/mmcblk0p4
xz -c -d sailfish-hv-1.1.0.39-20141110.img.xz | dd of=/dev/mmcblk0p4
/sbin/fsck.ext4 /dev/mmcblk0p4
/sbin/resize2fs /dev/mmcblk0p4
Or, you can loop mount the image and copy the files using 'cp -a' (or rsync). This is not recommended, only use if you want to preserve some data in your SailfishOS partition.The kernel file is not needed when using Alt_OS partition.
Code:
mount -o loop sailfish-hv-1.1.0.39-20141110.img.xz /mnt
mount /dev/mmcblk0p4 /srv/
cp -a /mnt/* /srv/
What works:
* Audio (thanks to filippz)
* Call
* SMS
* Battery status (might not work in the first boot)
* Cellular network status (might not work in the first boot)
* WiFi
* Volume Buttons
* Accelerometer (at least, apps respond to orientation changes; e.g. Messaging app)
* Power button! Jolla shutdown splash screen also works.
* USB Ethernet device / Developer mode.

What doesn't work:
* GPS
* Camera
* Android compatibility (not included at all)
* Alarms when locked!

- Note: everything else is not tested (or I don't remember now!)

Known issues:
* Everytime you open or close an application, UI might crash!
* Don't plus USB cable during the first boot, or you might need to re-install!
* Tutorial graphics doesn't appear correctly, but you can successfully pass it!
* Battery status might not work on the first boot. It should work in sugsequent boots.
* DHCP server doesn't work in developer mode. You should assign the IP address of virtual ethernet device manually. You should be able to ssh to device after setting up developer mode settings in Sailfish.

MD5 Checksums:
b255e9c9632f91d9e9c66e9a5f438eb8 sailfish-hv-1.1.0.39-20141110.img.xz
b8ceac73990a514ced796b3dbd0e3b3f vmlinuz-3.5.3-1.1.1-n950-sailfish

SHA256 Checksums:
160454aa9928e4ba4723b115d26f6e238866178b1a0fd27f3e b354309d21a6e0 sailfish-hv-1.1.0.39-20141110.img.xz
15409204722547213a3ecc404da85a0f96b8d6d0e1f428b2d1 c85f8ae6214706 vmlinuz-3.5.3-1.1.1-n950-sailfish

Last edited by hedayat; 2014-11-14 at 06:54. Reason: Add fsck command before resize2fs
 

The Following 20 Users Say Thank You to hedayat For This Useful Post: