Jump to content


Photo

[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.

  • 1

#2
Pieniek

Pieniek

    Newbie

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

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

#3
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

Will it work with CM7?


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

  • 0

#4
Watashi_PT

Watashi_PT

    Regular

  • Members
  • PipPip
  • 116 posts
  • Gender:Male
  • Devices:Alcatel OT Idol S
And with Fish'N'Chips?

  • 0

#5
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

And with Fish'N'Chips?


Yes. Ive tested it and its working.

  • 0

#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.

  • 0

#7
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

tried with SS2, says 'app is not installed'

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


Glad it worked!

  • 0

#8
raverrr

raverrr

    Recognised Ginger Ninja

  • Moderator Team
  • PipPipPipPipPipPip
  • 1,063 posts
  • Gender:Male
  • Devices:Moto G, ZTE Blate
Looks really nice :)
trying it now :)

  • 0
-If i've been helpfull to you in any way, press that little green thanks button

#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.

  • 0

#10
bazik19

bazik19

    Newbie

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

  • 0

#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.

  • 0

#12
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

Is it possible to make it work with CM 7.1?


Im working on it. Stay tuned Posted Image

  • 0

#13
marcosinus

marcosinus

    Newbie

  • Members
  • Pip
  • 36 posts
  • Gender:Male
  • Location:France
  • Devices:Huawei G510-0100
I am interested in the Swedish Snow mod. Could you upload it ?

  • 0

#14
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

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


Done!

  • 0

#15
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

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

  • 0

#16
fishb00n

fishb00n

    Newbie

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

  • 0

#17
4pda

4pda

    Newbie

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

  • 0

#18
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

Can it work with RLS4b?


yes. I am using it right now.

  • 0

#19
JudasLucifer

JudasLucifer

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,342 posts
  • Gender:Male
  • Devices:Zte Blade
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

Sig.png


What Font Are You Using? (thats legible of course :P)


 


#20
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 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 :)


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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users