User:Emesem

Contents

Quick links

Bugzilla

 https://bugs.maemo.org/show_bug.cgi?id=6615#c119 solution for wlan battery drain bug

Talk

 http://talk.maemo.org/showthread.php?t=37354 howto import SMS from other Nokia devices (with the help of csv files)
 http://talk.maemo.org/showthread.php?p=433889 battery level information for conky
 http://talk.maemo.org/showthread.php?t=35122 Repartioning thread
 http://talk.maemo.org/showthread.php?t=37808 Resetting lock code
 http://talk.maemo.org/showthread.php?p=518099#post518099 Emergency sheel at boot

Wiki

 http://wiki.maemo.org/Installing_applications
 http://wiki.maemo.org/N900_Accessories  Nokia CP-321 vs. Raedan Blackberry & Basil 
 http://wiki.maemo.org/N900_USB_networking
 http://wiki.maemo.org/User:Jebba
 http://wiki.maemo.org/User:Ruskie
 http://repository.maemo.org/
 http://wiki.maemo.org/N900_Shortcuts_and_Gestures

Ovi maps offline

 http://talk.maemo.org/showpost.php?p=428531&postcount=20
 http://handphone-solution.blogspot.com/2009/07/direct-download-for-ovi-maps-30-without.html
 http://www.ovi.com/services/support/subpage?id=services_support_maps_faqs
 http://talk.maemo.org/showthread.php?p=447608 not used, but seems ok or at least it could help ;)

Read first

These are my personal notes - nothing comes with warranty! Use at your own risk

My N900 setup

Reparitioning

THIS CAN MAKE IT A BRICK SO BE PREPARED TO RESTORE FROM FLASHER OR ANY OTHER WAY YOU CAN THINK OF


What I did to get a 50/50 sharing of memory and /dev/mmcblk0p2 still be ext3. Be extra careful because I've never made it to get it done with one shot. So it is more a guideline than a "how to".

Minor benefit of this setup is that memory is equally shared between ext3 and vfat and that vfat and ext3 are still on the same partition. Other reparitioning guides swap them, then you will need to edit some scripts for usb exporting the discs - which is easy but I didn't want that.

  1. do full backup on desktop computer with rsync. For an example see User:Jebba/Backups
  2. flash eMMC. See Updating tablet firmware and User:Jebba/Flash
  3. flash device. See Updating tablet firmware and User:Jebba/Flash
  4. install rootsh
 cp -a MyDocs/ /media/mmc1/tmp
 root
 umount /home/user/MyDocs
 sfdisk -d > sf.org
 cp sf.org sf.1
 vi sf.1 # set 1st partition to 83 and size to 30412800
 sfdisk --force /dev/mmcblk0 < sf.1
 mkfs.ext3 /dev/mmcblk0p1
 mount /dev/mmcblk0p1 /mnt
 cp -a /home/* /mnt
 umount /mnt
 reboot (maybe flashing required)
 sfdisk -d > sf.2
 vi sf.2 # resize 2nd partition to 30412800 and set start to 30412864
 sfdisk --force /dev/mmcblk0 < sf.2
 mkfs.ext3 /dev/mmcblk0p2
 mount /dev/mmcblk0p2 /mnt
 cp -a /home/* /mnt/
 umount /mnt
 umount -fl /home
 mount /dev/mmcblk0p2 /home
 sfdisk -d > sf.3
 vi sf.3 # set partition 1 to type c
 sfdisk --force /dev/mmcblk0 < sf.3
 reboot (maybe flashing required)
 mkfs.vfat -F 32 /dev/mmcblk0p1
 mount /dev/mmcblk0p1 /home/user/MyDocs
 cp -a /media/mmc1/tmp/MyDocs/* /home/user/MyDocs
 reboot

Make space on rootfs

cat cleanRootfs.sh

 #Create folder in /opt for /usr/share
 mkdir -p /opt/usr/share
 #enter in /usr folder
 cd /usr/ 
 #cycle. FILE will have different value depend from step 
 for FILE in games include local src var
 do
   #if it is no symlink
   if [ -h $FILE ]
   then 
     echo "Omitting $FILE because it is a symbolic link"
   else
     #move folder (games include local src var) to /opt/usr
     echo "Moving $FILE"
     mv $FILE /opt/usr/
     #create soft link for moved folders
     ln -s /opt/usr/$FILE /usr/
   fi
 done
 #end of cycle
 
 mkdir -p /opt/var/cache
 cd /var/cache/
 for FILE in apt
 do
   if [ -h $FILE ]
   then 
     echo "Omitting $FILE because it is a symbolic link"
   else
     echo "Moving $FILE"
     mv $FILE /opt/var/cache/
     ln -s /opt/var/cache/$FILE /var/cache/
   fi
 done
 
 cd /usr/share/
 for FILE in fonts icons locale mime nokia-maps pixmaps sounds themes tutorial-applet zoneinfo
 do    
   if [ -h $FILE ]
   then
     echo "Omitting $FILE because it is a symbolic link"
   else
     echo "Moving $FILE"
     mv $FILE /opt/usr/share/
     ln -s /opt/usr/share/$FILE /usr/share/
   fi
 done
 
 exit 0

Remove boot video

 vi /etc/hildon-welcome.d/default.conf

Put and # at the beginning of the second line

Customize media tracker

 vi /home/user/.config/tracker/tracker.cfg
 /home/user/.config/tracker/tracker.cfg #restarting tracker afterwards

E.g. I disabled /media/mmc1 tracking.

Customized program list

Source: http://talk.maemo.org/showthread.php?t=37874&highlight=hildon.menu

You can add folders an rearrange the icons application launcher by editing the file /etc/xdg/menus/hildon.menu The <Filename>'s in the Include section set the icons to display, so you can rearrange them or remove the ones you don't want. Adding more Menu sections will add folders (the one there represents the More..). Replace the OnlyUnallocated/ and All/ with a list of filenames for the apps you want in the folder (see the files in /usr/share/applications/hildon ).

Customized power button menu

 vi /etc/systemui/systemui.xml

Search for e.g. reboot and enable the reboot entry, by setting the comments to a different place.

Not optified?

Some programs that I think, that could not be optified (df checking).

 ogg support - maybe okay ^^
 libqt - maybe okay ^^
 fbreader
 qalculate gtk version

Scribble

 cat /var/lib/dsme/boot_count
 You tried deleting everything in /var/cache/apt/archives/ yet ?
 apt-get autoremove