Sg3fre 0.0.9.1 battery icon changes back to stock street few hrs
I would bet the your device is looking to xhdpi folder for 1% images and when they are not there, it goes to the hdpi folder. However, at certain percentages.. those stock images just so happen to be there in the xhdpi folder.
Related
So I have been trying to get a BIOS boot animation together for the Evo based off of frysee's animations.
I have everything made but my phone keeps skipping the animation and going strait to the home screen.
*I have attached a copy of my zip*
I used RickBaller's Jurassic park style animation as a basis for folder structure and desc.txt file, which is really frustrating me because if i use "pushboot" with his it will show up but if i use it with mine it wont.
Used photoshop to edit images
All images saved as .png files with no interlacing
All sizes are 480x800
.zip made with store compression
Is there a maximum size that an image can be?
Looking for some advice as to where I have messed things up.
The frame numbers have to be five characters long, e.g. 00001 instead of 001. Also make sure you don't edit the desc.txt file with notepad since that will screw things up.
So I have been trying to get a BIOS boot animation together for the Evo based off of frysee's animations.
I have everything made but my phone keeps skipping the animation and going strait to the home screen.
*I have attached a copy of my zip*
I used RickBaller's Jurassic park style animation as a basis for folder structure and desc.txt file, which is really frustrating me because if i use "pushboot" with his it will show up but if i use it with mine it wont.
Used photoshop to edit images
All images saved as .png files with no interlacing
All sizes are 480x800
.zip made with store compression
Is there a maximum size that an image can be?
Looking for some advice as to where I have messed things up.
Is this possible to replace the battery and other task bar icons? I found the png files inside the framework-res.apk file and tried to replace them but the phone will not boot now... Any ideas if this is possible?
Alot of factors come into play when you do this . One is the framework designed to accept all the different png files you are adding to the rom . Basically if a rom is designed to display 100-0% as opposed to the stock Evo rom that only reads at 20% incriments . Also is the rom you are attempting to modify odex or deodex ? The best way I found of changing icons on roms I like is find a zip file where someone has already modified the icons . Use something like Winrar to explore the zip file and change the needed icons to what you want . Then flash the zip , there might be easier ways of doing this but that is the only way I know of personally . Just becareful with what you poke around inside framework . It will cause issues with the phone when its trying to display information and doesnt know how to display the correct images .
I am not sure if it was odex or deodex. I was basically trying to pull the PNG files from Mik's Gingersense RC1 and put them in the Virus Gingersense B3. I can't stand the sprint lovers icons
Stuke00 said:
Is this possible to replace the battery and other task bar icons? I found the png files inside the framework-res.apk file and tried to replace them but the phone will not boot now... Any ideas if this is possible?
Click to expand...
Click to collapse
When replacing icons you must extract files and zip them back uzing 7z not winrar or winzip. Then just rename .zip to apk (don't skip file that needs to be repacked inside of another file and make sure you apk dosnt get double folders (like... framework-res\framework-res\framework-res.apk instead only framework-res.apk))
The lazy man’s guide to theming.
I get requests all the time to make simple changes to my themes that anyone with a computer can do. So I put together this quick guide on how to theme the easy way. This is how I do most of my themes minus any xml edits or battery mods. This guide is for changing images only without having to decompile and recompile the entire apk file with apktool or apk manager. Great for when you just want to make a few changes to your existing setup.
What you will need.
~ 7zip use Google search it’s easy to find
~ image editor Gimp is great and free you can Google it also. I use Fireworks and Photoshop depending on what I am trying to do.
~ Draw9Suite. Created by tommytomatoe/kakomalo Thread found here http://forum.xda-developers.com/showthread.php?t=1272513
Download here: http://www.4shared.com/zip/TaDGMjde/9patchPngSuite.html
Unzip and place contents in folder, I have mine on my desktop.
~ An existing rom or theme to modify.
With just these tools you can do a lot.
Once you have 7zip and 9patchPngSuite on your system you will need to download the rom, or already existing theme for the rom you are on so you can make the changes you want to it.
Download the rom/theme you want to make changes to and use 7zip to unpack the rom/theme you downloaded, do this by right clicking on the zip file and chose open with 7zip. Inside you will find lots of folders, the ones you are looking for will be in system/app (for apps) or system/framework (for framework files). Extract the apk’s by just dragging them out of the 7zip window, to a folder on your desktop.
Inside the folder you extracted the apk’s to create a folder for each apk’s you extracted. Now you will want to extract the folder drawable-hdpi from the res folder of each apk to its associated folder, do this with 7zip also the same way you extracted the apk file. Once the drawable-hdpi folders are extracted you will see the images inside that you can modify.
At this point I create another folder inside each of the specific apk folders and name it .9 images and I copy and paste all the .9 images I want to change into that folder (these are for reference). I then copy all of those images into the compiled folder of 9patchPngSuite. And chose option 1 to decompile them. Now look in the decompiled folder and you can now take those images and change anything inside the black lines and dots you will see on the outside edge. If you feel like it you can also create your own .9 file with your own image by choosing option 2, this will open up draw9patch. Maser&Slave made a great tutorial on this so I won’t go into it. Edit your images, but be careful if the image displays words on it (like with popup_center_dark.9 )and it has a dark background it should remain dark so the word will still be readable, and vice versa if the image has a light background it most likely will have a dark font displayed on it that will be difficult to read if you make the image a dark color. Once all your images are edited use option 3 to recompile them, now in the output folder you will find your recompiled images that you can put back into your drawable-hdpi folder. Edit any other images you want just be careful with the pixel size if an image is 70X70 and you make it 140X140 it could cause some problems, some you can change others you can’t, it’s a lot of trial and error. Once all edits are finished put them all back in the drawable-hdpi folder you extracted from the apk, use 7zip to open the apk again, navigate to the res folder and delete the existing drawable-hdpi folder and drop the one you made the changes to into it, use the back arrow in the 7zip window and it will zip it back up and you can push the apk or flash it to test if your images came out the way you wanted them to. This will work with any image you chose to edit. You can also use this method add images from other themes you like to modify your theme to the way you want it. Just copy and paste the images you want to change into the drawabel-hdpi folder of the theme you are creating.
Brief list of what each apk controls, I am still new to ICS so if anyone knows more info please post.
Framework-res.apk
This will contain most of the images you will want to make changes to. Including check boxes, popup windows, menus, tabs, general status bar images, some lockscreen clocks, and a lot more. You will recognize them as you scroll through them. Some are hard to recognize like activity_tite_bar.9 and dark_header.9 because they are small, it will take some practice and trial and error to get the look you want.
Twframework-res.apk
This contains very little in ICS it still controls the tab backgrounds for a lot of apps but that is all I have found so far.
Systemui.apk
This apk contains most of the files for your dropdown and status bar, like signal bars, 3g 4g icons, wifi strength icons ,dropdown background and more. in ICS it also contains the battery images.
Ik95-res.apk and lidroid-res.apk
These apks contain the toggle images and background In the dropdown i.e. wifi toggle, airplane mode toggle etc. for the 14 ad 15 toggle mods.
Here is a standard flashable zip file you can put your modified apk files in and flash with CWM, open with 7zip and put your apk file in the corresponding folder in the flashable zip if you pulled it from framework put it back in the system/framework folder, if you pulled it from app put it in system/app folder in the flashable zip. Then flash like any other theme.
Flashable zip : http://www.4shared.com/zip/cmn3J1yd/My_flash.html
included below is a word doc of this tutorial.
future additions ....
Thanks for the guide, chief!
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.