View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1
Customize Queen BeeCon Widget (>=v0.1.4) as:
N900 Hard Sleep Mode

The Beecon will put the N900 into Hard Sleep Mode. When pressed, it'll perform the following actions:
  • Set WIFI OFF
  • Change phone network mode to GSM
  • Shutdown all network connections
  • Blank the screen
  • Lock device



Ready?!

Preparation Steps:
  1. Download and Install Queen Beecon Widget (>=v0.1.4) (Warning! It's still in extras-devel; if you like it, I need your support for testing and promoting to Testing and Extras)

  2. Save icons/images attached to the post (or Download and extract zip file attached to the thread for your convenience) and store images in the specified N900 directory, create it if not existing. (Warning: inside the zip file there could be images with numbers appended to common graphic filenames extensions - ex. football-icon.png.3 - this is NOT an error!) - Do NOT save the following images as their filename will not be correct!



  3. Just drop them HERE:


  4. Make sure you copy the following Exported Instance Data to your phone's clipboard. (Do not modify anything as it is checksum protected and modifications will invalidate checksum!)
    See HERE for tutorial
    Code:
    [queen-beecon-header]
    version=1,000000
    checksum=1860236
    [queen-beecon-exported-instance]
    widgetType=1
    operationalStatus=0
    hideCanvas=true
    snippetBgRGB=0
    beecon_lt0_ImgZoom=0
    beecon_lt0_BgRGB=2
    beecon_lt0_ImgFilename=queen-beecon-syserr.png
    beecon_eq0_ImgZoom=0
    beecon_eq0_BgRGB=3
    beecon_eq0_ImgFilename=queen-beecon-appok.png
    beecon_eq1_ImgZoom=0
    beecon_eq1_BgRGB=4
    beecon_eq1_ImgFilename=queen-beecon-appwrn.png
    beecon_ge2_ImgZoom=0
    beecon_ge2_BgRGB=5
    beecon_ge2_ImgFilename=queen-beecon-apperr.png
    beecon_idxge2_ImgZoom=0
    beecon_idxge2_BgRGB=11
    beecon_idxge2_ImgFilename=queen-beecon-index.png
    widWidth=97
    widHeight=97
    instanceTitle=hardsleep
    instanceCmd=run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true ; rmmod wl12xx ; run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.set_selected_radio_access_technology byte:1 ; run-standalone.sh dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
    cmdImgFilename=hardsleep.png
    cmdImgZoom=0
    cmdFgRGB=1
    cmdVisibilityPosition=0
    cmdImgVisibilityPosition=5
    cmdJustify=0
    cmdFontName=3
    cmdFontSize=12
    resImgFilename=queen-beecon-resimg.png
    resImgZoom=0
    resFgRGB=1
    resVisibilityPosition=0
    resImgVisibilityPosition=0
    resJustify=0
    resFontName=2
    resFontSize=12
    updOnStartup=false
    updOnClick=true
    updOnDesktop=false
    delayIndex=0
    updNeworkPolicy=0
  5. Proceed with the import of the "Exported Instance Data" according to the following instructions:
    Import Procedure for Beecon Exported Instance Data

  6. Eventually "Save" your Beecon and Press on button for Hard Sleep Mode

Have Fun!!!
Attached Images
 
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras

Last edited by No!No!No!Yes!; 2010-04-16 at 09:27.
 

The Following 15 Users Say Thank You to No!No!No!Yes! For This Useful Post: