stop clearing your dalvik-cache

Code: mount -a

NOTE: COMMANDS ARE CASE sensitive in LINUX and as such ANDROID!!!!!!

ALL OFF THESE COMMANDS ARE IN lower case. SO Turn off your Auto-Caps options in your keyboard options. These command assume you downloaded the script using your the web browser on your G1/Magic whatever phone and the file is located in /sdcard/download (the default location for web browser downloads).

Code: su mount -o rw,remount /system cp /sdcard/download/86dalvik-cache-fix.txt /system/etc/init.d/86dalvik-cache-fix chown 0:2000 /system/etc/init.d/86dalvik-cache-fix chmod 755 /system/etc/init.d/86dalvik-cache-fix sync reboot

WARNING:

replacing the build.prop may cause problems

Hello....use your head here... the VMLIBS.ZIP is for Motorola DROIDS, why would you put the build.prop file for a DROID on your G1 and expect your apps or ROM to work afterwards?

you need 1 file, it's called libdvm.so

/system/lib a file by the same name already exists there

FYI:

dalvik.vm.execution-mode=int:fast in the /system/build.prop

changed to dalvik.vm.execution-mode=int:jit

dalvikvm -h

1 st bootup is slow and I recommend you let it sit even when desktops are up for a couple of minutes and then reboot it, 2nd and 3rd bootups are faster and smoother response overall even for long durations, days.

FIX YOUR FILE SYSTEM FIRST

Code: #e2fsck -fcpDC0 /dev/block/mmcblk0p2 #reboot recovery For the lazy fingers #e2fsck -fcpDC0 /*/*/*0p2 #reboot recovery

Code: $su #mount -o rw,remount auto /sdcard #cd /sdcard/dusted-donuts #sh backup #sh install #sync #reboot

Code: $su #dalvikvm -h

Code: #mount -o rw,remount auto /sdcard #cd /sdcard/dusted-donuts #sh restore #sync #reboot

prefer to use VMLIBS.ZIP from t3hSteve? This is how you can install using that.



Required:

1. Android 1.6 ROMS with a bit Eclair stuff in the Kernel and framework such as Cyanogen ROM 4.2.x, Super D 1.8 - 19.2, WG Y2.6, FastTest, KingKlick Eclair and more.. This libdvm.so works on Android 2.1 as well as it seems it should..



How to install: (easier to go in recovery mode but can be done through terminal)

1. Download the VMLIBS.ZIP from t3hSteve of allroid.com http://alldroid.org/download/file.php?id=1374

2. You only need the libdvm.so file of which appears to be JIT enabled by default.

3. Backup the original libdvm.so #cp /system/lib/libdvm.so /sdcard/libdvm.so

4. Copy the JIT enabled libdvm.so #cp -f /sdcard/vmlibs/libdvm.so /system/lib/libdvm.so

5. Set permissions on the file #chmod 644 /system/lib/libdvm.so



Optional for disabling: (easier to do vi through recovery console, since the back key escapes out of terminal)

To disable JIT MODE but want to keep the libdvm.so create a local.prop in /data and add dalvik.vm.execution-mode=int:fast

#vi /data/local.prop

press the i key to enter vi interactive mode

type dalvik.vm.execution-mode=int:fast

press back key to exit vi interactive mode

to write the file out and quit vi type :wq



or



restore your backed libdvm.so file from the sdcard.