<?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.220.182.22</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.220.182.22"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/94.220.182.22"/>
	<updated>2026-04-22T02:01:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=N900_The_Perfect_Setup/alternative-1&amp;diff=28339</id>
		<title>N900 The Perfect Setup/alternative-1</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=N900_The_Perfect_Setup/alternative-1&amp;diff=28339"/>
		<updated>2013-12-07T23:32:05Z</updated>

		<summary type="html">&lt;p&gt;94.220.182.22: /* Dead battery */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ambox&lt;br /&gt;
|type=notice&lt;br /&gt;
|text=This is a wiki! So the title of this page represents the personal notion of one or a few editors. It&#039;s not &amp;quot;officially supported&amp;quot; info or advice}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;NOTES to wirr&lt;br /&gt;
&lt;br /&gt;
Theme customizer is marked as broken package, don&#039;t use it.&lt;br /&gt;
&lt;br /&gt;
Testing and devel or thumb isn&#039;t for end-user&lt;br /&gt;
&lt;br /&gt;
fm-boost is obsolete due to KP and modded fmtx binary&lt;br /&gt;
&lt;br /&gt;
omp tracker-cfg backupmenu etc etc are still in devel&lt;br /&gt;
&lt;br /&gt;
encypted partitions are best in own wiki page and not for beginners&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
This page serves the purpose of assembling a complete and current howto-guide for the perfect N900 setup. &lt;br /&gt;
The initial information here is based on my personal experience and the rich trove of experience which is talk.maemo.org.&lt;br /&gt;
Please keep this page alive by adding your improvements and keeping it up to date as Maemo evolves.&lt;br /&gt;
&lt;br /&gt;
{{warning}} &#039;&#039;&#039;Disclaimer:&#039;&#039;&#039; &#039;&#039;This page is a work in progress and will probably never be finished. Some of the procedures might prove to be quite risky. There&#039;s no guarantee that your phone won&#039;t start to eat your cat. You do everything at your own risk.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Recommended hardware =&lt;br /&gt;
* A Nokia N900, obviously&lt;br /&gt;
* SanDisk Ultra 32GB Class 10 / UHS-1 SDHC Card (SU32-G)&lt;br /&gt;
* PolarCell 1520 mAh battery&lt;br /&gt;
* Standalone battery charger&lt;br /&gt;
* USB A-A adapter&lt;br /&gt;
* (Linux box)&lt;br /&gt;
&lt;br /&gt;
=== Hardware Specifications ===&lt;br /&gt;
NAND Layout&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;dev&#039;&#039;&#039;    &#039;&#039;&#039;size&#039;&#039;&#039;   &#039;&#039;&#039;erasesize&#039;&#039;&#039;  &#039;&#039;&#039;name&#039;&#039;&#039;&lt;br /&gt;
  mtd0: 00020000 00020000 &amp;quot;bootloader&amp;quot;&lt;br /&gt;
  mtd1: 00060000 00020000 &amp;quot;config&amp;quot;&lt;br /&gt;
  mtd2: 00040000 00020000 &amp;quot;log&amp;quot;&lt;br /&gt;
  mtd3: 00200000 00020000 &amp;quot;kernel&amp;quot;&lt;br /&gt;
  mtd4: 00200000 00020000 &amp;quot;initfs&amp;quot;&lt;br /&gt;
  mtd5: 0fb40000 00020000 &amp;quot;rootfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
eMMC Partition Layout&lt;br /&gt;
  &#039;&#039;&#039;dev&#039;&#039;&#039;         &#039;&#039;&#039;size&#039;&#039;&#039;       &#039;&#039;&#039;fs&#039;&#039;&#039;    &#039;&#039;&#039;mountpoint&#039;&#039;&#039;&lt;br /&gt;
  mmcblk0p1   27648MiB   vfat  /home/user/MyDocs&lt;br /&gt;
  mmcblk0p2    2048MiB   ext2  /home&lt;br /&gt;
  mmcblk0p3     768MiB   swap&lt;br /&gt;
&lt;br /&gt;
[http://natisbad.org/N900/n900-commented-hardware-specs.html Detailed specs]&lt;br /&gt;
&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=65568 N900 battery options]&lt;br /&gt;
&lt;br /&gt;
=== Hardware modifications ===&lt;br /&gt;
&lt;br /&gt;
/* TODO: USB pre-broken fix */&lt;br /&gt;
&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=75920]&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=79878]&lt;br /&gt;
&lt;br /&gt;
= Initial setup =&lt;br /&gt;
[http://wiki.maemo.org/Updating_the_tablet_firmware#N900 Everything about Firmware Flashing]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download flasher from the repositories&lt;br /&gt;
&lt;br /&gt;
/* TODO: Use open source flasher */&lt;br /&gt;
&lt;br /&gt;
Download the firmware flasher:&lt;br /&gt;
[http://skeiron.org/tablets-dev/maemo-dev-env-downloads/ Flasher &amp;amp; SDK Downloads]&lt;br /&gt;
&lt;br /&gt;
Download the latest official Nokia Firmware Images for your N900:&lt;br /&gt;
[http://skeiron.org/tablets-dev/nokia_N900/ Firmware Image Downloads]&lt;br /&gt;
  RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin&lt;br /&gt;
  md5sum: 488809ff96a0a05479d692e9f77aeb4f&lt;br /&gt;
  RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin&lt;br /&gt;
  md5sum: b9f8690318a3be61767826d15b8c1784&lt;br /&gt;
&lt;br /&gt;
== Flashing the device ==&lt;br /&gt;
The following flashing procedure has proven the most stable to me:&lt;br /&gt;
&lt;br /&gt;
{{warning}}Always use a fully charged battery!&lt;br /&gt;
&lt;br /&gt;
* Turn your device off, disconnect USB&lt;br /&gt;
* (As root) flash the FIASCO firmware image:&lt;br /&gt;
  flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f&lt;br /&gt;
* When you get &amp;quot;No suitable USB device found&amp;quot; connect your N900 through USB.&lt;br /&gt;
* Wait for the flashing to finish.&lt;br /&gt;
{{warning}} Don&#039;t reboot&lt;br /&gt;
&lt;br /&gt;
* Flash original eMMC image:&lt;br /&gt;
  flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f&lt;br /&gt;
* Wait for the flashing to finish.&lt;br /&gt;
* Reboot the device by _reinserting_ the battery&lt;br /&gt;
&lt;br /&gt;
Upon first login, enter your locale settings (Timezone, local time, etc.).&lt;br /&gt;
&lt;br /&gt;
Run latest official Nokia SSU (upgrades your device firmware to V1.3.1) by launching App manager / Update from the applications menu.&lt;br /&gt;
&lt;br /&gt;
== Getting root access ==&lt;br /&gt;
[http://wiki.maemo.org/Root_access 1001 ways of becoming root]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Additional repositories ==&lt;br /&gt;
As of august 2013 the longstanding issue of expired Nokia keys is still not resolved. To do a proper update of the base installation set your devices date to somewhere in 2011.&lt;br /&gt;
* Add the Extras-Testing repository to the Hildon Application Managers catalog&lt;br /&gt;
  name: Maemo extras-testing&lt;br /&gt;
  uri: deb http://skeiron.org/repo/repository.maemo.org/extras-testing/ fremantle free non-free&lt;br /&gt;
  dist: fremantle&lt;br /&gt;
  components: free non-free&lt;br /&gt;
&lt;br /&gt;
* Add the Extras-Devel repository as well&lt;br /&gt;
  name: Maemo extras-development&lt;br /&gt;
  uri: http://extras-devel.merlin1991.at/ fremantle free non-free&lt;br /&gt;
  dist: fremantle&lt;br /&gt;
  components: free non-free&lt;br /&gt;
&lt;br /&gt;
* Disable OVI repository (conflicts with CSSU)&lt;br /&gt;
&lt;br /&gt;
* Wait for repository update to finish (Hildon Application Manager is slooow) and install &#039;rootsh&#039; from the system section.&lt;br /&gt;
&lt;br /&gt;
* To get remote access over the network (way more comfy) install SSH server by launching XTerminal from the application menu and running:&lt;br /&gt;
  sudo gainroot&lt;br /&gt;
  apt-get install openssh&lt;br /&gt;
You will be asked for your new root password.&lt;br /&gt;
/*TODO: Change PW hash to enable passwords &amp;gt; 8 chars */&lt;br /&gt;
&lt;br /&gt;
* Finally launch xterm and run&lt;br /&gt;
  ifconfig wlan0&lt;br /&gt;
&lt;br /&gt;
* Write down the IP address - from now on you can use the SSH client of your choice to connect to your favorite pocket computer - enjoy!&lt;br /&gt;
&lt;br /&gt;
= Upgrade to CSSU-thumb =&lt;br /&gt;
[http://wiki.maemo.org/CSSU What&#039;s CSSU?]&lt;br /&gt;
&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=84829 What&#039;s thumb2 ISA?]&lt;br /&gt;
&lt;br /&gt;
{{info}} cssu-thumb contains a kernel based on kp51r1, therefore you automatically benefit from all kernel-power features (undervolting, overclocking, framebuffer, ...). See [http://wiki.maemo.org/Kernel_Power Kernel Power Wiki] and [http://talk.maemo.org/showthread.php?t=85665 Kernel Power 51r1 on tmo]&lt;br /&gt;
&lt;br /&gt;
== Repositories ==&lt;br /&gt;
Disable extras-testing - it will be replaced by its thump-compiled counterpart from the CSSU repository. Make sure Nokia and Maemo Extras repositories are enabled though.&lt;br /&gt;
&lt;br /&gt;
To avoid thumb-compiled binaries being overwritten by upgrades from non-thumb repositories use the following /etc/apt/preferences file&lt;br /&gt;
  Package: *&lt;br /&gt;
  Pin: release a=community-thumb&lt;br /&gt;
  Pin-Priority: 700             &lt;br /&gt;
                 &lt;br /&gt;
  Package: *       &lt;br /&gt;
  Pin: release a=Extras-devel-light&lt;br /&gt;
  Pin-Priority: 500                &lt;br /&gt;
                 &lt;br /&gt;
  Package: *       &lt;br /&gt;
  Pin: release l=Extras&lt;br /&gt;
  Pin-Priority: 550    &lt;br /&gt;
                 &lt;br /&gt;
  Package: *       &lt;br /&gt;
  Pin: release l=community-testing&lt;br /&gt;
  Pin-Priority: 600&lt;br /&gt;
&lt;br /&gt;
== Remove unneeded software ==&lt;br /&gt;
[http://talk.maemo.org/showthread.php?s=bcad4cd2389b67dd0911decdebb4b503&amp;amp;t=82641 tmo thread]&lt;br /&gt;
&lt;br /&gt;
 apt-get remove --purge hildon-theme-beta osso-chess-ui gnuchess osso-graphics-game-chess osso-lmarbles osso-graphics-game-lmarbles osso-sounds-game-chess maemoblocks ap-installer amazon-installer foreca-installer facebook-installer skype-installer dtg-installer tutorial-home-applet osso-tutorial-l10n-engb osso-tutorial-l10n-ptpt osso-tutorial-l10n-frca osso-tutorial-l10n-nlnl osso-tutorial-l10n-cscz osso-tutorial-l10n-itit osso-tutorial-l10n-eses osso-tutorial-l10n-svse osso-tutorial-l10n-frfr osso-tutorial-l10n-dede osso-tutorial-l10n-fifi osso-tutorial-l10n-nono osso-tutorial-l10n-esmx osso-tutorial-l10n-enus osso-tutorial-l10n-ruru osso-tutorial-l10n-mr0 osso-tutorial-l10n-plpl cherry osso-systemui-splashscreen sharing-service-flickr sharing-service-ovi chinese-font google-search-widget tutorial-home-applet osso-mahjong osso-graphics-game-mahjong osso-sounds-game-mahjong ovi-promotion-widget&lt;br /&gt;
&lt;br /&gt;
== Installing CSSU-Thumb ==&lt;br /&gt;
* Visit this link using your N900s web browser: http://maemo.merlin1991.at/cssu/community-thumb/community-thumb-fremantle.install and confirm the prompts displayed in HAM. Be patient as nothing seems to happen for some minutes.&lt;br /&gt;
&lt;br /&gt;
* Launch community SSU from applications menu.&lt;br /&gt;
* Install the proposed updates.&lt;br /&gt;
&lt;br /&gt;
= Essential software packages =&lt;br /&gt;
The following is a list of applications which (IMHO) constitute a reasonable base set&lt;br /&gt;
 apt-get install &amp;lt;pkgname&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
! align=&amp;quot;left&amp;quot;| Package Name&lt;br /&gt;
! Description&lt;br /&gt;
! Votes&lt;br /&gt;
|-&lt;br /&gt;
|backupmenu&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|busybox-power&lt;br /&gt;
|Required for encryption (s. below)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|tracker-cfg&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|tracker-extractor-vorbis&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|gstreamer0.10-plugins-good-extra-formats&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|filebox&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|catoriseplus&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|mce-ledpattern&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|cssufeatures&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|cl-launcher&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Other recommendations include: xournal fm-boost fmradio recaller swappolube flashlight-applet cal-home-widget adflashblock-css&lt;br /&gt;
&lt;br /&gt;
== Install non-optified cryptsetup ==&lt;br /&gt;
  wget http://maemo.merlin1991.at/apt-mirror/extras-devel/pool/fremantle/free/c/cryptsetup/cryptsetup_1.0.4%2bsvn26-3_armel.deb&lt;br /&gt;
  dpkg -i cryptsetup_1.0.4%2bsvn26-3_armel.deb&lt;br /&gt;
  echo &amp;quot;cryptsetup hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&lt;br /&gt;
== Install &amp;amp; configure bootloader ==&lt;br /&gt;
  apt-get install u-boot-flasher kernel-cssu-bootimg&lt;br /&gt;
  ln -s /etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu3.item /etc/default/bootmenu.item&lt;br /&gt;
  u-boot-update-bootmenu&lt;br /&gt;
&lt;br /&gt;
== USB Host mode ==&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=85658 Host mode announcement]&lt;br /&gt;
&lt;br /&gt;
* USB mode can be set through the status menu&lt;br /&gt;
* To connect USB peripherals use a [http://www.cablechick.com.au/product_images/usb-adaptor-a-female-to-a.jpg USB A-to-A adapter]&lt;br /&gt;
&lt;br /&gt;
== Configure openmediaplayer ==&lt;br /&gt;
[http://wiki.maemo.org/Open_Media_Player OMP Wiki]&lt;br /&gt;
&lt;br /&gt;
* Get a thumb-compiled version of openmediaplayer [http://www69.zippyshare.com/v/23534616/file.html OMP-thumb download]&lt;br /&gt;
 dpkg -i openmediaplayer_20121220-1+thumb0_armel.deb&lt;br /&gt;
&lt;br /&gt;
* As [[root]], edit file:&lt;br /&gt;
:&#039;&#039;/usr/share/dbus-1/services/com.nokia.mediaplayer.service&#039;&#039;&lt;br /&gt;
so the line:&lt;br /&gt;
 Exec=/usr/bin/mediaplayer&lt;br /&gt;
&lt;br /&gt;
...becomes:&lt;br /&gt;
 Exec=/usr/bin/openmediaplayer&lt;br /&gt;
&lt;br /&gt;
This will replace execution of &#039;&#039;&#039;MP&#039;&#039;&#039; binary with &#039;&#039;&#039;OMP&#039;&#039;&#039; one - without physically replacing files, so you can revert back to &#039;&#039;&#039;MP&#039;&#039;&#039; by reverting changes.&lt;br /&gt;
&lt;br /&gt;
* tracker-cfg&lt;br /&gt;
/* TODO */&lt;br /&gt;
&lt;br /&gt;
== Faking Flash Player 12 ==&lt;br /&gt;
[http://talk.maemo.org/showpost.php?p=1276589&amp;amp;postcount=2219 Flash Player on tmo]&lt;br /&gt;
&lt;br /&gt;
* Get [http://www.sendspace.pl/download/YTo0OntzOjc6ImRhdGVfaW4iO2k6MTM0Mzc4MTUxMTtzOjU6InRpdGxlIjtzOjA6IiI7czo5OiJmaWxlX25hbWUiO3M6MjQ6ImFkb2JlLWZsYXNocGxheWVyLTEwLmRlYiI7czo1OiJ0b2tlbiI7czoyMzoiY2MzM2I0MDcyZTgyM2VlMTU4MDkzOWIiO30dfASDF34vasd3245bvs flashplayer 10 binaries] for maemo.&lt;br /&gt;
&lt;br /&gt;
 apt-get remove --purge adobe-flashplayer&lt;br /&gt;
 apt-get install hexedit&lt;br /&gt;
 dpkg -i adobe-flashplayer-10.deb&lt;br /&gt;
 hexedit /usr/lib/browser/plugins/libflashplayer.so&lt;br /&gt;
&lt;br /&gt;
* Once in Hexedit, press CTRL+S and type in 31302e31 and press enter, the string you&#039;ve just found need to be changed to 31322e31&lt;br /&gt;
&lt;br /&gt;
* Now, press CTRL+S, type &amp;quot;y&amp;quot; and search for 31302c31 and change it to 31322c31&lt;br /&gt;
&lt;br /&gt;
* Press CTRL+S then &amp;quot;y&amp;quot; again.&lt;br /&gt;
* Close terminal and enjoy new faked v12.1.98.88 flash player&lt;br /&gt;
&lt;br /&gt;
= Tweaks =&lt;br /&gt;
&lt;br /&gt;
== Kernel Power Settings ==&lt;br /&gt;
/* TODO: Rewrite this section using smartreflex */&lt;br /&gt;
&lt;br /&gt;
To enable overclocking (more horsepower) and undervolting (less power consumption) run the following commands&lt;br /&gt;
 kernel-config save stock&lt;br /&gt;
 kernel-config load ideal&lt;br /&gt;
 kernel-config default ideal&lt;br /&gt;
&lt;br /&gt;
To revert to stock settings run&lt;br /&gt;
 kernel-config load stock&lt;br /&gt;
 kernel-config default stock&lt;br /&gt;
&lt;br /&gt;
== swappolube ==&lt;br /&gt;
[http://wiki.maemo.org/Swappolube Config details]&lt;br /&gt;
&lt;br /&gt;
== cssu-features ==&lt;br /&gt;
* Launch cssu-features from the applications menu&lt;br /&gt;
* On first run choose &amp;quot;Fix config&amp;quot;&lt;br /&gt;
* Launch cssu-features again&lt;br /&gt;
* Configure to your [http://wiki.maemo.org/CSSU_Features_Configuration_Editor taste]&lt;br /&gt;
&lt;br /&gt;
== Theme customizer ==&lt;br /&gt;
* Set nokia-pure as default font&lt;br /&gt;
&lt;br /&gt;
== Disable Nokia Hands ==&lt;br /&gt;
* Edit the file&lt;br /&gt;
:&#039;&#039;/etc/hildon-welcome.d/default.conf&#039;&#039;&lt;br /&gt;
 [hildon-welcome]&lt;br /&gt;
 filename=Hands-v32-h264.avi&lt;br /&gt;
* Comment out the last line or specify gstreamer compatible movie file&lt;br /&gt;
&lt;br /&gt;
= Backup your device =&lt;br /&gt;
* Don&#039;t backup unnecessary stuff, so&lt;br /&gt;
 apt-get clean&lt;br /&gt;
* Reboot with keyboard open&lt;br /&gt;
* Select default kernel&lt;br /&gt;
* In backupmenu press &#039;b&#039; to start backup&lt;br /&gt;
* Press &#039;q&#039; to backup both rootfs and optfs&lt;br /&gt;
* Select &#039;p&#039; twice to store backup on /home/user/MyDocs&lt;br /&gt;
* Wait for backup to finish&lt;br /&gt;
* Connect USB to Linux box&lt;br /&gt;
* Press &#039;w&#039; to export eMMC as mass storage device&lt;br /&gt;
* On your Linux box check &#039;dmesg&#039; to identify device names (e.g. /dev/sdX), mount /dev/sdX1, switch to the mount point (e.g. /media/usb) and run&lt;br /&gt;
 tar -cf /home/user/MyDocs_backup.tar&lt;br /&gt;
&lt;br /&gt;
= Adjust eMMC partitioning =&lt;br /&gt;
/* TODO: Evaluate better filesystems and possibly alignment */&lt;br /&gt;
* With eMMC still exported as mass storage device using backupmenu point your favorite partition manager to /dev/sdX&lt;br /&gt;
* Adjust partitions to your needs (align to MiB, not cylinders), for example&lt;br /&gt;
  &#039;&#039;&#039;dev&#039;&#039;&#039;         &#039;&#039;&#039;size&#039;&#039;&#039;       &#039;&#039;&#039;fs&#039;&#039;&#039;    &#039;&#039;&#039;mountpoint&#039;&#039;&#039;&lt;br /&gt;
  mmcblk0p1   24576MiB   vfat  /home/user/MyDocs&lt;br /&gt;
  mmcblk0p2    5120MiB   ext2  /home&lt;br /&gt;
  mmcblk0p3     835MiB   swap&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended to leave /dev/mmcblk0p1 as vfat for /home/user/MyDocs as it needs less tweaks to maemos mmc-scripts. For other options visit [http://wiki.maemo.org/Repartitioning_the_flash repartitioning the flash]&lt;br /&gt;
&lt;br /&gt;
= Disk Encryption =&lt;br /&gt;
/* TODO: Verify that HW accel is being used */&lt;br /&gt;
&lt;br /&gt;
/* TODO: Use initrd in NAND and encrypt rootfs */&lt;br /&gt;
&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=40154 Discussion on tmo]&lt;br /&gt;
&lt;br /&gt;
== Preparing userland ==&lt;br /&gt;
{{warning}} Don&#039;t reboot your device before having performed all steps described in this chapter or else you&#039;ll have to reflash your phone!&lt;br /&gt;
&lt;br /&gt;
* Make sure cryptsetup and busybox-power packages are installed to rootfs &lt;br /&gt;
 dpkg -L &amp;lt;pkgname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get modified [https://gitorious.org/maemo5-encrypted-home rcS and rcS-late scripts] and copy them to your device&lt;br /&gt;
 scp rcS root@&amp;lt;n900-ip-addr&amp;gt;:/etc/init.d/&lt;br /&gt;
 scp rcS-late root@&amp;lt;n900-ip-addr&amp;gt;:/etc/event.d/&lt;br /&gt;
&lt;br /&gt;
* Edit the file&lt;br /&gt;
:&#039;&#039;/sbin/preinit&#039;&#039;&lt;br /&gt;
and insert the command &#039;&#039;modprobe fbcon&#039;&#039; as the last line in function init_system() (just above the })&lt;br /&gt;
&lt;br /&gt;
* Get an [http://bazaar.launchpad.net/~pali/+junk/maemo_recovery-boot/view/head:/nokia-n900.map n900 keymap] and convert it (on your Linux box):&lt;br /&gt;
 loadkeys -b nokia-n900.map &amp;gt; nokia-n900.kmap&lt;br /&gt;
&lt;br /&gt;
* Copy the keymap to your phone&#039;s root directory&lt;br /&gt;
 scp nokia-n900.kmap root@&amp;lt;n900-ip-addr&amp;gt;:/&lt;br /&gt;
&lt;br /&gt;
* Create [http://wiki.maemo.org/Community_SSU/Features/ke-recv /etc/default/osso-mmc-blacklist.sh] and corresponding /etc/default/osso-mmc-blacklist containing devices which should not be mounted to MyDocs - /dev/dm-0 and /dev/dm-1)&lt;br /&gt;
Edit the files&lt;br /&gt;
:&#039;&#039;/usr/sbin/osso-usb-mass-storage-enable.sh&#039;&#039; and :&#039;&#039;/usr/sbin/osso-usb-mass-storage-disable.sh&#039;&#039;&lt;br /&gt;
and add the following lines at the beginning&lt;br /&gt;
 case $1 in&lt;br /&gt;
   /dev/dm-*)&lt;br /&gt;
     set /dev/mmcblk0p1&lt;br /&gt;
     ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
== Move optfs to encrypted partition ==&lt;br /&gt;
* On your Linux box extract the :&#039;&#039;optfs.tar&#039;&#039; file from the previously created MyDocs backup&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xf ~/backups/MyDocs_backup.tar&lt;br /&gt;
&lt;br /&gt;
* Boot your phone into boot manager and export eMMC to USB. On your linux box run the following commands to create an encrypted ext3 filesystem on mmcblk0p2&lt;br /&gt;
 cryptsetup luksFormat /dev/sdX2      # Confirm by typing YES, specify a looong passphrase&lt;br /&gt;
 cryptsetup luksOpen /dev/sdX2 n900&lt;br /&gt;
 mkfs.ext3 /dev/mapper/n900&lt;br /&gt;
&lt;br /&gt;
* Now you can restore your optfs backup to the encrypted partition&lt;br /&gt;
 mount /dev/mapper/n900 /mnt&lt;br /&gt;
 cd /mnt&lt;br /&gt;
 tar -xf /tmp/systemBackups/optfs.tar&lt;br /&gt;
 umount /mnt&lt;br /&gt;
 cryptsetup luksClose n900&lt;br /&gt;
&lt;br /&gt;
* Reboot your phone and enjoy the password prompt!&lt;br /&gt;
&lt;br /&gt;
= SD card usage =&lt;br /&gt;
== Testing ==&lt;br /&gt;
== Alignment ==&lt;br /&gt;
== Swap on SD card ==&lt;br /&gt;
To avoid concurrent I/O access to swap and optfs (both mmcblk0), move swap to your SD card (mmcblk1)&lt;br /&gt;
* On your SD card create a swap partition /dev/mmcblk1pX of approx. 1.5GiB&lt;br /&gt;
* Edit /etc/event.d/rcS-late and change the line&lt;br /&gt;
 /sbin/cryptsetup -d /dev/urandom create swapenc /dev/mmcblk0p3&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 /sbin/cryptsetup -d /dev/urandom create swapenc /dev/mmcblk1pX&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== More swap tweaks ===&lt;br /&gt;
/* TODO: Find current best practice for running swap on sd card */&lt;br /&gt;
* [http://wiki.maemo.org/Ereswap Fight swap fragmentation]&lt;br /&gt;
* [http://wiki.maemo.org/Swap_on_microSD#Using_microSD_partition_as_swap Swap on wiki]&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous =&lt;br /&gt;
== VoIP ==&lt;br /&gt;
=== Encrypted SIP ===&lt;br /&gt;
* linphone&lt;br /&gt;
&lt;br /&gt;
== eMail ==&lt;br /&gt;
=== GPG support ===&lt;br /&gt;
* mutt&lt;br /&gt;
* claws&lt;br /&gt;
* patches for modest anyone?&lt;br /&gt;
&lt;br /&gt;
== Camera ==&lt;br /&gt;
* pcam&lt;br /&gt;
* stock/cssu&lt;br /&gt;
* blessn900&lt;br /&gt;
* fcam&lt;br /&gt;
* hdr&lt;br /&gt;
* lowlight&lt;br /&gt;
&lt;br /&gt;
== Watch 720p movies ==&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=77695 HD movie guide]&lt;br /&gt;
&lt;br /&gt;
== Synchronization ==&lt;br /&gt;
=== dpush ===&lt;br /&gt;
=== Certificates ===&lt;br /&gt;
=== Client configuration ===&lt;br /&gt;
&lt;br /&gt;
== Battery calibration ==&lt;br /&gt;
&lt;br /&gt;
== Unbricking ==&lt;br /&gt;
=== Dead battery ===&lt;br /&gt;
A dead battery can be &amp;quot;saved&amp;quot; through using an external battery loader.&lt;br /&gt;
&lt;br /&gt;
= Additional information =&lt;br /&gt;
* [http://talk.maemo.org The one and only]&lt;br /&gt;
* [http://talk.maemo.org/showthread.php?t=88707 Repository Mirrors]&lt;br /&gt;
* [http://symbians60soft.blogspot.com Blog still posting some maemo news]&lt;br /&gt;
&lt;br /&gt;
= Credits =&lt;br /&gt;
My thanks go to jebba, titan, pali, NIN101, MentalistTraceur, sixwheeledbeast, DocScrutinizer05, sEKI, kerio, freemangordon, qwazix, ShadowJK and everyone on #maemo&lt;br /&gt;
&lt;br /&gt;
[[Category:Power users]]&lt;br /&gt;
[[Category:N900]]&lt;/div&gt;</summary>
		<author><name>94.220.182.22</name></author>
	</entry>
</feed>