Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ruskiyab
Old
(Last edited by ruskiyab; 25th November 2009 at 03:38 PM.)
#1  
Senior Member - OP
Thanks Meter 5
Posts: 137
Join Date: Oct 2007
Default [MOD][11/24/09] Application Optimizations Now with Zipalign

I have gone through several applications from the MR release and optimized the images inside in an attempt to free up memory and/or speed things up a bit.

Some things benefited more than others, for example, Rosie.apk has lost around 7MB.

This will only work on software version 1.56.651.2. Don't know what version you have? Go into your settings -> About and scroll down to Software Version

Anyways, here's a list of things that have been optimized:
Code:
Folder: /system/app/

Browser.apk
com.htc.WeatherWidget.apk
htcContacts.apk
HTC_IME.apk
Maps.apk
Phone.apk
Rosie.apk
Settings.apk
Weather.apk

Folder: /system/framework/

com.htc.rersources.apk
Also included in the zip are the animations and boot screen from the Gutted rom

The zip is signed and can be flashed from recovery

This has been tested on the following:
Fresh 0.4b, 0.5d, 0.6
Unofficial MoDaCo 1.2

Disclaimer: I am not responsible for what you do with you device. If you break it, it is solely your responsibility.

Always remember to do a nandroid backup before flashing anything

Downloads

11.24.09 New with zipalign


11.23.19 (Old - non zipaligned)
 
jerrygon
Old
(Last edited by jerrygon; 23rd November 2009 at 07:04 PM.)
#2  
Senior Member
Thanks Meter 11
Posts: 460
Join Date: Jun 2007
Location: Miramar, FL
Installing now... Will let you know how it goes...


Edit.... Wow this really made a noticeable difference. Running really nice on a stock rooted phone. No errors as well...
 
knx2
Old
#3  
Senior Member
Thanks Meter 6
Posts: 192
Join Date: Jul 2007
Installed on Fresh Rom. Works good no errors!
 
minorsecond
Old
#4  
Member
Thanks Meter 0
Posts: 83
Join Date: Sep 2009
Wow! Just flashed this and it's great. Apps seem to load quicker. thanks for the work!
 
ekinnee
Old
#5  
ekinnee's Avatar
Senior Member
Thanks Meter 12
Posts: 122
Join Date: Aug 2006
Location: Fort Worth, TX
How are your optimizing these? Just the graphics inside them? have you tried to use zipalign from the SDK on anything?
 
ruskiyab
Old
#6  
Senior Member - OP
Thanks Meter 5
Posts: 137
Join Date: Oct 2007
Quote:
Originally Posted by ekinnee View Post
How are your optimizing these? Just the graphics inside them? have you tried to use zipalign from the SDK on anything?
You are correct, just the graphics, I haven't looked into any other methods yet
 
lostnfound53
Old
#7  
Member
Thanks Meter 5
Posts: 85
Join Date: Nov 2009
I just flashed this over my stock/rooted image. It does indeed load and run very fast. I was wondering what changes you made to the Settings.apk? I also did notice that the transition effects changed to a fade-in effect. Was this also the result of graphic optimizations? Either way, great work!
 
Spunkzz
Old
#8  
Member
Thanks Meter 0
Posts: 48
Join Date: Nov 2009
excellent mod. really enjoy the fading in and out and works alot quicker!
 
swaze
Old
#9  
Senior Member
Thanks Meter 346
Posts: 1,827
Join Date: Nov 2009
Quote:
Originally Posted by Spunkzz View Post
excellent mod. really enjoy the fading in and out and works alot quicker!
Has this been tested on the Gutted ROM?
 
packetlss
Old
#10  
packetlss's Avatar
Senior Member
Thanks Meter 5
Posts: 220
Join Date: Aug 2009
For further optimization use zipalign on the apks. This allows dalvik to mmap the files for further speed improvements.
Assembly moron / HW tinkerer.

LG Optimus 2X
Google Nexus S
Samsung Galaxy Tab
Google Nexus One
HTC Hero GSM White

gtalk: packetlss@gmail.com
twitter: http://twitter.com/packetlss

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more