maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Cannot flash the latest firmware, please help! (https://talk.maemo.org/showthread.php?t=54479)

filologen 2010-05-29 21:55

[SOLVED] Cannot flash the latest firmware, please help!
 
I am trying to flash the latest firmware on to my n900 using a GNU/linux laptop (64 bit) issuing the following command:

Code:

sudo /home/ask/Desktop/flasher/flasher-3.5 -F /home/ask/Desktop/flasher/RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -f -R
Even though the paths are correct (I used tab completion) I cannot succeed and get the following prompted back:

Code:

sudo: unable to execute /home/ask/Desktop/flasher/flasher-3.5: No such file or directory
I hope someone can provide a solution

(btw: I have also tried installing the flasher-3.5 deb package and the running "/usr/bin/flasher-3.5 ..." but the result is the same)

ToJa92 2010-05-29 22:01

Re: Cannot flash the latest firmware, please help!
 
I'd guess that the root user don't have access to /home/ask/ , I'd put it somewhere else temporarily.

dantonic 2010-05-29 22:08

Re: Cannot flash the latest firmware, please help!
 
when I tried on ubuntu 9.10 64 bit to install with the deb flasher, I got an error, something about the system not being i386 compatible... Figured it was due to the 64bit... I folded and just installed from my wife's laptop using windows xp 32bit.
:(

ossipena 2010-05-29 22:16

Re: Cannot flash the latest firmware, please help!
 
Quote:

Originally Posted by filologen (Post 688814)
Code:

sudo: unable to execute /home/ask/Desktop/flasher/flasher-3.5: No such file or directory
I hope someone can provide a solution

(btw: I have also tried installing the flasher-3.5 deb package and the running "/usr/bin/flasher-3.5 ..." but the result is the same)

it is there right before your eyes: sudo doesn't find the file/directory.

what about cding to the correct directory and
Code:

sudo ./flasher-3.5
?

CepiPerez 2010-05-29 22:17

Re: Cannot flash the latest firmware, please help!
 
has flasher permission?
did you try chmod +x /home/ask/Desktop/flasher/flasher-3.5 before run it?

filologen 2010-05-29 22:22

Re: Cannot flash the latest firmware, please help!
 
@ ToJa92

The roor user does seem to have access to the /home/ask folder (I can e.g. delete files in that directory while being root user), and the problem also persist if I use the flasher in /usr/bin.

I don't have access to a windows or 32 bit GNU/linux machine, and I also think that the flasher should work on GNU/linux machine.

@dantonic: The problem with the deb package you tried to install is that you have to force architecture, then it should actually work, but perhaps it doesn't.

Has anyone succeed in using flasher-3.5 in 64 bit GNU/linux?

Thanks

filologen 2010-05-29 22:25

Re: Cannot flash the latest firmware, please help!
 
Quote:

Originally Posted by CepiPerez (Post 688842)
has flasher permission?
did you try chmod +x /home/ask/Desktop/flasher/flasher-3.5 before run it?

Yep, tried that.

filologen 2010-05-29 22:27

Re: Cannot flash the latest firmware, please help!
 
Quote:

Originally Posted by ossipena (Post 688838)
it is there right before your eyes: sudo doesn't find the file/directory.

what about cding to the correct directory and
Code:

sudo ./flasher-3.5
?

I have tried both to be in the actual directory and giving the exact path to the file without any success:-(

Crashdamage 2010-05-29 22:35

Re: Cannot flash the latest firmware, please help!
 
This is odd...only other thing I can think of offhand is to check your $PATH and see if it's correct.

filologen 2010-05-29 22:42

Re: Cannot flash the latest firmware, please help!
 
This is indead strange!

Just to check, I copied another executable to the same directory and tried running it with sudo and everything worked as it should, so the problem must be related to the flasher-3.5 file.

It's getting late here, and my head might play games with me, but it would be interesting to hear if someone has used the latest version of flasher-3.5 on GNU/linux 64 bit.

filologen 2010-05-30 09:01

Re: Cannot flash the latest firmware, please help!
 
OK, it really seems related to the architecture. I booted into a 32 bit GNU/linux live session from a USB image and could then flash the device.

Jacxz 2010-10-02 17:54

Re: Cannot flash the latest firmware, please help!
 
Sorry for bumping something old, but I struggled with this and found a solution...

Thx to this blog.

so to get the .deb install to work under 64bit install ia32-libs:

Code:

sudo apt-get install ia32-libs
finally I can start having fun!

fizmhd 2011-01-01 08:13

Flashing N900 in 64 Bit linux
 
Quote:

Originally Posted by Jacxz (Post 831744)
Sorry for bumping something old, but I struggled with this and found a solution...

Thx to this blog.

so to get the .deb install to work under 64bit install ia32-libs:

Code:

sudo apt-get install ia32-libs
finally I can start having fun!

Flashing N900 in 64 Bit linux

To install flasher, do

Code:

sudo dpkg -i --force-architecture maemo_flasher-3.5_2.5.2.2_i386.deb
afterwards, install ia32-libs from multiverse:

Code:

sudo apt-get install ia32-libs
Before installing ia32-libs flasher kept telling me this:

Code:

ubuntu@ubuntu:~/Desktop$ flasher-3.5
bash: /usr/bin/flasher-3.5: No such file or directory

Now, to flash PR1.2 and the vanilla eMMC content, issue the following two commands:

Code:

sudo flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -f

sudo flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R

This will flash and reboot after flashing the eMMC contents.


Thankyou very much for the help

Source : http://www.van-porten.de/2010/06/fla...u-10-04-64bit/


All times are GMT. The time now is 21:49.

vBulletin® Version 3.8.8