HOWTO FlashLatestNokiaImageWithMacOSX

Flash the latest Nokia image

If you installed the developer image but want "your machine" back, or when you want to update to the latest Nokia image, follow the steps below. Not really a developer thing, but as a developer I wanted to restore the machine to its original state so I could use it again!

Beware that flashing a new image on the Nokia 770 will remove all user changes to the system, including preferences, bookmarks, news feeds, user installed applications, ... Everything not on the memory card will be gone and the device will behave as if just purchased. It will probably be worthwhile experimenting a bit with the backup/restore utility first :-)

GUI method

See below for the "Nokia approved method", however if you're more comfortable with a GUI:

You can also try to: 1. switch the 770 off; 2. plug it directly into the Mac's USB (not into a hub/keybord etc); 3. drag the image on Flasher; 4. wait for the Flasher's message "no suitable device found"; 5. switch the 770 on. (improves USB recognition). And please be sure to have no character in your directory name of Flasher/Image, Flasher can't handle it (yet...?) 8-) {AndrewFlegg - might just be some quotes missing in the wrapper GUI: I'll look into it. Would've been nice to get an email about it, of course... ;-))

From my experience I had to 1. remove the memory card and turn off 770, 2. connect to USB, 3. Launch flasher app and "open" the .bin file (dropping file failed), 4. Wait for message "no suitable device found", 5. Turn on 770 (there was no screen prompt to turn on 770) 6. sit back and watch.

Nokia approved method

  • download the MacOS X flasher at http://maemo.org/downloads/d3.php
  • in the same directory download the latest Nokia image at http://www.maemo.org/downloads/nokia_770 (large file ending in .bin, for example Nokia_770_0.2005.45-8.bin)
  • open a terminal and give execution permissions to the flasher: chmod +x ./flasher.macosx
  • take off the memory card, unplug the charger, switch off the Nokia 770 and connect it to your computer via USB.
  • You now have two choices: 1) You can try running flasher.macosx using sudo but this has failed for many people, running the flasher in a root shell seems to be the more reiable way to go. 2) Switch to a Root shell in terminal by typing sudo -s, you will then be prompted for your admin user password. BE VERY CAREFUL running as ROOT, you can do irreparable damage to your filesystem if you don't know what you're doing. You can try to flash the Nokia 770 via the sudo method first to see if it works, if this fails you can then try the root shell method.

    • Using method 1) via sudo: execute sudo ./flasher.macosx -F Nokia_770_0.2005.45-8.bin -f -R it will ask for your admin user password.
  • Using method 2) if you want to try it as root (in the root shell created in the previous step or using sudo) execute ./flasher.macosx -F Nokia_770_0.2005.45-8.bin -f -R ,

  • "Suitable USB device not found, waiting" is displayed on the console

  • now switch on the 770 by plugging in the charger or using the power button and wait for the Nokia 770 to be detected. If you forgot to take the memory card off the Nokia, it won't be detected. ** comment:** I believe one must hold down the "home" key while pressing the power-on key. The flashing process did not work for me until I did this. Then during power-on one sees a symbol in the upper right corner of the screen showing the USB connection and a faint arrow symbol below it, which I guess indicates that flashing is in progress.
  • watch the messages as the image loads to the 770 after which it reboots automatically
  • type "exit" in the terminal (to leave the root shell and to return to regular shell user/priviledges or to close your terminal session) when the 770 is done updating.
  • done!

Example:

MacAndor:~/Desktop andor$ sudo ./flasher.macosx -F Nokia_770_0.2005.45-8.bin -f -R
Password:
Found image 2nd (length 8576)
Found image secondary (length 79360)
Found image xloader (length 13824)
Found image initfs (length 1567360)
Found image kernel (length 1481728)
Found image rootfs (length 57540608)
Suitable USB device not found, waiting
USB device found found at bus 003, device address 004-0421-0105-02-00
Found board Nokia 770 (F5)
NOLO version 0.9.0
Sending X-Loader image (13 kB)...
100% (13 of 13 kB, avg. 375 kB/s)
Sending secondary image (77 kB)...
100% (77 of 77 kB, avg. 738 kB/s)
Flashing X-Loader... done.
Sending kernel image (1447 kB)...
100% (1447 of 1447 kB, avg. 847 kB/s)
Flashing kernel... done.
Sending initfs image (1530 kB)...
100% (1530 of 1530 kB, avg. 846 kB/s)
Flashing initfs... done.
Sending and flashing rootfs image (56192 kB)...
100% (56192 of 56192 kB, avg. 671 kB/s)
Finishing flashing... done
MacAndor:~/Desktop andor$

Example with 2006

stephen:~/770 root# ./flasher-2.0.macosx -F SU-18_2006SE_1.2006.26-8_PR_F5_MR0_ARM.bin -f -R
flasher v0.8.1 (Jun 22 2006)

SW version in image: SU-18_2006SE_1.2006.26-8_PR_MR0
Image '2nd', size 8704 bytes
Image 'secondary', size 87040 bytes
Image 'xloader', size 13824 bytes
Image 'initfs', size 1890304 bytes
Image 'kernel', size 1266560 bytes
Image 'rootfs', size 60030976 bytes
Suitable USB device not found, waiting
USB device found found at bus 003, device address 003-0421-0105-00-00
Found device SU-18, hardware revision 1801
NOLO version 0.9.10
Version of 'sw-release': <no version>
Sending xloader image (13 kB)...
100% (13 of 13 kB, avg. 613 kB/s)
Sending secondary image (85 kB)...
100% (85 of 85 kB, avg. 772 kB/s)
Flashing bootloader... done.
Sending kernel image (1236 kB)...
100% (1236 of 1236 kB, avg. 804 kB/s)
Flashing kernel... done.
Sending initfs image (1846 kB)...
100% (1846 of 1846 kB, avg. 804 kB/s)
Flashing initfs... done.
Sending and flashing rootfs image (58624 kB)...
100% (58624 of 58624 kB, avg. 800 kB/s)
Finishing flashing... done
stephen:~/770 root# 

CategoryFlashing