Contacts.apk ????? - Samsung Galaxy Nexus

Ok I have only 1 remaining issue and I am hoping some one has an answer for me... I can decompile and recompile contacts.apk doing image edits just fine
Now... as soon as I touch an xml it will compile fine but when I flash it.. contacts force close every single time...
Any themer have this problem and if so does any themer have a solution???!!!!
FRUSTRATED!!
Sent from my Galaxy Nexus using xda premium

This is a known problem with the Contacts apk, but it is possible to theme the app without touching the XML files.

Kevin3328 said:
Ok I have only 1 remaining issue and I am hoping some one has an answer for me... I can decompile and recompile contacts.apk doing image edits just fine
Now... as soon as I touch an xml it will compile fine but when I flash it.. contacts force close every single time...
Any themer have this problem and if so does any themer have a solution???!!!!
FRUSTRATED!!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
This has been a problem since we've started theming. I've managed to edit certain parts of the contacts.apk but I think since it draws so much from the framework themes that when you try to change the XMLs, they end up clashing and calling for two completely different things.

Related

Help needed with a theme

i need help with two things one if u notice the screen shots below instead of using the minimize and maximize icons its using this big ugly square i would like this replaced with the correct icons.i checked my framework res.apk and all the icons are there and correctly named so it leads me to believe that it is indeed a wrong xml. second thing i need help with is getting this same call log transparency and fixed icons ported over to the them im using when i apply the theme via theme manager it changes my contacts and dialer to a black one. below i am attaching my framework and the theme apk any questions please ask and i will gladly donate $5-$10 to any one that is able to help me out with this thanks any questions pm me. and just for extra precautions ill upload them from my DB
Framework Res.apk- http://db.tt/kOLWpkW
Theme.apk- http://db.tt/nL2LwVG
Uploaded with ImageShack.us
Uploaded with ImageShack.us
All the xml's look right so I dont think it is that. But, I havent worked too much with theme apk's so If I sound like a reject, Im sorry.
I did see that com_android_contacts_custom_background_dialer is solid black. maybe that is why the bg's are not the themed one you want.
For the minimize/maximize i cant really help other than say find that image and do a dirty hack. lol.
Wish i could be more help.
djnarcotics said:
i need help with two things one if u notice the screen shots below instead of using the minimize and maximize icons its using this big ugly square i would like this replaced with the correct icons.i checked my framework res.apk and all the icons are there and correctly named so it leads me to believe that it is indeed a wrong xml. second thing i need help with is getting this same call log transparency and fixed icons ported over to the them im using when i apply the theme via theme manager it changes my contacts and dialer to a black one. below i am attaching my framework and the theme apk any questions please ask and i will gladly donate $5-$10 to any one that is able to help me out with this thanks any questions pm me. and just for extra precautions ill upload them from my DB
Framework Res.apk- http://db.tt/kOLWpkW
Theme.apk- http://db.tt/nL2LwVG
Uploaded with ImageShack.us
Uploaded with ImageShack.us
Click to expand...
Click to collapse
If you know what the png's are called you can verify that the system is calling for the right framework pics I think in your public xml just to make sure.
How would I do a dirty hack. And where is the public xml located
Sent from my PC36100 using XDA App
Another things is wierdly the maximizer button issue is present before applying the theme apk
Sent from my PC36100 using XDA App
djnarcotics said:
How would I do a dirty hack. And where is the public xml located
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Public xml is in values folder, also you can go to your drawables folder and look for any thing referencing to your anim and it will show you if the file is right. . And a dirty hack sounds like shotty work to me. Idk I may be wrong but I guess its up to you to use or not.
I wouldn't mind giving a try.tho im clueless when it comes to this ****
Sent from my PC36100 using XDA App
bump...............................
Try editing "tab_focus.9" in framework-res.
lovethyEVO said:
Try editing "tab_focus.9" in framework-res.
Click to expand...
Click to collapse
Just checked it and it didn't seem like that was it
Sent from my PC36100 using XDA App

Problems with editing pngs

Hi I am trying to theme the digital clock apk, I am able to use my edited apk when pushed back to my device, the catch is that it only works when editing certain pngs (the number pngs). The second I try to edit any of the Sun-Saturday files the apk stops working when I push it back to my device. I have tried resigning the apk, but this doesn't seem to fix my issue either. Any ideas? I don't understand why certain pngs can be edited but others cannot; Any ideas?
No ideas huh? I guess I'll try a different image editor... Still stumped.
Sent from my SGH-T989 using xda premium
...
Hey, I have the same issue here, I can edit only some pngs, not everything.
did you check the permission?
Do u know how to edit .9 images properly? Check to see if the ones you are having trouble with are .9. To my understanding if you don't edit them correctly you'll have issues after recompiling the apk. Google .9 editing; hope this helped.
Sent from my SGH-T989 using xda app-developers app
That is what I was going to suggest, about the .9.png's. Make sure the 1px border is completely black after editing the image
Sent from my SGH-T989D using Tapatalk 2

**JB Pulldown Notifications bar transparent black

Hi,
I was looking thru the framework apk trying to find the notification pull down thing becouse i want to edit it from grey to the standard transparant black. Can this be done via just changing the png file or is there other stuff i need to do ? ive tryed search button but dident find anything so any help apprecited thank you
**Big thanks to daman on thread who has supplied systemui.apk with transparent background
It is probably handled by an XML file or rendered from a small image file
Sent from my Galaxy Nexus using xda premium
bummer if xml as wouldent know where to start png`s ie image file no problem with
I'm gonna mess with it at work tomorrow and see if I can find it
Sent from my Galaxy Nexus using xda premium
I actually just wanted tk write a request for that. The tranparent black from ics looks 100 times better!
I'm really looking forward to your mod/work
Sent from my Galaxy Nexus using xda app-developers app
likewise and appreciate you taking the time out to look at thanks please post back when let us know how you get on.
Mojochief said:
The tranparent black from ics looks 100 times better!
Click to expand...
Click to collapse
agreed
really hate to bump a thread , but im guessing out of all the talented people here someone must know how to get this done or point me in right direction ?
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I will look at it if apktool will stop pissing me off
Sent from my Galaxy Nexus using Tapatalk 2
a black version would be epic!!
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
thanks for replys and taking time to look into , very much appreciated
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
on ics the file you guys are trying to edit is called the notification tracking background
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
the fact that you're even looking at it is awesome!! Hopefully you can figure it out and help us noobs!
ive been trying to do it myself with no luck!
ok i found it it`s called the notification_panel_bg.9.png
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
HumanXv2 said:
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
Click to expand...
Click to collapse
i have a method give me a sec i will post a test system ui
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
https://rapidshare.com/files/2140464399/SystemUI.apk
can whoever that pushes that make a screen shot of it? thanks!
daman215 said:
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
Click to expand...
Click to collapse
Can you upload it to some other place? Xda's filehost is broken.
404 - Not Found
Click to expand...
Click to collapse

[Q] Change images in a Cm10 Theme?

How do I change images out of themes for cm10? Like lets say I want a black pulldown bar or black settings background how would I do this? I tried opening up the png in photoshop and making it black, saving it as the same exact name and put it back in the .apk but when I try to install it doesn't work. Would appreciate any help, Thanks.
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
polimeno said:
You need to recompile the theme
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
How would I do that?
You would need to decompile it first, the pulldown background is a .9.png so you would have to make whatever is inside the .9 border, if you screw up the border by the slightest it wont compile correctly. So i would suggest you keep you work area selected within the border. Then once you've made the corrections recompile and sign the apk. Otherwise it wont install.
You'll have to google how to decompile and signing apk's.. its relatively easy.
http://forum.xda-developers.com/showpost.php?p=10965186&postcount=3
good day.
Just extract the theme, edit/replace what you want, then zip it and flash.

How can add Lock screen with framework-res?

How can add Lock screen with framework-res?(in framework-res)
can someone help me?
It's not easy, if you've never modified anything, you'll have a lot of difficulty to make it. there is more than one file at modify.
i know it's have some mods on many *.xml like public.xml and more files but you know any page to can help me?
Depends a lot on which rom base you want to do this, if it's aosp,ICS, JB i9000 rom I guess you have to work on sources,do it yourself or apply a diff patch (search for Evilisto name on xda, he provided such diff patch for at least a Blackberry lockscreen> aosp).
If stock Samsung rom it should be "easier" if I can say,only full tutorial I know is French and based on froyo:
http://galaxys-team.fr/viewtopic.php?f=6&t=14563
How Can add Ripple Lock Screen To CM10?
galaxy s iii mini is hdpi like i9000
Can someone use it?
i think developers must work on
framework-res.apk
android.policy.jar
and if developers can port it,we can work on ink Lock Screen.
If you find out... Let me know I'm working on finalizing a new theme I made and would love to implement it into it.
Sent from my SGH-T959V using xda app-developers app
nirvanite said:
If you find out... Let me know I'm working on finalizing a new theme I made and would love to implement it into it.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
+1
Sent from my GT-I9001 using xda app-developers app
I have been doing some poking around in framework-res.apk and it shows many xml files that link to the lockscreen it seems. After doing a uot kitchen themed lockscreen those pngs inside the drawables-hdpi directory need to be mapped right in the xmls to display on the screen at the right given time. Decompile, edit icons or add your own and then change one icon map in the xml files and finally recompile and push to your device.
Sent from my SGH-T959V using xda app-developers app

Categories

Resources