Updating the firmware

(New page: FlashLatestNokiaImageWithLinux 1. Before flashing 2. Flashing the Nokia 770 3. Flashing the Nokia N800 4. Flashing the Nokia N810 5. Troubleshooting Before flashing Bewar...)
(The Lazy Approach: mkdir)
 
(457 intermediate revisions not shown)
Line 1: Line 1:
-
FlashLatestNokiaImageWithLinux
+
This page has seen massive edits to get it in line with N900 details of flashing. N8x0 owners might want to have a look to older versions, like http://wiki.maemo.org/index.php?title=Updating_the_firmware&oldid=17120.
 +
This page grew organically, so structuring is suboptimal. '''READ THE WHOLE PAGE before starting!'''
-
  1. Before flashing
 
-
  2. Flashing the Nokia 770
 
-
  3. Flashing the Nokia N800
 
-
  4. Flashing the Nokia N810
 
-
  5. Troubleshooting
 
-
Before flashing
 
-
Beware that flashing a new image on the Nokia 770, on the Nokia N800 or N810 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 with the single exception that any previously-set lock code will be kept and not reset to the factory-default of "12345" (even the code is not preserved on some images).
 
-
Note that Nokia's Backup tool only backs up stuff like bookmarks and documents inside /home/user/MyDocs -- It will probably be worthwhile experimenting a bit with the backup/restore utility before flashing :-)
+
again, in case you missed it:                                                                        '''READ THE WHOLE PAGE before starting!'''
-
Flashing the Nokia 770
+
-
If you want to update to the latest Nokia image, follow the steps below:
 
-
    * PC: Download the Linux flasher (2.0 or 3.0 which also works) at and make it executable if necessary (see below : Troubleshooting)
 
-
    *
 
-
      PC: In the same directory download the image you want:
 
-
          o 5.2006.13-7 OS 2005 Edition version 5.2006.13-7 from tablets-dev.nokia.com
 
-
          o 3.2006.49-2 OS 2006 Edition version 3.2006.49-2 from tablets-dev.nokia.com
 
-
    *
 
-
      Make sure the battery of your 770 is fully charged.
+
'''Video Tutorials:'''
-
    * 770: Unplug charger and switch off the Nokia 770. Connect it to your computer via USB without turning it on
+
-
    * PC: Execute as root (or as a normal user with rights to use the USB port):
+
-
  ./flasher-2.0 -F SU-18_2006SE_3.2006.49-2_PR_F5_MR0_ARM.bin -f -R
+
http://www.youtube.com/watch?v=E1zvRjL-2cM
-
    * PC: "Suitable USB device not found, waiting" is displayed on the console
+
http://www.youtube.com/watch?v=O54KdLvTA2U
-
    * 770: Now plug in the charger to switch on the 770 or switch it on using the power button WHILE holding the Home-button
+
-
    * PC: Watch the messages as the image loads to the 770 after which it reboots automatically -- you're done now!
+
-
If you need additional detailed information on flashing the 770, then please see
+
{{ambox
-
Flashing the Nokia N800
+
|type=notice
 +
|text='''READ THE WHOLE PAGE before starting!'''}}
 +
== What does it do? ==
-
If you want to reflash your Nokia N800, follow the steps below:
+
===N9===
 +
Please see the main article [[Flashing N9]].
-
    * PC: Download the Linux flasher-3.0
+
===N900===
-
    * PC: In the same directory download the firmware image:
+
''These descriptions assume that you are using the latest official images. This page is not exactly a step-by-step instruction, so better '''read the whole page''' prior to starting the flashing process.''
-
          o IT OS Software Edition 2008 (version 2.2007.51-3) from tablets-dev.nokia.com
+
-
          o IT OS -- List of firmware images, in case the above is not the latest Image.
+
-
    * Make sure the battery of your N800 is fully charged.
+
-
    * N800: Unplug charger and switch off the Nokia N800. Connect the tablet to your computer via USB
+
-
    * PC: Execute as root (or as a normal user with rights to use the USB port):
+
-
  ./flasher-3.0 -F RX-34_2008SE_2.2007.51-3_PR_COMBINED_MR0_ARM.bin -f -R
+
While talking about flashing, there are exactly two distinct processes and related files (also called images) frequently mentioned:
 +
* (flashing the) '''FIASCO''' aka '''*COMBINED*''', also referred to as "'''rootfs'''" though this file and flashing process also consists of / affects NOLO bootloader (the several stages), the kernel, and usually the GSM modem firmware, in addition to the root filesystem which is basically the content of your 240 MB NAND flash storage and implements the Linux operating system.
 +
* (flashing the) '''eMMC''' aka '''*VANILLA*''', which will replace the complete content of [[Nokia N900|N900's]] internal 32 GB eMMC storage ('''e'''mbedded '''MMC'''), which is: the <code>/home</code> partition which has your stored browser passwords and game highscores and calendar and contacts etc. <code>/home</code> is also containing <code>/opt</code>. Plus eMMC stores all the content of the MyDocs 28 GB VFAT partition, where all the media and docs and other user content lives.
-
    * PC: "Suitable USB device not found, waiting" is displayed on the console
+
Often people use the term "firmware" for either or both of those images. It's misleading.
-
    * N800: Now plug in the charger to switch on the N800 or switch it on using the power button WHILE holding the Home-button
+
-
    * PC: Watch the messages as the image loads to the N800 after which it reboots automatically -- you're done now!
+
-
Flashing the Nokia N810
+
Flashing the '''rootfs''' on your N900 will reset the device's linux system back to factory settings, meaning all additional applications will vanish, and some configuration details (e.g. LED patterns) are reset to the original configuration, with the exception of the lock code; if you have already set a custom lock code, it will remain intact, instead of reverting to the default "12345". Also, all information contained in <code>/home</code> (except <code>/home/opt</code>) will remain intact. This means the information stored in <code>/home/user/MyDocs</code> which is the area visible in the default file manager (or when connecting to a computer), will remain intact. Your external memory (microSD), will also be unaffected.
-
If you want to reflash your brand new Nokia N810, follow the steps below:
+
Flashing the '''eMMC and rootfs''' on your N900 will completely reset the device to factory settings, reverting ''everything'' to factory settings, including /home with all (app-)preferences, bookmarks, contacts, communications, but again, excluding the external memory on micro-SD card and the lockcode. (you MUST flash rootfs as well, when flashing eMMC (because of <code>/opt</code> deletion)
-
    * PC: Download the Linux flasher-3.0
+
It is strongly advised you regularly use the Backup application to create backups of your settings and data to a safe storage. You will want to configure the Backup application in such a way it stores the backups to your microSD card - alternatively when creating manual backup of MyDocs as suggested below, backups stored to default location "N900" will be included and thus safe.
-
    * PC: In the same directory download the latest firmware image:
+
-
          o OS 2008 Software Edition from tablets-dev.nokia.com
+
-
    * Make sure the battery of your N810 is fully charged.
+
-
    * N810: Unplug charger and switch off the Nokia N810. Connect the tablet to your computer via USB without turning it on
+
-
    * PC: Execute as root (or as a normal user with rights to use the USB port):
+
-
  ./flasher-3.0 -F RX-44_2008SE_1.2007.42-18_PR_COMBINED_MR0_ARM.bin -f -R
+
The Backup application will save:
-
    * PC: "Suitable USB device not found, waiting" is displayed on the console
+
*'''Communication and Calendar''': Stored conversations, accounts, contacts, and calendar entries. Only applies to content used with stock applications. (i.e. not Pidgin, or other third-party applications)
-
    * N810: Now plug in the charger to switch on the N810 or switch it on using the power button WHILE holding the Home-button
+
*'''Bookmarks''': Bookmarks stored via MicroB. (Default browser only)
-
    * PC: Watch the messages as the image loads to the N810 after which it reboots automatically -- you're done now!
+
*'''Settings''': Your current settings in the Settings "application." (Settings in <code>/home/user</code>, GConf, <code>/etc</code>.) Third party settings applets will also be backed up and restored once installed. Manually created shell scripts or other files (except those in eMMC/MyDocs) must be manually backed up prior to a rootfs flash.
 +
*'''Application List''': A list of repositories and installed applications to be re-activated and installed after flashing. (Only applies to applications and repositories installed via the included Application Manager)
-
Troubleshooting
+
When using Backup application to ''restore from'' some backup, you can select which of the above listed groups of data shall be restored. For Application List you even can select on a per-application granularity, i.e. exclude an arbitrary number of applications from restore.
 +
(NOTE: it is a good idea to do a new backup of the system immediately ''prior'' to any restore - of course you don't overwrite an existing backup file for that, instead give the new backup a new descriptive name, like "system_broken-foobar__prior_to_restore")
-
    * If you get a "Permission denied" error then chmod +x flasher-2.0 or chmod +x flasher-3.0 to make the flasher tool executable. You may also need root permissions, run command with sudo or su to root.
+
When flashing the eMMC, all user-created content on MyDocs ("N900") must also be backed up manually to an external location in order to be preserved (i.e. computer or microSD). You can use Mass-Storage-mode via USB for this, or copy the whole content of MyDocs with Filemanager or similar tools. The eMMC image will contain and restore the MyDocs factory setting files and folders (.documents, .images, icons, etc.).
-
    * It may help, if you connect the 770 or the N800 directly to your computer by USB, instead of a USB hub. Also, avoid the USB ports on laptop docking stations.
+
 
-
    * If you need to flash your Nokia 770 with an image from 2005 then use the older flasher called "flasher" with no number in the name
+
===N800/N810===
-
    * On some distributions the usb filesystem is not loaded mount -t usbfs usbfs /proc/bus/usb
+
 
-
    * (From mailing list): If you are running a newer kernel and you get "Suitable USB device not found, waiting" but nothing happens when you switch on the 770 as instructed above, try to patch the flasher: perl -pi -e 's-/proc/bus/usb-/dev/bus/usb\000-;' -i.backup, where `` is the location of your flasher 2.0 linux binary. This applies also for flasher-3.0 (tested with Debian 4.0 and an N800).
+
Upgrading wipes out your <code>/home</code> directory. All of it. Make sure you backup all your data before upgrading.
 +
 
 +
== Updating & Flashing your device ==
 +
 
 +
{{ambox
 +
|type=notice
 +
|text=If you are flashing the N900 with the eMMC image, follow the [[#Flashing_the_eMMC_in_the_N900|instructions below]]. Also see [[#Troubleshooting|troubleshooting section, bullet 6:"If you cannot establish..."]]}}
 +
 
 +
{{ambox
 +
|type=notice
 +
|text=MAKE SURE YOU KNOW YOUR LOCK CODE (default: 12345)
 +
There has been at least one report where a N900 '''started''' to ask for lock code after reflashing!}}
 +
 
 +
=== All Systems ===
 +
For Windows, Mac or Linux you can use flasher-3.5 which can be download from the [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php tablets-dev] page. This page contains all installation packages include documentation for using the flasher.
 +
 
 +
{{ambox |type=notice |text=If http://tablets-dev.nokia.com/ does not work (for any reason including corrupted data and/or duplicate headers error message) use your search engine of choice, with the file names below; to find alternative download locations.}}
 +
 
 +
[2014-02-05 00:54:34] <mlwane> Okay, after a bit of Googling I have managed to find a all the files needed to flash the Nokia N810. I am just posting the link here for future reference. <http://www.jedge.com/n810/flasher/>
 +
 
 +
 
 +
# Download the [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5|Flasher]] for your device model: [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php N900, N810, N800] or [http://tablets-dev.nokia.com/d3.php 770]
 +
# Download the latest firmware image for your device model:
 +
#* for [http://tablets-dev.nokia.com/nokia_N900.php N900]
 +
#** for [[Maemo_UK_variant_firmware|UK devices]]
 +
#* for [http://tablets-dev.nokia.com/nokia_N810wimax.php N810 WiMAX Edition]
 +
#* for [http://tablets-dev.nokia.com/nokia_N810.php N810]
 +
#* for [http://tablets-dev.nokia.com/nokia_N800.php N800]
 +
#* for [http://tablets-dev.nokia.com/nokia_770.php 770] (or, for the Hacker Editions, [http://tablets-dev.nokia.com/os2007_hacker_edition.php OS2007HE] and [http://tablets-dev.nokia.com/os2008_hacker_edition.php OS2008HE])
 +
# '''Ensure the battery is fully charged'''. Connect to charger until green light when screen locked! Don't say "I already did it this morning"! ''(this point obviously only applies when your device is not "bricked" or bootlooping.)''
 +
# Unplug the charger and switch off the device.
 +
 
 +
=== Linux PC ===
 +
 
 +
'''see "Some notes:  2." below!'''
 +
 
 +
# Download the [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5|Flasher]] for your device model: [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php N900, N810, N800] or [http://tablets-dev.nokia.com/d3.php 770]
 +
# Download the latest firmware image for your device model: [http://tablets-dev.nokia.com/nokia_N900.php N900](For UK N900 Devices: [[Maemo_UK_variant_firmware|Maemo 5 UK Firmware]]), [http://tablets-dev.nokia.com/nokia_N810wimax.php N810 WiMAX Edition], [http://tablets-dev.nokia.com/nokia_N810.php N810], [http://tablets-dev.nokia.com/nokia_N800.php N800], or [http://tablets-dev.nokia.com/nokia_770.php 770] (Hacker Editions: [http://tablets-dev.nokia.com/os2007_hacker_edition.php OS2007HE], [http://tablets-dev.nokia.com/os2008_hacker_edition.php OS2008HE])
 +
# Ensure the battery of Nokia device is fully charged.
 +
# Unplug the USB cable if present, and switch off the device.
 +
# If you downloaded the '''.deb''' version of the Flasher, install it with: <br /><pre>sudo dpkg -i <flasher-package-name></pre>If you are using '''64-bit''' Linux, you'll need to force installation as follows:<pre>sudo dpkg -i --force-architecture <flasher-package-name></pre>
 +
# If you downloaded the '''.tar.gz''' version instead, you should untar it manually. The instructions below assume you have untarred it to the current directory.
 +
# If you installed the '''.deb''' version, run:<pre>sudo flasher-3.5 -F <firmware-image> -f</pre>If you are using the '''.tar.gz package''', use:<pre>sudo ./flasher-3.5 -F <firmware-image> -f</pre>
 +
# It will say:<br /><pre>Suitable USB device not found, waiting</pre>
 +
#* '''N900''': While holding the '''u''' key, connect the N900 to your computer via USB. Wait until you see a dim screen on your N900 with a Nokia logo in the middle of your screen with an USB icon in the top right corner. Note: You may not need to hold the U key - it seems to automatically flash if the flasher is ready at boot time.
 +
#*# If the USB logo does not appear, and the device turns off - ensure the battery is charged by connecting to the wall charger for an hour and try again. Bear in mind that neither the wall charger nor the USB cable will charge the N900 battery if the N900 cannot boot the OS.
 +
#* '''N810 WiMAX, N810, N800 and 770''': Connect your device to your computer via USB.  While holding the Home/Swap button (It's a house on the [[Nokia 770|770]] and [[Nokia N800|N800]], and two overlapping rectangles on the [[Nokia N810|N810]]), power on the device by holding the power button. You should see a Nokia logo in the middle of the screen, and a USB icon in the top right corner.
 +
# You don't need to continue to hold any buttons once flashing starts.
 +
# It should start flashing and then reboot. You can remove the USB cable when the flasher program exits back to the shell prompt.
 +
'''Some notes''':
 +
# If you get this error while trying to run flasher-3.5 <br /><pre>./flasher-3.5: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory</pre> you are probably on 64 bit and you need to install a libusb compatibility package.  For example, on openSUSE 11.4 you just run <br /><pre>zypper in libusb-0_1-4-32bit</pre><br />On a debian based system you can download and install the 32-bit version in a separate location (don't install it on your system itself -- <i>note: installing libusb0.1-4 from repos on ubuntu 12.10-amd64 worked fine for one user</i>) <br />First download the libusb-0.1-4_0.1.12-13_i386.deb library (google is your friend) and then:<br/><pre>dpkg-deb -c libusb-0.1-4_0.1.12-13_i386.deb</pre><pre>sudo dpkg -x libusb-0.1-4_0.1.12-13_i386.deb libusb-0.1-4_0.1.12-13_i386</pre><pre>sudo mv libusb-0.1-4_0.1.12-13_i386/lib/* /lib32</pre><pre>cd /usr/lib32</pre><pre>sudo ln -s /lib32/libusb-0.1.so.4</pre><br/>Now Set the library path (as su):<pre>sudo su</pre><pre>export LD_LIBRARY_PATH=/usr/lib32/:"$LD_LIBRARY_PATH"</pre>Now you can run the flasher application (as su)<br/>
 +
# basically all recent linux distros come with kernel module cdc_phonet. The problem is that the kernel module cdc_phonet that is automatically loaded and that disrupts the connection from flasher via USB to device.  The solution is to temporarily (or even permanently, since it's a largely useless module) blacklist it, until you are done flashing.  On openSUSE this can be done by creating a file like this:<br /><pre>echo "blacklist cdc_phonet" >/etc/modprobe.d/00-blacklist-cdcphonet.conf</pre>When you finish flashing, remove the file 00-blacklist-cdcphonet.conf to revert back to normal - or just keep it this way, you probably won't miss cdc_phonet ever.<br /><br />
 +
There are other, probably timing, reasons causing occasional "unable to enumerate USB". Immediately issue the flasher command again, up-arrow usually helps fetching last command to re-issue it.
 +
 
 +
=== Mac OS X ===
 +
There are two methods for flashing the device on OS X, using the GUI, with the 770Flasher application or using the console, much like the Linux flashing method. ''Both methods work fine for both the 770 and the N800/N810.''
 +
 
 +
==== GUI with 770Flasher ====
 +
This is the easier of the two methods, and should be used by most people.
 +
 
 +
# Download the [http://maemo.org/downloads/product/PC/770flasher/ 770Flasher] (yes, it will work fine for flashing an N800 or N810). Latest flashers (Linux/Mac), which work also for N900,  are also available on [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php Latest Official Maemo Development Environment Page]
 +
# Follow the [[#Flashing_your_Nokia_tablet|steps above]] to get the appropriate firmware image.
 +
# Drag the firmware image (will end in .bin) onto 770Flasher.  Or open 770Flasher and select the image.
 +
#The image may have a ,attachments ending.  Remove this to get to .bin
 +
# Follow the on-screen prompts.
 +
# You should now see ''Suitable USB device not found, waiting'', plug in the usb cable.  Switch on your device while holding the Home-button. Note for N810 users: switch on your device while holding the Swap button. Note for N900 users: Unplug USB cable. Switch of your device. Press and hold "U" key then plug in the USB cable. If the USB symbol in the top right corner shows up or the flashing starts let go the "U" key.
 +
# Watch the messages as the image loads to the device after which it reboots automatically.
 +
 
 +
==== Console with Flasher-3.5 ====
 +
These steps cover flashing the device with OS X using the Terminal. This is the more difficult than using [[#GUI_with_770Flasher|770Flasher]], but gives you access to the advanced options flasher-3.5 provides (like setting R&D flags, flashing only parts of the image, unpacking the image, etc).
 +
 
 +
# Follow the [[#Updating_&_Flashing_your_device|steps above]] to get the appropriate firmware image and flasher.
 +
# Turn off your device (''make sure you unplug the charger or else the device wont power down completely'') and plug in the USB cable to a port on the computer and the port on your device. N900 users cannot plug in the usb cable yet, as it would start recharging the battery.
 +
# Open up the Terminal (located in /Applications/Utilities/) and run:<pre>sudo /usr/bin/flasher-3.5 -F <firmware-image> -f -R</pre>''You will be asked for an administrator password, enter it.''
 +
# It will say:<pre>Suitable USB device not found, waiting</pre>
 +
# Unplug the power cord from the device, as this will prevent it from updating. Then take your device, and hold down the Home/Swap button (looks like a little house on the N800 and 770, and two overlapping rectangles on the N810 users do not need to hold down anything), and while holding down the Home/Swap button press the power button to turn it on. N900 users press ‘u’ button and plug the USB cable. Release button when flashing process begins.<br />''If the device does not boot and start flashing, make sure the USB cable is plugged in.''
 +
# It should start flashing and then reboot. You can remove the USB cable after it has booted to a normal desktop (just make sure to eject any cards that may have mounted on your Mac).
 +
 
 +
=== Windows ===
 +
 
 +
====N900====
 +
 
 +
=====Updating the firmware using the Nokia Software Updater=====
 +
 
 +
Microsoft Windows users who wish to '''update''' their N900 can use the [http://europe.nokia.com/support/download-software/device-software-update Nokia Software Updater (aka NSU)], or use the Flasher (see section below).
 +
 
 +
The Nokia Software Updater is compatible with Windows XP Service Pack 3, Windows Vista Service Pack 2, and Windows 7. (Some users may encounter problems due to varying causes.)
 +
 
 +
The Nokia Software Updater can now be used when updating from a previous firmware to a new one or re-flashing.
 +
 
 +
=====Updating or re-flashing the firmware using the Flasher=====
 +
 
 +
''Note: This method is fully compatible with 32-bit versions of Windows; 64-bit users may encounter problems. There is a workaround that is reported working though at [http://talk.maemo.org/showpost.php?p=849980&postcount=20 talk.maemo.org] Also note you need administrator rights to run flasher (Windows Vista and above - right click on the file and choose Run As Administrator)''
 +
 
 +
To flash from the Windows (XP, Vista, or 7) command line,
 +
 
 +
# [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php Download] and install the latest version of the Flasher.
 +
# [http://tablets-dev.nokia.com/nokia_N900.php Download] the latest firmware (.bin) file for your region and save it to <code> %ProgramFiles%\maemo\flasher-3.5\</code> (the default path), or wherever you installed the Flasher.
 +
# Ensure the battery is full.
 +
# Unplug USB cable if present, and switch off the device.
 +
# Run the Flasher from the Start menu
 +
# '''This is an alternate to step 5, if you have already opened the Flasher, ignore this step.''' Open the Command Prompt (Start then Run or Windows Logo key + R) and type '''cmd''' then press Enter. Change the directory to where you installed the Flasher (TIP: Use the TAB key to auto-complete commands and file-names)<pre>cd "%ProgramFiles%\maemo\flasher-3.5"</pre>
 +
# Hold the '''u''' key on the '''device''' keyboard and connect the USB cable at the same time. See the [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo_Flasher-3.5#Setting_Maemo_device_to_flashing_mode|Flasher documentation]] for more information. (TIP: Hold the u key until Windows has successfully installed the driver.)
 +
# Run the following command (TIP: Do not include '-R' if you are flashing EMMC as well, see below):<pre>flasher-3.5.exe -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R</pre>
 +
 
 +
'''Replace ''RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin'' with the firmware you wish to update.''' (Make sure you have downloaded the actual corresponding file.) The latest PR1.3 official (rootfs) images are listed below:
 +
 
 +
'''USA'''
 +
<pre>RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM.bin</pre>
 +
 
 +
'''Middle East and North Africa'''
 +
<pre>RX-51_2009SE_20.2010.36-2.003_PR_COMBINED_003_ARM.bin</pre>
 +
 
 +
'''India'''
 +
<pre>RX-51_2009SE_20.2010.36-2.004_PR_COMBINED_004_ARM.bin</pre>
 +
 
 +
'''UK''' (not the vodafone firmware, but fully compatible with vodafone devices).
 +
<pre>RX-51_2009SE_20.2010.36-2.203.1_PR_COMBINED_203_ARM.bin</pre>
 +
 
 +
'''Global'''
 +
<pre>RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin</pre>
 +
 
 +
The flash will take approximately 2-5 minutes after which the N900 will reboot and display the Welcome Screen with Regional settings. After booting, you may use the backup utility to restore your settings.
 +
 
 +
===== Issues with 64-bit Windows and Workarounds =====
 +
According to [http://talk.maemo.org/showpost.php?p=411019&postcount=67 this] post, Windows driver signing can cause problems. You either need to turn on the loading of unsigned drivers or boot your computer to whole another OS. There are a few workarounds:
 +
 
 +
===== Workaround for "no suitable device found" problem on Windows 7 x64 =====
 +
Once this message appears, run <code>inf-wizard.exe</code> from libusb-win32 package and create an inf file for "N900 (PC Suite Mode)" and install this inf driver. Then go to Device Manager and update the driver for N900 Phone Parent and the flasher should spring to life...
 +
 
 +
====== Option 1 ======
 +
Disabling signed driver detection is done by choosing the option "Boot without checking for signed drivers" (or something similar) in the Windows boot-menu. To display the boot-menu press the "F8" key as soon as the Windows boot process starts (i.e. after the BIOS has loaded, and after GRUB or other ''non-Windows bootloaders'' have passed).
 +
 
 +
====== Option 2 ======
 +
Alternatively you can permanently disable driver checking via command line in Windows 7. [http://www.killertechtips.com/2009/05/05/disable-driver-signing-windows-7/ Instructions.] (Non-maemo.org site).
 +
 
 +
====== Option 3 ======
 +
You can use  [http://www.microsoft.com/windows/virtual-pc/download.aspx Microsoft Virtual PC] - Also known as XP Mode. Professional, Enterprise, and Ultimate editions of Windows 7 come with Windows XP mode, but must be downloaded and installed before use.
 +
# Connect your N900 in flasher mode; Hold '''u''' on the '''device''' keyboard, then connect the USB cable.
 +
# Wait for Windows to install the appropriate drivers.
 +
# Start Microsoft Virtual PC / Windows XP mode/
 +
# Allow the Virtual PC to have access to your N900: (On the top bar): USB > Nokia N900 (Update mode) (Attach). ''(If it doesn't say (update mode), you didn't enter update mode correctly by pressing "u". Remove the cable and try again.)''
 +
# Wait for Windows to install the appropriate drivers.
 +
# When it is finished, proceed with the normal flashing steps above.
 +
 
 +
There have been numerous reports on the forums of people trying to flash the rootfs/FIASCO and eMMC with Windows 7 64 bit XP Mode/Virtual PC, where the rootfs/FIASCO image flashed just fine, but the eMMC image stays at "no suitable device found. Waiting". Again allow the Virtual PC to have access to your N900: (On the top bar): USB > Nokia N900 but *NOTICE* now it will be Nokia N900 (PC-Suite mode) (Attach). Now the flashing will start normally.
 +
 
 +
====== Option 4 ======
 +
 
 +
An alternative approach is to use an [http://www.ubuntu.com/getubuntu/download Ubuntu LiveCD] or a [https://wiki.ubuntu.com/LiveUsbPendrivePersistent Persistent USB installation]. This way, you are essentially using Ubuntu without installing it directly on your hard drive. Have ready [http://tablets-dev.nokia.com/maemo-dev-env-downloads.php maemo_flasher-3.5_2.5.2.2_i386.deb], which is the Debian Linux equivalent of a setup/installation file, the firmware files you need, and optionally, this page, if you don't have access to an internet connection on the LiveCD/USB.
 +
 
 +
After booting into your LiveCD/USB, follow the instructions from the Linux section of this page.
 +
 
 +
====== Option 5 ======
 +
 
 +
Install other version of update drivers. Step by step instructions can be found at [http://talk.maemo.org/showpost.php?p=849980&postcount=20 talk.maemo.org]. Video tutorial for setting up/installing the necessary drivers to enable flashing on Windows 7 64-bit OS can be found here: [http://www.youtube.com/watch?v=OkhjA9rztz0&hd=1]
 +
 
 +
====== Option 6 ======
 +
 
 +
The Flasher (version 3.5) uses the libUSB drivers it finds in it's installed folder. Download the libusb library, and simply copy the right libusb.dll version to the folder you've installed Flasher to. So, rename libusb0_x86.dll to libusb0.dll for x86-systems (32-bit) or copy libusb0.dll from the amd64-folder for 64-bit systems.
 +
 
 +
==== 770/N800/N810/N810 WiMAX ====
 +
Internet Tablet users can go to the appropriate support page for their device ([https://www.nokiausa.com/A41271130 N810 WiMAX Edition], [https://www.nokiausa.com/A4686323 N810], [https://www.nokiausa.com/A4410958 N800], or [http://europe.nokia.com/A4144790 770]), download and install the Software Update Wizard, run it and follow the on-screen prompts. This will work both for updating and re-flashing the same firmware image.
 +
 
 +
===Flashing only the kernel from a FIASCO image (expert topic!)===
 +
 
 +
If you only want to flash a kernel from a FIASCO image without overwriting your rootfs (e.g. because you tried out a different kernel and that didn't work) you can use the following flasher command instead of the one above:
 +
 
 +
USING LINUX
 +
-----------
 +
 
 +
sudo ./flasher-3.5 -F ''<firmware-image>'' --flash-only=kernel -f -R
 +
 
 +
This will flash the kernel from the FIASCO image and then reboot your device. The rootfs will not be touched by this. NB a kernel usually needs matching modules in rootfs, so odds are your kernel from FIASCO image won't work either, if you messed up the modules in rootfs - you need to flash whole COMBINED/FIASCO image then to recover.
 +
 
 +
USING WINDOWS
 +
-------------
 +
 
 +
flasher3.5.exe -F <firmware-image> --flash-only=kernel -f -R
 +
 
 +
=== Flashing the eMMC in the N900 ===
 +
 
 +
{{ambox
 +
|type=notice
 +
|text=When flashing the eMMC content, the safe way is flash the eMMC/VANILLA image first, then remove battery for a moment, and then flash the FIASCO/Rootfs image. Do '''not''' boot up the device between the two i.e do NOT use the -R parameter at the end!
 +
 
 +
Also see [[#Troubleshooting|troubleshooting section, bullet 6:"If you cannot establish..."]]
 +
 
 +
Rationale: on accidental booting in between the 2 flash processes, the sequence formerly suggested (rootfs first) will result in a broken system. The sequence "eMMC first, then rootfs" is checked back with Nokia affiliates and is proven to work as long as your rootfs still is somewhat functional. Note however that eMMC flashing will fail when your rootfs is completely messed up, the recommended flash sequence then is rootfs, eMMC, rootfs *again*.
 +
 
 +
''For users '''familiar with flashing''' and interested in a smooth fast process: you can flash combined first, and then *immediately* after that - without one 10th of a second of booting - directly continue with flashing the vanilla. The other way round doesn't work due to a bug in NOLO - so after flashing vanilla you need to remove battery to recover''}}
 +
<!-- PLEASE! Before editing above text, please look here: http://wiki.maemo.org/Talk:Updating_the_firmware -->
 +
 
 +
Flashing the eMMC resets the MyDocs folder contents to factory settings. N900 users don't need to reflash the eMMC of their device when updating firmware but can do so to clear all data from the device. You may need to do so if you have a pre-production device e.g. in the Maemo Summit. If you have a sales unit and you have problems with your eMMC you should contact Nokia Care.
 +
However there are cases known where for instance the desktop widget configuration data which is stored in user's home directory gets corrupted and causes bootloops on hildon desktop startup failing. In this case you'll actually need to reflash your eMMC to recover system from bootlooping (there are other more involved methods to recover too, search for "backupmenu", "watchdogs", "rescueOS")
 +
 
 +
Also note that '''any backups created in your MyDocs area will need to be copied off the device to be safe across an eMMC flash''' as the MyDocs area and other partitions on <code>/dev/mmcblk0</code> will be erased.
 +
 
 +
'''Note that flashing eMMC will delete the <code>/opt</code> directory, so you *always* need to reflash your rootfs (the COMBINED image) after - or same time as - flashing eMMC (VANILLA img)'''
 +
 
 +
Note that the eMMC images available do not contain pre-loaded maps. If you reflash your eMMC you will lose them (the Maps application will work as usual but you will need to download the maps needed).
 +
 
 +
In order to flash the eMMC, follow these steps:
 +
<ol>
 +
<li>
 +
Fully charge the battery (IMPORTANT!!)
 +
</li>
 +
<li>
 +
Install [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5|Flasher]] for your OS (Linux, Mac OS X or MS Windows)
 +
</li>
 +
<li>
 +
Grab the recent Vanilla eMMC image (.bin file) from [http://tablets-dev.nokia.com/nokia_N900.php the Nokia repository]. There isn't always a new eMMC image for a new COMBINED image, as usually the content of eMMC doesn't change with new versions of the system.
 +
</li>
 +
<li>Navigate to the directory where the image file was saved (Windows users: if you don't know the full path to the image, copy it to the flasher directory)
 +
</li>
 +
<li>
 +
Execute the following command (in Linux you have to be root! On windows you have to be admin!):
 +
 
 +
''Replace RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin with the name of the most recent VANILLA file you downloaded''
 +
<ol>
 +
<li>
 +
Windows:<pre>flasher-3.5.exe -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f</pre>
 +
</li>
 +
<li>
 +
Linux (Replace /path/to/ with the correct full pathname to the binary. Using tab-completion helps ;-) ):<pre>/path/to/flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f</pre>
 +
</li>
 +
<li>
 +
Debian based Linux (e.g Ubuntu):<pre>flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f</pre>
 +
</li>
 +
</ol>
 +
</li>
 +
<li>
 +
Text similar to the following will be displayed on the computer:
 +
<pre>
 +
flasher v2.5.2 (Oct 21 2009)
 +
 
 +
Image 'mmc', size 255947 kB
 +
Version RX-51_2009SE_10.2010.13-2.VANILLA
 +
Suitable USB device not found, waiting.
 +
</pre>
 +
</li>
 +
<li>
 +
Plug in the '''powered down''' N900 while holding 'u' key
 +
</li>
 +
<li>
 +
The dim Nokia screen will be displayed for a few seconds followed by progression dots. Text similar to the following will be displayed on the computer:
 +
<pre>
 +
USB device found found at bus 002, device address 014.
 +
Raw data transfer EP found at EP2.
 +
Image(s) flashed successfully in 4.711 s (9199 kB/s)!
 +
</pre>
 +
</li>
 +
<li>
 +
The flash will take a minute or so.
 +
</li>
 +
<li>
 +
When flashing of eMMC completed without errors: Switch off device by shortly removing battery.
 +
</li>
 +
<li>'''Now flash the ''FIASCO/rootfs'' image using''' the [[#Updating_.26_Flashing_your_device|above commands]] with -R parameter.
 +
</li>
 +
<li>
 +
If you used the -R parameter, then N900 will reboot automatically, otherwise you need to reboot manually. The bright Nokia screen will come up, followed by progression dots with yellow LED blinking for a few seconds, first boot will be slow as the device would be optifying files.
 +
</li>
 +
</ol>
 +
 
 +
Experienced users still may want to follow the rootfs-then-eMMC scheme, which doesn't need the battery removal, but is way less "fool-proof" wrt accidental boots. A boot in this context is defined as any activity of the device (flashing LED, some display on screen) that doesn't result in and stop at the NOKIA boot screen with USB icon. Especially "charging" actually also implies a boot of the system, and there's no lower limit for duration of such an accidental boot, 5s are more than enough to ruin your freshly flashed system.
 +
 
 +
== Seamless Software Update ==
 +
 
 +
{{main|Seamless Software Update}}
 +
[[:wikipedia:Maemo_(operating_system)#SSU|SSU]] is Nokia's new method for upgrading the devices over-the-air without requiring a reflash. When Nokia pushes an update over SSU, you will see an update notification and be given the option to install the update—just like with your computer.
 +
 
 +
Generally speaking, SSU updates should be relatively pain-free, but there are a few issues to watch out for:
 +
* If you have an aftermarket kernel or initfs installed (like the rotation support kernel or [[Booting_from_a_flash_card#Install_bootmenu|fanoush's bootmenu]]) and a kernel or initfs upgrade is pushed, they will be overwritten and you'll need to wait for your kernel or the bootmenu to be updated to reinstall them.
 +
* If you have extensively modified the home directory for user "user", such as moved all the documents to a memory card or removing or leaving empty some of the subdirectories
 +
 
 +
If the update doesn't show up for you at all, you may have accidentally (or intentionally) uninstalled osso-software-version-rx*4, which is required to update. You can get it back by simply running an <code>apt-get install osso-software-version-rx34</code>, for the N800, and an <code>apt-get install osso-software-version-rx44</code>, for the N810. Then updating your repository list in Application manager.
 +
 
 +
If the packages that caused osso-software-version-rx*4 to be removed are still installed, they will need to be removed completely (in the case of conflicting packages). Alternatively, for packages which are simply newer than those specified by osso-software-version-rx*4, you can install osso-software-version-rx*4-unlocked, which does not have strict dependencies.
 +
 
 +
On N900 (probably also previous devices), it is possible that the application manager ends up with a message stating that it is required to upgrade using the Nokia PC application. In this case please read the article on [[cannot install firmware update|known problems and possible solutions]].
 +
 
 +
You can show the list of packages that are not going to be ugraded with <code>apt-get update && apt-get upgrade</code>. In that case, you can try using <code>apt-get dist-upgrade</code> command (as root, the app manager has to be shut down) to override. '''This is not supported because you can break future updates. Several users had to reflash after apt-get dist-upgrade!'''.
 +
 
 +
== Troubleshooting ==
 +
 
 +
* '''Make sure your battery is (completely) charged!''' Flashing will fail when battery is too low, and battery will not charge if your system does not boot up correctly. You can find yourself trapped in a deadlock, when flashing fails due to battery depleting during flashing! '''If your device does not enter and stay in flashing mode (NOKIA + USB-icon on screen) despite you holding the "U" key while plugging it in to charger/PC, then battery is too low'''. If your device does not boot to a proper system, then you usually have to find a way to [http://europe.nokia.com/find-products/accessories/all-accessories/power/batteries/nokia-battery-bl-5j/compatibility charge battery externally] - a bootlooping or stalled boot will '''not charge''' battery! So better completely charge your battery prior to any attempt to flash the device.
 +
* If you get a "Permission denied" error and have access to a linux box, then <pre>chmod +x flasher-2.0</pre> or <pre>chmod +x flasher-3.0</pre> or actually <pre>chmod +x flasher-3.5 </pre> nowadays to make the flasher tool executable. You may also need root permissions, run command with sudo or su to root. (Tip: If your flash only gets to 19% then produces "Permission denied,"  try the "global" version of the image file instead. The US version has produced this problem.)
 +
* If you need to flash your Nokia 770 with an image from 2005 then use the [http://tablets-dev.nokia.com/d3.php older flasher] called "flasher" with no number in the name
 +
* If you get "Error claiming USB interface: Device or resource busy" error, make sure you run the flasher with sudo. If this does not fix the problem, as root, run <pre>modprobe -r cdc_phonet</pre>
 +
 
 +
* If flashing stops with "Write failed after 1048576 bytes usb_bulk_write: Resource temporarily unavailable", do not disconnect your N900 from usb and try again the flasher command.
 +
===the complete foolproof procedure===
 +
* If you cannot establish a connection with N900, or got any other problems during starting or completing the flashing process, do the following steps which describe '''the complete foolproof flashing procedure''' again in terse form: ''(use a Linux machine to flash! Windows isn't really backed up with much support from community, for obvious reasons.)''
 +
*# become root ("su -" or "sudo su -")
 +
*# '''blacklist the cdc_phonet kernel module''' ("echo 'blacklist cdc_phonet' >/etc/modprobe.d/00-blacklist-cdcphonet.conf" or "echo 'blacklist cdc_phonet' >>/etc/modprobe.conf", whichever you have)! Run "modprobe -r cdc_phonet", if it does NOT throw error, there was a cdc_phonet module to remove -> bad (new versions of modprobe might need option --first-time to throw error).
 +
*#(try to) Turn off the device - if nothing else helps, holding power key for >8s is the ultimate means (except next point 4.) to do this.
 +
*#Remove the battery - even if you were not able to shut device down in 3.
 +
*#Start flasher with above mentioned command to flash (without -R, it's a useless convenience thing). It says "Suitable device not found... waiting"  
 +
*#Plug the device to computer with a good USB cable.
 +
*#Insert battery while holding "u" key. You can release the key as soon as screen turns on and shows the USB logo. Flashing shall start automatically. ''(If flasher answers "unable to enumerate USB buses!" as soon as N900 gets battery, just re-issue same flasher cmd immediately - cursor-up helps ;-D). If flasher doesn't detect the device, a Ctrl+C abort and re-issuing of the flasher command may help''
 +
*#Check for correct diagnostic output of flasher, as quoted above. After flashing has finished, wait a maybe 30s, then remove battery -> 4.)
 +
*#Repeat same procedure ((2.b modprobe) 3. - 8. INCL remove battery!) for each image to flash (sequence: eMMC first, then rootfs - some mess on rootfs may break eMMC flashing and require sequence 1.rootfs 2.eMMC 3.rootfs ''again''). ''So far this procedure always worked, given your PC side has no problems. Many known problems on PC side - esp "waits forever" / "doesn't find N900" - get fixed with a PC reboot *immediately prior* to doing the flashing.''
 +
*#After flashing unplug your device from PC prior to first boot. First boot can take several minutes, and screen may turn dark during that. You may try lock-slider switch, but '''do not power down''' device during first boot, until it finally finished - I.E. do not touch power button after flashing, unless you're *sure* device hasn't already started to boot. Usually device will power down when unplugged from PC in flashing mode, you can tell this from white LED fading out, not even any dim backlight, and device not reacting to lockslider and kbd-open. Power it up from battery then, using the power button. ''Only then'' plugging in the wallcharger is a good idea. Make sure device charges and recharge battery while you're at it. After battery got fully charged again, it's probably safe to switch off your N900, as first boot setup should have finished.
 +
 
 +
* After re flashing if the sim is not detected (symbol of the sim card with a red slash across near battery meter) make sure that you have downloaded  the proper [http://tablets-dev.nokia.com/nokia_N900.php Firmware Download] (.bin) file for your region. If you have downloaded another .bin from some other region the sim may not be detected.
 +
 
 +
===Flashed but still getting only "5 white dots going back and forth"===
 +
 +
This can be caused by various problems. Known problems are:
 +
* If boot finds a corrupted FAT32, it may decide to run fsck against it, which may take like hours to complete.
 +
* System is trying to run corrupted ~/.profile file with wrong commands which interrupt complete boot.
 +
 
 +
Solution can be to use rescueOS: http://talk.maemo.org/showthread.php?t=75369 , which can help you to mount rootfs, home (mount /dev/mmcblk0p2 /mnt/free1) and edit files or "do other useful rescue stuff".
 +
 
 +
===USB===
 +
 
 +
It may help to connect directly to the computer USB ports, avoiding the use of a hub - which includes the USB ports on laptop docking stations.  The USB ports in the back of a laptop may also be better than using those in the front.
 +
 
 +
Some distributions do not present the USB device in the way that it expects it.  First, see if it is necessary to "mount" USB:
 +
 
 +
mount -t usbfs usbfs /proc/bus/usb
 +
 
 +
'''OBSOLETE WITH flasher3.5!'''
 +
If that does not work, try patching the ''flasher'' code.  This replaces the use of <code>/proc/bus/usb</code> with the newer <code>/dev/bus/usb</code> filesystem:
 +
 
 +
perl -pi -e 's-/proc/bus/usb-/dev/bus/usb\000-;' -i.backup $FLASHER
 +
 
 +
Replace <code>$FLASHER</code> with the path to your flasher-2.0 or flasher-3.0 Linux binary.
 +
 
 +
== The Lazy Approach ==
 +
C&P this to your PC's GNU-linux [bash] terminal (at own risk) - it's one single line without linebreaks!:No other prerequisites, no downloads or anything needed (creates new subdir "maemo-my-private-workdir" in Current Working Dir).
 +
<pre>
 +
(wget http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz -O - 2>/dev/null| tar xvz)&&cd maemo-my-private-workdir&&sudo ./flash-it-all.sh</pre>
 +
it downloads and executes a script that will ask you what to flash, will get needed fiasco images, will check all(?) the known roadblocks - except empty battery - and get you started with flashing in no time. '''Nevertheless read and understand how flashing works, here above!''' Consider doing a [http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install Backup-Menu] full system backup before flashing!
 +
 
 +
The script comes with guidance, so simply do the C&P and follow the instructions. Before the script starts, sudo will possibly ask for your (root?) password.
 +
 
 +
When for some reason you need to restart the process, the command is '''sudo ./flash-it-all.sh'''
 +
 +
 
 +
Don't forget to install new working catalogs for the defunct Nokia repos after flashing: click recommended.install in http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/ on device in microB browser
 +
 
 +
Then proceed to http://wiki.maemo.org/Community_SSU to get the latest important patches and updates
 +
 
 +
And again: everywhere '''Read The Full Manual'''
 +
 
 +
[[Category:Users]]
 +
[[Category:HowTo]]
 +
[[Category:USB]]
 +
[[Category:Power users]]
 +
[[Category:N900]]

Latest revision as of 11:36, 23 March 2019

This page has seen massive edits to get it in line with N900 details of flashing. N8x0 owners might want to have a look to older versions, like http://wiki.maemo.org/index.php?title=Updating_the_firmware&oldid=17120. This page grew organically, so structuring is suboptimal. READ THE WHOLE PAGE before starting!



again, in case you missed it: READ THE WHOLE PAGE before starting!



Video Tutorials:

http://www.youtube.com/watch?v=E1zvRjL-2cM

http://www.youtube.com/watch?v=O54KdLvTA2U

Image:Ambox_notice.png
READ THE WHOLE PAGE before starting!

Contents

What does it do?

N9

Please see the main article Flashing N9.

N900

These descriptions assume that you are using the latest official images. This page is not exactly a step-by-step instruction, so better read the whole page prior to starting the flashing process.

While talking about flashing, there are exactly two distinct processes and related files (also called images) frequently mentioned:

  • (flashing the) FIASCO aka *COMBINED*, also referred to as "rootfs" though this file and flashing process also consists of / affects NOLO bootloader (the several stages), the kernel, and usually the GSM modem firmware, in addition to the root filesystem which is basically the content of your 240 MB NAND flash storage and implements the Linux operating system.
  • (flashing the) eMMC aka *VANILLA*, which will replace the complete content of N900's internal 32 GB eMMC storage (embedded MMC), which is: the /home partition which has your stored browser passwords and game highscores and calendar and contacts etc. /home is also containing /opt. Plus eMMC stores all the content of the MyDocs 28 GB VFAT partition, where all the media and docs and other user content lives.

Often people use the term "firmware" for either or both of those images. It's misleading.

Flashing the rootfs on your N900 will reset the device's linux system back to factory settings, meaning all additional applications will vanish, and some configuration details (e.g. LED patterns) are reset to the original configuration, with the exception of the lock code; if you have already set a custom lock code, it will remain intact, instead of reverting to the default "12345". Also, all information contained in /home (except /home/opt) will remain intact. This means the information stored in /home/user/MyDocs which is the area visible in the default file manager (or when connecting to a computer), will remain intact. Your external memory (microSD), will also be unaffected.

Flashing the eMMC and rootfs on your N900 will completely reset the device to factory settings, reverting everything to factory settings, including /home with all (app-)preferences, bookmarks, contacts, communications, but again, excluding the external memory on micro-SD card and the lockcode. (you MUST flash rootfs as well, when flashing eMMC (because of /opt deletion)

It is strongly advised you regularly use the Backup application to create backups of your settings and data to a safe storage. You will want to configure the Backup application in such a way it stores the backups to your microSD card - alternatively when creating manual backup of MyDocs as suggested below, backups stored to default location "N900" will be included and thus safe.

The Backup application will save:

  • Communication and Calendar: Stored conversations, accounts, contacts, and calendar entries. Only applies to content used with stock applications. (i.e. not Pidgin, or other third-party applications)
  • Bookmarks: Bookmarks stored via MicroB. (Default browser only)
  • Settings: Your current settings in the Settings "application." (Settings in /home/user, GConf, /etc.) Third party settings applets will also be backed up and restored once installed. Manually created shell scripts or other files (except those in eMMC/MyDocs) must be manually backed up prior to a rootfs flash.
  • Application List: A list of repositories and installed applications to be re-activated and installed after flashing. (Only applies to applications and repositories installed via the included Application Manager)

When using Backup application to restore from some backup, you can select which of the above listed groups of data shall be restored. For Application List you even can select on a per-application granularity, i.e. exclude an arbitrary number of applications from restore. (NOTE: it is a good idea to do a new backup of the system immediately prior to any restore - of course you don't overwrite an existing backup file for that, instead give the new backup a new descriptive name, like "system_broken-foobar__prior_to_restore")

When flashing the eMMC, all user-created content on MyDocs ("N900") must also be backed up manually to an external location in order to be preserved (i.e. computer or microSD). You can use Mass-Storage-mode via USB for this, or copy the whole content of MyDocs with Filemanager or similar tools. The eMMC image will contain and restore the MyDocs factory setting files and folders (.documents, .images, icons, etc.).

N800/N810

Upgrading wipes out your /home directory. All of it. Make sure you backup all your data before upgrading.

Updating & Flashing your device

Image:Ambox_notice.png
If you are flashing the N900 with the eMMC image, follow the instructions below. Also see troubleshooting section, bullet 6:"If you cannot establish..."
Image:Ambox_notice.png
MAKE SURE YOU KNOW YOUR LOCK CODE (default: 12345) There has been at least one report where a N900 started to ask for lock code after reflashing!

All Systems

For Windows, Mac or Linux you can use flasher-3.5 which can be download from the tablets-dev page. This page contains all installation packages include documentation for using the flasher.

Image:Ambox_notice.png
If http://tablets-dev.nokia.com/ does not work (for any reason including corrupted data and/or duplicate headers error message) use your search engine of choice, with the file names below; to find alternative download locations.
[2014-02-05 00:54:34] <mlwane> Okay, after a bit of Googling I have managed to find a all the files needed to flash the Nokia N810. I am just posting the link here for future reference. <http://www.jedge.com/n810/flasher/>


  1. Download the Flasher for your device model: N900, N810, N800 or 770
  2. Download the latest firmware image for your device model:
  3. Ensure the battery is fully charged. Connect to charger until green light when screen locked! Don't say "I already did it this morning"! (this point obviously only applies when your device is not "bricked" or bootlooping.)
  4. Unplug the charger and switch off the device.

Linux PC

see "Some notes: 2." below!

  1. Download the Flasher for your device model: N900, N810, N800 or 770
  2. Download the latest firmware image for your device model: N900(For UK N900 Devices: Maemo 5 UK Firmware), N810 WiMAX Edition, N810, N800, or 770 (Hacker Editions: OS2007HE, OS2008HE)
  3. Ensure the battery of Nokia device is fully charged.
  4. Unplug the USB cable if present, and switch off the device.
  5. If you downloaded the .deb version of the Flasher, install it with:
    sudo dpkg -i <flasher-package-name>
    If you are using 64-bit Linux, you'll need to force installation as follows:
    sudo dpkg -i --force-architecture <flasher-package-name>
  6. If you downloaded the .tar.gz version instead, you should untar it manually. The instructions below assume you have untarred it to the current directory.
  7. If you installed the .deb version, run:
    sudo flasher-3.5 -F <firmware-image> -f
    If you are using the .tar.gz package, use:
    sudo ./flasher-3.5 -F <firmware-image> -f
  8. It will say:
    Suitable USB device not found, waiting
    • N900: While holding the u key, connect the N900 to your computer via USB. Wait until you see a dim screen on your N900 with a Nokia logo in the middle of your screen with an USB icon in the top right corner. Note: You may not need to hold the U key - it seems to automatically flash if the flasher is ready at boot time.
      1. If the USB logo does not appear, and the device turns off - ensure the battery is charged by connecting to the wall charger for an hour and try again. Bear in mind that neither the wall charger nor the USB cable will charge the N900 battery if the N900 cannot boot the OS.
    • N810 WiMAX, N810, N800 and 770: Connect your device to your computer via USB. While holding the Home/Swap button (It's a house on the 770 and N800, and two overlapping rectangles on the N810), power on the device by holding the power button. You should see a Nokia logo in the middle of the screen, and a USB icon in the top right corner.
  9. You don't need to continue to hold any buttons once flashing starts.
  10. It should start flashing and then reboot. You can remove the USB cable when the flasher program exits back to the shell prompt.

Some notes:

  1. If you get this error while trying to run flasher-3.5
    ./flasher-3.5: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    you are probably on 64 bit and you need to install a libusb compatibility package. For example, on openSUSE 11.4 you just run
    zypper in libusb-0_1-4-32bit

    On a debian based system you can download and install the 32-bit version in a separate location (don't install it on your system itself -- note: installing libusb0.1-4 from repos on ubuntu 12.10-amd64 worked fine for one user)
    First download the libusb-0.1-4_0.1.12-13_i386.deb library (google is your friend) and then:
    dpkg-deb -c libusb-0.1-4_0.1.12-13_i386.deb
    sudo dpkg -x libusb-0.1-4_0.1.12-13_i386.deb libusb-0.1-4_0.1.12-13_i386
    sudo mv libusb-0.1-4_0.1.12-13_i386/lib/* /lib32
    cd /usr/lib32
    sudo ln -s /lib32/libusb-0.1.so.4

    Now Set the library path (as su):
    sudo su
    export LD_LIBRARY_PATH=/usr/lib32/:"$LD_LIBRARY_PATH"
    Now you can run the flasher application (as su)
  2. basically all recent linux distros come with kernel module cdc_phonet. The problem is that the kernel module cdc_phonet that is automatically loaded and that disrupts the connection from flasher via USB to device. The solution is to temporarily (or even permanently, since it's a largely useless module) blacklist it, until you are done flashing. On openSUSE this can be done by creating a file like this:
    echo "blacklist cdc_phonet" >/etc/modprobe.d/00-blacklist-cdcphonet.conf
    When you finish flashing, remove the file 00-blacklist-cdcphonet.conf to revert back to normal - or just keep it this way, you probably won't miss cdc_phonet ever.

There are other, probably timing, reasons causing occasional "unable to enumerate USB". Immediately issue the flasher command again, up-arrow usually helps fetching last command to re-issue it.

Mac OS X

There are two methods for flashing the device on OS X, using the GUI, with the 770Flasher application or using the console, much like the Linux flashing method. Both methods work fine for both the 770 and the N800/N810.

GUI with 770Flasher

This is the easier of the two methods, and should be used by most people.

  1. Download the 770Flasher (yes, it will work fine for flashing an N800 or N810). Latest flashers (Linux/Mac), which work also for N900, are also available on Latest Official Maemo Development Environment Page
  2. Follow the steps above to get the appropriate firmware image.
  3. Drag the firmware image (will end in .bin) onto 770Flasher. Or open 770Flasher and select the image.
  4. The image may have a ,attachments ending. Remove this to get to .bin
  5. Follow the on-screen prompts.
  6. You should now see Suitable USB device not found, waiting, plug in the usb cable. Switch on your device while holding the Home-button. Note for N810 users: switch on your device while holding the Swap button. Note for N900 users: Unplug USB cable. Switch of your device. Press and hold "U" key then plug in the USB cable. If the USB symbol in the top right corner shows up or the flashing starts let go the "U" key.
  7. Watch the messages as the image loads to the device after which it reboots automatically.

Console with Flasher-3.5

These steps cover flashing the device with OS X using the Terminal. This is the more difficult than using 770Flasher, but gives you access to the advanced options flasher-3.5 provides (like setting R&D flags, flashing only parts of the image, unpacking the image, etc).

  1. Follow the steps above to get the appropriate firmware image and flasher.
  2. Turn off your device (make sure you unplug the charger or else the device wont power down completely) and plug in the USB cable to a port on the computer and the port on your device. N900 users cannot plug in the usb cable yet, as it would start recharging the battery.
  3. Open up the Terminal (located in /Applications/Utilities/) and run:
    sudo /usr/bin/flasher-3.5 -F <firmware-image> -f -R
    You will be asked for an administrator password, enter it.
  4. It will say:
    Suitable USB device not found, waiting
  5. Unplug the power cord from the device, as this will prevent it from updating. Then take your device, and hold down the Home/Swap button (looks like a little house on the N800 and 770, and two overlapping rectangles on the N810 users do not need to hold down anything), and while holding down the Home/Swap button press the power button to turn it on. N900 users press ‘u’ button and plug the USB cable. Release button when flashing process begins.
    If the device does not boot and start flashing, make sure the USB cable is plugged in.
  6. It should start flashing and then reboot. You can remove the USB cable after it has booted to a normal desktop (just make sure to eject any cards that may have mounted on your Mac).

Windows

N900

Updating the firmware using the Nokia Software Updater

Microsoft Windows users who wish to update their N900 can use the Nokia Software Updater (aka NSU), or use the Flasher (see section below).

The Nokia Software Updater is compatible with Windows XP Service Pack 3, Windows Vista Service Pack 2, and Windows 7. (Some users may encounter problems due to varying causes.)

The Nokia Software Updater can now be used when updating from a previous firmware to a new one or re-flashing.

Updating or re-flashing the firmware using the Flasher

Note: This method is fully compatible with 32-bit versions of Windows; 64-bit users may encounter problems. There is a workaround that is reported working though at talk.maemo.org Also note you need administrator rights to run flasher (Windows Vista and above - right click on the file and choose Run As Administrator)

To flash from the Windows (XP, Vista, or 7) command line,

  1. Download and install the latest version of the Flasher.
  2. Download the latest firmware (.bin) file for your region and save it to  %ProgramFiles%\maemo\flasher-3.5\ (the default path), or wherever you installed the Flasher.
  3. Ensure the battery is full.
  4. Unplug USB cable if present, and switch off the device.
  5. Run the Flasher from the Start menu
  6. This is an alternate to step 5, if you have already opened the Flasher, ignore this step. Open the Command Prompt (Start then Run or Windows Logo key + R) and type cmd then press Enter. Change the directory to where you installed the Flasher (TIP: Use the TAB key to auto-complete commands and file-names)
    cd "%ProgramFiles%\maemo\flasher-3.5"
  7. Hold the u key on the device keyboard and connect the USB cable at the same time. See the Flasher documentation for more information. (TIP: Hold the u key until Windows has successfully installed the driver.)
  8. Run the following command (TIP: Do not include '-R' if you are flashing EMMC as well, see below):
    flasher-3.5.exe -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R

Replace RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin with the firmware you wish to update. (Make sure you have downloaded the actual corresponding file.) The latest PR1.3 official (rootfs) images are listed below:

USA

RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM.bin

Middle East and North Africa

RX-51_2009SE_20.2010.36-2.003_PR_COMBINED_003_ARM.bin

India

RX-51_2009SE_20.2010.36-2.004_PR_COMBINED_004_ARM.bin

UK (not the vodafone firmware, but fully compatible with vodafone devices).

RX-51_2009SE_20.2010.36-2.203.1_PR_COMBINED_203_ARM.bin

Global

RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

The flash will take approximately 2-5 minutes after which the N900 will reboot and display the Welcome Screen with Regional settings. After booting, you may use the backup utility to restore your settings.

Issues with 64-bit Windows and Workarounds

According to this post, Windows driver signing can cause problems. You either need to turn on the loading of unsigned drivers or boot your computer to whole another OS. There are a few workarounds:

Workaround for "no suitable device found" problem on Windows 7 x64

Once this message appears, run inf-wizard.exe from libusb-win32 package and create an inf file for "N900 (PC Suite Mode)" and install this inf driver. Then go to Device Manager and update the driver for N900 Phone Parent and the flasher should spring to life...

Option 1

Disabling signed driver detection is done by choosing the option "Boot without checking for signed drivers" (or something similar) in the Windows boot-menu. To display the boot-menu press the "F8" key as soon as the Windows boot process starts (i.e. after the BIOS has loaded, and after GRUB or other non-Windows bootloaders have passed).

Option 2

Alternatively you can permanently disable driver checking via command line in Windows 7. Instructions. (Non-maemo.org site).

Option 3

You can use Microsoft Virtual PC - Also known as XP Mode. Professional, Enterprise, and Ultimate editions of Windows 7 come with Windows XP mode, but must be downloaded and installed before use.

  1. Connect your N900 in flasher mode; Hold u on the device keyboard, then connect the USB cable.
  2. Wait for Windows to install the appropriate drivers.
  3. Start Microsoft Virtual PC / Windows XP mode/
  4. Allow the Virtual PC to have access to your N900: (On the top bar): USB > Nokia N900 (Update mode) (Attach). (If it doesn't say (update mode), you didn't enter update mode correctly by pressing "u". Remove the cable and try again.)
  5. Wait for Windows to install the appropriate drivers.
  6. When it is finished, proceed with the normal flashing steps above.

There have been numerous reports on the forums of people trying to flash the rootfs/FIASCO and eMMC with Windows 7 64 bit XP Mode/Virtual PC, where the rootfs/FIASCO image flashed just fine, but the eMMC image stays at "no suitable device found. Waiting". Again allow the Virtual PC to have access to your N900: (On the top bar): USB > Nokia N900 but *NOTICE* now it will be Nokia N900 (PC-Suite mode) (Attach). Now the flashing will start normally.

Option 4

An alternative approach is to use an Ubuntu LiveCD or a Persistent USB installation. This way, you are essentially using Ubuntu without installing it directly on your hard drive. Have ready maemo_flasher-3.5_2.5.2.2_i386.deb, which is the Debian Linux equivalent of a setup/installation file, the firmware files you need, and optionally, this page, if you don't have access to an internet connection on the LiveCD/USB.

After booting into your LiveCD/USB, follow the instructions from the Linux section of this page.

Option 5

Install other version of update drivers. Step by step instructions can be found at talk.maemo.org. Video tutorial for setting up/installing the necessary drivers to enable flashing on Windows 7 64-bit OS can be found here: [1]

Option 6

The Flasher (version 3.5) uses the libUSB drivers it finds in it's installed folder. Download the libusb library, and simply copy the right libusb.dll version to the folder you've installed Flasher to. So, rename libusb0_x86.dll to libusb0.dll for x86-systems (32-bit) or copy libusb0.dll from the amd64-folder for 64-bit systems.

770/N800/N810/N810 WiMAX

Internet Tablet users can go to the appropriate support page for their device (N810 WiMAX Edition, N810, N800, or 770), download and install the Software Update Wizard, run it and follow the on-screen prompts. This will work both for updating and re-flashing the same firmware image.

Flashing only the kernel from a FIASCO image (expert topic!)

If you only want to flash a kernel from a FIASCO image without overwriting your rootfs (e.g. because you tried out a different kernel and that didn't work) you can use the following flasher command instead of the one above:

USING LINUX


sudo ./flasher-3.5 -F <firmware-image> --flash-only=kernel -f -R

This will flash the kernel from the FIASCO image and then reboot your device. The rootfs will not be touched by this. NB a kernel usually needs matching modules in rootfs, so odds are your kernel from FIASCO image won't work either, if you messed up the modules in rootfs - you need to flash whole COMBINED/FIASCO image then to recover.

USING WINDOWS


flasher3.5.exe -F <firmware-image> --flash-only=kernel -f -R

Flashing the eMMC in the N900

Image:Ambox_notice.png
When flashing the eMMC content, the safe way is flash the eMMC/VANILLA image first, then remove battery for a moment, and then flash the FIASCO/Rootfs image. Do not boot up the device between the two i.e do NOT use the -R parameter at the end!

Also see troubleshooting section, bullet 6:"If you cannot establish..."

Rationale: on accidental booting in between the 2 flash processes, the sequence formerly suggested (rootfs first) will result in a broken system. The sequence "eMMC first, then rootfs" is checked back with Nokia affiliates and is proven to work as long as your rootfs still is somewhat functional. Note however that eMMC flashing will fail when your rootfs is completely messed up, the recommended flash sequence then is rootfs, eMMC, rootfs *again*.

For users familiar with flashing and interested in a smooth fast process: you can flash combined first, and then *immediately* after that - without one 10th of a second of booting - directly continue with flashing the vanilla. The other way round doesn't work due to a bug in NOLO - so after flashing vanilla you need to remove battery to recover

Flashing the eMMC resets the MyDocs folder contents to factory settings. N900 users don't need to reflash the eMMC of their device when updating firmware but can do so to clear all data from the device. You may need to do so if you have a pre-production device e.g. in the Maemo Summit. If you have a sales unit and you have problems with your eMMC you should contact Nokia Care. However there are cases known where for instance the desktop widget configuration data which is stored in user's home directory gets corrupted and causes bootloops on hildon desktop startup failing. In this case you'll actually need to reflash your eMMC to recover system from bootlooping (there are other more involved methods to recover too, search for "backupmenu", "watchdogs", "rescueOS")

Also note that any backups created in your MyDocs area will need to be copied off the device to be safe across an eMMC flash as the MyDocs area and other partitions on /dev/mmcblk0 will be erased.

Note that flashing eMMC will delete the /opt directory, so you *always* need to reflash your rootfs (the COMBINED image) after - or same time as - flashing eMMC (VANILLA img)

Note that the eMMC images available do not contain pre-loaded maps. If you reflash your eMMC you will lose them (the Maps application will work as usual but you will need to download the maps needed).

In order to flash the eMMC, follow these steps:

  1. Fully charge the battery (IMPORTANT!!)
  2. Install Flasher for your OS (Linux, Mac OS X or MS Windows)
  3. Grab the recent Vanilla eMMC image (.bin file) from the Nokia repository. There isn't always a new eMMC image for a new COMBINED image, as usually the content of eMMC doesn't change with new versions of the system.
  4. Navigate to the directory where the image file was saved (Windows users: if you don't know the full path to the image, copy it to the flasher directory)
  5. Execute the following command (in Linux you have to be root! On windows you have to be admin!): Replace RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin with the name of the most recent VANILLA file you downloaded
    1. Windows:
      flasher-3.5.exe -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
    2. Linux (Replace /path/to/ with the correct full pathname to the binary. Using tab-completion helps ;-) ):
      /path/to/flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
    3. Debian based Linux (e.g Ubuntu):
      flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
  6. Text similar to the following will be displayed on the computer:
    flasher v2.5.2 (Oct 21 2009)
    
    Image 'mmc', size 255947 kB
    	Version RX-51_2009SE_10.2010.13-2.VANILLA
    Suitable USB device not found, waiting.
    
  7. Plug in the powered down N900 while holding 'u' key
  8. The dim Nokia screen will be displayed for a few seconds followed by progression dots. Text similar to the following will be displayed on the computer:
    USB device found found at bus 002, device address 014.
    Raw data transfer EP found at EP2.
    Image(s) flashed successfully in 4.711 s (9199 kB/s)!
    
  9. The flash will take a minute or so.
  10. When flashing of eMMC completed without errors: Switch off device by shortly removing battery.
  11. Now flash the FIASCO/rootfs image using the above commands with -R parameter.
  12. If you used the -R parameter, then N900 will reboot automatically, otherwise you need to reboot manually. The bright Nokia screen will come up, followed by progression dots with yellow LED blinking for a few seconds, first boot will be slow as the device would be optifying files.

Experienced users still may want to follow the rootfs-then-eMMC scheme, which doesn't need the battery removal, but is way less "fool-proof" wrt accidental boots. A boot in this context is defined as any activity of the device (flashing LED, some display on screen) that doesn't result in and stop at the NOKIA boot screen with USB icon. Especially "charging" actually also implies a boot of the system, and there's no lower limit for duration of such an accidental boot, 5s are more than enough to ruin your freshly flashed system.

Seamless Software Update

Main article: Seamless Software Update

SSU is Nokia's new method for upgrading the devices over-the-air without requiring a reflash. When Nokia pushes an update over SSU, you will see an update notification and be given the option to install the update—just like with your computer.

Generally speaking, SSU updates should be relatively pain-free, but there are a few issues to watch out for:

  • If you have an aftermarket kernel or initfs installed (like the rotation support kernel or fanoush's bootmenu) and a kernel or initfs upgrade is pushed, they will be overwritten and you'll need to wait for your kernel or the bootmenu to be updated to reinstall them.
  • If you have extensively modified the home directory for user "user", such as moved all the documents to a memory card or removing or leaving empty some of the subdirectories

If the update doesn't show up for you at all, you may have accidentally (or intentionally) uninstalled osso-software-version-rx*4, which is required to update. You can get it back by simply running an apt-get install osso-software-version-rx34, for the N800, and an apt-get install osso-software-version-rx44, for the N810. Then updating your repository list in Application manager.

If the packages that caused osso-software-version-rx*4 to be removed are still installed, they will need to be removed completely (in the case of conflicting packages). Alternatively, for packages which are simply newer than those specified by osso-software-version-rx*4, you can install osso-software-version-rx*4-unlocked, which does not have strict dependencies.

On N900 (probably also previous devices), it is possible that the application manager ends up with a message stating that it is required to upgrade using the Nokia PC application. In this case please read the article on known problems and possible solutions.

You can show the list of packages that are not going to be ugraded with apt-get update && apt-get upgrade. In that case, you can try using apt-get dist-upgrade command (as root, the app manager has to be shut down) to override. This is not supported because you can break future updates. Several users had to reflash after apt-get dist-upgrade!.

Troubleshooting

  • Make sure your battery is (completely) charged! Flashing will fail when battery is too low, and battery will not charge if your system does not boot up correctly. You can find yourself trapped in a deadlock, when flashing fails due to battery depleting during flashing! If your device does not enter and stay in flashing mode (NOKIA + USB-icon on screen) despite you holding the "U" key while plugging it in to charger/PC, then battery is too low. If your device does not boot to a proper system, then you usually have to find a way to charge battery externally - a bootlooping or stalled boot will not charge battery! So better completely charge your battery prior to any attempt to flash the device.
  • If you get a "Permission denied" error and have access to a linux box, then
    chmod +x flasher-2.0
    or
    chmod +x flasher-3.0
    or actually
    chmod +x flasher-3.5 
    nowadays to make the flasher tool executable. You may also need root permissions, run command with sudo or su to root. (Tip: If your flash only gets to 19% then produces "Permission denied," try the "global" version of the image file instead. The US version has produced this problem.)
  • If you need to flash your Nokia 770 with an image from 2005 then use the older flasher called "flasher" with no number in the name
  • If you get "Error claiming USB interface: Device or resource busy" error, make sure you run the flasher with sudo. If this does not fix the problem, as root, run
    modprobe -r cdc_phonet
  • If flashing stops with "Write failed after 1048576 bytes usb_bulk_write: Resource temporarily unavailable", do not disconnect your N900 from usb and try again the flasher command.

the complete foolproof procedure

  • If you cannot establish a connection with N900, or got any other problems during starting or completing the flashing process, do the following steps which describe the complete foolproof flashing procedure again in terse form: (use a Linux machine to flash! Windows isn't really backed up with much support from community, for obvious reasons.)
    1. become root ("su -" or "sudo su -")
    2. blacklist the cdc_phonet kernel module ("echo 'blacklist cdc_phonet' >/etc/modprobe.d/00-blacklist-cdcphonet.conf" or "echo 'blacklist cdc_phonet' >>/etc/modprobe.conf", whichever you have)! Run "modprobe -r cdc_phonet", if it does NOT throw error, there was a cdc_phonet module to remove -> bad (new versions of modprobe might need option --first-time to throw error).
    3. (try to) Turn off the device - if nothing else helps, holding power key for >8s is the ultimate means (except next point 4.) to do this.
    4. Remove the battery - even if you were not able to shut device down in 3.
    5. Start flasher with above mentioned command to flash (without -R, it's a useless convenience thing). It says "Suitable device not found... waiting"
    6. Plug the device to computer with a good USB cable.
    7. Insert battery while holding "u" key. You can release the key as soon as screen turns on and shows the USB logo. Flashing shall start automatically. (If flasher answers "unable to enumerate USB buses!" as soon as N900 gets battery, just re-issue same flasher cmd immediately - cursor-up helps ;-D). If flasher doesn't detect the device, a Ctrl+C abort and re-issuing of the flasher command may help
    8. Check for correct diagnostic output of flasher, as quoted above. After flashing has finished, wait a maybe 30s, then remove battery -> 4.)
    9. Repeat same procedure ((2.b modprobe) 3. - 8. INCL remove battery!) for each image to flash (sequence: eMMC first, then rootfs - some mess on rootfs may break eMMC flashing and require sequence 1.rootfs 2.eMMC 3.rootfs again). So far this procedure always worked, given your PC side has no problems. Many known problems on PC side - esp "waits forever" / "doesn't find N900" - get fixed with a PC reboot *immediately prior* to doing the flashing.
    10. After flashing unplug your device from PC prior to first boot. First boot can take several minutes, and screen may turn dark during that. You may try lock-slider switch, but do not power down device during first boot, until it finally finished - I.E. do not touch power button after flashing, unless you're *sure* device hasn't already started to boot. Usually device will power down when unplugged from PC in flashing mode, you can tell this from white LED fading out, not even any dim backlight, and device not reacting to lockslider and kbd-open. Power it up from battery then, using the power button. Only then plugging in the wallcharger is a good idea. Make sure device charges and recharge battery while you're at it. After battery got fully charged again, it's probably safe to switch off your N900, as first boot setup should have finished.
  • After re flashing if the sim is not detected (symbol of the sim card with a red slash across near battery meter) make sure that you have downloaded the proper Firmware Download (.bin) file for your region. If you have downloaded another .bin from some other region the sim may not be detected.

Flashed but still getting only "5 white dots going back and forth"

This can be caused by various problems. Known problems are:

  • If boot finds a corrupted FAT32, it may decide to run fsck against it, which may take like hours to complete.
  • System is trying to run corrupted ~/.profile file with wrong commands which interrupt complete boot.

Solution can be to use rescueOS: http://talk.maemo.org/showthread.php?t=75369 , which can help you to mount rootfs, home (mount /dev/mmcblk0p2 /mnt/free1) and edit files or "do other useful rescue stuff".

USB

It may help to connect directly to the computer USB ports, avoiding the use of a hub - which includes the USB ports on laptop docking stations. The USB ports in the back of a laptop may also be better than using those in the front.

Some distributions do not present the USB device in the way that it expects it. First, see if it is necessary to "mount" USB:

mount -t usbfs usbfs /proc/bus/usb

OBSOLETE WITH flasher3.5! If that does not work, try patching the flasher code. This replaces the use of /proc/bus/usb with the newer /dev/bus/usb filesystem:

perl -pi -e 's-/proc/bus/usb-/dev/bus/usb\000-;' -i.backup $FLASHER

Replace $FLASHER with the path to your flasher-2.0 or flasher-3.0 Linux binary.

The Lazy Approach

C&P this to your PC's GNU-linux [bash] terminal (at own risk) - it's one single line without linebreaks!:No other prerequisites, no downloads or anything needed (creates new subdir "maemo-my-private-workdir" in Current Working Dir).

(wget http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz -O - 2>/dev/null| tar xvz)&&cd maemo-my-private-workdir&&sudo ./flash-it-all.sh

it downloads and executes a script that will ask you what to flash, will get needed fiasco images, will check all(?) the known roadblocks - except empty battery - and get you started with flashing in no time. Nevertheless read and understand how flashing works, here above! Consider doing a Backup-Menu full system backup before flashing!

The script comes with guidance, so simply do the C&P and follow the instructions. Before the script starts, sudo will possibly ask for your (root?) password.

When for some reason you need to restart the process, the command is sudo ./flash-it-all.sh


Don't forget to install new working catalogs for the defunct Nokia repos after flashing: click recommended.install in http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/ on device in microB browser

Then proceed to http://wiki.maemo.org/Community_SSU to get the latest important patches and updates

And again: everywhere Read The Full Manual