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

#21
deadeyes

deadeyes

    Newbie

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

#22
mon3em

mon3em

    Regular

  • Members
  • PipPip
  • 117 posts
  • Gender:Male
  • Location:sweden

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

#23
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

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, 27 February 2012 - 11:00 AM.

  • 0

#24
Pedro045f

Pedro045f

    Newbie

  • Members
  • Pip
  • 20 posts

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

#25
Butcher55

Butcher55

    Newbie

  • Members
  • Pip
  • 31 posts
  • Devices:ZTE Blade
PLease can you make just New background mod and ICS answer/reject tabs mod for Swedish Snow RLS7?Thanks:)

  • 0

#26
jonmac73

jonmac73

    Enthusiast

  • Members
  • PipPipPip
  • 198 posts
  • Gender:Male
  • Devices:Orange San Fran - Huawei G510
Hi all, just tried this on SSRLS7 and seems to work fine. Thanks.

BUT have evrything ICS theme'd and the dialler screen is G'Bread looking still.
What I would really like is this call answer screen icons & hi-res contact picture (although contact picture not essential) with the dialler/keypad from Sami's ISC theme.
Anyone help me please ?
Thanks in advance

  • 0

UK Orange San Fran Gen2 TPT'd running CM9 ECO

 

UK Huawei Ascend G510 running stock 4.1.1


#27
dhoomktoo1

dhoomktoo1

    Newbie

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Devices:OMCSkate,SFBlade
Could you please send me a link for the modded framework to change the aceppt and reject call tabs on swedish snow R7?

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


  • 0

#28
Marius C

Marius C

    Newbie

  • Members
  • Pip
  • 1 posts
  • Gender:Male
  • Devices:Motorola Droid Pro
Hi.

I have a Motorola Droid Pro with Android 2.3.4 un-rooted. I would also like a mod like the one described here. Will it work for me? If not, what should I do, or where should I look?

Many thanks,
Marius C

  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users