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...
Related
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...
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.
Time to update this
Older data on howto change manually is in the spoiler below
Hi all, this is a copy of my thread for galaxy s2
This guide is split into two parts as of now , part 1 is for changing the settings menu background and part 2 is for changing the backgground for dialer and contacts.
Part -1
may be this method is known to few but im posting this to people who dont know how to change the background image of the settings menu and other few.
Sample screenshots
{
"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"
}
Like it?
here is the method to do this.
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
How it works:
We are modifying/replacing an image called "background_holo_dark.png" in the "framework-res.apk" which is responsible for displaying background images in menu.
Step 1:
Use the following adb command below to pull the "framework-res.apk" from your mobile to pc.
Code:
adb pull system/framework/framework-res.apk
Step 2:
Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push the file back to mobile, type the following command in the same command prompt
Code:
adb remount
now type the following
Code:
adb push framework-res.apk system/framework
Step 4:
Now reboot your mobile, you will have the new background image enabled
Part-2
Wanna change the background of the dialer and contacts?? well read below,
Step 1:
Use the adb command (or u can use root explorer) to pull the "Contacts.apk" from your mobile to pc.
Step 2:
Open the Contacts.apk via 7zip and navigate to the following directory
"Contacts.apk\res\drawable-nodpi\", you will see a file called "background_dial_holo_dark.png". Delete the image and dont close the 7zip.
Drag the image (similar to the one created in part 1 of the guide) file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push/copy back the file back to mobile. Copy back the file to the same directory from where it is copied.
Step 4:
Now reboot your mobile, you will have the new background image enabled
Your dialer and contacts shortcut may be missing from your launcher, just drag it back to the homescreen from the app drawer.
Step:5
This step is optional!!! If you do not get those shortcuts, enter cwm and wipe cache and dalvik cache.
Sample screenshots.
Note:
For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.
Sample images are taken with 160 dpi, this mod will work with all dpi.
Instructions:
1. Download the zip from the download section below and open it in 7zip.
2. Navigate to the following directory "\mode\system\framework\framework-res.apk\res\drawable-nodpi\".(Sample images on post 2)
3. Change the images "background_holo_dark.png" and "background_holo_dark.png" as per your wish.
4. Flash it
Sample screenshots from aosp rom:
Downloads:
bg mod
credit:
vertimus (thanks to him , he helped finding the right image to replace)
you can find some ready to use backgrounds in this post ... will be updating this post when i find something beautiful for a background
Thanks man, you make my setting look cool
Thanks mate, you're a real champ.
Thread updated with "how to change background for contacts and phone dialer"
Hi sir, what is the image you used to replace?
Sent from my GT-S5830 using XDA
ax3911 said:
Hi sir, what is the image you used to replace?
Sent from my GT-S5830 using XDA
Click to expand...
Click to collapse
You will be replacing the stock background image with the new one you like, there are some sample backgrounds in second post
#*posted on the move *#
If i were you, i will go for the harder way... Which is:
Compile those apk...
Sent from my Nexus S using Tapatalk 2
DaXmax said:
If i were you, i will go for the harder way... Which is:
Compile those apk...
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
though i can compile/decompile Harder way dosent suits everyone
This sounds like an Awesome guide but I do have one question, will this work on CM7 as cm9 is not out yet for my T-989 SG2? I have looked for the background_holo_dark.png and I'm not seeing it in the frameworks. I've used 7zip and then decompiled but haven't found it. If not, would you happen to have any other guides for cm7 that may do the same thing?..
Thanks,
Derek
bala_gamer said:
though i can compile/decompile Harder way dosent suits everyone
Click to expand...
Click to collapse
Then, make a morph. Or a Universal Flasher. That will make everyone at ease...
Sent from my Nexus S using Tapatalk 2 Beta-5
DaXmax said:
Then, make a morph. Or a Universal Flasher. That will make everyone at ease...
Sent from my Nexus S using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
ya sure, will do it soon
Thanks for the "how to" !
Do you think it is possible to set a transparent image ?
I mean 50% transparent, just to keep a correct visibility.
Thanks man
It was just the thing I was looking for :thumbup:
Sent from my HTC Glacier using xda premium
NICE ! now i can edit my crappy background, hmm. Do you mind uploading the png. file on sample pictures that you shown us?
RomelStyle said:
NICE ! now i can edit my crappy background, hmm. Do you mind uploading the png. file on sample pictures that you shown us?
Click to expand...
Click to collapse
Those pictures are already there on second post
#*posted on the move *#
thx for the tutorial ..i have tried it but only change apex setting background, system setting background still the same with before, am i mistake some way?
jojoku said:
thx for the tutorial ..i have tried it but only change apex setting background, system setting background still the same with before, am i mistake some way?
Click to expand...
Click to collapse
yes you are doing some mistake in the process. try wiping cache if you are sure you have followed all the steps correctly
bala_gamer said:
yes you are doing some mistake in the process. try wiping cache if you are sure you have followed all the steps correctly
Click to expand...
Click to collapse
thx..try again
wow sir good tutorials but after replacing framework-res.apk using root explorer my phone is boot looping
Disclaimer
Code:
You are using this tutorial by yourself and i'm in no way responsible if your mobile is damaged due to it. I will help you in best way possible to get you out of the worse situation but I can't guarantee anybody. ThankYou!
How to build apps icon pack:
Things you require:
-Base VRTheme-Here!(Don't worry there are no trojans)
-You will find a lot of icons on XDA.
-Required apps from the ROM which you want to modify.
-Notepad++ for changing updater-script.
-Any good photo editing tool.(Even the one that comes with MS-Office will do)
-A brain to avoid mistakes and bother me with stupid questions.
-Kindness to press the THANKS button below.
Click to expand...
Click to collapse
Steps:
1. Download all the things required.
2. Open your ROM and copy all the apps and move them to a seperate folder. Here we will take only 3 apps-Browser, Messaging and Calculator.
{
"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"
}
3. Now extract these apps using 7zip or winrar.
4. Now open the app folder, go to res and find the location where the icon of the app is present. These are generally present in mipmap-hdpi/mdpi/xhdpi/ldpi/xxhdpi or drawable-hdpi/mdpi/xhdpi/ldpi/xxhdpi . For e.g. in my case Browser app it's present in mipmap-hdpi named as ic_launcher_browser.png:
5. Now extract the VRTheme base folder and go to vrtheme->system->app and make a new folder their with named as appname.apk(Here appname refers to the name of the app). For e.g. Browser.apk in my case.
6. Now make res folder in it. And under res folder make another folder which contains app icon. For e.g res->mipmap-hdpi in my case:
7. Now place your modified icon in it and rename it to the original icon name. For e.g. ic_launcher_browser.png in my case. And resize it according to your DPI.
Try resizing by percentage if possible.
Also I don't recommend resizing from a lower DPI to a Higher DPI or the icons may seem blur.
8. Do the same for other apps. In my case calculator and messaging.
9. Now give this icon pack your name. Go to META-INF->com->google->android and open updater-script with notepad++ and in second line replace alokbina with your name. You can practically change almost everything under ui_print in updater-script but remember that it should be in the format ui_print("ABCD"); . Here replace ABCD with whatever you like.
10. Now you will be having 4 folders- data, META-INF, system, vrtheme and an image named as preview. Zip all these and rename it to whatever you like and flash it with CWM and you're done! Enjoy your own icon pack Feel free to THANK me :laugh:
Click to expand...
Click to collapse
Important Tip:-Note the size of the original icon and modify the new icon accordingly or else you may not get any icon or smaller icon. For e.g. sometimes the icon present in the app is of size 96X96 though it is hdpi app. But still change the other icon size also to 96X96 to get best result.
Click to expand...
Click to collapse
Credits:
Abhinav2
Sandy7
Add your name if I missed...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved for systemui and framework etc...vrtheming
Press THANKS if I helped,
Best Regards,
AJ
alokbina is now Abhinav2
Just a doubt, when I downloaded the zip, I didnt any signing (signature whatever) files, so shouldn't the zip be signed before flashing??
Simple to the point and yet thorough. Thank you for this. I'm shocked this thread doesn't have more action!:thumbup:
Sent from a Shaftamle Galaxy S4
"Thanks Button" is always appreciated!
http://mycolorscreen.com/Shaftamle/
Cool Thanks for this. Just what i have been looking for
Now i will create the best Icon pack known to man :victory:
how about 9.png ?? is it okay to use vrtheme?
Diaz1999 said:
how about 9.png ?? is it okay to use vrtheme?
Click to expand...
Click to collapse
Pretty much anything in the apk can be flashed into it using a vrtheme script.
Any png/.9.png, fonts, resources.arcs, classes.dex whatever.
The main thing is the name and folder location must match exactly!
There is even some edits to the scripts to automatically create a "restore" zip of the apps before they get modified so if something doesn't look right or you get force close issues you can simply flash the restore.zip in recovery and get back to normal quickly.
Thanks to @Spannaa for the awesome idea and base script! I've been using it for years.
Good luck friend and happy flashing!
stangdriver44 said:
Pretty much anything in the apk can be flashed into it using a vrtheme script.
Any png/.9.png, fonts, resources.arcs, classes.dex whatever.
The main thing is the name and folder location must match exactly!
There is even some edits to the scripts to automatically create a "restore" zip of the apps before they get modified so if something doesn't look right or you get force close issues you can simply flash the restore.zip in recovery and get back to normal quickly.
Thanks to @Spannaa for the awesome idea and base script! I've been using it for years.
Good luck friend and happy flashing!
Click to expand...
Click to collapse
ikr I mean how about 9.png? is it using its black border or not? because usually if we extracted 9.png from an APK it'll be without borders, while in compile-decompile process it has to be bordered
Verstuurd vanaf mijn HTCONE met Tapatalk
Diaz1999 said:
ikr I mean how about 9.png? is it using its black border or not? because usually if we extracted 9.png from an APK it'll be without borders, while in compile-decompile process it has to be bordered
Verstuurd vanaf mijn HTCONE met Tapatalk
Click to expand...
Click to collapse
I'm know all about patch 9 pngs and vrtheme requires ANY file, rather it be 9.pngs, xml, classes.dex etc to be compiled.
Again, any file you want to push to an apk in recovery using a vrtheme script MUST BE COMPILED!
Pushing a regular png renamed to 9.png can have serious negative results causing the corrupt image to block a button, create force close issues when that image is being call for or even cause a boot loop. Just saying be careful. That's why I use a version that creates a restore.zip that i can flash in case something does happen.
It's a great tool and has many great uses. Just like any time you mod and apk, make sure you understand unexpected things can happen ad be prepared for them if they do.
Good luck and hope this gives you a little info you can use.
OP is WIP
This thread is inspired by the Candy Shop threads in the Galaxy Nexus, Nexus 4, and Nexus 7 sections. Big thanks to Matthew for helping me learn to build these mods. After I got the concept down, I figured out I could build Zipthemer mods directly from my phone. I thought I would share how to do that with the rest of the community. This is not a tutorial on how to use Zipthemer, but I will link to one once I get this organized. I'm using a lot of images so I hope this is pretty clear. Now, without further delay...
First thing you will need is a file explorer with root access and read/write permissions. In this guide I will be using ES File Explorer, but any should work. Using the file explorer, you will navigate to /system and find the system apps you want modify. Most of these will be found in either system/app, or system/framework.
You will want to copy (not cut) the apps and paste them somewhere on the sd storage. You will then want to extract them so you can see what is inside them. Once extracted there will be a folder of the same name as that app.
When you open that folder you will want to navigate to the res folder. Inside this folder you will see several drawable folders. Different devices, and sometimes different roms place the image you want to edit in different folders. Also, some images have a normal and inverted folder. The inverted folder is for the dark themes included in the rom, like dark carbon, dark stalk, the real dark slim, ect. It may take some searching to find the image you want to change. To start with, you can use any of the zips posted in the Candy Shop threads to start with. Then all you will need to do is change your image, or possibly add a different folder (or rename the one that's there). I will be using an existing mod I made (Phone Mod in the pics) and changing the image in this tutorial. The mod changes the picture on the call screen for contacts with no picture assigned. I did the entire mod from my phone, including editing the pic (though some images may require more precise editing that needs to be done on a pc). I used a wall paper from Zedge, changed the size using Picsart, then ES File Explorer to finish the mod.
{
"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 didn't remember to screenshot the name change of the phone mod folder that i started with, but I renamed phone mod to droideye unknown before doing the compress step. Hope that isn't to confusing.
Now you see that you can make mods for you phone directly from your phone. Cool, right?! I will try to clean this up more soon. I'm impatient and trying to get the images and text in a manner that doesn't look thrown together takes a little time. But I will work on it.
+1
Sent from my HTCONE using xda app-developers app
Coming soon-Mods
Coming soon-FAQ
I approve this! I used CandyShop folders as a guide .
Very solid!
Sent from my Galaxy Nexus using Tapatalk 2
Gonna give some a try. Thanks.
Sent from my Nexus 7 using Tapatalk 4
The xml file should be the same for all devices(the content in it)?
Sent from my MB526 using xda premium
antarix said:
The xml file should be the same for all devices(the content in it)?
Sent from my MB526 using xda premium
Click to expand...
Click to collapse
I believe so. You can edit it if needed to direct images to another app. But I have used the same mod on different devices without issue.
Sent from my Galaxy Nexus using xda app-developers app
NeverSeparate said:
I believe so. You can edit it if needed to direct images to another app. But I have used the same mod on different devices without issue.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Will give it a try today.
Sent from my MB526 using xda premium
This post will be moved to the OP once it is completed. I didn't want to remove the images until I had redone the instructions.
First things first, thanks @matthew0776 for getting me started. He helped me learn to make these mods, and allowed me to use his zips as templates. Check out his work in the Candy Shop threads for the Galaxy Nexus, Nexus 7, Nexus 4, and HTC ONE. His work is top notch, and you will find others offering their own as well. With the guide I've provided, you can take any of the mods you find there, unzip, replace the images with your own, and rezip. Be sure to send him some thanks (click the button, don't just type it please).
Now on to business. A few things you will need, a file explorer with root access including read/write ability (I use ES File Explorer), and an image editor. The read/write is so you can copy system apps if you want to search for your own images to try and mod. You can copy system apps and paste them elsewhere, then extract them to see the image folders. For more detailed image editing you will need to use a pc, but for basic things Picsart or similar will suffice. I also use online-image-editor.com to do basic transparency work and image overlays. You can do this from your mobile browser. But understand, this is not a tutorial on how to edit images, so you are on your own for that. I'm not that great at it myself. Also, if you are unfamiliar with zipthemer, @ZubaZ made a great video on that here.
A little something I'm working on. Just chose the image to play with but wanted to test the mod. It only works in dark mode right now, I haven't tracked down the png for normal mode yet (if it is a png).
http://d-h.st/IOz
From my Harmonious GNex