Jump to content


- - - - -

[MOD][UPDATED 11/18] Android 4.2 Quick Settings & Lockscreen Widgets Mods


  • Please log in to reply

#1 kevdliu (OP)

kevdliu

    N7

  • Site Contributor
  • 850 posts

Posted 17 November 2012 - 08:00 PM

Source:
Mod Type: Mod     Difficulty: Easy     Mod Status: Beta     Mod Base:      Carrier:
Requires Root: Yes     Apply In: CWM Recovery     Optional:      Optional:      Android Version:


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 Auto Rotation Tile
- Add Volume Tile (Press to display media volume slider and long press to access Volume settings menu)
- Add Screen Off Tile
- Add Ringer Modes Tile

- Add Torch Tile
- Add Wifi AP Tile
- 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 ROMs.

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

Download:
http://www.mediafire...c34xpvw542a52xb

Change Log:

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 Wifi AP TIle
- Add Torch 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


Mod Source For Developers:
The Github repo for the commits are here:
https://github.com/k...1-QuickSettings
Please Read README.md

If you incorporate this Mod into your ROM, please link to this thread in your ROM thread OP.
I will continue to make updates and improve this mod so please be sure to watch this repo.

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...gh8oc79v3j6v1y8


Git Patch for Lockscreen Widgets Mod:

[color=#222225][size=3]--- edited.java 2012-12-06 18:37:49.630012700 -0500[/size][/color]
+++ 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

  • Screenshot_2012-11-17-22-27-13_1_.jpg

Edited by kevdliu, 08 December 2012 - 03:20 PM.

If you like my work please Donate to me. Thanks

Picture Password Lockscreen for Android

#2 waltpartlo

waltpartlo

    Android Beginner

  • Members
  • 199 posts

Posted 17 November 2012 - 08:04 PM

Awesome. I was hoping to see this kind of mod soon. I assume there will be a link added soon?

Edit: and there it is. :-)
Sent from my Nexus 7 using Tapatalk 2

Edited by waltpartlo, 19 November 2012 - 06:19 AM.


#3 T-Keith

T-Keith

    Android Beginner

  • Members
  • 179 posts

Posted 17 November 2012 - 08:10 PM

Would this work on my nexus 7?

Sent from my Galaxy Nexus using RootzWiki

#4 Spaniard85

Spaniard85

    Air Force Android

  • Members
  • 326 posts

Posted 17 November 2012 - 08:15 PM

Nice!

Sent from my Galaxy Nexus using RootzWiki
Yes, I used to work for VZW. Ask me anything.

VZW Galaxy Nexus - Unofficial AOKP Nightlies

#5 waltpartlo

waltpartlo

    Android Beginner

  • Members
  • 199 posts

Posted 17 November 2012 - 08:24 PM

This seems to be fully functioning on grouper's ROM. The only thing that it needs is a toggle for ring/vibrate/silent.

Thanks

Sent from my Galaxy Nexus using Tapatalk 2

#6 Spaniard85

Spaniard85

    Air Force Android

  • Members
  • 326 posts

Posted 17 November 2012 - 08:33 PM

Its working on JellyBelly 10.0, but I've got some color issues in the pull down. See the attached screenshot.

uploadfromtaptalk1353213176297.png

Sent from my Galaxy Nexus using RootzWiki
Yes, I used to work for VZW. Ask me anything.

VZW Galaxy Nexus - Unofficial AOKP Nightlies

#7 vwpiper

vwpiper

    Member

  • Members
  • 72 posts

Posted 17 November 2012 - 08:40 PM

Just finished flashing MMuzzy 11-17 and this mod. Working great here. Thank you.

Sent from my Galaxy Nexus using Tapatalk 2

√wþiþ3Я



Galaxy Nexus LTE
Nexus 7 (16gb)
DInc (retired)

#8 kmagameguy

kmagameguy

    Member

  • Members
  • 52 posts

Posted 17 November 2012 - 08:46 PM

Google was SO CLOSE with the extended pulldown settings in 4.2. Thanks for making it function like it should have in the first place.

Now if I can just get the advanced power menu (reboot/reboot to recovery/boot loader) on mmuzzy's 4.2 build I'll be a super happy camper.

Edited by kmagameguy, 17 November 2012 - 08:48 PM.


#9 knferobert

knferobert

    Member

  • Members
  • 15 posts

Posted 17 November 2012 - 09:39 PM

View PostSpaniard85, on 17 November 2012 - 08:33 PM, said:

Its working on JellyBelly 10.0, but I've got some color issues in the pull down. See the attached screenshot.

Attachment uploadfromtaptalk1353213176297.png

Sent from my Galaxy Nexus using RootzWiki

I have the same problem :/

#10 porterhouse

porterhouse

    CrackFlasher

  • Members
  • 571 posts

Posted 17 November 2012 - 09:54 PM

Love the mod. Thanks.

Sent from my Galaxy Nexus using RootzWiki