Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
kevdliu
Old
(Last edited by kevdliu; 12th March 2013 at 11:36 PM.)
#1  
kevdliu's Avatar
Recognized Developer - OP
Thanks Meter 874
Posts: 833
Join Date: Apr 2011

 
DONATE TO ME
Default [MOD] Android 4.2.2 Quick Settings & Lockscreen Widgets Mods

QUICK SETTINGS MOD

This mod enhances the functionality of existing Quick Settings Tiles in Android 4.2 and adds new ones as well.

Features:
- Press to directly toggle Wifi and long press to access Wifi settings menu
- Press to directly toggle Mobile Data and long press to access Mobile Data settings menu
- Press to directly toggle BT and long press to access BT settings menu
- Persistent GPS Tile: Press to toggle GPS and long press to access Location settings menu
- Add a sh1t load of tiles (See screenshot)
- Add Brightness & Volume Seekbars (Swipe on the tile to switch seekbars)
- Hide Alarm tile
- 3 or 4 columns
- Auto flip to tiles panel when there are no notifications or when swiped from right 10% of screen
- Control Panel application to show/hide Tiles
- Reorder the tiles by enabling them in the order you want them to be placed (first enabled toggle will be placed first etc.)

This mod SHOULD work on all De-Odexed AOSP Android 4.2.2 ROMs.

Tested ONLY on Fresh-Out-Of The-Compiler AOSP build.

Download: http://www.mediafire.com/?2mnqc78t51c7tlj

If you like the mod please consider donating to me. I work on this mod because I love coding and because I know it will be helpful to a lot of others but rigorous as my work sounds it actually doesn't pay a lot. Donations of any amount would really help me out. Thank you

Code:
Change Log: 

03/12
- Android 4.2.2 support
- Add Brightness & Volume Seekbars (Swipe on the tile to switch seekbars)
- Hide Alarm tile
- 3 or 4 columns
- Auto flip to tiles panel when there are no notifications or when swiped from right 10% of screen
- Add more tiles

11/26
- Allow Reordering Of Tiles
- Reorder the tiles by enabling them in the order you want them to be placed (first enabled toggle will be placed first etc.)

11/25:
- Update GPS Icons
- Update Ringer Modes Icons
- Update QSCP LOCAL_CERTIFICATE
- Add Torch Tile
- Add Wifi AP Tile
- Update Control Panel

11/21
- Add GPS Tile
- Add Ringer Mode Tile
- Mobile Data Tile Long Press Launches Roaming Settings Menu
- Automatically Copy Quick Settings Control Panel APK to /system/app/ During SystemUI Compile

11/18:
- Added Control Panel Application to Show/Hide Toggles
- Long Press Settings Tile To Access Quick Settings Control Panel
Thanks &
Enjoy!



LOCKSCREEN WIDGETS MOD


This mod allows any widget to be added to the lockscreen.

This mod SHOULD work on all De-Odexed AOSP Android 4.2 ROMs.
Tested ONLY on Fresh-Out-Of The-Compiler AOSP build.

Download: http://www.mediafire.com/?4p3a28kdv9gk5ch


Git Patch For Lockscreen Widgets Mod:

Code:
--- edited.java	2012-12-06 18:37:49.630012700 -0500
+++ o.java	2012-12-06 18:38:33.483749200 -0500
@@ -121,7 +121,7 @@
         pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
         pickIntent.putExtra(AppWidgetManager.EXTRA_CUSTOM_SORT, false);
         pickIntent.putExtra(AppWidgetManager.EXTRA_CATEGORY_FILTER,
-                AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD | AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN);
+                AppWidgetProviderInfo.WIDGET_CATEGORY_KEYGUARD);
 
         Bundle options = new Bundle();
         options.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY,

Thanks &
Enjoy!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-11-18-21-44-33[1].jpg
Views:	30605
Size:	32.7 KB
ID:	1493061   Click image for larger version

Name:	Screenshot_2013-03-12-18-23-37.jpg
Views:	5142
Size:	20.0 KB
ID:	1800433  


If you like my work please Donate to me. Thanks

My Projects / Applications:
Picture Password Lockscreen for Android
Status Bar Volume Panel Plus for ICS+ devices
TaskUI Tasks Control Overlay for HC+ devices
The Following 195 Users Say Thank You to kevdliu For This Useful Post: [ Click to Expand ]
 
mwalt2
Old
#2  
mwalt2's Avatar
Recognized Contributor
Thanks Meter 1397
Posts: 2,056
Join Date: Feb 2009
Would you mind posting how you made the mods or the source file(s) with the changes? I'd like to try some of them (like the wifi/BT change ). Thanks.
The Following User Says Thank You to mwalt2 For This Useful Post: [ Click to Expand ]
 
patmw123
Old
#3  
patmw123's Avatar
Member
Thanks Meter 10
Posts: 49
Join Date: Oct 2010
Thanks for this, I love it. It works flawlessly. The only thing I would change (if possible) is to make the signal settings long press to go to the "mobile networks" settings, rather than the "data usage" section it goes to now. I frequently change between 4G and 3G and I also like to keep as close to the stock UI as possible. Thanks for all your hard work.
 
vince7
Old
#4  
Senior Member
Thanks Meter 25
Posts: 431
Join Date: May 2012
You are a genius this us exactly what made me hate 4.2. I xoulsng be more thankful!

Sent from my Galaxy Nexus using xda premium
 
BlaJod
Old
#5  
Member
Thanks Meter 3
Posts: 46
Join Date: Mar 2011
Would there be any way to make it where I could choose what toggles I want to show, for instance I don't ever you Bluetooth or airplane mode. Could I go into the system of the phone with root explorer or something and edit the toggles?
 
nativi
Old
#6  
nativi's Avatar
Senior Member
Thanks Meter 84
Posts: 772
Join Date: Mar 2011
Location: Charlotte, NC

 
DONATE TO ME
Quote:
Originally Posted by BlaJod View Post
Would there be any way to make it where I could choose what toggles I want to show, for instance I don't ever you Bluetooth or airplane mode. Could I go into the system of the phone with root explorer or something and edit the toggles?
You're gong to have to wait for all that. They just got 4.2 working correctly. Give them time.

Sent from my Galaxy Nexus using Tapatalk 2
The Following User Says Thank You to nativi For This Useful Post: [ Click to Expand ]
 
holla420
Old
#7  
holla420's Avatar
Senior Member
Thanks Meter 84
Posts: 427
Join Date: Oct 2011
Location: atlanta,ga
this is very nice i'm not on mmuzzy 4.2 but it turned my clock pulldown yellow and the quick icon all white.
 
Milly7
Old
#8  
Milly7's Avatar
Senior Member
Thanks Meter 170
Posts: 570
Join Date: Oct 2010
Quote:
Originally Posted by holla420 View Post
this is very nice i'm not on mmuzzy 4.2 but it turned my clock pulldown yellow and the quick icon all white.
What are you running?
 
holla420
Old
#9  
holla420's Avatar
Senior Member
Thanks Meter 84
Posts: 427
Join Date: Oct 2011
Location: atlanta,ga
i'm running jelly belly 10.0
 
barnacles10
Old
#10  
barnacles10's Avatar
Recognized Developer
Thanks Meter 1317
Posts: 4,224
Join Date: Mar 2010
Location: Illinois

 
DONATE TO ME
Quote:
Originally Posted by holla420 View Post
i'm running jelly belly 10.0
That is android 4.1.2. It will not work. This is a modification for quick settings introduced in android 4.2.

Sent from my DROID RAZR HD using xda app-developers app
Github
mdpi t(o.0t) [ XOOM LTE | Google Nexus LTE | Nexus 7 ]

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...