change the color from the font. Is it possible? - Xperia Play Q&A, Help & Troubleshooting

hello guys
I have a question: is it possible to change the color from the font of the time in the statusbar? or somewhere else? I see that in other roms and I want to change it manually. When it's possible, can you post a tutorial-link or something to do change that?
Thanks
Sony Ericsson Xperia Play (R800i)
Android: 2.3.4 - Stock
I think thats enough^^
and sorry for my bad english^^ (best regards from germany )

Justin20020 said:
hello guys
I have a question: is it possible to change the color from the font of the time in the statusbar? or somewhere else? I see that in other roms and I want to change it manually. When it's possible, can you post a tutorial-link or something to do change that?
Thanks
Sony Ericsson Xperia Play (R800i)
Android: 2.3.4 - Stock
I think thats enough^^
and sorry for my bad english^^ (best regards from germany )
Click to expand...
Click to collapse
you need to decompile one of the framework apks and edit the smali (i think ) code
Sent from my R800i using Tapatalk 2

fma965 said:
you need to decompile one of the framework apks and edit the smali (i think ) code
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
hey^^
one of the framework apks? I found one in system\framework\ (framework-res.apk) and I don't find a smali code or something I can see in the apk a folder names "color" but I don't know what I change there :/

To change the color of the clock:
1.Decompile the SystemUI.apk
2.Open res/layout/status_bar.xml
3.Find this line
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4. add
Code:
android:textColor="TEXTCOLOR"
"TEXTCOLOR" being your choice of HEX COLOR CODE (EXAMPLE: #ff49E9BD = Electric Turquoise)
Always put "ff" before the the color code.

ATTACK said:
To change the color of the clock:
1.Decompile the SystemUI.apk
2.Open res/layout/status_bar.xml
3.Find this line
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4. add
Code:
android:textColor="TEXTCOLOR"
"TEXTCOLOR" being your choice of HEX COLOR CODE (EXAMPLE: #ff49E9BD = Electric Turquoise)
Always put "ff" before the the color code.
Click to expand...
Click to collapse
thanks but how can I Decompile it?

Justin20020 said:
thanks but how can I Decompile it?
Click to expand...
Click to collapse
APKTOOL:
http://code.google.com/p/android-apktool/
HOW TO:
http://forum.xda-developers.com/showpost.php?p=21854312&postcount=1

ATTACK said:
APKTOOL:
http://code.google.com/p/android-apktool/
HOW TO:
http://forum.xda-developers.com/showpost.php?p=21854312&postcount=1
Click to expand...
Click to collapse
sorry but I don't look through it
I've followed the instructions and I copyied overwrite it with the old and then I got errors that systemui is terminated. Then I restarted my phone and my statusbar is not there ._. what should I do?
I've signed the apk and I name it from "SystemUI-signed.apk" to "SystemUI.apk"
here looks my Phone now so:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Justin20020 said:
sorry but I don't look through it
I've followed the instructions and I copyied overwrite it with the old and then I got errors that systemui is terminated. Then I restarted my phone and my statusbar is not there ._. what should I do?
I've signed the apk and I name it from "SystemUI-signed.apk" to "SystemUI.apk"
here looks my Phone now so:
Click to expand...
Click to collapse
You don't sign system apk's. If you sign system apk's the signature's wont match. Just re-compile and move the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into original apk.

ATTACK said:
You don't sign system apk's. If you sign system apk's the signature's wont match. Just re-compile and move the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into original apk.
Click to expand...
Click to collapse
I did it but my statusbar isn't there again ._. I do something wrong :/ but I don't know what

Justin20020 said:
I did it but my statusbar isn't there again ._. I do something wrong :/ but I don't know what
Click to expand...
Click to collapse
Try again, but just move the "status_bar.xml'' only to the original apk.

ATTACK said:
Try again, but just move the "status_bar.xml'' only to the original apk.
Click to expand...
Click to collapse
doesn't work. I got messages that system.ui is terminated. When I put the akku from the phone can I boot. And then is my status bar not visible or not there.

Justin20020 said:
doesn't work. I got messages that system.ui is terminated. When I put the akku from the phone can I boot. And then is my status bar not visible or not there.
Click to expand...
Click to collapse
Ok, could you upload your FRAMEWORK-RES.APK & SYSTEMUI.APK so I can have a look at it.
-just remember to post the link-
QuickFilePost:
http://www.qfpost.com/

ATTACK said:
Ok, could you upload your FRAMEWORK-RES.APK & SYSTEMUI.APK so I can have a look at it.
-just remember to post the link-
QuickFilePost:
http://www.qfpost.com/
Click to expand...
Click to collapse
Framework-res.apk
SystemUI.apk
the color I want is #ff00ffff (its cyan)

Use UOT Kitchen http://uot.dakra.lt/
EDIT: wrong color code ! do you mean #00FFFF

MonY960 said:
Use UOT Kitchen http://uot.dakra.lt/
EDIT: wrong color code ! do you mean #00FFFF
Click to expand...
Click to collapse
uff its so complicated xD
wrong code? I thought I must add "#ff" o.o

Justin20020 said:
uff its so complicated xD
wrong code? I thought I must add "#ff" o.o
Click to expand...
Click to collapse
http://uot.dakra.lt/how_to/

Justin20020 said:
Framework-res.apk
SystemUI.apk
the color I want is #ff00ffff (its cyan)
Click to expand...
Click to collapse
Here's the edited "status_bar.xml" just put it in your original SystemUI.apk.
You are correct, you have to put "FF" or "TT" in front of the color code.
LIKE THIS:
Code:
android:textColor="#ff00ffff"

ATTACK said:
Here's the edited "status_bar.xml" just put it in your original SystemUI.apk.
You are correct, you have to put "FF" or "TT" in front of the color code.
LIKE THIS:
Code:
android:textColor="#ff00ffff"
Click to expand...
Click to collapse
doesn't work. Should I do it with android commander? (I got when I press root access "root unavailable". but my phone is rooted) I overwrited the systemui.apk with root explorer

Justin20020 said:
doesn't work. Should I do it with android commander? (I got when I press root access "root unavailable". but my phone is rooted) I overwrited the systemui.apk with root explorer
Click to expand...
Click to collapse
Try flashing it through recovery [CWM]

ATTACK said:
Try flashing it through recovery [CWM]
Click to expand...
Click to collapse
I got a bootloop .___.

Related

Post Your Theming Problem Here

Hello guys..
seems like some people getting hard tie when doing advanced theming..
so post your problem here..
you can attach screenshoot if possible..
I'll try to help if I can
but before that you need to know about compiling and decompiling using apktool or something similar first, so this could help me easier to answer them..
note : this thread won't be long, so I need someone to continue this thread later
How to add power menu option (recovery,reboot,etc)
Univos said:
How to add power menu option (recovery,reboot,etc)
Click to expand...
Click to collapse
some roms like coderom v2 has it.
Jun Hong said:
some roms like coderom v2 has it.
Click to expand...
Click to collapse
I know, but how to do that?
Univos said:
I know, but how to do that?
Click to expand...
Click to collapse
what do u mean how to do that? just flash the rom as its preinstalled.
or try looking into this thread http://forum.xda-developers.com/showthread.php?t=1115363
Jun Hong said:
what do u mean how to do that? just flash the rom as its preinstalled.
or try looking into this thread http://forum.xda-developers.com/showthread.php?t=1115363
Click to expand...
Click to collapse
I mean, how to add power menu option? (with base firmware gingerbread xwkpn)
http://forum.xda-developers.com/showpost.php?p=16579650&postcount=44
I think he meant compiling one for himself. I for one would prefer if the power menu had a mobile network trigger, but have no idea how to do that.
seilent, how to add our remove clock from the top bar?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was wondering how i could change this area (see pic). I know that these files are located in SystemUI.apk but i dont know which belongs to which.
I would like to know the filename for these:
Statusbar, Carrier(Tele2) area, quicksetting background.
Also, is there any way to put a clock next to the carrier text?
Thanks in advance.
edit: How do i make it flashable?
Univos said:
I mean, how to add power menu option? (with base firmware gingerbread xwkpn)
Click to expand...
Click to collapse
You can find a nice tutorial HERE
Lovetz said:
seilent, how to add our remove clock from the top bar?
Click to expand...
Click to collapse
you need to edit the \SystemUI\res\layout\status_bar.xml
then remove the line that contain this :
Code:
<com.android.systemui.statusbar.Clock
and poff, it's gone
QNBT said:
I was wondering how i could change this area (see pic). I know that these files are located in SystemUI.apk but i dont know which belongs to which.
I would like to know the filename for these:
Statusbar, Carrier(Tele2) area, quicksetting background.
Also, is there any way to put a clock next to the carrier text?
Thanks in advance.
edit: How do i make it flashable?
Click to expand...
Click to collapse
Statusbar belongs to statusbar_background.png or .9.png. Also you need to modify \SystemUI\res\layout\status_bar.xml open it with notepad++ and you'll see line like this :
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="[SIZE="3"][B]#ff000000[/B][/SIZE]" android:focusable="true" android:descendantFocusability="afterDescendants"
look at the #ff000000 part, by default it shows that our statusbar background is just a color, so we need to change it to image.. so replace it with
Code:
@drawable/statusbar_background
the line would look like this :
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="[SIZE="3"][B]@drawable/statusbar_background[/B][/SIZE]" android:focusable="true" android:descendantFocusability="afterDescendants"
Carrier located in status_bar_expanded.xml in line 8 that contain something like this :
Code:
<com.android.systemui.statusbar.CarrierLabel
I think it's quite possible to place clock next to it..
try to add this below that line..
Code:
<com.android.systemui.statusbar.Clock android:textSize="24.0dip" android:textColor="#ff848484" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
It should look similar like this :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<com.android.systemui.statusbar.Clock android:textSize="24.0dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:paddingLeft="4.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
but I haven't tried it by myself
Quicksetting background located in \SystemUI\res\drawable-mdpi\quickpanel_quick_settings_background.png or .9.png
you can change it, but if you change the filetype from .9.png to .png and vice versa (like this) quickpanel_quick_settings_background.9.png to quickpanel_quick_settings_background.png..
you need to delete build and dist folder before compiling the file, otherwise you'll se FC in statusbar
To make it flashable I just simply take working update.zip file and change the contents that's my favorite, easiest and faster way for me
Thanks a lot! Let's see how it turns out!
seilent said:
To make it flashable I just simply take working update.zip file and change the contents that's my favorite, easiest and faster way for me
Click to expand...
Click to collapse
Lets say i want to change one image file, but it is indexed, can i change the indexed file with a non indexed one?
if not, is there any specific settings when indexing?
stranxk said:
Lets say i want to change one image file, but it is indexed, can i change the indexed file with a non indexed one?
if not, is there any specific settings when indexing?
Click to expand...
Click to collapse
indexed..
did you mean indexed in public.xml or indexed colors..?
if indexed in theme (which means public.xml) it works but you need to modify the xml where the original (indexed one) is used..
if it comes about color, that should be no problem..
seilent said:
indexed..
did you mean indexed in public.xml or indexed colors..?
if indexed in theme (which means public.xml) it works but you need to modify the xml where the original (indexed one) is used..
if it comes about color, that should be no problem..
Click to expand...
Click to collapse
colors, sorry... so, changing indexed color files with non indexed ones is fine?, sorry but i didn't understand, my english isn't very good hehe
stranxk said:
colors, sorry... so, changing indexed color files with non indexed ones is fine?, sorry but i didn't understand, my english isn't very good hehe
Click to expand...
Click to collapse
it should be fine when you compiling is success
Hi, theming master! How to make black background in any apk files transparent, just like Jun Hong's transparent TouchWiz app drawer? Thanks in advance
I guess its a compiling issue
I have this problem in my themes that the slide unlock's parts are in different colour, i know that this problem has been rectified by fla.sh as he shows it in one of his screenshots. I understand that his framework-res.apk was quite large and mine is less than 50% of it. I guess this problem has come due to compilation of the apk. The new apktoo lcompresses them i guess due to which that problem. Thanks in advance. I have also attached a file to show the problem
tr.supradeep said:
I have this problem in my themes that the slide unlock's parts are in different colour, i know that this problem has been rectified by fla.sh as he shows it in one of his screenshots. I understand that his framework-res.apk was quite large and mine is less than 50% of it. I guess this problem has come due to compilation of the apk. The new apktoo lcompresses them i guess due to which that problem. Thanks in advance. I have also attached a file to show the problem
Click to expand...
Click to collapse
Copy btn_lock_normal.9.png from the original framework-res.apk (located at /res/drawable-land-mdpi) and overwrite into your new UOT-made framework-res.apk and about my framework-res.apk is larger than you, it caused because I'm prefer to not optimize it (to reduce errors of course)
Hey Seilent
How do you make the status bar transparent?
Maybe you've seen me asking this very question before on your Meizu theme thread but Im just curious.. Is there a way to make this happen without using Meizu and that live wallpaper thingy?
Err.. Don't get me wrong; I love your Meizu theme and in fact, Im using it right now. But like I said before, Im just curious..

[compilation][guide] battery icon pack!

[TUTORIAL][GUIDE][BATTERY ICON PACKS COMPILATION]​
Assalamualaikum and hi everyone...
i make this thread for compilation of battery icon pack
you can download it from attachment at 1st, 2nd and 3rd post
Note: those icon packs are not flashable..you need to extract them and put to your framework-res.apk
screenshot for compilation of battery icon packs
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
GUIDE
This guide is about how to change battery icon and make it changing by 1% and continuously increasing animation by 1% while charging.
Actually this is very simple guide and many of you already know this.
Some of roms out there already have this animation so this guide is for users of rom that not have this animated battery icon.
Note: Since it is a flow animation so i don't know how to show you..i just upload some screenshots
I'm not responsible for any damage done to your phone.
Use at your own risk!
Click to expand...
Click to collapse
things needed:-
1. knowledge about how to decompile and recompile apk files
2. APKTool
3. framework-res.apk of your rom
4. XML editor
5. XML file that i attached at the attachment
6. PNG icon (download it at attachment or you can choose your own)
Make sure you make a back up for your current framework-res.apk
Click to expand...
Click to collapse
steps:-
1. download my xml file that i attached at the attachment
2. take out framework-res.apk from your device system and decompile it
3. copy downloaded xml files and go to folder framework-res/res/drawable paste and replace there
4. next put png image i attached or choose your own png to framework-res/res/drawable-ldpi
5. recompile framework-res.apk and push to your system
6. Done! (try to put charger to see whether charging animation working or not)
IF ABOVE STEPS NOT WORKING TRY THIS!
steps:-
1. download xml file that i attached at the attachment
2. take out framework-res.apk from your device system and decompile it
3. go to framework-res/res/drawable
4. open stat_sys_battery.xml with xml editor
5. find this line and delete all text below that
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
6. open stat_sys_battery.xml file that i attached and copy text inside it starting from
Code:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
until the end of text and paste it below text at step no 5. (take note about lines and alignment)
7. save that xml file
8. next open stat_sys_battery_charge.xml in your drawable folder
9. find this line and delete all text below that
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
10. open stat_sys_battery_charge.xml that i attached and copy text inside it starting from
Code:
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
until the end of text and paste it below line at step no 9. (i can't put here because they too long)
11. save both xml files
12. next put png image i attached or choose your own png to framework-res/res/drawable-ldpi
13. recompile framework-res.apk and push to your system
14. Done! (try to put charger to see whether charging animation working or not)
Credit:
-Google
-creator of those png icon
Sorry for my bad english
more battery icon packs
more battery icon packs
nice...
can i put it up in my upcoming website???
Blaze said:
can i put it up in my upcoming website???
Click to expand...
Click to collapse
Sure!!! and don't forget to give me link to that website,,,
Hey ! all is Good! Very Nice !
Will Try And Report !
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
fajarfuad said:
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
Click to expand...
Click to collapse
stock odex or deodex? this mode will not work on stock odex? but for stock deodex i'm not sure working or not
Asmy Yuh said:
stock odex or deodex? this mode will not work on stock odex? but for stock deodex i'm not sure working or not
Click to expand...
Click to collapse
my stock rom is deodex. but it still not working :'(
fajarfuad said:
my stock rom is deodex. but it still not working :'(
Click to expand...
Click to collapse
i'll check it and report
fajarfuad said:
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
Click to expand...
Click to collapse
i have try this mode on stock deodex DXLL1 and it works..
Asmy Yuh said:
i have try this mode on stock deodex DXLL1 and it works..
Click to expand...
Click to collapse
really?
can you tell me step by step when decompiling and compiling framework-res.apk ?
i'm confused.
thanks before
fajarfuad said:
really?
can you tell me step by step when decompiling and compiling framework-res.apk ?
i'm confused.
thanks before
Click to expand...
Click to collapse
do u really know how to recompile and decompile?
did u copy META-INF folder from original framework-res.apk?
Asmy Yuh said:
do u really know how to recompile and decompile?
did u copy META-INF folder from original framework-res.apk?
Click to expand...
Click to collapse
i'm sure i following the guide to decompile and recompile with apktool.
and i'm succes to decompile original framework-res.apk and edit this.
when i recompile. it says...
W: couldn't find sources
I: checking wheter resources has changed . . .
I: building resources . . .
Warning: AndroidManifest.xml already defines minSdkVersion (bla. . .bla. . .)
is this normal?
but build and dist folder was appear..
fajarfuad said:
i'm sure i following the guide to decompile and recompile with apktool.
and i'm succes to decompile original framework-res.apk and edit this.
when i recompile. it says...
W: couldn't find sources
I: checking wheter resources has changed . . .
I: building resources . . .
Warning: AndroidManifest.xml already defines minSdkVersion (bla. . .bla. . .)
is this normal?
but build and dist folder was appear..
Click to expand...
Click to collapse
after that did u copy META-INF folder from original framework to modified framework?
Asmy Yuh said:
after that did u copy META-INF folder from original framework to modified framework?
Click to expand...
Click to collapse
so i must copy META-INF folder from original framework to build folder?
fajarfuad said:
so i must copy META-INF folder from original framework to build folder?
Click to expand...
Click to collapse
YES! copy META-INF folder to modified framework-res.apk
Asmy Yuh said:
YES! copy META-INF folder to modified framework-res.apk
Click to expand...
Click to collapse
okay, i will try it
thank you very much.
dosen't work here
test
#Luan said:
dosen't work here
Click to expand...
Click to collapse
thanks, i'm test

[GUIDE] KitKat Style Gradient StatusBar

Hi Guys, Today I am going to show you how to make KitKat Style Gradient StatusBar.
Preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt.
Requirements:
SystemUI.apk from you ROM
SystemUI.zip from here
Know how to Decompile/Recompile
Let's start:
1. Download and extract SystemUI.zip
2. Decompile SystemUI.apk
3. Go to res/drawable
4. Copy gradient_bg.xml from SystemUI.zip there
5. Open res/layout/status_bar.xml
6. In the second line find this code
Code:
android:background="#ff000000"
and change it to
Code:
android:background="@drawable/gradient_bg"
7. Recompile SystemUI.apk
Push it into system/app
Set proper permissions(rw-r--r--)
Credits:
CarlDeanCatabay
Reserved 01
Reserved 01
Awesome! nice work @MuSaddiq
Making GFX Devs Proud :good::good::good:
DC07 said:
Awesome! nice work @MuSaddiq
Making GFX Bandits & Devs Proud :good::good::good:
Click to expand...
Click to collapse
Thanks
cool mod frnd!!!!!
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Uchooseme said:
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Click to expand...
Click to collapse
Can u show me your status_bar.xml ?
MuSaddiq said:
Can u show me your status_bar.xml ?
Click to expand...
Click to collapse
No need, I just forgot to change the background in line 11 of my status_bar.xml. Turns out the status bar notifications and the normal status bar had different backgrounds.
Thanks anyway :good:
Good job, Bro:good:
CM7 on this method does not work?
Statusbar disappears..
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
Sorry, But I don't know that this will work on cm or not.
Sent from my GT-S5360 using xda app-developers app
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
san122 said:
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I dont think this will work on cm7 as you need to hack the systemui and then you need to build a theme with a transparent statusbar to apply in theme chooser
I wrote a guide all about this quite some time ago
you can find it
http://forum.xda-developers.com/showthread.php?t=2204389
Why dont you use tinted status bar of xposed modules
i tried ur method...but how to remove that line???
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
I think its come from other xml file like me in first try
G S c u l e r l o r
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
Check in dimens.xml of framework
About status bar hieght
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
MuSaddiq said:
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
kk...thanks for the reply....and i would try.....but i am doing it with my phone so it takes lot of time.....anyways changed the framework with the semi transparent mod provided by zionnear for lenox.....AND yes it removed the divider line
The gradient isn't perfect on my ICS Xperia Ray. It doesn't blend in 100% (see attachment).

[GB][GUIDE/MOD/SHARE] - Redux Power Menu

Hello fellow XDA users, I have another mod over here and it is exactly unique as I havent seen a guide like this.
What is this all about?
This is a Power Menu, a renewed and redux Power Menu of mine, I am sharing this to everyone for they surely want it too. This mod compose of the following:
PROS:
1. JB Sound Panel
2. Advance Reboot Option (Fast boot added)
3. Re-arrange Power Menu
4. Screenshot added
CONS:
No data network list adapter
Click to expand...
Click to collapse
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This modification comprises of the GlobalAction.java and framework-res and lil trick, I modified the AOSP GlobalAction.java and make it in stock (I gurantee no problem at all.) So the data network list adapter wasnt added back but I am doing everything I could just to bring it back again and again. Since I am annoyed too that there is no data network overthere. Also I tried to port the smali to stock but I am having a problem with Verification Error(I think the API is the cause, the invoke gA, g0, p0 thingy. LOL.)
This also work with other device since its AOSP made. I dont knew where to put the thread around the XDA , I only knew this Galaxy Y Forum cause it rocks and hell awesome.
Enough said, Ill be dividing this guide unto parts. The android.policy.jar and the framework-res.apk
Requirements:
1. ApkTool
2. PC
3. Your very own android.policy.jar
4. Your framework-res.apk
5. Working brain with some time to think since Ill be making your head dizzy.
6. A Galaxy Y
7. And the zip you will download at the bottom.
Click to expand...
Click to collapse
Before proceeding,
For those in doubt, backup first. You are not Chuck Norris Lets get it on.
Click to expand...
Click to collapse
Instruction
Prologue:
1. Extract the zip file in any directories you want
Chapter 1. Making your framework-res ready for the battle.
1. Pull your framework-res.apk
2. Decompile your framework-res.apk
3. Now go to the extractred file and go to its framework-res folder and find the 2 folder(drawable-ldpi and layout) and copy it to your framework-res.apk/res/*here
4. Now after copying, compile your framework-res.apk now.
5. Now its finish, save it. But.. decompile your new framework-res.apk again. Why? To see the new public ids that had been registered.
Chapter 2. Subtitute the old GlobalAction troops with the new GlobalAction (ALL HAIL SOLDIERS.)
1. Pull your android.policy.jar
2. Decompile your android.policy.jar
3. Now delete all the GlobalActions.smali in com/android/internal/policy/impl also with the dollar sign, delete them all. No remnants will survive.
4. Lets go back to the zip that you had downloaded, check the com/android/internal/policy/impl folder, you will see a GlobalAction.smali with other co-smali. Copy all of them and paste it to your decompiled android.policy.jar.
Chapter 3. Substitution of IDs (NO ID NO ENTRY)
1. Go to your decompiled new framework-res.apk/res/values/public.xml
2. Take note of the following ids that had been added at chapter 1. Maybe you write them, memorize or what so ever. Mainly they are the
<public type="id" name="soundpanel1" id="0x010202aa" />
<public type="id" name="soundpanel2" id="0x010202ab" />
<public type="id" name="soundpanel3" id="0x010202ac" />
<public type="drawable" name="ic_lock_reboot" id="0x010803ed" />
<public type="drawable" name="ic_lock_screenshot" id="0x010803ef" />
<public type="layout" name="global_actions_jbsoundpanel" id="0x01090092" />
Click to expand...
Click to collapse
(Our ids may vary depending on the number that had been registered, but here is mine as an example)
3. Go to your android.policy.jar(the one with a new GlobalAction man ) Open the GlobalActions.smali
4. Find the "0x10803ef" without quotation. and replace it with corresponding id of your "ic_lock_reboot"
Mine was 0x010803ed, so I changed 0x10803ef to 0x010803ed
5. Same with screenshot button, find "0x10803f0" and replace it with the id of "ic_lock_screenshot"
6. Save your GlobalActions.smali
Chapter 4. Making the ultimate weapon of the story. (LAZZEERRRR ZWORD!)
1. Go to GlobalActions$JBSoundPanel.smali in your android.policy.jar and open it.
2. Find "0x1090093" and replace it with the id of your "global_actions_jbsoundpanel" layout.
3. Now this will be the hardest, really hard. ...
4. Find " .array-data 0x4" , below it you will see a three (musketteers/weirdos/hex) and end with ".end array-data" right?
Additional Info: They are the ids soundpanel1, soundpanel2, soundpanel3. The order were ,soundpanel1 at the top id array, at the middle id array was the soundpanel2 and the bottom id array was soundpanel3.
Example(The given):
0xabt 0x2t 0x2t 0x1t #soundpanel1
0xact 0x2t 0x2t 0x1t #soundpanel2
0xadt 0x2t 0x2t 0x1t #soundpanel3
When they are converted, they where be
<public type="id" name="soundpanel1" id="0x010202ab" />
<public type="id" name="soundpanel1" id="0x010202ac" />
<public type="id" name="soundpanel1" id="0x010202ad" />
Take a look at "0xabt 0x2t 0x2t 0x1t", So the logic in this will be,
1st 5 digit is the 2digit to the last of the ids
2nd 4digit is the 2 digit before the last 2 ids
3rd 4digit is the 2 digit before the before of the last 2 digit
4th 4digit is the 4 digit at the beginning of the public id.
As my case I have an id of
0x10202aa so it will be 0xaat 0x2t 0x2t 0x1t
Click to expand...
Click to collapse
(NEVER EVER FORGET THE T.)
5. Save the file
6.Recompile your android.policy.jar
7. Push/Flash the new framework-res.apk and android.policy.jar
8. Dont worry there will be NO bootloop will occur, if problem exist, take a logcat in the error. I am not a fortune teller(just a handsome man.)
Click to expand...
Click to collapse
Download link:
The zip, the protagonist of the story,
https://drive.google.com/file/d/0B2tO5pSUM6fpa00zRF9sMUlsUzg/edit?usp=sharing
Click to expand...
Click to collapse
Credits:
squadzone, for the CMX Source of him
mariozawa for teaching me how to use broadcast intent properly.
spacecaker, for comparing mine from his
kahvitahra, for the hotboot idea and the usage in alert dialog builder in Windows
ocoot and lidroid, for the screenshot and reboot png
Click to expand...
Click to collapse
Take note(Commercial):
I gonna advertise PxL now , it has like this and it has more features than this. Spare me.
I advertise PotatoInc of mariozawa too, that freaking awesome mod at its madness.
Dont forget to press thanks button.
Also, be careful of the "0x010202ab" whenever you are putting it in smali, delete the second zero athe beginning, so it will be like this, "0x10202ab" this issue occurs in apktool.
And I feel sorry because I am messing up this thread since I want to make it lively. I am a crazy ass man, sorry admins :3
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for the sidequest of the ZIP
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Mranggapo said:
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Click to expand...
Click to collapse
I just only copy the name from somewhere guide. HAHAHA. Deymm.
I will try this Ultimate Weapon. XD
PineappleOwl said:
I just only copy the name from somewhere guide. HAHAHA. Deymm.
Click to expand...
Click to collapse
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
AbhiLP said:
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
Click to expand...
Click to collapse
Hello. Sir bumslayer guide only covers up the reboot button. But mine was i added screenshot and soundpanels hehe
hmm... look like cmx
nice guide
will try
Minions_Army said:
hmm... look like cmx
nice guide
will try
Click to expand...
Click to collapse
I forked CMX hehehe .
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
AuliaYF said:
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
Click to expand...
Click to collapse
He has but we are kinda bit similar I fork from CMX. ?
It will be a giant leap to our device. Good luck buddy ?
Any help? http://pastebin.com/HBR333k9
AWESOME GUIDE I looking for JB SoundPanel
And its work like a charm
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
aldzi said:
Any help? http://pastebin.com/HBR333k9
Click to expand...
Click to collapse
What did you do sir?
TheNightBaron said:
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
Click to expand...
Click to collapse
Oh there still someone who knew it
Good work bro! Try making a xposed module
Sent from moon
PineappleOwl said:
What did you do sir?
Oh there still someone who knew it
Click to expand...
Click to collapse
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
m4RinKo2 said:
Good work bro! Try making a xposed module
Sent from moon
Click to expand...
Click to collapse
Hehe i dont know yet how but ill do it if i need hehehe
aldzi said:
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
Click to expand...
Click to collapse
Try apktool hehe
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
Try modding by GB, CMX has some backported packages.?
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
i'm a litle bit confused, stock volume popup using Toast and setView method, but if i put seekbar in it, the popup only appear by it's duration.

[MOD][GUIDE]Android L Notification View.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:
Click to expand...
Click to collapse
Heres what you need:
framework-res.apk
download external file here
Click to expand...
Click to collapse
Steps:
Decompile your framework-res.apk
eExtract downloaded file to framework-res folder
Add this to ids.xml and public.xml
Code:
zzzz_ucup_icon
And recompile
Click to expand...
Click to collapse
Issues:
Media Scanning notif won't change. Can somebody teach me how?
Click to expand...
Click to collapse
Tips:
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
Credits:
Google
Stackoverflow
SpaceCaker
CarlDeanCatabay
PineappleOwl
jsarunotres
Click to expand...
Click to collapse
*note:
If you have any problem, don't send me your files, i won't do that for you. I want people learn from mistakes.
Click to expand...
Click to collapse
Pls make this .png for hdpi
the_vanya1 said:
Pls make this .png for hdpi
Click to expand...
Click to collapse
i think 9 patch pngs are all the same.
sir aulia, i think sir tentenponce is making this. you can ask him, trying now
i got error when recompiling, error at drawable zzz_ucup_circe_image
Mranggapo said:
sir aulia, i think sir tentenponce is making this. you can ask him, trying now
Click to expand...
Click to collapse
So here's mine. Ups spoiler alert!
Mranggapo said:
i got error when recompiling, error at drawable zzz_ucup_circe_image
Click to expand...
Click to collapse
oh wait, i forgot to add that
AuliaYF said:
So here's mine. Ups spoiler alert!
oh wait, i forgot to add that
Click to expand...
Click to collapse
holy floating XD, wait im gonna post mine too
EDIT:
i still have my old background sir, althought the notif place is white and cool
Its cause the media scanning text cant see due white-on-white text Otherwise its awesome
GSculerlor said:
Its cause the media scanning text cant see due white-on-white text Otherwise its awesome
Click to expand...
Click to collapse
well, you don't need to post this. it's already said on #1
AuliaYF said:
So here's mine. Ups spoiler alert!
Click to expand...
Click to collapse
Nice one sir, but can you make a video on the behavior of that? you have nice looks there. Im lazy at pngs xD that circle rectangle was amazing, also my problem was the media scanning, white to white. </3
Here's the link of my video: https://www.youtube.com/watch?v=3hhRGIPo9t0&feature=gp-n-y&google_comment_id=z12hgnvjdu2iefl3q23rtnk53mr2wl0no
your screenshot is very well themed.
Here's mine
tentenponce said:
Nice one sir, but can you make a video on the behavior of that? you have nice looks there. Im lazy at pngs xD that circle rectangle was amazing, also my problem was the media scanning, white to white. </3
Here's the link of my video: https://www.youtube.com/watch?v=3hhRGIPo9t0&feature=gp-n-y&google_comment_id=z12hgnvjdu2iefl3q23rtnk53mr2wl0no
your screenshot is very well themed.
Click to expand...
Click to collapse
maybe this one.
https://www.facebook.com/photo.php?v=871807956182336
white on white fix
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
thanks for the hint, i think users can handle that using this guide.
jsarunotres said:
to fix that problem. u must decompile MediaProvider.apk of ur rom
Go to res/layout
and open the one n only xml there using any text editor
change the color value from #ffffffff to any color u want like #ff000000 for black text
recompile and push
@ same goes to another things like bluetooth notif, wifi (if necessary) etc etc. u must decompile every app acc.
Click to expand...
Click to collapse
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
AuliaYF said:
thanks for the hint, i think users can handle that using this guide.
Click to expand...
Click to collapse
ok sir wc
tentenponce said:
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
Click to expand...
Click to collapse
wc sir
tentenponce said:
Thanks for the info sir. can I remake this on my future guide? but the credits goes to you sir.
Click to expand...
Click to collapse
AuliaYF said:
thanks for the hint, i think users can handle that using this guide.
Click to expand...
Click to collapse
I Dont understand this line, can you please explain me? Please?
Decompile your framework-res.apk
eExtract downloaded file to framework-res folder
Add this to ids.xml and public.xml
Code:
zzzz_ucup_icon
And recompile
Click to expand...
Click to collapse
AuliaYF said:
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:​
Heres what you need:
Steps:
Issues:
Tips:
Credits:
*note:
Click to expand...
Click to collapse
sir AuliaYF i got these errors when i try these guide , i followed the guide , download the zip file , and placed on framework then i added these id on ids <item type="id" name="zzzz_ucup_icon">false</item>
and recompile , these are the errors
res/drawable-ldpi/status_bar_item_background_normal.png:0: error: Resource entry status_bar_item_background_normal is already defined.
res/drawable-ldpi/status_bar_item_background_normal.9.png:0: Originally defined here.
res/drawable-ldpi/status_bar_item_background_pressed.png:0: error: Resource entry status_bar_item_background_pressed is already defined.
res/drawable-ldpi/status_bar_item_background_pressed.9.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL6205886431053891068.tmp, -x, -0, arsc, -S, /sdcard/apktool/framework-resJC_src/res, -M, /sdcard/apktool/framework-resJC_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
HELP
AuliaYF said:
Hi guys, im back! Today I will share you something, this mod will change your notification item view to Android L-like.
Screenshot:​
Heres what you need:
Steps:
Issues:
Tips:
Credits:
*note:
Click to expand...
Click to collapse
sir aulia Off Topic
do you know where to find this colors ? the black text , pls help me . :laugh:
i cant find it :angel:
carlo_autor said:
...
res/drawable-ldpi/status_bar_item_background_normal.png:0: error: Resource entry status_bar_item_background_normal is already defined.
res/drawable-ldpi/status_bar_item_background_normal.9.png:0: Originally defined here.
res/drawable-ldpi/status_bar_item_background_pressed.png:0: error: Resource entry status_bar_item_background_pressed is already defined.
res/drawable-ldpi/status_bar_item_background_pressed.9.png:0: Originally defined here.
Click to expand...
Click to collapse
where's the 9.png extension?
AuliaYF said:
where's the 9.png extension?
Click to expand...
Click to collapse
sir aulia , im done with that , hehe ive deleted the old pngs without .9 pngs because it is duplicated so i deleted it
sir do know where to find that black text ? thanks in advance

Categories

Resources