yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] lbingham:
Results

Well, I've been running this for quite some time now. I enjoy being able to show people that my Linpack BM is 3.5, but really, I don't notice anything. If there are everyday user improvements, I don't see it.

On the other hand, I don't see it hindering my system either. For that reason, I've left it installed.
[G1 Android Development] KAwAtA:
I got curious about this myself!

(I did NOT expect this to work but oh it can't hurt too much!)

Wiped Dalvik Cache from recovery and my phone has force closed beyond force closed! Haha, Maybe I'll try wiping the Dalvik Cache again, with a diff method. Lets hope it works!

JIT is nice. Hasn't really made too much of difference (yet), only made wiping dalvik a bit different!
[G1 Android Development] tnpapadakos:
i thought it might be problematic:(

sorry dude
[G1 Android Development] KAwAtA:
Well if it helps, here's what I tried. Just wiped it manually instead, I did this in terminal since my phone is currently plugged into the wall (other side of my room!)

$su

#cd /cache/dalvik-cache

#rm *

#exit

$exit

I also noticed /data/dalvik-cache/ still laying around. I decided to wipe that as well and it works.

So theres what I did, hopefully it's right? I'm not 100% sure. (I'm not 100% sure either why the recovery dalvikcache wipe gives a billion FC's)
[G1 Android Development] tnpapadakos:
ok thanks, i might try it at some point
[G1 Android Development] MotoMudder77:
Ok I think I might have got it, most of it anyways. I tried it in terminal, got to the install part, phone hung for a lil bit, then restarted. So I checked to see if it was installed, got alot of JIT.....hacks I believe.

Phone seems faster, will it affect anything if I didnt get to the sync part?
[G1 Android Development] asb123:
same with me, it wouldn't cd and stuff in recovery so i tried in terminal.

I did the same thing, after install hung for like 10-15 seconds, and it rebooted, i have jit

but did not get to do the sync step (because it rebooted itself) is this a problem?
[G1 Android Development] DefTaker:
Just installed dusted-donuts according to LickNuts' directions and it worked until reboot - got a buttload of FC errors that came up on the 1st reboot but I followed Malix82's instructions and it works perfectly! Big ups and mucho thanks to both LickNuts & Malix82!
[G1 Android Development] DefTaker:
Forgot to mention, before installing dusted-donuts, I was getting 2.358Mflops (that was my best score) now I'm getting almost 3.6Mflops! (Got 3.587 and 3.593!)
[G1 Android Development] licknuts:
Shouldn't be a problem and if you feel sketchy about it, you can run it again, the reason it hangs in terminal is because the default mode of the library is JIT enabled and your previous one is not. The system appears to freese however I have seen it reboot from the same method. So give it a try again if you feel compelled.

The one time it does cause a problem is when /system is out of space and the file only partially copies, you will know this happened because you will have to go to recovery console and do some clean up in there, even using restore won't fix it, your out of space by your own management of apps and volume space, remeber it's not an infinate amount of space and some of these ROMs are using up the space.
[G1 Android Development] matthian:
Thanks, perfect. Used your method and everything went smooth. Over 3 MFlops again.
[G1 Android Development] MrBlueEyez:
Maybe the hack works good, i haven't noticed any performance increase. That said, i did notice a decrease in GPS accuracy. Normally i get a fix in under 30 seconds, with 10 sats visible. After the hack, i get a fix in 3 minutes, with 6 visible and a large error.

Did anyone notice this?
[G1 Android Development] xxmonsterx:
try to do a nandroid backup, if it doesnt work for you i deeply regret asking you to try it.. its up to you...

@licknuts..

have you found a way to execute a perfect install on 4.2.15.1 with nandroid working and without having to run

rm -fr /data/dalvik-cache
ln -s /cache/dalvik-cache /data/dalvik-cache

after each reboot?
[G1 Android Development] xxmonsterx:
Nand problem solved

if you use my script and make a nandroid backup, when you restore; before rebooting after restore run install-plus again from recovery console.
[G1 Android Development] FiFTYSiX:
2.2 before

3.6 after

not bad, don't see to much of a difference, but with overclock custom scripts etc.. i guess the g1 is spoiled at this point!

thanks!
[G1 Android Development] Shane2:
Just a brief question, this fix, for the FC's that occur on Cyanogen Mod:

mount -a

rm -rf /data/dalvik-cache

rm -rf /cache/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

ln -s /system/sd/dalvik-cache /cache/dalvik-cache

rm /system/sd/dalvik-cache/*

sync

reboot

How would I go about turning this into a shell script (SH file) putting those commands in manually eats up a lot of time

Thanks
[G1 Android Development] tnpapadakos:
anyone know how to get davlik turbo? someone says theyre using it on their G1....myth?
[G1 Android Development] xxmonsterx:
my code posted on page 30
[G1 Android Development] Klyentel:
So is this new method of using the install-plus, something we need to do on all roms here on out? Or just the latest CM-4.2.15.1?
[G1 Android Development] xxmonsterx:
idk it solves the fc issue with me
[G1 Android Development] Kazba1626:
Finally got it working on complete eclair improved 3d gaming dramatically.
[G1 Android Development] nolimit78:
Does this also install JIT? Or is it just the Jitfix?

EDIT: I dont know why I didn't just look at the code. Yeah it does both. :D Thanks!
[G1 Android Development] xdsimply:
when i try to run the FC fix it says: "no such file or directory" when i run the command mount -a can someone tell me where i went wrong? 0.o
[G1 Android Development] mrkumquat:
the plus install should cover for future versions out unless Cyan moves the dalvik cache again in future roms
[G1 Android Development] square1:
Finally got it running on cm 4.2.15.1

No more fc's

Before:

2.3 mflops

After:

3.6 mflops
[G1 Android Development] lefeudedieu:
Hello

I've installed in FastTest and SuperFast the Jit Hack before 586ms and after 476 ms !!!!!!!!!!!!

Big performances :

http://forums.smartphonefrance.info/viewforum.php?f=42&sid=aa6d740c89cb35e3c65c1a49737bb1b3

Thank SmartPhone France and Xda-forum

And clay
[G1 Android Development] Armadillo123:
I installed this last night. I think overall there's a slight improvement.

However after getting all the FC's on Cyanogen 4.2.15.1 I installed 4.2.14.1 and it works but now for some reason the "home button" on my Magic 32B is not working. I think I might have had a "home FC" but didn't think much of it at the time. Has anyone else had that problem and know how to fix it?
[G1 Android Development] CaptainPointless:
This is probably a really noobish question, but whenever I go to type "mount -a", I get an error that says:

/ # mount -a
mount -a
mount: mounting /system/modules/modules.cramfs on /system/modules failed: No such file or directory
mount: mounting /system/xbin/xbin.cramfs on /system/xbin failed: No such device
/ #

How do I work around this? What is causing this? According to both Malix's and Monster's posts, this is a necessary input. I will say, however, that I don't quite understand what is getting mounted with this command. I can follow instructions to the letter, but I have trouble working with command-line level stuff if problems like this arise. Thanks for any help!
[G1 Android Development] tnpapadakos:
ignore it, better yet, dont type mount -a, just go directly to the next command
[G1 Android Development] aaraya1516:
works on SD 1.10.1

I just wanted to say that the modifications on page 30 made it possible to add JIT to SD 1.10.1

And it's stable.
[G1 Android Development] CaptainPointless:
Ok, new problem, I have install-plus.dat in the dusted-donuts folder, but when I get to the

# sh install-plus

it brings up

sh: Can't open install-plus

Is there a problem with the process I'm going through?
[G1 Android Development] Blueoval24:
Ok. Did this hack to SuperD 1.92 and getting zero FC's and all seems when. Only issue I had was during install (after running "sh install") it rebooted. I ran

dalvikvm -h

and getting "Unrecognized option "-h"" in the first line but at the very bottom it does read "with_jit show exception=1..ect"

Any downside to not running the "sync" command after install? Also I downloaded an app yesterday and when installing, it rebooted. But after trying again, it installed no problems. Hope my ext didnt corrupt, but if it did, might not be that bad.
[G1 Android Development] xxmonsterx:
install-plus.dat?

change the name to install-plus with no extentsion

the -h just makes the output to console smaller, the -h isnt necissary
[G1 Android Development] ttabbal:
It was helpful, just trying to warn off newbs so they don't try to follow a script they don't understand. This is the dev forum, so the directions people post for stuff like this is intended for other devs and advanced users. Newbs come in, don't follow directions and ***** about bricking their phones, which usually aren't really bricked. I didn't post more directions as the posted directions said what needed to be said.

As I said, not trying to be rude, trying to be helpful. I even posted suggestions for free ways to learn more about Linux CLI. Chill, and understand that emotion doesn't translate well to text. Now, can we get back to discussing the JIT VM? :D
[G1 Android Development] SilentTweak:
For me it made my 3G connection faster. Hard to say if my browsing actually got any faster, but it's smooth at least.
[G1 Android Development] ttabbal:
No backup? brave. :)

adb pull /system/lib/libdvm.so

Do that before the push, so you can go back. Or you can just re-flash your ROM I suppose. If you have adb, you can also do "adb shell chmod 644 /system/lib/libdvm.so".
[G1 Android Development] ttabbal:
It probably just made it possible for your phone to process the data faster. The speed of the network is probably the same, your phone was just telling it to slow down because it couldn't handle the speed before. :)

Overall apps start up and shut down faster, and are quicker in normal use. Of course, after a reboot every ROM will feel faster than it did before, but bootup is a reasonably static time with the exception of the first boot after a flash. It's much faster to boot now.

We need to run for a day or two to really understand how the performance changes over time. So far, so good though.
[G1 Android Development] SilentTweak:
I assume people did a backup lol Cause people were asking about the read-only error. Just offering an alternative after the backup is done. Then again you could rip it from CM Rom or was it the defanged zip? It's not totally lost either way.

EDIT: Should be

adb remount

adb pull /system/lib/libdvm.so /sdcard/libdvm.so

Right? Gotta say where to pull it.
[G1 Android Development] unkleremis:
Interesting. I followed these directions in the terminal emulator but never got a chance to enter

# chmod 644 /system/lib/libdvm.so

# reboot

It just rebooted itself after

# cp -f /sdcard/vmlibs/libdvm.so /system/lib/libdvm.so

That being said, everything seems fine, the reboot was very quick and everything is smooth. :)
[G1 Android Development] Rekna:
I tried this on the latest CM and after I reboot I get locked up with logcat looping through stuff like this:

E/installd( 133): dexopt cannot open '/data/dalvik-cache/data@app@com.xtremelab

s.android.speedtest.apk@classes.dex' for output

D/dalvikvm( 228): GC freed 8674 objects / 522000 bytes in 120ms

I/PackageParser( 228): Impliciting adding android.permission.WRITE_EXTERNAL_STO

RAGE to old pkg com.nextmobileweb.phoneflix

D/installd( 133): ZipAlign: --- BEGIN '/data/app/com.nextmobileweb.phoneflix.ap

k' ---

D/installd( 133): ZipAlign: --- END '/data/app/com.nextmobileweb.phoneflix.apk.

tmp' (success) ---

E/installd( 133): dexopt cannot open '/data/dalvik-cache/data@app@com.nextmobil

eweb.phoneflix.apk@classes.dex' for output

I/PackageParser( 228): Impliciting adding android.permission.WRITE_EXTERNAL_STO

RAGE to old pkg com.google.android.stardroid

I/PackageParser( 228): Impliciting adding android.permission.READ_PHONE_STATE t

o old pkg com.google.android.stardroid

D/installd( 133): ZipAlign: --- BEGIN '/data/app/com.google.android.stardroid.a

pk' ---

D/installd( 133): ZipAlign: --- END '/data/app/com.google.android.stardroid.apk

.tmp' (success) ---

E/installd( 133): dexopt cannot open '/data/dalvik-cache/data@app@com.google.an

droid.stardroid.apk@classes.dex' for output

D/installd( 133): ZipAlign: --- BEGIN '/data/app/org.iii.romulus.meridian.apk'

---

D/installd( 133): ZipAlign: --- END '/data/app/org.iii.romulus.meridian.apk.tmp

' (success) ---

I waited about 20 minutes and it was still outputting these messages. Right now i'm trying to go back to stock.

anyone have any suggestions?
[G1 Android Development] SilentTweak:
Try going into recovery, and then console and do a fix_permissions. Then try rebooting, see if that fixes anything. Otherwise, I'd suggest putting back in the original libdvm.so file. That or I hope you did a Nandroid backup.
[G1 Android Development] pinkolin:
Maybe try wipe dalvik cache too. This hack is another Dalvik VM, maybe incompatible with your old Dalvik VM.
[G1 Android Development] aaraya1516:
A bit more NOOB friendly

http://xdaforums.com/showpost.php?p=5703076&postcount=193

That was my original post with how I did it.

It's super simple if you follow my steps, even noobs can follow.
[G1 Android Development] unkleremis:
Yeah, I saw your post first but I am apparently abd incompetent (cant seem to get it to work on my pc) so I used terminal emulator and the steps on page 2 (I think).
[G1 Android Development] aaraya1516:
I had loads of issues on windows 7 x64 and had to download an unsigned driver from somewhere on the net and can only use adb when I disable the signature checking.
[G1 Android Development] unkleremis:
Maybe thats it as I am running Windows 7 x64 also
[G1 Android Development] SilentTweak:
I'm on Windows Professional x64 too and have 0 issues with adb.
[G1 Android Development] chillbeast:
I too am on Win 7 x64 and I had problems with ADB at first, what I had to do was download USB Deview(Google it, it's free) and remove all android/htc USB drivers from my system, then plug my G1 back in and it loaded the correct driver and ADB has worked since.

Try this out if you guys are still having trouble.
[G1 Android Development] /checco\:
can i return to my original dalvik simply restoring an original nandroid+ext backup?
[G1 Android Development] whywhy1:
Got it now

$su
#mount -o rw,remount auto /system
#cp -f /sdcard/vmlibs/libdvm.so /system/lib/
#chmod 644 /system/lib/libdvm.so
#reboot
[G1 Android Development] Klyentel:
Well Im using it, no problem installing, but uhh...what exactly is this supposed to do??:confused:
[G1 Android Development] SilentTweak:
Makes $hit go faster. If you installed it properly you should get at least 3.3MFlops on Linpack Benchmark. 3G connection might be faster too, it is for me at least.
[G1 Android Development] Rekna:
I tried wiping the cache but the rm command would complain about "No such file or directory" for each file in the cache folder. I could not remove or modify files in the cache folder. Eventually I repaired the file system from the recovery console and then was able to wipe the cache. I rebooted and things appear to be working now.

In summary I believe my problem was a corrupted file system on my sd card.
[G1 Android Development] Blueoval24:
gotcha. Any downside to not running the sync command?
[G1 Android Development] xxmonsterx:
to be honest i have no idea lol
[G1 Android Development] law_ren_ce:
How did u do it? exactly?

I keep getting stuck at the G1 Screen.
[G1 Android Development] CaptainPointless:
Changing the file extension fixed the issue. Not sure why it did it in the first place though, since I downloaded directly from the link you posted, Monster. Maybe my computer just thought it was a .dat file for some reason. Isolated problem?
[G1 Android Development] erdinc:
I'm getting FC's all over the place , tried fix_permissions nothing !!

Any help ?
[G1 Android Development] donepate:
I don't think I have ever seen that many force closes, one right after another, in my life. I am waiting till it gets a little more stability under it's wings.
[G1 Android Development] Shane2:
There is a remedy for the force closes, look at the first post properly.
[G1 Android Development] tnpapadakos:
why not try the .zip method of install?

http://xdaforums.com/showpost.php?p=5809973&postcount=288

this has been working without any problems for me since March 6 on my mt3g

just put it on your sdcard and flash from recovery mode

:confused:

also works great on my friend's G1
[G1 Android Development] aaraya1516:
I actually extracted the zip, placed the libdvm.so file in the lib folder and added the line (dalvik.vm.execution-mode=int:jit) to build.prop. Re-zipped it and auto-signed it again, flashed the drc83_defanged, then flashed my modded 1.10.1 zip. afterwards I didn't reboot but stayed in recovery, and I used adb shell following the instructions on page 30:

mount -a

rm -rf /data/dalvik-cache

rm -rf /cache/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

ln -s /system/sd/dalvik-cache /cache/dalvik-cache

rm /system/sd/dalvik-cache/*

sync

reboot

rm /system/sd/dalvik-cache/* might return error but it doesn't matter.

then I finally rebooted and it worked.
[G1 Android Development] sombionix:
What do you mean you 'added the line to build.prop'?
[G1 Android Development] sturmeh:
All you need to do are follow the instructions on page 30, the easiest way is to scroll down and get install-plus.

NOTE: When using install-plus REMEMBER to run 'sh backup' first!
[G1 Android Development] kratos911:
ok i flashed the zip that was on post #288. everything seems to work with no issue other than google voice not working whatsoever. anyone else have the same issue? running cyan 4.2.15.1
[G1 Android Development] Jinson7:
Does this require a secondary partition with apps2sd? I am running latest cyanogen with no secondary partition - don't want to have apps2sd...
[G1 Android Development] tnpapadakos:
Did you try fix_permissions in terminal emulator yet? (and then a reboot)
[G1 Android Development] Klyentel:
sh install plus does not work on Super D 1.10.2,

sh install doesn't either...both methods result in endless force closes,

any solutions on how to successfully enable dalvik/jit for Super D 1.10.2??:confused:
[G1 Android Development] aaraya1516:
Trying it right now with "the easy way" in my sig.

It works.
[G1 Android Development] MrBlueEyez:
I got in trouble when i had problems with Market. It didn't load any apps, and i got tons of time-outs. Now that shouldn't be a problem caused by the JIT hack. But, when i cleaned up my market and removed the dalvik-cache for both vending and vending.updater, i got FC's for Market. Determining where the problem arised, I checked logcat. It couldn't find the dex-files. After searching for them, i have seen them in the default place. Should this happen? I'm using Cyanogens' latest mod and created a clean install. After booting up, i used the install-plus.

Any thoughts on that? Seems that Android still uses the default location when creating dex files?
[G1 Android Development] sxfx:
Confirmed that it runs flawlessly (at least on my phone) on Super D 1.10.2.

All I did was after I flashed Super D 1.10.2, was open terminal emulator and, used the first install.

Then I rebooted my phone into recovery right away and in recovery I ran the install-plus.

Also make sure if you use a home replacement app, make sure the stock or nexus launcher are default, you can switch right back with out a problem after you enable JIT.

I noticed that with my Home++ or GDK after first boot with JIT enabled it gave me some problems, so I went and selected my stock launcher as default, enabled JIT, and switched over to Home ++ after first reboot, and so far so good :).
[G1 Android Development] funbacon:
Can I use this hack for Official ADP 1.6 ? And can I use this hack without ext, swap partition ?
[G1 Android Development] antiregister11:
I don't get why you're wasting precious SD Card read/writes (plus the higher latency to connect to it) if you don't have to use it. The only change Cyanogen made was moving the directory to /cache. Thus, all you have to do is:

ln -s /data/dalvik-cache /cache

No need to do all that fancy install-plus stuff, it's a one-liner. Tested on SuperD 1.10.2
[G1 Android Development] irishrally:
SuperD 1.0.5.2: Benchmark Pi: 11998ms/ Mflops: 2.35

With JIT: Benchmark Pi: 8921ms/ Mflops: 2.59

Despite the benchmark improvement, stock SuperD seems to run more smoothly.

Should either compcache or swap be turned on?
[G1 Android Development] licknuts:
compcache steals ram for it's function and is slower because of compression, a swap partion or swapfile is faster but there is no making up for lack of ram, both solutions will allow more apps to be run.

your Benchmark Pi number is really good and I think your Linpack rsult could be. low because of a process interupting during your tests, if you were to retest a few times you should see it hit higher numbers.
[G1 Android Development] Jinson7:
Odd behaviour

So I flashed the zip file someone posted from a few pages back and my phone would not boot. Did a wipe and re flashed the ROM and all was ok. Would this change anything behind the scenes that the wipe might miss as my phone seems to be misbehaving :(

Not sure if it related to this or not...
[G1 Android Development] irishrally:
Nice, thanks for the explanation.
[G1 Android Development] browneye:
This f*cked up my phone totally.

Using a Eris dump on my Hero I installed dusted donuts and now Sense is in a FC loop.

Any suggestions?
[G1 Android Development] Sik-1:
so far no JIT for sense, as i have seen
[G1 Android Development] zimphishmonger:
Anyone had luck implementing this in SuperD 1.10.2? I only get FC city when I try to use dusted-donuts :(
[G1 Android Development] tnpapadakos:
try the zip found here, works for me

http://xdaforums.com/showpost.php?p=5809973&postcount=288

just flash from recovery and reboot a few times till it settles in

although its for cm 4.2.15.1...do a nandroid backup first
[G1 Android Development] zimphishmonger:
Thanks a lot! Will def try this out :D
[G1 Android Development] MrBlueEyez:
*BUMP* Any ideas on why i had this problem? For the time being i have disabled JIT, because i still have this problem..
[G1 Android Development] Larsie90:
Just go into recovery console and type

rm -rf /data/dalvik-cache
rm -rf /cache/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
ln -s /system/sd/dalvik-cache /cache/dalvik-cache
rm /system/sd/dalvik-cache/*
sync

I went from ~2.2 MFLOPS to ~3.6 on SuperD 1.10.2 :D
[G1 Android Development] tnpapadakos:
zimphishmonger, youre probably better off trying this instead of that zip, cause the zip is good for cm 4.2.15.1, dont know if it works on superd
[G1 Android Development] lefeudedieu:
The JitHack works with all the Super D, which are RamHack.

Super D the 1.10 not work because without RamHack

works very well with my RamHack as FastTest because they are twins!:);)

http://forums.smartphonefrance.info/viewtopic.php?t=57946

France, toulouse

DREAM White

Radio: 2.22.19.26I

SPL: haykuro's + RA-Recovery-v1.6.2-blue dream

Rom: DreamFast v1 by Lfd

SD: class 4 4gig 128/512/3giga
[G1 Android Development] aaraya1516:
I actually use it on non-Ramhack, just follow the easy steps in my signature.
[G1 Android Development] studjuice:
I was using SuperD 1.10.2 and kept getting FC.

Then I went to cyanogen 4.2.15.1 and still kept getting FC. I could not get adb to work, though i got the usb drivers to work, and I couldn't find a recovery console. So my only option was the terminal emulator. Nothing worked till i found this .zip file in post #408

Worked flawlessly. flashed it during class and let it reboot a few times while we were watching a video.

was getting 2.29 Mflops consistently, now getting 3.2-3.6 Mflops.

Yes I can confirm this. I am using cm and my google voice now FC's