[HOWTO] Add Extra Buttons to Quick Settings & Rearrange Icons - Galaxy S III Mini Themes and Apps

Here is a quick How To on adding the Driving Mode button to the Quick Settings drop down.
REQUIREMENTS
Knowledge on how to decompile and recompile SystemUI.apk
GUIDE
1. Decompile your SystemUI.apk
2. Navigate to and open \SystemUI\res\values\arrays.xml
3. In your text editor you will see this list:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
Click to expand...
Click to collapse
3. Add the following line where you want the Driving Mode Button to be:
<item>DrivingMode</item>
Click to expand...
Click to collapse
For example:
<string-array name="QuickSettingButtonAttribute">
<item>Wifi</item>
<item>Location</item>
<item>SilentMode</item>
<item>AutoRotate</item>
<item>Bluetooth</item>
<item>MobileData</item>
<item>DormantMode</item>
<item>PowerSaving</item>
<item>DrivingMode</item>
<item>AllShareCast</item>
<item>MultiWindow</item>
<item>Sync</item>
</string-array>
Click to expand...
Click to collapse
4. Save, recompile and replace your SystemUI.apk on your device - either reboot or flash via recovery (which ever method you prefer)
5. DONE!
NOTES:
Even though no notification pops up confirming it is enabled IT IS, if you goto system settings and find the enable button you will see it is ON.
You can also delete, rearrange your buttons to how ever you like.
The graphic for Driving Mode IS included in our devices ROMS, so no need to add any images either. (Along with other buttons that aren't enabled)

You can also add Airplane Mode:
<item>AirplaneMode</item>

MalekoUK said:
You can also add Airplane Mode:
<item>AirplaneMode</item>
Click to expand...
Click to collapse
Hi, how to add a torch as an ite
Sent from my GT-I8190 using xda app-developers app

bymicol said:
Hi, how to add a torch as an ite
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
I don't know if it's possible, you would have to create some icons for it and add maybe:
<item>Torch</item>
or
<item>FlashLight</item>
But may not even work with our device.

MalekoUK
nice one works nicely
now to get my other changes i was trying to do to work

Great and thanks. Do you know if there's any way to add a 2g/3g toggle?

tys0n said:
Great and thanks. Do you know if there's any way to add a 2g/3g toggle?
Click to expand...
Click to collapse
That would be a nice addition! Maybe one for 3G on/off....hhmm...

<item>MobileData</item> ????

efaustino84 said:
<item>MobileData</item> ????
Click to expand...
Click to collapse
That turns all data off unfortunately.

Maybe AssistiveLight?
Sent from my SIII Mini using Tapatalk

MalekoUK said:
Maybe AssistiveLight?
Sent from my SIII Mini using Tapatalk
Click to expand...
Click to collapse
I would assume something like that. Nice find.
Sent from the dark side using my gt-I8190

iKlutz said:
I would assume something like that. Nice find.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
Doesn't work, nothing shows up, even after adding icons for AssistiveLight, might need more files editing somewhere...

i cant find values folder?!!!!!

Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190

[GS] said:
i cant find values folder?!!!!!
Click to expand...
Click to collapse
Decompile systemUi.apk, don't extrax..
Sent from my GT-I8190 using xda premium

iKlutz said:
Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
also keen to do some stuff
first thing i did was download the toolkit with all the goodies we need to mod roms etc

iKlutz said:
Hey MalekoUK, where can I find some rough guides to get started up with roms, apps and modding? I want to be able to help out I'm quite experienced in coding.
Sent from the dark side using my gt-I8190
Click to expand...
Click to collapse
Right here on XDA
XDA is the place I found out how to do all the stuff I do, many tutorials, just search for the right thing

ask and ye shall find
the power of the search is great on this forum
it shall provide you with all that you need and stuff that you could need

Are you signing the apk? In walkthroughts is written dont sign when its system apk, which is.
Tried to decompile,recompile, did not change anything and on phone it is not working.
Also, odexed or deodexed? This file is in both versions. Tried them both,no success.

It would be great to find out full list of possible items. I will decompile stock systemUI and take a look for full list

Related

[MOD] DDKQ8 Lockscreen Circles

This is a small editing I did for those who are bored of the original DDKQ8 Swipe to Remove Lockscreen.
What I did:
-Removed the lock icon
-Replaced animated arrows with animated circles which gives it a small ripple effect
This gives it a very minimal effect (which I like).
Given below is the framework-res flashable for the SGSIIv9 framework-res.apk (because I am currently using it).
You can simply flash it ONLY if you are using SGSIIv9 Rom.
So if anyone needs one for your own framework-res you can attach it on a post and I will try and edit it
It not a big deal. Hope you like it.
Nice mod
I mod the white circle into red and the date to show me the full "name" ...
Very nice mod
Sent from my GT-S5830 using xda premium
Very nice and smooth!
Rushabh25 said:
Very nice mod
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
ANDROIDCUSTOMIZe said:
Very nice and smooth!
Click to expand...
Click to collapse
Thanks guys!
P4qui7o said:
Nice mod
I mod the white circle into red and the date to show me the full "name" ...
Click to expand...
Click to collapse
I cant see the screenie for some reason. Says broken link
thedisturbedone said:
Thanks guys!
I cant see the screenie for some reason. Says broken link
Click to expand...
Click to collapse
Try this link -> http://postimage.org/image/sjibxzhz5/
P4qui7o said:
Try this link -> http://postimage.org/image/sjibxzhz5/
Click to expand...
Click to collapse
Sorry fella.. "Oops! Google Chrome could not connect to postimage.org". Simply attach it to your reply. Upload to xda
thedisturbedone said:
This is a small editing I did for those who are bored of the original DDKQ8 Swipe to Remove Lockscreen.
What I did:
-Removed the lock icon
-Replaced animated arrows with animated circles which gives it a small ripple effect
This gives it a very minimal effect (which I like).
Given below is the framework-res flashable for the SGSIIv9 framework-res.apk (because I am currently using it).
You can simply flash it ONLY if you are using SGSIIv9 Rom.
So if anyone needs one for your own framework-res you can attach it on a post and I will try and edit it
It not a big deal. Hope you like it.
Click to expand...
Click to collapse
good mod. I'd like it on XWKTM because it gives the lockscreen notifications instantly. but in DDKQ8, the screen has to turn off before the notification appears
sorry for off-topic, but can u give me your wallpaper please
The one i've posted is on KTM ...
I will make arrow circle for KTM
P4qui7o said:
The one i've posted is on KTM ...
I will make arrow circle for KTM
Click to expand...
Click to collapse
Oh this looks cool! It looks like its related to the sense lockscreen..
amrith.28 said:
good mod. I'd like it on XWKTM because it gives the lockscreen notifications instantly. but in DDKQ8, the screen has to turn off before the notification appears
sorry for off-topic, but can u give me your wallpaper please
Click to expand...
Click to collapse
Well then attach the framework-res onto your reply and ill do it for ya
Haha that is no off topic. This is the Themes and Apps section after all. Check attachment.
Nice installation guide...(Some people dont know locations to put it in)
But Very nice.
Can you please do an undo ?
JDMBrooksy said:
Nice installation guide...(Some people dont know locations to put it in)
But Very nice.
Click to expand...
Click to collapse
Nothing to put it in. Just flash it via CWM.
pesfan50 said:
Can you please do an undo ?
Click to expand...
Click to collapse
I could if i have the original framework-res.apk of the SGSIIv9. I seem to have deleted mine. So ask someone for the original one, open the flashable zip file, go to system>framework> and replace the framework-res.apk there. Now reboot into CWM and flash.
Thank you
JDMBrooksy said:
Nice installation guide...(Some people dont know locations to put it in)
But Very nice.
Click to expand...
Click to collapse
People who don't know how to install this,should not try it because at this moment there is not a restore tutorial here and if doesn't work ... boot loop is possible.
P4qui7o said:
People who don't know how to install this,should not try it because at this moment there is not a restore tutorial here and if doesn't work ... boot loop is possible.
Click to expand...
Click to collapse
Bootloop IS possible! Well it would be great if someone attaches the original framework-res from SGSIIv9
thedisturbedone said:
Bootloop IS possible! Well it would be great if someone attaches the original framework-res from SGSIIv9
Click to expand...
Click to collapse
nice lock mod
hoping to see more of these
CoolCatGetHome said:
nice lock mod
hoping to see more of these
Click to expand...
Click to collapse
Haha i am sort of currently working on one
can use this on XXKPO??
it's so beautiful
sone1117 said:
can use this on XXKPO??
it's so beautiful
Click to expand...
Click to collapse
Check your PM

[Q] Removing the divider lines in settings?

Does anyone know how to remove the gray horizontal lines you can see in Settings, etc. (like in the attached pic)? Thanks in advance.
dirtygoldfish said:
Does anyone know how to remove the gray horizontal lines you can see in Settings, etc. (like in the attached pic)? Thanks in advance.
Click to expand...
Click to collapse
Just out of curiosity, why?
To sort of answer your question, you'd have to look for it with in the System.apk.
Extract it, open it, look for the divider image file, edit it, recompress it, and then replace it with your system.apk.
System apk???
Its in the framework-res.apk in /res/drawable-xhdpi look for some pngs titled "dividers" I'm unsure about the exact name.
Sent From My N7 via White Tapatalk
AlexWekell said:
Just out of curiosity, why?
To sort of answer your question, you'd have to look for it with in the System.apk.
Extract it, open it, look for the divider image file, edit it, recompress it, and then replace it with your system.apk.
Click to expand...
Click to collapse
Because I like how everything looks without it better, but don't want to have to use a theme to get that look.
ÜBER™ said:
System apk???
Its in the framework-res.apk in /res/drawable-xhdpi look for some pngs titled "dividers" I'm unsure about the exact name.
Sent From My N7 via White Tapatalk
Click to expand...
Click to collapse
Thanks, I'll take a look at the PNGs in there.
EDIT: Aaaand I have no idea which one it is lol. There are about a dozen "divider" 9.pngs.
dirtygoldfish said:
Because I like how everything looks without it better, but don't want to have to use a theme to get that look.
Thanks, I'll take a look at the PNGs in there.
EDIT: Aaaand I have no idea which one it is lol. There are about a dozen "divider" 9.pngs.
Click to expand...
Click to collapse
Please look at profile and search my thread thanks
d3cka said:
Please look at profile and search my thread thanks
Click to expand...
Click to collapse
I found what I was looking for awhile ago...But thanks anyways.
Yup thats ok no problem bro
Sent from my GT-S5360 using xda premium
ÜBER™ said:
System apk???
Its in the framework-res.apk in /res/drawable-xhdpi look for some pngs titled "dividers" I'm unsure about the exact name.
Sent From My N7 via White Tapatalk
Click to expand...
Click to collapse
Hi! I'm on Galaxy S2, JB 4.1.2. I want to do same (delate divider lines).
I've try to do it in same way You say ( in framework-res.apk in /res/drawable-xhdpi look for some pngs titled "dividers"), but nothing is change. I don't find anyone guide to delate dividers lines in settings Menù.
Someone can give me help? Thanks.
glowerita said:
Hi! I'm on Galaxy S2, JB 4.1.2. I want to do same (delate divider lines).
I've try to do it in same way You say ( in framework-res.apk in /res/drawable-xhdpi look for some pngs titled "dividers"), but nothing is change. I don't find anyone guide to delate dividers lines in settings Menù.
Someone can give me help? Thanks.
Click to expand...
Click to collapse
anybody can help?please
desire1990 said:
anybody can help?please
Click to expand...
Click to collapse
I've post the question here. http://forum.xda-developers.com/showthread.php?t=2278192
Thanks.
Inviato dal mio GT-I9100 utilizzando Tapatalk
desire1990 said:
anybody can help?please
Click to expand...
Click to collapse
glowerita said:
I've post the question here. http://forum.xda-developers.com/showthread.php?t=2278192
Thanks.
Inviato dal mio GT-I9100 utilizzando Tapatalk
Click to expand...
Click to collapse
Use xblast tools and change the divider lines color to transparent
Sent from my Galaxy Nexus using Tapatalk

Black dock bar

Dies anyone know how to remove the black dock bar and make it transparent?
I hate the way it looks!
Morocotopo0301 said:
Dies anyone know how to remove the black dock bar and make it transparent?
I hate the way it looks!
Click to expand...
Click to collapse
Install Xposed Installer apk
Download Framework
Download Sense 5 toolbox
http://forum.xda-developers.com/showthread.php?p=44480974
Sent from my HTC6500LVW using Tapatalk 2
Chilidog said:
Install Xposed Installer apk
Download Framework
Download Sense 5 toolbox
http://forum.xda-developers.com/showthread.php?p=44480974
Sent from my HTC6500LVW using Tapatalk 2
Click to expand...
Click to collapse
How about a manual edit of the prism.apk tutorial please?
Anyone know how as i see this done on many roms?
Thanks in advance
carm01 said:
How about a manual edit of the prism.apk tutorial please?
Anyone know how as i see this done on many roms?
Thanks in advance
Click to expand...
Click to collapse
Hey look, someone did it.
http://forum.xda-developers.com/showthread.php?p=47810191
carm01 said:
How about a manual edit of the prism.apk tutorial please?
Anyone know how as i see this done on many roms?
Thanks in advance
Click to expand...
Click to collapse
Yea, I know lol. I had some help figuring it Out lol
Sent from my HTC6500LVW using xda app-developers app

[Q] Gin2JB editing the status bar

So I asked in the thread, but as sdojoin stated, I should really get my own thread..
I want to edit the image files of the status bar drop down images and the background to the settings. I have tried editing them myself but for some reason they dont change
Any help i.e. step by step would be greatly appreaciated thank you ^^
can anyone upload your systemui.apk already modified > _>
Sorry but my englsih is very bad
Well heres my modded systemUI..
iRhyiku said:
Well heres my modded systemUI..
Click to expand...
Click to collapse
You should look inside the frameworks (framework-res.apk and SemcGenericUxpRes.apk).
Just remember to modify both of them or you won't face any change.
Sent from my R800i using xda app-developers app
CriGiu said:
You should look inside the frameworks (framework-res.apk and SemcGenericUxpRes.apk).
Just remember to modify both of them or you won't face any change.
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Yep,It dont change,but thanks anteayer
Maybe u can upload your modify Apks too
Sorry 4 my bad english xP
ShogoKAI said:
Yep,It dont change,but thanks anteayer
Maybe u can upload your modify Apks too
Sorry 4 my bad english xP
Click to expand...
Click to collapse
Could you tell me which part of the status bar you want to change?
Sent from my R800i using xda app-developers app
CriGiu said:
Could you tell me which part of the status bar you want to change?
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Basically all of it, background of the status bar pull-down, the status bar itself, and the background to the settings.
Attached is my modified .apks I have installed them in the right places with the right permissions rebooted and no change atall...
Thanks.
iRhyiku said:
Basically all of it, background of the status bar pull-down, the status bar itself, and the background to the settings.
Attached is my modified .apks I have installed them in the right places with the right permissions rebooted and no change atall...
Thanks.
Click to expand...
Click to collapse
you should use a flashable .zip instead, with the SystemUI.apk only and an updater-script like this
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
unmount("/system");
CriGiu said:
you should use a flashable .zip instead, with the SystemUI.apk only and an updater-script like this
Code:
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
unmount("/system");
Click to expand...
Click to collapse
Nevr made an update zip before.. is there a pre-exciting one?
Also I was told befoer to edit all these I would need to edit those 3 apks..
iRhyiku said:
Nevr made an update zip before.. is there a pre-exciting one?
Also I was told befoer to edit all these I would need to edit those 3 apks..
Click to expand...
Click to collapse
I suppose you're editing your Status Bar background, so there's nothing to edit into the frameworks
Here in attachment I made one based on the SystemUI.apk you sent me.
Hey @iRhyiku what about this?
Sent from my R800i using xda app-developers app
CriGiu said:
I suppose you're editing your Status Bar background, so there's nothing to edit into the frameworks
Here in attachment I made one based on the SystemUI.apk you sent me.
Click to expand...
Click to collapse
Ah perfect thank you I'll be using this from now one!
CriGiu said:
Hey @iRhyiku what about this?
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Yeah thats what I was going for! well without the black bars at the top.. didn't notice them with the default theme.. Thank you
iRhyiku said:
Ah perfect thank you I'll be using this from now one!
Yeah thats what I was going for! well without the black bars at the top.. didn't notice them with the default theme.. Thank you
Click to expand...
Click to collapse
It was a little more difficult to get the notification background to change, still nothing hard (vokal changed the background to a colour reference, so I had to modify the reference to be directed to a resource, that's why even by modifing the resources the status bar didn't change).
If you think you can continue on your own then I'll upload my modified .apk
Sent from my R800i using xda app-developers app
CriGiu said:
It was a little more difficult to get the notification background to change, still nothing hard (vokal changed the background to a colour reference, so I had to modify the reference to be directed to a resource, that's why even by modifing the resources the status bar didn't change).
If you think you can continue on your own then I'll upload my modified .apk
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Thank you for that I should be able to do the rest now, that was the only problem I was having with the status bar as I've already hidden the black bar on another apk so a simple copy and paste for that.
I can continue the rest now thank you, would appreciate the apk for that :good::good:
One question though.. where is the settings background kept? is it in settings.apk? I have yet to open that up
EDIT: I looked through defaultthemes.apk instead and it seems to have them in there, i'll do some graphic editing on them to see if thats it
EDIT2: Okay that was it, got it now ^^
iRhyiku said:
Thank you for that I should be able to do the rest now, that was the only problem I was having with the status bar as I've already hidden the black bar on another apk so a simple copy and paste for that.
I can continue the rest now thank you, would appreciate the apk for that :good::good:
One question though.. where is the settings background kept? is it in settings.apk? I have yet to open that up
EDIT: I looked through defaultthemes.apk instead and it seems to have them in there, i'll do some graphic editing on them to see if thats it
EDIT2: Okay that was it, got it now ^^
Click to expand...
Click to collapse
Good work with that :good:
Here's the .apk
CriGiu said:
Good work with that :good:
Here's the .apk
Click to expand...
Click to collapse
Thank you!
I've got the status bar centred now and everything is working the way i want now!
Thanks for the help :good:
iRhyiku said:
Thank you!
I've got the status bar centred now and everything is working the way i want now!
Thanks for the help :good:
Click to expand...
Click to collapse
YW. Feel free to ask if you need help
CriGiu said:
YW. Feel free to ask if you need help
Click to expand...
Click to collapse
Hey guays, I´ve been reading this thread and I have also tried to make my own SystemUI with transparent statusbar like in KitKat but without success (a lot of compiling errors).
Could some of you make it for people like me that would like to have it transparent? Thank you anyways :highfive:
Ragga Muffin said:
Hey guays, I´ve been reading this thread and I have also tried to make my own SystemUI with transparent statusbar like in KitKat but without success (a lot of compiling errors).
Could some of you make it for people like me that would like to have it transparent? Thank you anyways :highfive:
Click to expand...
Click to collapse
This is what you should do:
- decompile SystemUI.apk
- under layout folder, find status_bar_tracking.xml and open it (I suggest you to use Notepad ++)
- now, under .CloseDragHandle, find the background attribute (android:background) and change the value to match your preferences (value is aarrbbgg - alpha, red, blue, and green)
- save and rebuild it
- now, open the modified and the untouched SystemUI.apk with WinRar (or another .zip manager)
- take from layout folder of the modified one status_bar_tracking.xml
- then, under the untouched one, replace status_bar_tracking.xml with the one you've just taken from the modified SystemUI.apk
And that's it, replace it under /system/app and the job is done
Sent from my R800i using xda app-developers app
I want this,nothing more and I cant for any reason o,O

[Q]Remove AM/PM from status bar clock

Hiya,
I've been searching all over and everyone's solutions are to use the 24 hour clock, or a app that removes it.
I'm in the process of making a rom and that am/pm gets in my way..
I want to edit the XML to remove it, not a work around.
Does anyone know a tutorial or what line to edit for 4.1.2?
Sent from my SPH-L710 using xda app-developers app
Johnnysauur said:
Hiya,
I've been searching all over and everyone's solutions are to use the 24 hour clock, or a app that removes it.
I'm in the process of making a rom and that am/pm gets in my way..
I want to edit the XML to remove it, not a work around.
Does anyone know a tutorial or what line to edit for 4.1.2?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
There is a couple options here..
Option#1: Find where it is in the smali and edit the const... HINT HINT com/android/systemui/statusbar/policy/Clock.smali
Option#2: Edit the string in /values folder where it says:
Code:
<string name="am">AM</string>
<string name="pm">PM</string>
Not sure how that will work.. but worth a shot..
Let me know if how it works out..:good:
lacoursiere18 said:
There is a couple options here..
Option#1: Find where it is in the smali and edit the const... HINT HINT com/android/systemui/statusbar/policy/Clock.smali
Option#2: Edit the string in /values folder where it says:
Code:
<string name="am">AM</string>
<string name="pm">PM</string>
Not sure how that will work.. but worth a shot..
Let me know if how it works out..:good:
Click to expand...
Click to collapse
I tried editing the const, but i dont know which one I need to edit. The one i did seem to edit, crashed the entire systemui
Johnnysauur said:
I tried editing the const, but i dont know which one I need to edit. The one i did seem to edit, crashed the entire systemui
Click to expand...
Click to collapse
Post your systemui I'll give it a try and post here for you to test
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
Post your systemui I'll give it a try and post here for you to test
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
https://www.dropbox.com/s/fbgf9jn009n4x1h/SystemUI.apk

Categories

Resources