Editing User:Mr pingu

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 29: Line 29:
<pre>apt-get update  
<pre>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 </pre>
+
apt-get install  kernel-power-flasher linux-backports-modules-power recovery-boot busybox-power powertop shortcutd tracker-cfg wpakey-editor powertop sudser phone-control nano-opt gconf-editor procps bash3 swappolube</pre>
Line 37: Line 37:
* Tracker-cfg tick lowmemorymode and set throttle to 10
* Tracker-cfg tick lowmemorymode and set throttle to 10
* Use proposed swappolube settings, except swappiness should be 50
* Use proposed swappolube settings, except swappiness should be 50
-
* Turn off swap on eMMC, enable on uSD (use ereswap)
+
* Turn off swap on eMMC, enable on uSD
-
Boot script placed in /etc/event.d/iosettings
+
Boot script placed in /etc/event.d/swapusd
-
 
+
-
These settings are mixed swapolube and freemangordons settings.
+
<pre>
<pre>
Line 51: Line 49:
script
script
-
 
+
sleep 60
-
echo 50 > /proc/sys/vm/swappiness       
+
swapon /dev/mmcblk1p2
-
echo 0 > /proc/sys/vm/page-cluster      
+
swapoff /dev/mmcblk0p3
-
echo 1 > /proc/sys/vm/laptop_mode       
+
echo 5 > /proc/sys/vm/page-cluster
-
echo 1 > /proc/sys/vm/oom_kill_allocating_task       
+
echo 256 > /sys/block/mmcblk0/queue/nr_requests
-
echo 0 > /proc/sys/vm/dirty_expire_centisecs       
+
echo 512 > /sys/block/mmcblk1/queue/nr_requests
-
echo 0 > /proc/sys/vm/dirty_writeback_centisecs     
+
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
-
echo 60 > /proc/sys/vm/dirty_background_ratio       
+
echo 7 > /sys/block/mmcblk1/queue/iosched/slice_idle
-
echo 95 > /proc/sys/vm/dirty_ratio       
+
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
-
echo 0 > /proc/sys/net/ipv4/tcp_timestamps       
+
echo 4 > /sys/block/mmcblk1/queue/iosched/quantum
-
echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save
+
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
-
echo 4096 > /sys/block/mmcblk0/queue/nr_requests
+
echo 125 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync
-
echo 4096 > /sys/block/mmcblk1/queue/nr_requests
+
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
-
echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle
+
echo 250 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
-
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
end script
Line 82: Line 72:
* '''Installing handy tools'''
* '''Installing handy tools'''
-
<pre>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</pre>
+
<pre>apt-get install conkylayoutswitcher flashlight-applet alarmed ssh-status clipman led-pattern-editor cl-launcher macchanger hostmode-gui extkbd extmou easy-deb-chroot extended-contacts-search gconf-editor less simple-brightness-applet</pre>
* '''Installing some garbage I like to use'''
* '''Installing some garbage I like to use'''
-
<pre>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</pre>
+
<pre>apt-get install aircrack-ng stkeys brainparty cutetube-qml dosbox supertux-stable frogatto colorflood pierogi telepathy-msn-pecan leafpad opera filebox irggu</pre>
 +
----
-
* '''Pentesting'''
+
'''Personalizing the device'''
-
<pre>
+
-
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
+
-
</pre>
+
-
 
+
* Install widgets and themes
* Install widgets and themes
<pre> apt-get install awoken-icon-theme black-plastic-theme plastic-addon-pack-1 cal-home-widget connectnow-home-widget queen-beecon quick-launch</pre>
<pre> apt-get install awoken-icon-theme black-plastic-theme plastic-addon-pack-1 cal-home-widget connectnow-home-widget queen-beecon quick-launch</pre>
 +
 +
* Make the FMTX applet always visible
 +
gconftool-2 -s /apps/osso/maemo-statusmenu-fmtx/always_visible -t bool true
 +
 +
----
----
Line 108: Line 100:
update-sudoers</pre>
update-sudoers</pre>
-
'''Fix Wifite.py'''
+
* My transitions.ini based on dragoss91 smoothest transitions.ini
 +
<pre># This file contains timings and values for transitions in hildon-desktop
 +
# duration = time in milliseconds
 +
# zoom = amount to zoom out the background. 1 = none, 0.5 = zoom to half size
 +
# radius = radius of blur (this is actually the number of blur iterations,
 +
# so the bigger the number the longer it takes)
 +
# saturation = the amount of colour left in the background (0 = grey, 1 = normal)
 +
# brightness = brightness of the background (0 = black, 1 = normal)
-
<pre> 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 </pre>
+
[blur]
 +
turbo = 0
 +
duration = 150
-
* Make the FMTX applet always visible
+
# Zoom out of the task navigator before it fades out
-
gconftool-2 -s /apps/osso/maemo-statusmenu-fmtx/always_visible -t bool true
+
# -- zoom: how much to scale the switcher when going to launcher
 +
# (the second layer of the launcher would scale it twice
 +
# as much but the switcher is hidden by that time currently)
 +
# -- zoom_for_home: how much to scale the switcher when leaving for home
 +
# -- zoom_duration: the number of miliseconds to spend on zooming
 +
# a thumbnail
 +
# -- fly_duration: how long should it take for the thumbnails to rearrange
 +
# -- notifade_in/out: time to fade the notifications
 +
#
 +
[task_nav]
 +
zoom = 0.85
 +
zoom_for_home = 0.9
 +
zoom_duration = 250
 +
fly_duration = 250
 +
notifade_in = 150
 +
notifade_out = 150
 +
tile_font = SwissA 15
-
* Microphone -> FMTX
+
# Blurring of the home view
-
arecord | aplay
+
# -- radius: amount of iterations of blur filter to perform when not zoooming
 +
# eg. for dialogs
 +
# -- radius_more: amount of iterations of blur filter to perform when zooming
 +
# eg. for launcher/task navigator
 +
# -- saturation: saturation of the background when blurred
 +
# -- brightness: brightness of the background when blurred
 +
# -- zoom: Basic amount to scale the home view by (gets multiplied by how many
 +
# 'levels' deep the UI is - eg. launcher is one level, launcher submenu
 +
# is another)
 +
# -- zoom_applets: Amount to scale applets by when zooming out
 +
# -- zoom_on_press: set to 1 to include a zoom effect when the screen is pressed
 +
# -- parallax: Amount of parallax between desktop and widget layers when panning
-
Enable FM-transmitter to work
+
[home]
 +
radius = 0
 +
radius_more = 0
 +
saturation = 1
 +
brightness = 1
 +
zoom = 1
 +
zoom_applets = 1.0
 +
zoom_on_press = 0
 +
parallax = 1.0
-
'''Record video with Gstreamers and take Screenshot'''
+
# These control the deceleration of the launcher pages. When panning freely
 +
# (decelerating) the velocity of the launcher page is adjusted by this much.
 +
# strong_deceleration_rate is effective in the bouncing zones. Uncomment if
 +
# you want faster panning.
 +
[launcher]
 +
#deceleration_rate = 0.98
 +
#strong_deceleration_rate = 0.7
-
<pre> Enable SDK and tools repo
+
# The glow effect around launcher buttons[launcher_glow]
-
apt-get install gst-tools gstreamer0.10-plugins-good-extra
+
duration_in = 100
 +
duration_out = 200
 +
radius = 14
 +
brightness = 0.95
-
http://forum.meego.com/showthread.php?t=4833
+
# The items below are for the transitions that are applied
 +
# to a 'page' of launcher icons
 +
# -- duration: time in ms
 +
# -- depth: amount to move icons backwards and forwards (with perspective)
 +
#          this is pretty much how big or small the icons get   
 +
# -- sequenced: for in and in_sub, whether icons swoop nicely in (1)
 +
#              or whether they just all zoom in as one (0)
 +
# -- keyframes: A list of values that are linearly interpolated between
 +
#              to produce the movement of the launcher tiles. There can
 +
#              be any number of values as long as there are 2 or more.  
 +
#              <1 means nearer the viewer, >1 means further away
 +
# -- keyframes_label: The values used for fading in the labels. 0=transparent
 +
#                    1=opaque
 +
# -- keyframes_icon: The values used for fading in the icons. 0=transparent
 +
#                    1=opaque
 +
# Launcher top layer first appearing
 +
[launcher_in]
 +
duration=600
 +
sequenced=1
 +
depth=300
 +
keyframes=0,0.17,0.39,0.65,0.87,1.13,1.26,1.22,1.17,1.13,1.09,1.04,1,1,1,1,1,1,1,1,1
 +
keyframes_icon=0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1,1,1,1,1,1,1,1,1,1
 +
keyframes_label=0,0,0,0,0,0,0,0,0,0,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
 +
 
 +
# Launcher top layer disappearing
 +
[launcher_out]
 +
sequenced=1
 +
keyframes=0,0.17,0.39,0.65,0.87,1.13,2,1.13,0.87,0.65,0.39,0.17,1,1,1,1,1,1,1,1,1
 +
depth=-100
 +
keyframes_label=0,0,0,0,0,0,0,0,0,0,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
 +
keyframes_icon=0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1,1,1,1,1,1,1,1,1,1
 +
duration=100
 +
 
 +
# launcher top layer disappearing when a layer in front
 +
[launcher_out_back]
 +
duration=200
 +
depth=50
 +
 
 +
# launch animation
 +
# duration_out - amount of time to take when fading the launcher out and application in
 +
# delay - the amount of time to wait after the window has appeared before we fade out
 +
# (this time is *included* in duration_out, so it must be <= duration_out)
 +
[launcher_launch]
 +
duration = 400
 +
delay = 500
 +
duration_out = 700
 +
depth = 100
 +
 
 +
# sub-menu appearing
 +
[launcher_in_sub]
 +
duration=600
 +
sequenced=1
 +
depth=300
 +
keyframes=0,0.17,0.39,0.65,0.87,1.13,1.26,1.22,1.17,1.13,1.09,1.04,1,1,1,1,1,1,1,1,1
 +
keyframes_icon=0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1,1,1,1,1,1,1,1,1,1
 +
keyframes_label=0,0,0,0,0,0,0,0,0,0,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
 +
 
 +
# sub-menu disappearing
 +
[launcher_out_sub]
 +
sequenced=0
 +
keyframes=0,0.17,0.39,0.65,0.87,1.13,2,1.13,0.87,0.65,0.39,0.17,1,1,1,1,1,1,1,1,1
 +
depth=-100
 +
keyframes_label=0,0,0,0,0,0,0,0,0,0,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1
 +
keyframes_icon=0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1,1,1,1,1,1,1,1,1,1
 +
duration=100
 +
 
 +
# main disappearing when sub-menu appears
 +
[launcher_back]
 +
duration=150
 +
depth=-450
 +
 
 +
# main appearing when sub-menu disappears
 +
[launcher_forward]
 +
duration=150
 +
depth=-450
 +
 
 +
 
 +
 
 +
# Screen rotation transition
 +
# duration_in = time for rotation before blanking
 +
# duration_out = time for rotation after blanking
 +
# damage_timeout = in the rotation transition, the amount of milliseconds to
 +
# leave after we get a damage event before we transition back
 +
# from blanking.
 +
# damage_timeout_max = maximum amount of time we may wait if we keep getting
 +
# damage events.
 +
# angle = rotation angle for each transition, in degrees. Ideally this is set
 +
# so that the screen looks like it keeps turning at the same speed
 +
# during blanking. 0 is none, 90 degrees is side-on
 +
[rotate]
 +
duration_in = 150
 +
duration_out = 150
 +
damage_timeout = 0
 +
damage_timeout_plus = 0
 +
damage_timeout_max = 0
 +
angle = 0
 +
# changed from 100 in order to reduce jerkiness of transition (also changed the
 +
# fade-out so it doesn't fade to black completely)
 +
 
 +
# App close transition
 +
[app_close]
 +
duration = 380
 +
 
 +
 
 +
# Popup for dialogs and status menu
 +
[popup]
 +
duration_in = 250
 +
duration_out = 250
 +
 
 +
# Fade in for banners
 +
# _alpha specifies the final transparency of various things
 +
# currently only banner_note and info_note are supported
 +
[fade]
 +
duration_in = 200
 +
duration_out = 500
 +
banner_note_alpha = 0.85
 +
info_note_alpha = 0.85
 +
 
 +
# Transition for notification previews
 +
[notification]
 +
is_cool = 0
 +
duration_in = 400
 +
duration_out = 450
 +
 
 +
# Sliding subview window transition
 +
[subview]
 +
duration_in = 250
 +
duration_out = 250
 +
 
 +
[loading_timeout]
 +
# This is multiplied by the load average to find the timeout
 +
# in seconds. before "Unable to load" is displayed. There is
 +
# a minimum of 10s.
 +
load_average_factor = 4.5
 +
 
 +
# Edit mode configuration
 +
[edit_mode]
 +
snap_grid_size=8
 +
# Set to 0 if snap to grid should be only happen when widget is released
 +
snap_to_grid_while_move = 1
 +
 
 +
##
 +
# Special tweaks (a restart might be required)
 +
##
 +
[thp_tweaks]
 +
# Blurless desaturation (0 = default, 1 = MeeGo/Symbian-style)
 +
blurless = 1
 +
# saturation value for blurless (0 = no color, 1 = full color)
 +
blurless_saturation = 0
 +
# [home] brightness, is used for the brightness
 +
 
 +
# Bigger task switcher (0 = default, 1 = single column, 2 = two columns)
 +
taskswitcher = 0
 +
 
 +
# Rotation around the Z axis (0 = rotate around X/Y, 1 = rotate around Z)
 +
zaxisrotation = 0
 +
 
 +
# Forced app auto-rotation (0 = default, 1 = auto-rotate every app)
 +
forcerotation = 0
 +
 
 +
# Popup feedback using the "tactile" utility (0 = disabled, 1 = enabled)
 +
# You need to install "tactile" from the maemo.org repositories for this
 +
tactilepopups = 0
 +
 
 +
# Lock application window in landscape mode.
 +
# Example: blacklist = mediaplayer osso-xterm worldclock image-viewer camera-ui
 +
whitelist = osso-browser tablet-browser-ui rtcom-messaging-ui leafpad
</pre>
</pre>
-
Screenshot makes a screenshot every x times in the current directory named frame0000x.png
+
'''Chroot'''
 +
* When using a Maemo 5 PR1.3 qchroot /home/opt/ from the real maemo installation is mounted which results in a big mess. So we need to edit the qchroot to only mount MyDocs and not the whole /home/ folder
 +
<pre>#/sbin/qchroot/
 +
Comment out line 82
 +
 
 +
81 # Do it the Fremantle way.
 +
82 # mount /dev/mmcblk0p2 "$CHROOT/home"
-
<pre> gst-launch-0.10 ximagesrc ! video/x-raw-rgb,framerate=1/10 ! ffmpegcolorspace ! pngenc snapshot=false ! multifilesink location="frame%05d.png"
 
</pre>
</pre>
 +
 +
* pymaemo-optify works not as expected while it's one file system instead of 3 partitions.
 +
 +
<pre>To fix this install pymaemo-optify first
 +
Then
 +
 +
mv /etc/event.d/pymaemo-optify /etc/eventd.d/pymaemo-optify.bak
 +
mv /etc/init.d/pymaemo-optify /etc/init.d/pymaemo-optify.bak</pre>
 +
 +
'''Fix Wifite.py'''
 +
 +
<pre> 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 </>pre

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)