Skip to content

Instantly share code, notes, and snippets.

@glennzw
Created April 13, 2014 11:33
Show Gist options
  • Save glennzw/10580184 to your computer and use it in GitHub Desktop.
Save glennzw/10580184 to your computer and use it in GitHub Desktop.
Flash N900
#!/bin/bash
#[email protected]
# This script will flash your N900. It assumes you want to use the Maemo 5 Global release.
# Based on trying to understand http://wiki.maemo.org/Updating_the_tablet_firmware#N900
set -e
echo "[[ Glenn's Maemo Flasher: [email protected] / @glennzw for comments ]]"
type flasher-3.5 >/dev/null 2>&1 || { echo >&2 "I require flasher but it's not installed. Install from http://skeiron.org/tablets-dev/maemo_dev_env_downloads/" ;exit 1; }
if [ ! -f RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin ]; then
echo "[+] Downloading RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin..."
wget http://skeiron.org/tablets-dev/nokia_N900/RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin
fi
if [ ! -f RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin ]; then
echo "[+] Downloading RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin..."
wget http://skeiron.org/tablets-dev/nokia_N900/RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin
fi
echo "[-] Let's Flash your phone. Make sure phone is unplugged and off."
echo "[+] Press a key to continue, wait 10 seconds, and then plug phone in whilst holding the 'u' key."
read foo
flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f -R
echo "[+] Remove and replace phone battery"
echo "[+] Press a key to continue, wait 10 seconds, and then plug phone in, whilst holding the 'u' key."
read foo
flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R
echo "[+] Remove and replace phone battery"
echo "[+] Press a key to continue, wait 10 seconds, and then plug phone in, whilst holding the 'u' key."
read foo
flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f -R
echo "[+] Done. Boot phone normally."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment