Reply
Thread Tools Search this Thread
Posts: 23 | Thanked: 10 times | Joined on Apr 2012
#1
pllzzzzz... as my power button is gettin very loose...
 
Posts: 1,373 | Thanked: 1,903 times | Joined on Apr 2010 @ St. Helens, England
#2
What device?
If N900...
It's possible to make the camera button work while locked (info is on this forum), then maybe setup the camera focus to call a dbus command?
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo6 (CSSU Stable)
2.6.28.10power52 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap -


Before posting in a thread please try this.
Before starting a new thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 1,763 | Thanked: 1,389 times | Joined on Sep 2008 @ Berlin, Germany
#3
Sliding the camera shutter open unlocks the device, even circumventing the lockscreen.
With flashlight installed, you could choose between camera, flashlight or, by tapping in the blurred area, desktop.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 1,112 | Thanked: 1,492 times | Joined on Feb 2011 @ Quezon City, Philippines
#4
Follow this guide, replace "long press" command with
Code:
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
__________________
N9 PR 1.3 Open Mode, N900 CSSU Testing.
Using Open Mode on N9? Having problems crop up? Read this post!
 

The Following User Says Thank You to Hurrian For This Useful Post:
Posts: 639 | Thanked: 632 times | Joined on Oct 2011
#5
If it is N9 you can install "lockscreen", a software button to lock your screen.
 
Posts: 23 | Thanked: 10 times | Joined on Apr 2012
#6
i actually dont want to unlock phone, just want to reach the lockscreen!! love sliding the bar to unlock. the camera cover unlocks the phone!
is there any way to reach lockscreen with volume keybor camera key?
 
qwazix's Avatar
Posts: 2,271 | Thanked: 4,132 times | Joined on Jan 2010
#7
this script from nicolai simulates a power button press. You can assign it to camera button using shortcutd

you will need root so this syntax may prove useful

Code:
sh -c 'echo " your command here " | sudo gainroot'
or


Code:
sh -c 'cat myscript.sh | sudo gainroot'
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 07-30-2012 at 09:18 AM.
 

The Following 3 Users Say Thank You to qwazix For This Useful Post:
Posts: 23 | Thanked: 10 times | Joined on Apr 2012
#8
umm.. many thanks!! but i am a complete beginner, so a little easy method wil be of a great help .. thanks neways
 
Posts: 1,373 | Thanked: 1,903 times | Joined on Apr 2010 @ St. Helens, England
#9
beginners version of qwazix method...

Open leafpad, copy "script" to new document.
Save somewhere i.e

Code:
/home/user/.myscripts/camlockscreen.sh
Then make cam button in shortcutd use the following custom command.

Code:
sh -c 'echo "/home/user/.myscripts/camlockscreen.sh" | sudo gainroot'
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo6 (CSSU Stable)
2.6.28.10power52 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap -


Before posting in a thread please try this.
Before starting a new thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 23 | Thanked: 10 times | Joined on Apr 2012
#10
hey guys thanks!! i actually did was applying the long press with unlocking dbus command using shortcutd. now i want to use it like in android -- one click lock, another click unlock..

here is what i did:---

1. dbus-scripts.d
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 05:52 AM.