PDA

View Full Version : [Android] Speed up Android!


Vid
2008-07-11, 05:04
I'm creating a new thread for this so it doesn't get lost

http://groups.google.com/group/android-internals/browse_thread/thread/7028432fa76f57e8/6a6624085c3080bd

Someone already got m5-rc15 running on n800 but not very stable. However, we can benefit from his stop all unneeded processes script :)

The problem is called RAM - already filled up with maemo.

EDIT: Just trying unloading the whole bunch of processes there - Android is much faster and responsive this way. If you want it before penguinbait adds it to the deb - just add this in /usr/bin/android.sh just after echo "Starting Android..."
/etc/init.d/zzinitdone stop
/etc/init.d/alarmd stop
/etc/init.d/mediaplayer-daemon stop
/etc/init.d/bme-dbus-proxy stop
/etc/init.d/af-base-apps stop
/etc/init.d/btcond stop
/etc/init.d/dbus stop
/etc/init.d/gpsdriver stop
/etc/init.d/hildon-desktop stop
/etc/init.d/hulda stop
/etc/init.d/libgpsbt stop
/etc/init.d/obexsrv stop
/etc/init.d/af-startup stop
/etc/init.d/af-services stop
/etc/init.d/x-server stop
/etc/init.d/maemo-launcher stop
/etc/init.d/osso-systemui stop
/etc/init.d/bluez-utils stop
/etc/init.d/multimediad stop
/etc/init.d/mce stop
/etc/init.d/product-code stop
/etc/init.d/hildon-update-notifier stop
/etc/init.d/metalayer-crawler0 stop
/etc/init.d/esd stop

And by much faster i mean at least 5 times :)

According to the post - you should have lifeguard reset switched off.

I wanted to keep the bluetooth DUN connection working, so I left btcond running. Also, I added a fix for the lifeguard problem with penguinbait's installer:


touch /etc/no_lg_reboots
/etc/init.d/ssh stop
/etc/init.d/metalayer-crawler0 stop
/etc/init.d/mediaplayer-daemon stop
/etc/init.d/hulda stop
/etc/init.d/alarmd stop
/etc/init.d/obexsrv stop
/etc/init.d/osso-systemui stop
/etc/init.d/af-base-apps stop
/etc/init.d/bluez-utils stop
/etc/init.d/libgpsbt stop
/etc/init.d/gpsdriver stop
/etc/init.d/hildon-desktop stop
/etc/init.d/af-startup stop
/etc/init.d/maemo-launcher stop
/etc/init.d/esd stop
/etc/init.d/multimediad stop
/etc/init.d/af-services stop
/etc/init.d/x-server stop
/etc/init.d/mce stop
/etc/init.d/dbus stop


With this addition to /usr/bin/android.sh, Android works with either WiFi or BT DUN if the link was up before starting Android.

pycage
2008-10-31, 07:08
混蛋, spammer!

EDIT: chinese spam got deleted meanwhile. So ignore this post. :)

Benson
2008-10-31, 08:43
混蛋, spammer!

Hmm... Firefly influence? ;)

(It looks strange now without context, but I suppose a spam was there, but is now deleted.)