Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root
i7500 - All Things Root Rooting, ROMS, Overclocking, etc.
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old July 7th, 2010, 08:03 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default Dalvik (Froyo) with JIT for Donut

Here is Dalvik with Jit from Froyo adapted for Donut.

Download dalvik-jit-for-I7500-donut.zip from Sendspace.com - send big files the easy way

Expect around +50% improvement (that does NOT mean it goes x2 times faster).

You have to push everything in /system, and better adding "dalvik.vm.execution-mode=int:jit" at the end of your /system/build.prop, even if it is enabled by default.

Otherwise, an update.zip to apply using recovery is available here:
Download jit by jakax.zip from Sendspace.com - send big files the easy way (by BEAUTY and tested by Seandk)

As internal structures have changed in Dalvik from Donut to Froyo, new odex files are provided (from stock files).

At first boot, all applications will be rebuilt.

jakax is offline  
Last edited by jakax; July 7th, 2010 at 10:09 AM.
Reply With Quote
The Following 7 Users Say Thank You to jakax For This Useful Post:
bresslau (July 20th, 2010), dsyzug (July 8th, 2010), fanky168 (July 23rd, 2010), Ikarus (July 7th, 2010), inFECT (July 7th, 2010), stanleylhs (July 16th, 2010), tisti (July 11th, 2010)
Sponsors
Old July 7th, 2010, 09:06 AM   #2 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Totally busted my Galaxo 1.6.3.3, booted afther third atempt, theme gone, keeps crashing, cant even start launcher...
Its probably ment to be instaled on a fresh clean 1.6 donut...or smth...
Sarma is offline  
Reply With Quote
Old July 7th, 2010, 09:49 AM   #3 (permalink)
New Member
 
Join Date: Dec 2009
Location: Bangkok
Posts: 9
 
Device(s): Samsung Galaxy (Galaxo 1.6.3.3 with Froyo Dalvik)
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can install it as normal (I am on Galaxo1.6.3.3) but it seem like the launcher (drawer) back to original JC6.
zaniku1 is offline  
Reply With Quote
Old July 7th, 2010, 10:20 AM   #4 (permalink)
Member
 
Join Date: Oct 2009
Posts: 364
 
Device(s): Samsung Galaxy i7500 (Galaxo 1.6.3.4)
Carrier: Not Provided

Thanks: 15
Thanked 26 Times in 13 Posts
Default

Hmmm, think I'll wait for a few more people to try this out first then.
MichaelW is offline  
Reply With Quote
Old July 7th, 2010, 10:56 AM   #5 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by Sarma View Post
Totally busted my Galaxo 1.6.3.3, booted afther third atempt, theme gone, keeps crashing, cant even start launcher...
Its probably ment to be instaled on a fresh clean 1.6 donut...or smth...
Push everything, not just files in system/framework or use the zip for recovery.
Wait on first boot for applications to be rebuilt.
jakax is offline  
Reply With Quote
Old July 7th, 2010, 11:10 AM   #6 (permalink)
New Member
 
Ikarus's Avatar
 
Join Date: Jul 2010
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Notsure

Have just tried with the Galaxo 1.6.3.3.
0971 MFLOPS
No Go
My Nandroid backup recall again
Ikarus is offline  
Reply With Quote
Old July 7th, 2010, 11:18 AM   #7 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by Ikarus View Post
Have just tried with the Galaxo 1.6.3.3.
0971 MFLOPS
No Go
My Nandroid backup recall again
Really ?
How did you slow it down ?
jakax is offline  
Reply With Quote
Old July 7th, 2010, 11:34 AM   #8 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by jakax View Post
Push everything, not just files in system/framework or use the zip for recovery.
Wait on first boot for applications to be rebuilt.
I used the jakax.zip for recovery...
Sarma is offline  
Reply With Quote
Old July 7th, 2010, 11:40 AM   #9 (permalink)
Member
 
chronodekar's Avatar
 
Join Date: Mar 2010
Posts: 246
 
Device(s): Samsung i7500
Carrier: Not Provided

Thanks: 24
Thanked 14 Times in 11 Posts
Default

I'll just wait for infect to bundle this in with his theme.

-chronodekar
chronodekar is offline  
Reply With Quote
Old July 7th, 2010, 11:42 AM   #10 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by Sarma View Post
I used the jakax.zip for recovery...
You were talking about themes and launcher... etc which add-ons do you have to galaxo 1.6.3.3 ?
jakax is offline  
Reply With Quote
Sponsors
Old July 7th, 2010, 11:55 AM   #11 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 19
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

is this Froyo Theme for 1.6 or the real Froyo (2.2) version for I7500 here? What does the firmware version say after applying this?
jaavi is offline  
Reply With Quote
Old July 7th, 2010, 11:58 AM   #12 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

Quote:
Originally Posted by chronodekar View Post
I'll just wait for infect to bundle this in with his theme.

-chronodekar
lol, was thinking about this as i saw the topic

just waiting for more user response on the testings before i start to test it on my own...

If its not works on galaxo its useless for me anyways.. Also i need to modify the system apps without breaking the JIT. Is that possible?

Mirror:

http://box23.org/pub/7500/misc/patches/jakax-dalvik-jit-I7500-donut.zip
http://box23.org/pub/7500/misc/patches/jakax-dalvik-jit-I7500-donut-flashable.zip
__________________
Flollow me on Twitter - Android Wiki / Android Codex
Get the latest ADW.Launcher System Version here!
inFECT is offline  
Reply With Quote
The Following 2 Users Say Thank You to inFECT For This Useful Post:
chronodekar (July 8th, 2010), fanky168 (July 23rd, 2010)
Old July 7th, 2010, 12:07 PM   #13 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by jaavi View Post
is this Froyo Theme for 1.6 or the real Froyo (2.2) version for I7500 here? What does the firmware version say after applying this?
Just dalvikvm is from froyo, everything else is stock donut.
jakax is offline  
Reply With Quote
Old July 7th, 2010, 12:11 PM   #14 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

Question: Is your service.odex patched against the no sleep bug?
inFECT is offline  
Reply With Quote
Old July 7th, 2010, 12:11 PM   #15 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by inFECT View Post
lol, was thinking about this as i saw the topic

just waiting for more user response on the testings before i start to test it on my own...

If its not works on galaxo its useless for me anyways.. Also i need to modify the system apps without breaking the JIT. Is that possible?

Mirror:

http://box23.org/pub/7500/misc/patches/jakax-dalvik-jit-I7500-donut.zip
http://box23.org/pub/7500/misc/patches/jakax-dalvik-jit-I7500-donut-flashable.zip
It has been reported to work on galaxo.

You can modify everything as before but you must use the version of dalvik provided here for generating odex files.
jakax is offline  
Reply With Quote
Old July 7th, 2010, 12:11 PM   #16 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by jakax View Post
You were talking about themes and launcher... etc which add-ons do you have to galaxo 1.6.3.3 ?
inFECTs theme and latest adwlauncher...
Sarma is offline  
Reply With Quote
Old July 7th, 2010, 12:17 PM   #17 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by inFECT View Post
Question: Is your service.odex patched against the no sleep bug?
Do you mean: "Is your geolocation fix included in these odex ?"
If this is it, then yes, of course.
jakax is offline  
Reply With Quote
Old July 7th, 2010, 12:21 PM   #18 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

Yes, sorry. Thats what i ment. Dont worry, i know thats the fix is from YOU ;-)

Well, in that case. Awesome. Gonna try it later.
inFECT is offline  
Reply With Quote
Old July 7th, 2010, 12:44 PM   #19 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by inFECT View Post
Yes, sorry. Thats what i ment. Dont worry, i know thats the fix is from YOU ;-)

Well, in that case. Awesome. Gonna try it later.
I'm just making fun of me
Ok.
jakax is offline  
Reply With Quote
Old July 7th, 2010, 01:12 PM   #20 (permalink)
Member
 
angeamon's Avatar
 
Join Date: Feb 2010
Location: on earth
Posts: 124
 
Device(s): Samsung Galaxy i7500 (reverted to galaxo 1.6.3.1 - OC@614mhz from galaxo 1.6.3.2)
Carrier: Not Provided

Thanks: 0
Thanked 3 Times in 3 Posts
Default

My galaxy doesnt startup at all after flashing the file tat inFECT uploaded . . .

Anyone, any luck with this ?
__________________
angeamon is offline  
Reply With Quote
Sponsors
Old July 7th, 2010, 01:30 PM   #21 (permalink)
New Member
 
Ikarus's Avatar
 
Join Date: Jul 2010
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

If I want to go into the settings.
If an error message
Quote:
The process android.process.acore
terminated unexpectedly.
Try again
Ikarus is offline  
Reply With Quote
Old July 7th, 2010, 03:33 PM   #22 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

fyi guys, my links are just (renamed) mirrors. Blame jakax :-)

Quote:
Originally Posted by Ikarus View Post
If I want to go into the settings.
If an error message
It's probably the launcher. I guess you are using ADW, so remove the launcher.odex
inFECT is offline  
Reply With Quote
Old July 7th, 2010, 04:50 PM   #23 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same error, ADW installed and Galaxo 1.6.3.2

The process android.process.acore
terminated unexpectedl
jamao is offline  
Reply With Quote
Old July 7th, 2010, 05:33 PM   #24 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

reading comprehension ftw!
inFECT is offline  
Reply With Quote
Old July 8th, 2010, 04:45 AM   #25 (permalink)
err
New Member
 
Join Date: Jul 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Tried to install (flash from recovery) on JC2 stock rom, afterwards the phone would not complete boot.
I did some 10 reboots, tried to collect logcat but failed than did a restore and that's it. Maybe next time...
err is offline  
Reply With Quote
Old July 8th, 2010, 04:59 AM   #26 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 39
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 6 Times in 6 Posts
Default

crash with my galaxo 1.6.3

The process android.process.acore
terminated unexpectedl
cma353 is offline  
Reply With Quote
Old July 8th, 2010, 08:36 AM   #27 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 26
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 3 Times in 2 Posts
Default

Hello!
It worked for me. With pure galaxo 1.6.3.3 I had 25FPS in neocore, now with galaxo 1.6.3.3 and JIT I have 30FPS - 5FPS better and I havnt had any FC yet

First I created nandroid backup, than wipe, installed fresh galaxo 1.6.3.3, restored GAPPS, booted just to be sure everithing worked fine, rebooted back in recovery, fixed package permissions, applyed jakax.zip and booted in android

Hope it works for you :P
livingcode is offline  
Reply With Quote
Old July 8th, 2010, 08:54 AM   #28 (permalink)
New Member
 
Join Date: May 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

@livingcode, thanks it's work for me
ozgurubuntu is offline  
Reply With Quote
Old July 8th, 2010, 09:10 AM   #29 (permalink)
New Member
 
Ikarus's Avatar
 
Join Date: Jul 2010
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by livingcode View Post
Hello!
It worked for me. With pure galaxo 1.6.3.3 I had 25FPS in neocore, now with galaxo 1.6.3.3 and JIT I have 30FPS - 5FPS better
With what app made the benchmark
Ikarus is offline  
Reply With Quote
Old July 8th, 2010, 09:14 AM   #30 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by livingcode View Post
Hello!
It worked for me. With pure galaxo 1.6.3.3 I had 25FPS in neocore, now with galaxo 1.6.3.3 and JIT I have 30FPS - 5FPS better and I havnt had any FC yet

First I created nandroid backup, than wipe, installed fresh galaxo 1.6.3.3, restored GAPPS, booted just to be sure everithing worked fine, rebooted back in recovery, fixed package permissions, applyed jakax.zip and booted in android

Hope it works for you :P
I tried the same thing but than my Galaxo configuration wasnt working any more...

EDIT:
Galaxo config works now...booted before applying jakax.zip...
Sarma is offline  
Last edited by Sarma; July 8th, 2010 at 09:52 AM.
Reply With Quote
Sponsors
Old July 8th, 2010, 10:10 AM   #31 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 26
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by Ikarus View Post
With what app made the benchmark
Neocore - on market :P
livingcode is offline  
Reply With Quote
The Following User Says Thank You to livingcode For This Useful Post:
Ikarus (July 8th, 2010)
Old July 8th, 2010, 10:20 AM   #32 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 30
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Neocore 1.9.22
@528 without sound 33.6FPS
@528 with sound 29.0FPS
@614 without sound 33.4FPS
@614 with sound 28.7FPS
@710 without sound 33.6FPS
@710 with sound 28.8FPS
Sarma is offline  
Last edited by Sarma; July 8th, 2010 at 10:40 AM.
Reply With Quote
Old July 8th, 2010, 11:00 AM   #33 (permalink)
Member
 
Join Date: Oct 2009
Posts: 364
 
Device(s): Samsung Galaxy i7500 (Galaxo 1.6.3.4)
Carrier: Not Provided

Thanks: 15
Thanked 26 Times in 13 Posts
Default

Quote:
Originally Posted by Sarma View Post
Neocore 1.9.22
@528 without sound 33.6FPS
@528 with sound 29.0FPS
@614 without sound 33.4FPS
@614 with sound 28.7FPS
@710 without sound 33.6FPS
@710 with sound 28.8FPS
Odd that overclocking doesn't seem to be working.
MichaelW is offline  
Reply With Quote
Old July 8th, 2010, 02:13 PM   #34 (permalink)
Junior Member
 
Join Date: Sep 2009
Posts: 26
 
Device(s):
Carrier: Not Provided

Thanks: 10
Thanked 3 Times in 2 Posts
Default

Is anyone else having strange problems with TetherWifi, since installing JIT?
livingcode is offline  
Reply With Quote
Old July 8th, 2010, 07:12 PM   #35 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi everybody

I tried the Dalvik with jit and it work
I had 4.82 MFLOPS with Linpack ( I didn't try with neocore but the phone is faster )
I used the recovery method after a clean installation ( fix permission after restore gapps, then apply any zip )

but there's a problem if we want to customise our phone after the installation of Dalvik
For ADW it's not a big problem, delete launcher.odex then install ADW
but if we want's to apply a theme like Androw ( from BEAUTY ) it's more difficult
because the theme change some system app like phone.apk
it mean that we have to change the odex file
but if we change an odex we have to rebuild all odex and it's a lots of work
seandk is offline  
Last edited by seandk; July 8th, 2010 at 07:45 PM.
Reply With Quote
Old July 8th, 2010, 07:52 PM   #36 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 39
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 6 Times in 6 Posts
Default

Yes, So am I. It improves the Linpack result, but for the Neocore, it don't have any improvement for it..

how to solve the conflict with the theme...??
cma353 is offline  
Last edited by cma353; July 8th, 2010 at 07:55 PM.
Reply With Quote
Old July 8th, 2010, 08:01 PM   #37 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by cma353 View Post
Yes, So am I. It improves the Linpack result, but for the Neocore, it don't have any improvement for it..

how to solve the conflict with the theme...??
you need to rebuild all the odex in system/app and all the odex in system/framework
and it take several time =/

BEAUTY works on an adaptation of his theme, to make it applicable with the Dalvik with jit
seandk is offline  
Reply With Quote
Old July 8th, 2010, 08:11 PM   #38 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 39
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by seandk View Post
you need to rebuild all the odex in system/app and all the odex in system/framework
and it take several time =/

BEAUTY works on an adaptation of his theme, to make it applicable with the Dalvik with jit
Dear BEAUTY...Please!!!!

By the way, can we do it by myself ( I mean to rebuild it)
cma353 is offline  
Reply With Quote
Old July 8th, 2010, 08:20 PM   #39 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by cma353 View Post
Dear BEAUTY...Please!!!!

By the way, can we do it by myself ( I mean to rebuild it)
yes but I don't know all the step to do it
you need to use baksmali/smali
to de-odex the file et rebuild a classes.dex file
and use dexopt-wrapper to rebuild the odex
but I don't know how to adapt it to the theme
seandk is offline  
Reply With Quote
Old July 8th, 2010, 08:23 PM   #40 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 39
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by seandk View Post
yes but I don't know all the step to do it
you need to use baksmali/smali
to de-odex the file et rebuild a classes.dex file
and use dexopt-wrapper to rebuild the odex
but I don't know how to adapt it to the theme
ha ha! you are expert already! anyway, lets wait for BEAUTY to do it. Thanks!
cma353 is offline  
Reply With Quote
Sponsors
Old July 8th, 2010, 08:37 PM   #41 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by cma353 View Post
ha ha! you are expert already! anyway, lets wait for BEAUTY to do it. Thanks!
No i'm really not an expert ^^"

I just learned some stuff with Drakaz Jakax and others

I hope that BEAUTY could do the work
seandk is offline  
Reply With Quote
Old July 9th, 2010, 03:49 AM   #42 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 84
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 3 Posts
Default

Is this hack compatible with the Darksense theme?
tsphere is offline  
Reply With Quote
Old July 9th, 2010, 04:12 AM   #43 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

Yes and No, It will work but since the theme modified a lot of system packages, all of these dont get improved by the JIT hack.
inFECT is offline  
Reply With Quote
Old July 9th, 2010, 05:02 AM   #44 (permalink)
Senior Member
 
Andronix's Avatar
 
Join Date: Aug 2009
Posts: 676
 
Device(s): Samsung i7500 @ GAOSP Froyo nightly
Carrier: Not Provided

Thanks: 7
Thanked 17 Times in 13 Posts
Default

If only there is a fix for bloody camera so everyone could move to froyo with native JIT...
Andronix is offline  
Reply With Quote
Old July 9th, 2010, 05:39 AM   #45 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 84
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by inFECT View Post
Yes and No, It will work but since the theme modified a lot of system packages, all of these dont get improved by the JIT hack.
There's something I don't understand. I thought the Dalvik was the virtual machine, meaning it was the part which is running all the apps. Shouldn't every app be affected by a different Dalvik? Why would the version of, say, phone.apk, matter?
tsphere is offline  
Reply With Quote
Old July 9th, 2010, 05:57 AM   #46 (permalink)
Member
 
inFECT's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 256
 
Device(s): N1, i7500, Hero
Carrier: Not Provided

Thanks: 8
Thanked 70 Times in 38 Posts
Default

Its not the .apk which matter, it's the .odex
I'am not certain that the provided .odex from the jit hack, are working with a modified .apk

adw is a good example. since ppl deleted the launcher.odex it works without crashing.
inFECT is offline  
Reply With Quote
Old July 9th, 2010, 06:16 AM   #47 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by inFECT View Post
Its not the .apk which matter, it's the .odex
I'am not certain that the provided .odex from the jit hack, are working with a modified .apk

adw is a good example. since ppl deleted the launcher.odex it works without crashing.
odex are optimized dex files (each time you install an application dalvik generate one for your application in /data/dalvik-cache) which directly point to functions in other odex.

These files depend on each other. That means, if you change one odex on which another one depends on, you have to regenerate the odex, its dependencies are no more valid.

The odex files provided here contains the same functions/codes from the ones you already have. But as dalvik internals have changed from donut to froyo, they had be regenerated (old odex are no more compatible with this version of dalvik, of course dex files are).
These odex are framework, so all other odex files must be regenerated. Dalvik did this for all your applications at first boot after you installed this version (from the dex files in apks).

However if you have installed an odex file on your own (that dalvik can't regenerate because there is just an odex file and no dex file), you must regenerate it yourself. This would be the same if you upgraded framework odex with the old dalvik version.

I hope this helps.
jakax is offline  
Last edited by jakax; July 9th, 2010 at 06:33 AM.
Reply With Quote
The Following 2 Users Say Thank You to jakax For This Useful Post:
fanky168 (July 23rd, 2010), velnaykkar (August 16th, 2010)
Old July 9th, 2010, 06:37 AM   #48 (permalink)
Junior Member
 
Join Date: Oct 2009
Posts: 84
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 3 Posts
Default

Thanks, Jakax, for the very thorough reply. I understand now.
Must themes come with odex files? If the system generates them on it's own, couldn't I install galaxo->JIT->Theme and then wouldn't it create the correct odex files?
tsphere is offline  
Reply With Quote
Old July 9th, 2010, 06:54 AM   #49 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 32
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 27 Times in 7 Posts
Default

Quote:
Originally Posted by tsphere View Post
Thanks, Jakax, for the very thorough reply. I understand now.
Must themes come with odex files? If the system generates them on it's own, couldn't I install galaxo->JIT->Theme and then wouldn't it create the correct odex files?
It should NOT work because the odex version will be incompatible.
This would work if the theme was provided as an apk or jar file with dex file.

odex files are generated from dex files and dalvik can't regenerate an odex with an odex (however this can be done using smali/baksmali which does: odex to dex and then you take the dex file and regenerate an odex)

Afaik themes are modified odex files from framework, so the author should get the one provided here and apply the modifications and redistribute it.
jakax is offline  
Last edited by jakax; July 9th, 2010 at 06:57 AM.
Reply With Quote
Old July 9th, 2010, 07:02 AM   #50 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

When you install a theme it change framework-res.apk and service.odex in system/framework, and some apk in system/app

but if an apk is changed you have to rebuild the odex because the odex is based on a sign of the apk
and if you rebuild one odex, you have to rebuild all
of course you can delete the odex, but if you do it Dalvik is useless

The problem with this version of Dalvik, it's a backport from FROYO
so I think that the system is not able to rebuild the odex alone
( I tried and it failed )
you have to do it manually
seandk is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung i7500 > i7500 - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:05 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.