Jump to content


Photo

[Experimental] Frozen Eclair for the Defy

- - - - -

  • Please log in to reply
17 replies to this topic

#1
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy
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

Attached Files


Edited by antibyte, 22 December 2010 - 06:45 PM.

  • 0

#2
yyhoney

yyhoney

    Newbie

  • Members
  • Pip
  • 6 posts
  • Interests:Android,soccer
  • Devices:MB525, LG SU660(optimus2x)
  • Twitter:@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!!

  • 0

#3
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy
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, 18 December 2010 - 07:21 PM.

  • 0

#4
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman

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

  • 0

#5
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy

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, 19 December 2010 - 12:29 AM.

  • 0

#6
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman
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!

Attached Files


Edited by Higgsy, 19 December 2010 - 10:41 AM.

  • 0

#7
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman
Oh and can I (or you) post this on XDA? Will obviously credit you as the author etc!

  • 0

#8
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy

Oh and can I (or you) post this on XDA? Will obviously credit you as the author etc!


Yes, no problem.

  • 0

#9
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy
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.

  • 0

#10
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman

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.

  • 0

#11
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy
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, 20 December 2010 - 12:13 AM.

  • 0

#12
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman

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

  • 0

#13
yahoum

yahoum

    Newbie

  • Members
  • Pip
  • 1 posts
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

  • 0

#14
antibyte

antibyte

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Spica, Motorola Defy

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.

  • 0

#15
Higgsy

Higgsy

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 433 posts
  • Gender:Male
  • Devices:Nexus 4+5, Moto G
  • Twitter:@jhiggaman
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

  • 0

#16
Marcio Paulo

Marcio Paulo

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC S711 (VOX)

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, 11 January 2011 - 11:29 PM.

  • 0

#17
JimJam707

JimJam707

    Addict

  • Members
  • PipPipPipPipPip
  • 825 posts
  • Gender:Male
  • Location:England
  • Devices:Moto G
  • Twitter:@JimJam707
Seems nice :)
Glad you're ok antibyte, we miss you at samdroid :lol:

  • 0

Samsung Galaxy SII - CyanogenMod 10.1 Nightlies

ZTE Blade - CyanogenMod 7

Samsung Galaxy Spica i5700 - CyanogenMod 9 Alphas

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

Follow Me:

Twitter


#18
Greg Zeng

Greg Zeng

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Motorola Defy

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.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users