yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] giancaleone:
I don't know..

If in your mod i want change the order of the row;

toggle

bbar

separator --------

clock

how to proced?

I have used this mod in xml but doesn't work

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"

xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">

<com.lidroid.systemui.quickpanel.PowerWidget android:id="@id/power_widget" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip" />

<include layout="@layout/adi_brightness" />

<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="52.0dip" android:baselineAligned="false">

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock_expanded" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" />

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" />

<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />

<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />

<Button android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="106.0dip" android:layout_height="wrap_content" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />

</LinearLayout>

<LinearLayout android:id="@id/tools" android:background="@drawable/statusbar_tools_button_frame" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="57.0dip" />

</LinearLayout>
[Sony Xperia S, Acro S, Ion] milocj:
Hi monster, it works perfectly on my Xs, great job!!!!!

from XS NXAadvance by DevSXSTeam
[Sony Xperia S, Acro S, Ion] Javi22:
Working, thank you!!!
[Sony Xperia S, Acro S, Ion] rockernaxo:
If you want to change the order, proceed as you have done; changing the order of the layout lines.

But for include BB, it's neccesary to include its layout on a Linear Layout:

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="40.0dip" android:baselineAligned="false">
<include layout="@layout/adi_brightness" />
</LinearLayout>
[Sony Xperia S, Acro S, Ion] andreaspe:
It's great. Any chance of using the battery percentage icon for the battery (stock icon), no transparent statusbar and no titles in the toggles? I am certain there are many people wanting it that way.

Thank you for the mod and of course thanks to the OP
[Sony Xperia S, Acro S, Ion] Vardash:
Hi people,

This time we show you another modification of the sony toggles...

We will update it with other colors, because we are traying to include the option to change the color of the toggles with the theme you choose, but it's difficult and for now, we don't know a way to do it well
[Sony Xperia S, Acro S, Ion] Gallardo994:
This is kinda Lidroid, but without small apps support. It uses theme colours, you can study using this example. Here you go: https://app.box.com/s/pihxf3hd2zj8p65iyg91

Taken from 4pda.ru made several months ago.

Powered by GSR with Android 4.1.2 on the board.
[Sony Xperia S, Acro S, Ion] rockernaxo:
Thanks, I'll take a look

EDIT: could you paste the link of the ROM? I must see some screenshots

Enviado desde mi zapatófono tuneado
[Sony Xperia S, Acro S, Ion] pieceofphil:
This indeed is pretty great. Only thing I'm missing is, the toggles are not really Sony stock design and for me changing order doesn't work. Read something about toggles menu don't have that.

All thumbs up for brightness bar that's fantastic.

Now just change the icons and wow that little piece will be my favourite.

Thank you very much for sharing :3
[Sony Xperia S, Acro S, Ion] Vardash:
The icons of the sony toggles, aren't the same as the stock, however we are going to update another version of sony toggles, you can see previews of it above.

Changing order works perfectly with the uisettings app, are you sure that it doesn't works?

Thanks for the support!
[Sony Xperia S, Acro S, Ion] pieceofphil:
Oh sorry I haven't checked if an app has been installed too, maybe a little hint in OP would help dummies like me or if there already is I really over read it ;3

Thanks now it sure works and I keep fingers crossed for the beautyfied version soon :)
[Sony Xperia S, Acro S, Ion] jlprodigy:
What a great job, man.. thats what I was looking for
[Sony Xperia S, Acro S, Ion] manolilloi:
Great work mate! I have flashed sony stock with brightness and it works very well with TVR Rom on a XS. The colour of themes only change clock and brightness bar's colour but I don't care. I would like to know if it's possible to add a power button when you tap on the clock like with docomo status bar.

Thank you and sorry for my bad english.
[Sony Xperia S, Acro S, Ion] ElHechicero:
Buen trabajo chicos ...como siempre.

Good work ... as always
[Sony Xperia S, Acro S, Ion] ngiang:
Have it 2g-23 buttons ?:good:
[Sony Xperia S, Acro S, Ion] rockernaxo:
I'm still working on it

Enviado desde mi zapatófono tuneado
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
Waiting for NEW version :silly:

Thanks your works:victory:!
[Sony Xperia S, Acro S, Ion] SSyar:
damnit.,.,., whats in the ZIP..,. i am getting bootloops !!

---------- Post added at 09:51 AM ---------- Previous post was at 09:17 AM ----------

i backup the files but still in bootloops .., !! what has been done ??:confused:
[Sony Xperia S, Acro S, Ion] NOOB Kris:
Work on lt28?
[Sony Xperia S, Acro S, Ion] Vardash:
you didn't make the wipes, right? It's important do wipe cache, and dalvick cahce before installing it

We haven't tried on it, we don't know if it works, you can try and tell us:good:
[Sony Xperia S, Acro S, Ion] giancaleone:
Thanks for support, but the error doesn't depend of linearlayout.

The problem is in status_bar_expanded.xml.

I have found a mistake, fixed and now works fine.
[Sony Xperia S, Acro S, Ion] rockernaxo:
And what was the problem?

PD : Next update will arrive soon, me and my mate Vardash are working hard on it.

Enviado desde mi zapatófono tuneado
[Sony Xperia S, Acro S, Ion] NOOB Kris:
Deleted
[Sony Xperia S, Acro S, Ion] NOOB Kris:
Tried, ok on ion
[Sony Xperia S, Acro S, Ion] ANILrajbista:
:good:Thanks
[Sony Xperia S, Acro S, Ion] giancaleone:
The problem wasn't in the status_bar_expanded_header.xml but in this status_bar_expanded.xml

that include also here the <include layout="@layout/adi_brightness" />

In this xml it's not necessary,

I have fix this and mod some file for the final result:

I'm waiting for your great job (very hard)
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
Your version are very beautiful..
[Sony Xperia S, Acro S, Ion] sathisharchian:
does this works on ion
[Sony Xperia S, Acro S, Ion] rockernaxo:
It seems to work. Try it and report!

Enviado desde mi zapatófono tuneado
[Sony Xperia S, Acro S, Ion] airdmo:
IT CAN WORK IT ACRO S(JB .211)?Thankyou
[Sony Xperia S, Acro S, Ion] rockernaxo:
It should. But do a nandroid before trying ;)
[Sony Xperia S, Acro S, Ion] sathisharchian:
it works on ion....thanks buddy....waiting for this toogles ....but the size of the toggle is lightly bigger... how to reduce the size....
[Sony Xperia S, Acro S, Ion] rockernaxo:
You've to decompile SystemUI.apk and change the layout. Reduce the number of dip.

EDIT: updated OP. New mods available!
[Sony Xperia S, Acro S, Ion] sathisharchian:
thanks buddy....
[Sony Xperia S, Acro S, Ion] rockernaxo:
Notification toggles final version mods

Here are some mods of my port of Lidroid Toggles to our Xperia S.

Please,

follow the instrucions in the OP and HIT THANKS

!

Lidroid Toggles Z1 Taskswitcher

- Download link

- Z1 Small apps​

Notification Toggles Final Color Accent Version

Features:

-2G/3G toggle

-Brigthness bar

-Battery Info Toggle

-USB Debugging toggle

-Toggle color changes depending on theme accent

-Reboot options allow reboot to recovery

-Bigger toggles 57.0 dip (like stock)

- Notification Toggles

- Notification Toggles + center clock

- Notification Toggles + BBar

- Notification Toggles + BBar + center clock

Notification Toggles Sony & AOSP Versions

Features:

-2G/3G toggle

-Brigthness bar

-Reboot options allow reboot to recovery

-Bigger toggles 57.0 dip (like stock)

-Notification Toggles v3 Sony +BBar

-Notification Toggles v3 Sony +BBar + center clock

-Notification Toggles v3 Sony +BBar + no battery percentage

-Notification Toggles v3 AOSP +BBar

-Notification Toggles v3 AOSP +BBar + center clock

-Notification Toggles v3 AOSP +BBar + no battery percentage

MIRROR TO MEGA. All the options included!

:angel::angel:I'll be adding more options as soon as I can. Thanks!:angel::angel::angel:

If you like my work, press THANKS!!!

​
[Sony Xperia S, Acro S, Ion] lance_05:
Hi! I really liked your mod. However, the other toggles (3G/2G, Batt Info etc) does not seem to appear. I have tried to repeat the flash procedure and tried manually pushing the files but still failed. I'm using an Xperia Acro S, Locked bootloader and BlackZax'7 ROM.
[Sony Xperia S, Acro S, Ion] rockernaxo:
Have you activated the toggles from the app? See the screenshot attached.

Enviado desde mi zapatófono tuneado
[Sony Xperia S, Acro S, Ion] pieceofphil:
Fantastic Mod but there are no widget buttons to activate for 2g/3g nor USB in system Ui app even though I wiped dalvik and cache.

In having a Xperia S

I would appreciate your help if you have any idea
[Sony Xperia S, Acro S, Ion] anikesh102:
2g/3g can be activated by enabling TOGGLE NETWORK MODE... and usb by TOGGLE USB DEBUGGING
[Sony Xperia S, Acro S, Ion] pieceofphil:
Yeah I see from the screenshot above but in not having those options after flashing the new version

These are all my options I get
[Sony Xperia S, Acro S, Ion] Gallardo994:
I personally prefer the older version. Xposed works with it without any issue at least.

Powered by GSR with Android 4.1.2 on the board.
[Sony Xperia S, Acro S, Ion] lance_05:
There was no Network Mode, USB debugging from the App itself. I tried to reflash it again but it still do not appear.
[Sony Xperia S, Acro S, Ion] rockernaxo:
I've just install both files again and no problem at all.

Delete UISettings.apk/SystemUISettings.apk from system/app manually and reflash again;)
[Sony Xperia S, Acro S, Ion] lance_05:
YES! Thank you very much! It is working great now!
[Sony Xperia S, Acro S, Ion] pieceofphil:
Didn't work for me but I was asked to install when tapping apk file and after not just replacing but also installing it worked :3

Great stuff
[Sony Xperia S, Acro S, Ion] cikoxda:
Hi guys I have just flashed this mod but brightness bar doesn't appear and color line under the toggles doesn't light up...Bbar doesn't appear with or without brightness toggles checked... Why? I'm on jellyslim211 evo2 stock based rom for LB. See the attachment:

SOLVED: tapping on brightness toggle the Bbar shows up so now I can uncheck brightness toggle in UISetting and Bbar stay here.
[Sony Xperia S, Acro S, Ion] Vardash:
It's a little issue, if the position of the brightness toggle is on automatic mode, the brightness bar doesn't appears.
[Sony Xperia S, Acro S, Ion] nudelaug:
cool

I love this mod in Blue

But how can i made in Transparent?
[Sony Xperia S, Acro S, Ion] rockernaxo:
Don't worry, I'll do it as soon as I can

Enviado desde mi LT26i usando Tapatalk 4
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
This mod can work on .96 FW :)
[Sony Xperia S, Acro S, Ion] cikoxda:
Have you already test it on new .96 firmware?? All toggles works fine? Network mode too? Pls report your experience and if you can attach some screenshots... Thx
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
I test on Trinity 3.1 and .96 kernel but I just test some toggles :)
[Sony Xperia S, Acro S, Ion] rockernaxo:
I'm also using .96 firm and don't have any issue at all.

Probably tomorrow will be an update ;)

Enviado desde mi LT26i usando Tapatalk 4
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
Waiting for new version :)

Thank your work

Hope next version can add SONY version :p
[Sony Xperia S, Acro S, Ion] rockernaxo:
I will :)

A new feature will be added too

Enviado desde mi LT26i usando Tapatalk 4
[Sony Xperia S, Acro S, Ion] rockernaxo:
OP and download post updated.

New feature available:

REBOOT TO RECOVERY

If you like my work, hit the

THANKS BUTTON

:)
[Sony Xperia S, Acro S, Ion] :
I dont have brightness bar =( in v3
[Sony Xperia S, Acro S, Ion] rockernaxo:
If brightness toggle is on automatic, the BBar doesn't appear. Click on it!;)
[Sony Xperia S, Acro S, Ion] :
thank you, good job :good::good: :)
[Sony Xperia S, Acro S, Ion] Feanor88:
Does this work on odexed ROMs? OP didn't specify that in the title.
[Sony Xperia S, Acro S, Ion] rockernaxo:
It should work, the script deletes SystemUI.apk.odex and services.jar.odex.

However, do a nandroid backup before trying!
[Sony Xperia S, Acro S, Ion] rockernaxo:
[MINI-GUIDE] How to change toggle color depending on theme accent

This method is rather rudimentary and simple.... but works!;)

First of all we must change power_widget_button.xml in layout folder. Pay special attention to red code!!

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" [B][COLOR="Red"]android:background="@com.sonyericsson.uxp:color/semc_theme_accent_color"[/COLOR][/B] android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" [B][COLOR="Red"]android:foreground="@drawable/power_widget_button_bg"[/COLOR][/B] android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginTop="0.0dip" />
<TextView android:textSize="8.0dip" android:textStyle="normal" android:textColor="@com.sonyericsson.uxp:color/semc_theme_accent_color" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" />
</FrameLayout>

What does this code do?

android:background="@com.sonyericsson.uxp:color/semc_theme_accent_color"

We set the background of the toggle will change its color depending on theme accent.

android:foreground="@drawable/power_widget_button_bg

We overlay this icon in order to hide part of the background.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The idea is simple, we make transparent toggles with opaque background like this:

The toggle (only the icon) gets it's color from the background which depends on theme accent and the rest is hidden.

The following picture is the summary of the whole process.

I don't know if I've explained well, if not please ask me and I'll clarify some parts.

Thanks to [MENTION=5281145]Gallardo994[/MENTION] who showed me the method and [MENTION=5376855]Vardash[/MENTION] for making all transparent toggles.
[Sony Xperia S, Acro S, Ion] winsmel:
Thanks rockernaxo. Good work. :good:
[Sony Xperia S, Acro S, Ion] Mr. Khan:
Good job! :good::good:
[Sony Xperia S, Acro S, Ion] ejstubbs:
Didn't work on my Acro S running non-deodexed 6.2.B.1.96 - bootlooped :( I tried both "Notification Toggles v1.zip" and "Notification Toggles Sony Version v3.zip". In both cases the phone rebooted immediately on flashing the zip (rather than going back to the CWM menu), displayed "SONY" and "XPERIA", then got through one cycle of the multicoloured waves before looping back to "SONY". (Caches were wiped on each occasion as instructed.)

The lidroid toggles port I used on ICS definitely didn't need a deodexed ROM. I wonder if that is because it used a separate apk to select the toggles, rather than an option is system settings?

This could be just the kick I need to sit down and deodex my Acro S...unless someone can come up with a version of this which doesn't need it?
[Sony Xperia S, Acro S, Ion] rockernaxo:
Bootloop has nothing to do with apks but with services.jar. In fact, it has a separate app for lidroid settings.

I don't know how in ICS it's ported without the modification of services.jar....:confused: and also don't know why deleting services.jar.odex results in bootloop. I didn't test it since I use deodexed.

I hope master [MENTION=599722]niaboc79[/MENTION] can say something about this issue.

I heartily recommend you to use deodexed, it eases things for modders;)
[Sony Xperia S, Acro S, Ion] ejstubbs:
Aye, I've just been waiting for official JB - didn't see the point spending the time and effort to do it on ICS when I would only have to do it again when JB came out. I like the quick toggles so much (especially the reboot one, and even more so given that it reboots straight in to recovery) that I'm definitely prepared to take it on now.

Thanks for the other info too.

UPDATE: Deodexed using nqhuy90's deodexed app and framework folders for Acro S. Sony quick toggles installed and working AOK. Good job!
[Sony Xperia S, Acro S, Ion] Jeff Meyers:
flashlight

Hi rockernaxo! Thanks for the great piece of work!

It works great.

However I am wondering how I can get the Flashlight toggle. I can see it in the screenshots of the Sony and ASOP versions, but this option does not appear on my toggles. Do I have to install a flashlight app? I have tesla and tiny flashlight installed.

Also, how do I arrange the order of the toggles? Long pressing on a toggle takes me to the relevant settings menu. i.e. long pressing on "bluetooth" takes me to the bluetooth settings

Cheers!
[Sony Xperia S, Acro S, Ion] gpolydoros:
Thanks!! This is as good as it gets! But is there any way that I can remove the text above the icons?
[Sony Xperia S, Acro S, Ion] rockernaxo:
Although it doesn't appear in the screenshot, the mod include flashlight toggle so don't worry.

In order to arrange the order of the toggles and add or delete some of them, you must open SystemUI Settings from your app drawer.

Of course, you must decompile SystemUI go to layout/power_widget_button and change text visibility ;)

Check this guide, it'll makes things easier

Enviado desde mi LT26i usando Tapatalk 4
[Sony Xperia S, Acro S, Ion] berserkk:
Hi thanks for this working great a couple of notes and requests

- if using with odexed ROM will cause bootloops (can fix by installing the .096 deodex flashable zip, i'm sure a few changes to the install script to delete some odex files could fix it for odexed users as well)

- sony version doesnt use accent colour, it is always white, AOSP version doesnt look like it has small apps (but has nicer icons)

Request:

is it possible to get the clear all in the recent apps menu? I think mrwrong has it in his mod but i don think he has brightness bar

thanks, keep up the good work!
[Sony Xperia S, Acro S, Ion] rockernaxo:
Thanks for the report.

First, the updater script deletes two odex files (SystemUI.apk.odex and services.jar.odex) , but seems that it's not enough. However, I don't know which file I should also delete to avoid bootloop.

AOSP version don't have Small Apps, do it? Could you please upload an screenshot?

Now I'm working in other mod, once I finish, I'll include all your request;)

Thanks again for the commentary
[Sony Xperia S, Acro S, Ion] armando_rod:
In Notification Toggles Sony v3 I dont have 3g/2g toggle, flashed on a clean install.
[Sony Xperia S, Acro S, Ion] rockernaxo:
Have you activated it from the app?:D
[Sony Xperia S, Acro S, Ion] armando_rod:
I just found it... The whole day I was looking for 3g/2g toggle and it is Network Mode... Silly me.
[Sony Xperia S, Acro S, Ion] pieceofphil:
Am I right remembering you were the one in the tab n grid forum who said he would work on porting it? :)

I'm just curious if you have any news about it or you cancelled the idea...

Oh and if you are not the one I'm very sorry I just love these toggles here but would also appreciate the good old tab n grid for jelly bean ;)

Thumbs up
[Sony Xperia S, Acro S, Ion] rockernaxo:
Yes, your completely right

I'm still solving some bugs. This feature and a lot more will be included in Nature Xperia Rom.

Enviado desde mi LT26i usando Tapatalk 4
[Sony Xperia S, Acro S, Ion] pieceofphil:
I know you dont work on this anymore, I just encountered a problem with the mod with apps where the status bar should go gray like when playing a video or an app called duolingo and it always says system ui crashed and then the status bar is just black and it only comes up again when theres a new notification coming in. Don´t really know whats causing this... so i thought you would be able to help me, help is very appreciated.

Thanks in advance.
[Sony Xperia S, Acro S, Ion] rockernaxo:
I've not abandoned this mod at all, don't worry.

Now I'm a little busy with university but when I've some spare time I'll solve these issues;)

Edit: if systemUI crashes where is the FC in the logcat. Please upload a full logcat of this issue and I'll try to solve
[Sony Xperia S, Acro S, Ion] pieceofphil:
Well this is a longer log if it still doesnt help tell me please
[Sony Xperia S, Acro S, Ion] Xu jiacheng:
FC

Get FC when play video:(
[Sony Xperia S, Acro S, Ion] rockernaxo:
Upload a full logcat ;)

Enviado desde mi LT26i usando Tapatalk
[Sony Xperia S, Acro S, Ion] andreaspe:
anybody happened to notice that the battery level percentage on the status bar isnt always accurate. I mean sometimes is 78% and then after a couple of minutes changes?
[Sony Xperia S, Acro S, Ion] pieceofphil:
Still nothing new... =(
[Sony Xperia S, Acro S, Ion] rockernaxo:
Unfortunately, I'm on exams I only can work on these things ten minutes every two days.

I'm about to finished the rebased version to .96. When I finished this tough period, I promise a mayor update :)

Enviado desde mi LT26i mediante Tapatalk
[Sony Xperia S, Acro S, Ion] pieceofphil:
Oh, then I wish you all the best with your exams =)
[Sony Xperia S, Acro S, Ion] grigorian941:
whats wrong? i cant download any UI.. all links are dead?
[Sony Xperia S, Acro S, Ion] rockernaxo:
The server I use (Goo.im) is in maintenance service. They will be online in a few hours ;)

Enviado desde mi LT26i mediante Tapatalk
[Sony Xperia S, Acro S, Ion] Romeo kuto:
[MENTION=4562527]rockernaxo[/MENTION]: not a few hours, but a few days :crying: Your mod is awesome, but i couldn't download anythings till now :crying: Plz re-up, tks :good:
[Sony Xperia S, Acro S, Ion] rockernaxo:
Mate, I thought it was solved. In fact, some downloads are working for me. Could you check it again?

If not I'll take all to another server ;)

Enviado desde mi LT26i mediante Tapatalk
[Sony Xperia S, Acro S, Ion] Romeo kuto:
Tks.

It's OK now. Tks a lot, [MENTION=4562527]rockernaxo[/MENTION] :fingers-crossed: