Jump to content

[Experimental] Frozen Eclair for the Defy


Guest antibyte

Recommended Posts

Guest antibyte

Got a Defy a few days ago and after finding the deodexed firmware here i decided to

warm up my compiler after a long time of abstinence :)

This is experimental and only for testing. I got it working only a few hours ago.

Frozen Eclair = The Froyo Dalvik Virtual Machine (JIT Engine) on Eclair

Doubles Linpack benchmark results and with 1GHz OC you go over the Nexus One 2.2 in Quadrant.

Only problem i had so far is i could not register my google and motorola accounts.

Maybe i messed up something while testing.

Problem solved after fatory reset

Installation :

Backup what you have just in case it does not work

You have to install the deodexed files from the other thread here ( and delete the odex files !)

It will not work else ...

Then push the libs to /system/lib and the files in /bin to /system/bin

chmod 755 the files you copied to /bin

Reboot and (hopefully) enjoy the speed of Froyo ;)

Update package for recovery maybe later.

See post #11 for the recovery package.

greetz

antibyte

FrozenEclairDefy_V1.zip

Edited by antibyte
Link to comment
Share on other sites

Guest yyhoney
Got a Defy a few days ago and after finding the deodexed firmware here i decided to

warm up my compiler after a long time of abstinence :)

This is experimental and only for testing. I got it working only a few hours ago.

Frozen Eclair = The Froyo Dalvik Virtual Machine (JIT Engine) on Eclair

Doubles Linpack benchmark results and with 1GHz OC you go over the Nexus One 2.2 in Quadrant.

Only problem i had so far is i could not register my google and motorola accounts.

Maybe i messed up something while testing.

Installation :

Backup what you have just in case it does not work

You have to install the deodexed files from the other thread here ( and delete the odex files !)

It will not work else ...

Then push the libs to /system/lib and the files in /bin to /system/bin

chmod 755 the files you copied to /bin

Reboot and (hopefully) enjoy the speed of Froyo ;)

Update package for recovery maybe later.

greetz

antibyte

Wow!! Thx for your hard work!!

Link to comment
Share on other sites

Guest antibyte

Workaround for the GMail login problem :

Open the Youtube App and login with your Gmail account data there.

After this Market and Gmail work. If Market crashes goto Setup->Applications

and uninstall Market->updates. After that the Market works flawless and updates

itself again.

Login to the Blur account stil doesnt work. I will see if i find the reason

for this problems.

Besides that everything works without any problems.

Benchmarks @ 1GHz ( Use several runs with JIT )

Linpack :

Eclair -> ~7.900

Frozen Eclair -> 14.400

Quadrant :

Eclair -> ~1200

Frozen Eclair -> 1380

Edited by antibyte
Link to comment
Share on other sites

Workaround for the GMail login problem :

Open the Youtube App and login with your Gmail account data there.

After this Market and Gmail work. If Market crashes goto Setup->Applications

and uninstall Market->updates. After that the Market works flawless and updates

itself again.

Login to the Blur account stil doesnt work. I will see if i find the reason

for this problems.

Besides that everything works without any problems.

Benchmarks @ 1GHz ( Use several runs with JIT )

Linpack :

Eclair -> ~7.900

Frozen Eclair -> 14.400

Quadrant :

Eclair -> ~1200

Frozen Eclair -> 1380

Mate can you do a tutorial of how you installed this as I've tried a number of ways including an update.zip and i cant get it to work here

Link to comment
Share on other sites

Guest antibyte
Mate can you do a tutorial of how you installed this as I've tried a number of ways including an update.zip and i cant get it to work here

First you have to overwrite the files in /system/app and /system/framework with the deodexed files found here :

Deodexed files

Example using ADB

cd c:\your_path\defy-deodexed

adb push app.deodexed /system/app

adb push framework.deodexed /system/framework

Set the permissions

chmod 644 /system/app/*.apk

chmod 644 /system/framework/*.apk

chmod 644 /system/framework/*.jar

Then delete all files with an ".odex" suffix in both folders, this step is important !

Froyo's Virtual Machine can not handle Eclair's odex files and will just freeze at boot.

rm /system/app/*.odex

rm /system/framework/*.odex

Now your Defy has a deodexed Firmware on it.

Now copy the files found in the zip file from the above post to the corresponding directories

adb push libdvm.so /system/lib

adb push dexopt /system/bin

etc .....

set the executable flag on the two files you copied to /system/bin

chmod 755 /system/bin/dalvikvm

chmod 755 /system/bin/dexopt

(optional but may prevent problems : boot to recovery and delete the Dalvik-Cache)

Reboot

The first reboot will take longer as the Dalvik-Cache will be rebuild.

Edited by antibyte
Link to comment
Share on other sites

Oh mate cheers, but a proper schoolboy error here. I must have restored the sbf at some point and wiped the deodex files!! lol anyway restored the deodexed files and installed the JIT and is working fine. I blame the fact I had just had a operation on my back and was doped up on Morphine and Tramadol - I thought I was going mad!! lol

Anyway cheers I am attaching an update.zip I made, which basically installs the jit files and does the chmod, can be installed by by Tenfars clockworkmod recovery image - make a backup first!

defyjit_signed.zip

Edited by Higgsy
Link to comment
Share on other sites

After a factory reset and clean new install the signin problems to my accounts are gone.

So it had mostly nothing to do with this mod.

I never had the problem your works fine! working spot on for me - thanks mate.

Link to comment
Share on other sites

Guest antibyte

I made a recovery update package containing Paul's deodexed files together with the Frozen Eclair libraries for easy installation.

Just install this via recovery -> install zip from sd and you are done.

After applying some performance related patches form 0xdroid to libc and finetuning the JIT and compiler settings,

i think it is also slightly faster.

Seems you have to root it again with z4root after installing this as root is gone after reboot :)

Just reapply z4root.

DOWNLOAD HERE

Edited by antibyte
Link to comment
Share on other sites

I made a recovery update package containing Paul's deodexed files together with the Frozen Eclair libraries for easy installation.

Just install this via recovery -> install zip from sd and you are done.

After applying some performance related patches form 0xdroid to libc and finetuning the JIT and compiler settings,

i think it is also slightly faster.

Seems you have to root it again with z4root after installing this as root is gone after reboot :)

Just reapply z4root.

DOWNLOAD HERE

spot on mate - awesome. You know I got up this morning with the intention of putting the whole process into an update.zip - but you already done this and tweaked it to boot!

I have updated the XDA thread with you new link etc

Link to comment
Share on other sites

  • 2 weeks later...
Guest antibyte
Can you make a version for 2.51 ?

My ROM is deodexed (I deodexed app and framework myself) but won't boot if I put lib and bin :s

Thanks for your work

I can try, but as there is no ADB shell while booting it is a real pain to figure out

what is going wrong.

The only trick that sometimes works is to change the libs on a running system via adb push

and then look at the logcat output while starting some binaries like "dalvikvm".

No access to ADB while booting is the number one showstopper for me.

Link to comment
Share on other sites

  • 2 weeks later...
Guest Marcio Paulo
Antibyte Just to let you know I have created a package for the 2.34.1 no blur version in case you were going to do it.

download link is here:

http://www.multiupload.com/MDNK0YS7E0

Hi Higgsy....

I have applied this update, FrozenEclairDefy_V2.34.1.zip, on my defy and the result was an black screen whith "Set-Up" in the left top sid....

i aplied this with defy_recovery-1216-2022-signed...

and hen i try to recovery it with update.zip

i have that error E:signature verification failed

can you help me to recover my defy?

thanks...

Edited by Marcio Paulo
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
Guest Greg  Zeng
Hi Higgsy....

I have applied this update, FrozenEclairDefy_V2.34.1.zip, on my defy and the result was an black screen whith "Set-Up" in the left top sid....

i aplied this with defy_recovery-1216-2022-signed...

and hen i try to recovery it with update.zip

i have that error E:signature verification failed

can you help me to recover my defy?

thanks...

If anyone tries the above, FIRST use "ROM Manager" (crippleware) on the marketplace. It allows you to backup you existing ROM. It will also install ROMs on your micro-sd flash card.

If you pay $4.75, it claims to search for the latest ROM. I've yet to pay. If it works, I'll tell Marketplace.

Link to comment
Share on other sites

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.