maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Reflashing with Linux questions, font size question (https://talk.maemo.org/showthread.php?t=21451)

J-Morris 2008-06-30 17:02

Reflashing with Linux questions, font size question
 
Hello. I just got a n810, and so far so good. The only problem I've had so far is that one of the tiny screws on the metal stand fell out. No problem as I think I can fix with with an eyeglass repair kit. I am only a little experienced with linux, but I am learning. I have a few learning questions:


1. I'd really like to update my firmware. I'm running version 1.2007.42-19. Could someone direct me to or write a How-to about reflashing on linux? I read the maemo.org how-to but it wasn't helpful to me and a novice. I have the "flasher-3.0.amd64" file, as well as the latest os image, but I don't know where I should put the flasher to make it executable via terminal. I am used to using repositories and package managers. I am running kubuntu 7.10.

2. I prefer to use my fingers, and the font size for the browser and interface is smaller than I prefer. I know I can zoom in, but I would rather take the browser font up a few notches, and well and tinkering with the gui in general. I know that there is a theme modification program, but has anyone used it, and how well does it work.


Thanks a lot.

josiahg777 2008-06-30 17:13

Re: Reflashing with Linux questions, font size question
 
Hey, for the flasher, just open a terminal window on your computer and type:

Code:

cd <directory where the flasher program is stored>
chmod +x flasher-3.0.amd64 (This step may not be necessary but it can't hurt)

Then turn off your N810 and connect it to your computer using USB, but don't turn it on.

type:
Code:

./flasher-3.0.amd64 -F <filename of OS image .bin> -f -R
when your terminal displays "Waiting for suitable USB device" or something similar,
turn on your N810 while holding down the "home key" (the one that opens the task switcher)

The rest of the flashing process should be automated :)

For the browser font size, a quick search on this forum for "browser font size" found this:
http://www.internettablettalk.com/fo...ad.php?t=18333

And the theme modification program is very easy to use, just be sure you know how to use photoshop or GIMP with some degree of proficiency :)

Hope this helps!

ace 2008-06-30 17:21

Re: Reflashing with Linux questions, font size question
 
"chmod 755 file" in a terminal will give that file execute permission. Then execute "./file" from that directory to run it.

You can increase the minimum font size in the browser (search the forums, they're preferences like font.minimum-size.x-western"), but it can break the layout on crappy pages. You can also try "Fit to width" and zooming in the browser, but in my experience it works poorly a lot of the time.

J-Morris 2008-08-25 22:53

Re: Reflashing with Linux questions, font size question
 
Well, I've been using my tablet for a while without reflashing it, which is an indication that Nokia did a good job with the OS, but now that I'm trying to reflash it, I'm finding that this procedure did not work for me. I am using Ubuntu, and perhaps that is my problem. Here my terminal process, I tried both recommendations:

Code:

j@ubuntu:~$ cd /home/j/
j@ubuntu:~$ chmod +x flasher-3.0.amd64
j@ubuntu:~$ ./flasher-3.0.amd64 -F /home/j/Linux Distros/RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
bash: ./flasher-3.0.amd64: cannot execute binary file
j@ubuntu:~$ chmod 755 /home/j/flasher-3.0.amd64
j@ubuntu:~$ ./flasher-3.0.amd64 -F /home/j/Linux Distros/RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
bash: ./flasher-3.0.amd64: cannot execute binary file
j@ubuntu:~$
j@ubuntu:~$

What did I do wrong?

fatalsaint 2008-08-25 22:54

Re: Reflashing with Linux questions, font size question
 
Do you have an amd64 machine or a x86 machine?

J-Morris 2008-08-25 23:02

Re: Reflashing with Linux questions, font size question
 
I have a dual processor amd64, HP pavilion laptop. Should I try the x86 version?

fatalsaint 2008-08-25 23:05

Re: Reflashing with Linux questions, font size question
 
Nah.. I just see that same error when trying to execute ARMEL binaries on my x86 machines.. figured maybe the Architecture was wrong.

Dual amd64's should use that binary.. Maybe it's corrupt?

ace 2008-08-25 23:38

Re: Reflashing with Linux questions, font size question
 
Quote:

Originally Posted by J-Morris (Post 217420)
I have a dual processor amd64, HP pavilion laptop. Should I try the x86 version?

Are you running 32bit (x86) Ubuntu on your 64bit hardware? Try running "uname -a" in a terminal. My 64bit Linux PC has "x86_64" in the output.

J-Morris 2008-08-25 23:43

Re: Reflashing with Linux questions, font size question
 
OK, I did it! Turns out the amd64 flasher didn't work on my machine. ace and fatal saint were right about running 32bit linux, which means I have to update the firmware on something other than my n810. This confirms my suspicion that my friend did a big hack-job installing my ubuntu :rolleyes:, which explains a few things, it also means that it is time to learn to do it myself. This, of course, is a tangent for another forum.

Anyhow, for anyone else doing this, this is what it looked like when I did it right, note that I had to sudo to access the USB:

Code:

j@ubuntu:~/distros$ sudo ./flasher-3.0 -F /home/j/distros/RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
Also, if the directory that the files are in is two words like "Linux Distros" it won't work. I renamed the wordy folder name to "distros" and it worked. So, awesome. I learned a few things today. I am so cool.

ace 2008-08-26 00:03

Re: Reflashing with Linux questions, font size question
 
Quote:

Originally Posted by J-Morris (Post 217429)
This confirms my suspicion that my friend did a big hack-job installing my ubuntu :rolleyes:, which explains a few things, it also means that it is time to learn to do it myself. This, of course, is a tangent for another forum.

There are legitimate reasons to install 32bit OS on 64bit hardware. Fewer on Linux than Windows, though.

Quote:

Originally Posted by J-Morris (Post 217429)
Also, if the directory that the files are in is two words like "Linux Distros" it won't work. I renamed the wordy folder name to "distros" and it worked. So, awesome. I learned a few things today. I am so cool.

The shell (the program that accepts input in a terminal) uses spaces to separate arguments to programs. So, if you want to use spaces IN an argument, they need to be escaped with a backslash ( Linux\ Distros ) or quoted ( 'Linux Distros' or "Linux Distros" ).

But autocomplete is the easiest way, type "Li" then hit tab. If no other file/directory starts with "Li", the shell will fill in "Linux Distros", properly escaped. If another file/directory starts with "Li", hit tab a second time to see a list of them. Then type a few more characters and try tab again.

eNons3nse 2008-09-16 22:14

Re: Reflashing with Linux questions, font size question
 
hey guys. found this thread and am using the instructions to try to reflash with ubuntu and am having a problem.

Code:

adam@adam-laptop:~/Downloads$ ./flasher-3.0 -F RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
./flasher-3.0: line 2: syntax error near unexpected token `newline'
./flasher-3.0: line 2: `<html>'
adam@adam-laptop:~/Downloads$

is this a problem with the flasher that i have?

GeneralAntilles 2008-09-16 22:20

Re: Reflashing with Linux questions, font size question
 
Quote:

Originally Posted by eNons3nse (Post 224441)
hey guys. found this thread and am using the instructions to try to reflash with ubuntu and am having a problem.

You downloaded the .bin as an HTML page. It should be about 127MB in size.

qwerty12 2008-09-16 23:02

Re: Reflashing with Linux questions, font size question
 
Quote:

Originally Posted by eNons3nse (Post 224441)
hey guys. found this thread and am using the instructions to try to reflash with ubuntu and am having a problem.

Code:

adam@adam-laptop:~/Downloads$ ./flasher-3.0 -F RX-44_DIABLO_4.2008.23-14_PR_COMBINED_MR0_ARM.bin -f -R
./flasher-3.0: line 2: syntax error near unexpected token `newline'
./flasher-3.0: line 2: `<html>'
adam@adam-laptop:~/Downloads$

is this a problem with the flasher that i have?

Sounds like your flasher program was not downloaded right. run "file ./flasher-3.0" and if it says it's an executable,then you are fine but if it says "HTML document text", redownload the flasher.

eNons3nse 2008-09-18 12:37

Re: Reflashing with Linux questions, font size question
 
*facepalm*

the flasher was HTML. should have realized from the icon.

upgrade went smoothly. i cant imagine the windows program being any easier than this.

thanks guys.


All times are GMT. The time now is 15:08.

vBulletin® Version 3.8.8