Skip to content

Instantly share code, notes, and snippets.

@Danrancan
Forked from glennzw/flasher_n900.sh
Last active January 6, 2023 08:05
Show Gist options
  • Select an option

  • Save Danrancan/08b9c33f6e1bf9a37ca129777eb68d63 to your computer and use it in GitHub Desktop.

Select an option

Save Danrancan/08b9c33f6e1bf9a37ca129777eb68d63 to your computer and use it in GitHub Desktop.

Revisions

  1. Danrancan revised this gist Dec 12, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion flasher_n900.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,9 @@
    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://www.fladnag.net/downloads/telephone/n900/tools/" ;exit 1; }
    type flasher-3.5 >/dev/null 2>&1 || { echo >&2 "I require flasher but it's not installed. Install from http://www.fladnag.net/downloads/telephone/n900/tools/
    Once you have done that, you must enable i386 package in your debian based distro by entering the following command in a seperate termianl window ....
    sudo dpkg --add-architecture i386" ;exit 1; }

    if [ ! -f RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin ]; then
    echo "[+] Downloading the global release version of RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin..."
  2. Danrancan revised this gist Dec 12, 2020. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions flasher_n900.sh
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,20 @@
    #!/bin/bash
    #[email protected]
    # This script will flash your N900. It assumes you want to use the Maemo 5 Global release.
    # 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; }
    type flasher-3.5 >/dev/null 2>&1 || { echo >&2 "I require flasher but it's not installed. Install from http://www.fladnag.net/downloads/telephone/n900/tools/" ;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
    echo "[+] Downloading the global release version of RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin..."
    wget http://web.archive.org/web/20131117073524/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
    wget http://web.archive.org/web/20131117073524/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."
    @@ -24,7 +24,7 @@ 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
    flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
    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
  3. @glennzw glennzw created this gist Apr 13, 2014.
    32 changes: 32 additions & 0 deletions flasher_n900.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    #!/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."