[MOD][DEODEX]SystemUI UN-ATTified - AT&T Samsung Galaxy S 4 Themes and Apps

My un-ATTified SystemUI.apk.
Basicallly no carrier label, no ugly 4G icon (changed to G,3G,H,H+), should have no NFC icon (not sure I did the csc features edit), NFC quick settings icon set to international, 6 bar signal cluster.
3 things to do:
1) Add these 2 lines to /system/build.prop
ro.product.twname=jfltexx
ro.product.twdevice=jfltexx​ 2) in /system/app/ rename these:
SystemUI.odex to SystemUI.odex.bak
SystemUI.apk to SystemUI.apk.bak​ 3) paste new SystemUI.apk to /system/app/SystemUI.apk
This worked for me, I can't garentee it will work for you, and as such if you use this, know how to fix boot loops (mine never bootlooped doing though in the process of these mods, my SystemUI F/Ced until I got it just right. if SystemUI F/Cs have a backup. If you followed the directions just use root explorer to change SystemUI.odex.bak and SystemUI.apk.bak to their original file names.

What I did was changed what SystemUI/smali/com/android/statusbar/features.smali was using to get the phone build (it was looking at the last 2 letters on ro.product.name. Now it looks for last 2 letters in ro.product.twname) and changed the default from 4 bars max to 6 bars max. I used Nottach's hacks as a guide. I did both his changing the operator label to 0 pixels max and removal of the battery full icon. I also changed the ATT specific notification bar icons to match international, but I don't think they are even used now.
Thanks Nottach for pointing me in the right direction.

does this also affect the PHONE app? for mine, it replaced the Voicemail button on the lower left corner to what i believe is a 'video calls' button that doesn't work, at least on AT&T. im not sure if this is just me though.
thanks!

songsongsong said:
does this also affect the PHONE app? for mine, it replaced the Voicemail button on the lower left corner to what i believe is a 'video calls' button that doesn't work, at least on AT&T. im not sure if this is just me though.
thanks!
Click to expand...
Click to collapse
It shouldn't have, but im not sure. I used it for about a day thrn Nottsch had all 9f this in his Xposed app so I used that instead lol.
Sent from my AT&T S4 running an international ROM.

Related

[mini mod] Connectivity Icons for GingerBlur (1% battery mod is separate)

As I have never been happy with the connectivity icons of neither stock Atrix nor Gingerbread, I have created my own. I put them here to share. Note that these only look good with a black taskbar and greenish icons there... I.e., the best idea is to use GingerBlur in the first place.
Note: The icons are now included in the 1% battery mod available here.
The differences here are not huge (due also to the size of the icons themselves):
Bigger, more legible font
Arrows are not shown when there is no data traffic
Arrows are bigger than stock gingerblur
Fancy looking 3G, where the 3 is slightly smaller than the G
In order to use these icons, there are two ways. The second one kind of assumes that you know what you are doing, so if you don't - use the first one.
If you have not yet flashed GingerBlur (you can also do this when you have already flashed, it is a bit redundant though and will take quite long)
Download GingerBlur (from the dev section)
Download the attached zip
Extract the attached zip
Open framework-res.apk with a zip tool without unzipping it
For GingerBlur 1.1 and up: it is easiest to extract framework-res.apk from gingerblur-1-X.zip, and open the apk from there. Push the modified apk back into the zip archive, and you should be good to go.
Drag and drop the icons from the attached zip file in the right folder (where the same files are located)
Close the zip tool
Install GingerBlur
If you have already flashed GingerBlur
Pull framework-res.apk
Download and extract the attached zip
Open framework-res.apk in a zip tool (no unzipping!)
Drag and drop new icons where they belong inside the apk
push the apk to a temporary folder on the phone
copy the apk from the temp folder to /system/framework/
reboot phone
The icons look like this:
View attachment 554162
In a phone screen, they'd look like this:
View attachment 554163
There is a 1%
It looks great, thanks!
With https://market.android.com/details?id=ccc71.bmw and the "Defy compatible" mode enabled it is possible to display the battery in 1% steps.
Maybe you can incorporate that feature!?
MaluNoPeleke said:
It looks great, thanks!
With https://market.android.com/details?id=ccc71.bmw and the "Defy compatible" mode enabled it is possible to display the battery in 1% steps.
Maybe you can incorporate that feature!?
Click to expand...
Click to collapse
Glad you like it!
Yeah, I have that app installed... it does not 'activate' anything, afaik. The single percentages can be grabbed from a pipe, basically, or estimated from voltage, but that does not mean the right-hand battery icon will get updated.
I have an idea though,that I will try out on Thursday (no time today and tomorrow, sorry).
Okay, no problem.
I will be watching this thread, maybe you can post your results here
I am working on the battery mod to display 1% natively in the status bar. I am making good headway in figuring it out, expect it in the next couple of days!
Ok, a little setback on the 1% battery mod. Ok, talking to myself here
Anyhow, will start a separate thread on this, as I am a bit stuck currently.
I hope that you can make it work with the new update (1.5.57)
How can I get the GingerBlur notification bar (plus your icons when I replace them) without installing GingerBlur? Do I just replace my framework-res.apk? (I have backed up)
LayzeeEyez said:
How can I get the GingerBlur notification bar (plus your icons when I replace them) without installing GingerBlur? Do I just replace my framework-res.apk? (I have backed up)
Click to expand...
Click to collapse
I have not really tried doing that... but you should be able to roughly follow the steps here: http://forum.xda-developers.com/showthread.php?t=536271
Note that:
- With 7zip, there is no need to rename the apk. Just open, but don't unzip it. Drag and drop files in.
- As GingerBlur already has the files you need, there is no need to create them
- You need to figure out which are the icons you need to copy. Obviously, the post above just talks about the statusbar itself; you also need to copy some icons (for cell signal, wifi signal, etc.). Where it gets a bit fiddly is that there are some things to watch out for. One, icons may not have the same number of levels - e.g, cell signal has five levels in motoblur, but only four levels in gingerblur. Two, I am still not sure whether icon sizes are hard coded; in which case, changing files like this may not work. And three, when I played around with battery icons (this included changing a binary xml file, though!), I managed to make my battery icon disappear completely, which is something you should be prepared for.
Bottom line? In your worst case scenario, be prepared to flash the 1.2.6 SBF if you mess up. If you want to be on the safe side, just install GingerBlur - much less hassle
Much harder than the copy and paste method I had in mind lol
Yeah I'll install gingerblur when its out for 1.5.7
Sent from my MB860 using XDA App
Just a note: The icons are now included in the 1% battery mod here.

Custom Framework Help...

Ok, so I've been trying to apply custom framework from a fellow xda member without success. I've flashed these metamorph files dozen of times and only half the icons show up, but the signal bars NEVER change, NEVER! It's so frustrating!! I just tried using the UOT Kitchen to see if that worked and it didn't. For gingerbread ROMs you have to upload systemUI.apk, com.htc.recourses and framework-res.apk which seems to take care of all the icon locations. After flashing the zip on first boot it shows the new signal bars for a few seconds, then switches back to the ugly stock 4 bars.
Does anyone have any idea what the problem may be? I figured uploading all three files I listed above would take care of the stupid signal bars, but once again I was wrong. Any help/advice/ideas is greatly appreciated.
Mods I apologize if this is in the incorrect section.
WormDoes said:
Ok, so I've been trying to apply custom framework from a fellow xda member without success. I've flashed these metamorph files dozen of times and only half the icons show up, but the signal bars NEVER change, NEVER! It's so frustrating!! I just tried using the UOT Kitchen to see if that worked and it didn't. For gingerbread ROMs you have to upload systemUI.apk, com.htc.recourses and framework-res.apk which seems to take care of all the icon locations. After flashing the zip on first boot it shows the new signal bars for a few seconds, then switches back to the ugly stock 4 bars.
Does anyone have any idea what the problem may be? I figured uploading all three files I listed above would take care of the stupid signal bars, but once again I was wrong. Any help/advice/ideas is greatly appreciated.
Mods I apologize if this is in the incorrect section.
Click to expand...
Click to collapse
Driving me nuts too. Gladly buy someone a 12 pack (donate) if you can get me Gtalk, Gmail, Messages and Mail Color Icons like HERE
I posted my problem in the UOT thread in android development section. Hopefully someone can figure this out. I just don't understand why if you have to upload all 3 files where the HTC stock icons are why they don't change. It's mind boggling
Could not agree more.
Friendly bump
Is UOT setup for the Thunderbolt? Meaning will it replace the right signal bars, etc? Doesnt sound like it. Just use 7zip and replace the images yourself.
mbh87 said:
Is UOT setup for the Thunderbolt? Meaning will it replace the right signal bars, etc? Doesnt sound like it. Just use 7zip and replace the images yourself.
Click to expand...
Click to collapse
It's set up for gingerbread sense, so I think that it should work. AFA replacing icons manually, I don't know how to do that, you should know considering I tried it with your framework and had no luck I just don't understand why the new icons show up for a few seconds then they switch to the stock icons.
Yeah but they probably don't have it set up for Tbolts gingerbread. The signal bars are more than likely named different than the other phones.
That's understandable, but why would the new signal icon show up for a few seconds then disappear?
Also, since you're very familiar with this, could you post in here or pm me the name of all the signal/wifi/3G/battery icons and where they're located that need to be changed in order to get custom icons working properly? Or if there's a list you know about could you please link me to it?
WormDoes said:
Also, since you're very familiar with this, could you post in here or pm me the name of all the signal/wifi/3G/battery icons and where they're located that need to be changed in order to get custom icons working properly? Or if there's a list you know about could you please link me to it?
Click to expand...
Click to collapse
Battery is in framework-res.apk/drawable-hdpi (Example - stat_sys_battery_0). Signal/wifi/3G is in SystemUI.apk/drawable-hdpi (example - 3G ICONS -stat_sys_data_connected_3g and cdma_sys_data_connected_3g WIFI -stat_sys_wifi_signal_0). BUT, if you use any of the BAMF toolkit edits they will override the SystemUI.apk. You would have to modify the eSystemUI.apk and dSystemUI.apk. They are located in system/etc/scripts. Hope this helps ya out a little bit.
lilcdroid said:
Battery is in framework-res.apk/drawable-hdpi (Example - stat_sys_battery_0). Signal/wifi/3G is in SystemUI.apk/drawable-hdpi (example - 3G ICONS -stat_sys_data_connected_3g and cdma_sys_data_connected_3g WIFI -stat_sys_wifi_signal_0). BUT, if you use any of the BAMF toolkit edits they will override the SystemUI.apk. You would have to modify the eSystemUI.apk and dSystemUI.apk. They are located in system/etc/scripts. Hope this helps ya out a little bit.
Click to expand...
Click to collapse
Wow, this seems crazy hard. I'm going to give it a shot, though. Thank you for telling me where they are located
WormDoes said:
Wow, this seems crazy hard. I'm going to give it a shot, though. Thank you for telling me where they are located
Click to expand...
Click to collapse
I personally replace the battery images only. I was in total shock when I first started but now I can do it within minutes.. The one thing I don't know how to do is edit the xml files which you have to do in order for the icons to display properly. So in other words the stock battery only has 5 or 6 images but if you use a rom or theme that has a % (which I hate) it would have 101 images I believe.. so what I do is pull the xml/image files from a stock theme and place them in the rom I want. I'm not sure how to replace signal bars but pm me if you need help with battery.
It sounds way harder than it is
Sent from my ADR6400L using XDA App

[theme][zip][hc]

Have a Dell Streak 5?, Have an insaitable taste for sweet honeycomb and will stop at nothing until you get some?
Well, we'll just have to wait, but in the meantime, this may help with your cravings.
Here it is. Hope everyone likes it. Built and Tested on StreakDroid 1.9.1
I would encourage you to try it on any DeOdexed ROM 351 and later; but remember:
Nandroid Backup First! Serious::At least have a flashable .zip of current framework on sdcard(ie UOT.zip) just in case!
Tested on low and high res. battery in status bar is HC and has 100 images and animations<fun>, but no numbers. I trust everyone will use UOT for their own personal battery preferences. Also incuded honeycomb font for Clocktopia/lockscreen.
As of v0.6.0, I have included a custom status bar clock that uses DroidSerif-Regular.ttf, use a 3rd party app to change to attached Clocktopia.ttf, for honeycomb effect! Anywhere serif is used, you may get clocktopia which isnt really readable on froyo, but I have checked and havent seen it used anywhere actually. I originally had monospace, but that screws up some files in root explorer text editors. If you dont want this mod, simply open the .zip as an archive and delete services.jar from framework folder, enjoy!
link to font changer free in market... https://market.android.com/details?id=com.martino2k6.fontchangerlite&feature=search_result
install font changer, creates a default directory on sdcard named .fontchanger/,copy clocktopia.ttf from next post to this directory in sdcard. when you open font changer it should scan and show you have clocktopia. I recommend unchecking quick restart in font changer settings. click on advanced, click on DroidSerif-Regular.ttf and choose to replace it with clocktopia.ttf. choose apply and reboot later, then reboot manually. (works better I think) that's it about it, when you change a font; it says it makes a back up and that you can long press on the changed font and choose to restore original. If it does not restore original font, choose to uninstall app from within font changer settings, and it will restore all original fonts.
Please let me know what you think, and I would like to see a screenie of portrait lockscreen.
Known issues: on low res/mdpi I have noticed in stock email I get large buttons for options at bottom of screen. Many images for mdpi I used hdpi where I could. These are the only 3 buttons I have seen so far, and they are actually seem much better big anyways. This Im sure can be fixed If theres enough interest. I put a lot of work and time into this.
Thats about it enjoy!
screenshots are at stock 160dpi, I use 210.
see post#97 and #99 for blue status bar clock MOD. (#97 is full theme, the other is clock Mod only.)
More Honeycomb themes for Streak: Phone&Contacts: http://forum.xda-developers.com/showthread.php?t=1217249
HC Desk Clock: http://forum.xda-developers.com/showthread.php?t=1185269
Not HC, but themed Settings.apk : http://forum.xda-developers.com/showthread.php?t=1185154
themed 3DGallery.apk : http://forum.xda-developers.com/showthread.php?t=1197791
Reserved for future, edits,updates; and more screenshots
v0.6.3 : minor changes: changed status bar clock to Slate blue/gray blends much nicer. Added honeybee to pull down, visible @ 160 &240 dpi. Changed "Phone options" to "tablet options" changed "your phone will shut down" to "your Streak will shut down". Oh and changed a few black status bar icons to show better, like bluetooth. I think thats it for now, been looking into other things but running into dead end with my limited .java / .smali code knowledge. screenies here: http://forum.xda-developers.com/showpost.php?p=16568716&postcount=125
v0.6.2: themed volume popup HUD, thought it was .xml, just a .9.png. that was easy. looks nice too
v0.6.1: volume and seek bars slimmed down and changed to green like real HC. From now on, unless I edit services.jar, the .zip in 1st post will have BLUEclock in status bar, the White Stock .zip is in post #99, if you want to revert, just flash that. More updates planned, stay tuned.
v0.6.0 Removed date from pull down and changed status bar clock font..please see first post for more info and instructions. See last two screenshots in this post for update. This is flashing services.jar, so give it 5 minutes to boot.
v0.5.9: Without carrier version only now. changed pulldown to all black so it crops right at all lcd densities. changed all mdpi lockscreen icons to standard mdpi 64px.
v0.5.8, dark blue sliders! had to edit .xml, I thought for sure they were a .9.png. Getting the hang of this. Next I think I will remove am/pm from status bar clock, might change the color too..
v0.5.7 All Black Status bar, nice new usb icon to go with that, and pull down all black with bee.
v0.5.6NoCarrier updated: removed carrier text from drop down menu. File size increased so had to host it.
v0.5.5: Both versions: mostly resized mdpi stuff including vibrate lock screen tab icon, change some menu press highlights, and changed search bar size in mdpi. NO Carrier on Lockscreen!!, still on pull down until I get it to build...Still cant find the damn large email buttons on stock email on hdpi, see know issues: not really a huge issue. Hope you all enjoy it!!
v0.5.3NoCarrier:**update: fixed no charging battery** added, no carrier in status bar. Will look into removing it elsewhere. <finally understand how to edit xml and update; not as easy as it would seem there are steps missing that I normally wouldn't think of.>
v0.5.3 changed data icons (eg. 3G, H Edge to match light blue honeycomb). [IF you ever get a system force close on startup, just pull battery and should boot normally. Maybe a good idea to clear cache after this]
v.0.5.1 changed a few icon, home icon from ginger to honeycomb, changed button to proper proportion, and changed volum bars colors to.a darker blue and removed ugly disabled button backgrounds
v0.4 White on Black Menus! Enormous thanks to TheManii for help with this. Really breaks ground to hopefully more themes/mods/etc. Thank You!
v3 uploaded.. trying glowing sound jog tabs, best I could do at the moment, should be better, but jog tab vibrate looks better with glow.
If .zip is unavailable, wait a few minutes or check back later should be updated, Thanks!
nice!!!!!thanks
sure, no prob. (well, a little hassle, but a learning experience.) looks so much better than stock. gotta have it.
Sweeeeeeeeeet!!!!!!!
Nice work Chris!
While I probably won't be installing this theme (got things the way I like em now) it looks outstanding. The Google search is a work of art. I would love to install just that on my home screen.
Keep up the great work
kraz
a little searching you could have found them.
I found these a while back,
on xda I think..
only will work on deodexed ROM I believe. backup and delete originals, rename and place new themed ones in /system/app. Set permissions to same as all other /system/apps, and reboot and they will install.
Tip: the google search one can be tricky.before moving it into system make sure its not named same as stock. after moving, rename it. If the icon changes to a stock "g" logo for the application, it wont work, this one is strange.
Geez Chris...What can't you do?!!
GoogleSearchBox looks great and works well on my Simple Streak 1.2 odexed device. No problems installing it either.
Seriously...THANK YOU!!!
kraz
I had searched for them many months ago and came up empty. forgot about it until I saw your screenies.
Holy crap! You themed EVERYTHING! Very nice work, beautiful job. I love the extra splash of color you gave even the home menu (Add, Wallpaper, Search, Settings, etc).
Here is that portrait screen cap. Looks very nice.
did the honeycomb font not stick? it should have. you also use font changer to edit Clocktopia. and the sound slider I might have to downsize a bit you can see the transparent square jog tab
You know I flashed that straight over top of my BlueStreak5 theme and I guess it didn't give me the HC font on the clock. Everything else looked great, pop up window color, scroll bar color. I did notice the volume slider on the lock screen has a bit of square halo that was only really noticeable on the super dark HC wallpaper.
Awww... when I flashed back to BlueStreak5, it didn't keep your pop window theme, power menu, home menu, etc. I was hoping it would
new update coming shortly, updates jog tabs glow, less boxxy as well
How about the battery with a percentage.
Sent from my Dell Streak using XDA Premium App
U could of made this ur honeycomb rom.
Sent from my Dell Streak using XDA Premium App
not this one sorry, just use UOT.
chrisrotolo said:
not this one sorry, just use UOT.
Click to expand...
Click to collapse
I know I will use uot with your framework to change the battery. Awesome love the blue honeycomb. The phone theme is the best I have seen.
Sent from my Dell Streak using XDA Premium App
this is very nice..thanks chris.. might have to cook my own notification and battery status though..I like my old one..but the HC theme for the rest of the zip is awesome!
thanks, I'm learning.. if you dont like something let me know, post a screenie and I 'll see if I can tweak it.
chrisrotolo said:
thanks, I'm learning.. if you dont like something let me know, post a screenie and I 'll see if I can tweak it.
Click to expand...
Click to collapse
oh I like everything about it bro..even the pull down notification..but I like to personalize mine ..with my name on the pull down notification and the green matrix animation (im a big matrix fan..hence the name.lol)..anyways, kitchen is down..might do it later..
Do u think u can remove carrier in the notification bar?? I feel it takes up too much space
Sent from my Dell Streak using XDA Premium App

Xml needed to be modified - help?

Hi!
Any developer out there who would make a little change at an existing apk(xml)?
Best regards!
still searching...
what type of change?
if you mean adding a new element to the xml i think that you cannot because then you need to rebuild (compile and especially pre-compile) the apk.
but if you are talking about changing some values of an already existing object that may work.
What apk ? And what do you want changed ? Need to post a little more detail if you expect an answer. It would also help if you upload the apk.
Benz-Driver said:
Hi!
Any developer out there who would make a little change at an existing apk(xml)?
Best regards!
Click to expand...
Click to collapse
What type of apk ? Is it for GB or ICS ? what is your target platform ? If it is for GB I can do it . But not in deep . If you tell me what exactly you want to do , I can help you. PM Me.
Thanks for your answers!!!
I'll try to explain it:
It's an hotspot widget, which allows to turn on Wifi Hotspot by just clicking the toggle.
When clicking the toggle, Hotspot is "starting", that means it's not ready but on the way. When Hotspot has fully starting has finished and is available to be used there is another toggle icon.
So, what is missing right now, is, that after pressing the toggle the indicator graphic shows "starting".
Hmm, my english isn't very good, but i'll give the best to make it understandable. Therefore a made two screenshots and add the graphic which should appear when having pressed the toggle and before the toggle has changed to the one displayed at the second screenshot:
So, what has to be changed, is - to my opinion - the parameters for appwidget_settings_ind_mid_c.9.png - so that the attached graphic is displayed.
I have to mention that i already modified the apk by changing stat_sys_tether_wifi_off and stat_sys_tether_wifi_on.
Benz-Driver said:
Thanks for your answers!!!
I'll try to explain it:
It's an hotspot widget, which allows to turn on Wifi Hotspot by just clicking the toggle.
When clicking the toggle, Hotspot is "starting", that means it's not ready but on the way. When Hotspot has fully starting has finished and is available to be used there is another toggle icon.
So, what is missing right now, is, that after pressing the toggle the indicator graphic shows "starting".
Hmm, my english isn't very good, but i'll give the best to make it understandable. Therefore a made two screenshots and add the graphic which should appear when having pressed the toggle and before the toggle has changed to the one displayed at the second screenshot:
So, what has to be changed, is - to my opinion - the parameters for appwidget_settings_ind_mid_c.9.png - so that the attached graphic is displayed.
I have to mention that i already modified the apk by changing stat_sys_tether_wifi_off and stat_sys_tether_wifi_on.
Click to expand...
Click to collapse
To decompile I need your framework apk.
I only have the apk i attached. The Widget was downloaded from the market (free).
Ok, i made new screenshots to explain:
1.) Hotspot "Off":
2.) Hotspot "starting":
3.) Hotspot "On":
When "Tethering oder Hotspot aktiv" is displayed (=starting modus, second screenshot) in the status line after pressing the toggle, there should appear this
instead of this
Benz-Driver said:
I only have the apk i attached. The Widget was downloaded from the market (free).
Click to expand...
Click to collapse
Check the attached file whether it working or not. You have some problem with images . Then do not appear properly.
Thanks, but nothing changed. It's still like in the 3 screenshots above.
EDIT:
Oh, i forgot to mention, that changes must affect drawable-mdpi as the device (Sonyericsson Xperia Active has only 320x480 pixel screen resolution!!
@musarraf172
Could this be the reason, that nothing changed? Am i right, that you changed the xml values fpr drawable-hdpi and not drawable-mdpi? It's my fault, i should have mentioned that it's for a low resolution screen, sorry!!
Benz-Driver said:
@musarraf172
Could this be the reason, that nothing changed? Am i right, that you changed the xml values fpr drawable-hdpi and not drawable-mdpi? It's my fault, i should have mentioned that it's for a low resolution screen, sorry!!
Click to expand...
Click to collapse
I changed for both as I was confused . I have tested in on my phone (HTC) . It was working but the images was overlapping.
EDIT:
I think I am misunderstood. What exactly you want to change ? only some icons ? If so please tell me in more simple words.
Ok, i'll try to explain but my english is not that good (sorry):
When i press the toggle
there should appear a dark green indicator line - like here:
And in the end when the Hotspot is fully activated this should appear:
That means, there should be 3 steps:
Off
-> Start
-> On
Why aren't the pics in my post displayed?
Ok, I'll try to explain again:
The indicator is too low (about 13 pixels too low) and too wide (about 12 pixels on each side, 24 pixels total) as you can see at the new screenshot.
So the xml-parameters should be changed for
1.)appwidget_settings_ind_off_c.9.png (drawable-mdpi as it's a low resolution device with 320x480 display)
2.)appwidget_settings_ind_mid_c.9.png (drawable-mdpi)
3.)appwidget_settings_ind_on_c.9.png (drawable-mdpi)
They have to be changed all the same way.
Please(!!!) can anybody help me?
So you want three total icons.
One for off:
One for starting:
One for on:
This should not be too hard to accomplish.
Yes, that would be what i'm looking for.
But maybe it would be enough, if the position of the indicator would be changed.
Can't do it here at work, and it seems someone is on the right track. I can look at it this afternoon maybe.
Are the images separate. Meaning an icon and an indicator bar. That seems like overkill unless the indicator bar is moving (showing progress). I would think that three static images would be just fine.
If it is just the xml that needs to be edited, can you paste it here?
I made screenshot of what the original apk (not modified in any way!) looks like. Unfortunately I'm not sure which xml contains the information for the position of the graphics. But you can see what graphics are available originally and maybe this gives a hint on how the xml is designed? I tried to attach the xml files to thhis posting but the file format isn't allowed. So i attach the original, unmodified apk.
3 static images would be good, also, if possible, but i think that would be more complicated, what do you mean?
Originally there are 2 icons (off and on) and 3 indicator graphics (off - mid(=start) - on). But i think it would be also good to use 3 static images instead of the combination of the 2 static images and the 3 additional indicator graphics.
I also made 3 screenshots what the original unmodified apk looks like when Hotspot is off, has started and is on.
EDIT:
I'm wrong! I just saw, that the original akp works by having a background for all 3 situations (off - mid(=start) -on) and just varies the WLAN symbol in the middle of it. And additional the indicator graphics.
So there seem to be following graphic combinations originally:
1.) Toggle Off: appwidget_bg.9.png + stat_sys_tether_wifi_off.png + appwidget_settings_ind_off_c.9.png
2.) Toggle pressed (Hotspot Starting): appwidget_bg.9.png + stat_sys_tether_wifi_off.png + appwidget_settings_ind_mid_c.9.png
3.) Hotspot On: appwidget_bg.9.png + stat_sys_tether_wifi_on.png + appwidget_settings_ind_mid_c.9.png

[Q][ST15i/ICS]Status Bar: Battery/Transparency

Hi Guys,
Before I begin, I'd like to shoutout to all the great devs here in XDA who regularly updates us with their mods while living their own busy lives.
I'm using a ST15i on stock ICS and managed to customize it by reading around. I've rooted my phone from GB to ICS and flashed custom zips to add or modify certain functions and changed how it looks to give it a different feel and to better suit my taste. I've reached a point where I can't modify it anymore due to lack of knowledge and training. And now I'm here.
Can anyone point me on how to change the transparency of the status bar, change the battery icon of my choice on my ST15i running on stock ICS? Also, can you help me in reverting to the stock icon fron "No available network"? All the info I found didn't help me. Tried the kitched but that didn't work for me either. I'd rather learn how rather than be spoonfed.
This is my first time posting here, so go easy on me.
Thanks!
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Ticklefish said:
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Click to expand...
Click to collapse
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (can't find an uninstaller. I figured all I needed was stock to remove). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal a icon appears on the notification bar, well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
evilbarcode said:
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
Click to expand...
Click to collapse
Wow! Didn't know that. Just tried it just now and it worked. Thanks! Will be posting/updating once I've recreated the situation.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Ticklefish said:
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Click to expand...
Click to collapse
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
messagemode said:
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
Click to expand...
Click to collapse
That icon might be in framework-res.apk but I suspect it's SystemUI.apk. That's where most of those things are. This is a stock icon so flashing a stock system app won't do anything to change it. If you want, you can change the icon yourself by loading the png into a graphics program and messing around with it. If you want it to be grey and yellow, then you can make it grey and yellow.
Battery icons won't change the height of the statusbar. Android automatically scales images to the right size. As long as they're in the right folder. The Mini and Mini Pro both keep their images in drawable-mdpi for ICS. If images are put into drawable-ldpi, drawable-hdpi or even drawable-xhdpi (which would be insane on such a small screen), Android will scale them for a low, high, or extra high resolution screen. Which will mess the statusbar height. Your battery icons can be any height you like, they just have to go in the right place.
By the way...Tickle My Android will automatically put them in the right place. Just saying...
To change battery icons manually, you need to use apktool or a utility that uses apktool to decompile framework-res.apk and SystemUI.apk
Hey....Tickle My Android uses apktool...(subtle, ain't I?)
Then find the battery icons in whichever drawable folder they're in. They might be in more than one but that's not an issue. Replace them with ones you want.
If you're changing how often they change, you'll need to edit the xml files in the layout folder. If you got your icons from a kitchen, they should have come with the right xml files. In fact, if you've got a version of the Purple Android icons, you could use TMA to put those on first and then change them to the icons you want. That'll ensure you get the right xml files.
Then you use apktool to recompile the apps you changed. Make a copy of the original app, use 7zip to copy the res folder from the recompiled app into the copied one (this will ensure it's signed correctly), extract resources.arsc from the recompiled app, add that to the copied one at store levels of compression and..well, that's it.
The copied app is now ready to be put back onto your phone.
Eyes glazing over? Brain leaking out of the ears? I know it sounds complicated but it's quite simple once you've done it a few times. It can get a bit tedious if you're doing it a lot....which is why I wrote Tickle My Android in the first place.

Categories

Resources