1. Download our Official Android App: Forums for Android!

Root [MOD] Notification Power Widgets and Extended Power Menu 1.6 Final (10/26/11)

Discussion in 'Android Devices' started by Bloodawn, Aug 26, 2011.

  1. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    I've taken the stock frameworks and added my port of the CyanogenMod power control widgets and reboot options that is included with my themes in case anybody wants to use them for theming or ROMs.

    My port is based on 96blkgsr's from sdx-developers

    The power control bar allows for up to 6 different widgets to be specified. You can have less, but no more than 6. There are a total of 12 widgets
    The 6 default widgets, from left-to-right are:
    [​IMG]
    toggleGPS | toggleWifi | toggleBluetooth | toggleBrightness| toggleSound | toggleScreenTimeout

    Additional widgets available:
    [​IMG]
    toggleAirplane|toggleAutoRotate|toggleLockScreen|toggleMobileData|toggleSleepMode|toggleSync

    Take note of the naming convention that has been used above for each widget. This is how Android, internally, is referencing each widget for use / display in the power control bar. This is important, since, as mentioned, you can override the 6 default widgets this mod provides when flashed.

    To change toggle widgets:
    1) Create .txt file on your computer and name it widget.txt
    2) On the first line create a pipe delimited list (|) of widgets you wish to use.
    Example below
    Code (Text):
    1. toggleGPS|toggleWifi|toggleBluetooth|toggleSync
    3) Save txt and drop this file into the '/system/customize/' folder on your phone.
    Note: there CANNOT be any spaces between each widget defined, and the pipe delimiter is only placed between each instance, but not at the beginning or end. The syntax has to be EXACT, and is case sensitive. If you have an error in your list, the slot / position where the error exists will result in an empty slot on your power control bar.
    Once you've created your file, again, named widget.txt, all lower-case, you can adb push or use root explorer to place file in its folder. Reboot phone for changes to take affect. Alternatively if you have root explorer, or similar file manager for root users, you can navigate to system/customize folder and open the current widget.txt, I have provided, with a text editor and modify your file from there. Just remember to reboot afterwards.
    For your reference, when creating your 'widget.txt' file, here is the complete list of available widgets with correct syntax that you can copy / paste into your file (don't forget to pipe delimit them):
    Code (Text):
    1. toggleAirplane
    2. toggleAutoRotate
    3. toggleBluetooth
    4. toggleBrightness
    5. toggleGPS
    6. toggleLockScreen
    7. toggleMobileData
    8. toggleScreenTimeout
    9. toggleSleepMode
    10. toggleSound
    11. toggleSync
    12. toggleWifi
    To change some of the widget settings use the included app PowerControl Settings
    [​IMG]

    Extended Power Menu
    [​IMG]

    This port / mod involves many edits to your framework files. Consider this your new / base / stock set of framework files if you wish to theme/customize.

    This is for ShabbyMod on Froyo ONLY
    You CANNOT flash this mod to implement the power control widget, and then flash a theme on top of it as it will either remove the mod or result in bootloops.

    Thanks to JsChiSurf for originally porting this, Cyanogen for creating this and 96blkgsr for the port this is based on and helping me find some shit i missed


    Code (Text):
    1. [SIZE="3"][B]Changelog:[/B][/SIZE]
    2. [B]10/26/11[/B]
    3. [B]Version 1.6[/B]
    4. This will be the final release
    5. Updated to Carrier IQ remover 3.2
    6. [B]Fixed:[/B]
    7. Bootloop
    8. Factory reset
    9. [B]Includes[/B]
    10. White clock
    11. Transparency enabled notification window
    12.  
    13.  
    14.  
    15. [B]9/20/11[/B]
    16. [B]Version 1.5[/B]
    17. Updated the Carrier IQ removal
    18.  
    19. [B]9/02/11[/B]
    20. [B]Version 1.1[/B]
    21. Removed Carrier IQ
    22. Added mod with white clock
     

    Advertisement

    hate, DasXero, ARocker and 2 others like this.
  2. new optimus

    new optimus Android Expert
    Rank:
    None
    Points:
    413
    Posts:
    4,205
    Joined:
    Mar 10, 2011

    Mar 10, 2011
    4,205
    1,456
    413
    Jax Fl
    I always liked the flashlight toggle, even on phones with no led flash the screen gets super bright.
     
  3. blue2107

    blue2107 Well-Known Member
    Rank:
    None
    Points:
    53
    Posts:
    184
    Joined:
    May 31, 2011

    May 31, 2011
    184
    97
    53
    Thank for the release and permission to freely use
     
  4. Shabbypenguin

    Shabbypenguin Android Expert
    Rank:
    None
    Points:
    623
    Posts:
    5,385
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    5,385
    5,071
    623
    Male
  5. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
  6. Shabbypenguin

    Shabbypenguin Android Expert
    Rank:
    None
    Points:
    623
    Posts:
    5,385
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    5,385
    5,071
    623
    Male
    lol was keeping it on the dl :p
     
  7. protegemini

    protegemini Member
    Rank:
    None
    Points:
    16
    Posts:
    54
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    54
    5
    16
    so when i create a theme in uot kitchen upload the framework-res.apk from this zip file to include the power widgets with my own theme?
     
  8. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    yea
     
  9. rm50

    rm50 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    201
    Joined:
    Jun 13, 2011

    Jun 13, 2011
    201
    33
    43
    There is a boat load of dedication!!!!!!!!!!
    Thank you!
    Ric
     
  10. protegemini

    protegemini Member
    Rank:
    None
    Points:
    16
    Posts:
    54
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    54
    5
    16
    didn't see a "customize" folder under systems in my phone. do i have to create a customize folder and drop it in there?
     
  11. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    yea, or use the one included in the zip
     
  12. Spockllp

    Spockllp Newbie
    Rank:
    None
    Points:
    16
    Posts:
    14
    Joined:
    Jun 21, 2011

    Jun 21, 2011
    14
    1
    16
    Sorry for the newb question, but can I flash a theme that isn't yours that doesn't have the power widget mod and then flash the power widget mod ontop of that theme. I know you stated that I can't flash the mod and then the theme but does it go both ways?

    Thanks
     
  13. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    it goes both ways, if you flash the mod on top of a theme it will untheme the phone
     
  14. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    Version 1.1
    Removed Carrier IQ
    Added mod with white clock

    Let me know if you guys have any issues
     
  15. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    Version 1.5
    Updated the Carrier IQ removal

    the bootloops some people had should be fixed
     
    protegemini likes this.
  16. protegemini

    protegemini Member
    Rank:
    None
    Points:
    16
    Posts:
    54
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    54
    5
    16
    is the new CIQ included with the one with white clock as well?

    thanks for your great work btw
     
  17. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    yes, you may want to wait tho.

    I found more CIQ on the phone and removed it. only thing i have left to remove is some code they put for it in the contacts.apk and it will be completely removed
     
  18. junx

    junx Member
    Rank:
    None
    Points:
    18
    Posts:
    72
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    72
    17
    18
    ahh, having issues.
    after installation via cwm, i get many programs that "unexpectedly close" right after reboot and they wont stop coming.
    i've tried installing this twice (both from scratch) and still the same outcome.

    i have refreshed my whole phone using the noob guide 2.0
    so i dont know if i missed something, did something wrong or out of order.
    just to make sure, here are the steps i took in the order i took them:

    1. flashed via odin w/rooted stock rom & cwm rev3 file
    2. applied the cwm rev 4 update
    3. installed shabbymod (slim)
    4. installed the shabbykernal update rc1
    5. installed darktremor a2sd mod
    6. applied the ram optimization script for sgp

    then finally i installed this mod. (the regular mod, not the white version. although the white mod did the same thing when I tried installing it over the regular mod during my first attempt.)

    any help is appreciated.

    (i also have this problem when move on and I try the carrier iq remover mod)
     
  19. Koumajutsu

    Koumajutsu Android Expert
    Rank:
     #73
    Points:
    313
    Posts:
    1,444
    Joined:
    Aug 26, 2011

    I hear that shabbymod slim has some known problems, and I wouldn't trust anything in psp_noob's guide, it just can't stay up to date as the other stickied threads, and it's already known to be biased and lacking info
     
    junx likes this.
  20. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    I haven't updated this in a while

    my rom, themes and blues honeycomb theme include the widgets if you wanna try using one of them, they are more updated.

    if you use the themes on shabbymod make sure you read the instructions. for simple blue/green you gotta flash 3.1 first then 4.1 and for blues theme the download comes with 2 zips to flash
     
    junx likes this.
  21. junx

    junx Member
    Rank:
    None
    Points:
    18
    Posts:
    72
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    72
    17
    18
    ok. gonna try your mod now. the whole point of me doing this was because I wanted to get rid of the carrier iq thing, otherwise i would just stick to a rooted stock rom...
     
  22. johnvansavage

    johnvansavage Well-Known Member
    Rank:
    None
    Points:
    16
    Posts:
    75
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    75
    8
    16
    Male
    california
    is there anyway to reflash the shabbymod 0.9 battery level indicator? i really liked it, and noticed after i flashed this, it took it off :/
     
  23. Bloodawn

    Bloodawn Android Expert
    Thread Starter
    Rank:
    None
    Points:
    313
    Posts:
    2,176
    Joined:
    Jul 16, 2011

    Jul 16, 2011
    2,176
    2,619
    313
    Male
    Illinois
    you could use my themes or blues honeycomb theme, they have the % in the battery icon

    or you can add one using UOT Kitchen and on the file upload part of the kitchen upload the framework-res.apk from this
     
    johnvansavage likes this.
  24. androidkrazy

    androidkrazy Member
    Rank:
    None
    Points:
    23
    Posts:
    69
    Joined:
    Nov 30, 2011

    Nov 30, 2011
    69
    25
    23
    Hey bloodawn tried to private message you seems you have it blocked anyhow I'm trying to do this exact thing on the transform ultra would love to have some tips I know its not exactly the same since froyo vs ginger but any help would be appreciated.
     

Share This Page

Loading...