modify phone.apk? - Galaxy S II Themes and Apps

Does anyone know how to modify phone.apk to make it display the keypad every time i press Phone.
Sometimes it shows the call log now

I think it's related with phone.apk rather than Twlauncher.

you are probably right , i'll edit the 1st post.

Related

[Q] Theming Phone.apk in HTC Sense

Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
DJZager said:
Edit::
So now I know that that htcresources supercedes anything I do to the phone.apk, what controls the color of the numbers & text in the keypad?
Thank you for any help.
Click to expand...
Click to collapse
u would need to decompile the apk.
look inside res/values
and res/values-hdpi
maybe a few more.
inside those foldrs u would see colors.xml
from there u should be able to figure out which one is the text color.
p.s.
im havn't done it myself, but thats how u get can get a bunch of color changed in all of your apps.
thats how i made my app drawer transparent, and changed animations etc... screw those hex editing tweaks... its a huge waste of time to figure out what does what.
just decompiling the apk gives u everything u need and its all in English.
keep in mind that u might need to actually change in in a different apk... not necessarily in phone.apk.
and i do hope that u found the images inside com.htc.resources.apk for the actual keypad images.
just use apktool.
version 1.3.2 might give u issue cuz it compresses the resources.arsc... so if u need version 1.3.1 let me know... i got that one also.
Values\styles.xml
<Line 196> <item name="android:textColor">@color/color_255_255_255</item>
<Line 200> <item name="android:shadowColor">@color/color_0_0_0</item>
<Line 220> <item name="android:textColor">@color/color_255_255_255</item>
<Line 224> <item name="android:shadowColor">@color/color_0_0_0</item>
These are the ones you are looking for. In HTCDialer.apk
The way they are shown here will make them black with a white shadow. you can replace the @color/color_0_0_0 part with any hex color code (ex. #ffffffff) so you can choose any color. Hope this helps
Wow, thank you for that. I'm going to try that and report back.
Related Topic: I'm trying to change the color for the text that appears in the accumulator in HtcDialer.apk
There are 3 nearly identical files in /res/layout: dialer.xml dialer_cdma.xml, and dialer_cdma_sp.xml
Each of these has coding which refers to the text within the accumulator (i.e. where the numbers you dial show up). So far, changing the colors there either accomplishes nothing, or it causes acore FCs.
Am I poking the wrong beehive?
how do u change button color?

[Q] Theming lockscreen - HELP!

I'm making a theme and trying to make the lockscreen icons/images for the slidebar transparent, when you click and drag to unlock the phone.
With some help from kmoore11 on miui-dev, I succeeded doing it with the time image, but not with the sms and call images.
I was told the png for time was this: lockscreen_bar_time_bg_mask_p.9.png
So i guess the ones for sms and call would be the same, of course with "call" or "sms" instead of "time"...
But for some reason i can't get those to work
See the attached pictures, the call and sms images have this weird semi-transparent box around them and the time doesn't. Again, this is only when i click and drag to unlock..
Help is MUCH appreciated!
And minor detail, hehe, i'm doing this on MIUI 1.4.22 ROM

Help with theming

I'm making a theme for MIUI 1.4.22, and trying to make the lockscreen icons/images for the slidebar transparent, when you click and drag to unlock the phone.
With some help from kmoore11 on miui-dev, I succeeded doing it with the time image, but not with the sms and call images.
I was told the png for time was this: lockscreen_bar_time_bg_mask_p.9.png
So i guess the ones for sms and call would be the same, of course with "call" or "sms" instead of "time"...
But for some reason i can't get those to work
Am i editing the wrong files?
See the attached pictures, the call and sms images have this weird semi-transparent box around them and the time doesn't. All 3 pictures are when i click and start dragging down to unlock...
Help is MUCH appreciated!

[Request] Theme & Phone/Contacts help

Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)? Done.
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
To cut a long story short, private message the people who have created or implemented these into their themes.
Thats just it, i tried asking LitePro but he seams to be away, im not sure who created the better fixed CRT, the transparent lockscreen and i havent seen a contacts apk with display SIM contacts option that would work on KF2 yet...
Have any idea who i can PM? I wouldnt mind donating for future development to anyone whod have the will to help me...
Got transparent lockscreen, can anyone still help with the remaining two?
Heavencry said:
Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)?
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
Click to expand...
Click to collapse
For fix pixelated CRT effect, you have to modify bools.xml in framework-res.apk (decompiled) in /res/values/
change :
Code:
<bool name="config_sf_slowBlur">false</bool>
to
<bool name="config_sf_slowBlur">[B]true[/B]</bool>
and of course :
Code:
<bool name="config_animateScreenLights">true</bool>
to
<bool name="config_animateScreenLights">[B]false[/B]</bool>
If you want, you can enable SIP on data network (3G ...) modifing :
Code:
<bool name="config_sip_wifi_only">true</bool>
to
<bool name="config_sip_wifi_only">[B]false[/B]</bool>
EDIT : I can't fix CRT on your framework-res.apk cause you push .png not declared in public.xml. Give me your original file please
Anyone know how i can enable the show SIM option in contacts?
Last thing im missing on this rom...
@sicopat
Is this really the fix for the pixelated CRT? Have you shared this with Jkay?
The only known solution i knew of was the take a screenshot on a white background.
Noone ever tried enabling show SIM contacts option in KF2 or the older 2.3.3 roms that didnt have it?
Try this one for the crt-fix.
Thank you! That did the trick, the CRT no longer gets pixelated after using the advanced power menu !
Now if only i could figure out a way to get the "show SIM contacts" option... it seams that every Contacts+Dialer.apk i try gives me force closes... are they completely different for each rom version?

[Q] Change incoming call screen picture (edit .apk files)

I'm on Viper and using Ghost Sense 5 theme, it's very good, but one thing is not changed from Sense 4 and that is incoming call picture when the phone is locked (when it's unlocked I got Sense 5 incoming call screen). I managed to change some stuff (regardless of incoming call screen) with decompiling fusion.apk and change some pictures, like lockring for example, but cannot find the way to change incom. call screen. Anyone can tell me how to change it, maybe have to change something in Idlescreen_Base.apk or something like that?
I want to have this:
and now I have this when phone is locked and someone call me:
Thanks.

Categories

Resources