enricorossi.org

Enrico Rossi


Flash nokia n770

On newer system you may have to remove a module which auto-load himself when nokia 770 is plugged.

modprobe -r cdc_phonet

then

  • download the firmware
  • download flasher utility

Flash the firmware to the 770 keeping home button pressed while powering on and usb-connected to Linux

sudo ./flasher-3.0.amd64 --fiasco SU-18_2007HACKER_4.2008.7-1_PR_F5_MR0_ARM.bin --flash --reboot
  • boot the device and check the new OS installed.

Now you can migrate the OS to an external SSD device with swap space and ext3 Filesystem.

./flasher-3.0.amd64 --fiasco SU-18_2007HACKER_4.2008.7-1_PR_F5_MR0_ARM.bin --unpack
modprobe jffs2
modprobe mtdchar
modprobe mtdblock
modprobe mtdram erase_size=128 total_size=262144
dd if=rootfs.jffs2 of=/dev/mtd0
mount -t jffs2 -o ro /dev/mtdblock0 /mnt
ls -la /mnt/

Insert your SSD card into your reader, partition it as any hard disk, make swap and an ext3 partition.

Do an mkfs.ext3 and an mkswap on those partition. (ex. /dev/sdb1 is the SSD ext3 filesystem)

mount /dev/sdb1 /opt/
cp -a /mnt /opt

check that /opt and /mnt are the same.

umount /mnt
umount /opt
modprobe -r mtdram
modprobe -r mtdblock
modprobe -r mtdchar
modprobe -r jffs2

Make the 770 boot from SSD card using

flasher-3.0 --set-root-device mmc

or back to the flash memory with

flasher-3.0 --set-root-device flash

see maemo wiki for more info