Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[EXR][4.3][MOD][ROOT] Sony Xperia Manage notifications && Status bar icons

OP jzqs

14th March 2014, 01:43 PM   |  #1  
jzqs's Avatar
OP Member
Thanks Meter: 324
 
93 posts
Join Date:Joined: Nov 2010


Instructions:

Make sure u have the Xperia ZUltra ( kk v4.4.2 ) SystemUI from @serajr..

CREDIT: @serajr For The Original Thread http://forum.xda-developers.com/show....php?t=2677224

Screenshots:

Click image for larger version

Name:	Screenshot_1.jpg
Views:	7613
Size:	144.7 KB
ID:	2630176Click image for larger version

Name:	Screenshot_2.jpg
Views:	6679
Size:	122.9 KB
ID:	2630177Click image for larger version

Name:	Screenshot_3.jpg
Views:	6219
Size:	103.3 KB
ID:	2630178


Installation

Download the zip
flash it
Reboot
Done


Download

Settings Addon.zip




have fun!!


1.decompile /system/app/Settings.apk
2.and open Settings.apk\res\xml\personalization_settings.xml,
3.then add

Code:
    <com.sonymobile.settings.preference.IntentPreference android:key="notifications" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
        <intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.notifications.NotificationSettings" />
    </com.sonymobile.settings.preference.IntentPreference>

    <com.sonymobile.settings.preference.IntentPreference android:key="system_icons" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
        <intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.systemicon.SystemIconSettings" />
    </com.sonymobile.settings.preference.IntentPreference>

4.Compile Settings.apk and install it with flashable zip or adb.
Last edited by jzqs; 14th March 2014 at 02:15 PM.
The Following 14 Users Say Thank You to jzqs For This Useful Post: [ View ]
14th March 2014, 01:47 PM   |  #2  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,512
 
6,763 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Nice....
Do you have code necessary for settings to show that in menu?

Or if you could upload settings.apk as well and I'll add it

Tnx...

Sent from my C6903 using Tapatalk
14th March 2014, 01:59 PM   |  #3  
niaboc79's Avatar
Recognized Developer / Themer
Flag Enghien
Thanks Meter: 35,834
 
6,953 posts
Join Date:Joined: Sep 2007
Donate to Me
More
Angry
Quote:
Originally Posted by funky0308

Nice....
Do you have code necessary for settings to show that in menu?

Or if you could upload settings.apk as well and I'll add it

Tnx...

Sent from my C6903 using Tapatalk

Add these lines in personalization_settings.xml

Code:
<com.sonymobile.settings.preference.CheckBoxPreference android:title="@string/auto_hide_notifications_title" android:key="clearViewedNotifications" android:summary="@string/auto_hide_notifications_description" android:defaultValue="false" settings:valueOfSettingsSystem="clear_viewed_notifications" />
<com.sonymobile.settings.preference.IntentPreference android:key="notifications" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.notifications.NotificationSettings" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:key="system_icons" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.sonyericsson.settings" android:targetClass="com.sonymobile.settings.systemicon.SystemIconSettings" />
</com.sonymobile.settings.preference.IntentPreference>
The Following 4 Users Say Thank You to niaboc79 For This Useful Post: [ View ]
14th March 2014, 02:01 PM   |  #4  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,512
 
6,763 posts
Join Date:Joined: Aug 2012
Donate to Me
More
@niaboc79
Awesome mate...
Thanks for this...

Deleted, OP is updated and everything is there...

Thanks


Sent from my C6903 using Tapatalk
Last edited by funky0308; 14th March 2014 at 02:06 PM.
14th March 2014, 02:15 PM   |  #5  
demonicangell™'s Avatar
Senior Member
Flag Bombay
Thanks Meter: 504
 
2,028 posts
Join Date:Joined: Aug 2011
More
could u make a zip for the home size grid as well @ jzqs
14th March 2014, 02:20 PM   |  #6  
jzqs's Avatar
OP Member
Thanks Meter: 324
 
93 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by demonicangell™

could u make a zip for the home size grid as well @ jzqs

FC right now


Click image for larger version

Name:	Screenshot_3.jpg
Views:	533
Size:	109.3 KB
ID:	2630230Click image for larger version

Name:	Screenshot_4.jpg
Views:	442
Size:	124.5 KB
ID:	2630231
14th March 2014, 02:52 PM   |  #7  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,512
 
6,763 posts
Join Date:Joined: Aug 2012
Donate to Me
More
It's working great...

Tnx mate for this...finally easy way to enable/disable status bar icons...
Last edited by funky0308; 14th March 2014 at 03:00 PM.
14th March 2014, 03:11 PM   |  #8  
demonicangell™'s Avatar
Senior Member
Flag Bombay
Thanks Meter: 504
 
2,028 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by jzqs

FC right now


Attachment 2630230Attachment 2630231

14th March 2014, 03:22 PM   |  #9  
Soheil_rf's Avatar
Senior Member
Flag Tehran
Thanks Meter: 880
 
433 posts
Join Date:Joined: Jul 2009
More
@jzqs

Hi
I tried to edit the Settings.apk but i get this error
Code:
Apk Manager 5.0.2\other\..\projects\testSettings.apk\res\values\styles.xml:92: error: Error: No resource found that matches the given name: attr 'android:textUnderlineThickness'.
I just wanted to know which version of APKTOOL you are using ?
When I use framework-res and SemcGenericUxpRes of Xperia ZL I can not even decompile the setteings, but using Xperia ZU framework-res and SemcGenericUxpRes I'm able to decompile it but when compiling it I get the same error.
Thanks.
Last edited by Soheil_rf; 14th March 2014 at 03:27 PM.
14th March 2014, 03:44 PM   |  #10  
demonicangell™'s Avatar
Senior Member
Flag Bombay
Thanks Meter: 504
 
2,028 posts
Join Date:Joined: Aug 2011
More
working fine ..thanks a lot ..
but my settings icon got messed up on the quick settings panel ..it has gone more up compared to the others that are in the centre of the

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes