maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   please help with flashing (https://talk.maemo.org/showthread.php?t=61593)

thesnake505 2010-09-02 11:17

please help with flashing
 
sorry guys i know this comes up loads but im having problems flashing my n900, having had the device since january this is the first time, im using ubuntu on my laptop to flash

i have downloaded:-

maemo _flasher-3.5_2.5.2.2_i386.deb

and

RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin

i only want to flash the rootfs so first off is the the correct stuff??

then i ran the command

Code:

sudo dpkg -i --force-architecture maemo _flasher-3.5_2.5.2.2_i386.deb
then

Code:

sudo flasher-3.5 -f RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin -f -r
to which i get the error
Code:

sudo: unable to execute /usr/bin/flasher-3.5: No such file or director
please advice

thanks thesnake505

thesnake505 2010-09-02 12:54

Re: please help with flashing
 
can any one help?
please

x-rated 2010-09-02 13:15

Re: please help with flashing
 
Did you check if flasher been installed under /usr/bin/ ? Probably more like /usr/local/bin/ so you could try sudo /usr/local/bin/flasher-3.5... If not, try "find / -name flasher-3.5" to find it.

thesnake505 2010-09-02 13:24

Re: please help with flashing
 
Quote:

Did you check if flasher been installed under /usr/bin/ ? Probably more like /usr/local/bin/ so you could try sudo /usr/local/bin/flasher-3.5... If not, try "find / -name flasher-3.5" to find it.
hi thanks for the reply, i have checked that flasher-3.5 is in usr/bin/ foilder and it is,
i have also tried cd to usr/bin/

and this doenst make a difference!
im going to uninstall flasher and reinstall

i tried

sudo apt-get remove flasher-3.5 and got error

E: Couldn't find package flasher-3.5


so possibly a problem with the installation of flasher?

archebyte 2010-09-02 13:40

Re: please help with flashing
 
Quote:

Originally Posted by thesnake505 (Post 805102)
then i ran the command

Code:

sudo dpkg -i --force-architecture maemo _flasher-3.5_2.5.2.2_i386.deb

The --force-architecture option is not needed. And from the above command, it looks it the package didn't get installed because of the space between maemo and _flasher. A re-install should work.

Code:

sudo dpkg -i maemo_flasher-3.5_2.5.2.2_i386.deb

thesnake505 2010-09-02 13:56

Re: please help with flashing
 
Quote:

Originally Posted by archebyte (Post 805239)
The --force-architecture option is not needed. And from the above command, it looks it the package didn't get installed because of the space between maemo and _flasher. A re-install should work.

Code:

sudo dpkg -i maemo_flasher-3.5_2.5.2.2_i386.deb

hi, thanks for the reply,

i have copid you comand and i get this error

dpkg: error processing maemo_flasher-3.5_2.5.2.2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
maemo_flasher-3.5_2.5.2.2_i386.deb


this is probably some really simple thing i have done wrong, but i just dont know what lol
is maemo _flasher-3.5_2.5.2.2_i386.deb the correct on for using ubuntu?? cheers

nicolai 2010-09-02 14:02

Re: please help with flashing
 
Instead of downloading the .deb file you can try to use the
tar.gz one. Download the file und unpack it. So, you don't need
use dpkg :-)

nicolai

thesnake505 2010-09-02 14:15

Re: please help with flashing
 
hay, i downloaded the tar.gz version , unpacked it to

home/martyn/

and ran the command

Code:

sudo ./flasher-3.5 -f RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin -f
and get this error

sudo: unable to execute ./flasher-3.5: No such file or directory
martyn@ubuntu:~/maemo_flasher-3.5_2.5.2.2$

thanks

nicolai 2010-09-02 14:26

Re: please help with flashing
 
Can you post the output of this command
ls -l flasher-3.5

thesnake505 2010-09-02 14:49

Re: please help with flashing
 
Quote:

Originally Posted by nicolai (Post 805282)
Can you post the output of this command
ls -l flasher-3.5

Code:

-rwxr-xr-x 1 martyn martyn 79636 2009-10-21 14:13 flasher-3.5
is this correct?

nicolai 2010-09-02 14:56

Re: please help with flashing
 
yes, looks good. I have no idea, it should work.
What system and distributiondo you use? (32 or 64bit)

thesnake505 2010-09-02 15:03

Re: please help with flashing
 
Quote:

Originally Posted by nicolai (Post 805321)
yes, looks good. I have no idea, it should work.
What system and distributiondo you use? (32 or 64bit)

not sure about your question

im using Ubuntu 10.04 LTS

and the flasher i used this one
" Maemo Flasher-3.5 Tool for Fremantle and Diablo, installation package for other than Debian based Linuxes (x86, 32-bit) "

archebyte 2010-09-02 16:06

Re: please help with flashing
 
Here are the steps I followed on Ubuntu 10.04 LTS.
1. download
2. go to download folder
3. unzip and extract
4. execute

Code:

archebyte@:~ $ cd ~/downloads/
archebyte@:~/downloads$ gunzip  maemo_flasher-3.5_2.5.2.2.tar.gz
archebyte@:~/downloads$ tar -xvf maemo_flasher-3.5_2.5.2.2.tar
maemo_flasher-3.5_2.5.2.2/
maemo_flasher-3.5_2.5.2.2/doc/
maemo_flasher-3.5_2.5.2.2/doc/changelog
maemo_flasher-3.5_2.5.2.2/doc/README.Debian
maemo_flasher-3.5_2.5.2.2/doc/copyright
maemo_flasher-3.5_2.5.2.2/man/
maemo_flasher-3.5_2.5.2.2/man/man1/
maemo_flasher-3.5_2.5.2.2/man/man1/flasher-3.5.1
maemo_flasher-3.5_2.5.2.2/flasher-3.5

archebyte@:~/downloads$ cd maemo_flasher-3.5_2.5.2.2/

archebyte@:~/downloads/maemo_flasher-3.5_2.5.2.2$ ls -l
total 88
drwxr-xr-x 2 archebyte mustali  4096 2009-10-21 09:18 doc
-rwxr-xr-x 1 archebyte mustali 79636 2009-10-21 09:13 flasher-3.5
drwxr-xr-x 3 archebyte mustali  4096 2009-10-21 09:13 man

archebyte@:~/downloads/maemo_flasher-3.5_2.5.2.2$ ./flasher-3.5 RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin 
flasher v2.5.2 (Oct 21 2009)

Suitable USB device not found, waiting.
^C


thesnake505 2010-09-02 19:50

Re: please help with flashing
 
Quote:

Originally Posted by archebyte (Post 805384)
Here are the steps I followed on Ubuntu 10.04 LTS.
1. download
2. go to download folder
3. unzip and extract
4. execute

Code:

archebyte@:~ $ cd ~/downloads/
archebyte@:~/downloads$ gunzip  maemo_flasher-3.5_2.5.2.2.tar.gz
archebyte@:~/downloads$ tar -xvf maemo_flasher-3.5_2.5.2.2.tar
maemo_flasher-3.5_2.5.2.2/
maemo_flasher-3.5_2.5.2.2/doc/
maemo_flasher-3.5_2.5.2.2/doc/changelog
maemo_flasher-3.5_2.5.2.2/doc/README.Debian
maemo_flasher-3.5_2.5.2.2/doc/copyright
maemo_flasher-3.5_2.5.2.2/man/
maemo_flasher-3.5_2.5.2.2/man/man1/
maemo_flasher-3.5_2.5.2.2/man/man1/flasher-3.5.1
maemo_flasher-3.5_2.5.2.2/flasher-3.5

archebyte@:~/downloads$ cd maemo_flasher-3.5_2.5.2.2/

archebyte@:~/downloads/maemo_flasher-3.5_2.5.2.2$ ls -l
total 88
drwxr-xr-x 2 archebyte mustali  4096 2009-10-21 09:18 doc
-rwxr-xr-x 1 archebyte mustali 79636 2009-10-21 09:13 flasher-3.5
drwxr-xr-x 3 archebyte mustali  4096 2009-10-21 09:13 man

archebyte@:~/downloads/maemo_flasher-3.5_2.5.2.2$ ./flasher-3.5 RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin 
flasher v2.5.2 (Oct 21 2009)

Suitable USB device not found, waiting.
^C



hi thanks for that howeer im still having problems, heres my version of what you did

Code:

martyn@ubuntu:~$ cd ~/Downloads/
martyn@ubuntu:~/Downloads$ gunzip  maemo_flasher-3.5_2.5.2.2.tar.gz
martyn@ubuntu:~/Downloads$ tar -xvf maemo_flasher-3.5_2.5.2.2.tar
maemo_flasher-3.5_2.5.2.2/
maemo_flasher-3.5_2.5.2.2/doc/
maemo_flasher-3.5_2.5.2.2/doc/changelog
maemo_flasher-3.5_2.5.2.2/doc/README.Debian
maemo_flasher-3.5_2.5.2.2/doc/copyright
maemo_flasher-3.5_2.5.2.2/man/
maemo_flasher-3.5_2.5.2.2/man/man1/
maemo_flasher-3.5_2.5.2.2/man/man1/flasher-3.5.1
maemo_flasher-3.5_2.5.2.2/flasher-3.5
martyn@ubuntu:~/Downloads$ cd maemo_flasher-3.5_2.5.2.2/
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$ ls -l
total 88
drwxr-xr-x 2 martyn martyn  4096 2009-10-21 14:18 doc
-rwxr-xr-x 1 martyn martyn 79636 2009-10-21 14:13 flasher-3.5
drwxr-xr-x 3 martyn martyn  4096 2009-10-21 14:13 man
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$ ./flasher-3.5 RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin
bash: ./flasher-3.5: No such file or directory
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$


archebyte 2010-09-02 19:59

Re: please help with flashing
 
strange. Does pressing the TAB key after typing
Code:

./f
complete it to
Code:

./flasher-3.5
?

thesnake505 2010-09-02 20:02

Re: please help with flashing
 
Quote:

Originally Posted by archebyte (Post 805616)
strange. Does pressing the TAB key after typing
Code:

./f
complete it to
Code:

./flasher-3.5
?

that was quick and yup it does ?

thesnake505 2010-09-02 20:03

Re: please help with flashing
 
Quote:

Originally Posted by thesnake505 (Post 805617)
that was quick and yup it does ?

something different is happaning now
Code:

martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$ ./flasher-3.5 RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin
flasher v2.5.2 (Oct 21 2009)

Unknown arguments specified!
Usage: flasher [OPTIONS]
Options:
  -F, --fiasco=ARG            Location of a FIASCO image
  -k, --kernel=ARG            Location of kernel image
  -n, --initfs=ARG            Location of initfs image
  -r, --rootfs=ARG            Location of root JFFS2 image
      --cmt-2nd=ARG          Location of CMT FIASCO 2nd image
      --cmt-algo=ARG          Location of CMT FIASCO algorithm image
      --cmt-mcusw=ARG        Location of CMT FIASCO MCUSW image
      --cmt-no-verify        Disable verification of CMT programming
  -x, --xloader=ARG          Location of X-Loader image
  -s, --secondary=ARG        Location of NOLO secondary bootloader image
  -2, --2nd=ARG              Location of NOLO cold flasher ("2nd") image
  -u, --unpack[=ARG]          Unpack a FIASCO image
  -f, --flash                Load and flash all supplied images
  -l, --load                  Only load all supplied images
  -b, --boot[=ARG]            Boot the kernel with optional cmdline
  -R, --reboot                Reboot the board (e.g. after flashing NOLO)
  -i, --read-device-id        Print out the device type
  -S, --serial-port=ARG      Serial port used for cold flashing or "usb"
  -I, --init-port            Only initialize the serial port
  -c, --cold-flash            "Cold flash" the device
  -h, --hw-revision=ARG      Specify product code and HW revision
      --enable-rd-mode        Enable R&D mode on the device
      --disable-rd-mode      Disable R&D mode on the device
      --set-rd-flags[=ARG]    Set R&D mode flags on the device
      --clear-rd-flags[=ARG]  Clear R&D mode flags on the device
      --query-rd-mode        Query the device R&D mode status and flags
      --set-hw-revision[=ARG] Set HW revision override on device
      --flash-only=ARG        Flash only certain components
  -U, --usb-device=ARG        Specify USB device to use (bus:device address)
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$


archebyte 2010-09-02 20:12

Re: please help with flashing
 
great! you're almost there :)

the correct command is
Code:

./flasher-3.5 -F RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin -f -R
good luck!

thesnake505 2010-09-02 20:26

Re: please help with flashing
 
Code:

martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$ ./flasher-3.5 -F RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin -f -R
flasher v2.5.2 (Oct 21 2009)

RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin: No such file or directory
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$

still a no go man, i get that error,
iv check the name and its perfect,

were should i put the RX-51_2009SE_10.2010.19-1.203.1_PR_COMBINED_203_ARM.bin file, its still in my downloads folder but i get the same error when i move it to the folder with the flasher??

by the way thank you for the time your putting in to this, id be lost with out you!

archebyte 2010-09-02 20:37

Re: please help with flashing
 
use the same TAB key trick to auto-complete the firmware filename after entering RX-51. If it doesn't work, the file isn't there. Do an 'ls' and make sure the file is in the folder.

Quote:

by the way thank you for the time your putting in to this, id be lost with out you!
don't mention it! clicking that 'Thanks!' button is enough :)

thesnake505 2010-09-02 20:52

Re: please help with flashing
 
ok now i have a new problem, have all this sorted, it says
Suitable USB device not found, waiting

so then i press and hold u and plud usb cable in and i get


USB device found found at bus 001, device address 008.
Error claiming USB interface: Operation not permitted
martyn@ubuntu:~/Downloads/maemo_flasher-3.5_2.5.2.2$


:-(

nicolai 2010-09-02 20:56

Re: please help with flashing
 
You still have to use sudo for flashing.

thesnake505 2010-09-02 21:02

Re: please help with flashing
 
doh :D

brilliant, is flashing as im typing this, you are both brilliant, and if i ever meet you i will buy you a beer or two, thank you both for your help


All times are GMT. The time now is 17:22.

vBulletin® Version 3.8.8