yashsingh1/xdaforums huggingface dataset:
[myTouch 3G Slide Android Development] sino8r:
Good eye! Yes, you are correct. Those are wrong but it is on purpose. You see the one that changes everything is the name of the board. If I change it to espresso, jit stops working and the light and auto rotate start working. It's kind of crazy. I guess I haven't found the proper variation yet or the lib files need to be adjusted for the espresso. Which I really have no idea on how to.
[myTouch 3G Slide Android Development] Ace42:
When you did the quadrant scores were you at the default 600MHz?

I tried Quadrant @768MHz(No JIT) and got only 432, I might try it on the newer OC+JIT to compare.Looks like we're borderline with the Desire/N1, not bad.
[myTouch 3G Slide Android Development] sino8r:
I didn't test 600mhz but I tell you what I got before jit with it OCed at 768mhz. I would get 350 to 390. Now I'm in 500's everytime. The rom you're using sounds even faster so I bet you might get in the 600's. You should try it out. Just copy and paste your current build.prop into the off.zip and it'll be easy and safe to turn jit on and off.
[myTouch 3G Slide Android Development] Ace42:
Im using Cr's ota rom, i tried Quad and only got 490:confused:

The cpu takes a while to reach 600+, plus my min was 245 so that might be the problem...But in linpack i get 5.6x.
[myTouch 3G Slide Android Development] sino8r:
Is this after jit? I know when I had mine set to scale below 600 while the screen is on, it took way too long to scale back up cause serious lag. Today I use 768/600 on and 245 off. Not much battery drain, really. Anytime the screen is on the battery drains anyways.

UPDATE: I'm gonna look into some froyo roms and see if I can use anything for JIT and getting it working fully for 2.1 The lack of a light sensor is making the qwerty kb a real pain in the butt!
[myTouch 3G Slide Android Development] Ace42:
Yeah, its after using JIT...But i have the feeling my min is the problem.Also Swype wont work correctly, it has the message about wrong device. The line in the JIT's buildprop is probably the culprit. I will have to try it again but with a higher min.
[myTouch 3G Slide Android Development] sino8r:
Yeah, anything below 600 always slowed it down more than it was worth. It's almost not worth OCing when it has to scale from so low. About Swype (plus the light/auto rotate) is all due to the board name being incorrect. I am working on getting JIT working while keeping espresso as the board name. My guess is... if you do into terminal emulator and type dalvikvm -h... the system says that JIT is on (thats with the board named espresso or sapphire) but it's not working while its named espresso. So... I think that maybe the system doesnt recognize espresso and those versions of dalvikvm, libdvm.so, and libnativehelper.so files. And I had tried using 2.2 versions but they are too different. So I think I should try and find a legend version of JIT add on and try those files since they are the closest to our device but they have to work with 2.1. I looked in the beginning but will try again since I realize now the espresso does recognize that JIT is on. I will report any new finds in a little while.
[myTouch 3G Slide Android Development] nbetcher:
Any updates on getting the sensors fixed?

Something I wanted to ask you: why do you include the DalvikVM in your package instead of just modifying the build.prop alone? The files that you have in the zip are already in the stock ROM. Are they modified from the stock ones?

If they are modified and I can find the source code then I could probably fix the sensors by adding an Espresso line into the source code.

Please let me know what you know about their origin and/or if there is source code available for the JIT DalvikVM. If you could, please PM me the info since I'll be packing+moving+working over the next 7 days.

Thanks. :)
[myTouch 3G Slide Android Development] sino8r:
They are moddified libs plus the dalvikvm fiile. They are just ones that have been floating around xda for a while. There are a million of these floating around. I got that particular one from Ace42. You'll have to ask him where he got that one. I can and used at least 5 different jit zips floating around and can get them all to work but the sensors don't. I know the Espresso line is missing. Adding espresso as the board name in build.prop and repairing all the proper names will disable JIT for some reason. If you change If it were just that simple... It would have been working the first day. There are only two lines needed to enable JIT in a rom by adding them in build.prop:

dalvik.vm.execution-mode=int:jit

dalvik.vm.heapsize=32m (can be 24 to 48)

and... you also need moddified "dalvikvm", "libdvm.so", and "libnativehelper.so" files

I am currently testing some more files and trying them. I'm not sure if and where the official source code is. My guess as they have been borrowed from dev to dev. Most devices work fine with these with no problems. I can add the into older 2.1 devices and they work like the G1 and MyTouch but with the MTS being newer with a light sensor... they don't seem to work without disabling some stuff. I tried using some from the desire and they work too but again... same sensor issues. yeah, if Ace42 can locate were he got them from and a source code would help, I'm all for it. I'm now how and what to add and resign and stuff but finding the correct "dalvikvm, libdvm.so, and libnativehelper.so" files are the issue now. Plus, from what I have read... JIT and Sense UI have troubles together and we have an even stranger form of sense ui, espresso which could also be causing issues. Not really sure what to do at this point but to test more lib files and find a source code for one of the working ones.

update: well I've been searching and can't find a source code for any working jit add ons for 2.1. they all seem to be "borrowed" from other developers or roms. i think newer version of sense is the problem because I have tried adding the proper files and editing build.prop with the correct values and the ONLY way it seems to work is if I can change the board name from espresso to magic or hero or etc... I'm thinking that most folks have forgotten about jit since most folks are on 2.2 ports already. I wish stupid tmobile would just send the f*cking ota already. That way all the customized ports of 2.2 could be fixed and we'd have 2.2 sense and could give up on this stupid project anyways. I've tried everything... not sure what else I can do besides living with it or building the proper files ourselves and am not sure how to since there seems to be no true source on how these jit add ons work or how to compile because everyone seemed to borrow them from others!
[myTouch 3G Slide Android Development] sino8r:
Updated original post. v2 released. minor speed improvement over stock. not quite as fast as v1 but hey.... everything works. still working on getting v1 speed back without the issues that follow when applying it. But v2 will give you a little speed boost from whatever 2.1 rom you're using now. If you wanna test... adb push your old dalvikvm, libdvm.so, and libnativehelper.so from your rom zip or be lazy and flash the jit-off.zip first to make sure your results are accurate.

especially if you flashed any past versions. Then do your benchmarks. The old files you flash from previous versions WILL interfer as the off switch from version 1 was wrong! Don't worry, all versions have been corrected and reloaded on to the OP.

I'll update screens later too tired but here are average results: best outta 3 (all OCed at 768MHZ)

Btw, running Eugene's SLIDE MR1 v4 with A2SD EXT.3

Jit off

Linpack avg. 2.80-3.05

Quadrant avg. 350-365

Jit on v2

Linpack avg. 3.85-4.10

Quadrant avg. 394-415

Jit on v1

Linpack avg. 4.95-5.20

Quadrant avg. 499-519
[myTouch 3G Slide Android Development] landykos:
Just flashed with no issues V2..will update later after I play with it for the day to report back on performance.

LK
[myTouch 3G Slide Android Development] nbetcher:
Thanks for the reply.

I found the Dalvik source code and I'm (slowly) working on modding it to support our device w/JIT.
[myTouch 3G Slide Android Development] sino8r:
That will be nice if we can get the original speed back that v1 had... of course without the bugs. v2 is okay but not nearly as fast. thanks for the help, dude! if you need something to compare to check out v2. Its about half the speed of the original (the one with the sensor issues) but it still is a nice improvement from stock speed without jit. Something isn't clicking with sense. it works afterall but loses half the speed when you add "espresso" to "ro.product.board=" in build.prop. If you can somehow edit dalvikvm file to get it working at full speed... that would be excellent! Good luck, man! you gonna need it ;)
[myTouch 3G Slide Android Development] nbetcher:
That's really odd. I'm concerned that it disables enhanced speed due to compatibility issues with the sensors or other libraries.

Where did you get this new version of JIT? What do you know about it?
[myTouch 3G Slide Android Development] sino8r:
Its the same version actually. Apparently, jit was running when I added the correct lines to the build.prop. I just didnt notice since it was half the speed and I was only comparing it to version 1 and not stock like I should have. its just half as fast when you add espresso to the board name in build.prop. see it corrects the sensors but slows it down to half speed. The slower v2 is still 1 mflop faster than stock. But version 1 is 2 mflops faster than stock. So basically the build.props are different but the dalvikvm, libdvm.so, and libnativehelper.so are the same. And of course, the build.prop and the files in the off.zip are straight from stock. The jit files are straight from the zip Ace42 posted in the thread earlier. I don't know why it does that but it only runs half speed when things are fixed in the build.prop. download all 3 and compare them yourself. You'll see what I mean about the build.prop lines and see how they run. How do you plan on rebuilding the actual files though?
[myTouch 3G Slide Android Development] nbetcher:
Durrr. I'm confused. You said they're the same as stock, so why post them? :p

Second, you said it includes the "JIT files" - aren't the JIT files the dalvikvm, libdalvikvm.so, and libnativesupport.so (or whatever they're called)? I didn't think there was any other binaries/libraries.

Sometimes I get easily confused if there is a lot of extraneous information - not your fault, just something I can get lost in.
[myTouch 3G Slide Android Development] sino8r:
Eek! I'm getting confused now! Okay the jit files in the "jit-off" zip are stock. The ones in version 1 & 2 are edited ones. The edited ones in verson 1 & 2 are the same files EXCEPT the build.prop. The fastest version is version 1 (the broken sensor one) and the build.prop identifies the device as an HTC Magic. The slower version (which is STILL faster than stock but only half the speed of version 1 for some reason) is version 2 and it identifies the devices CORRECTLY as htc espresso.

The problem now is version 2 works nicely with no issues (like sensor loss) but it is only HALF the speed of version 1 (broken sensor one) for some reason. Basically, we corrected the build.prop but it lost half the speed of JIT for some reason. No sure why? But try flashing them and doing some benchmarks. You'll see what I mean. I'm not sure why we lose half the speed... check the op if you get confused or reread some of my past posts. I tend to repeat myself in different ways. :D

P.S. You can check jit status by typing "dalvikvm -h" in terminal emulator. That might help while testing the versions. Use Linpack for benchmark. It's quicker and run it 3 times before switching zips to confirm true speed.
[myTouch 3G Slide Android Development] sino8r:
Update v3 beta

Okay, I have figured out some stuff finally and this is the best I can do for a while. I will try and build some lib/dalvik files later for a final release but that will take a while. Few weeks at the most. Okay so... usually 2D/3D scores increase a good bit with JIT enabled (like on v1) but for some reason they are only increasing a little bit with v2. THAT is what is causing v2 to be half the speed of v1. There is no fix for this WITHOUT breaking the light/motion sensors. BUT... what I can do and have done in v3 is increase heapsize causing v3 to be a bit faster than v2. I am now scoring 4.00-4.65 linpack and 415-445 in quadrant consistently. THAT IS A BIG INCREASE FROM STOCK WITHOUT JIT. Without JIT, I'm luck to get 3 mflops on linpack. That's overclocked at 768mhz and running Slide MR1 v4 (which tends to get way lower scores than the latest rooted ota). check the op for v3 downloads. enjoy!
[myTouch 3G Slide Android Development] jreed3786:
Um, yo....stupid question, but...

How in the heck are you overclocking 2.1? I thought all of the oc kernels were for froyo? Yes, I did search...and haven't found anything conclusive, bro.
[myTouch 3G Slide Android Development] Ace42:
If its from the 'espresso" branch then you can apply it to "any" espresso rom. If you use one from "cyanogen's" branch it will work...But things "somethings" might become broken. Dumfuq did not say that his kernel is "only" for Froyo or cyanogen did he?
[myTouch 3G Slide Android Development] jreed3786:
Random reboots with JIT on...

I noticed that it appears to happen during Market downloads, Maps...and other cpu intensive programs. Any ideas? Haven't noticed any problems with JIT off.... but definitely gunna give a night of testing. Running CR's OTA. Have also tried with SuperRemix 1.0...which I don't believe I had a problem with, using JIT. Only problem with THAT rom, (off topic), was a shotty WIFI connection. Strange...
[myTouch 3G Slide Android Development] sino8r:
Yeah, you're right. It's been happening to me but I was experimenting with kernels and to be honest wasn't sure if my EXT partition was corrupted. I'll get one or two reboots a day with intensive usable (my hand is glued to phone basically). I have been running the same nandroid backup for a while and periodically update my backup so I wasn't sure if it was time for a wipe or what. Of course, the jit hack was about when it started happening and am putting 2+2 together now. yeah, it's jit doing it for sure. what version are you running? are you getting more than 2 reboots a day? If so, I have been using a different version for a few days and seem to on get a reboot or two a day after alot of usage. Before, I was running the version 3 and seem to get more reboots with that one. But most folks seem to be stuck on froyo and haven't mentioned any bugs so I figured it was my phone. Well, thanks for confirming this and I'll upload the latest version. Basically, I turned the heapsize down a bit and added the warn on command which should make it more stable. I was going for the faster speed but stability is more important plus you'll still get the nice speed boost. I know it's not as great of a speed boost like froyo but this has less bugs still, imo. here ya go!

oh, and let me know how it goes. This such be more stable and less reboots.

btw, use the same off switch, ;) I am not sure sure whether the other problems you meantioned besides the reboots are kin to jit. I personally haven't had any of the others. Lol, I like your avatar. I though Obama would be what our country needed but turns out he is the same old do-nothing politician like all the other folks in the government. Plus, it seems like he's more interested in being a celebrity than president...

Nevermind... Figured everything out! Check the first post for good news!
[myTouch 3G Slide Android Development] sino8r:
UPDATE for JIT! FULL JIT ACHIEVED!

:eek:kay guys, jit is NOW working at full speed!!! FINALLY! It's just like version 1 beta only everything works!! It turns out some live wallpaper (beautiful ) I had be using was cutting speed in half... In the last few versions, I had been so frustrated that I turned up the heapsize so high it was causing reboots. This is no longer the case (or at least should be like a once a week thing) by shrinking down the heapsize and enabling "warnonly" optimization. V3 will be the final version since all is good now and should tide us over until the froyo ota hits. I will update the op and add my latest scores with linpack and quadrant. remember those who are running the rooted ota will have the fastest speed, probably. If you all have any questions or bugs let me know but they should be minimal like an ocasional reboot and nothing serious. Thanks for the support and long live 2.1, lol! no really, gimme my 2.2 ota!
[myTouch 3G Slide Android Development] tonyjklh:
great to see this is fully working now. will be flashing it soon.
[myTouch 3G Slide Android Development] ratchetrizzo:
Just flashed this, and I'm using the OC 844 kernel on CR OTA rom.

can't wait to see what the results are.

Booting was a lot faster for one thing.
[myTouch 3G Slide Android Development] jreed3786:
Was running the OTA, and yep, this toned down v4 seems to have fixed the problem! Sino8r, you're awesome and I'd like to donate. Thanks for sticking around as one of the last devs for the Slide... and thanks for the detailed response.

About Obama, yeah...his real name's Barry Soetoro... he's an illegal President, we've never seen his full birth certificate and he keeps fighting it being mandatory, in court. Continuation of Bush... just another installment of the New World Order.

IT APPEARS THAT BEAUTIFUL WIDGETS MAY BE THE CAUSE, MY FRIEND!! I had v4 and Beautiful Widgets Smaller Home widget on, after installing BW...and BAM...reboot. I never use LWP's, so I'll try disabling the homescreen widget and see what happens. GRRRR!!!!
[myTouch 3G Slide Android Development] Oakley44:
Sorry to take this OT for a sec but...Have some flippin patience. It's gonna take more than 2 years to reverse the fundamental destruction caused by 8 years of the Bush administration. There's conspiracy and then there's corporate-sponsored conspiracy. There are PLENTY of very very wealthy people that own or support very wealthy companies (Fox, Haliburton, Exxon Mobil, NewsCorp, CreditSuisse) who would love nothing but to incite fear and doubt in the direction this country is going or in its executive leader. Every political movement that takes control away from the purse strings of these companies is attacked so as to render it ineffectual or otherwise impotent. Divide and conquer. Sorry for the rant. I haven't even had my coffee yet.

ps. thanks for the JIT plus espresso. looks awesome.
[myTouch 3G Slide Android Development] sino8r:
You could try v2. It has an even smaller heapsize. The warnonly command is correct in that version so it will enable jit and run properly. I haven't had any reboots since v4 and I use weather & toggle widget. It similar to beautiful widgets but it might be a bit different. Also, do you overclock? Anything at 806 & beyond plus jit might be too much for 2.1 to handle. I have might set at 768 and seems to be more stable than 806. If you have over 8-10 widgets or so that could be part of it. These are just ideas to try but v2 might be good to try since it uses less memory. Let me know how it goes...
[myTouch 3G Slide Android Development] epeets:
ok, I have to hear people's angry and (mostly stupid) political views with no true backing but internet jabber that could've of easily been tampered with/created or media talk from some silly news shows that no one but old people watch at work ALL DAY. There's a General thread for all that crap. Please keep it where it belongs. In all truth i rather it not be here on a tech site @ all.
[myTouch 3G Slide Android Development] ratchetrizzo:
I'm @844 and it's pretty stable.

Nothing out of the ordinary really, BW clock/weather works, my other widgets work, games work. I only had two hiccups. Rosie crashed a couple of times and the patter lock went nutty once.
[myTouch 3G Slide Android Development] jreed3786:
I SO wanna retort about "patience", but the only topic that would be relevant in this forum, and thread... would be that I am being patient with this JIT and gunna try version 2, along with Beautiful Weather. Barry Soetoro (a.k.a., Barack Obama) is for a political forum.

After stress testing with v2, I haven't rebooted once... will post more occurances, if they happen. Thank you, sino8r!!!
[myTouch 3G Slide Android Development] jreed3786:
Agreed, bro. But my sig is about opening up our minds, past cell phones. The info is out there. And I don't think anyone's STARTING posts with the intent to spam or propagandize in here. It's free speech, that's all. If a person sees a sig while reading about cell development, so be it. The world won't end if someone has a humorous sig... same with an infobomb left in theirs.

Relaaaax.
[myTouch 3G Slide Android Development] sino8r:
To be honest... I don't care what you what ya'll talk about, political or jit. It's kinda my fault as I brought it up. I'm not sure what Obama's deal is if he isn't who he says he is, or if he is doing his job correctly, focusing on the right issues or rather act like a celebrity. I think people tend to be a little overly sensitive when it comes to being critical about him since he is the first bi-racial president. I'm not sure what to think and hope he pulls it together. I hope some of you are right and just needs more time. I just want whats best for this country and if he can help fix it, well good then. But he keeps focusing on the less important thinks, well he won't get re elected. Simple as that, really. Well like I said if it were up to me, we could talk about whatever. But... I really don't want one of the mods to close the thread so lets get back on track, huh? If ya'll want to pm each other and finish up, go for it.
[myTouch 3G Slide Android Development] jreed3786:
Yep yep! Oh, and it's def not a race thing with me...I'm 1/2 Native American, 1/4 white AND 1/4 black... I just detest corruption. Just like I detest the iphone. :-)

Still runnin' strong on the v2, tried running maps for time being, along with color flashlight, and browser, along with Beautiful Widgets....no crashy crashy! Saweet!
[myTouch 3G Slide Android Development] tonyjklh:
well unfortunatly my phone restarted itself, and when it came back two apps were broke. but for some odd reason a nandroid restore did not fix it??? had to reflash the rom and reinstall the apps.
[myTouch 3G Slide Android Development] Ace42:
Make sure you wipe before nandroid.
[myTouch 3G Slide Android Development] tonyjklh:
yes lol, i always wipe before nandroid, or flashing or anything like that. im thinking that the problem may have happend before jit and i just never noticed it. has anyone else had a similar problem with CR OTA rom?
[myTouch 3G Slide Android Development] jreed3786:
JIT.... JIT.... Why do ya do this to meeee???

Well, I did have a problem yesterday, installing the CR OTA and JIT... Phone just restarted and then bootlooped. Had to wipe, reinstall, tried again and yet no success. I had to go to v4, or turn JIT off to stop the madness. So far, I'm running the OTA with v2 and it seems to have fixed MY random reboot problem... until, of course... it epically fails. Lol.

I just realized today... there is NO perfect rom out there, no matter what anyone says. The earlier 2.1's didn't send MMS correctly... wifi or not... others fail to hold wifi connections... still others can't hold JIT for shizzle. 2.2, in my opinion, is ugly, more bloated looking, lights don't work correctly, wifi sucks on it so far, apps2fat32 is garbage and a royal pain in the ass... It'd be amazing if just one rom had EVERYTHING working flawlessly.

:DNot that I'm complaining, at ALL... but I just wonder if it's ever gunna be possible on the Slide. Would be awesome to see the devs gang together and bang out both a 2.1 and a 2.2 that kick cornhole! If I had the time, I'd learn to dev... but it's not easy to do with 2 jobs, to make up for one.

As always, thanks for the devs that are still here... and to those that GOT US HERE... but yeah, why not create a SWEEET rom that keeps everyone content and blissfully happy? BOOYAKASHA!
[myTouch 3G Slide Android Development] n1ghtl1fe:
Can anyone post a few screens? Im not sure if its just a basic 2.1 or sense ?