[Q] change battery icon - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

devs can you please give me a full guide how to change battery icon in a framework-res.apk i have xml files and icons i just need guide to insert icons into framework-res.apk
Sent from my GT-S5360 using Tapatalk 2

If you want there is this ready made customized mod for the battery icon for our SGYs:http://forum.xda-developers.com/showthread.php?t=2058869&highlight=battery
Its nice and I personally use it
<--- Press the Thanks button if I helped!

•open framework-res.apk using winrar or 7zip.
•go to res/drawable-ldpi
•before you drag the icons you want, double check the names of the png. make sure they are the same with the one you want to replace.
•if everything is ok drag them to drawable-ldpi
•push the framework-res.apk back to your system/app then reboot

Zius said:
•open framework-res.apk using winrar or 7zip.
•go to res/drawable-ldpi
•before you drag the icons you want, double check the names of the png. make sure they are the same with the one you want to replace.
•if everything is ok drag them to drawable-ldpi
•push the framework-res.apk back to your system/app then reboot
Click to expand...
Click to collapse
tq bro.. ur method work like charm! such a simple way! im already try and successfully change my statbar image using ur method..
guaranteed work!
thank button pressed..
sent from my GT-S5360 via WeChat

Edit your post head with [solved]
Sent from my GT-S6102 using xda app-developers app

Related

xml status bar editing

I want to edit the 3g icon and other icons that appear in the status bar on my rooted incredible, can anyone point me in the right direction? ive searched google to no avail, does anyone know of any websites or tutorials i can use to learn about UI editing for android?
thanks in advance
If you're just replacing png image files you can just use 7zip to do that.
Sent from my ADR6300 using xda premium
Some of the icons are in the famework.apk and others are in the SystemUI.apk all the icons will be in the drawable-hdpi folder in both apk's. Just use winrar or 7zip to extract the apks and edit whatever icons you want to edit.

Battery mod links

Ok, So after copying 200 or so png's in the Drawable_xlarge_mdpi and the drawable_mdpi folder, I get my image mods after flashing.
But, they still only show the stock number of images, 9 or 10. Charging works ok.
So somewhere, there are some xml files I need to edit to reflect the filename additions?
Or am I missing something else?
A501 HC 3.2
Thanks guys and girls!
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
DRTMI said:
Battery_Charge.xml & Battery_Discharge.xml should be what your looking for.
Sent from my DROIDX using Xparent Red Tapatalk
Click to expand...
Click to collapse
Thanks. I kind of figgured those were the xml files I was looking for. Problem is, I'm playing hell with de-compiling my framework-res to be able to edit the xml files.
Can't make much progress with the apktools available, even when including the dependancy apk's. So clearly I am a noob with decompiling framework-res
So my next question, is there any difference between a com gen 1 stat_battery_charge.xml; for the a500 and 501? If not, is it feasible to switch the modified xml to replace the current stock one?
here is how i mod those files as well as the icons and so on
i copy the system ui.apk to a folder on my desktop
i open it with winrar.. DO NOT EXTRACT IT.. pull out the folder containing the png files or xms you want to edit.. Just drag and drop them to another folder..
edit them to your hearts desire.
open the system.ui apk again in win rar.. drag the edited folder back into the system.ui.. push it to your tablet.. to say download folder..
then copy it to the original place it will ask you to replace say yes.. your tablet will CRASH .. REBOOT then if you edited the files corectly it will boot and show your changes.
i dont know if this is the correct way easiest way .. but IT DID WORK FOR ME.. USE AT YOUR OWN DESCRESSION..
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
NunHugger said:
I could send you the apktool I am using. Its the only one I have found that works worth honeycomb.
Sent from a phone.
Click to expand...
Click to collapse
Would be much appreciated Just send a link, and thanks!
erica_renee said:
USE AT YOUR OWN DESCRESSION..
Click to expand...
Click to collapse
Thanks Erica! That's what I've been doing Actually, wanted to do some editing to the xml files itself. It's easy for png's, at they don't get compiled.
Anytime we take the first step, and install iconiaroot, we do so at our own discretion
Here's an updated apk_manager if you prefer that method.
I normally use a CWM zip since I have to reboot anyway. You can usually start with any theme zip and just make sure their updater-script copies /system to /system and just look through the zip to see what it copies, and if it looks normal, you can make the directory structure the same but copy your own over the old ones (and delete any orginal files that you won't be overwriting). i.e. it should look like:
system/app/SystemUI.apk
system/framework/framework-res.apk
system/fonts/blah.ttf
Just drag your files into the zip in the same place and use it.
And then as a precautionary measure, just do this once or any time you mess with more files (for inexperienced modders): Make a 2nd copy of that zip and call it blah-revert.zip then copy the orginal files over those modified files. Once you have both zips on the device, if anything goes wrong you can flash the revert to get back quick.

[Tutorial] Unpack and repack apk's using APKmanager for theming

IMPORTANT - APK extraction is needed only when you are going to edit or replace png's for theming. If you want edit xml's, you need to decompile the apk instead of extracting it.
If you want to decompile an apk, read this tutorial - http://forum.xda-developers.com/showthread.php?t=1664292
1) Download apkmanager ( http://apkmultitool.com/downloads/Apk_Manager_5.0.2.zip ) and install it
2) Put the apk you want to decompile in 'place-apk-here-for-modding' folder.
3) Double click on 'script'
4) Ignore the 'adb not found' command and press enter
5) Type 22 i.e. 'set current project' and press enter.
6) Type 1 and press enter
7) Type 1 again and press enter to extract
8) Wait until the extraction finishes.
9) Minimize command line and go to projects -> filename.apk -> change/edit the required png's
Warning - Do not edit 9.pngs or replace them just like that. They are not normal png's. For mor info on how to edit 9.png's, follow music.soul's tutorial - http://forum.xda-developers.com/showthread.php?t=1559154
10) Switch back to command-line, type 3 and press enter.
11) If it is a system app's apk, type 1 and press enter. If it is a normal apk, type 2 and press enter.
12) Wait until the command-line comes back to its initial look.
13) Go to 'place-apk-here-for-modding' folder, your new file will be unsignedfilename.apk
14) Copy the file to SD card, rename it and remove 'unsigned' from file's name.
15) Push the file to original folder using root explorer and set proper permissions.
EG - If you modded framework-res.apk, push your new file to /system folder. Set permissions to rw-r--r-- and then move the file to /system/framework folder.
PS - Make a nandroid backup before doing this if you modded framework. Backup the original app's apk in case something goes wrong
Sent from my GT-S5830 using Tapatalk 2
Excellent guide
evil_penguin said:
Excellent guide
Click to expand...
Click to collapse
Thanks
Sent from my GT-S5830 using Tapatalk 2
APK manager is the only thing I need? Or do I also need Java SDK and Android SDK. For theming only.
Thanks dude! now I will start to mod my stock LUBKPL rom to my personal preferences and if it goes fine I will share my mods. Now in Mexico there are president elections and I work for one of the 4 countenders so I will star my mods before July 5 here are a LOOOOOTTTT of work rite now!
kevin03 said:
APK manager is the only thing I need? Or do I also need Java SDK and Android SDK. For theming only.
Click to expand...
Click to collapse
You only need apkmanager and a good image editing software like photoshop.
Sent from my GT-S5830 using Tapatalk 2
How about unpacking and repacking roms? How do I do that?
Woho. One more awesome guide. Thanks dev
Sent from my GT-S5830 using xda premium
Both the guides are very clear and detailed, I think they are eligible enough to be featured on XDA news. What say guys? How can I submit his threads for XDA news?
Sent from my GT-S5830 using xda premium
kevin03
7zip.It's easly
Rishris said:
Both the guides are very clear and detailed, I think they are eligible enough to be featured on XDA news. What say guys? How can I submit his threads for XDA news?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Lol, that's too much. I did not write the guides to get featured on XDA news. I just wrote them to help newbies. And I dont think they consider such normal stuff for XDA news. Thanks for the appreciation anyway
Sent from my GT-S5830 using Tapatalk 2
So I got the apk manger from the link you posted and followed all directions, but when I get to the step where I decompile the apk, i get an error.
I've attached a picture maybe this will help.
what im trying to decompile is a MMS.apk from my nexus.
thanks in advance and sorry for reviving an old thread.

[Q] How to create an Status Bar?

Hello. I need help
I need to create an Custom Status Bar, How I can create this?
Sent from my GT-S5360B using xda premium
Unless you're an expert at Java, know how to build android apps at a high level, you can't do it.
Your question was how to create a status bar, but i suppose you're asking "how to THEME it", right?
Well, you can use UOT Kitchen for starters. After that, you can move on to advanced theming. There are many guides for it on our forum.
Sorry, if you only want to change the icon
mrallyluz said:
Hello. I need help
I need to create an Custom Status Bar, How I can create this?
Sent from my GT-S5360B using xda premium
Click to expand...
Click to collapse
JUST EDIT framework-res.apk (battery) and systemUI.apk (others icon)
with change extention .apk into .zip
and extract in some folder.
then, open res>drawable-ldpi>CHANGE IMAGE THAT YOU WANT (with same resolution).
arter finish,
compress again all file that you extracted. with .zip
AND LAST,
RENAME .zip that you make, INTO .apk again:highfive::highfive::highfive:

How Can I ?

Can AnyOne Teach Me How Can I change icons In A Launcher
CHETAN TUTEJA said:
Can AnyOne Teach Me How Can I change icons In A Launcher
Click to expand...
Click to collapse
use apktool to decompile the apk and then in res/drawable and res/drawable-ldpi change the images you want. make sure that you dont change the image name and images with extension .9.png. recomplie and use it.
Lemme Try
Trying
use themes
amit34521 said:
use apktool to decompile the apk and then in res/drawable and res/drawable-ldpi change the images you want. make sure that you dont change the image name and images with extension .9.png. recomplie and use it.
Click to expand...
Click to collapse
why we can't change .9.png image?
Failure
It Didn't Work Icons Are Still The Same
IT Is Like SOme Icons Different In One Launcher And Different in Other?
CHETAN TUTEJA said:
It Didn't Work Icons Are Still The Same
IT Is Like SOme Icons Different In One Launcher And Different in Other?
Click to expand...
Click to collapse
you have to change the icons of the apps themselves, some launchers don't use the app's icons, but their own
---------- Post added at 09:02 AM ---------- Previous post was at 09:00 AM ----------
amit34521 said:
use apktool to decompile the apk and then in res/drawable and res/drawable-ldpi change the images you want. make sure that you dont change the image name and images with extension .9.png. recomplie and use it.
Click to expand...
Click to collapse
why not change 9 patch png's? as long as you have the black borders, it'll work
mjz2cool said:
you have to change the icons of the apps themselves, some launchers don't use the app's icons, but their own
---------- Post added at 09:02 AM ---------- Previous post was at 09:00 AM ----------
why not change 9 patch png's? as long as you have the black borders, it'll work
Click to expand...
Click to collapse
but for that you must know how to edit them properly else you will face problems.
amit34521 said:
but for that you must know how to edit them properly else you will face problems.
Click to expand...
Click to collapse
yeah, true
?
So what can i do
U just wanna change the icons right?
U dobt need to mess with .9.png
Its easy to edit them though but its not needed for changing the launcher icons...
First thing is...
U need 7zip program
Now choose the app u wanna change the icon off
Right click the app and open it with 7zip
Browse into the "res" folder and drag and drop the drawable-ldpi to a location where u can edit it
I choose the desktop
Now in the drawable ldpi folder ull have a pic named "ic_launcher_icon.png"
Or sumthing resembling to this as its diff in some apps
Edit that image and open the apk with 7zip again and drag and drop only the edited pic in the res/drawble-ldpi/
Push the apk using adb or by root explorer...
Ur done
Happy to help
Hmm
But There Are Not All The Apps Icons In Drawable ldpi So What Can I Do Them
Every app has individual icon
U have to open every apps drawable ldpi and edit the icons...
A easier way is to download a icon pack for the specific device
Open the flashable zip
Ull have a "unpack" folder
There will be many folders named "app.apk"
app=name of apps
Try using the ics icon pack for galaxy y
In these folders ull have the images....edit the images and zip it again...FLASH
and its done
Sent from my GT-S5360 using xda app-developers app

Categories

Resources