User:Mr pingu

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

[edit] Repositories


deb ./ 
deb ./ 
deb ./ 
deb fremantle-1.3 free non-free
deb fremantle free non-free
deb fremantle free non-free
deb fremantle user
deb fremantle/sdk free
deb fremantle/tools free
deb fremantle free non-free
deb maemo fremantle

[edit] 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 

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


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

  • Pentesting
aircrack-ng ettercap-gtk wireshark cleven reaver cowpatty mdk3 driftnet dsniff fping gnome-nettool iftop ipv6-support kismet macchanger qnetman stkeys tcptraceroute yamas wireshark wifi-pwner traceroute2 python-scapy ettercap-gtk john nmap bash3 status-area-applet-tor
  • 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


  • 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


 sudo sed -i "s/(prefix='wifite')/(prefix='wifite',dir='\/opt\/tmp')/g" /home/user/MyDocs/MyScripts/; 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
  • Microphone -> FMTX

arecord | aplay

Enable FM-transmitter to work

Record video with Gstreamers and take Screenshot

 Enable SDK and tools repo
apt-get install gst-tools gstreamer0.10-plugins-good-extra

Screenshot makes a screenshot every x times in the current directory named frame0000x.png

 gst-launch-0.10 ximagesrc ! video/x-raw-rgb,framerate=1/10 ! ffmpegcolorspace ! pngenc snapshot=false ! multifilesink location="frame%05d.png"