FORUMS

Locking the screen

17 posts
Thanks Meter: 1
 
By mcamou, Junior Member on 23rd August 2012, 12:59 PM
Post Reply Subscribe to Thread Email Thread
Hi all,

I rooted my Nook Simple Touch via TouchNooter 2.1.31. No hitches aside from the Market giving me a Server Error just after installing, which cleared up the next day. Since now I have my email (and in the future other sensitive apps/info) on the Nook I would like to be able to lock the screen like a full Android phone or tablet. Is this possible? I don't necessarily mean having the exact same way of locking (i.e., press the power button and the screen locks) but at least an app for doing that would be great. Any ideas?

Thanks!
 
 
23rd August 2012, 01:22 PM |#2  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 874
 
More
Set a PIN lock on your Nook.

In an ADB shell:

Code:
am start -n com.android.settings/.ChooseLockPin
The Following 5 Users Say Thank You to Renate NST For This Useful Post: [ View ]
23rd August 2012, 01:48 PM |#3  
OP Junior Member
Thanks Meter: 1
 
More
Thanks! Now if I could only get adb to work... doing adb shell gives me "error: device not found", and turning on AdbWireless and trying to connect with adb connect just hangs.

Quote:
Originally Posted by Renate NST

Set a PIN lock on your Nook.

In an ADB shell:

Code:
am start -n com.android.settings/.ChooseLockPin

The Following User Says Thank You to mcamou For This Useful Post: [ View ]
23rd August 2012, 04:59 PM |#4  
OP Junior Member
Thanks Meter: 1
 
More
Ah... SUFBS to the rescue! Did it from the terminal. Works perfectly! Thanks!

Quote:
Originally Posted by mcamou

Thanks! Now if I could only get adb to work... doing adb shell gives me "error: device not found", and turning on AdbWireless and trying to connect with adb connect just hangs.

31st August 2012, 01:41 PM |#5  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Renate NST

Set a PIN lock on your Nook.

In an ADB shell:

Code:
am start -n com.android.settings/.ChooseLockPin

How to remove the lock?
31st August 2012, 04:21 PM |#6  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Boston
Thanks Meter: 874
 
More
I don't know if there is an easy user way to do this, but:

Code:
sqlite3 settings.db
delete from system where name like 'lock%';
.q
Either do this on the Nook in /data/data/com.android.providers.settings/databases/
Or else adb pull it, sqlite3 it, adb push it.
The Following 3 Users Say Thank You to Renate NST For This Useful Post: [ View ]
3rd November 2012, 09:46 AM |#7  
Junior Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by Renate NST

Set a PIN lock on your Nook.

In an ADB shell:

Code:
am start -n com.android.settings/.ChooseLockPin

Hi, I'm very new to rooting and have managed to get tinynoot to root my UK Simple Touch Glowlight. I can use the adb install in my command prompt but when I copied your script into the command prompt I just got a list of commands. I have looked at the adb command instructions here http://developer.android.com/tools/h...commandsummary but still can't work out what to do. Would you mind giving me some slightly more detailed instructions for adding the lockscreen from a windows command prompt?

Thanks

EDIT 1: Just brought myself up to speed on shell stuff. Thank you, thank you, thank you Renate NST!!!!
Last edited by smerrett; 3rd November 2012 at 01:44 PM. Reason: Learned what to do
9th May 2013, 10:35 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Hi, I know this thread is a bit old but I am having a problem and I am bit of a blind baboon in a maze with all this.

I followed the directions as best I could: connected rooted Nook, started adb shell then:
Code:
# am start -n com.android.settings/.ChooseLockPin 1111
am start -n com.android.settings/.ChooseLockPin 1111
Starting: Intent { act=android.intent.action.VIEW dat=1111 }
Error: Activity not started, unable to resolve Intent { act=android.intent.actio
n.VIEW dat=1111 flg=0x10000000 }
Tried other things too but I can't code for toffees so..

Can you help?
10th May 2013, 08:08 AM |#9  
Senior Member
Thanks Meter: 54
 
More
Quote:
Originally Posted by icouldntfindit

Hi, I know this thread is a bit old but I am having a problem and I am bit of a blind baboon in a maze with all this.

I followed the directions as best I could: connected rooted Nook, started adb shell then:

Code:
# am start -n com.android.settings/.ChooseLockPin 1111
am start -n com.android.settings/.ChooseLockPin 1111
Starting: Intent { act=android.intent.action.VIEW dat=1111 }
Error: Activity not started, unable to resolve Intent { act=android.intent.actio
n.VIEW dat=1111 flg=0x10000000 }
Tried other things too but I can't code for toffees so..

Can you help?

Presumably that's your desired PIN (i.e. 1111?)

You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.
The Following User Says Thank You to cowbutt For This Useful Post: [ View ]
10th May 2013, 11:33 AM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by cowbutt

Presumably that's your desired PIN (i.e. 1111?)

You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.

Lmao there's something I didn't try. Thank you for replying so fast!
22nd November 2013, 08:55 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by cowbutt

Presumably that's your desired PIN (i.e. 1111?)

You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.

I have to say thank you, first, for providing this information! It was exactly what I wanted.

Now, though, I've been locked out of my device. I think pressure from inside my bookbag created a bunch of readings that the nook took as attempts to access the system, and I'm locked out after 'too many pattern attempts.' It says: "to unlock, sign in with your Google account." But I do that, with no response. (This is without active wi-fi, which I can't activate anyway!)

I was hoping I could use ADB to reset the PIN again, but ADB doesn't appear to recognize the system; maybe it's not opening up the device to USB until it gets unlocked.

I'm currently on the road so I can't go back to my home wi-fi...

Any suggestions?
Last edited by jasonmehmel; 22nd November 2013 at 09:24 AM.

Read More
Post Reply Subscribe to Thread

Tags
nook, screenlock, touchnooter
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes