User:Jebba

(RFEs: LUKS)
(Undo revision 43821 by 49.201.160.205 (Talk))
 
(332 intermediate revisions not shown)
Line 5: Line 5:
* Nick: jebba, jebbajeb, jebba900, etc...
* Nick: jebba, jebbajeb, jebba900, etc...
-
* [http://jebba.blagblagblag.org Long Neglected Blog...]
+
 
 +
I have stopped development on Meego/Maemo, so these pages are getting quickly dated. Ciao!
 +
 
* [http://maemo.org/profile/view/jebba/ Maemo profile]
* [http://maemo.org/profile/view/jebba/ Maemo profile]
-
Usually I dot my laptop with READMEs in various ~/devel/ subdirs, but in this case I decided to write up some notes here. These are mostly for my own reference, but perhaps they will be of use to you.
+
* [https://bugs.maemo.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailreporter1=1&emailqa_contact1=1&emailcc1=1&emaillongdesc1=1&emailtype1=exact&email1=moe%40blagblagblag.org&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Number&field0-0-0=noop&type0-0-0=noop&value0-0-0= "My" bugs]
 +
[[Image:Jebba-oldfone.jpg|left|thumb|alt=My old nokia|My old Nokia phone, replaced by N900. Makes a nice background :)]]
-
=Debrick=
+
* Usually I dot my laptop with READMEs in various ~/devel/ subdirs, but in this case I decided to write up some notes here. These are mostly for my own reference, but perhaps they will be of use to you.
-
==Too mucha programmaz==
+
* Feel free to take any of these pages and copy them over to the main wiki namespace (here or in any other wiki, for that matter).
-
I bricked my N900 by adding the extras-testing + extras-devel repos and then installing lots of applications. I hit 100% on / (root filesystem) and on reboot the system hung at the "dots" part, ala:
+
-
  * (*) * * *
+
=Package Building HOWTO=
-
I had filled up to 100% a number of times before and rebooting the phone had '''cleared''' up space (e.g. 100% full before reboot, 96% full after reboot). This is likely because 5% or so is reserved for root. Anyway, the most recent time it didn't come back alive...
+
The [[User:Jebba/Package Building HOWTO|Package Building HOWTO]] now has its own page. :)
-
==Flashing N900 with 0xFFFF==
+
=Kernel=
-
Many parts of the N900 are Free Software, but lamentably, many parts are still closed proprietary shit. Nokia's maemo_flasher program is an example of a closed application that Nokia makes for use with the N900. I understand why some parts of their suite are still closed (e.g. pre-ofono GSM stack), but why the flasher has to be closed I have no idea. Gar.
+
The new [[User:Jebba/Kernel|kernel page]]
-
Thankfully, there is [http://www.nopcode.org/0xFFFF/ The 0pen Free Fiasco Firmware Flasher], which is designed for flashing Nokia tablets and is [http://www.gnu.org/philosophy/free-sw.html Free Software] (GPLv3). Unfortunately, 0xFFFF doesn't work with the N900. There is [http://www.mail-archive.com/0xffff@lists.nopcode.org/msg00072.html some progress to support the device]. You can grab the most recent code from the mercurial repository thusly:
+
=Freemoe git=
-
hg clone http://hg.youterm.com/0xFFFF
+
* [http://gitorious.org/freemoe freemoe git repo at gitorious.org]
-
I sent the author of 0xFFFF the output of my crash. Hopefully it will soon be a usable tool for flashing the N900. I built RPMs for Fedora 12 x86_64 running the latest mercurial code--the ones in the Fedora repo aren't even the lastest tarball release (0.3.9 vs. 0.4.0).
+
git clone git://gitorious.org/freemoe/freemoe.git
-
==Flashing with Nokia's Proprietary maemo_flasher==
+
=SDK=
-
I [http://wiki.blagblagblag.org/Roadmap now] have ONE non-free program installed on my computer  :(  It's the only way I know how to debrick the phone.
+
-
See also: [[Updating_the_tablet_firmware | Updating tablet firmware]] on this wiki.
+
[[User:Jebba/SDK| The SDK page]].
-
* To get the most recent image from Nokia, go here: http://tablets-dev.nokia.com/nokia_N900.php
+
=Repositories=
-
* Enter product ID inside the phone (without "/"s)
+
-
* Grab RX-51_2009SE_1.2009.42-11_PR_COMBINED_MR0_ARM.bin or whatever is current.
+
-
* To get the proprietary stinking pile of poo, go here: http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
+
-
* Grab maemo_flasher-3.5_2.5.2.2.tar.gz or most recent.
+
-
* In Fedora 12 x86_64 I had to install some i686 libraries since my system is 64-bit. So:
+
-
yum -y install glibc.i686 libusb.i686
+
-
* Untar the files....
+
-
* Power off phone and unplug USB.
+
-
* Hold down "u" on N900 keyboard and plug in USB cable between computer and N900. A USB icon will appear in the upper right corner--you can let go of "u" on the keyboard at this point.
+
-
* Run this as root:
+
-
./flasher-3.5 -F ~/devel/maemo/FLASH/RX-51_2009SE_1.2009.42-11_PR_COMBINED_MR0_ARM.bin -f -R
+
-
* Done.
+
-
=Setup=
+
* [[User:Jebba/Repositories|Info about repositories]]
-
Now that the device is debricked, I can use the thing again and "all" my data is there, but the repository setup is back to default and the applications I want are gone, amongst other things. To re-setup:
+
 +
* [[User:Jebba/Etch]] - The Debian Etch rebuild.
-
==ssh server & keys==
+
=Flashing=
-
* Enable [[Extras]] [http://repository.maemo.org/ repository]: tap, tap, tap...
+
-
* Install openssh client/server package
+
-
* Install rootsh package
+
-
* Set up keys and such for easy access (my device hostname is burger):
+
-
* On laptop, ssh into the sucker:
+
-
ssh root@burger
+
-
* As root on N900, ssh to localhost as a quick/dirty way to setup /root/.ssh:
+
-
ssh localhost
+
-
* On laptop, copy over ssh key and log back in:
+
-
scp -p ~/.ssh/id_rsa.pub root@burger:.ssh/authorized_keys
+
-
ssh root@burger
+
-
*To allow ssh access for user "user", the passwd file needs to be edited.
+
-
vi /etc/passwd
+
-
* Change
+
-
user:!:
+
-
to
+
-
user:*:
+
-
* Set a password for user "user" (I couldn't ssh in without doing this, but someone on IRC said it wasn't necessary):
+
-
passwd user
+
-
* Switch user to "user" and blow out the old known_hosts (or at least edit it) to remove the now bogus "localhost" entry:
+
-
su - user
+
-
rm .ssh/known_hosts
+
-
* Quick/dirty way to set up /home/user/.ssh:
+
-
ssh localhost
+
-
* Then GTFO:
+
-
exit
+
-
exit
+
-
* This should work happily
+
-
ssh user@burger
+
-
==Packages==
+
Separate [[User:Jebba/Flash| page about flashing]], for your perusal.
-
===Set up Repositories===
+
-
* Configure the repositories to set up things I like:
+
-
# vi /etc/apt/sources.list.d/hildon-application-manager.list
+
-
+
-
deb https://downloads.maemo.nokia.com/fremantle/apps/ ./
+
-
deb https://downloads.maemo.nokia.com/fremantle/mr0 ./
+
-
deb http://repository.maemo.org/extras/ fremantle free non-free
+
-
deb http://repository.maemo.org/extras-testing/ fremantle free
+
-
deb http://repository.maemo.org fremantle/tools free
+
-
+
-
apt-get update
+
-
===Install Needed Packages===
+
Note, the [[User:Jebba/Flash|flash]] page has the info about "debricking" easily.
-
apt-get install x11vnc
+
-
apt-get clean && sync
+
-
==Configuration==
+
=Wifi Hotspot=
-
Here's some configuration settings that got lost on reflash. I'm not sure where they are stored, so they need to be re-setup via tap tap tap.
+
How to set up your N900 as a [[User:Jebba/NAT|wifi hotspot]] to share it's connection with other computers. :)
-
===Display===
+
=Mer=
-
* Settings-->Display-->Backlight time-out: 2 minutes
+
-
* Settings-->Display-->Lock screen automatically: uncheck
+
-
* Settings-->Display-->Display stays lit when charging: check
+
-
===Time Zone===
+
[[User:Jebba/Mer| Jebba Mer]]
-
* Settings-->Date and time-->Time Zone: Buenos Aires (this is unfortunately wrong due to incompetence of Argentine government)
+
-
* Settings-->Date and time-->Update automatically: leave unchecked for now. When timezone data gets fixed, check it.
+
-
===Connectivity===
+
=Fedora=
-
* Settings-->Connectivity-->Internet connections-->Search interval: 5 minutes
+
 
 +
[[User:Jebba/Fedora| Fedora 12 on Nokia N900]] (!!)
-
===General===
 
-
* Settings-->General-->Device lock-->Change lock code (default is 12345)
 
=VNC=
=VNC=
-
[http://en.wikipedia.org/wiki/Virtual_Network_Computing VNC] allows you to view the screen of the N900 on your laptop so you can do things more easily that having to use the tiny little thing if you are working on it all day.
 
-
* Set up the [[Extras-testing]] repository
+
Over at [[User:Jebba/VNC]].
-
* Install x11vnc (I ''think'' it's in -testing).
+
-
* Set up a password for VNC on on the N900:
+
-
x11vnc -storepasswd
+
-
* Run this script on your laptop (my hostname is burger and my laptop's IP is 10.0.0.3):
+
-
 
+
-
ssh -n user@burger \
+
-
        "x11vnc \
+
-
        -usepw \
+
-
        -display :0 \
+
-
        -desktop burger \
+
-
        -allow 10.0.0.3 \
+
-
        -nolookup \
+
-
        -q \
+
-
        -bg \
+
-
        -o /home/user/vnc-log \
+
-
        "
+
-
This works fine with tigervnc on Fedora 12. Running x11vnc with "-ssl" does not work--I think the problem there may be with tigervnc as x11vnc starts with it OK. I usually do VNC in an ssh tunnel--I don't know if this would create too much of a load on the N900 or not. Will test.
+
=Backups=
=Backups=
-
Thankfully, pre-bricking, I had made a backup. There are a billion different ways to do this, but one quick way is good old rsync. This script backs up everything except the cities directory, which is huge and is full of data I don't think I care about.
 
-
#!/bin/sh
+
See [[User:Jebba/Backups]]
-
+
-
rsync \
+
-
        -avv -ult --progress --stats \
+
-
        --rsh=ssh \
+
-
        --exclude /home/user/MyDocs/cities \
+
-
        root@burger:/ \
+
-
        /home/jebba/BACKUPS/burger/
+
-
=Encoding Video=
+
=Video=
-
I had some video which played way too slow on the N900, so I re-encoded with this pile of cruft (I grabbed this from somewhere on this wiki):
+
-
#!/bin/sh
+
More space for talking about [[User:Jebba/Video|video]] at the new page.
-
+
-
mencoder $1 -oac mp3lame -ovc lavc \
+
-
        -lavcopts vcodec=mpeg4:mbd=1:vbitrate=300 -vf scale=352:208 \
+
-
        -ffourcc DIVX -o $1-out.avi
+
-
Run thusly:
+
-
burger-encode ralf.mov
+
=Mirrors=
 +
I have shut down my mirrors.
-
And it will give you "ralf-out.mov.avi"...Uh, I will have the output file get a reasonable name, of course... Works for now. This does ''not'' work on the N900 at the moment because the mencoder in the mplayer package is compiled without mp3lame support. Bah.
+
A [[User:Jebba/Mirror| mini-HOWTO set up mirroring maemo repository content]]
 +
 
 +
=DBUS=
 +
 
 +
Now at [[User:Jebba/DBUS]].
=Gripes=
=Gripes=
-
* Not all Free Software....
+
 
-
* 256M of NAND is way too little if it is going to be the root filesystem (/). It is way to easy to fill up. I see that they need to do this for reflashing, but since on reflash all the applications in /opt get lost anyway, what good does it do to have them there? Seems they could have mounted /usr on the 32G, or even better just put /boot on NAND and in that case NAND could even be smaller. Seems very dumb to have 32G+ of space on the device, yet still fill up the rootfs! The vast majority of users are going to have ''no'' clue how to repartition (which I will do here shortly) and aren't going to be able to install many applications, which should be a great ''strength'' of this device since it can multitask so well and the repositories are going to blossom
+
I [[User:Jebba/Gripes| gripe over here now]].
-
* 4 rows of keys would have been a lifesaver.
+
 
-
* No | (pipe) or tab key
+
 
-
* The camera doesn't autofocus, or at least not when you need it to.
+
=Freemoe=
-
* When charging the phone and talking on it, the power cable is sticking out the top, not the bottom.
+
I have a server co-located at [http://www.netdepot.com NetDepot] with a SDK installed. If you would like an account on there send me an email at moe@blagblagblag.org.
-
* No dictionary/translation program (!)
+
 
-
* Docs, info, contacts, etc. are spewed all over the place. For instance, try to find out info about Canola. Some on this wiki, some in garage, some at their site, etc. Where does one file a bug? I've been told to ignore garage and do most at *.maemo.org, but then they should ditch those parts at garage to make things cleaner.
+
* [[User:Jebba/Freemoe|Freemoe wiki]]
-
* SDK pretty much assumes you are running 32-bit Debian or Ubuntu. It's not really cooperating nicely in a Debian Lenny install inside qemu.
+
 
 +
* [http://www.freemoe.org/ Freemoe web server]
=Bugs=
=Bugs=
-
==Bugs to file==
+
[[User:Jebba/Bugs|Bugs]] now has its own page.
-
===Broken===
+
-
* Trying to install "diff" says that it is provided by busybox, but the busybox binary is compiled without `diff` support.
+
-
* Saving preferences in xchat crashes.
+
-
* "Clear private data on exit" in Midori doesn't actually clear ~/.cache/midori/web (!). I spoke to packager ([http://maemo.org/profile/view/kalikiana/ kalikiana]) on IRC and he said he would look into it.
+
-
* `less`, `vim` etc. don't see to like $TERM=rxvt-unicode. Using $TERM=xterm-color works fine. Probably not worth filing a bug...
+
-
===RFEs===
+
=My Packages=
-
* Package manager can only install one package at a time (in contrast to how synaptic does it, for example).
+
 
-
* In package manager you have to keep scrolling down to the package you want. You can't just hit "r" for example and have it scroll to "r" in the list of packages. This is actually pervasive throughout Maemo 5. It seems to only really do this in Contacts app.
+
There is now a separate [[User:Jebba/Packages by Jebba|Packages by Jebba]] page.
-
* It totally sucks that if someone steals your phone, they pretty much own you. At least /home/user/MyDocs should be encrypted. Ideally this would be done with LUKS and decrypt at boot with a password.
+
 
 +
 
 +
=VoIP=
 +
 
 +
See: [[User:Jebba/VoIP]].
 +
 
 +
=ofono=
 +
[[User:Jebba/Ofono]]
 +
 
 +
=Cryptsetup=
 +
[[User:Jebba/Cryptsetup]] - HOWTO use crypto filesystem on N900.
 +
 
 +
=Setup=
-
==Bugs of Note==
+
I have [[User:Jebba/Setup| move setup]] to its own page. A bit antiquated already!
-
Here's a few [https://bugs.maemo.org/ bugs] of interest to [https://bugs.maemo.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=moe%40blagblagblag.org&emailtype1=exact&emailassigned_to1=1&emailreporter1=1 me]. Please [https://bugs.maemo.org/votes.cgi?action=show_user vote] for them. :)
+
-
===Argentina Time Zone===
+
=sbdmock=
-
* [https://bugs.maemo.org/show_bug.cgi?id=6481 Buenos Aires, Argentina time off by 1 hour]
+
-
* [https://bugs.maemo.org/show_bug.cgi?id=6534 Inital setup time zone: America Latina only lists cities in Mexico]
+
-
===Calendar/Tasks===
+
My [[User:Jebba/Sbdmock|sbdmock page]].
-
* [https://bugs.maemo.org/show_bug.cgi?id=6518 RFE: Show calendar when selecting dates in Tasks/Calendar]
+
-
* [https://bugs.maemo.org/show_bug.cgi?id=6505 Provide bi-daily/weekly/monthly recurrences]
+
-
* [https://bugs.maemo.org/show_bug.cgi?id=5955 Add option to select multiple days on weekly repeating events.]
+
-
* [https://bugs.maemo.org/show_bug.cgi?id=5954 Add relative day option for monthly repeating events (e.g. "1st Monday of month")]
+
-
===Chat & Call & SMS===
+
=Tweaklets=
-
* [https://bugs.maemo.org/show_bug.cgi?id=5624 Zoom in/out in IM chat does not reflow contents] ("Carolina's bug")
+
-
===Contacts===
+
* [[User:Jebba/Tweaks|Simple changes that make everything better.]]
-
* [https://bugs.maemo.org/show_bug.cgi?id=5742 Contacts: Provide "Fax" field(s)]
+
-
* [https://bugs.maemo.org/show_bug.cgi?id=6083 Edit/Rename field names or being able to add remarks]
+
-
===Canola===
+
* [[User:Jebba/Keymap|Keymap]]
-
* [https://bugs.maemo.org/show_bug.cgi?id=6511 Canola last.fm plugin doesn't allow you to enter username/password]
+
-
=Applications to package=
+
=Random=
-
Package these or get someone to do it.
+
-
* colordiff
+
Punted over to [[User:Jebba/Random| the new Random page]].
-
* fantasdic
+

Latest revision as of 14:50, 1 May 2012

  • Name: Jeff Moe
  • Email: moe@blagblagblag.org
  • Nick: jebba, jebbajeb, jebba900, etc...


I have stopped development on Meego/Maemo, so these pages are getting quickly dated. Ciao!


My old nokia
My old Nokia phone, replaced by N900. Makes a nice background :)


  • Usually I dot my laptop with READMEs in various ~/devel/ subdirs, but in this case I decided to write up some notes here. These are mostly for my own reference, but perhaps they will be of use to you.
  • Feel free to take any of these pages and copy them over to the main wiki namespace (here or in any other wiki, for that matter).

Contents

[edit] Package Building HOWTO

The Package Building HOWTO now has its own page. :)

[edit] Kernel

The new kernel page

[edit] Freemoe git

git clone git://gitorious.org/freemoe/freemoe.git

[edit] SDK

The SDK page.

[edit] Repositories

[edit] Flashing

Separate page about flashing, for your perusal.

Note, the flash page has the info about "debricking" easily.

[edit] Wifi Hotspot

How to set up your N900 as a wifi hotspot to share it's connection with other computers. :)

[edit] Mer

Jebba Mer

[edit] Fedora

Fedora 12 on Nokia N900 (!!)


[edit] VNC

Over at User:Jebba/VNC.

[edit] Backups

See User:Jebba/Backups

[edit] Video

More space for talking about video at the new page.

[edit] Mirrors

I have shut down my mirrors.

A mini-HOWTO set up mirroring maemo repository content

[edit] DBUS

Now at User:Jebba/DBUS.

[edit] Gripes

I gripe over here now.


[edit] Freemoe

I have a server co-located at NetDepot with a SDK installed. If you would like an account on there send me an email at moe@blagblagblag.org.

[edit] Bugs

Bugs now has its own page.

[edit] My Packages

There is now a separate Packages by Jebba page.


[edit] VoIP

See: User:Jebba/VoIP.

[edit] ofono

User:Jebba/Ofono

[edit] Cryptsetup

User:Jebba/Cryptsetup - HOWTO use crypto filesystem on N900.

[edit] Setup

I have move setup to its own page. A bit antiquated already!

[edit] sbdmock

My sbdmock page.

[edit] Tweaklets

[edit] Random

Punted over to the new Random page.