ReferencePlatforms/Imaging/Nokia N900: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 1: Line 1:
=Imaging=
=Imaging=
To start the imaging process, turn the phone off and remove the battery


From the N900 Imaging machine, run
From the N900 Imaging machine, run
Line 8: Line 6:
and follow the on screen directions
and follow the on screen directions


==Sample Output==
<pre>
$ sudo ./flash.py
Password:
Plug in n900 in firmware update mode
================================================================================
  1) remove battery
  2) plug in MicroUSB cable
  3) press and hold "u" on N900 keyboard
  4) insert battery
Waiting to remove N900s in the wrong mode.... Done!
Waiting for an N900 in the right mode............................. Done!
Flashing: "RX-51_2009SE_10.2010.19-1.002_PR_COMBINED_002_ARM.bin"
==================================0----------------
Flashing: "moz-n900-v1.6.ubi"
=========0-----------------------------------------
Flashing: "RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin"
========================================0----------
Done! Unplug device
................ Done!
Unplug device, reseat the battery, wait for the screen to go dark then
press the power button.  When the device has turned on, press the 'save' button
on the first run wizard
launch the terminal and run 'sudo initialize <num>' where <num> is the number
from the hostname.  Example: n900-001 would use 001
</pre>
==Machine Setup==
==Machine Setup==
'''THIS SECTION IS FOR SETTING UP A NEW IMAGING MACHINE'''
'''THIS SECTION IS FOR SETTING UP A NEW IMAGING MACHINE'''

Revision as of 17:55, 24 September 2010

Imaging

From the N900 Imaging machine, run

cd ~/n900-imaging
sudo ./flash.py

and follow the on screen directions

Sample Output

$ sudo ./flash.py 
Password:
Plug in n900 in firmware update mode
================================================================================
  1) remove battery
  2) plug in MicroUSB cable
  3) press and hold "u" on N900 keyboard
  4) insert battery
Waiting to remove N900s in the wrong mode.... Done!
Waiting for an N900 in the right mode............................. Done!
Flashing: "RX-51_2009SE_10.2010.19-1.002_PR_COMBINED_002_ARM.bin"
==================================0----------------
Flashing: "moz-n900-v1.6.ubi"
=========0-----------------------------------------
Flashing: "RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin"
========================================0----------
Done! Unplug device
................ Done!
Unplug device, reseat the battery, wait for the screen to go dark then
press the power button.  When the device has turned on, press the 'save' button
on the first run wizard
launch the terminal and run 'sudo initialize <num>' where <num> is the number
from the hostname.  Example: n900-001 would use 001

Machine Setup

THIS SECTION IS FOR SETTING UP A NEW IMAGING MACHINE The rest of the document is not applicable for flashing.

To make this go quicker, you can set up your MacBook (or any mac) to be a flashing computer.

Start by setting up the required Mozilla written tools

cd ~ #or wherever you want to work from
hg clone http://hg.mozilla.org/build/tools
ln -s tools/buildfarm/mobile/n900-imaging

At this point you need to obtain the following files:

  • moz-n900-vNN.ubi - mozilla custom firmware
  • RX-51_2009SE_1.2009.41-1.VANILLA_PR_EMMC_MR0_ARM.bin
  • RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin

The easiest way is to run

scp maemo@mobile-image02.build.mozilla.org:n900-imaging/moz-n900-*.ubi .
scp maemo@mobile-image02.build.mozilla.org:n900-imaging/RX-51*.bin .

Finally, you need the Mac OS X version of the flasher-3.5 program. Download 'maemo_flasher-3.5_2.5.2.2_i386.dmg' from here(live link doesn't work). Next you will need to obtain.