08-17-2014, 11:47 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2014
Device: T68
|
T68 Screen lock PIN
I'm looking for a way to PIN protect my T68. Trying to set the Screen Lock in the Android settings, but it seems to have no effect at all. Running the Update date 2014-07-02 from Booxtor's post.
|
08-20-2014, 09:47 AM | #2 |
Connoisseur
Posts: 97
Karma: 7198
Join Date: Apr 2007
Device: Boyue Likebook Plus, Inkbook Explore
|
I believe that Onyx are using a modified locking mechanism, standard Android lock configuration and apps will not work correctly (just like the standard apps that deal with power management don't work on the T68).
|
Advert | |
|
04-30-2015, 09:33 PM | #3 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
Has anybody found a way to set up some sort of screen lock when the T68 is awakened? I don't want to set up my e-mail and other accounts if someone can access them easily.
|
05-03-2015, 07:08 PM | #4 |
Junior Member
Posts: 8
Karma: 204
Join Date: Apr 2015
Location: United Kingdom
Device: m96
|
I actually stumbled across a way to do this recently. It's a little complicated, I'm not sure how safe/stable the procedure is and it may well void your warranty! I have an M96, but according to the wiki it's OS setup is pretty similar to the T68 so in theory the same procedure could work.
I had to take the boot image from the latest update.zip I applied, unpack it, edit a settings file, then repack it and flash it back to the device using fastboot. The file was init.freescale.rc, and the setting, I commented out this setting: `setprop ro.ONYX_DISABLE_KEYGUARD 1` and now the pin screen shows. Here's a site with a very good guide on editing boot images:http://android-dls.com/wiki/index.ph...ck_Boot_Images. I did things slightly differently, using a program called abootimg which I found in the ubuntu repo instead of the one mentioned on that site, but the process is the same. Should get you started! I should say again that I'm not an expert in any of this and can't rule out the possibility of bricking your device if it goes horribly wrong. Someone more knowledgable might come along and tell me I did a really dumb thing and was lucky to get away with it, or just that there's a much simpler way of doing it! |
05-04-2015, 04:33 PM | #5 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
Thanks for the information, zoidberg. How do you get into fastboot mode on the M96? How did you reflash the update.zip file, and does this cause a factory reset?
If I can avoid the factory reset, I'll give it a go. Cheers, Warren |
Advert | |
|
05-05-2015, 02:22 PM | #6 |
Junior Member
Posts: 8
Karma: 204
Join Date: Apr 2015
Location: United Kingdom
Device: m96
|
Hi Warren, there's info about fastboot on the M96 wiki page, you just need to power off and start up again, holding down power+next buttons.
I didn't re-flash the whole update.zip just the boot partition, so it's not like a factory reset, your data wouldn't be affected unless the whole thing does somehow go horribly wrong. Still, I'd take a backup anyway, just in case!! The command would be something like Code:
fastboot flash boot {FILE} |
05-06-2015, 06:10 AM | #7 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
zoidberg, can you give me your command lines for abootimg to extract and repack the boot.img? I'm trying mkbootimg on Linux, and every new boot.img I create doesn't work. I've even repacked with no changes. So I'd like to try abootimg instead. Thanks.
|
05-06-2015, 06:35 AM | #8 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
OK, I managed to get it to work. I now have a T68 with a PIN number on the sleep screen. On my Linux box I wrote a Makefile to make it easy to unpack and repack the boot.img file:
Code:
all: echo unpack pack unpack: rm -rf fs abootimg -x boot.img mkdir fs (cd fs; zcat ../initrd.img | cpio -i) repack: (cd fs; find . | cpio -o -H newc | gzip > ../newinitrd.img) abootimg --create newboot.img -f bootimg.cfg -k zImage -r newinitrd clean: rm -rf bootimg.cfg fs initrd.img newboot.img newinitrd.img zImage Code:
# Disable KEYGUARD # setprop ro.ONYX_DISABLE_KEYGUARD 1 I plug my powered off T68 into a USB port on my PC. I hold down next page and the power button (and keep both held down). On my PC, I see: Code:
< waiting for device > sending 'boot' (3468 KB)... OKAY writing 'boot'... OKAY So far, the lock screen seems a bit dodgy. For the first few reboots, the capacitive screen showed the PIN screen but it was unresponsive. Now there's a screen light issue. Sometimes when I put it to sleep, the screen light stays on, but not always. I will try the PIN screen for a while and report back on any issues that I've seen. Thanks to all for your help. Warren Last edited by DoctorWkt; 05-06-2015 at 11:40 PM. |
05-06-2015, 02:01 PM | #9 | |
Junior Member
Posts: 8
Karma: 204
Join Date: Apr 2015
Location: United Kingdom
Device: m96
|
Quote:
Great instructions btw! |
|
05-06-2015, 11:39 PM | #10 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
I've had the PIN lock on the sleep screen for about a day now. Here's how it works on the T68. When the device is asleep, I press the power button to wake it up. The screen flashes and the front light lights up, then it goes back to sleep. Pressing the power button a second time brings up the PIN screen but no front light. Once I enter my PIN I get the desktop, but still the front light is off. I have to use the power widget to toggle the front light back on.
It seems to be stable, i.e. the PIN screen always works. It's just that the front light stays off is a bit annoying. Edit: if I press the power button a few times to sleep/unsleep, then I can usually get it into a situation where the front light is on. That's a sort of solution :-) Last edited by DoctorWkt; 05-07-2015 at 05:00 AM. Reason: more information |
06-26-2016, 07:02 AM | #11 | |
Addict
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
|
Quote:
|
|
08-14-2016, 01:50 PM | #12 |
Connoisseur
Posts: 53
Karma: 18986
Join Date: May 2012
Location: Sweden
Device: KT / K4NT / T62D / T68
|
I just want to say thanks for the information in this thread. Very useful!
and also: Does long-pressing the BACK button not turn on and off the front-light for you? On my T68 it does... |
08-14-2016, 03:39 PM | #13 |
Addict
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
|
Yes, T68 works in that way, even if DoctorWkt was talking about the power button in his last comment :-)
|
08-14-2016, 04:16 PM | #14 |
Connoisseur
Posts: 54
Karma: 21028
Join Date: Apr 2015
Device: T68 Lynx, T68+
|
Over on YouTube, cicabum wrote: I've actived lock screen how you described here. Lock screen works on my T68, but now Power Manager can not power off automatically the device... Could you give me please some tips?
cicabum, by automatically do you mean that you cannot power down the T68 by holding the power button down and choosing Power Off? It all works fine for me. One thing I would suggest is that you try removing the changes, and see if the Power Manager functions work again. At least we will know that it is these changes which are causing the problem. Cheers, Warren |
08-15-2016, 10:42 AM | #15 | |
Addict
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-350 lock touch screen | nogrits4me | Sony Reader | 9 | 05-15-2013 01:16 PM |
Touch Screen Lock on NOOK | Sarthak | Barnes & Noble NOOK | 5 | 11-22-2011 11:15 AM |
Screen Lock Password | ruralman | Kobo Tablets | 3 | 11-05-2011 08:18 PM |
Screen Lock | sherbearjt08 | Nook Developer's Corner | 1 | 06-17-2011 03:57 PM |
Screen Lock on Hanvon | UchihaNaru | More E-Book Readers | 0 | 05-13-2011 12:04 PM |