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.


All times are GMT. The time now is 06:28.

vBulletin® Version 3.8.8