[Q] Status bar (Transparent) - Galaxy S II Q&A, Help & Troubleshooting

Hey guys,
I am customizing ICS LP8 Rom. Any one know how what I need to edit in "framework-res.apk" to make the drop down notification background from status bar transparent??
Tks

I think you want twframework-res.apk, not framework-res.apk.
After decompiling, look in twframework-res.apk/res/drawable-hdpi for status_bar_item_background_normal.9.png.
Sorry, actually, I think it's in SystemUI.apk? I can't remember... but the file name is still status_bar_item_background_normal.9.png, I believe.
EDIT: Boy, I'm rusty.
Should be in framework-res.apk after all: /res/drawable-hdpi/status_bar_background.png.

ctomgee said:
EDIT: Boy, I'm rusty.
Should be in framework-res.apk after all: /res/drawable-hdpi/status_bar_background.png.
Click to expand...
Click to collapse
Thanks ctomgee,
Just toke a look but it does´t look like it, there is a png with that name but its not the background

Mad_Rick said:
Thanks ctomgee,
Just toke a look but it does´t look like it, there is a png with that name but its not the background
Click to expand...
Click to collapse
Ok, I was looking at an old project when I de-compiled framework-res.apk to mod my battery icon. Could be out-dated and wrong... give me a sec.
EDIT: hold on, actually. Are you on odexed stock? Because I am.... and it could be different for you if you are deodexed, or running a custom ROM.
EDIT 2: ok, I've downloaded my (stock, odexed) framework-res.apk, twframework-res.apk, and SystemUI.apk. I found my notification background in both framework-res.apk and SystemUI.apk, both in /res/drawable-hdpi, both named status_bar_background.png. I'm not sure which one it is though.

ctomgee said:
EDIT: hold on, actually. Are you on odexed stock?
EDIT 2: ok, I've downloaded my (stock, odexed) framework-res.apk, twframework-res.apk, and SystemUI.apk. I found my notification background in both framework-res.apk and SystemUI.apk, both in /res/drawable-hdpi, both named status_bar_background.png. I'm not sure which one it is though.
Click to expand...
Click to collapse
I am on "NEAT ROM LP8"(thanks Salesale) Fully Deodexed, Zipaligned.

Mad_Rick said:
I am on "NEAT ROM LP8"(thanks Salesale) Fully Deodexed, Zipaligned.
Click to expand...
Click to collapse
Hmm... then I'm guessing it would be in your SystemUI.apk. Check there. Decompile, look in /res/drawable-hdpi for all the images starting with "status_bar...".
If you don't find it there, look in the same location, same criteria, in framework-res.apk.

Related

[Q] How to modify notification toggle

Hello,
I would like know how to add a data toggle in notification widget in KG1 2.3.4 Rom.
Like in Cognition 1.15 Rom.
Which file must be modified to add a toggle ?
Thank you
I try to find in xml files in framework-res.apk and framework.jar but i don't know what to look for.
cerede2000 said:
I try to find in xml files in framework-res.apk and framework.jar but i don't know what to look for.
Click to expand...
Click to collapse
Look inside systemUI.apk, should be in there, not in framework-res.apk...

[Q] How to add data toggle in notification

Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
yes please
Yeah i was under the impression that it's Kernel/ROM dependent but its a massive feature im missing coming from a HTC desire running CM7 and im not up for testing the CM nightlies with a new baby to look after just in case my wife needs me asap lol
Please What do not say how to add the data toggle
cerede2000 said:
Hello Developers,
I want to know how to add the data toggle in notification.
I saw the need to change SystemUI.apk (xml and Smali) but this does not seem to be enough because I have the CF's.
Can you tell me more?
Thank you!
Click to expand...
Click to collapse
Wrong thread. You can find out more on " Samsung Galaxy S2 Q&A"
No one answers in Q & A as seems to be the case here.
Why no one wants to unravel the mystery
cerede2000 is right, this is a key feature, that I personally would love to see, on a stockish sgs2 rom.
I've recently noticed the appearance of the data toggle, which was promising, but no way to customise.
perhaps now that the devs are getting more stable roms they could delve further into this?
Ah one can dream.
Hold power button... Data off. hehe
Otherwise, I think Cognition ROM has it.
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
cerede2000 said:
Yes Cognition have it
But i would add to my stock rom
Juste need answer at what files modified for add data toggle ?
Thanks!
Click to expand...
Click to collapse
Posted on your other thread in Q&A... It's in SystemUI.apk, can't say where though.
I try to modify SystemUI.apk in smali files but have FC's
Are you sure is just SystemUI.apk ?
I do not understand when I put directly SystemUI.apk of Cognition ROM it works well.
However when I change my ROM from my stock SystemUI.apk XXKG3 j'obtient one of FC's SystemUI.apk.
Please help me.
Here is my SystemUI.apk : http://www.multiupload.com/15QBK0IX9U
What is wrong with my SystemUI changed.
Thank you!
The reason is that your stock ROM is odexed and the other is deodexed.
This thread should be in the Q&A section.
Absolutely not! I deodex my rom...
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
cerede2000 said:
Please look at my SystemUI.apk to tell me if something is wrong.
Thank you
Click to expand...
Click to collapse
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
sicopat said:
I didn't saw your nor cognition SystemUI.apk. but pushing the .png is not enough.
You should have to edit and modify .xml (baksmali) :
quickpanel_quick_settings.xml in /res/layout/
ids.xml and string.xml in res/values
don't touch to public.xml as it is auto generated when recompilation with APK_Manager
Not tested, but you should compare the files above
Click to expand...
Click to collapse
I not only added the png. I changed the xml files and smali files.
I edit by hand public.xml.
I'll let ApkManager do I see if I have no FC's.
Great! It's work!
We had to do to just let ApkManager public.xml!

[REQ] Help with edit SemcGenericUxpRes

hi, can anyone replace icons from archive to apk in archive ? http://www64.zippyshare.com/v/52683022/file.html because when I'm doing it and changing this app in system/app icons are stretched, I changed icons via WinRar because when I'm trying to de/recompile this app via apk tool and other similar applications I have errors and can't do it properly
regards
Yes... But I need the original .pngs (those are from a decompiled .apk) - you can obtain them easy just unzip that .apk using "7 zip". And the framework-res.apk from the same folder (framework) as SemcGenericUxpRes.apk you are trying to modify (because I need to install it in my "APK Multi-Tool", otherwise I can't recompile the .apk)
so here is my framework and original icons http://www16.zippyshare.com/v/11770168/file.html
XperienceD said:
Quick Tip: If all you want to do is edit or replace normal images, things like your Status Bar icons or Menu icons like those used in the main screen of Settings then decompiling IS NOT necessary, simply open the apk in a zip program then just drag and drop any replacement images in to the correct folder, for images like your actual Status Bar which may have a .9 at the end then decompiling IS required.
Note: It's important to use STORE as the compression method when replacing images in the apk.
Also Note: .9 pngs need to be edited ONLY when in the decompiled folder, if you just take a .9 png and edit it then you won't be able to see the borders that the system needs to determine how that image should be displayed. I have included links at the end of this post to help with .9 editing along with links to other various theming resources that I've come across and bookmarked.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
..
XperienceD said:
..
Click to expand...
Click to collapse
I'm noob at this, can you help me with edit these icons, please ?
Deleted
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
http://www76.zippyshare.com/v/9442694/file.html
LaShto34 said:
I can help you. But I said to give me the original .png that you want to paste into SemcGenericUxpRes.apk. Those that you uploaded the first time was from a decompiled .apk, and the ones uploaded the second time (with framework-res.apk) are already included in SemcGenericUxpRes.apk. Give me those and I promise I'll give you SemcGenericUxpRes.apk in max. 10 minutes after.
Click to expand...
Click to collapse
thanks for your effort but I used tutorial from your link http://forum.xda-developers.com/showthread.php?t=2190716 and did it myself and it is working, thank you very much
godlesplay said:
http://www76.zippyshare.com/v/9442694/file.html
Click to expand...
Click to collapse
Here it is. Try it. I hope it will work. By the way I resized them a little, because they were not the same size as the ones from the original .apk.
Later...
OK. I'm very happy for you. Have a nice day. I used the same tutorial for recompiling...

[REQ] Semi-Transparent Pulldown

Does anyone know how to make the notification pull down semi-transparent? I'm OK with vrtheme, but have no idea what to change with TW. I have seen it done in a few MODS for the phone but none by themselves. I have seen the option with Multi Mod but it isn't ready to go yet.
nweaver11 said:
Does anyone know how to make the notification pull down semi-transparent? I'm OK with vrtheme, but have no idea what to change with TW. I have seen it done in a few MODS for the phone but none by themselves. I have seen the option with Multi Mod but it isn't ready to go yet.
Click to expand...
Click to collapse
Its an xml edit, decompile the systemui.apk, go to res/ values/ drawables.xml. Open that xml with notepad++ or a similar text editor, go the the line "notification_background_color" change from ff000000 to 80000000 for semi trans the lower the first number the more transparent it will be. Then recompile the systemui.apk. Then either you can pull the resources.arsc file from the built apk and put in a vrtheme flashable, or just push the whole new systemui.apk to your phone.
rwc95 said:
Its an xml edit, decompile the systemui.apk, go to res/ values/ drawables.xml. Open that xml with notepad++ or a similar text editor, go the the line "notification_background_color" change from ff000000 to 80000000 for semi trans the lower the first number the more transparent it will be. Then recompile the systemui.apk. Then either you can pull the resources.arsc file from the built apk and put in a vrtheme flashable, or just push the whole new systemui.apk to your phone.
Click to expand...
Click to collapse
Thanks. I'll give it a shot.
Can you make a apk or flashable zip of this?
Sent from my epic rooted SCH-I545 S4 stock!
Haxzor11 said:
Can you make a apk or flashable zip of this?
Sent from my epic rooted SCH-I545 S4 stock!
Click to expand...
Click to collapse
I would, but I have not been able to get it to work.
nweaver11 said:
Does anyone know how to make the notification pull down semi-transparent? I'm OK with vrtheme, but have no idea what to change with TW. I have seen it done in a few MODS for the phone but none by themselves. I have seen the option with Multi Mod but it isn't ready to go yet.
Click to expand...
Click to collapse
nottach xposed mod found here on xda.
has about 70 mods, but each has an on/off toggle so u can just enable this one mod.

[L7 II][ROM][HELP]How to change icon on Notification bar?

How can I change the icons in the notification bar stock with those of G3??
AssoDiPicche said:
How can I change the icons in the notification bar stock with those of G3??
Click to expand...
Click to collapse
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Thank you!!
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Thank you very much , I'll try in the evening !
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
Please can you guide me how to decompile and recompile LGSystemUI.apk
yashgumaste said:
Please can you guide me how to decompile and recompile LGSystemUI.apk
Click to expand...
Click to collapse
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
maxx_hr said:
OK,
First, read this: http://forum.xda-developers.com/showthread.php?t=2251719
When you install al nessesery applications, ask if/when you stuck.
Or, if you ready to learn, there is my favourite app Virtuous Ten Studio, http://forum.xda-developers.com/showthread.php?t=1619473,
or http://virtuous-ten-studio.com/
Click to expand...
Click to collapse
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
yashgumaste said:
I downloaded Virtuous ten studio and trying to decompile android.policy.jar, but cant find how to do it.
I opened that jar file through new project but cant figure out what to do next.
Click to expand...
Click to collapse
Didn't you ask: Please can you guide me how to decompile and recompile LGSystemUI.apk.
So, lets start with that... it is (infinitely) simpler than handling with android.policy.jar.
For beginning, please read and install from here:http://forum.xda-developers.com/showthread.php?t=2251719
All of this you need if you want to use VTS.
That is good base for start and understand this process (and works with kitkat).
And for virtuos ten studio, first you MUST read tutorials at this page: http://virtuous-ten-studio.com/, but if you don't understand base of whole process, VTS is useless.
maxx_hr said:
You must decompile LGSystemUI.apk, then find&replace icons in /res/drawable-hdpi/ folder, must be same size (picture-no data) and type (usually .png).
Some of icons is in lge-res.apk and framework-res.apk. Procedure is same.
Files must be deodexed.
Recompile and enjoy.
Click to expand...
Click to collapse
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
yashgumaste said:
I think we can decompile and compile apk via any root browser (Extract to decomplie and zip to compile).
Do you know a link where I can get notification bar icons from G3.
Thank you
Click to expand...
Click to collapse
I dont know where you take only icons, you must take it by yourself from LGSystemUI, or framework-res from original G3 rom.
Try to extract from here: https://app.box.com/s/m0tvrwabte4x6lyc2la1, if they look like in attached pic.
Or try to search or ask someone on G3 forum.

Categories

Resources