Archive

Archive for the ‘ROM’ Category

Why you don’t need task killers on Android

Androcheck from xda-developers forum has figured out how to configure Android’s internal taskkiller:

We all know that Android uses a different way of handling processes. Instead of killing every process after its Activity ended, processes are kept until the system needs more memory. These processes usually should not harm the overall performance and should give speed improvements if you start an Activity again. That’s the idea.

But when does Android kill a process? And which process? As far as I understood android keeps a LRU (last recently used) list and starts killing the oldest unneeded process. This way it is much smarter than any of the taskkillers we see in the Market.

Android seems to group running processes into 6 different categories:

FOREGROUND_APP:
// This is the process running the current foreground app. We’d really
// rather not kill it! Value set in system/rootdir/init.rc on startup.

VISIBLE_APP:
// This is a process only hosting activities that are visible to the
// user, so we’d prefer they don’t disappear. Value set in
// system/rootdir/init.rc on startup.

SECONDARY_SERVER:
// This is a process holding a secondary server — killing it will not
// have much of an impact as far as the user is concerned. Value set in
// system/rootdir/init.rc on startup.

HIDDEN_APP:
// This is a process only hosting activities that are not visible,
// so it can be killed without any disruption. Value set in
// system/rootdir/init.rc on startup.

CONTENT_PROVIDER:
// This is a process with a content provider that does not have any clients
// attached to it. If it did have any clients, its adjustment would be the
// one for the highest-priority of those processes.

EMPTY_APP:
// This is a process without anything currently running in it. Definitely
// the first to go! Value set in system/rootdir/init.rc on startup.
// This value is initalized in the constructor, careful when refering to
// this static variable externally.

These 6 categories are reflected by 6 memory limits which are configured for the lowmemorykiller in the kernel.

Default values varies from 6 mb (foreground app) to 24 mb (empty app). This means that the system will keep the apps in memory while you have at least 24 mb free. If you feel that more free memory and less apps in background will make your phone faster, these values can be increased.

Read more on xda-developers forum: How to configure Android’s internal taskkiller.

A few days later, oldskool73 released an app for tweaking these values:
http://www.dustypixels.com/blog/2010/01/30/android-app-minfreemanager/

Tags:

Fixing text auto-fit in Milestone browser

If you’re missing auto-fit functionality in the stock Milestone browser, it’s time to fix it:
http://alldroid.org/viewtopic.php?f=259&t=1690

Sounds complicated, but you simply need to copy Browser.apk to the /system/app/ dir and set permissions to 644. It can also be done with Root Explorer, if you don’t have ADB installed.

Text auto-fit in action:

Motorola Milestone has been rooted

Motorola Milestone has been finally rooted by folks from Android-Hilfe.de (English translation).

  • Download .zip file and rename it to update.zip.
  • Copy file to the SD card (root directory).
  • Switch off the phone
  • Hold Camera button and Power until / ! \ appears.
  • Press Volume Up and Camera button to see a recovery screen.
  • Flash update.zip

Download links:

Just tested it with Market Enabler, it works. Wireless Tether said “No Netfilter”, I guess we need custom ROM now.

Android 2.1 apps on Motorola Droid/Milestone

After spending a day on forums I’ve found these apps from 2.1:

All apps works on the non-rooted Milestone (Android 2.0).

Download apps

Milestone Multitouch browser for Droid

Works on Android 2.0.1 and 2.1. You’ll need rooted phone and ADB/RootExplorer.

http://alldroid.org/viewtopic.php?f=210&t=1166&start=0

Too complicated? Download Dolphin browser.

Personally I changed zoom in the browser 2-3 times last year, and think this feature is little bit overhyped.

Tags: ,

Superboot – rooting the Nexus One

Already have Nexus One? See the simple 3-step rooting guide by Paul from MoDaCo:

Superboot is a boot.img that when flashed, will root your device the first time you boot (installing su and the superuser APK). No need to flash the system partition, no need to use ADB, no messing with the contents of your data partition, no overwriting the shipped ROM on your device, just flash the boot image using the instructions below and you’re done!

Tags: ,

Android 2.1 on the Motorola Droid

Brandon recorded a new video showing new features in 2.1: homescreen cards, new gallery app with great animations and swipe gestures and more.

Want to try this ROM yourself? Read How To: Load Android 2.1 onto the Motorola Droid Using Nandroid on The Unlockr.

You can also install new Gallery and music app on non-rooted Droid/Milestone.

Tags: , ,