Jump to content


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

* * * * * 2 votes

  • Please log in to reply
27 replies to this topic

#1
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts
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. Posted Image

Phone.apk
http://www.mediafire...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

Attached Files


Edited by Pedro045f, 15 February 2012 - 12:59 AM.


#2
Pieniek

Pieniek

    Newbie

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:Poland
  • Devices:ZTE Blade
Will it work with CM7?

Current ROM: CM 10.1 (4.2.2) 15.02.13 by godly KonstaT :)

#3
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View PostPieniek, on 25 January 2012 - 08:22 PM, said:

Will it work with CM7?

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


#4
Watashi_PT

Watashi_PT

    Regular

  • Members
  • PipPip
  • 112 posts
  • Devices:Optimus San Francisco
And with Fish'N'Chips?


#5
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View PostWatashi_PT, on 26 January 2012 - 02:14 AM, said:

And with Fish'N'Chips?

Yes. Ive tested it and its working.


#6
revmit

revmit

    Newbie

  • Members
  • Pip
  • 16 posts
  • Devices:ZTE Blade / San Francisco
tried with SS2, says 'app is not installed'

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

Edited by revmit, 26 January 2012 - 06:33 PM.


#7
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View Postrevmit, on 26 January 2012 - 06:28 PM, said:

tried with SS2, says 'app is not installed'

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

Glad it worked!


#8
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,042 posts
  • Gender:Male
  • Devices:zte blade[tft], zte cresent
Looks really nice :)
trying it now :)

-If i've been helpfull to you in anyway, press that little green thanks button
-Check out THIS music while your at it and like it if you like it. Support our young DJ's :)

#9
lee89b

lee89b

    Newbie

  • Members
  • Pip
  • 28 posts
  • Devices:Orange San Francisco
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, 31 January 2012 - 11:10 AM.


#10
bazik19

bazik19

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:Orange San-Francisco
Phone.apk doesn't work with CM 7.1.


#11
bazik19

bazik19

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:Orange San-Francisco
Is it possible to make it work with CM 7.1?

Edited by bazik19, 02 February 2012 - 11:32 AM.


#12
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View Postbazik19, on 02 February 2012 - 09:07 AM, said:

Is it possible to make it work with CM 7.1?

Im working on it. Stay tuned Posted Image


#13
marcosinus

marcosinus

    Newbie

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:France
  • Devices:ZTE Blade
I am interested in the Swedish Snow mod. Could you upload it ?


#14
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View Postmarcosinus, on 04 February 2012 - 05:32 AM, said:

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

Done!


#15
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

Edited by Pedro045f, 04 February 2012 - 04:21 PM.


#16
fishb00n

fishb00n

    Newbie

  • Members
  • Pip
  • 36 posts
  • Gender:Male
  • Location:.de
  • Devices:ZTE Blade
  • Twitter:@fishb00n
thanks pedro! will try ASAP


#17
4pda

4pda

    Newbie

  • Members
  • Pip
  • 21 posts
  • Devices:htc
Can it work with RLS4b?


#18
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View Post4pda, on 10 February 2012 - 06:07 PM, said:

Can it work with RLS4b?

yes. I am using it right now.


#19
JudasLucifer

JudasLucifer

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
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 :)


#20
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

View PostJudasLucifer, on 13 February 2012 - 08:38 AM, said:

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, 14 February 2012 - 01:00 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users