{Solved} Help required to make Black theme Contacts & Phone. - Galaxy S II Themes and Apps

Can anybody make black contact & phone.apk attached here. Or else let me know the step by step procedure to make the Black themed Contacs.apk & Phone.apk
I Know we need to edit some XML files like styles.xml , call_background.xml, background_dial_holo_dark.xml and also have tried but able to get the success. So please help me.

Its not that easy...
apktool-1.4.3 wont decompile Contacts.apk properly so when you recompile, it will most likely crash the Phone.apk

I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.

I would do it for you, how exactly do you want it to look?

manikant_009 said:
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
Click to expand...
Click to collapse
How many "themer's" are changing XML? show me one please...

shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Most just change images, just swap out the images using 7-zip

OriginsOfLewis said:
Most just change images, just swap out the images using 7-zip
Click to expand...
Click to collapse
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...

OriginsOfLewis said:
I would do it for you, how exactly do you want it to look?
Click to expand...
Click to collapse
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.

shayne77 said:
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
Click to expand...
Click to collapse
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3

manikant_009 said:
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
Click to expand...
Click to collapse
My bet is: Contacts.apk will work fine but Phone.apk will crash.

shayne77 said:
My bet is: Contacts.apk will work fine but Phone.apk will crash.
Click to expand...
Click to collapse
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.

manikant_009 said:
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
Click to expand...
Click to collapse
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.

shayne77 said:
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
Click to expand...
Click to collapse
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344

manikant_009 said:
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
Click to expand...
Click to collapse
I think you'll find they're only changing PNGs in Contacts.apk... could be wrong but I am thinking that is the case...
Will see if any "themers" offer you some advice in this thread then...

shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files

el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Oh so you'll share your method to manikant/us then? good-o
---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------

el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Can you share with us also i like the MMS.apk of your theme so please try to share with us.

Didn't think so...
either he doesn't change XML or he steals someone else work or he's just plain selfish.
not in the spirit of xda anyway.
That's the problem with this place, ego's get in the way of development.

manikant_009 said:
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
Click to expand...
Click to collapse
Okay I've done it, I haven't tested it so it's at your own risk. Remember to set permissions! This is at 50% transparency
http://dl.dropbox.com/u/43639041/framework-res.apk

I had errors with the Contacts.apk when making any XML edits, I ended up having to grab it from the source.

Related

[Mod] Phone.apk | No Increasing Ringtone [ JVZ,JW1 | 2.3.6 | Deodexed ]

This mod is very popular in there, doesn't need to explain that.
My Base "Phone.apk" file is on Deodexed JVZ |2.3.6| firmware.
Installation Guide:
Download the attached file.
Extract it
Copy "Phone.apk" File into "System/App" Folder.
Restart your Phone.
Done.
Updates:
12/16/2011: No any differences between JVZ and JW1, you can use it on JW1
Best Regards.
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
djb77 said:
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
Click to expand...
Click to collapse
0- Notepad ++
1- Baksmali
2- Smali
3- 7 Zip
or simply use Apk Manager.
you need to change below smali file.
Code:
com\android\phone\Ringer$1.smali
* Very Important
And if you want don't face to any fc error, you need to use low compression or better to use NoCompression mod.
djb77 said:
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
Click to expand...
Click to collapse
Make sure you are decompiling it with dependencies (twframework-res.apk), decompiled /res/drawable-hdpi should not have any corrupted file (such as corrupted 9patch)
Rahulrulez said:
Make sure you are decompiling it with dependencies (twframework-res.apk), decompiled /res/drawable-hdpi should not have any corrupted file (such as corrupted 9patch)
Click to expand...
Click to collapse
Thank you for that, that's something I actually did want to know.
I had a look at APK Manager a while ago and didn't end up having any luck decompiling properly, so I went to straight Smali / Baksmali scripts. Only ever had luck with .jar files though.
---------- Post added at 07:54 AM ---------- Previous post was at 07:50 AM ----------
Also, is it possible that it's framework-res.apk that it uses and not twframework-res.apk ?? I tried twframework-res and it just sat there and did nothing, framework-res decompiled it properly.
djb77 said:
Thank you for that, that's something I actually did want to know.
I had a look at APK Manager a while ago and didn't end up having any luck decompiling properly, so I went to straight Smali / Baksmali scripts. Only ever had luck with .jar files though.
---------- Post added at 07:54 AM ---------- Previous post was at 07:50 AM ----------
Also, is it possible that it's framework-res.apk that it uses and not twframework-res.apk ?? I tried twframework-res and it just sat there and did nothing, framework-res decompiled it properly.
Click to expand...
Click to collapse
framework-res.apk doesn't depends upon twframework-res. It should be decompiled without any dependency.
Rahulrulez said:
framework-res.apk doesn't depends upon twframework-res. It should be decompiled without any dependency.
Click to expand...
Click to collapse
No I meant for when decompiling phone.apk I use framework-res instead of twframework-res
Is this phone-apk also working with an odexed JVZ?
Deacon-Frost said:
Is this phone-apk also working with an odexed JVZ?
Click to expand...
Click to collapse
NO! its just for deodex
Ehy M_J_Nazari, since you're very smart, you want to give me a hand?
http://forum.xda-developers.com/showpost.php?p=20222307&postcount=65
i tried this on a jvt rom i'm using and it worked..
thanks
M_J_Nazari said:
NO! its just for deodex
Click to expand...
Click to collapse
It works great with odexed roms too, you just have to delete phone.odex from your /system/app.
Can you please tell us what you patched to disable the increasing ringtone? I want to be able to do this for the latest ROMs.

[Q] Modifying xmls

I am interested in changing the color of the text of the status bar. I have already modified all the images I need, now just need to modify the xml.
I am modifying the framework-res.apk colors xml. After I have made the change I recompile the apk. Switch out the Meta-INF and AndroidManifest.xml with the ones from the original apk but when I push to my phone the color of the status bar text isn't changing. These are the lines I have changed:
<color name="status_bar_text">#ff73cd68</color>
<color name="status_bar_clock_text">#ff73cd68</color>
You might find better luck actually pming a themer or posting it in the theme section. Not much Turner's drop by here
Sent from my SPH-D710 using XDA App
davidc23 said:
You might find better luck actually pming a themer or posting it in the theme section. Not much Turner's drop by here
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
yeah I was thinking that, I might just check on the irc channel. Thanks for looking out.
Hmmm did you reboot the phone?
Sent from my Epicâ„¢ 4G Touch
globalninja said:
Hmmm did you reboot the phone?
Sent from my Epicâ„¢ 4G Touch
Click to expand...
Click to collapse
Yeah, I didn't actually push the framework. I created a flashable zip.
dtm_stretch said:
Yeah, I didn't actually push the framework. I created a flashable zip.
Click to expand...
Click to collapse
If you got the framework-res.apk to recompile without errors then the changes you made should definitely work. There is no need to sawp anything owhen recompiling, just edit the xml, recompile it as a system app and push it to system/app via root explorer or any equivalent.
Which ROM framework are you trying to modify?
fnut6969 said:
If you got the framework-res.apk to recompile without errors then the changes you made should definitely work. There is no need to sawp anything owhen recompiling, just edit the xml, recompile it as a system app and push it to system/app via root explorer or any equivalent.
Which ROM framework are you trying to modify?
Click to expand...
Click to collapse
Thanks ill give that I try.
I am actually modifying the ICS theme for Cakulin's rom.
**Doesn't seem to work either. I should be changing the colors.xml in the framework-res.apk right?
Got it: Make sure to delete the stupid resources.arsc!
dtm_stretch said:
Thanks ill give that I try.
I am actually modifying the ICS theme for Cakulin's rom.
**Doesn't seem to work either. I should be changing the colors.xml in the framework-res.apk right?
Click to expand...
Click to collapse
Yes, and although you won't find the values folder when you recompile you'll still need to delete the resources.arsc when recompiling, if you'd like, you can attach the framework-res.apk you're trying to modify and I can change it for you.
I also, stated inadvertently, to place it in system/app that is incorrect it goes in system/framework which may actually be part of the problem.
fnut6969 said:
Yes, and although you won't find the values folder when you recompile you'll still need to delete the resources.arsc when recompiling, if you'd like, you can attach the framework-res.apk you're trying to modify and I can change it for you.
I also, stated inadvertently, to place it in system/app that is incorrect it goes in system/framework which may actually be part of the problem.
Click to expand...
Click to collapse
I got it figured out, just before you posted about the resources. Now I just got to figure out why my launcher keeps restarting.

[REQ] Modification of systemUI.apk

Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
fabulous69 said:
Hi all
Could someone please modify this apk res/layout/statusbar.xml, to delete the clock in the status bar (just a the right of the battery icon )
Thx a lot in advance !
Click to expand...
Click to collapse
What line(s) in statusbar.xml need changed?
its the one with clock, only one line has the word "clock"
thx for help !
fabulous69 said:
its the one with clock, only one line has the word "clock"
thx for help !
Click to expand...
Click to collapse
I just deleted the lines for the clock in that xml. I obviously didn't test it, so make sure you know how to recover if it doesn't work. The .zip that is attached is NOT flashable. I also put a working 4.2.x apktool in there with instructions for you to do it yourself if you want to in the future. It's pretty easy to do if you have a working apktool (I compiled this one from paulobrein's github since he edited the source to be compatible with 4.2).
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
The size change might just because the zip is compressed more or less. It doesn't always mean anything is wrong. You can decompile it again and compare the contents with the original to make sure everything is there. Do you know how that mod is usually made? Is deleting the lines the correct way?
Sent from my Galaxy Nexus using Tapatalk 2
fabulous69 said:
Thank you dude i really appreciate..
This is, what i call help. Thanks and thanks again.
Cheers :good:
edit: i also tried yesterday with apk tool and succeed to decompile and recompile, sign the apk.
the strange thing is that the file goes from 1.5 mb to 1.12mb just by deleting one line
Indeed, it doesnt work. I dont know what's the problem
Click to expand...
Click to collapse
Have tried the edit myself,with SystemUI, dont sign it, open the original and copy META-INF and androidmanifest.xml over to your new file,let me know if it worked.
Just rename to SystemUI.apk and push to system/app and reboot

i want to remove this name audio aplikacje

i look for it in systemui but problem is in ContextAwareService.apk
i upload my decompiled file
can enybody can remove this text background from my pulldown?
ps. today i have birthday so it would be nice gift for me
deusson said:
i look for it in systemui but problem is in ContextAwareService.apk
i upload my decompiled file
can enybody can remove this text background from my pulldown?
ps. today i have birthday so it would be nice gift for me
Click to expand...
Click to collapse
as far as i think there should be something in SystemUI.apk itself
can you look at?
to remove it?
also carrier name
i know i want to much
deusson said:
to remove it?
also carrier name
i know i want to much
Click to expand...
Click to collapse
also send me your decompiled SystemUI
i cant
vegeta1 said:
also send me your decompiled SystemUI
Click to expand...
Click to collapse
because when i want to do i have error in apktool
decompile me framework but wont systemui
but this is link to my systemui.apk
please
http://speedy.sh/gdpjE/systemui-fram...wframework.rar
deusson said:
because when i want to do i have error in apktool
decompile me framework but wont systemui
but this is link to my systemui.apk
please
http://speedy.sh/gdpjE/systemui-fram...wframework.rar
Click to expand...
Click to collapse
hmmm will get back to you
hope this helps
try this mate
thanks man
ill be waiting
deusson said:
ill be waiting
Click to expand...
Click to collapse
check above
dont work
it only remove line down the icons quick launch
i still think that this aplication is fault of this
http://speedy.sh/W6xMm/ContextAwareService.apk
i have one more please
can you input this lines to my systemui.apk and framework.apk
form this post
http://forum.xda-developers.com/showthread.php?t=2066740
please
ps. how can i donate you
i ask you last time and you dont answered
try this
yes it works
one last question
what about remove name of carrier down on pulldown image
"brak pol.""?
deusson said:
one last question
what about remove name of carrier down on pulldown image
"brak pol.""?
Click to expand...
Click to collapse
i am not very much sure if this will be sucessfull but here you go
dont work
how make this background of camera transparent?
how make this black background(behind icons) of camera transparent?
like in video ?
carrier remove thing
go in systemui\res\values\styles.xml & search at TextAppearance.StatusBar.Expanded.Network in android textcolor make it trasparent

SystemUI Theme

Hey guys, I'm not sure if this is the right spot, but if not can a mod please move it.
Anyway I want to add a notification background to my systemUI, and/or change the statusbar color. I know what to change but I do not know how to compile APKs, so if there is anyone out there who would be willing to do it for me it would be great, I can send you all my files!
Thank you so much in advance!
Pikezer1337 said:
Hey guys, I'm not sure if this is the right spot, but if not can a mod please move it.
Anyway I want to add a notification background to my systemUI, and/or change the statusbar color. I know what to change but I do not know how to compile APKs, so if there is anyone out there who would be willing to do it for me it would be great, I can send you all my files!
Thank you so much in advance!
Click to expand...
Click to collapse
It's possible, but you would need to flash a custom ROM that supports UI customization to do this.
Swap out images with the same file name using 7 zip but don't extract the ROM
Do I use 7zip on my Pc or phone?
Pikezer1337 said:
Do I use 7zip on my Pc or phone?
Click to expand...
Click to collapse
Swapping out the PNG's only works on the computer I've tried on the phone but no dice. Again, make sure you do not extract the ROM, or changing the images will not work!
Correction: NinjaMorph in the Google Play store can alter images from the phone, though its a little bit harder to use in my opinion.
Adizzzle said:
Swapping out the PNG's only works on the computer I've tried on the phone but no dice. Again, make sure you do not extract the ROM, or changing the images will not work!
Correction: NinjaMorph in the Google Play store can alter images from the phone, though its a little bit harder to use in my opinion.
Click to expand...
Click to collapse
Okay, so I have downloaded Ninjamorph, and I somehow can not find the .png for the notification background for 4.1.1. I'm on the stock ROM, Do you happen to know what the file name is?
Pikezer1337 said:
Okay, so I have downloaded Ninjamorph, and I somehow can not find the .png for the notification background for 4.1.1. I'm on the stock ROM, Do you happen to know what the file name is?
Click to expand...
Click to collapse
I believe that is a hex value in one of the xml files. you would need to decompile and edit the xml to allow custom png images as the background.
BYOBret said:
I believe that is a hex value in one of the xml files. you would need to decompile and edit the xml to allow custom png images as the background.
Click to expand...
Click to collapse
Sounds a tad complicated
Adizzzle said:
Sounds a tad complicated
Click to expand...
Click to collapse
Yeah, it requires a bit more work. I am looking for the thread where I found the info, but xda search is down. I will link as soon as I find it.
BYOBret said:
Yeah, it requires a bit more work. I am looking for the thread where I found the info, but xda search is down. I will link as soon as I find it.
Click to expand...
Click to collapse
Thanks I wanted to look into this. :beer:
Adizzzle said:
Thanks I wanted to look into this. :beer:
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1770698
This should still apply. Check post 2.
...and this one should help if you have questions about modifying the apk
http://forum.xda-developers.com/showthread.php?t=2147425

Categories

Resources