Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,820 Members 49,749 Now Online
XDA Developers Android and Mobile Development Forum

[4.4] True Quick Settings

Tip us?
 
RyokoN
Old
(Last edited by RyokoN; 17th April 2014 at 01:07 AM.)
#1  
RyokoN's Avatar
Senior Member - OP
Thanks Meter 846
Posts: 405
Join Date: Mar 2013

 
DONATE TO ME
Default [4.4] True Quick Settings

Sony divided notification and quick settings in 4.4, but it's not easy to use quick settings with one finger now.
I managed to show quick settings in notification tab!
Click image for larger version

Name:	Screenshot_2014-03-24-14-03-20.png.png
Views:	8030
Size:	43.7 KB
ID:	2646930


1. Decompile SystemUI.apk

2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expan ded.xml, then edit
Code:
             <com.sonymobile.systemui.statusbar.tools.ToolsTabWidget  android:orientation="horizontal" android:id="@android:id/tabs"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
to
Code:
<com.sonymobile.systemui.statusbar.tools.ToolsTabWidget  android:orientation="horizontal" android:id="@android:id/tabs"  android:layout_width="fill_parent" android:layout_height="0.0dip"  />
This will hide tabs.

3. Open SystemUI.apk\res\layout\somc_quick_settings_tab.xm l and copy LinearLayout
For example (.681),
Code:
    <LinearLayout  android:orientation="vertical" android:id="@id/tools_rows"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
4. Open SystemUI.apk\res\layout\somc_notifications_tab.xml and paste "3."'s LinearLayout above
Code:
<include layout="@layout/status_bar_expanded_stylus_actions" />
For example (.681),
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout  android:orientation="vertical" android:id="@id/notifications_tab"  android:layout_width="fill_parent" android:layout_height="wrap_content"  android:animateLayoutChanges="false"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout  android:orientation="vertical" android:id="@id/tools_rows"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
    <include layout="@layout/status_bar_expanded_stylus_actions" />
5. Now quick settings should be shown on notification tab, but tiles are too big.
To make them smaller, open SystemUI.apk\res\values\dimens.xml and edit
Code:
    <dimen name="notification_panel_tools_row_height">100.0dip</dimen>
to 50.0dip or something you like.
Attached image is 50.0dip

[optional]
If you want to change items per row,
open SystemUI.apk\res\values\integers.xml and edit
Code:
<integer name="config_maxToolItemsInARow">4</integer>
6. Save all and compile.

7. Install SystemUI.apk with adb or recovery, Done!


Modded SystemUI.apk for Z1 .681 deodexed can be downloaded from here (Xperia logo home ver.) (flashable)
Note this apk will not work on custom rom.

I added quick settings tile setting to SystemUI Patcher.
http://repo.xposed.info/module/com.wedy.systemuimod
I have no knowledge to integrate list preference, so tiles per low is fixed to 6 at the moment

IS05-IS11S-SO-02E-C6903-D6503
My apps on Google Play

FTF for Japanese Xperia:
http://ftf.あんどろいどのこと.みんな/
The Following 18 Users Say Thank You to RyokoN For This Useful Post: [ Click to Expand ]
 
BaCKo85
Old
#2  
Senior Member
Thanks Meter 6
Posts: 136
Join Date: May 2012
thanks man ! Cool
 
nikFarhan96
Old
#3  
nikFarhan96's Avatar
Senior Member
Thanks Meter 11
Posts: 107
Join Date: Apr 2013
Default Hello

Is that i just need to install systemui apk only?
Or did i need todo as from the first step?
 
RyokoN
Old
#4  
RyokoN's Avatar
Senior Member - OP
Thanks Meter 846
Posts: 405
Join Date: Mar 2013

 
DONATE TO ME
Quote:
Originally Posted by nikFarhan96 View Post
Is that i just need to install systemui apk only?
Or did i need todo as from the first step?
If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.

IS05-IS11S-SO-02E-C6903-D6503
My apps on Google Play

FTF for Japanese Xperia:
http://ftf.あんどろいどのこと.みんな/
 
avveMeetU
Old
#5  
Member
Thanks Meter 2
Posts: 35
Join Date: Mar 2014
can i reset back??
 
schickel
Old
#6  
schickel's Avatar
Senior Member
Thanks Meter 215
Posts: 523
Join Date: Mar 2009
Location: Munich
Quote:
Originally Posted by avveMeetU View Post
can i reset back??
I think, if you make a buckup from your system.ui.apk, then yes
Moj ujak je jednom rekao: "Kad sam bio mali, kakio sam. Sada serem!" - Kako se stvari mjenjaju....


Sony XPERIA Z1 14.4.A.0.108 / Nexus 7 (2013) ParanoidAndroid 4.4
Sony XPERIA S (LT26i niaboc79 eXistenZ Ultra 1.3.5)
Acer Liquid E
Sony Ericsson K800i
iPhone 4
HTC Touch Diamond
Sony Ericsson K800i
LG KG800 chocolate
Siemens S65
Siemens C25
Alcatel One Touch Easy
 
nikFarhan96
Old
#7  
nikFarhan96's Avatar
Senior Member
Thanks Meter 11
Posts: 107
Join Date: Apr 2013
Quote:
Originally Posted by RyokoN View Post
If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.
Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?
 
RyokoN
Old
#8  
RyokoN's Avatar
Senior Member - OP
Thanks Meter 846
Posts: 405
Join Date: Mar 2013

 
DONATE TO ME
Quote:
Originally Posted by nikFarhan96 View Post
Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?
Install via recovery(use XZDR 2.7.99) is recommended.
If you want to revert, you have to overwrite SystemUI.apk with non-modded one, in this case NUT's SystemUI.apk

IS05-IS11S-SO-02E-C6903-D6503
My apps on Google Play

FTF for Japanese Xperia:
http://ftf.あんどろいどのこと.みんな/
 
dodimo
Old
#9  
dodimo's Avatar
Member
Thanks Meter 4
Posts: 53
Join Date: May 2010
Any chance do it for cm based rom?

Sent from my Xperia Z1 using XDA Premium 4 mobile app
 
madsatan
Old
#10  
madsatan's Avatar
Senior Member
Thanks Meter 9
Posts: 211
Join Date: Nov 2010
Location: vancouver
awsome
i love it

quick question will this work on z ultra??
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes