View Single Post
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#17
The config file inside the package already has a working config for Sailfish (new images with 3.5.3 kernel). If you use and older image, you should just change the kernel file name specified in this line:
Code:
G_OS6_1_FILE="/boot/Sailfish/boot/vmlinuz-3.5.3-1.1.1-n950"
No other changes should be necessary.

Now, you should be able to boot Harmattan without any problems. Then, you can proceed with steps 6 of the installation instructions in README file (run it on phone):
Code:
6. Create an ext4 filesystem image of the desired OS. You can do this in Harmattan like this:

     dd if=/dev/zero of=/home/user/MyDocs/boot/sailfish.img bs=1024M seek=1 count=0
     /sbin/mkfs.ext4 /home/user/MyDocs/boot/sailfish.img
     mount -o loop /home/user/MyDocs/boot/sailfish.img /mnt/
     tar -xf sailfish-image.tar.bz2 --numeric-owner -C /mnt/
     cp /mnt/boot/vmlinuz-3.5.3-1.1.1-n950 /home/user/MyDocs/boot/
     umount /mnt
(If you use my Sailfish image, you don't need to run above commands at all. All you need to do is to copy both the kernel and .img.xz file inside your MyDocs/boot directory, decompress the .xz image and rename it to sailfish.img; and, rename the kernel to vmlinuz-3.5.3-1.1.1-n950 (or change the kernel name inside ubiboot.conf):
Code:
cd /home/user/MyDocs/boot/
xz -d sailfish-hv-1.1.0.39-20141110.img.xz
mv sailfish-hv-1.1.0.39-20141110.img sailfish.img
mv vmlinuz-3.5.3-1.1.1-n950-sailfish vmlinuz-3.5.3-1.1.1-n950
 

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