MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.
Sign in to follow this  
Followers 0

[MOD] Phone.apk modded with larger photo and ICS icons

28 posts in this topic

Posted (edited) · Report post

Ive made some modifications in Phone.apk:

- Larger contact photo: 250x250px

- Accept and reject call icons from ICS

- New background

Note:

-To improve your contact photo qualitty you need modded contacts.apk (Link below). In this case ive increased the croping size to 320x320px.

-If you are using Swedish Snow i also have a modded framework to change the aceppt and reject call tabs as you can see in the screenshot. (request it if you want it)

Instructions:

Don't forget to backup your apps first

1. Put the phone into "Flight Mode" either by holding power while the device is on and selecting Flight Mode from the submenu, or by selecting Flight Mode from the Settings menu.

2. Use a terminal, or root explorer, or any app you want to copy Phone.apk to /system/app/. Make sure the file is Phone.apk --(If you still get a FC, don't worry, just proceed to step 3.) Do the same thing with Contacts.apk

3. Reboot the phone.

Hope you enjoy it. wink.gif

Phone.apk

http://www.mediafire.com/?6xhpxle1pstx677

Contacts.apk

http://www.mediafire...edvq7332i1iqmzs

Swedish Snow RLS3 modded by me with some icons from ICS, blue status bar icons and some moddifications in lock screen. Also it includes the addon from konstat with no battery icon and center clock. To turn on the MIUI battery bar go to Setting/ROM Settings/Battery bar

Note: If status bar appear black in the first boot, just reboot and it should be right.

Swedish Snow RLS3 nlogmachine mod:

http://www.mediafire...ounkcciu08uhsrm

post-908637-0-33590200-1327517617_thumb.

post-908637-0-01192500-1327517633_thumb.

Edited by Pedro045f
1

Share this post


Link to post
Share on other sites

Posted · Report post

Will it work with CM7?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Will it work with CM7?

I haven't tested it, but theoretically it should work. If it doesn't, let me know.

0

Share this post


Link to post
Share on other sites

Posted · Report post

And with Fish'N'Chips?

0

Share this post


Link to post
Share on other sites

Posted · Report post

And with Fish'N'Chips?

Yes. Ive tested it and its working.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

tried with SS2, says 'app is not installed'

edit: nvm, after 3-4 reboots it finally worked

Edited by revmit
0

Share this post


Link to post
Share on other sites

Posted · Report post

tried with SS2, says 'app is not installed'

edit: nvm, after 3-4 reboots it finally worked

Glad it worked!

0

Share this post


Link to post
Share on other sites

Posted · Report post

Looks really nice :)

trying it now :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

It works with MMHMP rls8. Just wonder if you can make a ZTE dialer version for the optimised Contacts.apk? Nevertheless, great job, it's very nice.

Edited by lee89b
0

Share this post


Link to post
Share on other sites

Posted · Report post

Phone.apk doesn't work with CM 7.1.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Is it possible to make it work with CM 7.1?

Edited by bazik19
0

Share this post


Link to post
Share on other sites

Posted · Report post

Is it possible to make it work with CM 7.1?

Im working on it. Stay tuned wink.gif

0

Share this post


Link to post
Share on other sites

Posted · Report post

I am interested in the Swedish Snow mod. Could you upload it ?

0

Share this post


Link to post
Share on other sites

Posted · Report post

I am interested in the Swedish Snow mod. Could you upload it ?

Done!

0

Share this post


Link to post
Share on other sites

Posted · Report post

thanks pedro! will try ASAP

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can it work with RLS4b?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can it work with RLS4b?

yes. I am using it right now.

0

Share this post


Link to post
Share on other sites

Posted · Report post

This looks really great! Could you possibly outline what code changes you have made, so other people can adapt this for other ROMS? eg Cm7, where I believe the phone/contacts are very different to stock.

I could imagine that this would take a long time or you can't quite remember everything, and if that's the case, don't worry :)

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

This looks really great! Could you possibly outline what code changes you have made, so other people can adapt this for other ROMS? eg Cm7, where I believe the phone/contacts are very different to stock.

I could imagine that this would take a long time or you can't quite remember everything, and if that's the case, don't worry :)

You are right, there are some differences. Im working on CM7 dialer and ZTE dialer right now.

Here is what ive changed in stock dialer to increase the croping size to 320x320px

In "AttachImage.smali":

.line 131 and .line 132:

const/16 v21, 0x60 --> changed to const/16 v21, 0x13b

In "EditContactActivity.smali":

.method public static getPhotoPickIntent()Landroid/content/Intent;

.locals 5

.prologue

const/16 v4, 0x60 --> changed to const/16 v4, 0x13B

Note: The code may vary according to the version of contacts.apk used

If you apply these changes to any other contacts.apk please post the results!!

Edited by Pedro045f
0

Share this post


Link to post
Share on other sites

Posted · Report post

Can someone upload the original phone and contacts apk from SwedishSnow RLS4b? I didn't made a backup of them and i want them back :P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Can someone upload the original phone and contacts apk from SwedishSnow RLS4b? I didn't made a backup of them and i want them back :P

Just download the rom again to your computer.

Open the zip file and extract phone.apk & contacts.apk from \system\app ( you can drag and drop ).

Done

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

In "AttachImage.smali":

.line 131 and .line 132:

const/16 v21, 0x60 --> changed to const/16 v21, 0x13b

In "EditContactActivity.smali":

.method public static getPhotoPickIntent()Landroid/content/Intent;

.locals 5

.prologue

const/16 v4, 0x60 --> changed to const/16 v4, 0x13B

not sure why you bother hacking the binaries, why not just edit the sourcecode? also why did you use 0x13B which is 315 not 320?

packages/apps/Contacts/src/com/android/contacts/EditContactActivity.java - line 131 change the 96 to 320

private static final int ICON_SIZE = 96;
packages/apps/Contacts/src/com/android/contacts/AttachImage.java - lines 130 and 131 change 96 to 320:
intent.putExtra("outputX", 96);

intent.putExtra("outputY", 96);

what are the implications of using the larger images, and then reverting to a rom that doesn't use these patches - do we have to resize all over again?

edit: doesn't seem to work at all with cm7.2 - i think the image picker may be bigger, but when you get a call its still a small icon

Edited by sej7278
0

Share this post


Link to post
Share on other sites

Posted · Report post

not sure why you bother hacking the binaries, why not just edit the sourcecode? also why did you use 0x13B which is 315 not 320?

Sorry, i forgot to change it in the 1st post, i actually meant 315 but it doesn't make any difference in the final result anyway.

what are the implications of using the larger images, and then reverting to a rom that doesn't use these patches - do we have to resize all over again?

When you flash a new Rom you need to sync with google to have your contacts back. Every time you sync contacts with google account the photo size will be reverted to 96x96px. Thats because google wont let have contact pictures bigger than that in their servers.

edit: doesn't seem to work at all with cm7.2 - i think the image picker may be bigger, but when you get a call its still a small icon

The contacts app must be able to crop the photos with at least 250x250px size otherwise the image wont have the proper quality to use with the modded phone.apk as i said in the 1st post.

0

Share this post


Link to post
Share on other sites

Posted · Report post

PLease can you make just New background mod and ICS answer/reject tabs mod for Swedish Snow RLS7?Thanks:)

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.