[Q]Nougat multiple sign on signals - Xperia Z5 Premium Q&A, Help & Troubleshooting

is there a way to remove the annoying multiple sign on signals in nougat?
i have changed signal icons and that sign is really freaking me out
any suggestions?
-i have resized the related png to the smalest size but didnt worked
-i have deleted png from decompiled apk not worked
-i have deleted related line : stat_sys_signal_null_sim1 and sim2 from public.xml and pngs but not worked
-i dont know if this is the right line related to that sign or not but i tried it
------------------------------
edit: i find out that those signs are related to data not signals
by changing the color of them i managed to remove them
1.decompile systemu.apk
2. go to systemui/res/drawable find stat_sys_data_disabled.xml
3. open it in the editor i used notepad++
4. find the color code and change it to transparent , transparent code is : #00000000
5. save , exit,recompile and signe
replace and done

Related

[Guide] How to change the color of your notification bar / background

This is my first "guide" so bare over with me
In order to change your status bar color along with the Background color, do this:
First we need the framework-res.apk from the phone
- adb remount
- adb pull /system/framework/framework-res.apk framework-res.apk
Take a backup of this file in case you failed and wants to go back.
Rename your local framework-res.apk to: framework-res.apk.zip
Open the Zip file and go here:
/res/drawable/
Locate these files and unzip them:
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
These are the files you want.
I sugest that you use Photoshop to do what you want with the colors, if you are using Photoshop, be carefull editing status_bar_close_on.0.png, it might look weird if you are doing it wrong.
After your done editing these pictures go here:
/res/drawable_land/
Locate and unzip:
statusbar_background.png
Do the same here as you done with the first pictures.
After you are done editing the png's, save them in your zip file.
Rename framework-res.apk.zip to framework-res.apk.
- adb push framework-res.apk /system/framework/framework-res.apk
Now restart your phone, and your Notification bar has been fixed
I'm using Open Home along with HTC Hero skin and this just looks PERFECT!
This doesn't change the Text's on your Notification Screen, that you will have to find out for yourself, or post a solution here.
Can't wait to try that out I want mine to be changed..
Update:
For changing the color of the clock, take a look at this topic:
http://forum.xda-developers.com/showthread.php?t=535630
Solution will be there during the week.
It's already available for Rogers ROM's.
WebghostDK said:
Update:
For changing the color of the clock, take a look at this topic:
http://forum.xda-developers.com/showthread.php?t=535630
Solution will be there during the week.
It's already available for Rogers ROM's.
Click to expand...
Click to collapse
Yeah i have tried to push a heap of different G1 services.jar files over to my Magic (ion rom) but was in boot loop city for every one. Oshaka has said he will modify a sapphire services.jar for me... still waiting on that- will post my results as soon as he has it for me.....
TBH though, having a status bar background black with green behind the black clock is actually probably easier for me to read than the white one......will test it out when i get the correct services.jar
got green notifications but for some reason the services.jar doesn't change....
working on it... maybe oshaka can come up with a reason for me...
I cant seem to get the services.jar to change either. I have asked Oshaka to fix it for me, and he said he would do it like 3-4 days ago.
Waiting
WebghostDK said:
I cant seem to get the services.jar to change either. I have asked Oshaka to fix it for me, and he said he would do it like 3-4 days ago.
Waiting
Click to expand...
Click to collapse
services.jar will work on hofo rom or any rom without .odex files. The problem with hero and ion roms are that they dont have the classes.dex files within services.jar. I am assuming they are in the services.odex file, which so far i have been unable to open and read to find the correct smali files.
I have called it quits trying to figure it out for now...... until the colorchanger app includes support for this i am putting it in the too hard basket.
Let us know if ohsaka gets back to you. If we get this we can theme anything we want- i made a theme template for ion which worked......
***edit*** just got a reply from Ohsaka, he said there is no way he knows of to open .odex files to edit colour inside of them. that kind of means those of us running ION or hero are **** out of luck. Until someone starts modding the HTC build a bit more (kind of like how cyanogen mods the standard 1.5 and also pulls from donut etc) then we are stuck with what we have got
Hofo rom has some potential.... maybe we should all chip in and buy cyanogen a Magic (32A of course )?
Is it possible to edit the png's in the framework zip to a translucent opacity, and push the entire zip back in to make the notification bar have some transparency?
Edit: Nm, tried it and it is more complicated than I thought lol. Screenshots of a 50% status bar png to come
I have adb etc set up and willing to try ,would be my first action on editing my phone.
Does my phone need to be rooted/re-rommed for this to work ?
I own a original out of the box T-Mobile G1 , and I really would like to change the colouring of the notification bar to match the colour of my background picture, but not at the expense of giving up my warranty ( not yet ) , depends on future updates of G1 which is doubtfull at the moment I believe
jinglebinkie said:
I have adb etc set up and willing to try ,would be my first action on editing my phone.
Does my phone need to be rooted/re-rommed for this to work ?
I own a original out of the box T-Mobile G1 , and I really would like to change the colouring of the notification bar to match the colour of my background picture, but not at the expense of giving up my warranty ( not yet ) , depends on future updates of G1 which is doubtfull at the moment I believe
Click to expand...
Click to collapse
I haven't tried this out at a non-rooted phone, but yes, it will work on a non-rooted phone, so just go ahead.
Don't be affraid about the warrenty, you can always say you downloaded a skin on market
MontAlbert said:
services.jar .......
Click to expand...
Click to collapse
Totally noob to this crazy world, what does the services.jar do?
What effects does it have? I'm trying to edit the notification bar/icons.
Am I limited to what can be done because of this "services.jar" ?
I keep getting "remount failed: Operation not permitted" when i try to remount
can you do this on the droid eris
should work on eris,just do a nandroid backup first just in case you need to roll back
I just wanted to let people know, i ran into a problem with force closing constantly.
Solution i came up with is if you have the custom OC kernel, you must edit the
pictures and stuff for your UI and then flash the kernel. If the kernel is already in place
it will conflict with the 'adb push framework-res.apk /system/framework/framework-res.apk'
And a data value will change, causing force closes.
~
So, is there any way I can grab the smileys aswell and change them? I want the SonyEricsson smileys instead of those android ones.
I also get force close (of the market app) after modifying images in a custom ROM, on a T-Mobile Pulse. jamsk8er1994, could you explain in more detail what you mean by "edit pictures and flash your kernel"?
The same goes for those of you who want to change the smileys that you see on your phone. If you're tired of those robots you go into
- framework-res.apk\res\drawable-mdpi-v4
and find the files called "emo_im_"
There is 17 files, png's. open photoshop and make the smileys you'd like in a 20x20 canvas (pixels). save for web and devices -png 24, with the same name. In example: (The grinning smiley :-D) is emo_im_laughing.png
Then you drag the new png you've made into the apk file and choose replace existing.
Note: this is only for your viewing, others will not see the smileys you have on your phone unless they got the same on theirs. If they have the droid ones that is what they see when you send. But if they send you a droid smiley you see the custom one you've put in yourself.
i changed all the colors to black on PS. dragged them back into the zip file, renamed it to "framework-res.apk" and typed in the command in the cmd. I got a message saying "failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk' : No space left on device".
what do i do?
Awesome thingy, I'll make everything non-glossy.

[Q] Theme noob question - font color?

I want to change the font color of just the menu pop-ups, so that I can use the dark menus from the Nexus S 4G with an existing theme that just has the stock Epic 4G menus.
I saw in another thread that I need to update the .xml. Which .xml controls that, and what do I change in the file?
Also, what is a good xml editor? I've tried a few, and they come up with gibberish. (tried notepad, microsoft xml notepad, and Adobe Dreamweaver CS5)
Thanks in advance!
I'm not so sure about what to change, but use Notepad++ and decompile it using APK Manager. That will get rid of the gibberish. You could always try to steal the colors.xml from a dark theme like Emotionless Beast, or even from the original Nexus theme.
readingkeeper said:
I'm not so sure about what to change, but use Notepad++ and decompile it using APK Manager. That will get rid of the gibberish. You could always try to steal the colors.xml from a dark theme like Emotionless Beast, or even from the original Nexus theme.
Click to expand...
Click to collapse
In the color folder there is about 18 .xml files. I want to find out if someone knows which one is the one that controls the menu font.
I'd like to know as well because I kinda copy and paste themes together for personal use and edit the icons and images to preference and color..... but the pop up menu is dark font on a dark translucent background so it makes it hard to see until its pressed.... help us themer noobies lmao ^_^
I copied the entire color folder from the nexus into the theme, but it didn't do anything... So, it looks like editing is the way to go, once we figure it out.
Ill tinker with it tomorrow once I get my environment set up (-_-) ^zzzzz
I looked at it to try to figure it out, but I can't do anything without making a bunch of different changes to test one at a time. If it helps, I believe the code for stock should be something along the lines of #ffffffff under one of the main colors. It could be tertiary though.
Sent from my locked down, rootless EVO 3D
I found the colors.xml file from the Epic, but didn't see that file in the nexus folder... no matter though, now I need to find out which value is the menu text, and what to put.
I thought color values were 6 digits, but these are all 8 digits...
monkeyracer said:
I found the colors.xml file from the Epic, but didn't see that file in the nexus folder... no matter though, now I need to find out which value is the menu text, and what to put.
I thought color values were 6 digits, but these are all 8 digits...
Click to expand...
Click to collapse
Hopefully I can clear some of this up for you. The 8 digit color codes are specifying transparency as well, the first two digits correspond to clear or opaque (FF being transparent, 00 being opaque). As far as menu text color, decompile framework-res.apk with apkmanager and take a look at styles.xml in the "values" folder. What you need is in there, do a ctrl + f and find things associated with "menu" text. I don't know off the top of my head exactly what would need changing, but play around with it and see.
Hope this helps!
Sent from my SPH-D700 using XDA Premium App
thomasskull666 said:
Hopefully I can clear some of this up for you. The 8 digit color codes are specifying transparency as well, the first two digits correspond to clear or opaque (FF being transparent, 00 being opaque). As far as menu text color, decompile framework-res.apk with apkmanager and take a look at styles.xml in the "values" folder. What you need is in there, do a ctrl + f and find things associated with "menu" text. I don't know off the top of my head exactly what would need changing, but play around with it and see.
Hope this helps!
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
That definitely helped, now I've got some searching to do... Thanks!
EDIT: ok, found the item: "IconMenu" and changed the xml, recompiled, but the phone wont boot now... reflashed the original theme to get it back up and working... not sure what I am doing wrong...
From 7zip I copied the framework-res.apk from the theme I want into the "place here for modding" folder,
opened APK manager,
selected the apk (option 22)
then decompiled (option 9)
opened the styles.xml in Notepad++,
found the IconMenu:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
Changed it to:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
saved the styles.xml
Then in apk manager I recompiled the apk (option 11)
Then I get the message "An error occurred, please check the log (option 21)"
Then I get "is this a system apk (y/n)"
If I say yes, it says "Aside from the signatures, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure the least # of errors (y/n)"
So, If I say yes, it makes a "keep" folder and says that if I changed an xml, to delete the resources.arsc from the folder, as well as delete anything else that was changed.
I delete the resources.arsc, but since the values folder isn't in the keep folder, I go back to apk manager and press enter.
This creates a "unsignedframeworkres.apk" so I rename it to take off the unsigned part, and copy the file back into 7zip to update the theme
Transfer to my SD card and flash through CWM.
At that point, all I get is the samsung boot logo, nothing further, so I boot back into CWM to reflash the orginal theme to get the phone working.
So where am I going wrong?
aaagh, this is killing me right now...
monkeyracer said:
That definitely helped, now I've got some searching to do... Thanks!
EDIT: ok, found the item: "IconMenu" and changed the xml, recompiled, but the phone wont boot now... reflashed the original theme to get it back up and working... not sure what I am doing wrong...
From 7zip I copied the framework-res.apk from the theme I want into the "place here for modding" folder,
opened APK manager,
selected the apk (option 22)
then decompiled (option 9)
opened the styles.xml in Notepad++,
found the IconMenu:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
Changed it to:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
saved the styles.xml
Then in apk manager I recompiled the apk (option 11)
Then I get the message "An error occurred, please check the log (option 21)"
Then I get "is this a system apk (y/n)"
If I say yes, it says "Aside from the signatures, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure the least # of errors (y/n)"
So, If I say yes, it makes a "keep" folder and says that if I changed an xml, to delete the resources.arsc from the folder, as well as delete anything else that was changed.
I delete the resources.arsc, but since the values folder isn't in the keep folder, I go back to apk manager and press enter.
This creates a "unsignedframeworkres.apk" so I rename it to take off the unsigned part, and copy the file back into 7zip to update the theme
Transfer to my SD card and flash through CWM.
At that point, all I get is the samsung boot logo, nothing further, so I boot back into CWM to reflash the orginal theme to get the phone working.
So where am I going wrong?
Click to expand...
Click to collapse
You shouldn't get any errors if it recompiles successfully, take a look at the log and see what it says. It will tell you the filename and line number if it's something simple. Post it here if you don't understand what it means. Also, try decompiling and then immediately recompile just to be sure you aren't using a pre-modified framework. Usually once it's been changed it is impossible to modify it again.
Sent from my SPH-D700 using XDA Premium App
thomasskull666 said:
You shouldn't get any errors if it recompiles successfully, take a look at the log and see what it says. It will tell you the filename and line number if it's something simple. Post it here if you don't understand what it means. Also, try decompiling and then immediately recompile just to be sure you aren't using a pre-modified framework. Usually once it's been changed it is impossible to modify it again.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
I'm modifying the framework from a theme that has been modified, so is that where this is all getting messed up?
monkeyracer said:
I'm modifying the framework from a theme that has been modified, so is that where this is all getting messed up?
Click to expand...
Click to collapse
It is a definite possibility, try using dream's noCIQ theme template, it's probably back a few pages but I can get you a link if need be.
Sent from my SPH-D700 using XDA Premium App
monkeyracer said:
That definitely helped, now I've got some searching to do... Thanks!
EDIT: ok, found the item: "IconMenu" and changed the xml, recompiled, but the phone wont boot now... reflashed the original theme to get it back up and working... not sure what I am doing wrong...
From 7zip I copied the framework-res.apk from the theme I want into the "place here for modding" folder,
opened APK manager,
selected the apk (option 22)
then decompiled (option 9)
opened the styles.xml in Notepad++,
found the IconMenu:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
Changed it to:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
saved the styles.xml
Then in apk manager I recompiled the apk (option 11)
Then I get the message "An error occurred, please check the log (option 21)"
Then I get "is this a system apk (y/n)"
If I say yes, it says "Aside from the signatures, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure the least # of errors (y/n)"
So, If I say yes, it makes a "keep" folder and says that if I changed an xml, to delete the resources.arsc from the folder, as well as delete anything else that was changed.
I delete the resources.arsc, but since the values folder isn't in the keep folder, I go back to apk manager and press enter.
This creates a "unsignedframeworkres.apk" so I rename it to take off the unsigned part, and copy the file back into 7zip to update the theme
Transfer to my SD card and flash through CWM.
At that point, all I get is the samsung boot logo, nothing further, so I boot back into CWM to reflash the orginal theme to get the phone working.
So where am I going wrong?
Click to expand...
Click to collapse
You need to sign the framework or all you'll get is a bootloop.
Edit: Here's a good resource. http://www.droidforums.net/forum/team-inversion-conversion/64994-theming-guide-changing-system-text-settings.html
The theme is for EF02, so I guess I need to find a clean stock framework... think I found one, but need to mess with it to see.
Saw the droid forums thread, went through the first 17 or so pages with only a few tiny pieces of actual information... tried signing it, and leaving it unsigned, and the error log was actually pretty big, but likely because I was using a "dirty" framework-res.apk.
It seems ridiculous to me that just to change the font color, I would have to start with a fresh framework-res.apk, but if that's the case, I will get to work and see what I can come up with.
Thanks, I will report back with what I find.
monkeyracer said:
The theme is for EF02, so I guess I need to find a clean stock framework... think I found one, but need to mess with it to see.
Saw the droid forums thread, went through the first 17 or so pages with only a few tiny pieces of actual information... tried signing it, and leaving it unsigned, and the error log was actually pretty big, but likely because I was using a "dirty" framework-res.apk.
It seems ridiculous to me that just to change the font color, I would have to start with a fresh framework-res.apk, but if that's the case, I will get to work and see what I can come up with.
Thanks, I will report back with what I find.
Click to expand...
Click to collapse
See this post. It might help you. http://forum.xda-developers.com/showpost.php?p=15242719&postcount=123

[tut] transparent status bar

How to get a Transparent status bar!
ok ok there are still a few problems to work out but maybe some people smarter than I will know the answers.
Here's what you should know before we begin... MAKE A BACKUP FIRST
at the moment ..
1. this does not work with the stock touchwiz launcher (may be a simple fix havn't looked into it yet.)(well works everywhere but the desktop)
works quite well with ZEAM and not too shabby with GO EX (if you use multipicture live wallpaper from the market)
havent looked into any others.
2. the status bar is still clear on the lockscreen (may annoy some)
fixible with multipicture wallpaper just set use lockscreen settings and then lock screen settings and set a black picture.
probably not perfect but it's a start.
thanks to KBanause for providing the info needed at this link http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
This tut also assumes you have some basic computer skills and can navigate from a command prompt. and that your computer has java installed. (most do you just need the runtime enviroment if you don't have it get it here http://www.oracle.com/technetwork/java/javase/downloads/jre-7u1-download-513652.html)
OK if you still want to try this
START HERE
MAKE A BACKUP FIRST
download
clearstatustry.zip (attached above)
unzip this file to a folder (7zip or winrar ect whatever)
you should have 4 files here
baksmali-1.2.8.jar
smali-1.2.8.jar
statusbar_background.9 - 25.png 25% transparency
statusbar_background.9 - 50.png 50%transparency
still here . wow ok you must really want to see this.
pick one of the statusbar_background files and rename it statusbar_background.9.png
now you need the SystemUI.apk from your phone it's in /system/app
grab it with a file browser that has root access and copy it into the folder with that other crap.
next Open SystemUI.apk with your zip tool, do not extract, just open.
navigate to the res/drawable-hdpi/ folder and copy your statusbar_background.9.png over the existing one.
now go back to the root of the SystemUI.apk and Drag classes.dex out to your folder.
open a command prompt and navigate to your folder with these files.
or just shift + right click in the folder you extracted the files to and select open command prompt here.
run this command
java -jar baksmali-1.2.8.jar -o classout/ classes.dex
now go back to your folder
and navigate to classout\com\android\systemui\statusbar
open StatusBarService.smali in a txt editor
find the line
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
above that change const/4 v5, 0x2 to const/4 v5, -0x3
save and close
Go back to your CMD prompt and enter this command
java -jar smali-1.2.8.jar classout -o classes.dex
ALMOST THERE I PROMISE
now copy the classes.dex back into the root of the SystemUI.apk file and close
MAKE A BACKUP FIRST
now just copy that systemui.apk back into the /system/app folder on your phone
dont mind the force close and reboot.
MAKE A BACKUP FIRST
if it doesn't seem to work try a live wallpaper
or use Multipicture live wallpaper from the market to set a static image.
this will probably mess up your phone but hey sorry MAKE A BACKUP FIRST
mjcollum said:
java -jar baksmali-1.2.8.jar -o classout/ classes.dex
Click to expand...
Click to collapse
For those that are unfamiliar with command line and get file not found errors, instead of typing everything try this
Code:
java -jar [b](drag baksmali-1.2.8.jar file here)[/b] -o classout/ [b](drag the classes.dex file here)[/b]
This will fill out the path to your files for you if they aren't in the root directory.
mjcollum said:
Go back to your CMD prompt and enter this command
java -jar smali-1.2.8.jar classout -o classes.dex
Click to expand...
Click to collapse
Same concept here
Code:
java -jar [b](drag smali-1.2.8.jar file here)[/b] [b](drag classout folder here)[/b] -o classes.dex
Either way, thanks for the guide. I'm sure a lot of people will find it useful
Good call I didn't even think to let people know about that.
also another heads up for anyone that doesn't know you can shift + right click in the folder and choose open command window here that way you don't have to navigate to the directory.
Wow- I can't believe this thread got buried with only a few posts.
I have followed these outstanding instructions word for word with no issues at all, however my status bar is still blacker than black! After completing this, I went back and pulled my SystemUI.apk again, decompiled it, and checked to make sure the smali edit and the .9 were still there which of course, they are. Is there an xml color code that needs to be changed as well?? I tested this with both Go launcher and ADW and no luck. Help!?!?
Thanks!
I would think that maybe using the transparent lock screen and this we could figure it out. I would love to have that option!
I really wish we could get this working. its the Last visual hack I want to do on my SII that I can't do. Everything else is perfect just really hate that black bar. I can hide it but then I can't see my info either. Grrrrr
In addition to the smali edit and the statusbar_background.9, I found an XML difference between a miui clear status bar systemUI and all of ours (as in any ET4G systemUI. I'm getting ready to mod it and push it. I'll let you know if it works!
Sent from my SPH-D710 using xda premium
I tried this step by step with no luck. To make it white could you just change -0v3 to -0v1 or make the statusbar image white?
Is this possible with apk manager using notepad++ to edit the smali file and recompiling?
Thanks.
is there an easy way for me to "change" the image to another opaque image ie an actual image not a "color"
I could just crop X pixels from the top of my image and MAKE THAT the background for the status bar if that is possible.
Ok I think I figured it out and I don't even think you have to edit the smali but I could be wrong. You have to edit the layout/statusbar xml file and at the top you see ff000000 which is black and change that to the desired color or make it transparent. I just made mine white but combined with the smali edits shown here but stock statusbar image.
nerys71 said:
is there an easy way for me to "change" the image to another opaque image ie an actual image not a "color"
I could just crop X pixels from the top of my image and MAKE THAT the background for the status bar if that is possible.
Click to expand...
Click to collapse
There is, to do that make sure you have the newest version of Android SDK, Java, and ADB
Download APK Multitool here - http://apkmultitool.com/?q=node/5
Extract it then extract the apps you are going to mod, in your case framework-res and SystemUI.
Put the SystemUI.apk in the modding folder and run the script to decompile SystemUI with the framework-res as a dependency (option 10). Before proceeding, but after decompiling check the log file to ensure everything decompiled without error, otherwise it won’t recompile. Errors are usually due to improperly patched .9.png’s, and while they can be very confusing, you can just swap bad ones out with those from a stock ROM until after you’ve made your edits.
Once you have decompiled without any errors open your project folder (inside whatever you named your APK Multitool folder and navigate to;
res/layouts/statusbar.xml:
On the second line find <com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
change it to
<com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
Do the same on the second to last line which is the date view. It will have the color code (#ff000000) change it to "@drawable/statusbar_background"
Follow the prompts to recompile and use the new apk created in the mod folder called unsignedSystemUI.apk. In the drawable-hdpi folder you’ll find a png named statusbar_background.9.png, which is what will now be displayed as the status bar instead of the color code. You can make it any color you’d like. Ideally, you should ensure that the .9 is properly patched, but if you swap it out after recompiling it somehow doesn’t seem to matter much.
Good luck.
I just don't feel comfortable going to those lengths just yet.
Guess I will have to wait (hope) for a simpler solution
I tried the metamorph one but it does not work (bad file)
You only have to edit calls to the image in system UI status bar XML as someone above said. No smali edits required. Currently it calls a color code. You want it to call an image. Alternately, you could simply use a color code with transparency as well and skip editing an image all together. =P
Sent from my SPH-D710 using XDA App
nerys71 said:
I just don't feel comfortable going to those lengths just yet.
Guess I will have to wait (hope) for a simpler solution
I tried the metamorph one but it does not work (bad file)
Click to expand...
Click to collapse
It's actually easier to do than it is to read, but if you're not comfortable with t yet thats understandable.
What ROM are you using? If you send me the SystemUI.apk your using I can take a look at it.
Change the color code if you want something simple, but if you want to use an image up there, do as posted a few posts up.
calkulin's 2.7
nerys71 said:
calkulin's 2.7
Click to expand...
Click to collapse
+1, if someone has this working on calks 2.7 could you please share the files you edited? Id love to add this to my theme. If no one has already did it, ill give it a try and post results if successful
I can post one tonight, its very easy to do.
Minimal black and white theme has transparent statusbar
Sent from my SPH-D710 using xda premium

( MOD )Themed Widget Bar and System icons

I've coloured some of the icons used in the system bar and the widget bar in the pull down notifications screen. I originally posted this within another thread as I was changing them but thought I'd post it separately to make it easier to find and also i've changed the colour slightly to better match up.
My icons were grey and it just didn't fit with the ICS colours so I've made them all blue which looks much better in my opinion. I've also changed the data/wifi arrows to white which might not be to everyone's tastes but hey, I like it !
See image below:
I'm using the Apex Rom and I'm not sure of any variations there might be with the icons in other Roms (feedback from anyone would be appreciated).
As for installing these the method I use is with Ninjamorph and I'll explain it here for anyone that's not familiar with it:
1) Open Ninjamorph (available free on the market)
2) Click "New Project"
3) Navigate to where your SystemUI.apk is (mines in /system/data)
4) Open it and go to res/drawable-xhdpi
5) Find the icon you want to change then tap it
6) Navigate to my icons to select its replacement (repeat until you've changed all that you want)
7) Hit the back button til you get to the main Ninjamorph menu
8) Hit "Finish Project" and select systemUI.apk
9) Click Yes to overwrite, NO to zip align (important!!) then yes to delete project(to tidy up)
10) Exit Ninjamorph, Reboot and enjoy.......
The process of replacing the icons needs doing one at a time, there are other methods to move these icons into systemUI.apk so use whatever you know works - I seem to get most joy with Ninjamorph though.....

How to add on screen button at framework for ICS

I'm using Xperia arc s at stock rom 4.1.B.0.587 and locked bootloader.
I'm using few mods, and also custom systemui *Colored icons systemui
Few days ago I am starting curious how to add on screen button at my own, and I still cannot do it successfully (got bootloop after xperia title).
After trial and error I found the solution, I don't add original META-INF framework.apk to my modified framework.apk.
Now I'm only curious how to add crt off animation. *I found out that original framework.apk already has the setting to show crt animation. Anyone has an idea what to do??
How I successfully add on screen button:
What I do: (following the tutorial from http://forum.xda-developers.com/showthread.php?t=1364757, and http://forum.xda-developers.com/showpost.php?p=9126643#post9126643 to mod the apk)
1. extract framework-res.apk from my system [framework-res.apk]
2. decompile it with 1.4.10 apktool by this command: java -jar apktool.jar d framework-res.apk framework-res
3. edit bools.xml to change show navigation bar to true
4. edit dimens.xml to change navigation bar height to (21.0dip)
5. rebuild the apk with this command: java -jar apktool.jar b framework-res out\framework-res.apk
6. <from this part I dont really understand> From the output apk [The name is outframework-res.apk] from apktool 1.4.10 (At first I use 1.4.3 and it always failed to compile, but It compiled successfully with 1.4.10), I add the extension to 7z [outframework-res.apk.7z], and unpack it. (i.e: it become outframework-res folder)
7. With 7zip app (actually I use total commander, with zero compression), I replace all files from outframework folder back to outframework.apk.7z
8. I also add resources.arsc from the outframework-res folder and also add it to the outframework-res.apk.7z. *The file size is the same before and after I put the resources.arsc.
9. I downloaded ics_sysbar.zip, then with total commander (7zip like program), I add those files to SystemUI.apk (/res/drawable-hdpi/) using 7-zip or other program. (replace original PNGs to these files).
10. I rename the outframework-res.apk.7z to framework-res.apk then push it to my device along with the SystemUI.apk.
Click to expand...
Click to collapse
Adding "qemu.hw.mainkeys=0" to build.prop enables soft-keys in AOSP/CM10.. I don't use stock ICS so can't confirm this. Wait for few more replies from other users.
soumya_digi said:
Adding "qemu.hw.mainkeys=0" to build.prop enables soft-keys in AOSP/CM10.. I don't use stock ICS so can't confirm this. Wait for few more replies from other users.
Click to expand...
Click to collapse
Thanks for your reply.
By the way, I actually found what is my problem, from analyze other working on screen button.
It turns out the compiled framework don't add META-INF.
After I add that folder to my compiled framework, *with total commander, It works.
And editing the SystemUI turns out unnecessary.
What I still wonder is how to add menu button (the right key, beside back and home button), and also make holding home button show the ics style recent app (the one that you can swipe to remove it from recent app).

Categories

Resources