User:Emesem
Contents |
[edit] My maemo projects
[edit] Push-It
[edit] Quick links
[edit] Bugzilla
https://bugs.maemo.org/show_bug.cgi?id=6615#c119 solution for wlan battery drain bug http://bugreports.qt.nokia.com/secure/Dashboard.jspa bugs for nokia qt sdk - the link is to hard to find -.-
[edit] 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 http://talk.maemo.org/showthread.php?p=512772#post512772 automounting ext3 formated microSD card on boot http://talk.maemo.org/showthread.php?p=504854#post504854 vnc setup outside off the home network
[edit] 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:Rlinfati#Jave_SE_and_Java_ME http://wiki.maemo.org/User:Jebba http://wiki.maemo.org/User:Ruskie http://repository.maemo.org/ http://wiki.maemo.org/N900_Shortcuts_and_Gestures http://wiki.maemo.org/Evopedia http://wiki.maemo.org/Category:Power_users http://wiki.maemo.org/Repartitioning_the_flash
[edit] 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 ;)
[edit] Others
http://thehandheldblog.com/2010/07/27/how-to-easily-overclock-your-n900-in-under-two-minutes/ http://talk.maemo.org/showpost.php?p=595582&postcount=774
[edit] Read first
These are my personal notes - nothing comes with warranty! Use at your own risk
[edit] My N900 setup
[edit] 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 (after I had it successfully set up, I have never done it again ;)). 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.
- do full backup on desktop computer with rsync. For an example see User:Jebba/Backups
- flash eMMC. See Updating tablet firmware and User:Jebba/Flash
- flash device. See Updating tablet firmware and User:Jebba/Flash
- 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
[edit] 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
[edit] Remove boot video
vi /etc/hildon-welcome.d/default.conf
Put and # at the beginning of the second line
[edit] Customize media tracker
vi /home/user/.config/tracker/tracker.cfg /home/user/.config/tracker/tracker.cfg #restarting tracker afterwards tracker-processes -r #or even tracker-processes --hard-reset
E.g. I disabled /media/mmc1 tracking.
[edit] 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 or /home/user/.config/menus/hildon.menu for newer versions of maemo. 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 ).
Icons can be found under /usr/share/icons/hicolor/48x48/hildon/.
[edit] 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.
[edit] 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
[edit] Scribble
cat /var/lib/dsme/boot_count You tried deleting everything in /var/cache/apt/archives/ yet ? apt-get autoremove
[edit] Keepassx database issue
You can give the database filename as the command line argument. For example, if you want it to open the file /home/user/MyDocs/Database.kdb automatically, you can do that by changing the Exec line in /usr/share/applications/hildon/keepassx.desktop to
Exec=keepassx /home/user/MyDocs/Database.kdb
[edit] Tracker
Tracker is the process that tracks all media librarys of maemo.
tracker-processes -r #will reset the tracker databases, useful when changing the tracked directories
[edit] maemo development
[edit] Building a package for maemo
Currently I only collect links. Maybe when I'm more experienced in building a package I write a guide - currently I'm happy to get it somehow to work.
http://wiki.maemo.org/Documentation/Maemo5_Final_Installation follow x86-64 and then x64-32 instruction (adding nokia repository for nokia binaries) http://wiki.maemo.org/Scratchbox_repositories Add maemo-extras-devel repository http://wiki.maemo.org/Packaging_a_Qt_application http://wiki.maemo.org/User:Jebba/Package_Building_HOWTO
[edit] Speed up the N900
[edit] CPU speed/power consumption
http://thehandheldblog.com/2010/07/27/how-to-easily-overclock-your-n900-in-under-two-minutes/ http://talk.maemo.org/showpost.php?p=595582&postcount=774
sudo gainroot kernel-config load ideal kernel-config limits 500 1150 kernel-config save ideal500-1150 kernel-config default ideal500-1150 #make it default on power on
[edit] Swapiness
echo 30 > /proc/sys/vm/swappiness
# /etc/event.d/rcS-late-swappiness fix start on started rcS-late script echo 30 > /proc/sys/vm/swappiness end script
http://talk.maemo.org/showpost.php?p=806769&postcount=34 http://talk.maemo.org/showthread.php?t=48966&highlight=swappiness
[edit] Performance parameters
Source http://talk.maemo.org/showthread.php?p=948572#post948572
[edit] Get the defaults
echo -n "#dirty_ratio: " ; cat /proc/sys/vm/dirty_ratio #dirty_ratio: 40 echo -n "#dirty_background_ratio: " ; cat /proc/sys/vm/dirty_background_ratio #dirty_background_ratio: 10 echo -n "#dirty_writeback_centisecs: " ; cat /proc/sys/vm/dirty_writeback_centisecs #dirty_writeback_centisecs: 500 echo -n "#dirty_expire_centisecs: " ; cat /proc/sys/vm/dirty_expire_centisecs #dirty_expire_centisecs: 500 echo -n "#min_free_kbytes: " ; cat /proc/sys/vm/min_free_kbytes #min_free_kbytes: 2039 echo -n "#swappiness: " ; cat /proc/sys/vm/swappiness #swappiness: 30 echo -n "#vfs_cache_pressure: " ; cat /proc/sys/vm/vfs_cache_pressure #vfs_cache_pressure: 100 echo -n "#onboard_nr_requests: " ; cat /sys/block/mmcblk0/queue/nr_requests #onboard_nr_requests: 128 echo -n "#sd_nr_requests: " ; cat /sys/block/mmcblk1/queue/nr_requests #sd_nr_requests: 128
[edit] Change that stuff
echo 3 > /proc/sys/vm/dirty_ratio echo 3 > /proc/sys/vm/dirty_background_ratio echo 100 > /proc/sys/vm/dirty_writeback_centisecs echo 100 > /proc/sys/vm/dirty_expire_centisecs echo 4096 > /proc/sys/vm/min_free_kbytes echo 50 > /proc/sys/vm/swappiness echo 200 > /proc/sys/vm/vfs_cache_pressure echo 8 > /proc/sys/vm/page-cluster echo 4 > /sys/block/mmcblk0/queue/nr_requests echo 4 > /sys/block/mmcblk1/queue/nr_requests
- This page was last modified on 12 April 2021, at 08:30.
- This page has been accessed 29,891 times.