Contents |
DISCLAIMER: These instructions and the dualbooter binary are untested and highly experimental software! Use at you own risk - targeted for hacker/developer use only! You will void the warranty (if any) of you device if you follow this procedure! The instructions are for Linux only! You may not be able to re-install Harmattan to it's original state. And, you may lose all your data in the device! Or, in the worst you may completely brick the device (i.e. rendering it totally irreparable/unusable)!
WARNING: After following these instructions Harmattan will run in "open mode", i.e. security is disabled and some functionality may be missing.
WARNING-2: Dualbooter has no battery management (charging support). Thus, be sure to have full battery whenever writing new OS via USB mass storage (or basically doing anything when the dualbooter is running).
Dualbooter is a simple bootloader that uses kexec to boot the final OS. It has very basic functionality and no display output, at the moment. The user basically gets no indication what is going on when dualbooter is running.
The following functionality is currently provided:
First, just unpack the dualbooter rpm to get the binaries.
$ rpm2cpio nokia-n950-dualbooter-*.armv7hl.rpm | cpio -id
Now, you will find three files under the ./boot directory:
With this method you can just try the dualbooter, without actually flashing anything to the NAND flash of the device. This doesn't guarantee that you don't destroy your device, though.
$ flasher -k vmlinuz-dualbooter-n950 -n initrd-dualbooter-n950 -l -b
You need to grab the moslo binary from http://tablets-dev.nokia.com/moslo.php, in order to flash.
$ flasher -a moslo-rootfs-1.2011.34-2_RM680-OEM1-916_0.0.13-12.1.bin -L dualbooter-n950.img -f -R
$ touch empty.img
$ flasher -a moslo-rootfs-1.2011.34-2_RM680-OEM1-916_0.0.13-12.1.bin -L empty.img -f -R
DISCLAIMER: The following instructions are cursory and for highly skilled users only! You can VERY easily mess up your device!!!
You can create a fourth eMMC partition for an alternative OS (e.g. Nemo mobile) by booting with USB cable connected: shring the 1st (vfat) partition (e.g. with parted), create a new (4th) partition and make a filesystem there with mkfs.ext4. After that you can mount the partition and untar the 2ndary rootfs there. Be sure to have a /boot/bzImage link pointing to the kernel binary (and possibly a /boot/cmdline link pointing to a file containing the correct kernel cmdline).
When rebooting you can choose between Harmattan (press volume key) and the Alternative OS (just wait).
You can remove the Alternative OS completely by deleting the 4th partition and resizing the 1st partition to its original size (with parted, for example).
DISCLAIMER: These instructions and the modified MOSLO are untested and highly experimental software! Use at you own risk - targeted for hacker/developer use only! You will void the warranty (if any) of you device if you follow this procedure! The instructions are for Linux only! You may not be able to re-install Harmattan to it's original state. And, you may lose all your data in the device! Or, in the worst you may completely brick the device (i.e. rendering it totally irreparable/unusable)!
First, just unpack the moslo rpm to get the binaries.
$ rpm2cpio moslo-*.Nemo.Adaptation.N950.N9.armv7hl.rpm |cpio -id
Now, you will find three files under the ./usr/share/moslo directory:
With this method you can try MOSLO without actually flashing anything to the NAND flash of the device. Even this method re-partitions the eMMC of the device, though!!!
$ flasher -k zImage-moslo -n initrd-moslo -l -b
You need to grab the original MOSLO binary from http://tablets-dev.nokia.com/moslo.php, in order to be able to flash.
$ flasher -a moslo-rootfs-1.2011.34-2_RM680-OEM1-916_0.0.13-12.1.bin -L moslo.img -f -R
Results from 16GB N9 at http://pastie.org/2995880
I got the stock fimware using navifirm, http://blog.makesyouhappy.org/?p=202
flasher -F 059K755\DFL61_HARMATTAN_20.2011.40-4_PR_LEGACY_009-OEM1-958_ARM.bin -f --no-preserve
Recovered to a booting N9 - vgrade
Another suggested command line to get moslo flashed is
flasher -F 059K755\DFL61_HARMATTAN_20.2011.40-4_PR_LEGACY_009-OEM1-958_ARM.bin -L moslo.img -f --flash-only=moslo -R
This command reports moslo written ok but then reboots to blank screen with battery charging symbol with whitle led on slow flash. Pressing on/off boots to harmattan.
IRC Chat - http://pastie.org/3000811