User:Mr pingu
(→Setting up the device) |
(→Setting up the device) |
||
Line 29: | Line 29: | ||
<pre>apt-get update | <pre>apt-get update | ||
- | apt-get install kernel-power-flasher | + | apt-get install kernel-power-flasher backupmenu busybox-power powertop shortcutd tracker-cfg wpakey-editor powertop sudser phone-control nano-opt gconf-editor procps bash3 swappolube less</pre> |
Line 62: | Line 62: | ||
echo 0 > /proc/sys/net/ipv4/tcp_timestamps | echo 0 > /proc/sys/net/ipv4/tcp_timestamps | ||
echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save | echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save | ||
- | echo | + | echo 4096 > /sys/block/mmcblk0/queue/nr_requests |
- | echo | + | echo 4096 > /sys/block/mmcblk1/queue/nr_requests |
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle | echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle | ||
echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle | echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle |
Revision as of 20:25, 26 August 2012
In this page I post all my snippets of tweak and mods, I made this for the reference of all tweaks I did and might need after a reflash
Repositories
/etc/apt/sources.list.d/hildon-application-manager.list
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ deb https://downloads.maemo.nokia.com/fremantle/ssu/mr0 ./ deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./ deb http://repository.maemo.org/extras/ fremantle-1.3 free non-free deb http://repository.maemo.org/community-testing/ fremantle free non-free deb http://repository.maemo.org/extras-devel/ fremantle free non-free deb http://my-maemo.com/repository/ fremantle user deb http://repository.maemo.org/ fremantle/sdk free deb http://repository.maemo.org/ fremantle/tools free deb http://repository.maemo.org/extras-testing/ fremantle free non-free deb http://qole.org/repository/ maemo fremantle
Setting up the device
Setting up the most important applications
apt-get update apt-get install kernel-power-flasher backupmenu busybox-power powertop shortcutd tracker-cfg wpakey-editor powertop sudser phone-control nano-opt gconf-editor procps bash3 swappolube less
improve performance
- Tracker-cfg tick lowmemorymode and set throttle to 10
- Use proposed swappolube settings, except swappiness should be 50
- Turn off swap on eMMC, enable on uSD (use ereswap)
Boot script placed in /etc/event.d/iosettings
These settings are mixed swapolube and freemangordons settings.
start on started hildon-desktop stop on starting shutdown console none service script echo 50 > /proc/sys/vm/swappiness echo 0 > /proc/sys/vm/page-cluster echo 1 > /proc/sys/vm/laptop_mode echo 1 > /proc/sys/vm/oom_kill_allocating_task echo 0 > /proc/sys/vm/dirty_expire_centisecs echo 0 > /proc/sys/vm/dirty_writeback_centisecs echo 60 > /proc/sys/vm/dirty_background_ratio echo 95 > /proc/sys/vm/dirty_ratio echo 0 > /proc/sys/net/ipv4/tcp_timestamps echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save echo 4096 > /sys/block/mmcblk0/queue/nr_requests echo 4096 > /sys/block/mmcblk1/queue/nr_requests echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 32 > /sys/block/mmcblk0/queue/iosched/quantum echo 32 > /sys/block/mmcblk1/queue/iosched/quantum echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 80 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 180 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 180 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async end script
- Installing handy tools
apt-get install conkylayoutswitcher flashlight-applet alarmed ssh-status clipman led-pattern-editor cl-launcher hostmode-gui extkbd extmou extended-contacts-search gconf-editor less simple-brightness-applet
- Installing some garbage I like to use
apt-get install aircrack-ng stkeys brainparty cutetube-qml dosbox supertux-stable frogatto colorflood pierogi telepathy-msn-pecan leafpad opera filebox irggu macchanger easy-deb-chroot
- Install widgets and themes
apt-get install awoken-icon-theme black-plastic-theme plastic-addon-pack-1 cal-home-widget connectnow-home-widget queen-beecon quick-launch
Tweaks
- Use sudo while already root. Sometimes when I am root I still type sudo in-front of a command and it spits out the help of sudo. This will add root to sudoers and solve that. Not very useful but it's a small and convenient tweak
sudo gainroot echo "user ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers echo "root ALL=(ALL) NOPASSWD: ALL" >> everybody.sudoers mv everybody.sudoers /etc/sudoers.d update-sudoers
Fix Wifite.py
sudo sed -i "s/(prefix='wifite')/(prefix='wifite',dir='\/opt\/tmp')/g" /home/user/MyDocs/MyScripts/wifite.py; sudo if [ ! -d "/opt/tmp" ]; then mkdir /opt/tmp; fi
- Make the FMTX applet always visible
gconftool-2 -s /apps/osso/maemo-statusmenu-fmtx/always_visible -t bool true
Record video with Gstreamers
Enable SDK and tools repo apt-get install gst-tools gstreamer0.10-plugins-good-extra http://forum.meego.com/showthread.php?t=4833