[NEED HELP] ICS themeing - Android Themes

As you can see i'm on attempting an ICS theme for Xperia Play 4.0.2.A.0.42
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There is currently a lot more done to it than what is uploaded on the seperate theme thread but before i release the next release i need a bit of help. As you can see here:
edit: i attempted to edit it using apk manager and decompiling and recompiling but i got an error when compiling, then my edited files didn't even compile or replace, parts were missing when i extracted the zip to see where i went wrong so i have given up
anyways any help with this is greatly appreciated.
attatched is the latest framework.res.apk version.

http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
here is a lot of information about themeing gingerbread

when recompiling the apk i get errors , after it has been recompiled and pushed into an unsignedSystemUI.apk i extract it to see what it is mising, it is missing resources.arc and the .XML's i edited. help?

anyone care to help?

tekken179 said:
when recompiling the apk i get errors , after it has been recompiled and pushed into an unsignedSystemUI.apk i extract it to see what it is mising, it is missing resources.arc and the .XML's i edited. help?
Click to expand...
Click to collapse
examine the log of your recompiling tool
most probably you have some faulty .9 pngs in your theme that can't be recompiled unless fixed (even if you haven't edeited them now)

ok i now have successfully recompiled and fully edited the SystemUI.apk
but now i'm getting new errors when editing the framework part (to get notification text title, description etc. in white)
i checked for faulty images, none at all so it's not the images.... i ran the error log couldn't make sense of it apparently it's some xml's and NOT the ones i edited.

Anyone?
Sent from my R800i using XDA App

Have you made sure that every edit you made including adding images you delete from the keep folder when recompiling? I have found that when recompiling it looks to make sure every xml and image points to its proper place, so for instance i was adding pulldown toggles and it kept erroring out, it was because in statusbarexpanded.xml the image file pointing to the image was wrong and thats what was throwing the errors. I downloaded your framework-res i will check it out. Just make sure every XML edit points to proper item and if you chnage images im apk-manager make swure you delete the ones you overwrite in the keep file. Also are you using the newest apk_manager now called apk multi-tool beta 2? I find i get way less errors when using the new one. Also are you familiar with apk-tool and smali/bakmali? Sometimes if you are doing really deep xml edits its better to use that VS apk-manager, if not let me know and i will point you in that direction just to give it a shot. One more thing when you are trying to recompile what does the error log say? Can you post the error log?

Related

[Q] Change notification colours

Does anyone know how I would change the colours of the text in black below? It is the only thing that I can't find. I think It might be in services.jar somewhere but changing that is out of my depth.
Any help is greatly appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
I am interested in this as well. I have searched and searched code and Google for where that precise line is and coming up empty. The links provided althougb useful and already used do not address the question.
Sent from my SCH-I500 using XDA App
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
JAguirre1231 said:
It's an .xml file in DownloadProvider.apk/res/layout, I do believe.
Click to expand...
Click to collapse
Thank you very much! It works perfectly!
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
BumRush said:
What XML editor are you guys using to edit these files? The one i have keeps giving me invalid character errors.
Click to expand...
Click to collapse
I decompile them with apktool and then use any ol' text editor.
Great lesson, thanks
Ganii said:
Sometimes I changed color for date and clock.
For this I had to decompile "classes.dex" file which you cand
find if you open "services.jar" with WinRar or 7zip!
After changing colours you have to compile back,open "services.jar"
again and put the new "classes.dex" there.
But I think some colours for notifications are at
framework-res.apk/res/layout/status_bar.xml,not at "services.jar".
Maybe look at here:
http://forum.xda-developers.com/showthread.php?t=535630
http://forum.xda-developers.com/showthread.php?t=549309
Click to expand...
Click to collapse
You can change the color of the date in a .xml-file.
I'm building up a tutorial where to find to corresponding entries in the .xml-files (see my signature). Any hints to new places are welcome

Editing TouchWiz30Launcher.apk

I need a help. Please look at this topic
Code:
http://forum.xda-developers.com/showthread.php?t=822523&highlight=touchwiz
This man and many others people on XDA-forum editing TouchWiz app. Original homescreen by Samsung. They are changing icons, adding backgrounds etc etc. Please could anyone help me or anyone know how to do that? This app - TouchWiz30Launcher.apk - is in system/apps. How or in which program I could edit for example icons or add new dock to bottom? Anybody know?
Please for all. Could anyone help me with this?
ok first you have to be on jpy firmware then you have to take the twlauncher30.apk from the thread you referenced and you need to be rooted an use root explorer to install to your phone by backing up the existing .apk and .odex (rename see instructions in other thread) and then overwritting it with the one from that thread.
the one from that thread is de-odexed so you can edit the .png (icons) using microsoft photo editor or something else and then replace the .png directly in the .apk file with 7zip.. then you can put modified .apk on phone in sameway..
here is my modified version with a modified "bender" launcher icon
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok i learned this now but where I can change norification bar? In which app? Also in TouchWiz30Launcher.apk?
notification bar is in framwork-res.apk in system/framework..
same method using 7zip to change icons and then put back on phone with root explorer.. after putting back on phone stuff will start crashing and you should reboot.. (may need to pull battery).. make sure you have backups of originals.
notification pulldowns (not the bar) are much more comlicated and you have to change .jar files in the system as well.
Many thanks =) Changing icons in notification bar looks quite hard Is there any easier method?
what i did is find some other rom or custom rom you like and get the framwork-res.apk from that (you know you can just unzip the .apk and then use windows explorer to browser the directories to see all icons at once)
then you can open your framework-res with 7zip and the one with icons you like in another instance of 7zip and then just cut and past the icons (they need to be the same name... as some have additional icons and that entails decompiling and changing .xml files and recompiling and resigning.. much more complicated)... anyway just cut and paste directly from one 7zip into the other (your modifed framework-res from your curent firmware on your phone) then put it back on your phone.

Themeing Question?

Anyone know or want to help me theme the boxed in part?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks!
is it just a .png file?
If so give me the dimensions and I can try and do something up....you just want the 3 small lines colored?
Mortem Tuam said:
is it just a .png file?
If so give me the dimensions and I can try and do something up....you just want the 3 small lines colored?
Click to expand...
Click to collapse
I just want the three lines colored... I can't find it at all
systemUI.apk --> status_bar_close_on.9.png
well when you find it...get me the dimensions or better yet...the actual .png file
watsa said:
systemUI.apk --> status_bar_close_on.9.png
Click to expand...
Click to collapse
Yeah but maybe I am missing something but that is only a segment of the whole bar right? Or do you just chance that?
For the most part got it but.... Anyone, help please?
I just recolored it and pushed it via ADB.
Why did this happen?
iRide113 said:
For the most part got it but.... Anyone, help please?
I just recolored it and pushed it via ADB.
Why did this happen?
Click to expand...
Click to collapse
Its a .9 image so it needs to be decompiled first... edited then recompiled.
shoman94 said:
Its a .9 image so it needs to be decompiled first... edited then recompiled.
Click to expand...
Click to collapse
I get errors when trying to decompile it...
http://dl.dropbox.com/u/21172955/Error.txt
It is a UOT Kitchen file...
iRide113 said:
I get errors when trying to decompile it...
http://dl.dropbox.com/u/21172955/Error.txt
It is a UOT Kitchen file...
Click to expand...
Click to collapse
Not sure what you mean. You decompile the whole apk with that in it. Then you edit it without messing up the .9 image. Then recompile it.
sent from my continuum powered captivate on tapatalk....
shoman94 said:
Not sure what you mean. You decompile the whole apk with that in it. Then you edit it without messing up the .9 image. Then recompile it.
sent from my continuum powered captivate on tapatalk....
Click to expand...
Click to collapse
When I use Apk Manager and go to Decompile with dependencies, I select SystemUI.apk first, then I drag and drop Framework-res.apk into the Cmd, but I get error "Sorry that's not the dependee apk, try again."
EDIT: I figured it out... Had to change some settings inside Apk Manager... Thanks a lot

[Q] Custom phone answer screen

Is it possible to create your own answer screen ?? I have a bad ass idea and I would like to get to work on it but IDK if anyone has done it yet, I've tried searching but no luck with finding anything for anyone who has Galaxy S captivate. I hate the stock answer screen its so damn boring...
I believe what you're looking for would be in /system/phone.apk (or possibly in /system/dialeractivitytab.apk). Try tearing one of those apart and see what you can come up with.
jmtheiss said:
I believe what you're looking for would be in /system/phone.apk (or possibly in /system/dialeractivitytab.apk). Try tearing one of those apart and see what you can come up with.
Click to expand...
Click to collapse
I'm a little new at this by "tearing" you mean unzip?? I am going to look in those folders and try just that.
It is gonna be in the phone.apk
You can approach it two ways:
1. If you want to just do image editing, use 7zip and extract the apk's into new directories. Edit the images (probably in /res/drawable-hdpi), and then put them back into the original .apk file with 7zip.
2. Using a tool like apktool or apkmanager, decompile the apk. Then edit the files in the directories it creates, and recompile the apk.
Has anyone been successful at changing this?? --->
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jmtheiss said:
You can approach it two ways:
1. If you want to just do image editing, use 7zip and extract the apk's into new directories. Edit the images (probably in /res/drawable-hdpi), and then put them back into the original .apk file with 7zip.
2. Using a tool like apktool or apkmanager, decompile the apk. Then edit the files in the directories it creates, and recompile the apk.
Click to expand...
Click to collapse
Thanks, LOL you just gave me a ton to google
Yes alot of that has been changed. If this is your first attempt at theming an app might I suggest starting here
http://forum.xda-developers.com/showthread.php?t=908270
robm1911 said:
Yes alot of that has been changed. If this is your first attempt at theming an app might I suggest starting here
http://forum.xda-developers.com/showthread.php?t=908270
Click to expand...
Click to collapse
Well if anyone wants to know here is an image of it slapped together, I really just slapped it on LOL if anyone would like to be a part of this I would gladly accept the help.
Well to further explain my idea if anyone wants to take it up, the image of the contact would appear on the left and no image on the right just fuzzy as if bad reception like
before answering would look like this, of course instead of codec would be a phone number >
After reading everything I wont be able to do this until I get a new PC and that wont be for a good while :/ (my laptop is too crappy)

Need help to Identify a png

Hello,
Something is bothering me when I'm watching a video :
when I hit the volume keys, this volume popup is coming in front of the video, and stays there for ages
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I would like to edit the background and make it transparent. I'm pretty sure it's located in res\drawable-hdpi
but if someone knows which file it is, that would help me a lot
thanks !
Should be in framework-res.apk or SystemUI.apk.
Just view the folder and look for this png?
Maybe it's used by other dialogs too, so there could be more than one part. (top, middle, bottom)
And if you're not lucky, other dialogs are transparent too after this. ;o
I did open the "framework-res.apk"
I got a lot of files in it :laugh:
I did not find anything looking like it, only these ones maybe ... ?
is it a sigle png file or maybe these tiny squares put together ... I should test
On mine its dialog_full_holo_dark there are other dialogs that use it though...if you don't want to affect them you'd have to edit volume_adjust.xml to point to another image
If you can decompile your framework check that xml to confirm
Sent from my GT-I9100 using xda premium
ok thanks,
can I just extract the xml from framework-res.apk on my computer, edit it, and then add it again + adb push the new framework-res.apk ?
edit : looks like I need to read this http://forum.xda-developers.com/showthread.php?t=1427959
ok, in the XML volume_adjust.xml (once I decompiled the file), I found this :
android:background="@drawable/dialog_full_holo_dark"
yeah there is a bit involved in decompiling but its worth learning how to do it, especially with 9.pngs
Sent from my GT-I9100 using xda premium
I have errors when I try to recompile, so I'm gonna go with replacing the PNG file with a transparent one, and just replace the png withing the APK using winrar. I made a backup. Time to adb :silly:
well, it doesn't change anything
(and I wipped cache+dalvik)
damn
Hmm that's weird, here's a compiled image I found on my phone if you want to try with that to test. If that works it must be something to do with the image you used, if that doesn't work it must be something to do with the process your using to push it to your phone not working.
http://db.tt/K2uTCdey
If you decide to give compiling another go...assuming you've got your environment and paths set up correctly and you've not changed the 9patches, the errors you're getting may be just plural errors? If that's the case you just need to go through values and change line 79 on each one so they're like %d %%d instead of %d %d (sorry that's a bit vague)
Sent from my GT-I9100 using xda premium
Edit: If you get stuck with it post your framework and i'll do it for you.

Categories

Resources