Android optimization

Today, because I have more free time, I played with my droid and did it 2 quite interesting improvements. In general, the result was 3 times faster system boot and around 50% application applications. The version I used is 2.2.2. So what did I do

  1. Odexing – So what is it odex and deodex is a topic that I do not intend to consider now and who does what but let a slight explanation deodex these are various hashes check amounts and classes that facilitate the movement of applications from one system to another and improve the life of the programmer, yes, but they also slow down our system because when the application is started, it makes checks and checks. So as long as the lyrics first removed the deodex, this is elementary with the following script. It is launched with root rights on your phone, he will do everything necessary. Once packed packed and so on. Know that you may lose some contact information, etc., so back them up in advance!
  2. JIT enabling – just-in-time compilation this is another beauty that is good to appear. As you know, java is not the fastest platform on the planet like many other programming languages. That's why various smart heads came up with the idea that instead of compiling the application every time and then starting it, it's better to compile it once and then keep the byte code copy.. This avoids the need for recompilation, speeds up startup and reduces the resources required. This turns out to be an interesting task not because of anything else but because the file was in the read only directory of the phone 😀 not that this is a problem 😉 Enabling JIT works by adding the following line to the file /system/build.prop dalvik.vm.execution-mode=int:jit How you open it and edit it is your job whether through adb or ssh it is a matter of your discretion to be able to edit it you need to execute the following commands on the phone
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

#mtdblock2 е дяла където е маунтнат system може да видите верния за вас номер с df

echo "dalvik.vm.execution-mode=int:jit" >> /system/build.prop

#може просто да си ъплоуднете файла аз направо на ръка го оправих

mount -o remount,ro /dev/mtd/mtdblock2 /system

Restart and enjoy your new faster Android

Leave a Reply

Your email address will not be published.

Anti SPAM *