(→Reducing memory use) |
(→Reducing memory use) |
||
| Line 42: | Line 42: | ||
1. Remove unused booster processes. | 1. Remove unused booster processes. | ||
| + | |||
There are no apps in the DE image that use qml-booster or qt-booster. Therefore the processes can be removed without functionality suffering. | There are no apps in the DE image that use qml-booster or qt-booster. Therefore the processes can be removed without functionality suffering. | ||
This can be done by removing libqtbooster.so and libqdeclarativebooster.so from /usr/lib/applauncherd/ and rebooting. | This can be done by removing libqtbooster.so and libqdeclarativebooster.so from /usr/lib/applauncherd/ and rebooting. | ||
2. Remove volume-control | 2. Remove volume-control | ||
| + | |||
Volume control process consumes memory. By removing this you will save memory, but you cannot change volume. | Volume control process consumes memory. By removing this you will save memory, but you cannot change volume. | ||
This can be done temporarily by killing process meego-volume-control or permanently by removing meego-volume-control.desktop from /etc/xdg/autostart and rebooting. | This can be done temporarily by killing process meego-volume-control or permanently by removing meego-volume-control.desktop from /etc/xdg/autostart and rebooting. | ||
Contents |
On his local laptop:
$ osc -A https://api.pub.meego.com branch -cm "would like to experiment e.g. xsetroot right after the start_X_server() to enhance the UX." MeeGo.com:MeeGo:1.2:oss uxlaunch
$ osc meta prj Project:DE:Trunk:Testing (copy the below)
<repository name="standard"> <path repository="standard" project="Project:DE:MeeGo:1.2"/> <arch>armv8el</arch> <arch>i586</arch> </repository>
$ osc meta prj -e home:msugano:branches:MeeGo.com:MeeGo:1.2:oss (vim starts & paste the above).
On N900 MeeGo is really tight on memory. That is why it feels sometimes so sluggish. There are few things that can be done about it.
1. Remove unused booster processes.
There are no apps in the DE image that use qml-booster or qt-booster. Therefore the processes can be removed without functionality suffering. This can be done by removing libqtbooster.so and libqdeclarativebooster.so from /usr/lib/applauncherd/ and rebooting.
2. Remove volume-control
Volume control process consumes memory. By removing this you will save memory, but you cannot change volume. This can be done temporarily by killing process meego-volume-control or permanently by removing meego-volume-control.desktop from /etc/xdg/autostart and rebooting.
Start widgetsgallery Select ->debug_tools->xx_wg_take_screenshot
Command line alternative [meego@localhost ~]$ export DISPLAY=:0 && gst-launch-0.10 ximagesrc num-buffers=1 ! ffmpegcolorspace ! pngenc ! filesink location=screenshot.png
1. Download Meego kernel for N900
# git clone http://git.gitorious.org/meego-device-adaptation/n900_kernel.git n900_kernel
or use http://meego.gitorious.org/meego-device-adaptation/n900_kernel/archive-tarball/master to download manually
2. Compiling Meego Kernel
Execute following commands in command prompt
# export ARCH=arm # export CROSS_COMPILE=arm-none-linux-gnueabi-
Note: You should have arm tool chain in your host machine
Enabling CAIF Protocol support for ST Ericsson Modems (or do whatever changes you need for the kernel)
# make omap2plus_defconfig # make menuconfig ( Note: select caif protocol support in Networking and driver sections)
Do kernel modifications here!
# make zImage # make modules # make modules_install INSTALL_MOD_PATH=$path to install modules
Finally kernel images available @ $Meego_kernel_source/arch/arm/boot/zImage
3. Copy modules to N900 device ( Note: Already device should have meego os)
Note: connect device with host via usb cable before executing this command
4. Loading Compiled Meego kernel
Download flasher from http://tablets-dev.nokia.com/maemo-dev-env-downloads.php?f=maemo_flasher-3.5_2.5.2.2.tar.gz
Load Kernel using
# sudo ./flasher-3.5 -l -k $Meego_kernel_source/arch/arm/boot/zImage -b
Note: Before executing this command,please power off the device.
Now connect USB cable with device. You will see Meego home screen after 2 or 3 minuteson this page.
From N900 DE console or over ssh write to add Access Point Name:
/usr/lib/ofono/test/create-internet-context internet
And take use GPRS connection:
/usr/lib/ofono/test/activate-context
And deactive GPRS connection:
/usr/lib/ofono/test/deactivate-context
If somehow modem is not running (online), you have to write:
/usr/lib/ofono/test/enable-modem /usr/lib/ofono/test/online-modem
Placeholder, let's start linking relevant information