yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] tejasrichard:
hey man, don't know if I ever dropped you a thanks, so: thanks! I used your walkthrough on fresh 1.1, and I just used it again on 2.0b.

Linpack: 5.01 Mflops averaged

BenchmarkPi: 6417 averaged

Neocore: 31.1 averaged

Any ideas on how I can get Neocore up?
[Hero CDMA Android Development] jayjay7411:
well just got this running on fresh toast v2 beta 2, have to say freaking sick. helps gaming alot. now i am oc'd with jit with everything working!!

getting mflops4.7 havent reached 5s yet but we will see

thanks again for the walk through!!
[Hero CDMA Android Development] Jus10o:
No problem.. I try to keep it updated with everything i ever come across. I use this daily and i have for maybe a month or so.

Also for linpack, make sure there is nothing running in the background. If you have AutoKiller set it to a medium level, if its to high it might start wanting to kill things in the background while running the test. You can turn Mobile Network off and youll get better results for any test (youll still get calls and stuff, just not data stuff). Also make sure if using an overclocked rom you set the minimum to the highest setting also.
[Hero CDMA Android Development] ethandissi:
hi i keep on getting the file does not exist when i try to push it back but i see it in my c:\ and also my tools directory any idea what i am doing wrong?
[Hero CDMA Android Development] Jus10o:
I changed the instructions, though it does the exact same thing. I edited it to leave it where it pulls it to c:/android-sdk/tools.

But your problem is most likely haveing the phone mounted to your computer. Make sure it is on charge only. NOT to where you can see your sdcard from your computer.
[Hero CDMA Android Development] Tenny:
Has anyone figure out how to get JIT working on the newer 2.1 releases?
[Hero CDMA Android Development] ethandissi:
ah yes i had the sd card mounted thanks!
[Hero CDMA Android Development] toastcfh:
im wondering if u guys managed this or not too. i use sense so i dont use it, but im am wondering :p
[Hero CDMA Android Development] toastcfh:
found this posted in the freshhhh thread. prolly worth a look for the jit lovers out there
[Hero CDMA Android Development] Costa276:
That sucks!! Well, it was fun while it lasted...
[Hero CDMA Android Development] obelisk79:
deodex the rom, get jit going, reodex and then voila, sounds good, I wonder if that might have any impact on sense + jit.
[Hero CDMA Android Development] Jus10o:
Yea i wonder if they could do it will all sense related items and get it working.

Im not the man for that job. lol

Would be nice to see someone try it though.
[Hero CDMA Android Development] tejasrichard:
Awe man! I was really hoping to get JIT working with this new release! I loved using it on the last OC beta. What is involved with deodexing and reodexing? Is it complex, or just time-consuming?
[Hero CDMA Android Development] regaw_leinad:
JIT won't work with Sense, just reminding you guys.

I did hear tho that Cyan got it working on w/ Sense though.. Don't remember where I heard it, but I'll link you if I can find it again.
[Hero CDMA Android Development] toastcfh:
Were talking about Jit in the roms that have sense. The way these guys have been doing it is by removing sense and whatever else this tutorial asks u to do. The latest release key leak they are having issues with. But yeah Jit + sense might be life altering
[Hero CDMA Android Development] darchstar:
Lol, JIT isn't really that exciting. I mean yah, its cool to see the higher benchmarks, but you won't really see real improvements until froyo is merged into master. The only reason i include it in my roms is for people who delve themselves in the placebo. Just my 2 cents :p
[Hero CDMA Android Development] Costa276:
That's what he was saying. Those of us who have enabled jit know how picky it is about Sense. Very first time I enabled it I kept crashing and Jus10o kept helping me out. Then it donned on me, my damn wallpaper. He wants to see Sense made in a way to allow jit.

btw testing out your Toolbox too. I'll kick back some feedback :)
[Hero CDMA Android Development] Costa276:
What he said.
[Hero CDMA Android Development] regaw_leinad:
Awesome, thanks man!
[Hero CDMA Android Development] Jack-Johnson:
EDIT:This does not currently work with the newest 2.1.1(or what you call it) rom. Might be changed eventually, ill keep it updated.

any update on getting this working on the newest 2.1.1 yet? would it work on the newest fresh toast ocd if all the sense was taken out... id rather have jit and oc speed than sense anyday
[Hero CDMA Android Development] rfeagan:
I've been on DC 2.08.1 for a few weeks (since it came out), really enjoying it. I removed all the sense stuff (which I originally loved) but I'm finding the phone more responsive on vanilla. I've been toying with JIT for the last week or so and I while benchmarks do increase significantly, I believe I'm also experiencing faster response from my apps. In particular, webpages seem to render more quickly in Steel than without JIT. However, as I expected, I get a few more FC's with JIT enabled. Seems like almost every app I use works well with JIT EXCEPT Pandora.... which is kind of a deal breaker for me.

Couple questions regarding JIT optimization, to minimize the FC's. Which of these options would support smoother JIT operation:

Dalvik heap at 24mb or 16mb?

MinFreeManager/autokiller set to stock, mild, or aggressive?

Apps moved to SD or not?

Dalvik cache moved to SD or not?

My noob experimentation seems to indicate that JIT is more stable with MinFreeManager set to "aggressive", although the other options I cannot tell.

If anyone has any ideas to make Pandora reliable with JIT I'd be thrilled, although I'm not holding my breath.

Thanks for everyone's input!
[Hero CDMA Android Development] Jus10o:
Well damage control has an app dconfig that you can enable JIT by push of a button. I dont know whats causing the issues with force closing.

Most roms i see come with heap size 24, and its probably best for jit. All the others listed wont really effect force closing of apps.

Also pandora works fine for me on any jit rom, fresh toast and darchdroid.
[Hero CDMA Android Development] Jus10o:
This was stated here.

So until someone does this, i dont think it work. Or maybe you can try the deodexed 2.1.1 rom that was posted in fresh toast 2.1 thread. It might allow jit enabled. Not gunna guarantee anything.
[Hero CDMA Android Development] lorsoblu:
Just a quick question,

Is JIT something that I must disable if I no longer expect to use it, even when moving to a different ROM?

I was originally using Fresh 2.0b, and did a complete wipe (dalvik, ext, even SD) to move to Fresh 2.1.1 (based on the Sprint final).

This 2.1.1 ROM might be one of the grumpiest ones I have ever used (I miss calls on a regular basis due to answer lag! First time I've ever had that issue), but I am not sure if my prior use of JIT has anything to do with it.
[Hero CDMA Android Development] Jus10o:
Not jit on our current 2.1 roms only have 3 necessary files, dalvikvm, libdvm.so, and libnativehelper.so. All of these files will not exist if you did a full wipe. And when installing a new rom, those 3 files are completely replaced. The files are required by any rom. So even if you didnt wipe and you installed a new rom, the files get replaced and you will no longer have jit and it wont give you any problems.

I personally have not used the newest release just do to the fact that the 2.1's i had were already very stable. So ill wait until all the bugs get worked out of the newest and its actually worth flashing.
[Hero CDMA Android Development] schmooo:
hello ive been running jit for about a month and have never tried wireless tether since enabling it ... alas i tried it last night and it would connect but thats all i couldnt surf the internet with it also upon stopping tether it would go into a screen freeze every time .... since u seem to know more about jit than anyone.... do u have any suggestions on how to fix this or which versions of jitt to use....... im on dc 2.07.0.333 with your new update zip for the newest toast oc kernel... id like to get this working before the rampage/rashad fight sat night :)
[Hero CDMA Android Development] Jus10o:
I dont think it has anything to do with JIT.. You should try an older version of wireless tether or delete and reinstall it. Try reading threw dc 2.07 forum for a solution to wireless tether.
[Hero CDMA Android Development] rfeagan:
Batch file or script to reboot with/without JIT?

Is there a way I can put these commands into an android/linux "batch" file? It would be nice to create a batch file or script that allows me to reboot with JIT or without JIT. Sorry for the "batch" terminology but its all I know from DOS. Post a link or some keywords I should search on so I can learn more. Thanks all for the resources?

cd /sdcard/jit/bin

cp -f dalvikvm /system/bin/

busybox chmod 755 /system/bin/dalvikvm

cd /sdcard/jit

cp -f libdvm.so /system/lib/

cp -f libnativehelper.so /system/lib/

cat build.prop >/system/build.prop

chmod 644 /system/lib/libdvm.so

chmod 644 /system/lib/libnativehelper.so

chmod 666 /system/build.prop

sync

reboot recovery
[Hero CDMA Android Development] Jus10o:
Open Notepad. paste the lines inside. Click file>save as.. and save it has "enable jit.bat" and save it to desktop or something..

Also add c:/android/tools (or your exact path) to system variables, if you want to run my exact script from your desktop.

If you dont know how to do that, google it, or ask for help here. Also in my code below you can add these lines to the front of it, to get to the tools folder like this without having to do the system variables method.

cd\

cd c:/android-sdk/tools **(must be your exact path to the tools folder)**

These 2 lines will navigate to the tools folder so you can use adb commands.

Please read through and delete what you dont want.. This is just my .bat file i use

Enable JIT

adb remount
adb shell rm /system/app/Rosie.apk
adb shell rm /system/app/htcmsgwidgets.apk
adb shell rm /system/app/htccalendarwidgets.apk
adb shell rm /system/app/com.htc.WeatherWidget.apk
adb shell rm /system/app/com.htc.TwitterWidget.apk
adb shell rm /system/app/com.htc.MusicWidget.apk
adb shell rm /system/app/htcbookmarkwidget.apk
adb shell rm /system/app/htccontactwidgets.apk
adb shell rm /system/app/htcsearchwidgets.apk
adb shell rm /system/app/htcsettingwidgets.apk
adb shell rm /system/app/HtcClockWidget.apk
adb shell rm /system/app/HtcPhotoWidget.apk
adb shell rm /system/app/HtcWeatherWallpaper.apk
adb shell rm /system/app/HtcAddProgramWidget.apk
adb shell rm /system/app/HtcClockWidget.apk
adb shell rm /system/app/HtcLockScreen.apk
adb shell cp /system/build.prop /sdcard/dalbk/
adb shell cp /system/bin/dalvikvm /sdcard/dalbk/
adb shell cp /system/lib/libdvm.so /sdcard/dalbk/
adb shell cp /system/lib/libnativehelper.so /sdcard/dalbk/
adb shell cp -f /sdcard/jit/bin/dalvikvm /system/bin
adb shell chmod 755 /system/bin/dalvikvm
adb shell cp -f /sdcard/jit/libdvm.so /system/lib
adb shell cp -f /sdcard/jit/libnativehelper.so /system/lib
adb shell cat /sdcard/jit/build.prop /system/build.prop
adb shell chmod 644 /system/lib/libdvm.so
adb shell chmod 644 /system/lib/libnativehelper.so
adb shell chmod 666 /system/build.prop
adb shell sync
adb shell reboot

exit

Disable JIT

adb remount
adb shell cat /sdcard/dalbk/build.prop >/system/build.prop
adb shell cp -f /sdcard/dalbk/dalvikvm /system/bin
adb shell chmod 755 /system/bin/dalvikvm
adb shell cp -f /sdcard/dalbk/libdvm.so /system/lib/
adb shell cp -f /sdcard/dalbk/libnativehelper.so /system/lib/
adb shell chmod 644 /system/lib/libdvm.so
adb shell chmod 644 /system/lib/libnativehelper.so
adb shell chmod 666 /system/build.prop
adb shell sync
adb shell reboot
exit
[Hero CDMA Android Development] rfeagan:
Thanks Jus10o, that's a good idea and I'll probably do that. I probably should have been more clear, I'm wondering if there's a way I can write a "batch" file to run these commands from my phone, without having to plug in to my desktop or use adb. I've performed these commands in Terminal Emulator on the phone, wondering if there's a way I can save these commands as a shortcut or app on the phone so I can easily switch back & forth between JIT/non-JIT by running the script/app/batch and rebooting without plugging in to use ADB.
[Hero CDMA Android Development] Jus10o:
I get what you mean. Yea its possible, but im at work. Look up dconfig app here on the forums

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] rfeagan:
I have the DConfig app, but have changed enough that it doesn't seem to work. No FC's or anything, but enabling JIT, save, reboot didn't turn it on, at least not based on linpack scores. Following OP's instructions I did turn it on, at 768mhz I'm getting 4.9-5.1 MFLOPS. Some apps don't play well with JIT though, so would like ability to turnit off, like I used to do in DConfig
[Hero CDMA Android Development] rochford77:
2.1.2

hey, um well im a noob but you said it wont work with fresh 2.1.1, but i am running 2.1.2, which i believe is deoxd (tho i dont even really kno what that even means lol) so will this work with 2.1.2?
[Hero CDMA Android Development] grifforama:
Weird, I was testing this with Fresh Toast, and the build with jit enabled got worse scores on neocore than the non jit one ?
[Hero CDMA Android Development] regaw_leinad:
you can't use JIT on a ROM w/ sense. So, unless you removed every trace of HTC Sense, it will not work, so no on Fresh 2.1.2 OR FreshToast
[Hero CDMA Android Development] swears11:
I followed all instructions and booted succcesfully. Now, I'm getting force closes for EVERYTHING. I can't do anything on the phone, because their is always a force close box. I can't close them fast enough.

What could I have done wrong?

The only part I was confused about was the editing of build.prop

Do we add that line after the last line that is in there (is their a space in between?)

Please help!

Thanks. I'm freaking out right now!

I'm running DarkDroid 2.6.4 btw.
[Hero CDMA Android Development] Jus10o:
haha reflash darchdroid or do the disabling jit instructions on first page. Darchdroid already comes with JIT so you dont need this guide. the disabling jit for you will replace jit files with the working jit files.. For you its not gunna disable jit since your backed up files were already the JIT ones

i know i kinda repeated myself but i was trying to explain it better

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] rrr571:
JIT enabled - PureHero 2.0 w/LWP

Installed/enabled yesterday. Thanks for publishing the guide, it was extremely helpful. My only uh-oh was not extracting the zip contents to the root of the sdcard. The zip wants to create an extra folder. After I corrected that, it was a breeze.

MFLOPS immediately after rooting from official RUU - Avg-1.45

MFLOPS after flashing PureHero 2.0 w/LWP - Avg 2.1

MFLOPS after enabling DarkTremor Apps2sd 2.7 r1 - Avg 2.8/ 122mb free int stg

MFLOPS after enabling JIT - Avg 3.6/ Still 122mb free int stg

Running smooth with only a single BT hiccup.

8gb Class 4 sdcard.

This stuff rocks! :cool: :D
[Hero CDMA Android Development] underearth:
will JIT work on Fresh Rom 2.1.2 , or Buufed 1.6 themed ROM
[Hero CDMA Android Development] Jus10o:
try it, it should.. just do what the first post says and disable htc sense

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] daPorkchop:
Just wanna check this...DConfig does all this on its own right?

Edit: Also...does this not work for Sense or HTC in general. IE HtcDialer, HtcContacts, etc...
[Hero CDMA Android Development] Jus10o:
Those apps will still work... But yes Dconfig does do this.
[Hero CDMA Android Development] daPorkchop:
Ugh i keep getting bootsloop now when i enable it. Thanks for the info though.
[Hero CDMA Android Development] Jus10o:
Did you ban the apps in dconfig before doing it?
[Hero CDMA Android Development] daPorkchop:
I've removed a lot of the apk's manually. And did ban from dcconfig everything there. I boot loop. Maybe I didnt ban before I enable. I'll try one more time.

-------------------------------------

Sent via the XDA Tapatalk App
[Hero CDMA Android Development] daPorkchop:
So that didn't work. Imma pull the system/app folder here in a lip bit and see if I missed something. Then try a different Dconfig.

-------------------------------------

Sent via the XDA Tapatalk App
[Hero CDMA Android Development] daPorkchop:
/wrists i think im just gonna give up on JIT was nice that one time it worked for me.
[Hero CDMA Android Development] daPorkchop:
ok the HTC labeled items i have left in my ROM is

HTCAlbum.apk
HTCCamera.apk
HtcConctacts.apk
HtcDialer.apk
HtcLocationPicker.apk
HtcLocationService.apk
HtcMusic.apk
HtcNaviPanel.apk
HtcSoundRecorder.apk
HtcStreamPlayer.apk
HTC_IME.apk (keyboard hack i guess)

any ideas?
[Hero CDMA Android Development] roadster92:
I don't think the latest official 2.1 deodexed version will work with JIT. Here is a comment from Darch. I think he mentioned that the ROM needed to re-odex the whole ROM with JIT enable in order for it to work.

http://xdaforums.com/showpost.php?p=6509540&postcount=305

I have tried many attempts on latest DC 2.09.1 and Fresh 2.1.1 / 2.1.2 and they are not working.

:)

http://xdaforums.com/showpost.php?p=6509540&postcount=305
[Hero CDMA Android Development] daPorkchop:
boooo:mad::(
[Hero CDMA Android Development] Jus10o:
If treve and damage still have dconfig in the rom with "enable jit" then they need to get it to work or remove that option from the app

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] obperryo:
Can I apply this JIT to my Rooted 2.27.651.5 CDMA HERO (Stock Android 2.1)? Is it something work trying or is it known that it will not work.
[Hero CDMA Android Development] daPorkchop:
Nope it has Sense, and apparently if you remove Sense...
[Hero CDMA Android Development] 151jcolon:
im using dc 2.07.02 try that
[Hero CDMA Android Development] daPorkchop:
I'll give it a shot. Where can I find that.

-------------------------------------

XDA Tapatalk
[Hero CDMA Android Development] daPorkchop:
So, if a Rom has to be de-oexed then put back together in able for JIT to work now, does that mean I can't remove apps from it and still have JIT work? Or am I way out in right field?

-------------------------------------

XDA Tapatalk
[Hero CDMA Android Development] INCubed:
I'm using the default overclocked maps edition of PureHero 2.1 with Apps2SD enabled, applications moved to the SD card, the Dalvik heap set at 24mb, LowMemKiller set to stock, SD swapping enabled with swappyness set to 30, ZipAlign On Boot checked and JIT enabled (all done through DConfig). I'm consistently getting scores in Linpack above 5 MFLOPS.

By the way, if anyone is having trouble with bootloops after enabling JIT, be sure to wipe the Dalvik cache when you reboot. As long as everything Sense is removed, I think that might be the other thing that's causing all of these hiccups.

I'm not a developer by any means, but from what I've deduced after many hours of browsing the forums and plain ole' trial and error, the Dalvik cache wipe is key. :D
[Hero CDMA Android Development] daPorkchop:
Sweet thanks ill give that a go. Btw did you remove anything for instance auto killer?

-------------------------------------

XDA Tapatalk
[Hero CDMA Android Development] INCubed:
Well, I set it to Stock. I believe AutoKiller is doing the same thing, so I figured I'd let it handle everything.
[Hero CDMA Android Development] Brutus2TheMax:
Will this method work on DarchDroid 2.7?
[Hero CDMA Android Development] zer0vette:
hmm, what's the difference between this process and just ticking "enable JIT" in dconfig?
[Hero CDMA Android Development] perern:
Diamond 2

on my xdandroid diamond 2

i get from 3.8 to 4.7 on linpack.
[Hero CDMA Android Development] djowen6565:
I have been trying to enable this for about an hour now with no luck. The entire process works and the phone boots fine, however, as soon as I try to unlock the screen, I get force close after force close. Very frustrating. It says in the instructions that this doesn't work with 2.1.1 (or newer I assume), which I think is the problem. Of course I read that after 45 minutes of trying.... :(

Any ideas?!?

BTW: I'm already getting 5.093 MFLOPS running DarchDroid 2.7, OC to 768Mhz, APPS2SD enabled and a 16gb class 6 SD card... It makes me all the more curious to see what more I can get out of it...

Edit: after reading through the entire build.prop, I found this : dalvik.vm.execution-mode=int:jit (I didn't put it there...)

Guess its already enabled... Ugh...
[Hero CDMA Android Development] Jus10o:
JIT is enabled by default on darchdroid
[Hero CDMA Android Development] stricklerjosh:
Need some help...running Aloysius 2.1 which has dconfig in it...can I just hit enable JIT and run it? Or is there more to it than that? I am using ADW launcher.

any help is appreciated!!!

Also does JIT mess anything up other than sense widgets?

Thanks!
[Hero CDMA Android Development] FireDog31262:
How do you tell if JIT is working

Sorry to be such a noob but after following all the intructions to get Jit working I'm not sure that it is working. How would I be able to tell if it is?
[Hero CDMA Android Development] mrinehart93:
plug your phone into the computer, type "adb shell", and then type "dalvikvm -h". If it says anything with JIT at the bottom, then it's running with JIT.
[Hero CDMA Android Development] FireDog31262:
Tells me unrecognized option "-h"
[Hero CDMA Android Development] Danation:
Hey, sorry to bump an old thread, but this guide works for the Motorola CLIQ as well. Thanks for the guide :)

http://modmymobile.com/forums/f403/hey-check-out-jit-555209/
[Desire General] leoni1980:
Ive only had mine since the Saturday before last and already I have a tiny scuff on the lens and a hairline scratch on the screen. I've not dropped, manhandled or in any way mistreated the handset and I keep it in my jeans pocket with no other items....I can't for the life of me work out how this has happened. Luckily It's going back to T-Mobile as I'm not happy with the headphone loudness...unfortunately it will spoil my enjoyment of the device a little as I'm going to be constantly worrying about scratches .appearing from nowhere.

Just thought I'd let you guys know that it might be wise to get a case and screen protector for your Desire and not assume that careful handling will prevent it getting irritating scratches or marks.
[Desire General] gogol:
I have not received mine yet (it should be tomorrow), but I got same experience like yours with my HTC Kaiser.

I put it in my jeans pocket with nothing else, but yeah ... got scratches and the LENS cover is dirty which you cannot clean it.

I could buy the back part where the lens cover reside, but that's 30 euro in cost.

So, now, I bought a "seal" type of pouch for my upcoming HTC Desire :)

http://www.fommy.co.uk/view-full-page.asp?divid=Google&cat=Cases&skuno=82280

I already received it, it is soft leather and look nice. It should cover the whole device with slide open on top.

And I will buy screen protector later from martinshields.com (bit expensive, but it never let me down on my HTC Kaiser, Touch Dual, and Nintendo DSi). Strong, clear, thin and NO BUBBLES!
[Desire General] yurikg:
Similar situation with me - a few tiny scratches on the screen. Have to look hard to see them, but they're there. Waiting on screen protectors.
[Desire General] NutsyUK:
Just in case your getting confused... The screen has a cross hatch set of lines in it... Its part of the multitouch hardware i think. you can only see it in some angles of light. Same with the gridded dots.

Though i did buy a cheap felt pouch to keep it safe untill the PDAir cases come out.
[Desire General] Jabbypants:
I had a spare screen protector from my Milestone i just cut it to size and used that, far better than not having one at all, even though my old phone the Milestone had gorilla glass which they say you can't scratch i still never trusted it.