Jump to content

JIT - universal install for android 2.0>


Recommended Posts

Guest Nesli
Posted

Hello,

Found this thread on XDA http://forum.xda-developers.com/showthread.php?t=659756

There is an universal installation guide of JIT compiller for devices with android 2.0/2.0.1/2.1.

Originally, it was designed for Motorola Milestone, but it is functional on Hero(2.1), Desire, Pulse,etc. , so there is no reason why it cannot be installed on our Liquid :(

I tried it, but it doesnt boot up for me (I made a installation script, but I think im too much linux lama, nandroid fixed it :rolleyes: ) So, is here any dev who can try it, it should be beautiful :D

Regards and Good luck

Guest android76
Posted (edited)

Thanks Nesli !

I will try it in the afternoon !

EDIT : Same problem the phone don't boot :rolleyes:

Edited by android76
Guest Sph1re
Posted

cool!

if it works!

Will it be possible to distribute apk and installable no-root version?

Guest Nesli
Posted

You need a root for this anyway. It is not an app, installation changes few files in the system. But it is possibility to make for ex. update_JIT.zip and flash it via recovery..

Guest Sph1re
Posted

okey! thank you for the precision :rolleyes:

Guest dentette
Posted (edited)

Thanks for the tip

trying it right now, rebuilding dalvik.

Will report after test

EDIT: it seams that the libs are somehow on the wrong adress

link_image[1721]: 128 could not load needed library 'libnativehelper.so' for 'libandroid_runtime.so' (reserve_mem_region[778]: OOPS: 128 prelinked library 'libnativehelper.so' mapped at 0x2aab4000, not at 0xad200000))CANNOT LINK EXECUTABLE

EDIT2:

Got the liquid to boot again by replacing the 2 libs but retaining the new dalvikvm

but no improvements viewable in linpack

Recompiling both libs is needed => sourcecode is needed

Edited by dentette
Guest Charlton22
Posted
Thanks for the tip

trying it right now, rebuilding dalvik.

Will report after test

EDIT: it seams that the libs are somehow on the wrong adress

link_image[1721]: 128 could not load needed library 'libnativehelper.so' for 'libandroid_runtime.so' (reserve_mem_region[778]: OOPS: 128 prelinked library 'libnativehelper.so' mapped at 0x2aab4000, not at 0xad200000))CANNOT LINK EXECUTABLE

And this means?

noob sry.. :rolleyes:

Guest Nesli
Posted

TO dentette

What ROM are you using, 1.100.05?..

Didn´t you forget to set chmod permissions for libnativehelper.so? Or forgot to replace one of a file? We need dev;)Or do you know what to do? Anyway, I think we are on the right way;)

TO Charleton22

bad news:( Needs time;)

Guest Charlton22
Posted
TO dentette

What ROM are you using, 1.100.05?..

Didn´t you forget to set chmod permissions for libnativehelper.so? Or forgot to replace one of a file? We need dev;)Or do you know what to do? Anyway, I think we are on the right way;)

TO Charlton22

bad news:( Needs time;)

No Problem, we will wait, I love my liquid, not intention to move on...

Thanks

Guest Nesli
Posted (edited)

TO dentette

Re Edit: Dont understand why we need ker. source..How it is possible, that this JIT is functinal on various devices (also kaiser with Android OS port can have JIT enabled via this) and not at our Liquid? Dont believe that, there must be any other workaround..Anyway, thanks for dev and time you spent on it;)

TO Charlton22

:rolleyes:

Edited by Nesli
Guest liquid_it
Posted

Don't really know if it helps but here you can find the hack to make jit work on desire, which shares some hardware with our device. I can't test it right now, I'll try it later, maybe it'll work..

Guest dentette
Posted

CORRECT ME IF I'M WRONG

The thing is, Acer made some changes to the 2.1 system by changing some libs around. These libs are linked with a physical address on the memory. However every jit enabler needs adapted libs and the ones from other devices are no good.

That is why we need the kernel sources, to determine the changes that Acer made. This will allow us to compile the libs specifically for us.

BTW, tried the Desire ones => not working

Guest jayziac
Posted

Keep up the good work guys. I thought one could change addresses with some binary/hex editors or decompilers & then recompile? Just a few general ideas, not specific to Android devices.

Guest Nesli
Posted
CORRECT ME IF I'M WRONG

The thing is, Acer made some changes to the 2.1 system by changing some libs around. These libs are linked with a physical address on the memory. However every jit enabler needs adapted libs and the ones from other devices are no good.

That is why we need the kernel sources, to determine the changes that Acer made. This will allow us to compile the libs specifically for us.

BTW, tried the Desire ones => not working

Yes, unfortunatelly, it sounds relevant :rolleyes: We must hope that Acer will give us a source code asap...JIT- stuck on SC, Overclock - stuck on SC :D Damn...

Guest dentette
Posted

It seams that XIAN has a JIT implementation, but not stable

Guest Relampo
Posted
It seams that XIAN has a JIT implementation, but not stable

No, he is waiting for this thread to be successful :-=

Guest dentette
Posted

Ok, I tried a couple of things but i can't seam to decompile the libs,

libnativehelper.so and libdvm.so are the ones we need in order to get the JIT working.

Maybe the OP needs to change and we make it a dev thread

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.