Location and name of apps list background? - Hero, G2 Touch Themes and Apps

Hi,
I'm currently creating a black theme for a 2.1 rom but i am totally struggling finding the PNG file for the apps list "all programs" background, currently it's a light shade of grey starting at the top shading down to black at the bottom but want to make this this totally black.
I have changed all the files i can find that resemble the background but it remains grey fading to black and maybe this is controlled by an xml file?.
I have looked in framework-res and com.htc.resources apks but cannot find the file to change this.
Can anyone help me with this please?
Thx.

welcome to the league of those who cannot find the menu background... we've all been searching for a long long time, the shining knight has yet to be found that can free us all from the curse of the dark in the back...

Lol, ok but some themes i've seen have a black background, maybe this is because it's the default for the that particular rom/theme.

after reading your first post again : are you talking about stock or sense roms? not sure about the stock launcher, it should be know what file it is for that. not for rosie though.

I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.

Hitman37 said:
I'm themeing an expresso sense rom and the file i have found that resembles the background png is called common_panel_gradient.png, which is also found in some common system apk's.
Click to expand...
Click to collapse
have you tried editing it?

kendong2 said:
have you tried editing it?
Click to expand...
Click to collapse
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.

Hitman37 said:
Yes, i did a couple of system apk's as well but the programs background stays the same, sys apk's change to the new edit.
Click to expand...
Click to collapse
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>

tristan202 said:
It's not a png, it's a xml in framework-res.apk. I'm not at my own pc right now, but I'm 99% sure it's in /res/values/colors.xml. I tried editing to a semiopaque once, but it made the icons have trails when scrolling.
EDIT: Forget it. Just downloaded the stuff needed, and it is not in framework-res.apk. It's in Rosie.apk. /res/values/colors.xml. Line 8
Code:
<color name="all_item_background">#ff000000</color>
Click to expand...
Click to collapse
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!

Hitman37 said:
Ah thanks Tristan ,
i thought it was probably xml related but the question now is how do i edit this (ff000000) in line 8 to change it to my all black background and what hex would this be?
Do i need some java tools for editing the xml?
Thank you!
Click to expand...
Click to collapse
You need to download apktool, and then extract Rosie with that. The way it's done is this:
Code:
apktool d Rosie.apk out
That will decompile it to the folder 'out', and make all xml files readable and editable. Then after editing you run this command:
Code:
apktool b out
That will rebuild the apk. All left to do is either resign it or copy the edited files to your original Rosie.apk

Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.

Hitman37 said:
Thanks again!!
Two questions...
What editor do i need to edit the decompiled file, will notepad do it?
What do edit the file to in line8, to use my background PNG?
Thanks.
Click to expand...
Click to collapse
Notepad will do just fine. I use Notepad++, a freeware great notepad replacement with code highlight. I am not sure if you can replace the background with a png. That's be kinda tricky. It will probably require some altering in the smali, and I'm not familiar with that. One thing you could try is edit another file instead. You need to edit bladelistview.xml in layout folder.
Edit this tag:
Code:
android:background="@color/all_item_background"
to this:
Code:
android:background="@drawable/NAME_OF_YOUR_PNG_WITHOUT_EXTENSION"
Remember to put you custom image in the drawable folder in Rosie. I am not sure if this will work, but it's definatly worth trying.

Ok great, i'll try your suggestions.
Thanks

Hmm no it doesn't work, still the same background, i also get some errors when decompiling and re-compiling rosie but i inserted the files directly into rosie anyway with winrar, still not working
Any other idea's?
Thanks.

I have a feeling there's an apk somewhere that controls the program launch/list that has this png inside but i cannot find it , i thought that it could be the Launcher.apk but it's totally missing from the apps folder
This is what the current background looks like
{
"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"
}
And want to change it to this...

Related

[Q] [SOLVED] [THEMING HELP] GenieWidget.apk/Power Control Widget

I'm having some problems theming it. I want it to be like the one from BlackMod so I've extracted the one from BlackMod and put it in my theme so it should work now right? But it didn't it just showed the widget but not with the correct bagground etc. Then I took the GenieWidget.apk from the original ROM and themed it plus some pngs that is also in it. Something like 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"
}
but it's still not working :/ This is what the widget currently looks like BTW:
bro, did you sign it after you modded it to ur liking? from your first picture i just see the .9 borders, which are not supposed to be there after you run it through a compiler like Eclipse.
opasha said:
bro, did you sign it after you modded it to ur liking? from your first picture i just see the .9 borders, which are not supposed to be there after you run it through a compiler like Eclipse.
Click to expand...
Click to collapse
As it is a system apk it does not need to be signed. The borders are because of decompiling and I did recompile again afterwards. Also it does work but it doesn't have the correct layout. That's the issue
C0mpu13rFr34k said:
As it is a system apk it does not need to be signed. The borders are because of decompiling and I did recompile again afterwards. Also it does work but it doesn't have the correct layout. That's the issue
Click to expand...
Click to collapse
send me your images that you want for this geniewidget and power control and ill edit and sign it for you and then upload the apk. or if you want, i can create an update.zip like i did for this fellow in the Post Your Home Screen thread. let me know, i'm always happy to help.
opasha said:
send me your images that you want for this geniewidget and power control and ill edit and sign it for you and then upload the apk. or if you want, i can create an update.zip like i did for this fellow in the Post Your Home Screen thread. let me know, i'm always happy to help.
Click to expand...
Click to collapse
I appreciate that but that is not the problem. The problem is that I have themed it (all pngs that needs theming) but it still stays as the matte Power Control Widget. I ask because someone might know if there are some other pngs in some other apks or if I have to edit some XML files or something. I have already created 2 themes so I know how it works (signing, update.zip etc.)
C0mpu13rFr34k said:
I appreciate that but that is not the problem. The problem is that I have themed it (all pngs that needs theming) but it still stays as the matte Power Control Widget. I ask because someone might know if there are some other pngs in some other apks or if I have to edit some XML files or something. I have already created 2 themes so I know how it works (signing, update.zip etc.)
Click to expand...
Click to collapse
hm, assuming you know that power control widget is in the settings.apk and have edited that, my only other suggestion would be to check the framework because i do not know of any other place where they could be. however, from my experience, i find it always best to edit your apk within your theme (the actual .zip) and then sign that whole .zip if you want to avoid any issues. just my two cents for you. if the xml is stock, there should be no issues as to what is governing the correct .9.png. anyway, good luck .
opasha said:
hm, assuming you know that power control widget is in the settings.apk and have edited that, my only other suggestion would be to check the framework because i do not know of any other place where they could be. however, from my experience, i find it always best to edit your apk within your theme (the actual .zip) and then sign that whole .zip if you want to avoid any issues. just my two cents for you. if the xml is stock, there should be no issues as to what is governing the correct .9.png. anyway, good luck .
Click to expand...
Click to collapse
Thanks man! I did not know that (waow that's stupid BTW) that was exactly what I was looking for Will try it and tell you how it works
@opasha
Now that you've helped me once maybe you would know how to make a transparent .9 png (or maybe you could send me one)? I keep getting an alpha error and I really don't know anything about color profiles
C0mpu13rFr34k said:
@opasha
Now that you've helped me once maybe you would know how to make a transparent .9 png (or maybe you could send me one)? I keep getting an alpha error and I really don't know anything about color profiles
Click to expand...
Click to collapse
how transparent and for what png exactly? details bro....details....=P
opasha said:
how transparent and for what png exactly? details bro....details....=P
Click to expand...
Click to collapse
Hehe it's for the Facebook app I took a themed version for some ROM I can't remember but it wasn't fully themed so I themed the rest myself and of course a lot of the 9 pngs was "broken" from the other themer so I need a totally transparent 9 png for the top thing (appwidget_top_white.9.png). Whenever I do it I just get an alpha error. I've attached the Facebook.apk (the original themed version not the one I themed) if you need more details
Thanks in advance I'll be sure to include you in the release notes hehe
C0mpu13rFr34k said:
Hehe it's for the Facebook app I took a themed version for some ROM I can't remember but it wasn't fully themed so I themed the rest myself and of course a lot of the 9 pngs was "broken" from the other themer so I need a totally transparent 9 png for the top thing (appwidget_top_white.9.png). Whenever I do it I just get an alpha error. I've attached the Facebook.apk (the original themed version not the one I themed) if you need more details
Thanks in advance I'll be sure to include you in the release notes hehe
Click to expand...
Click to collapse
ok sure no problem man. ive attached a fully transparent .9.png with that name. if you want to use it for other pngs, just make copies of the one i attached and rename it to whatever name you choose. good luck . it's there but you can't see it since it's totally transparent. to download it, just right click in the left corner or a little towards the middle of the left corner until you get the option to save image.
opasha said:
ok sure no problem man. ive attached a fully transparent .9.png with that name. if you want to use it for other pngs, just make copies of the one i attached and rename it to whatever name you choose. good luck . it's there but you can't see it since it's totally transparent. to download it, just right click in the left corner or a little towards the middle of the left corner until you get the option to save image.
Click to expand...
Click to collapse
Thanks man! You've been very helpful I'm going to release a new version of my theme now
C0mpu13rFr34k said:
Thanks man! You've been very helpful I'm going to release a new version of my theme now
Click to expand...
Click to collapse
no problem dude

[DEVTOOL] Saint's Color Editor v1.1 (changing colors in Android XML files made easy)

Saint's Color Editor v1.1​
I developed this tool to easily edit android colors in decompiled xml files. I'm sharing it here to help other themers because personally I found changing colors in xml files as the most painful part of theming.​
{
"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"
}
Download ColorEditor.zip (v1.1)
Click to expand...
Click to collapse
Change Log
Version 1.1
* Looks up and loads named colors like @color/black from the same xml file and also interprets standard named colors
* Improved error handling​
Click to expand...
Click to collapse
How to install and use?
Pretty simple..
- Unzip ColorEditor.exe anywhere you like and run..
- You must have Microsoft .NET Framework 4 installed on your pc
- Open any android xml file that contains colors
- Click on colors you want to change and choose alternate color from the color dialog that pops up (the app will automatically identify the hex code)
- When you are done, hit File/Save or Saveas..​... as simple as that
Click to expand...
Click to collapse
Remember to thank me if I made your life easy.. Cheers..​
thankz dude..
i'll try ur tool
but i wanna asking before..
does this tool can editing xml file on apk?
i wanna edit an apk file,extract them using winRar > replacing icons > resign (it work),but if i'm editing xml file there,can i used this method?
This looks interesting. I will try it out tomorrow from main desktop.
Great, must have
very nice thanks ^^
hmm weird
it cant open
zz_tw_secondary_text_sub.xml
it says that it doesn contain hex color codes
but it has hex codes in it -_-
ian_ajah said:
thankz dude..
i'll try ur tool
but i wanna asking before..
does this tool can editing xml file on apk?
i wanna edit an apk file,extract them using winRar > replacing icons > resign (it work),but if i'm editing xml file there,can i used this method?
Click to expand...
Click to collapse
xml's in apk's are compiled in binary form.. You can't directly edit them.. You need to first decode the apk using apktool, edit whatever you want and recompile the apk again..
Sent from my GT-I9100 using XDA App
Color editor is primarily meant to edit colors.xml file because it contains many colors in some apk's.. if you open colors.xml in NotePad you will notice that it contains color tags in a certain xml notation.. Color editor can only open files which contain color tags in such notation.. Other files, although it may contain color hex codes do not follow this notation because there are several other attributes that color editor does not decode at the moment.. Not many colors are also found in the other files.. So it would be simple to create a sample file in colors.xml format with the hex codes you want to edit, change them and then replace those hex codes in the original file.. That's what I do.. Or you can just use Paint.NET color window to input the hex code and change them.. Hope you get it?
spacecaker said:
hmm weird
it cant open
zz_tw_secondary_text_sub.xml
it says that it doesn contain hex color codes
but it has hex codes in it -_-
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
can you give an link to paint.NET ?
or is it just preinstalled paint ?
ok will try to look good in it and mess a bit around
Sent from my GT-S5830 using xda premium
spacecaker said:
can you give an link to paint.NET ?
or is it just preinstalled paint ?
ok will try to look good in it and mess a bit around
Search google for paint.net
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
PsychicSaint said:
xml's in apk's are compiled in binary form.. You can't directly edit them.. You need to first decode the apk using apktool, edit whatever you want and recompile the apk again..
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
yeah i've decompiled an xml file..but when it opened by ur tool,it say " no colour..bla..bla.."
why?
Thanks a lot for this tool; it's great. One request: could you implement the ability for us to use our own hex codes instead of just using a color picker?
Thanks again!
version problem
dear PsychicSaint
great job
when I try to download the 1.1 version I allways get the 1.0 version.. Is it possible to get the 1.1 version ?
thanks in advance
jergud said:
dear PsychicSaint
great job
when I try to download the 1.1 version I allways get the 1.0 version.. Is it possible to get the 1.1 version ?
thanks in advance
Click to expand...
Click to collapse
No worries, the download is actually 1.1... Just that I have forgotten to update the version in About window..
Thank you for this!
I have yet to "use" it, but I did play around a bit.
Thank you.
Thanks
Just found by accident cool Idea works great.
Thanks
Cool
Howdy. Trying to edit my colors.xml file. I go to open the file and about 30 "Sorry Something Went Wrong" error boxes pop up. I click OK on all of them and then some of the color strings load, but not all of them. I hoping you can tell me what I'm doing wrong. I zipped the file so you can see if it's just me. I know it's this color.xml file because I tested on another color.xml file (the one from touchwiz) and it opened and edited fine.

[TUTO] Create your 9.png !

I will guide you into the famous 9.png creation
First rule before to start how to learn to theme your device :
Always make a backup of the files you are about to edit or do a nandroid backup.
If anything goes wrong you will get a bootloop.
{
"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"
}
☺ TOOLS you must have ☺
1. PHOTOSHOP / GIMP http://www.gimp.org/downloads
or a good alternative for those who are rookies in Adobe products : PAINT.NET http://www.paint.net
or any other Graphics editor you like to use of your choice.
2. DRAW 9-PATCH http://developer.android.com/sdk/index.html
You will find it in your SDK starter package ( android sdk/tools )
The Draw 9-patch tool allows you to easily create a NinePatch graphic using a WYSIWYG editor.
3. xUltimate-d9pc.exe http://lmgtfy.com/?q=xUltimate-d9pc
Basically you will need to compile the edited 9.png to Draw9Patch Compiler
*****
Now let's play with your pics in the graphic editor of your choice :
your 9.png's files would be in <drawable/drawable-hdpi> folder' apk
When you are done editing your image,
you can open it in the draw9patch tool to verify that it stretches properly.
Here is the most important part of the 9.png creation.
You need to define 2 parts :
* Stretch part ( always left and up side )
* Content part ( always right and bottom side )
When you are done stretching your image,
you can open it in the 9.png compiler tool to compile it properly.
you notice the 1pixel border created for the stretcheable 9.png
Place your files in example1/drawable-hdpi
Execute the xUltimate-d9pc.exe
If you defined properly your 9.png,
you must find no errors and you can hear a "peeep"
Compiled ready files are in /Done folder
When you are done compiling your image,
you can see that the 1pixel border disappeared.
Use 7-ZIP http://www.7-zip.org
(an open source file archiver with a high compression ratio)
to drag your files into the apk !
Source : androidbyyorzua
Congatulations, you can enjoy your work ​
thanks to "PoorCollegeguy" who featured my thread the XDA Portal )))
and tweeted as well :
spc_hicks09 said:
Thank you soooo much for posting this!
Click to expand...
Click to collapse
A single click on the thank button would make me happy if i helped you
Great tutorial. Thanks for writing it.
But do you happen to know how to do it the other way round?
If you have a single compiled .9.png file, is it possible to decompile it again?
I know apktools do decompile it when decompiling complete apks, but I couldn't figure out how to do it to a single png file.
EddieFAF said:
Great tutorial. Thanks for writing it.
But do you happen to know how to do it the other way round?
If you have a single compiled .9.png file, is it possible to decompile it again?
I know apktools do decompile it when decompiling complete apks, but I couldn't figure out how to do it to a single png file.
Click to expand...
Click to collapse
Thanks for your comments,
Maybe this is what you are looking for :
[UTILITY][TOOL] 9patchPngSuite [Windows&Linux]
Personally never tried/needed it yet
Great tutorial. Nice job making the front page on xda too. I assisted with making a new draw9patch a couple months ago and would highly recommend checking out my thread here on xda. It will literally save you hours of time from using the original draw9patch.
http://forum.xda-developers.com/showthread.php?t=1344909
Guy's please keep the thread clean and on topic and please do not post a thank you post just hit the thanks button in the OP's first post
Thanks
I have a problem with the display of icons .png in Photoshop.
The original icon:
When I paste into Photoshop:
There are many icons that appear in Photoshop in this way. Can anyone help? My version of Photoshop CS5
przemo5020 said:
I have a problem with the display of icons .png in Photoshop.
The original icon:
When I paste into Photoshop:
There are many icons that appear in Photoshop in this way. Can anyone help? My version of Photoshop CS5
Click to expand...
Click to collapse
A little off topic, buddy, as it is not really a 9.png you are trying to work on but doubke check if the png is indexed. You will find many of the pngs indexed and some not.
Answering from my phone, will help you better tomorrow
Freaking awesome dude will try this out. Since I was looking to add some of my costume 9.pngs.
Thank you, as this is a good guide. Took me awhile until it finally clicked. I know you emphasized but I do not think enough, the stretch and content lines are vital. I did not quite get WHAT that meant till messing over and over.
Any one trying fot the first time, definitely play with the examples he provided and you will be all good.
There is an app for Android called "9 Patch Editor" that can load .9.png (compiled or with border) and edit them or remove patches altogether. I hope that helps.
Hi,experts,I'm new to this theming and png editing stuff
Can I create 9.png if I just follow your guide Yorzua? If yes,
I'll give it a try soon!
Orelse, if this is a higher level thing,could you guide me into something basic .so that I learn some things and then jump over here!
Sorry for the questions....! Hope you don't mind!
Sent from my MT11i using xda premium
Do .9.pngs need to be source to resize with the 9patch tool or can they be resized when compiled.
thank you so much for this i was going crazy !
seand88 said:
thank you so much for this i was going crazy !
Click to expand...
Click to collapse
You are welcome,
glad it could help someone
Hi Yorzua,
If you see the sending text message animation on ios or any iphone it is
is awsome and smooth sliding effect and message goes upped side with
sliding... I want to do same animation on my android phone... but the
problem is when i decompile WhatsApp apk i can not found folder of
animation. Can you plz tell me or show me how can I do that???
Plz do needfull.
please help me, I want only this 9.patch colors change to white , can someone do and share to me ? thanks..
http://www106.zippyshare.com/v/FmVNQcCP/file.html

[GUIDE]Theming your phone by editing PNG'S(framework-res.apk)

So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-ldpi (in my case, as our phone is ldpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-ldpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Ninjamorph extracts apks . Is there any app which can decompile
Sent from my GT-S5570 using xda premium
arpitkh96 said:
Ninjamorph extracts apks . Is there any app which can decompile
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
i don't think so...
arpitkh96 said:
Ninjamorph extracts apks . Is there any app which can decompile
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
No, there is no app on mobile that can do it
As you need Java environment and some applets for back smali and smali extraction
Good guide :thumbup:
Sent from my GT-S5570 using xda app-developers app
very good guide, will surely test........ thanks
to bad thats on jena thats dont work so soon and easy
luki2411 said:
to bad thats on jena thats dont work so soon and easy
Click to expand...
Click to collapse
Please use English
BUMP
how can i make my drawer background and status toolbar transparent i turned back my galaxy mini to 2.3.6 i cant figure out how i tried to examine framework-res.apk ,systemui.apk and touchwiz30launcher.apk but nothing happens, please help me...

[HELP] Change some colors

I want to change Settings.apk Background color like this (i just want to make a dark theme):
{
"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 saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.
hadagalberto said:
I want to change Settings.apk Background color like this (i just want to make a dark theme):
I saw many tutorials here, but nothing found about my files.
If anyone can help me here are the files framework-res, Settings and SystemUI: https://mega.nz/#!C94CyJLK!soKx4RArbZ0mm8Kw_Y7_a9l37gbwJe2fsOGHUtWQ_x4
You just need to tell me what file to edit, i want to edit it myself to learn.
Thanks anyone who help me.
Click to expand...
Click to collapse
Which version of android ??
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
I'll try this, thanks
n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?
hadagalberto said:
I dind't findo all the strings, i edited some of them but the app isn't showing at launcher anymore. Can you edit for me?
Click to expand...
Click to collapse
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
n78 shadow said:
Edit:
If 5.0+
Then here you go just replace those lines in colors.XML and styles.XML in settings
Thanks to @nicholaschum
Click to expand...
Click to collapse
n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
Thanks! I'll try later.
n78 shadow said:
I hope I can but I don't have PC I made themes by apktool on android and I don't think I can decompile it or even recompile it and also I have exams these days I can't do anything ,Sorry:crying:
But if you opened the XML(s) I sent you make sure you edit the same color name and also try to edit the framework-res with those values .( in the attachment)
After editing the settings and the framework push them to the system at the same time then reboot .
Good luck
Edit : yeah I almost forget
If you didn't find all the strings add the one you didn't find that may works if you edited the framework also.
Click to expand...
Click to collapse
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?
hadagalberto said:
So, i've edited all the files but something went wrong wit background:
And WhatsApp is forcing closing.
Any solution?
Click to expand...
Click to collapse
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)
n78 shadow said:
Mmm .
OK first of all make sure you added this line in colors.XML of settings ( if it doesn't exist just add it)
<color name="dashboard_category_background_color">#ff000000</color>
If that didn't work try to edit this
res/layouts/dashboard_category.xml
And also for the whatsapp add this zip to the framework-res
This zip contains drawable and colors and you know where to push them ( pay attention I added two XML drawables look in the deawables folders for the same name and delete them before you push those or you will face crashes)
Click to expand...
Click to collapse
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.
hadagalberto said:
Ok, my Settings.apk is working fine. But WhatsApp is still forcing closing.
I replaced the files at framework-res.
Click to expand...
Click to collapse
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .
n78 shadow said:
This's strange this should work.
Sorry I don't know what could I do else try to make a log and read why it crashes .
Sorry I told you every thing I know perhaps someone will continue instead of me .
Click to expand...
Click to collapse
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?
hadagalberto said:
So, is it possible to change that invisible text without modding the framework-res?
What string i need to change?
Click to expand...
Click to collapse
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??
n78 shadow said:
No you need to mod the framework-res .
And especially the styles.XML.
But did you made the edits I sent you in the zip they should fix those problems.??
Click to expand...
Click to collapse
I replaced that files in framework-res, but WhatsApp still FC
hadagalberto said:
I replaced that files in framework-res, but WhatsApp still FC
Click to expand...
Click to collapse
Would you please provide a log?
n78 shadow said:
Would you please provide a log?
Click to expand...
Click to collapse
How can i get this?
hadagalberto said:
How can i get this?
Click to expand...
Click to collapse
Google for
Catlog
n78 shadow said:
Google for
Catlog
Click to expand...
Click to collapse
The log is in the attachment.
hadagalberto said:
The log is in the attachment.
Click to expand...
Click to collapse
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck
n78 shadow said:
WTF (What The Fantastic Log please provided one with just the WhatsApp errors maybe screenshot the red lines
Edit : I searched the lines nothing is related to WhatsApp So what you can do ??
I'll tell you open the catlog and then open the WhatsApp after it carshs go back and pause the logs and take screenshot to the read lines.
Good luck
Click to expand...
Click to collapse
Here is it:

Categories

Resources