[Q] How to create an Status Bar? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

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:

Related

[Q] How to edit theme images and not have phone hang on boot?

I've figured out all apk files are really just zip files, but why am I not able to unzip the framework-res.apk file, edit the images within, then save it again without causing my phone to hang on boot?
Is there some step I am missing? I've tried rezipping with normal compression, store only, and only photoshopping and resaving a single image within the apk and still it fails.
How are images edited and updated? What am I missing?
I use apkmanager myself for most theming. You might look into it
Sent from my SCH-I500 using XDA App
An apk is a zip, but it's a *signed* zip
Sent from my SCH-I500 using XDA App
Here is the way I do it. I use 7zip to do this and I think it is the only program that can do it.
The way you can do it is to extract the drawable-hdpi folder within the framework-res.apk then do all your edits and save them with the exact same file names. Then you can go back into your framework-res.apk and drag and drop the drawable-hdpi folder back in and it will over write the original ones. Now just hit the Up (like to move up a directory) button until you see the message "framework-res.apk has been changed. Update it in the archive?" then click yes. Now you can put it on your phone without force closing. If you were just editing framework-res and it was not within another .zip file then you won't get that message and that is fine.
APK Manager.
You can use extract/zip (2/3) for image-only edits, but you need to decompile/compile (9/11) to mess with xml files.
Do *not* sign system apks (like framework-res.apk). Do sign other apks.
Btw, this is in the wrong forum.
(Next step: learn about the update.zip packaging script. Remember to name it something besides update.zip afterwards, because on the Fascinate we're installing everything through Clockwork, which should be the only file actually called update.zip.)
s44 said:
APK Manager.
You can use extract/zip (2/3) for image-only edits, but you need to decompile/compile (9/11) to mess with xml files.
Do *not* sign system apks (like framework-res.apk). Do sign other apks.
Click to expand...
Click to collapse
Oooh! I didn't know this app made xml's editable. That opens up a whole new set of theming fun. I can't wait to release my new theme. It should be well received (I hope)
Btw, this is in the wrong forum.
Click to expand...
Click to collapse
I considered putting this in Themes, but this was a theme development question, so here it ended up. If the Theme and Development forums ever hook up and have a few drinks, then spawn a sub-forum, Theme Development, I assure you it would have been a much easier decision to make
Thanks everyone for helping me out. My last time playing with a phone is an old WinMo 5 device. Anroid seems limiting in it's own ways (no dedicated theme files (can't update without losing the apk theme), but much better for customizing for a 'look' of the OS.

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.

[Q] how do i remove the favorites icon that sits in the middle of the status bar?

You know that little white word bubble icon in the middle of the thinkpads status bar that you can set favorites to? How can I get rid of it? I am on a us thinkpads tablet that ha been rooted.
It's buried in a system file if you want to try to hack it & cook a new ROM for us. Wed' all be incredibly grateful!
I can provide some insight into this.
It's in the systemui.apk. I've removed the icon itself by making the images associated blank. That way i didnt have to decompile / recompile, however if you press that specific location, it'll still activate.
I can attach my hacked apk for 3.1 HC if you guys like.
Sent from my Lenovo Thinkpad using xda premium
I bet a lot of people would like it!
Let me get this right.... All you did was rename from .apk to .zip, unzip (assuming with 7zip), replace the graphic file, and rezip, un-rename, and it worked?
If that's the case, I'm going to try replacing all of those blasted bar graphics wherever they are with something at least grey. They burn out my eyeballs, especially when I have a screen filter on. Nandroid, here I come....
Yea, that's essential what I did. Just don't remove any of the files. You'll have to decompile and recompile for that.
I've attached my modified SystemUI.apk
rename to SystemUI.apk and push it to /system/apps/ and reboot
i recommend doing a fix permissions after pushing.
Sent from my Lenovo Thinkpad using xda premium

[Q] Where is background located?

Hello,
I'm a new Nexus 4 user, and I really want to know where is the settings background wallpaper located?
On S3 on 4.1.2 also on CM10 roms, the background is located in nodpi folder. In Nexus I cant find it, I've tried to download cm10.1 rom, but I cant locate it.
Any help would be much appreciated.
wallpapers are part of an apk, not in a folder
khanh1289 said:
wallpapers are part of an apk, not in a folder
Click to expand...
Click to collapse
And apk's contain, wait for it, folders! Gasp!
Check the folders inside your launcher apk, OP.
he was asking which folder he can find the wallpapers in, to which I replied it's in an apk not in a nodpi folder like his S3; am i missing something? I know that apk are basically executable zip file that contain folders - that still doesn't make it a "folder" per se.
They are in launcher.apk /res/drawable-sw600dp-nodpi .. Really isn't hard to search each of them yourself either until you find PNG or the word "wallpaper"
Sent from my Nexus 4
@op. The image your looking for is background-holo-dark in framework-res.apk, drawable-nodpi folder.
Sent from my Nexus 4 using xda premium

Categories

Resources