This process will allow you to enable JIT (Just In Time compiling) on Eclair (2.1) builds.
This is based on Jus10o's guide on XDA.
Tested on Motorola CLIQ running Eclair2CLIQ Beta 1 with my root fix.
Step 1: Download
Download the files needed here.
Step 2: Extract Files
Make a folder called ~/tmp (or something else if you prefer). Extract the contents of the archive you downloaded to that folder.
Step 3: Push Files
Open up terminal and typecd ~/tmpadb push dalvikvm /sdcard/jit/adb push libdvm.so /sdcard/jit/adb push libnativehelper.so /sdcard/jit/
Step 4: Modify build.prop
Pull your current build.propcd ~/tmpadb pull /system/build.prop .
Open in a text editor and input the line "dalvik.vm.execution-mode=int:jit" at the very end of the file.
Push build.prop backadb push build.prop /sdcard/jit/
Step 5: Backupadb shellcp /system/bin/dalvikvm /sdcard/dalvikbackup/cp /system/lib/libdvm.so /sdcard/dalvikbackup/cp /system/lib/libnativehelper.so /sdcard/dalvikbackup/cp /system/build.prop /sdcard/dalvikbackup/
Step 5: Copy the new files to their locationsadb shellcd /sdcard/jit/cp -f dalvikvm /system/bin/cp -f libdvm.so /system/lib/cp -f libnativehelper.so /system/lib/cp -f build.prop /system/
Step 6: Change Permissions and reboot into recoveryadb shellchmod 755 /system/bin/dalvikvmchmod 644 /system/lib/libdvm.sochmod 644 /system/lib/libnativehelper.sochmod 666 /system/build.propsyncreboot
Follow the standard procedure to get into recovery and wipe only dalvik-cache.
Reboot.
Step 7: Enjoy JIT!
To go back to non-JIT:adb shellcd /sdcard/dalvikbackupcp -f dalvikvm /system/bin/cp -f libdvm.so /system/lib/cp -f libnativehelper.so /system/lib/cp -f build.prop /systemchmod 755 /system/bin/dalvikvmchmod 644 /system/lib/libdvm.sochmod 644 /system/lib/libnativehelper.sochmod 666 /system/build.propsyncreboot
Enter recovery; wipe dalvik-cache; reboot. You are now JIT-less.
It was most likely from the original post, whoever has an original copy of the file can reupload it and ill update the post.
It can, but because of some instabilities with JIT on Eclair, it may sometimes slow the phone down. I've had a general increase in performance though. I think it really helps with things like smooth animations and things. Some things load faster, some things don't. It's pretty experimental on Eclair which is why Google held back the release until FroYo.
Welcome to the best Ad-Free Android Community around! Create your profile, and start posting now! New features are being added all the time!