Reply
Thread Tools
Posts: 36 | Thanked: 24 times | Joined on Oct 2014
#21
Okay i'm running Ubuntu on 64-bit...

So i'd go "sudo dpkg -i --force-architecture /home/ubuntu/Downloads/flasher_3.12.1_i386.deb"

And then

--load -k /home/ubuntu/Downloads/vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n /home/ubuntu/Downloads\initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot ?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#22
Most probably it will work OK.
I haven't actually ever installed a 32bit package on a 64bit machine, but if you can install it, the binary itself should run OK.

Last edited by juiceme; 2014-10-09 at 18:34. Reason: corrected typos
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 36 | Thanked: 24 times | Joined on Oct 2014
#23
Okay i managed to get flasher_3.12.1_amd64.deb for 64bit but am still having issues...

ubuntu@ubuntu:~$ sudo dpkg --install /home/ubuntu/Downloads/flasher_3.12.1_amd64.deb
(Reading database ... 169560 files and directories currently installed.)
Preparing to unpack .../flasher_3.12.1_amd64.deb ...
Unpacking flasher (3.12.1) over (3.12.1) ...
Setting up flasher (3.12.1) ...
ubuntu@ubuntu:~$ --load -k /home/ubuntu/Downloads/vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n /home/ubuntu/Downloads\initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot
--load: command not found
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#24
Originally Posted by wre View Post
Okay i managed to get flasher_3.12.1_amd64.deb for 64bit but am still having issues...

ubuntu@ubuntu:~$ sudo dpkg --install /home/ubuntu/Downloads/flasher_3.12.1_amd64.deb
(Reading database ... 169560 files and directories currently installed.)
Preparing to unpack .../flasher_3.12.1_amd64.deb ...
Unpacking flasher (3.12.1) over (3.12.1) ...
Setting up flasher (3.12.1) ...
ubuntu@ubuntu:~$ --load -k /home/ubuntu/Downloads/vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n /home/ubuntu/Downloads\initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot
--load: command not found
The command is "sudo flasher --load ... ... "
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
Posts: 646 | Thanked: 1,124 times | Joined on Jul 2010 @ Espoo, Finland
#25
Originally Posted by juiceme View Post
Most probably it will work OK.
I haven't actually ever installed a 32bit package on a 64bit machine, but if you can install it, the binary itself should run OK.
BTW, I just tried to install the 32bit package on my 64bit Linux Mint 17 (but note that recent Ubuntus have multiarch support) and I was at least able to get the flasher help page without coredumps
 

The Following 3 Users Say Thank You to minimos For This Useful Post:
Posts: 36 | Thanked: 24 times | Joined on Oct 2014
#26
Hmmm now what :S

ubuntu@ubuntu:~$ sudo dpkg --install /home/ubuntu/Downloads/flasher_3.12.1_amd64.deb
(Reading database ... 169573 files and directories currently installed.)
Preparing to unpack .../flasher_3.12.1_amd64.deb ...
Unpacking flasher (3.12.1) over (3.12.1) ...
Setting up flasher (3.12.1) ...
ubuntu@ubuntu:~$ sudo flasher --load
flasher 3.12.1 (Oct 5 2011) Harmattan
WARNING: This tool is intended for professional use only. Using it may result
in permanently damaging your device or losing the warranty.

Suitable USB interface (bootloader/phonet) not found, waiting...
USB device found at bus 003, device address 004.
Device identifier: 357923040690689 (SN: N/A)
Found device RM-696, hardware revision 1603
NOLO version 2.3.6
Version of 'sw-release': DFL61_HARMATTAN_40.2012.21-3_PR_005
Success
ubuntu@ubuntu:~$ -k /home/ubuntu/Downloads/vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n /home/ubuntu/Downloads\initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 27, in <module>
from CommandNotFound.util import crash_guard
File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1444, in exec_module
File "<frozen importlib._bootstrap>", line 1548, in get_code
File "<frozen importlib._bootstrap>", line 1601, in get_data
OSError: [Errno 5] Input/output error
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#27
Code:
sudo flasher --load -k vmlinuz-2.6.32.20112201-11.2-adaptation-n950-bootloader -n initrd.img-rescue-2.6.32.20112201-11.2-n950 --boot
is single command
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 4 Users Say Thank You to coderus For This Useful Post:
Posts: 36 | Thanked: 24 times | Joined on Oct 2014
#28
Why won't it let me instal the flasher? ubuntu@ubuntu:~$ sudo dpkg --install /home/ubuntu/Downloads/flasher_3.12.1_amd64.deb
dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
ubuntu@ubuntu:~$
 
Posts: 646 | Thanked: 1,124 times | Joined on Jul 2010 @ Espoo, Finland
#29
How do you run Ubuntu, from an USB stick?
Google for that exact error, you find similar posts like this one:
http://ubuntuforums.org/showthread.php?t=1644026
(which seems to hint towards a cr@ppy memory stick)
 
Posts: 36 | Thanked: 24 times | Joined on Oct 2014
#30
Just booted it from the USB? I think it might be because /flasher_3.12.1_amd64.deb is still running in the terminal when i try and use /home/ubuntu/Downloads/flasher_3.12.1_amd64.deb how do i end the package running in the terminal?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:36.