<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=94.10.155.86</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=94.10.155.86"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/94.10.155.86"/>
	<updated>2026-04-22T12:51:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48681</id>
		<title>User:Jebba/Mer</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48681"/>
		<updated>2010-07-14T01:25:44Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* Disable watchdog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=N900 Install=&lt;br /&gt;
Note, this is still in a *very* rough state. Currently, you can&#039;t recharge the battery while using Mer, nor even draw power when plugged in, so developing on it means you have to reboot just to recharge your battery. No phone calls are possible yet. Grabbing binaries of the proprietary crock from Nokia requires rebuilding packages and jumping through hoops. On the positive side, it boots. :)&lt;br /&gt;
&lt;br /&gt;
You can do this without erasing your main install, FYI...&lt;br /&gt;
&lt;br /&gt;
* [[Mer/Documentation/Installation|Mer installation]]&lt;br /&gt;
&lt;br /&gt;
* [http://mer-project.blogspot.com/2010/01/dual-booting-mer-on-nokia-n900.html More recent blog post about installing Mer 0.17testing10]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mer Image==&lt;br /&gt;
The latest release as of this post is 0.17testing4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # you need an ext3 formated MicroSD card.&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 wget http://stskeeps.subnetmask.net/mer/0.17testing4/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # Untar it verbosely to see the majick.&lt;br /&gt;
 # Note this will create dirs like ./usr and ./lib etc, so you don&#039;t want stuff pre-existing in those dirs.&lt;br /&gt;
 tar zxvf mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # sync and live free!&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==bootmenu==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to have getbootstate version 1.0.35+0m5 or greater for this to work.&lt;br /&gt;
&lt;br /&gt;
 dpkg -l getbootstate&lt;br /&gt;
&lt;br /&gt;
(As a side note, [https://bugs.maemo.org/show_bug.cgi?id=7019 getbootstate is closed software]. Please vote for this bug and/or clamour for it to be released as free software.)&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showpost.php?p=372885&amp;amp;postcount=22 discussion on t.m.o]&lt;br /&gt;
&lt;br /&gt;
 # Grab this package:&lt;br /&gt;
 wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb&lt;br /&gt;
 &lt;br /&gt;
 # Be root&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # Install bootmenu&lt;br /&gt;
 dpkg -i bootmenu_1.6_armel.deb&lt;br /&gt;
&lt;br /&gt;
Then tappy tap tap the bootmenu install icon and answer yes.&lt;br /&gt;
&lt;br /&gt;
Now you need to set up Mer in the menu for bootmenu. See also: [[Mer/Documentation/Bootmenu| Mer bootmenu docs]].&lt;br /&gt;
&lt;br /&gt;
I put everything on the third partition on an ext3 formatted &amp;quot;external&amp;quot; MicroSD card (the one that&#039;s right next to the camera).&lt;br /&gt;
&lt;br /&gt;
 # edit/create this file to create a boot menu item for Mer:&lt;br /&gt;
 vim /etc/bootmenu.d/mer.ext.item&lt;br /&gt;
 &lt;br /&gt;
 # Make it look justa lika thisa:&lt;br /&gt;
 &lt;br /&gt;
 ITEM_NAME=&amp;quot;Mer (external SD, partition 3)&amp;quot;&lt;br /&gt;
 ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
 ITEM_DEVICE=&amp;quot;${EXT_CARD}p3&amp;quot;&lt;br /&gt;
 ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
 ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
 ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Note: why jbd module needed?)&lt;br /&gt;
&lt;br /&gt;
Then shutoff the phone and reboot with KEYBOARD SLID OUT, so you get the bootmenu.&lt;br /&gt;
&lt;br /&gt;
==Disable watchdog==&lt;br /&gt;
&lt;br /&gt;
You have to disable the watchdog with the flasher tool or the system will just shut down on bootup:&lt;br /&gt;
&lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-omap-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-ext-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --enable-rd-mode&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;If you want to revert back and disbale R%D mode, do:&lt;br /&gt;
 ./flasher-3.5 --disable-rd-mode&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==0.17testing4 fixes for N900==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # root does all&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # mount up the MicroSD&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3&lt;br /&gt;
 &lt;br /&gt;
===Missing dir needed at boot===&lt;br /&gt;
 # create a missing directory&lt;br /&gt;
 mkdir mnt/initfs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Need modules from kernel===&lt;br /&gt;
  &lt;br /&gt;
 # copy over modules from main OS:&lt;br /&gt;
 cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Fix touchscreen===&lt;br /&gt;
I STILL DON&#039;T HAVE THIS WORKING.&lt;br /&gt;
&lt;br /&gt;
====auto-startx====&lt;br /&gt;
To get the touchscreen working you have to edit this file: /media/mmc3/etc/init.d/auto-startx. Patch it ala:&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note to self: I have a copy of this in /home/user/MyDocs/Mer, so when copying back over be sure to chmod because VFAT loses perms gah:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /media/mmc3/etc/init.d/auto-startx&lt;br /&gt;
&lt;br /&gt;
====remove synaptics driver====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 &lt;br /&gt;
 dpkg --remove \&lt;br /&gt;
 xserver-xorg-input-synaptics \&lt;br /&gt;
 xserver-xorg-input-all&lt;br /&gt;
&lt;br /&gt;
====Add xserver-xorg-input-tslib====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
&lt;br /&gt;
===upgrade===&lt;br /&gt;
Note sure if it&#039;s needed, but:&lt;br /&gt;
&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
This got me new updates:&lt;br /&gt;
 hildon-input-method libclutter-0.8-0 libetpan13 libhildon-im-ui3&lt;br /&gt;
&lt;br /&gt;
The first one sounds helpful.&lt;br /&gt;
&lt;br /&gt;
===Set root password===&lt;br /&gt;
Might as well set one in the chroot. I had X not come up once, but couldn&#039;t log in.&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
When you are booted up into Fremantle, it wouldn&#039;t hurt to fsck your MicroSD too....&lt;br /&gt;
&lt;br /&gt;
 umount /dev/mmcblk1p3 &amp;amp;&amp;amp; fsck.ext3 -vvv /dev/mmcblk1p3&lt;br /&gt;
&lt;br /&gt;
=Automated install=&lt;br /&gt;
Ok, here&#039;s dodgy scripts to automatically do lots of the above. I set these up because in the process of doing this I corrupted the filesystem on the MicroSD card enough times that I kept having to do this. If you don&#039;t understand what these scripts are doing, don&#039;t run them. Ah, and I use sudo lots, so you probably want do add this to /etc/sudoers:&lt;br /&gt;
&lt;br /&gt;
 user ALL = NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==freemoe-mer-install==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;this is going to format your microsd, take care!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;EARLIER VERSIONS OF THIS SCRIPT USED PARTITION 1&amp;quot;&lt;br /&gt;
 echo &amp;quot;IT IS NOW USING PARITION 3! BEWARE AND UPDATE YOUR SCRIPT AS NEEDED!&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 read ok&lt;br /&gt;
 read ok&lt;br /&gt;
 exit 0  # you get this right?&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
  &lt;br /&gt;
 sudo umount /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mkfs.ext3 -j -m1 /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo fsck -vvv /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 sudo tar zxf /home/user/MyDocs/Mer/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;WARNING WARNING WARNING!!!!&amp;quot;&lt;br /&gt;
 echo &amp;quot;Copying over NON-FREE FIRMWARE&amp;quot;&lt;br /&gt;
 echo &amp;quot;PAY PENANCE!!!!&amp;quot;&lt;br /&gt;
 sudo cp -a /lib/firmware/*  /media/mmc3/lib/firmware/&lt;br /&gt;
 &lt;br /&gt;
 sudo patch -p0 &amp;lt; /home/user/MyDocs/Mer/auto-startx-n900.patch&lt;br /&gt;
 &lt;br /&gt;
 # not needed&lt;br /&gt;
 sudo chmod +x etc/init.d/auto-startx&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /home/user/MyDocs/Mer/mer-setup-in-chroot ./&lt;br /&gt;
 &lt;br /&gt;
 sudo chmod +x mer-setup-in-chroot&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;add . to root&#039;s PATH to help with debugging&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root-bashrc /media/mmc3/root/.bashrc&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;copy over some scripts to help with debug&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root/* /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;WARNING: this leaves /root with less-than-optimal perms&amp;quot;&lt;br /&gt;
 #sudo chmod -R +x /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /etc/apt/auth /media/mmc3/etc/apt/&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 echo &amp;quot;now run ./mer-setup-in-chroot after you enter the chroot&amp;quot;&lt;br /&gt;
 echo &amp;quot;this is convenient too:&amp;quot;&lt;br /&gt;
 echo &amp;quot;export HOME=/root&amp;quot;&lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo chroot /media/mmc3 /bin/bash&lt;br /&gt;
&lt;br /&gt;
==mer-setup-in-chroot==&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # run this chrooted&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 &lt;br /&gt;
 apt-get remove xserver-xorg-input-synaptics xserver-xorg-input-all&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==auto-startx-n900.patch==&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Installing Fremantle Packages=&lt;br /&gt;
Mer is missing some key parts, such as charging from battery and making phone calls. The first is killer, the second is a major drawback... Nokia decided to keep these parts proprietary which makes Mer on the N900 pretty pointless actually. Gar.&lt;br /&gt;
&lt;br /&gt;
So I thought I would try to install (most begrudgingly) their proprietary Fremantle battery and cell phone applications under Mer. I was able to get the battery applet and some of the hal stuff going, but I don&#039;t think it was actually *doing* andything. I then installed the cell phone application, which pretty much screwed up the install.&lt;br /&gt;
&lt;br /&gt;
So, in sum, the following doesn&#039;t work, but is a possible starting point for getting battery charging working under Mer.&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t have access to the original .debs, so I decided to just reconstruct them from the ones already installed under fremantle. It&#039;s a bit out there, but this is how I did it:&lt;br /&gt;
&lt;br /&gt;
 # boot into Mer&lt;br /&gt;
 &lt;br /&gt;
 # We&#039;ll use dpkg-repack to rebuild the .debs&lt;br /&gt;
 apt-get install dpkg-repack&lt;br /&gt;
 &lt;br /&gt;
 # set up nice working space:&lt;br /&gt;
 mkdir -p /mnt/fremantle&lt;br /&gt;
 &lt;br /&gt;
 # umount the read/write of the NAND since we crash all the time and run out of battery&lt;br /&gt;
 umount /mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 # Remount it read-only some place nicer&lt;br /&gt;
 mount -o ro -t ubifs ubi0:rootfs /mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # And put /home and the infamous /opt there too&lt;br /&gt;
 mount -o ro /dev/mmcblk1p2 /mnt/fremantle/home/&lt;br /&gt;
 &lt;br /&gt;
 # ...and MyDocs under that&lt;br /&gt;
 mount -o ro /dev/mmcblk1p1 /mnt/fremantle/home/user/MyDocs/&lt;br /&gt;
 &lt;br /&gt;
 # Set up stupid symlink for the /opt mess&lt;br /&gt;
 cd /home&lt;br /&gt;
 ln -s /mnt/fremantle/home/opt .&lt;br /&gt;
 &lt;br /&gt;
 # create a nice place to put the .debs we&#039;ll create&lt;br /&gt;
 mkdir /root/REPACKS &lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 &lt;br /&gt;
 # take a look all those fremantle applications&lt;br /&gt;
 dpkg -l --root=/mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # Repack some random single package&lt;br /&gt;
 dpkg-repack --root=/mnt/fremantle/ burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # rebuild the local repo&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # Add this to /etc/apt/sources.list and perhaps comment out all the others&lt;br /&gt;
 deb file:///root/REPACKS ./&lt;br /&gt;
 &lt;br /&gt;
 # update from our new local repo&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # and see that it works&lt;br /&gt;
 apt-cache search burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # if that works, you can do them one at a time, or repack all of the &lt;br /&gt;
 # fremantle debs with this:&lt;br /&gt;
 for i in `dpkg -l --root=/mnt/fremantle/ |grep ii | cut -f 3 -d &amp;quot; &amp;quot;` ;&lt;br /&gt;
 do echo $i&lt;br /&gt;
 	dpkg-repack --root=/mnt/fremantle/ $i&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 # Then re-run the archiverthinger&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # update&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # now install whatever&lt;br /&gt;
 apt-get install foo&lt;br /&gt;
 &lt;br /&gt;
 # This will get you a battery applet. It appears in the notification&lt;br /&gt;
 # area, but I&#039;m not sure if it is working or not. Perhaps try rebooting&lt;br /&gt;
 # after installing it, and don&#039;t install other stuff which may pooch it&lt;br /&gt;
 apt-get install hald-addon-bme bme-rx-51 status-area-applet-battery&lt;br /&gt;
 &lt;br /&gt;
 # After I installed this, I had a mess&lt;br /&gt;
 apt-get install rtcom-call-ui&lt;br /&gt;
&lt;br /&gt;
Oh, and I guess I should also point out, that all of this needs to be done because nokia is doing something funky with apt-transport-https. I tried rebuilding theirs and using it under Mer, but it barfed on libraries. I tried using the Ubuntu one but that didn&#039;t work with the Nokia repos, even after copying over /etc/apt/auth.&lt;br /&gt;
&lt;br /&gt;
Another way to do this would perhaps be to apt-get mirror the repos, if possible or a --download-only type approach. I didn&#039;t have apt-transport-https working so I just did this. Time for bed.&lt;br /&gt;
&lt;br /&gt;
=Build Packages=&lt;br /&gt;
Packages are built using OpenSUSE&#039;s Build Service&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service Build Service]&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenSUSE_Build_Service wikipedia on OBS]&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service/Tutorial Build Service Tutorial]&lt;br /&gt;
&lt;br /&gt;
* [http://forge.novell.com/modules/xfmod/project/?opensuse Build Service source]&lt;br /&gt;
&lt;br /&gt;
* Sign up for account on OBS: jebbajeb&lt;br /&gt;
&lt;br /&gt;
*  [https://build.opensuse.org/]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer Maemo Community distribution (Maemo:Mer)]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer%3ADevel%3AHW%3AN900%3ADevel Development repository (Maemo:Mer:Devel:HW:N900:Devel)]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48682</id>
		<title>User:Jebba/Mer</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48682"/>
		<updated>2010-07-14T01:11:35Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* Disable watchdog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=N900 Install=&lt;br /&gt;
Note, this is still in a *very* rough state. Currently, you can&#039;t recharge the battery while using Mer, nor even draw power when plugged in, so developing on it means you have to reboot just to recharge your battery. No phone calls are possible yet. Grabbing binaries of the proprietary crock from Nokia requires rebuilding packages and jumping through hoops. On the positive side, it boots. :)&lt;br /&gt;
&lt;br /&gt;
You can do this without erasing your main install, FYI...&lt;br /&gt;
&lt;br /&gt;
* [[Mer/Documentation/Installation|Mer installation]]&lt;br /&gt;
&lt;br /&gt;
* [http://mer-project.blogspot.com/2010/01/dual-booting-mer-on-nokia-n900.html More recent blog post about installing Mer 0.17testing10]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mer Image==&lt;br /&gt;
The latest release as of this post is 0.17testing4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # you need an ext3 formated MicroSD card.&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 wget http://stskeeps.subnetmask.net/mer/0.17testing4/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # Untar it verbosely to see the majick.&lt;br /&gt;
 # Note this will create dirs like ./usr and ./lib etc, so you don&#039;t want stuff pre-existing in those dirs.&lt;br /&gt;
 tar zxvf mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # sync and live free!&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==bootmenu==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to have getbootstate version 1.0.35+0m5 or greater for this to work.&lt;br /&gt;
&lt;br /&gt;
 dpkg -l getbootstate&lt;br /&gt;
&lt;br /&gt;
(As a side note, [https://bugs.maemo.org/show_bug.cgi?id=7019 getbootstate is closed software]. Please vote for this bug and/or clamour for it to be released as free software.)&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showpost.php?p=372885&amp;amp;postcount=22 discussion on t.m.o]&lt;br /&gt;
&lt;br /&gt;
 # Grab this package:&lt;br /&gt;
 wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb&lt;br /&gt;
 &lt;br /&gt;
 # Be root&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # Install bootmenu&lt;br /&gt;
 dpkg -i bootmenu_1.6_armel.deb&lt;br /&gt;
&lt;br /&gt;
Then tappy tap tap the bootmenu install icon and answer yes.&lt;br /&gt;
&lt;br /&gt;
Now you need to set up Mer in the menu for bootmenu. See also: [[Mer/Documentation/Bootmenu| Mer bootmenu docs]].&lt;br /&gt;
&lt;br /&gt;
I put everything on the third partition on an ext3 formatted &amp;quot;external&amp;quot; MicroSD card (the one that&#039;s right next to the camera).&lt;br /&gt;
&lt;br /&gt;
 # edit/create this file to create a boot menu item for Mer:&lt;br /&gt;
 vim /etc/bootmenu.d/mer.ext.item&lt;br /&gt;
 &lt;br /&gt;
 # Make it look justa lika thisa:&lt;br /&gt;
 &lt;br /&gt;
 ITEM_NAME=&amp;quot;Mer (external SD, partition 3)&amp;quot;&lt;br /&gt;
 ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
 ITEM_DEVICE=&amp;quot;${EXT_CARD}p3&amp;quot;&lt;br /&gt;
 ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
 ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
 ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Note: why jbd module needed?)&lt;br /&gt;
&lt;br /&gt;
Then shutoff the phone and reboot with KEYBOARD SLID OUT, so you get the bootmenu.&lt;br /&gt;
&lt;br /&gt;
==Disable watchdog==&lt;br /&gt;
&lt;br /&gt;
You have to disable the watchdog with the flasher tool or the system will just shut down on bootup:&lt;br /&gt;
&lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-omap-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-ext-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --enable-rd-mode&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
(It should be mentioned how to undo the above aswell)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==0.17testing4 fixes for N900==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # root does all&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # mount up the MicroSD&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3&lt;br /&gt;
 &lt;br /&gt;
===Missing dir needed at boot===&lt;br /&gt;
 # create a missing directory&lt;br /&gt;
 mkdir mnt/initfs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Need modules from kernel===&lt;br /&gt;
  &lt;br /&gt;
 # copy over modules from main OS:&lt;br /&gt;
 cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Fix touchscreen===&lt;br /&gt;
I STILL DON&#039;T HAVE THIS WORKING.&lt;br /&gt;
&lt;br /&gt;
====auto-startx====&lt;br /&gt;
To get the touchscreen working you have to edit this file: /media/mmc3/etc/init.d/auto-startx. Patch it ala:&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note to self: I have a copy of this in /home/user/MyDocs/Mer, so when copying back over be sure to chmod because VFAT loses perms gah:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /media/mmc3/etc/init.d/auto-startx&lt;br /&gt;
&lt;br /&gt;
====remove synaptics driver====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 &lt;br /&gt;
 dpkg --remove \&lt;br /&gt;
 xserver-xorg-input-synaptics \&lt;br /&gt;
 xserver-xorg-input-all&lt;br /&gt;
&lt;br /&gt;
====Add xserver-xorg-input-tslib====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
&lt;br /&gt;
===upgrade===&lt;br /&gt;
Note sure if it&#039;s needed, but:&lt;br /&gt;
&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
This got me new updates:&lt;br /&gt;
 hildon-input-method libclutter-0.8-0 libetpan13 libhildon-im-ui3&lt;br /&gt;
&lt;br /&gt;
The first one sounds helpful.&lt;br /&gt;
&lt;br /&gt;
===Set root password===&lt;br /&gt;
Might as well set one in the chroot. I had X not come up once, but couldn&#039;t log in.&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
When you are booted up into Fremantle, it wouldn&#039;t hurt to fsck your MicroSD too....&lt;br /&gt;
&lt;br /&gt;
 umount /dev/mmcblk1p3 &amp;amp;&amp;amp; fsck.ext3 -vvv /dev/mmcblk1p3&lt;br /&gt;
&lt;br /&gt;
=Automated install=&lt;br /&gt;
Ok, here&#039;s dodgy scripts to automatically do lots of the above. I set these up because in the process of doing this I corrupted the filesystem on the MicroSD card enough times that I kept having to do this. If you don&#039;t understand what these scripts are doing, don&#039;t run them. Ah, and I use sudo lots, so you probably want do add this to /etc/sudoers:&lt;br /&gt;
&lt;br /&gt;
 user ALL = NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==freemoe-mer-install==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;this is going to format your microsd, take care!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;EARLIER VERSIONS OF THIS SCRIPT USED PARTITION 1&amp;quot;&lt;br /&gt;
 echo &amp;quot;IT IS NOW USING PARITION 3! BEWARE AND UPDATE YOUR SCRIPT AS NEEDED!&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 read ok&lt;br /&gt;
 read ok&lt;br /&gt;
 exit 0  # you get this right?&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
  &lt;br /&gt;
 sudo umount /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mkfs.ext3 -j -m1 /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo fsck -vvv /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 sudo tar zxf /home/user/MyDocs/Mer/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;WARNING WARNING WARNING!!!!&amp;quot;&lt;br /&gt;
 echo &amp;quot;Copying over NON-FREE FIRMWARE&amp;quot;&lt;br /&gt;
 echo &amp;quot;PAY PENANCE!!!!&amp;quot;&lt;br /&gt;
 sudo cp -a /lib/firmware/*  /media/mmc3/lib/firmware/&lt;br /&gt;
 &lt;br /&gt;
 sudo patch -p0 &amp;lt; /home/user/MyDocs/Mer/auto-startx-n900.patch&lt;br /&gt;
 &lt;br /&gt;
 # not needed&lt;br /&gt;
 sudo chmod +x etc/init.d/auto-startx&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /home/user/MyDocs/Mer/mer-setup-in-chroot ./&lt;br /&gt;
 &lt;br /&gt;
 sudo chmod +x mer-setup-in-chroot&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;add . to root&#039;s PATH to help with debugging&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root-bashrc /media/mmc3/root/.bashrc&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;copy over some scripts to help with debug&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root/* /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;WARNING: this leaves /root with less-than-optimal perms&amp;quot;&lt;br /&gt;
 #sudo chmod -R +x /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /etc/apt/auth /media/mmc3/etc/apt/&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 echo &amp;quot;now run ./mer-setup-in-chroot after you enter the chroot&amp;quot;&lt;br /&gt;
 echo &amp;quot;this is convenient too:&amp;quot;&lt;br /&gt;
 echo &amp;quot;export HOME=/root&amp;quot;&lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo chroot /media/mmc3 /bin/bash&lt;br /&gt;
&lt;br /&gt;
==mer-setup-in-chroot==&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # run this chrooted&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 &lt;br /&gt;
 apt-get remove xserver-xorg-input-synaptics xserver-xorg-input-all&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==auto-startx-n900.patch==&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Installing Fremantle Packages=&lt;br /&gt;
Mer is missing some key parts, such as charging from battery and making phone calls. The first is killer, the second is a major drawback... Nokia decided to keep these parts proprietary which makes Mer on the N900 pretty pointless actually. Gar.&lt;br /&gt;
&lt;br /&gt;
So I thought I would try to install (most begrudgingly) their proprietary Fremantle battery and cell phone applications under Mer. I was able to get the battery applet and some of the hal stuff going, but I don&#039;t think it was actually *doing* andything. I then installed the cell phone application, which pretty much screwed up the install.&lt;br /&gt;
&lt;br /&gt;
So, in sum, the following doesn&#039;t work, but is a possible starting point for getting battery charging working under Mer.&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t have access to the original .debs, so I decided to just reconstruct them from the ones already installed under fremantle. It&#039;s a bit out there, but this is how I did it:&lt;br /&gt;
&lt;br /&gt;
 # boot into Mer&lt;br /&gt;
 &lt;br /&gt;
 # We&#039;ll use dpkg-repack to rebuild the .debs&lt;br /&gt;
 apt-get install dpkg-repack&lt;br /&gt;
 &lt;br /&gt;
 # set up nice working space:&lt;br /&gt;
 mkdir -p /mnt/fremantle&lt;br /&gt;
 &lt;br /&gt;
 # umount the read/write of the NAND since we crash all the time and run out of battery&lt;br /&gt;
 umount /mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 # Remount it read-only some place nicer&lt;br /&gt;
 mount -o ro -t ubifs ubi0:rootfs /mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # And put /home and the infamous /opt there too&lt;br /&gt;
 mount -o ro /dev/mmcblk1p2 /mnt/fremantle/home/&lt;br /&gt;
 &lt;br /&gt;
 # ...and MyDocs under that&lt;br /&gt;
 mount -o ro /dev/mmcblk1p1 /mnt/fremantle/home/user/MyDocs/&lt;br /&gt;
 &lt;br /&gt;
 # Set up stupid symlink for the /opt mess&lt;br /&gt;
 cd /home&lt;br /&gt;
 ln -s /mnt/fremantle/home/opt .&lt;br /&gt;
 &lt;br /&gt;
 # create a nice place to put the .debs we&#039;ll create&lt;br /&gt;
 mkdir /root/REPACKS &lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 &lt;br /&gt;
 # take a look all those fremantle applications&lt;br /&gt;
 dpkg -l --root=/mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # Repack some random single package&lt;br /&gt;
 dpkg-repack --root=/mnt/fremantle/ burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # rebuild the local repo&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # Add this to /etc/apt/sources.list and perhaps comment out all the others&lt;br /&gt;
 deb file:///root/REPACKS ./&lt;br /&gt;
 &lt;br /&gt;
 # update from our new local repo&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # and see that it works&lt;br /&gt;
 apt-cache search burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # if that works, you can do them one at a time, or repack all of the &lt;br /&gt;
 # fremantle debs with this:&lt;br /&gt;
 for i in `dpkg -l --root=/mnt/fremantle/ |grep ii | cut -f 3 -d &amp;quot; &amp;quot;` ;&lt;br /&gt;
 do echo $i&lt;br /&gt;
 	dpkg-repack --root=/mnt/fremantle/ $i&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 # Then re-run the archiverthinger&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # update&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # now install whatever&lt;br /&gt;
 apt-get install foo&lt;br /&gt;
 &lt;br /&gt;
 # This will get you a battery applet. It appears in the notification&lt;br /&gt;
 # area, but I&#039;m not sure if it is working or not. Perhaps try rebooting&lt;br /&gt;
 # after installing it, and don&#039;t install other stuff which may pooch it&lt;br /&gt;
 apt-get install hald-addon-bme bme-rx-51 status-area-applet-battery&lt;br /&gt;
 &lt;br /&gt;
 # After I installed this, I had a mess&lt;br /&gt;
 apt-get install rtcom-call-ui&lt;br /&gt;
&lt;br /&gt;
Oh, and I guess I should also point out, that all of this needs to be done because nokia is doing something funky with apt-transport-https. I tried rebuilding theirs and using it under Mer, but it barfed on libraries. I tried using the Ubuntu one but that didn&#039;t work with the Nokia repos, even after copying over /etc/apt/auth.&lt;br /&gt;
&lt;br /&gt;
Another way to do this would perhaps be to apt-get mirror the repos, if possible or a --download-only type approach. I didn&#039;t have apt-transport-https working so I just did this. Time for bed.&lt;br /&gt;
&lt;br /&gt;
=Build Packages=&lt;br /&gt;
Packages are built using OpenSUSE&#039;s Build Service&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service Build Service]&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenSUSE_Build_Service wikipedia on OBS]&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service/Tutorial Build Service Tutorial]&lt;br /&gt;
&lt;br /&gt;
* [http://forge.novell.com/modules/xfmod/project/?opensuse Build Service source]&lt;br /&gt;
&lt;br /&gt;
* Sign up for account on OBS: jebbajeb&lt;br /&gt;
&lt;br /&gt;
*  [https://build.opensuse.org/]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer Maemo Community distribution (Maemo:Mer)]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer%3ADevel%3AHW%3AN900%3ADevel Development repository (Maemo:Mer:Devel:HW:N900:Devel)]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48683</id>
		<title>User:Jebba/Mer</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48683"/>
		<updated>2010-07-14T01:06:24Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* Disable watchdog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=N900 Install=&lt;br /&gt;
Note, this is still in a *very* rough state. Currently, you can&#039;t recharge the battery while using Mer, nor even draw power when plugged in, so developing on it means you have to reboot just to recharge your battery. No phone calls are possible yet. Grabbing binaries of the proprietary crock from Nokia requires rebuilding packages and jumping through hoops. On the positive side, it boots. :)&lt;br /&gt;
&lt;br /&gt;
You can do this without erasing your main install, FYI...&lt;br /&gt;
&lt;br /&gt;
* [[Mer/Documentation/Installation|Mer installation]]&lt;br /&gt;
&lt;br /&gt;
* [http://mer-project.blogspot.com/2010/01/dual-booting-mer-on-nokia-n900.html More recent blog post about installing Mer 0.17testing10]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mer Image==&lt;br /&gt;
The latest release as of this post is 0.17testing4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # you need an ext3 formated MicroSD card.&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 wget http://stskeeps.subnetmask.net/mer/0.17testing4/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # Untar it verbosely to see the majick.&lt;br /&gt;
 # Note this will create dirs like ./usr and ./lib etc, so you don&#039;t want stuff pre-existing in those dirs.&lt;br /&gt;
 tar zxvf mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # sync and live free!&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==bootmenu==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to have getbootstate version 1.0.35+0m5 or greater for this to work.&lt;br /&gt;
&lt;br /&gt;
 dpkg -l getbootstate&lt;br /&gt;
&lt;br /&gt;
(As a side note, [https://bugs.maemo.org/show_bug.cgi?id=7019 getbootstate is closed software]. Please vote for this bug and/or clamour for it to be released as free software.)&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showpost.php?p=372885&amp;amp;postcount=22 discussion on t.m.o]&lt;br /&gt;
&lt;br /&gt;
 # Grab this package:&lt;br /&gt;
 wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb&lt;br /&gt;
 &lt;br /&gt;
 # Be root&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # Install bootmenu&lt;br /&gt;
 dpkg -i bootmenu_1.6_armel.deb&lt;br /&gt;
&lt;br /&gt;
Then tappy tap tap the bootmenu install icon and answer yes.&lt;br /&gt;
&lt;br /&gt;
Now you need to set up Mer in the menu for bootmenu. See also: [[Mer/Documentation/Bootmenu| Mer bootmenu docs]].&lt;br /&gt;
&lt;br /&gt;
I put everything on the third partition on an ext3 formatted &amp;quot;external&amp;quot; MicroSD card (the one that&#039;s right next to the camera).&lt;br /&gt;
&lt;br /&gt;
 # edit/create this file to create a boot menu item for Mer:&lt;br /&gt;
 vim /etc/bootmenu.d/mer.ext.item&lt;br /&gt;
 &lt;br /&gt;
 # Make it look justa lika thisa:&lt;br /&gt;
 &lt;br /&gt;
 ITEM_NAME=&amp;quot;Mer (external SD, partition 3)&amp;quot;&lt;br /&gt;
 ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
 ITEM_DEVICE=&amp;quot;${EXT_CARD}p3&amp;quot;&lt;br /&gt;
 ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
 ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
 ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Note: why jbd module needed?)&lt;br /&gt;
&lt;br /&gt;
Then shutoff the phone and reboot with KEYBOARD SLID OUT, so you get the bootmenu.&lt;br /&gt;
&lt;br /&gt;
==Disable watchdog==&lt;br /&gt;
&lt;br /&gt;
You have to disable the watchdog with the flasher tool or the system will just shut down on bootup:&lt;br /&gt;
&lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-omap-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-ext-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --enable-rd-mode&lt;br /&gt;
&lt;br /&gt;
(It should be mentioned how to undo the above aswell)&lt;br /&gt;
&lt;br /&gt;
==0.17testing4 fixes for N900==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # root does all&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # mount up the MicroSD&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3&lt;br /&gt;
 &lt;br /&gt;
===Missing dir needed at boot===&lt;br /&gt;
 # create a missing directory&lt;br /&gt;
 mkdir mnt/initfs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Need modules from kernel===&lt;br /&gt;
  &lt;br /&gt;
 # copy over modules from main OS:&lt;br /&gt;
 cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Fix touchscreen===&lt;br /&gt;
I STILL DON&#039;T HAVE THIS WORKING.&lt;br /&gt;
&lt;br /&gt;
====auto-startx====&lt;br /&gt;
To get the touchscreen working you have to edit this file: /media/mmc3/etc/init.d/auto-startx. Patch it ala:&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note to self: I have a copy of this in /home/user/MyDocs/Mer, so when copying back over be sure to chmod because VFAT loses perms gah:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /media/mmc3/etc/init.d/auto-startx&lt;br /&gt;
&lt;br /&gt;
====remove synaptics driver====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 &lt;br /&gt;
 dpkg --remove \&lt;br /&gt;
 xserver-xorg-input-synaptics \&lt;br /&gt;
 xserver-xorg-input-all&lt;br /&gt;
&lt;br /&gt;
====Add xserver-xorg-input-tslib====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
&lt;br /&gt;
===upgrade===&lt;br /&gt;
Note sure if it&#039;s needed, but:&lt;br /&gt;
&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
This got me new updates:&lt;br /&gt;
 hildon-input-method libclutter-0.8-0 libetpan13 libhildon-im-ui3&lt;br /&gt;
&lt;br /&gt;
The first one sounds helpful.&lt;br /&gt;
&lt;br /&gt;
===Set root password===&lt;br /&gt;
Might as well set one in the chroot. I had X not come up once, but couldn&#039;t log in.&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
When you are booted up into Fremantle, it wouldn&#039;t hurt to fsck your MicroSD too....&lt;br /&gt;
&lt;br /&gt;
 umount /dev/mmcblk1p3 &amp;amp;&amp;amp; fsck.ext3 -vvv /dev/mmcblk1p3&lt;br /&gt;
&lt;br /&gt;
=Automated install=&lt;br /&gt;
Ok, here&#039;s dodgy scripts to automatically do lots of the above. I set these up because in the process of doing this I corrupted the filesystem on the MicroSD card enough times that I kept having to do this. If you don&#039;t understand what these scripts are doing, don&#039;t run them. Ah, and I use sudo lots, so you probably want do add this to /etc/sudoers:&lt;br /&gt;
&lt;br /&gt;
 user ALL = NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==freemoe-mer-install==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;this is going to format your microsd, take care!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;EARLIER VERSIONS OF THIS SCRIPT USED PARTITION 1&amp;quot;&lt;br /&gt;
 echo &amp;quot;IT IS NOW USING PARITION 3! BEWARE AND UPDATE YOUR SCRIPT AS NEEDED!&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 read ok&lt;br /&gt;
 read ok&lt;br /&gt;
 exit 0  # you get this right?&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
  &lt;br /&gt;
 sudo umount /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mkfs.ext3 -j -m1 /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo fsck -vvv /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 sudo tar zxf /home/user/MyDocs/Mer/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;WARNING WARNING WARNING!!!!&amp;quot;&lt;br /&gt;
 echo &amp;quot;Copying over NON-FREE FIRMWARE&amp;quot;&lt;br /&gt;
 echo &amp;quot;PAY PENANCE!!!!&amp;quot;&lt;br /&gt;
 sudo cp -a /lib/firmware/*  /media/mmc3/lib/firmware/&lt;br /&gt;
 &lt;br /&gt;
 sudo patch -p0 &amp;lt; /home/user/MyDocs/Mer/auto-startx-n900.patch&lt;br /&gt;
 &lt;br /&gt;
 # not needed&lt;br /&gt;
 sudo chmod +x etc/init.d/auto-startx&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /home/user/MyDocs/Mer/mer-setup-in-chroot ./&lt;br /&gt;
 &lt;br /&gt;
 sudo chmod +x mer-setup-in-chroot&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;add . to root&#039;s PATH to help with debugging&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root-bashrc /media/mmc3/root/.bashrc&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;copy over some scripts to help with debug&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root/* /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;WARNING: this leaves /root with less-than-optimal perms&amp;quot;&lt;br /&gt;
 #sudo chmod -R +x /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /etc/apt/auth /media/mmc3/etc/apt/&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 echo &amp;quot;now run ./mer-setup-in-chroot after you enter the chroot&amp;quot;&lt;br /&gt;
 echo &amp;quot;this is convenient too:&amp;quot;&lt;br /&gt;
 echo &amp;quot;export HOME=/root&amp;quot;&lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo chroot /media/mmc3 /bin/bash&lt;br /&gt;
&lt;br /&gt;
==mer-setup-in-chroot==&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # run this chrooted&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 &lt;br /&gt;
 apt-get remove xserver-xorg-input-synaptics xserver-xorg-input-all&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==auto-startx-n900.patch==&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Installing Fremantle Packages=&lt;br /&gt;
Mer is missing some key parts, such as charging from battery and making phone calls. The first is killer, the second is a major drawback... Nokia decided to keep these parts proprietary which makes Mer on the N900 pretty pointless actually. Gar.&lt;br /&gt;
&lt;br /&gt;
So I thought I would try to install (most begrudgingly) their proprietary Fremantle battery and cell phone applications under Mer. I was able to get the battery applet and some of the hal stuff going, but I don&#039;t think it was actually *doing* andything. I then installed the cell phone application, which pretty much screwed up the install.&lt;br /&gt;
&lt;br /&gt;
So, in sum, the following doesn&#039;t work, but is a possible starting point for getting battery charging working under Mer.&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t have access to the original .debs, so I decided to just reconstruct them from the ones already installed under fremantle. It&#039;s a bit out there, but this is how I did it:&lt;br /&gt;
&lt;br /&gt;
 # boot into Mer&lt;br /&gt;
 &lt;br /&gt;
 # We&#039;ll use dpkg-repack to rebuild the .debs&lt;br /&gt;
 apt-get install dpkg-repack&lt;br /&gt;
 &lt;br /&gt;
 # set up nice working space:&lt;br /&gt;
 mkdir -p /mnt/fremantle&lt;br /&gt;
 &lt;br /&gt;
 # umount the read/write of the NAND since we crash all the time and run out of battery&lt;br /&gt;
 umount /mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 # Remount it read-only some place nicer&lt;br /&gt;
 mount -o ro -t ubifs ubi0:rootfs /mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # And put /home and the infamous /opt there too&lt;br /&gt;
 mount -o ro /dev/mmcblk1p2 /mnt/fremantle/home/&lt;br /&gt;
 &lt;br /&gt;
 # ...and MyDocs under that&lt;br /&gt;
 mount -o ro /dev/mmcblk1p1 /mnt/fremantle/home/user/MyDocs/&lt;br /&gt;
 &lt;br /&gt;
 # Set up stupid symlink for the /opt mess&lt;br /&gt;
 cd /home&lt;br /&gt;
 ln -s /mnt/fremantle/home/opt .&lt;br /&gt;
 &lt;br /&gt;
 # create a nice place to put the .debs we&#039;ll create&lt;br /&gt;
 mkdir /root/REPACKS &lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 &lt;br /&gt;
 # take a look all those fremantle applications&lt;br /&gt;
 dpkg -l --root=/mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # Repack some random single package&lt;br /&gt;
 dpkg-repack --root=/mnt/fremantle/ burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # rebuild the local repo&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # Add this to /etc/apt/sources.list and perhaps comment out all the others&lt;br /&gt;
 deb file:///root/REPACKS ./&lt;br /&gt;
 &lt;br /&gt;
 # update from our new local repo&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # and see that it works&lt;br /&gt;
 apt-cache search burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # if that works, you can do them one at a time, or repack all of the &lt;br /&gt;
 # fremantle debs with this:&lt;br /&gt;
 for i in `dpkg -l --root=/mnt/fremantle/ |grep ii | cut -f 3 -d &amp;quot; &amp;quot;` ;&lt;br /&gt;
 do echo $i&lt;br /&gt;
 	dpkg-repack --root=/mnt/fremantle/ $i&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 # Then re-run the archiverthinger&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # update&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # now install whatever&lt;br /&gt;
 apt-get install foo&lt;br /&gt;
 &lt;br /&gt;
 # This will get you a battery applet. It appears in the notification&lt;br /&gt;
 # area, but I&#039;m not sure if it is working or not. Perhaps try rebooting&lt;br /&gt;
 # after installing it, and don&#039;t install other stuff which may pooch it&lt;br /&gt;
 apt-get install hald-addon-bme bme-rx-51 status-area-applet-battery&lt;br /&gt;
 &lt;br /&gt;
 # After I installed this, I had a mess&lt;br /&gt;
 apt-get install rtcom-call-ui&lt;br /&gt;
&lt;br /&gt;
Oh, and I guess I should also point out, that all of this needs to be done because nokia is doing something funky with apt-transport-https. I tried rebuilding theirs and using it under Mer, but it barfed on libraries. I tried using the Ubuntu one but that didn&#039;t work with the Nokia repos, even after copying over /etc/apt/auth.&lt;br /&gt;
&lt;br /&gt;
Another way to do this would perhaps be to apt-get mirror the repos, if possible or a --download-only type approach. I didn&#039;t have apt-transport-https working so I just did this. Time for bed.&lt;br /&gt;
&lt;br /&gt;
=Build Packages=&lt;br /&gt;
Packages are built using OpenSUSE&#039;s Build Service&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service Build Service]&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenSUSE_Build_Service wikipedia on OBS]&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service/Tutorial Build Service Tutorial]&lt;br /&gt;
&lt;br /&gt;
* [http://forge.novell.com/modules/xfmod/project/?opensuse Build Service source]&lt;br /&gt;
&lt;br /&gt;
* Sign up for account on OBS: jebbajeb&lt;br /&gt;
&lt;br /&gt;
*  [https://build.opensuse.org/]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer Maemo Community distribution (Maemo:Mer)]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer%3ADevel%3AHW%3AN900%3ADevel Development repository (Maemo:Mer:Devel:HW:N900:Devel)]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48684</id>
		<title>User:Jebba/Mer</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Mer&amp;diff=48684"/>
		<updated>2010-07-14T01:06:06Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* Disable watchdog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=N900 Install=&lt;br /&gt;
Note, this is still in a *very* rough state. Currently, you can&#039;t recharge the battery while using Mer, nor even draw power when plugged in, so developing on it means you have to reboot just to recharge your battery. No phone calls are possible yet. Grabbing binaries of the proprietary crock from Nokia requires rebuilding packages and jumping through hoops. On the positive side, it boots. :)&lt;br /&gt;
&lt;br /&gt;
You can do this without erasing your main install, FYI...&lt;br /&gt;
&lt;br /&gt;
* [[Mer/Documentation/Installation|Mer installation]]&lt;br /&gt;
&lt;br /&gt;
* [http://mer-project.blogspot.com/2010/01/dual-booting-mer-on-nokia-n900.html More recent blog post about installing Mer 0.17testing10]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Mer Image==&lt;br /&gt;
The latest release as of this post is 0.17testing4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # you need an ext3 formated MicroSD card.&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 wget http://stskeeps.subnetmask.net/mer/0.17testing4/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # Untar it verbosely to see the majick.&lt;br /&gt;
 # Note this will create dirs like ./usr and ./lib etc, so you don&#039;t want stuff pre-existing in those dirs.&lt;br /&gt;
 tar zxvf mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 # sync and live free!&lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==bootmenu==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to have getbootstate version 1.0.35+0m5 or greater for this to work.&lt;br /&gt;
&lt;br /&gt;
 dpkg -l getbootstate&lt;br /&gt;
&lt;br /&gt;
(As a side note, [https://bugs.maemo.org/show_bug.cgi?id=7019 getbootstate is closed software]. Please vote for this bug and/or clamour for it to be released as free software.)&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showpost.php?p=372885&amp;amp;postcount=22 discussion on t.m.o]&lt;br /&gt;
&lt;br /&gt;
 # Grab this package:&lt;br /&gt;
 wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb&lt;br /&gt;
 &lt;br /&gt;
 # Be root&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # Install bootmenu&lt;br /&gt;
 dpkg -i bootmenu_1.6_armel.deb&lt;br /&gt;
&lt;br /&gt;
Then tappy tap tap the bootmenu install icon and answer yes.&lt;br /&gt;
&lt;br /&gt;
Now you need to set up Mer in the menu for bootmenu. See also: [[Mer/Documentation/Bootmenu| Mer bootmenu docs]].&lt;br /&gt;
&lt;br /&gt;
I put everything on the third partition on an ext3 formatted &amp;quot;external&amp;quot; MicroSD card (the one that&#039;s right next to the camera).&lt;br /&gt;
&lt;br /&gt;
 # edit/create this file to create a boot menu item for Mer:&lt;br /&gt;
 vim /etc/bootmenu.d/mer.ext.item&lt;br /&gt;
 &lt;br /&gt;
 # Make it look justa lika thisa:&lt;br /&gt;
 &lt;br /&gt;
 ITEM_NAME=&amp;quot;Mer (external SD, partition 3)&amp;quot;&lt;br /&gt;
 ITEM_ID=&amp;quot;mer&amp;quot;&lt;br /&gt;
 ITEM_DEVICE=&amp;quot;${EXT_CARD}p3&amp;quot;&lt;br /&gt;
 ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
 ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
 ITEM_FSOPTIONS=&amp;quot;noatime,ro&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Note: why jbd module needed?)&lt;br /&gt;
&lt;br /&gt;
Then shutoff the phone and reboot with KEYBOARD SLID OUT, so you get the bootmenu.&lt;br /&gt;
&lt;br /&gt;
==Disable watchdog==&lt;br /&gt;
&lt;br /&gt;
You have to disable the watchdog with the flasher tool or the system will just shut down on bootup:&lt;br /&gt;
&lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-omap-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-ext-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --enable-rd-mode&lt;br /&gt;
&lt;br /&gt;
(It should be mentioned how to undo the following aswell)&lt;br /&gt;
&lt;br /&gt;
==0.17testing4 fixes for N900==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # root does all&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # mount up the MicroSD&lt;br /&gt;
 mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /media/mmc3&lt;br /&gt;
 &lt;br /&gt;
===Missing dir needed at boot===&lt;br /&gt;
 # create a missing directory&lt;br /&gt;
 mkdir mnt/initfs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Need modules from kernel===&lt;br /&gt;
  &lt;br /&gt;
 # copy over modules from main OS:&lt;br /&gt;
 cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Fix touchscreen===&lt;br /&gt;
I STILL DON&#039;T HAVE THIS WORKING.&lt;br /&gt;
&lt;br /&gt;
====auto-startx====&lt;br /&gt;
To get the touchscreen working you have to edit this file: /media/mmc3/etc/init.d/auto-startx. Patch it ala:&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note to self: I have a copy of this in /home/user/MyDocs/Mer, so when copying back over be sure to chmod because VFAT loses perms gah:&lt;br /&gt;
&lt;br /&gt;
 chmod +x /media/mmc3/etc/init.d/auto-startx&lt;br /&gt;
&lt;br /&gt;
====remove synaptics driver====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 &lt;br /&gt;
 dpkg --remove \&lt;br /&gt;
 xserver-xorg-input-synaptics \&lt;br /&gt;
 xserver-xorg-input-all&lt;br /&gt;
&lt;br /&gt;
====Add xserver-xorg-input-tslib====&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
&lt;br /&gt;
===upgrade===&lt;br /&gt;
Note sure if it&#039;s needed, but:&lt;br /&gt;
&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
This got me new updates:&lt;br /&gt;
 hildon-input-method libclutter-0.8-0 libetpan13 libhildon-im-ui3&lt;br /&gt;
&lt;br /&gt;
The first one sounds helpful.&lt;br /&gt;
&lt;br /&gt;
===Set root password===&lt;br /&gt;
Might as well set one in the chroot. I had X not come up once, but couldn&#039;t log in.&lt;br /&gt;
&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 chroot /media/mmc3 /bin/bash&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
==Misc==&lt;br /&gt;
When you are booted up into Fremantle, it wouldn&#039;t hurt to fsck your MicroSD too....&lt;br /&gt;
&lt;br /&gt;
 umount /dev/mmcblk1p3 &amp;amp;&amp;amp; fsck.ext3 -vvv /dev/mmcblk1p3&lt;br /&gt;
&lt;br /&gt;
=Automated install=&lt;br /&gt;
Ok, here&#039;s dodgy scripts to automatically do lots of the above. I set these up because in the process of doing this I corrupted the filesystem on the MicroSD card enough times that I kept having to do this. If you don&#039;t understand what these scripts are doing, don&#039;t run them. Ah, and I use sudo lots, so you probably want do add this to /etc/sudoers:&lt;br /&gt;
&lt;br /&gt;
 user ALL = NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==freemoe-mer-install==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Earlier versions of this &amp;quot;howto&amp;quot; used partition 1. I now have everything on partition 3!!!! Update your scripts as needed!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;this is going to format your microsd, take care!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;EARLIER VERSIONS OF THIS SCRIPT USED PARTITION 1&amp;quot;&lt;br /&gt;
 echo &amp;quot;IT IS NOW USING PARITION 3! BEWARE AND UPDATE YOUR SCRIPT AS NEEDED!&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 read ok&lt;br /&gt;
 read ok&lt;br /&gt;
 exit 0  # you get this right?&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
  &lt;br /&gt;
 sudo umount /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mkfs.ext3 -j -m1 /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo fsck -vvv /dev/mmcblk1p3&lt;br /&gt;
 &lt;br /&gt;
 sudo mount -o noatime /dev/mmcblk1p3 /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 cd /media/mmc3/&lt;br /&gt;
 &lt;br /&gt;
 sudo tar zxf /home/user/MyDocs/Mer/mer-armel-generic-image-v0.17testing4.tar.gz&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -a /lib/modules/*  /media/mmc3/lib/modules/&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;WARNING WARNING WARNING!!!!&amp;quot;&lt;br /&gt;
 echo &amp;quot;Copying over NON-FREE FIRMWARE&amp;quot;&lt;br /&gt;
 echo &amp;quot;PAY PENANCE!!!!&amp;quot;&lt;br /&gt;
 sudo cp -a /lib/firmware/*  /media/mmc3/lib/firmware/&lt;br /&gt;
 &lt;br /&gt;
 sudo patch -p0 &amp;lt; /home/user/MyDocs/Mer/auto-startx-n900.patch&lt;br /&gt;
 &lt;br /&gt;
 # not needed&lt;br /&gt;
 sudo chmod +x etc/init.d/auto-startx&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /home/user/MyDocs/Mer/mer-setup-in-chroot ./&lt;br /&gt;
 &lt;br /&gt;
 sudo chmod +x mer-setup-in-chroot&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;add . to root&#039;s PATH to help with debugging&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root-bashrc /media/mmc3/root/.bashrc&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;copy over some scripts to help with debug&amp;quot;&lt;br /&gt;
 #sudo cp -p /home/user/MyDocs/Mer/root/* /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 #echo &amp;quot;WARNING: this leaves /root with less-than-optimal perms&amp;quot;&lt;br /&gt;
 #sudo chmod -R +x /media/mmc3/root/&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /etc/apt/auth /media/mmc3/etc/apt/&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 echo &amp;quot;now run ./mer-setup-in-chroot after you enter the chroot&amp;quot;&lt;br /&gt;
 echo &amp;quot;this is convenient too:&amp;quot;&lt;br /&gt;
 echo &amp;quot;export HOME=/root&amp;quot;&lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo chroot /media/mmc3 /bin/bash&lt;br /&gt;
&lt;br /&gt;
==mer-setup-in-chroot==&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 # run this chrooted&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 &lt;br /&gt;
 apt-get remove xserver-xorg-input-synaptics xserver-xorg-input-all&lt;br /&gt;
 &lt;br /&gt;
 apt-get install xserver-xorg-input-tslib&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
&lt;br /&gt;
==auto-startx-n900.patch==&lt;br /&gt;
&lt;br /&gt;
 --- etc/init.d/auto-startx.orig	2009-10-20 12:39:30.000000000 -0300&lt;br /&gt;
 +++ etc/init.d/auto-startx	2009-12-31 13:46:06.000000000 -0300&lt;br /&gt;
 @@ -8,6 +8,7 @@&lt;br /&gt;
  start)&lt;br /&gt;
  	if [ ! -f /etc/default/autologin ] ; then&lt;br /&gt;
  		if [ -x /usr/sbin/first-boot-wizard.sh ] ; then&lt;br /&gt;
 +			TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&lt;br /&gt;
  			/usr/bin/xinit /usr/sbin/first-boot-wizard.sh 2&amp;gt;&amp;amp;1 &amp;gt; /var/log/first-boot-wizard.log&lt;br /&gt;
  		else&lt;br /&gt;
  			echo -n &amp;quot;No user specified for auto login. Creating...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Installing Fremantle Packages=&lt;br /&gt;
Mer is missing some key parts, such as charging from battery and making phone calls. The first is killer, the second is a major drawback... Nokia decided to keep these parts proprietary which makes Mer on the N900 pretty pointless actually. Gar.&lt;br /&gt;
&lt;br /&gt;
So I thought I would try to install (most begrudgingly) their proprietary Fremantle battery and cell phone applications under Mer. I was able to get the battery applet and some of the hal stuff going, but I don&#039;t think it was actually *doing* andything. I then installed the cell phone application, which pretty much screwed up the install.&lt;br /&gt;
&lt;br /&gt;
So, in sum, the following doesn&#039;t work, but is a possible starting point for getting battery charging working under Mer.&lt;br /&gt;
&lt;br /&gt;
I didn&#039;t have access to the original .debs, so I decided to just reconstruct them from the ones already installed under fremantle. It&#039;s a bit out there, but this is how I did it:&lt;br /&gt;
&lt;br /&gt;
 # boot into Mer&lt;br /&gt;
 &lt;br /&gt;
 # We&#039;ll use dpkg-repack to rebuild the .debs&lt;br /&gt;
 apt-get install dpkg-repack&lt;br /&gt;
 &lt;br /&gt;
 # set up nice working space:&lt;br /&gt;
 mkdir -p /mnt/fremantle&lt;br /&gt;
 &lt;br /&gt;
 # umount the read/write of the NAND since we crash all the time and run out of battery&lt;br /&gt;
 umount /mnt/initfs&lt;br /&gt;
 &lt;br /&gt;
 # Remount it read-only some place nicer&lt;br /&gt;
 mount -o ro -t ubifs ubi0:rootfs /mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # And put /home and the infamous /opt there too&lt;br /&gt;
 mount -o ro /dev/mmcblk1p2 /mnt/fremantle/home/&lt;br /&gt;
 &lt;br /&gt;
 # ...and MyDocs under that&lt;br /&gt;
 mount -o ro /dev/mmcblk1p1 /mnt/fremantle/home/user/MyDocs/&lt;br /&gt;
 &lt;br /&gt;
 # Set up stupid symlink for the /opt mess&lt;br /&gt;
 cd /home&lt;br /&gt;
 ln -s /mnt/fremantle/home/opt .&lt;br /&gt;
 &lt;br /&gt;
 # create a nice place to put the .debs we&#039;ll create&lt;br /&gt;
 mkdir /root/REPACKS &lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 &lt;br /&gt;
 # take a look all those fremantle applications&lt;br /&gt;
 dpkg -l --root=/mnt/fremantle/&lt;br /&gt;
 &lt;br /&gt;
 # Repack some random single package&lt;br /&gt;
 dpkg-repack --root=/mnt/fremantle/ burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # rebuild the local repo&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # Add this to /etc/apt/sources.list and perhaps comment out all the others&lt;br /&gt;
 deb file:///root/REPACKS ./&lt;br /&gt;
 &lt;br /&gt;
 # update from our new local repo&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # and see that it works&lt;br /&gt;
 apt-cache search burgerspace&lt;br /&gt;
 &lt;br /&gt;
 # if that works, you can do them one at a time, or repack all of the &lt;br /&gt;
 # fremantle debs with this:&lt;br /&gt;
 for i in `dpkg -l --root=/mnt/fremantle/ |grep ii | cut -f 3 -d &amp;quot; &amp;quot;` ;&lt;br /&gt;
 do echo $i&lt;br /&gt;
 	dpkg-repack --root=/mnt/fremantle/ $i&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 # Then re-run the archiverthinger&lt;br /&gt;
 cd /root/REPACKS&lt;br /&gt;
 dpkg-scanpackages . /dev/null | gzip -9c &amp;gt; Packages.gz&lt;br /&gt;
 &lt;br /&gt;
 # update&lt;br /&gt;
 apt-get update&lt;br /&gt;
 &lt;br /&gt;
 # now install whatever&lt;br /&gt;
 apt-get install foo&lt;br /&gt;
 &lt;br /&gt;
 # This will get you a battery applet. It appears in the notification&lt;br /&gt;
 # area, but I&#039;m not sure if it is working or not. Perhaps try rebooting&lt;br /&gt;
 # after installing it, and don&#039;t install other stuff which may pooch it&lt;br /&gt;
 apt-get install hald-addon-bme bme-rx-51 status-area-applet-battery&lt;br /&gt;
 &lt;br /&gt;
 # After I installed this, I had a mess&lt;br /&gt;
 apt-get install rtcom-call-ui&lt;br /&gt;
&lt;br /&gt;
Oh, and I guess I should also point out, that all of this needs to be done because nokia is doing something funky with apt-transport-https. I tried rebuilding theirs and using it under Mer, but it barfed on libraries. I tried using the Ubuntu one but that didn&#039;t work with the Nokia repos, even after copying over /etc/apt/auth.&lt;br /&gt;
&lt;br /&gt;
Another way to do this would perhaps be to apt-get mirror the repos, if possible or a --download-only type approach. I didn&#039;t have apt-transport-https working so I just did this. Time for bed.&lt;br /&gt;
&lt;br /&gt;
=Build Packages=&lt;br /&gt;
Packages are built using OpenSUSE&#039;s Build Service&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service Build Service]&lt;br /&gt;
&lt;br /&gt;
* [http://en.wikipedia.org/wiki/OpenSUSE_Build_Service wikipedia on OBS]&lt;br /&gt;
&lt;br /&gt;
* [http://en.opensuse.org/Build_Service/Tutorial Build Service Tutorial]&lt;br /&gt;
&lt;br /&gt;
* [http://forge.novell.com/modules/xfmod/project/?opensuse Build Service source]&lt;br /&gt;
&lt;br /&gt;
* Sign up for account on OBS: jebbajeb&lt;br /&gt;
&lt;br /&gt;
*  [https://build.opensuse.org/]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer Maemo Community distribution (Maemo:Mer)]&lt;br /&gt;
&lt;br /&gt;
* [https://build.opensuse.org/project/show?project=Maemo%3AMer%3ADevel%3AHW%3AN900%3ADevel Development repository (Maemo:Mer:Devel:HW:N900:Devel)]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Jebba/Fedora&amp;diff=48600</id>
		<title>User:Jebba/Fedora</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Jebba/Fedora&amp;diff=48600"/>
		<updated>2010-07-14T00:14:57Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* freemoe-fedora-install */  Notice to change partition numbers in script.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have installed Fedora 12 on my Nokia N900.&lt;br /&gt;
&lt;br /&gt;
[[Image:N900-fedora-f12.jpg|left|thumb|alt=Jebba&#039;s N900 Fedora 12|Fedora 12 on N900]]&lt;br /&gt;
&lt;br /&gt;
Screen reads:&lt;br /&gt;
&lt;br /&gt;
 Fedora release 12 (Constantine)&lt;br /&gt;
 Kernel 2.6.28-omap1-jebba5 on an arm7l (tty1)&lt;br /&gt;
 &lt;br /&gt;
 fedora-arm login: _&lt;br /&gt;
&lt;br /&gt;
=HOWTO Install Fedora 12 on Nokia N900=&lt;br /&gt;
It boots up happily. No GUI, no phonecalls, no battery charging support, etc. Wifi works. Testing xorg RSN.&lt;br /&gt;
&lt;br /&gt;
==Kernel==&lt;br /&gt;
You will need to install a kernel that has a framebuffer console. You can use your own or use mine. See: [[User:Jebba/Kernel#Installing_my_custom_kernel | Installing my custom kernel]] if you would like to use mine. Version 2.6.28-omap1-jebba5 is known to &amp;quot;work&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==bootmenu==&lt;br /&gt;
You need to have getbootstate version 1.0.35+0m5 or greater for this to work. These docs are basically the same as installing [[User:Jebba/Mer | Mer]].&lt;br /&gt;
&lt;br /&gt;
 dpkg -l getbootstate&lt;br /&gt;
&lt;br /&gt;
(As a side note, [https://bugs.maemo.org/show_bug.cgi?id=7019 getbootstate is closed software]. Please vote for this bug and/or clamour for it to be released as free software.)&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showpost.php?p=372885&amp;amp;postcount=22 discussion on t.m.o]&lt;br /&gt;
&lt;br /&gt;
I have four partitions on my MicroSD card. The first one is 100M of VFAT just to shut up fremantle. The second is 1G of swap. The third is 7G of space for fremantle. The remaining space is around 7G of space for Fedora. You can install it in far less space, but I have a 16G card, so that&#039;s what I did. These docs assume you use my partitioning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 # Boot up into Maemo / Fremantle&lt;br /&gt;
 &lt;br /&gt;
 # Grab this package:&lt;br /&gt;
 wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb&lt;br /&gt;
 &lt;br /&gt;
 # Be root&lt;br /&gt;
 sudo gainroot&lt;br /&gt;
 &lt;br /&gt;
 # Install bootmenu&lt;br /&gt;
 dpkg -i bootmenu_1.6_armel.deb&lt;br /&gt;
&lt;br /&gt;
Then tappy tap tap the bootmenu install icon and answer yes.&lt;br /&gt;
&lt;br /&gt;
Now you need to set up Fedora in the menu for bootmenu. See also: [[Mer/Documentation/Bootmenu| Mer bootmenu docs]].&lt;br /&gt;
&lt;br /&gt;
I put everything on the forth partition on an ext3 formatted &amp;quot;external&amp;quot; MicroSD card (the one that&#039;s right next to the camera).&lt;br /&gt;
&lt;br /&gt;
 # edit/create this file to create a boot menu item for Fedora:&lt;br /&gt;
 vim /etc/bootmenu.d/fedora.ext.item&lt;br /&gt;
 &lt;br /&gt;
 # Make it look justa lika thisa:&lt;br /&gt;
 &lt;br /&gt;
 ITEM_NAME=&amp;quot;Fedora 12 (external SD, partition 4)&amp;quot;&lt;br /&gt;
 ITEM_ID=&amp;quot;fedora&amp;quot;&lt;br /&gt;
 ITEM_DEVICE=&amp;quot;${EXT_CARD}p4&amp;quot;&lt;br /&gt;
 ITEM_MODULES=&amp;quot;mbcache jbd ext3&amp;quot;&lt;br /&gt;
 ITEM_FSTYPE=&amp;quot;ext3&amp;quot;&lt;br /&gt;
 ITEM_FSOPTIONS=&amp;quot;noatime,rw&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then shutoff the phone and reboot with KEYBOARD SLID OUT, so you get the bootmenu.&lt;br /&gt;
&lt;br /&gt;
==rootfs==&lt;br /&gt;
&lt;br /&gt;
Boot into your system like &amp;quot;normal&amp;quot; into Maemo fremantle.&lt;br /&gt;
&lt;br /&gt;
Set up and download the needed files:&lt;br /&gt;
&lt;br /&gt;
 # This will be a nice place to keep things&lt;br /&gt;
 mkdir -p /home/user/MyDocs/Fedora/rootfs&lt;br /&gt;
 &lt;br /&gt;
 # go hence&lt;br /&gt;
 cd /home/user/MyDocs/Fedora/rootfs&lt;br /&gt;
 &lt;br /&gt;
 # grab the root image&lt;br /&gt;
 wget http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/rootfs-f12.tar.bz2&lt;br /&gt;
&lt;br /&gt;
===fedora-setup-in-chroot===&lt;br /&gt;
Make this file and put it here:&lt;br /&gt;
/home/user/MyDocs/Fedora/fedora-setup-in-chroot&lt;br /&gt;
&lt;br /&gt;
Note, in future revisions, I will have more in this script, this is just a starting point for now.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;uh, set a root password!&amp;quot;&lt;br /&gt;
 passwd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===freemoe-fedora-install===&lt;br /&gt;
Make &amp;amp; run this script; adjust the partition numbers to match your own setup.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 set -x&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;this is going to format your microsd, take care!&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;THIS FORMATS PARTITION 4 ON YOUR MICROSD&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 read ok&lt;br /&gt;
 read ok&lt;br /&gt;
 exit 0 # you get this i hope&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo umount /dev/mmcblk1p4&lt;br /&gt;
 &lt;br /&gt;
 sudo mkfs.ext3 -j -m1 /dev/mmcblk1p4&lt;br /&gt;
 &lt;br /&gt;
 sudo fsck -vvv /dev/mmcblk1p4&lt;br /&gt;
 &lt;br /&gt;
 sudo mkdir -p /media/mmc4&lt;br /&gt;
 &lt;br /&gt;
 sudo mount -o noatime /dev/mmcblk1p4 /media/mmc4/&lt;br /&gt;
 &lt;br /&gt;
 cd /media/mmc4/&lt;br /&gt;
 &lt;br /&gt;
 bzcat /home/user/MyDocs/Fedora/rootfs/rootfs-f12.tar.bz2 | sudo tar x&lt;br /&gt;
 &lt;br /&gt;
 sudo mv rootfs-f12/* .&lt;br /&gt;
 sudo rmdir rootfs-f12&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -a /lib/modules/*  /media/mmc4/lib/modules/&lt;br /&gt;
 &lt;br /&gt;
 echo &amp;quot;WARNING WARNING WARNING!!!!&amp;quot;&lt;br /&gt;
 echo &amp;quot;Copying over NON-FREE FIRMWARE&amp;quot;&lt;br /&gt;
 echo &amp;quot;PAY PENANCE!!!!&amp;quot;&lt;br /&gt;
 sudo cp -a /lib/firmware/*  /media/mmc4/lib/firmware/&lt;br /&gt;
 &lt;br /&gt;
 sudo cp -p /home/user/MyDocs/Fedora/fedora-setup-in-chroot ./&lt;br /&gt;
 &lt;br /&gt;
 sudo chmod +x fedora-setup-in-chroot&lt;br /&gt;
 &lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 echo&lt;br /&gt;
 echo &amp;quot;now run ./fedora-setup-in-chroot after you enter the chroot&amp;quot;&lt;br /&gt;
 echo &amp;quot;this is convenient too:&amp;quot;&lt;br /&gt;
 echo &amp;quot;export HOME=/root&amp;quot;&lt;br /&gt;
 echo&lt;br /&gt;
 &lt;br /&gt;
 sudo chroot /media/mmc4 /bin/bash&lt;br /&gt;
&lt;br /&gt;
==Disable watchdog==&lt;br /&gt;
You have to disable the watchdog with the flasher tool or the system will just shut down on bootup:&lt;br /&gt;
&lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-omap-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --set-rd-flags=no-ext-wd&lt;br /&gt;
 &lt;br /&gt;
 ./flasher-3.5 --enable-rd-mode&lt;br /&gt;
&lt;br /&gt;
=Wifi=&lt;br /&gt;
&lt;br /&gt;
You&#039;ll also need to add &amp;quot;.&amp;quot; to root&#039;s PATH or put that somewhere it root&#039;s PATH.&lt;br /&gt;
&lt;br /&gt;
 [root@fedora-arm ~]# tail -1 /root/.bashrc &lt;br /&gt;
&lt;br /&gt;
Here&#039;s a crufty crappy script to get wifi and net:&lt;br /&gt;
&lt;br /&gt;
 # cat wlanon &lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 WLAN=`iwconfig |grep wlan | cut -f 1 -d &amp;quot; &amp;quot;`&lt;br /&gt;
 echo &amp;quot;$WLAN&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 ifconfig $WLAN down&lt;br /&gt;
 sleep 1&lt;br /&gt;
 iwconfig $WLAN mode managed&lt;br /&gt;
 sleep 1&lt;br /&gt;
 ifconfig $WLAN up&lt;br /&gt;
 sleep 1&lt;br /&gt;
 iwconfig $WLAN essid consume&lt;br /&gt;
 sleep 1&lt;br /&gt;
 ifconfig $WLAN 10.0.0.3 netmask 255.255.255.0 up&lt;br /&gt;
 &lt;br /&gt;
 iwconfig $WLAN&lt;br /&gt;
 sleep 2&lt;br /&gt;
 ifconfig $WLAN&lt;br /&gt;
 &lt;br /&gt;
 route add default gw 10.0.0.2&lt;br /&gt;
&lt;br /&gt;
==OLD==&lt;br /&gt;
&lt;br /&gt;
(Will add this to script later)&lt;br /&gt;
&lt;br /&gt;
I got wifi going by writing a simple script that I can run at boot. Can&#039;t use many of the keys, so no &amp;quot;0&amp;quot;, &amp;quot;/&amp;quot; etc. I used iwconfig which I yum installed in the chroot, but this could easily be done with the more modern &amp;quot;iw&amp;quot; which comes installed.&lt;br /&gt;
&lt;br /&gt;
 [root@fedora-arm ~]# cat startiwconfig&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 iwconfig wlan0 essid consume&lt;br /&gt;
 dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
 PATH=$PATH:.&lt;br /&gt;
&lt;br /&gt;
 # cat /etc/sysconfig/network-scripts/ifcfg-wlan0 &lt;br /&gt;
 # WLAN Interface&lt;br /&gt;
 DEVICE=wlan0&lt;br /&gt;
 #HWADDR=00:00:00:00:00:00&lt;br /&gt;
 ONBOOT=no&lt;br /&gt;
 BOOTPROTO=dhcp&lt;br /&gt;
 TYPE=Wireless&lt;br /&gt;
 NM_CONTROLLED=no&lt;br /&gt;
 USERCTL=yes&lt;br /&gt;
 PEERDNS=yes&lt;br /&gt;
 IPV6INIT=no&lt;br /&gt;
 #MODE=Master&lt;br /&gt;
 RATE=auto&lt;br /&gt;
 ESSID=consume&lt;br /&gt;
 CHANNEL=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: I had wifi working fine, then I installed a bunch of apps and network config broke and can&#039;t find the device anymore. :(&lt;br /&gt;
&lt;br /&gt;
Note 2: If you reboot without powering off or perhaps yanking the battery, your device may appear as wlan2 or wlan3 etc.&lt;br /&gt;
&lt;br /&gt;
=X.org=&lt;br /&gt;
X is up and running with XFCE &amp;amp; openbox. I have the touchscreen working. I can do touchscreen calibration.&lt;br /&gt;
&lt;br /&gt;
 # as root, I did this via ssh when networking was working&lt;br /&gt;
 yum groupinstall Base-X&lt;br /&gt;
 &lt;br /&gt;
 # grab a desktop. No openbox or lxde available at the moment for ARM.&lt;br /&gt;
 yum groupinstall XFCE&lt;br /&gt;
 &lt;br /&gt;
 # Screen config.&lt;br /&gt;
 yum install tslib xorg-x11-apps&lt;br /&gt;
 &lt;br /&gt;
 # fix /etc/hosts to this so XFCE doesn&#039;t complain:&lt;br /&gt;
 127.0.0.1       localhost localhost.localdomain fedora-arm&lt;br /&gt;
 &lt;br /&gt;
 # since keyboard isn&#039;t working you have to set up this script from&lt;br /&gt;
 # chroot or ssh in:&lt;br /&gt;
 echo &amp;quot;TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate&amp;quot; &amp;gt; /root/ts&lt;br /&gt;
 chmod +x /root/ts&lt;br /&gt;
 &lt;br /&gt;
 # then next time you boot up, log in as root and run &amp;quot;ts&amp;quot; to calibrate.&lt;br /&gt;
 &lt;br /&gt;
 # Uncomment this line in /etc/ts.conf:&lt;br /&gt;
 module_raw input&lt;br /&gt;
&lt;br /&gt;
=Misc=&lt;br /&gt;
&lt;br /&gt;
In a chroot I wanted to do a `yum update` and installs. Did a `mount -a` and needed to create a device:&lt;br /&gt;
&lt;br /&gt;
 cd /dev&lt;br /&gt;
 MAKEDEV urandom&lt;br /&gt;
&lt;br /&gt;
 yum update&lt;br /&gt;
 yum install wireless-tools openssh-clients git&lt;br /&gt;
&lt;br /&gt;
 route add default gw 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
* disable /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
* Have lame network startup script run at boot.&lt;br /&gt;
&lt;br /&gt;
* stop startup stuff&lt;br /&gt;
&lt;br /&gt;
 chkconfig abrtd off&lt;br /&gt;
 chkconfig auditd off&lt;br /&gt;
 chkconfig ip6tables off&lt;br /&gt;
 chkconfig iptables off&lt;br /&gt;
 chkconfig netconsole off&lt;br /&gt;
 chkconfig netfs off&lt;br /&gt;
 chkconfig restorecond off&lt;br /&gt;
&lt;br /&gt;
* Build tools:&lt;br /&gt;
&lt;br /&gt;
 yum groupinstall --skip-broken &amp;quot;Development Tools&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
yum install -y vim-enhanced file gqview xorg-x11-apps xterm&lt;br /&gt;
&lt;br /&gt;
* Auto login, edit /etc/gdm/custom.conf&lt;br /&gt;
 [daemon]&lt;br /&gt;
 AutomaticLoginEnable=true&lt;br /&gt;
 AutomaticLogin=jebba&lt;br /&gt;
&lt;br /&gt;
* Edit /etc/inittab to set default runlevel to 5.&lt;br /&gt;
&lt;br /&gt;
To get X pointer and keyboard working:&lt;br /&gt;
&lt;br /&gt;
* Mount up Maemo root partition:&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /mnt/maemo&lt;br /&gt;
 mount -t ubifs ubi0:rootfs /mnt/maemo&lt;br /&gt;
&lt;br /&gt;
* /usr/share/hal/fdi/* stuff from maemo to get touchscreen working in X. Copy it to /etc/hal/...&lt;br /&gt;
&lt;br /&gt;
* Copy over xkb stuff to get numbers etc from keyboard working:&lt;br /&gt;
&lt;br /&gt;
 mv /usr/share/X11/xkb /usr/share/X11/xkb.f12&lt;br /&gt;
 cp -a /mnt/maemo/usr/share/X11/xkb /usr/share/X11/xkb&lt;br /&gt;
&lt;br /&gt;
* ofono&lt;br /&gt;
&lt;br /&gt;
 yum -y install glib2-devel dbus-devel libudev-devel&lt;br /&gt;
&lt;br /&gt;
To initialize modem, you need to run this non-free command:&lt;br /&gt;
&lt;br /&gt;
 /mnt/initfs/sbin/phonet -a 0x6C -i phonet0&lt;br /&gt;
 ifconfig phonet0 up # or:&lt;br /&gt;
 ip link set dev phonet0 up&lt;br /&gt;
&lt;br /&gt;
* misc misc misc&lt;br /&gt;
&lt;br /&gt;
 yum -y install openbox rxvt-unicode alsa-utils sox&lt;br /&gt;
&lt;br /&gt;
=Battery?=&lt;br /&gt;
Copying over the script from Mer to get the battery working appears to run, not certain how it is working yet.&lt;br /&gt;
&lt;br /&gt;
 cp -p /mnt/mer/etc/init.d/n900-support /etc/init.d/&lt;br /&gt;
 # edit n900-support, adding this line:&lt;br /&gt;
 # chkconfig: - 58 74&lt;br /&gt;
 chkconfig --level 35 n900-support on&lt;br /&gt;
&lt;br /&gt;
=watchdog=&lt;br /&gt;
To disable R&amp;amp;D mode, try this:&lt;br /&gt;
&lt;br /&gt;
 yum -y install watchdog&lt;br /&gt;
 wget http://atorkhov.fedorapeople.org/n900_wd-1-1.noarch.rpm&lt;br /&gt;
 rpm -Uvh n900_wd-1-1.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
==kludge up symlinks==&lt;br /&gt;
&lt;br /&gt;
 chroot /mnt/initfs/&lt;br /&gt;
 ln -s /f12/tmp/bme-dbus-socket /tmp/bme-dbus-socket&lt;br /&gt;
&lt;br /&gt;
Outside chroot:&lt;br /&gt;
 ln -s /mnt/initfs/tmp/dsmesock /tmp/&lt;br /&gt;
 sudo ln -s /mnt/initfs/tmp/.bmesrv /tmp/&lt;br /&gt;
 &lt;br /&gt;
 cp -p /mnt/initfs/usr/lib/libbmeipc.so.0 /usr/lib&lt;br /&gt;
 cp -p /mnt/initfs/usr/lib/hal/hald-addon-bme /usr/libexec/hald-addon-bme&lt;br /&gt;
 cp -p /mnt/initfs/usr/share/hal/fdi/policy/10osvendor/10-bme.fdi /etc/hal/fdi/policy/10osvendor/&lt;br /&gt;
&lt;br /&gt;
==watchdog other==&lt;br /&gt;
Here&#039;s some scripts that I got from somewhere, i think another fedora/n900 user. :)  It is another way to disable the watchdog without having to enter R&amp;amp;D mode.&lt;br /&gt;
&lt;br /&gt;
===n900_wd===&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #&lt;br /&gt;
 # chkconfig: 12345 01 99&lt;br /&gt;
 # description: N900 watchdog kicker&lt;br /&gt;
 #&lt;br /&gt;
 &lt;br /&gt;
 # Source function library.&lt;br /&gt;
 . /etc/rc.d/init.d/functions&lt;br /&gt;
 &lt;br /&gt;
 [ -x /usr/sbin/wd_keepalive ] || exit 0&lt;br /&gt;
 &lt;br /&gt;
 RETVAL=0&lt;br /&gt;
 prog=wd_keepalive&lt;br /&gt;
 pidfile=/var/run/wd_keepalive.pid&lt;br /&gt;
 lockfile=/var/lock/subsys/n900_wd&lt;br /&gt;
 &lt;br /&gt;
 start() {&lt;br /&gt;
 	echo -n $&amp;quot;Starting $prog: &amp;quot;&lt;br /&gt;
 	/usr/sbin/${prog} -c /etc/watchdog-omap.conf&lt;br /&gt;
 	RETVAL=$?&lt;br /&gt;
 	[ $RETVAL -ne 0 ] &amp;amp;&amp;amp; (echo_failure; echo; return $RETVAL)&lt;br /&gt;
 	/usr/sbin/${prog} -c /etc/watchdog-twl4030.conf&lt;br /&gt;
 	RETVAL=$?&lt;br /&gt;
 	[ $RETVAL -eq 0 ] &amp;amp;&amp;amp; touch $lockfile&lt;br /&gt;
 	[ $RETVAL -eq 0 ] &amp;amp;&amp;amp; echo_success&lt;br /&gt;
 	[ $RETVAL -ne 0 ] &amp;amp;&amp;amp; echo_failure&lt;br /&gt;
 	echo&lt;br /&gt;
 	return $RETVAL&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 stop() {&lt;br /&gt;
 	rm -f $lockfile $pidfile&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
   start)&lt;br /&gt;
 	start&lt;br /&gt;
 	;;&lt;br /&gt;
   stop)&lt;br /&gt;
 	stop&lt;br /&gt;
 	;;&lt;br /&gt;
   status)&lt;br /&gt;
 	status $prog&lt;br /&gt;
 	RETVAL=$?&lt;br /&gt;
 	;;&lt;br /&gt;
   *)&lt;br /&gt;
 	echo $&amp;quot;Usage: $0 {start|status}&amp;quot;&lt;br /&gt;
 	exit 1&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
===watchdog-twl4030.conf===&lt;br /&gt;
&lt;br /&gt;
 watchdog-device		= /dev/twl4030_wdt&lt;br /&gt;
 interval		= 10&lt;br /&gt;
 realtime		= yes&lt;br /&gt;
 priority		= 1&lt;br /&gt;
&lt;br /&gt;
===watchdog-omap.conf===&lt;br /&gt;
&lt;br /&gt;
 watchdog-device		= /dev/watchdog&lt;br /&gt;
 interval		= 10&lt;br /&gt;
 realtime		= yes&lt;br /&gt;
 priority		= 1&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
&lt;br /&gt;
* [http://talk.maemo.org/showthread.php?t=38987 Thread about Fedora 12 on talk.maemo.org]&lt;br /&gt;
&lt;br /&gt;
* [http://fedoraproject.org/wiki/Architectures/ARM ARM at Fedora wiki]&lt;br /&gt;
&lt;br /&gt;
* [http://fedora-arm.blogspot.com/ Fedora ARM blog]&lt;br /&gt;
&lt;br /&gt;
* [https://www.redhat.com/archives/fedora-arm/ Fedora ARM mailing list archives]&lt;br /&gt;
&lt;br /&gt;
* [https://bugzilla.redhat.com/show_bug.cgi?id=ARMTracker Fedora ARM bug tracker]&lt;br /&gt;
&lt;br /&gt;
* [http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/?C=M;O=D Fedora ARM roots]&lt;br /&gt;
&lt;br /&gt;
* [[User:Jebba/Mer | My docs on installing Mer, which is similar procedure]]&lt;br /&gt;
&lt;br /&gt;
* [http://alexeytorkhov.blogspot.com/2010/02/running-fedora-arm-on-nokia-n900.html Another N900/Fedora user]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Customizing_Maemo&amp;diff=5237</id>
		<title>Customizing Maemo</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Customizing_Maemo&amp;diff=5237"/>
		<updated>2010-07-13T22:46:24Z</updated>

		<summary type="html">&lt;p&gt;94.10.155.86: /* Where are the slider screen files located? */  In /opt/usr not /usr ?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Expand}}&lt;br /&gt;
&lt;br /&gt;
This article will someday describe how everybody can customize Maemo 5 to make it as personal as possible. Discussion on t.m.o concerning customization in [http://talk.maemo.org/showthread.php?t=32845 this thread].&lt;br /&gt;
&lt;br /&gt;
== Editing home ==&lt;br /&gt;
&lt;br /&gt;
Through the Edit mode of the Home screen it is possible to:&lt;br /&gt;
* Add/move/delete widgets/shortcuts/contacts/bookmarks on the desktop&lt;br /&gt;
* Change the the number of desktop home views (1-4 views are available)&lt;br /&gt;
* Change background of the home (either for individual view or for all home views simultaneously through wallpaper sets)&lt;br /&gt;
* Change active theme of the device (out of the themes available/installed on the device)&lt;br /&gt;
Entering the edit mode happens by long tapping the home screen or by tapping the home screen background once and then tapping the Edit mode button which slides down at the top right corner of the home screen.&lt;br /&gt;
&lt;br /&gt;
== Themes ==&lt;br /&gt;
&lt;br /&gt;
Available themes can be installed straight from Application Manager. If you want to make your own theme, see below. See also article [[Themes]].&lt;br /&gt;
&lt;br /&gt;
== Wallpapers ==&lt;br /&gt;
&lt;br /&gt;
There is already [http://www.n900wallpapers.com/ n900wallpapers.com] for wallpapers. Unfortunately, you need a .desktop-file if you want to configure panoramic wallpapers for now.&lt;br /&gt;
&lt;br /&gt;
There will be an application for wallpaper handling to be released (hopefully) soon. See [http://www.n900wallpapers.com/prismic Prismic wallpaper manager]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also see [[Customizing_Maemo#Wallpapers_2]]&lt;br /&gt;
&lt;br /&gt;
== Advanced customization ==&lt;br /&gt;
&#039;&#039;&#039;DISCLAIMER: Following instructions are only for [[:Category:Power_users|Power users]], and operations are potentially dangerous. Please see [[General precautions]] for further information.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Same Shortcut on multiple desktops ===&lt;br /&gt;
&lt;br /&gt;
Use the same shortcut twice on the desktops can be useful. In order to do it, you have to manually modify appropiate .desktop file by adding the &amp;quot;X-Multiple=true&amp;quot; entry into the file. See [[Desktop file format]] for further information.&lt;br /&gt;
&lt;br /&gt;
=== Welcome screen ===&lt;br /&gt;
&lt;br /&gt;
It is possible to edit hildon-welcome. A howto is available [http://talk.maemo.org/showpost.php?p=347925&amp;amp;postcount=9 here]. Examples: [http://talk.maemo.org/showpost.php?p=347794&amp;amp;postcount=1 &amp;quot;Open source. Open heart. Open future.&amp;quot;], [http://talk.maemo.org/showpost.php?p=350710&amp;amp;postcount=1 &amp;quot;The Power of Open.&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
To insert your own video follow these instructions (from the link above thanks to VDVsx):&lt;br /&gt;
&lt;br /&gt;
# Copy the video you want to play to /usr/share/hildon-welcome/media&lt;br /&gt;
# Go to /etc/hildon-welcome.d/ and edit the default.conf file or create a similar one (the videos will play by the alphabetic order of the .conf files)&lt;br /&gt;
&lt;br /&gt;
=== LED notifications ===&lt;br /&gt;
&lt;br /&gt;
Detailed description for modifying LED -notifications can be found in [[LED patterns]] -article.&lt;br /&gt;
&lt;br /&gt;
=== Themes ===&lt;br /&gt;
&lt;br /&gt;
There is an application for making themes to Maemo OS2008. This will be updated as soon as possible to cover also N900 and Maemo5. See article [[Making themes]].&lt;br /&gt;
&lt;br /&gt;
=== Wallpapers ===&lt;br /&gt;
&lt;br /&gt;
If you want to make panoramic wallpapers of your own, you need to create a .desktop -file and put it to same directory where your pictures are.&lt;br /&gt;
&lt;br /&gt;
Example of a .desktop -file:&lt;br /&gt;
 [Desktop Entry]&lt;br /&gt;
 Type=Background Image&lt;br /&gt;
 Name=Deers&lt;br /&gt;
 Hidden=true&lt;br /&gt;
 &lt;br /&gt;
 X-File1=/home/user/MyDocs/.images/deer1.png&lt;br /&gt;
 X-File2=/home/user/MyDocs/.images/deer2.png&lt;br /&gt;
 X-File3=/home/user/MyDocs/.images/deer3.png&lt;br /&gt;
 X-File4=/home/user/MyDocs/.images/deer4.png&lt;br /&gt;
 &lt;br /&gt;
 X-Order=01&lt;br /&gt;
&lt;br /&gt;
====How to change a certain wall paper in terminal?====&lt;br /&gt;
 gconftool -s --type string /apps/osso/hildon-desktop/views/1/bg-image $PATHTOIMAGE&lt;br /&gt;
&lt;br /&gt;
Replace number &amp;quot;1&amp;quot; with the number of the desktop that you&#039;d like change.&amp;lt;ref&amp;gt;http://talk.maemo.org/showpost.php?p=483028&amp;amp;postcount=2&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Where are the slider screen files located?====&lt;br /&gt;
The background image is lockslider.png and goes in /opt/usr/share/themes/alpha/backgrounds/&lt;br /&gt;
&lt;br /&gt;
The other images (LockSliderTop.png, LockSliderThumbPortrait.png, LockSliderThumb.png, LockSliderRight.png, LockSliderLeft.png, LockSliderBottom.png) go in /opt/usr/share/themes/alpha/images&lt;br /&gt;
&lt;br /&gt;
===Using the same widget on multiple desktops===&lt;br /&gt;
&lt;br /&gt;
The folder /usr/share/applications/hildon contains files that contain info about installed programs. Duplicating these files will result in duplicating them in the shortcut list. However, this will result in a side effect causing the program to show multiple times the programs in the &amp;quot;More..&amp;quot; folder.&lt;br /&gt;
&lt;br /&gt;
=== Contents of power key menu ===&lt;br /&gt;
&lt;br /&gt;
Information on how to add reboot button to power key menu, add new keyboard shortcuts [http://talk.maemo.org/showthread.php?t=39565 N900 MODs]&lt;br /&gt;
&lt;br /&gt;
Instructions on how to add the reboot key (from the link above thanks to f2thak):&lt;br /&gt;
&lt;br /&gt;
# Open xterm and type sudo gainroot to enable root access&lt;br /&gt;
# Navigate to /etc/systemui&lt;br /&gt;
# Create a backup copy of the systemui file by typing cp systemui.xml systemui.xml.bak&lt;br /&gt;
# Edit the systemui file by typing vi systemui.xml&lt;br /&gt;
# At the bottom of the file you will notice that part of it (consisting of three ... entries) is disabled within the &amp;quot;comment&amp;quot; marks&lt;br /&gt;
# Move the &amp;quot;comment&amp;quot; marks mentioned above &amp;quot;&amp;lt;! --&amp;quot; without the space between ! and - (e.g. by deleting and re-typing them in other place) so that the two remaining entries (&amp;quot;Soft poweroff&amp;quot; and &amp;quot;Top in XTerm&amp;quot;) are still within them but the &amp;quot;Reboot&amp;quot; entry gets outside of them.  To do this, hit the key &amp;quot;i&amp;quot; to begin editing and the Esc button in xterm to stop (once you are done editing &amp;quot;dd&amp;quot; will delete any line you created by accident).  Type :wq to save and edit after being done editing&lt;br /&gt;
# Close X-Terminal and reboot the device.  After the N900 reboots, you should see the new &amp;quot;Reboot&amp;quot; option in the Menu&lt;br /&gt;
&lt;br /&gt;
=== Transitions ===&lt;br /&gt;
&lt;br /&gt;
Transition Control is an application which allows you to change various transition effects of the phone. Another approach is to edit the&lt;br /&gt;
/usr/share/hildon-desktop/transitions.ini file (root access is needed)&lt;br /&gt;
&lt;br /&gt;
===Keyboard characters===&lt;br /&gt;
&lt;br /&gt;
[[Remapping keyboard]]&lt;br /&gt;
&lt;br /&gt;
[[Special_characters_view]]&lt;br /&gt;
&lt;br /&gt;
====Keyboard Sym on auto hold====&lt;br /&gt;
PR1.2 brought a change in behaviour where holding a key will now result in the SYM for that key being inserted.&lt;br /&gt;
&lt;br /&gt;
Maemo Bug 5421 details this change.&lt;br /&gt;
https://bugs.maemo.org/show_bug.cgi?id=5421&lt;br /&gt;
&lt;br /&gt;
to re-enable the old autorepeat behaviour:&lt;br /&gt;
&lt;br /&gt;
gconftool-2 -s /apps/osso/inputmethod/ext_kb_repeat_enabled --type boolean true&lt;br /&gt;
&lt;br /&gt;
===Application Menu===&lt;br /&gt;
&lt;br /&gt;
[[Application Menu]]&lt;br /&gt;
&lt;br /&gt;
===Camera Sound===&lt;br /&gt;
&lt;br /&gt;
In /usr/share/sounds the files camera_snd_title_1, 2 and 3 (1 is the camera shutter sound, 2 is the video recording sound and 3 is the focus sound) just replace them with any working wav sound file OR for a SILENT CAMERA just rename or delete these files! &amp;lt;ref name=&amp;quot;camsnd&amp;quot;&amp;gt;[http://talk.maemo.org/showthread.php?p=462484 Silent Camera Hack ]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Editing SMS and Chat templates===&lt;br /&gt;
You can change the way you read SMS and chat conversations by editing the html files in /usr/share/rtcom-messaging-ui/html.&amp;lt;ref&amp;gt;http://talk.maemo.org/showthread.php?t=36618&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Slide to Unlock Screen===&lt;br /&gt;
You can edit the &amp;quot;Slide to Unlock&amp;quot; screen that appears upon pressing the power button while the phone is locked. You can do this by editing the png files found in /usr/share/themes/alpha/backgrounds/ &amp;lt;ref&amp;gt;http://talk.maemo.org/showpost.php?p=491060&amp;amp;postcount=403&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Status Icons===&lt;br /&gt;
====Editing The Status Icons====&lt;br /&gt;
You can edit the status icons by editing the files found in /usr/share/icons/hicolor &amp;lt;ref&amp;gt;http://talk.maemo.org/showpost.php?p=481662&amp;amp;postcount=252&amp;lt;/ref&amp;gt;&lt;br /&gt;
====Reordering The Status Icons====&lt;br /&gt;
You can reorder the status icons that display on top of your desktop by editing /ect/hildon-desktop/status-menu.plugins&amp;lt;ref&amp;gt;http://talk.maemo.org/showpost.php?p=485678&amp;amp;postcount=334&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the number(s) for the &amp;quot;X-Status-Menu-Position&amp;quot; section.  The higher number, the lower the priority.&lt;br /&gt;
&lt;br /&gt;
=== Icons ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
you can install them into ~/.local/share/icons/hicolor/scalable/hildon and they&#039;ll override the system icons, but leave them in place. [Does this apply to all icons and images??]&lt;br /&gt;
&lt;br /&gt;
*/usr/share/icons/hicolor/scalable/hildon&lt;br /&gt;
**Signal images&lt;br /&gt;
**Battery1 images &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
statusarea_battery_full13.png&lt;br /&gt;
statusarea_battery_full25.png&lt;br /&gt;
statusarea_battery_full38.png&lt;br /&gt;
statusarea_battery_full50.png&lt;br /&gt;
statusarea_battery_full63.png&lt;br /&gt;
statusarea_battery_full75.png&lt;br /&gt;
statusarea_battery_full88.png&lt;br /&gt;
statusarea_battery_full100.png&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*/usr/share/icons/hicolor/48x48/hildon/&lt;br /&gt;
** Battery2 images&lt;br /&gt;
** Availability images&lt;br /&gt;
&lt;br /&gt;
*/usr/share/icons/hicolor/16x16/hildon&lt;br /&gt;
** Availability (Small) images&lt;br /&gt;
&lt;br /&gt;
To install the bootup icons place the icons here (make sure you backup the original icons first!): /usr/share/icons/hicolor/scalable/hildon/ &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
indicator_update1.png&lt;br /&gt;
indicator_update2.png&lt;br /&gt;
indicator_update3.png&lt;br /&gt;
indicator_update4.png&lt;br /&gt;
indicator_update5.png&lt;br /&gt;
indicator_update6.png&lt;br /&gt;
indicator_update7.png&lt;br /&gt;
indicator_update8.png&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sound Effects===&lt;br /&gt;
You can edit the UI sound effects by editing the sound files found in /usr/share/sounds &amp;lt;ref&amp;gt;http://talk.maemo.org/showpost.php?p=486875&amp;amp;postcount=346&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Disabling Auto Updates Check===&lt;br /&gt;
You may want to disable the automatic software updates checks that occur upon internet connection, in order to consume less bandwidth when using 2G/3G connections. You can do so by editing the gconf file found in /var/lib/gconf/apps/hildon/update-notifier and changing the check interval from 1440(24 hours) to a much larger value. The value must not exceed 4,294,967,295:&lt;br /&gt;
 gconftool -s --type int /apps/hildon/update-notifier/check_interval NEW_VALUE&lt;br /&gt;
&lt;br /&gt;
== Resources &amp;amp; Links ==&lt;br /&gt;
&lt;br /&gt;
Advanced Tweaks: [http://talk.maemo.org/showthread.php?t=39948 Collection of Low-Level Config-Files / Tools]&lt;br /&gt;
&lt;br /&gt;
[https://garage.maemo.org/projects/powatool/ Powatool]&lt;br /&gt;
&lt;br /&gt;
[http://wiki.maemo.org/Maemo_Summit_2009/Day_2#Personalizing_your_Maemo_5_device Personalizing your Maemo 5 device] presentation ([http://www.slideshare.net/hartti/n900-personalization slides]) at Maemo Summit 2009.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Power_users]]&lt;br /&gt;
[[Category:N900]]&lt;/div&gt;</summary>
		<author><name>94.10.155.86</name></author>
	</entry>
</feed>