[Q]Recovery Toggles - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Any one here knows what smali is responsible for the Recovery toggle on the statusbar expanded? Thanks!

Have a look in the power widget smali - it's probably referenced there then you can find it
lidroid/systemui/quickpanel
maybe rebootbutton.smali

marcussmith2626 said:
Have a look in the power widget smali - it's probably referenced there then you can find it
lidroid/systemui/quickpanel
maybe rebootbutton.smali
Click to expand...
Click to collapse
Is that the only one? i don't know how to read smali

Related

[Q] [Solved] Change notification's background behind the buttons

I'm cooking framework-res.apk for my theme.
But I can't find the background of notification buttons(wifi,gps...).
I've been searching it for a period of time, but I just know the background file is in framework-res.apk...
I also take a look at all of the files in it, but I have no idea which one is the file...
Can someone tell me what is the name of the file...?
============================================================================
Updated - Thanks for clem_ita's help!
The settings of notification's background behind the buttons are in lge-res.apk.
The method to change its color:
1. Use apktool to decompile the lge-res.apk.
2. Go to res\layout and find "lge_status_bar_expanded.xml".
3. Open it with a text editor, and search for the string:
android:id="@id/quick_setting"
Click to expand...
Click to collapse
4. You'll see something like this (In my Chinese lge-res.apk it shows like this):
android:background="#ffd0d0d0"
Click to expand...
Click to collapse
Just change the color in the quote.
5. Recompile it and replace the stock one with the modified one.
After reboot, you'll see the change.
[Sorry for my poor English]
If the instruction is not clear enough, please tell me.
if u find the name, post it here
ccdreadcc said:
if u find the name, post it here
Click to expand...
Click to collapse
Because I can't find it, so I just post here....
In your theme(DarkRoom), the notification background is changed...
Even though I extracted the framework-res.apk in your theme, I still couldn't find the image which looks like the background...
I have no idea either... I just used other frameworks as base for the theme...
I have not tested yet, but this backgroudn color should be set via a xml file in lge-res.apk
the xml file should be lge_status_bar_expanded.xml in the layout folder
(got this informations from save80 @ androidword.it forum.. cannot post the exact link as I am a new user)
You also have to change the buttons background using a photo editor software. Those aren't just xml's. With xml's you can change the colour behind the buttons, not the buttons backgrounds. I hope I made myself clear enough. If you need any further assistance, I am here to help.
badeaioan said:
You also have to change the buttons background using a photo editor software. Those aren't just xml's. With xml's you can change the colour behind the buttons, not the buttons backgrounds. I hope I made myself clear enough. If you need any further assistance, I am here to help.
Click to expand...
Click to collapse
My purpose is just to change the bg color behind buttons.
Anyway, thanks for your tips.

How to change the statusbar buttons

hi guys,
i'm sorry that i had to post a new thread, but i didn't find the answer at my question, so.., is anyone who know how to change the buttons in statusbar(wifi, bt, 2g/3g, vibrate/general etc; look in the screenshoots below) to look like ics but i didn't find the right png and xmls.
the first screenshoot is what i have in this momment, and the second is what i want(the transparency i will do later)
(but without the 2 buttons encircled; but instead the 2 buttons i want the data(2g/3g) button )
So who can help me to do that?
PS: the rom is made by me, based on V20I branded(and i have a lg p500)
sorry for my bad english
> you need to config xml's if you also want to change bg color of the notification panel
> and some png's for the icons you want to replace
neko95 said:
> you need to config xml's if you also want to change bg color of the notification panel
> and some png's for the icons you want to replace
Click to expand...
Click to collapse
ok, i will try that too(because vikasb32 answered me in another post and he told me to look in lg-res.apk somewhere in /system/framework).
mih406 said:
ok, i will try that too(because vikasb32 answered me in another post and he told me to look in lg-res.apk somewhere in /system/framework).
Click to expand...
Click to collapse
Dude i am 100% sure if you want to change notification power button you need to change png in lge-res.apk.i made ics theme for stock rom so i know that.just try dude
Sent from my LG-P500 using Tapatalk 2
vikasb32 said:
Dude i am 100% sure if you want to change notification power button you need to change png in lge-res.apk.i made ics theme for stock rom so i know that.just try dude
Sent from my LG-P500 using Tapatalk 2
Click to expand...
Click to collapse
ok thanks a lot, it works .
1. Now if you can, i want to tell me what to change to get that progress bar showed in the first screenshoot. In the second screenshoot is what i have in this momment.
2. And i want to change the buttons, for example in deskclock.apk these are the buttons(third screenshoot), and i want to change that buttons to this buttons(the 4th screenshoot).
LE: i found another problem: after i themed the contacts.apk and phone.apk everything looks and work good, but the number buttons they aren't visible(the 5th screenshoot), and i want to make it visible, to look like in your theme
LE2: sorry, but after i change the statusbar buttons(wifi,data,gps, etc) and after i put transparency i got this statusbar(6th screenshoot). Now, my question: is possible to make my statusbar to look like the ics statusbar(7th screenshoot), but instade of date i want the carrier.
thanks!

How To Add Screenshot Shortcut In Statusbar??

I Want To Add In My Statusbar Too
Use screenshot it and then choose option that make shortcut in menu
GalKill said:
Use screenshot it and then choose option that make shortcut in menu
Click to expand...
Click to collapse
I dont wanna use Third Party App >_<
I think it is impossible But thre is some rom that have screen capture shortcut by pressing power button menu
Sent from my GT-S5360 using Tapatalk 2
This is how to add it to epm
see post 1 and post 2
http://forum.xda-developers.com/showthread.php?t=2350724
you could probably add it to status bar by adding the smali reference into the status_bar_expanded.xml and also editing the smali to give it an image - dont ask me how to do that as I dont edit smali but it would just be easier to just add it to epm
GalKill said:
I think it is impossible But thre is some rom that have screen capture shortcut by pressing power button menu
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
its posible bro...Some SysteMUI has this feature.. .......
Try this One [U will find it in galaxy y Themes and apps section]
http://forum.xda-developers.com/showthread.php?t=2349148
marcussmith2626 said:
This is how to add it to epm
see post 1 and post 2
http://forum.xda-developers.com/showthread.php?t=2350724
you could probably add it to status bar by adding the smali reference into the status_bar_expanded.xml and also editing the smali to give it an image - dont ask me how to do that as I dont edit smali but it would just be easier to just add it to epm
Click to expand...
Click to collapse
i Decompiled the systemui which has this feature...but there was no smali reference like com.android.systemui etc in the expanded xml....there were only smali files and screenshot image in Assets folder..
Himan Boro said:
i Decompiled the systemui which has this feature...but there was no smali reference like com.android.systemui etc in the expanded xml....there were only smali files and screenshot image in Assets folder..
Click to expand...
Click to collapse
iv never seen a statusbar for galaxy y with it in the statusbar - only in the epm
doesnt mean it cant be done though if you can work out how but I much prefer to just have an overlay button like in screenshot ultimate
marcussmith2626 said:
iv never seen a statusbar for galaxy y with it in the statusbar - only in the epm
doesnt mean it cant be done though if you can work out how but I much prefer to just have an overlay button like in screenshot ultimate
Click to expand...
Click to collapse
Its there see my above posts link...
Himan Boro said:
Its there see my above posts link...
Click to expand...
Click to collapse
where is the screenshot button?
from the images on the thread I can only see - settings button recent apps button and clear all button
I can also see media buttons brightness slider data speed and a clock but I cant see where a screenshot button is
edit - ok I seen it I think next to the media buttons - i'll have a look at it but since iv not seen it before dunno if I will be able to work it out
marcussmith2626 said:
where is the screenshot button?
from the images on the thread I can only see - settings button recent apps button and clear all button
I can also see media buttons brightness slider data speed and a clock but I cant see where a screenshot button is
edit - ok I seen it I think next to the media buttons - i'll have a look at it but since iv not seen it before dunno if I will be able to work it out
Click to expand...
Click to collapse
yap.ok..it uses dcsms smali
Himan Boro said:
yap.ok..it uses dcsms smali
Click to expand...
Click to collapse
the line for it is
Code:
<com.android.systemui.statusbar.TogelMusrik android:gravity="center" android:id="@id/rio" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="13.0dip" android:overScrollMode="never" />
its part of the whole media button banner at the top
I think this is the smali lines that control it but since I dont work with smali I dont know how to edit it
Code:
.line 145
.local v1, fwd:Landroid/graphics/Bitmap;
const-string v5, "dcsms_ic_ss"
invoke-direct {p0, v5}, Lcom/android/systemui/statusbar/TogelMusrik;->getAset(Ljava/lang/String;)Landroid/graphics/Bitmap;
move-result-object v3
marcussmith2626 said:
the line for it is
Code:
<com.android.systemui.statusbar.TogelMusrik android:gravity="center" android:id="@id/rio" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="13.0dip" android:overScrollMode="never" />
its part of the whole media button banner at the top
I think this is the smali lines that control it but since I dont work with smali I dont know how to edit it
Code:
.line 145
.local v1, fwd:Landroid/graphics/Bitmap;
const-string v5, "dcsms_ic_ss"
invoke-direct {p0, v5}, Lcom/android/systemui/statusbar/TogelMusrik;->getAset(Ljava/lang/String;)Landroid/graphics/Bitmap;
move-result-object v3
Click to expand...
Click to collapse
hehe..thnx for tryng bro..but i already did that...it gives only Music player buttons..not the ScreenShot ...
Himan Boro said:
hehe..thnx for tryng bro..but i already did that...it gives only Music player buttons..not the ScreenShot ...
Click to expand...
Click to collapse
that camera png is part of that smali but since I dont work with smali I dont know how it is implimented - you will have to ask the person who wrote it or someone who understands smali better than I do
marcussmith2626 said:
that camera png is part of that smali but since I dont work with smali I dont know how it is implimented - you will have to ask the person who wrote it or someone who understands smali better than I do
Click to expand...
Click to collapse
Ok..i wil cntct dcsms for tht..thnx

How do I change the color of the battery and the network icon

Hello
My question is as shown in title
How do I change the color of the
battery and network icons
Change the color of time available in the
Options start bar.
And therefore I do not want
I just want the color of the
battery and the grid lines change
Is it through the framework-res.apk.?
Is it done by SystemUI. apk? .
Please explanation of the steps
Thank you
abdoosman said:
Hello
My question is as shown in title
How do I change the color of the
battery and network icons
Change the color of time available in the
Options start bar.
And therefore I do not want
I just want the color of the
battery and the grid lines change
Is it through the framework-res.apk.?
Is it done by SystemUI. apk? .
Please explanation of the steps
Thank you
Click to expand...
Click to collapse
Battery icons in framework-res.apk
Signal/clock in systemui.apk
Change pngs for battery/signal to what ever you want keeping the file names exactly the same
If your rom doesn't support 1% battery pngs (each png represents a 1%-100% plus same for charging) you will need to implement the 1% battery mod - links in signature
Clock colour edit the line of xml in status_bar.xml for the hex code of the clock
marcussmith2626 said:
Battery icons in framework-res.apk
Signal/clock in systemui.apk
Change pngs for battery/signal to what ever you want keeping the file names exactly the same
If your rom doesn't support 1% battery pngs (each png represents a 1%-100% plus same for charging) you will need to implement the 1% battery mod - links in signature
Clock colour edit the line of xml in status_bar.xml for the hex code of the clock
Click to expand...
Click to collapse
Thank you Mr

Sony weather icons

Hi! I just wanted to ask if there is someone that can extract the Sony Weather icon of the weather widget. Thanks!
This one...
No, I'm sorry I did not explain well, I meant all the weather icons (sun, cloudy, rain, ...). Thank you anyway
Heles said:
No, I'm sorry I did not explain well, I meant all the weather icons (sun, cloudy, rain, ...). Thank you anyway
Click to expand...
Click to collapse
Open the apk with Winrar or similar and fill your boots.
XperienceD said:
Open the apk with Winrar or similar and fill your boots.
Click to expand...
Click to collapse
I've done it, but I can't find the png icons, only the xml file
Heles said:
I've done it, but I can't find the png icons, only the xml file
Click to expand...
Click to collapse
In that case they are probably Vector Drawables then and not pngs.
XperienceD said:
In that case they are probably Vector Drawables then and not pngs.
Click to expand...
Click to collapse
ok, I understand.. thanks :good:

Categories

Resources