Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2014, 11:47 PM   #1
JohnWW
Junior Member
JohnWW began at the beginning.
 
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.
JohnWW is offline   Reply With Quote
Old 08-20-2014, 09:47 AM   #2
afainber
Connoisseur
afainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the roughafainber is a jewel in the rough
 
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).
afainber is offline   Reply With Quote
Old 04-30-2015, 09:33 PM   #3
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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.
DoctorWkt is offline   Reply With Quote
Old 05-03-2015, 07:08 PM   #4
zoidberg
Junior Member
zoidberg doesn't litterzoidberg doesn't litterzoidberg doesn't litter
 
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!
zoidberg is offline   Reply With Quote
Old 05-04-2015, 04:33 PM   #5
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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
DoctorWkt is offline   Reply With Quote
Old 05-05-2015, 02:22 PM   #6
zoidberg
Junior Member
zoidberg doesn't litterzoidberg doesn't litterzoidberg doesn't litter
 
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}
Have fun!
zoidberg is offline   Reply With Quote
Old 05-06-2015, 06:10 AM   #7
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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.
DoctorWkt is offline   Reply With Quote
Old 05-06-2015, 06:35 AM   #8
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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
I do make unpack to extract the files from boot.img. I then edit fs/init.freescale.rc to comment out the line:

Code:
    # Disable KEYGUARD
    # setprop ro.ONYX_DISABLE_KEYGUARD 1
I then do a make repack to create the newboot.img file. Then I run fastboot flash boot newboot.img to prepare my PC to install the newboot.img file.

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
Then I let go of both buttons, then hold down only the power button for a long time to turn the T68 off. Finally, I can turn it on again as per usual.

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.
DoctorWkt is offline   Reply With Quote
Old 05-06-2015, 02:01 PM   #9
zoidberg
Junior Member
zoidberg doesn't litterzoidberg doesn't litterzoidberg doesn't litter
 
Posts: 8
Karma: 204
Join Date: Apr 2015
Location: United Kingdom
Device: m96
Quote:
Originally Posted by DoctorWkt View Post
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 should have mentioned that, sorry. Yeah, the pin screen isn't very responsive. On mine, though the buttons work, the screen and especially the actual keys are slow to respond. Didn't know about and light issues either, since there's no light on the M96.

Great instructions btw!
zoidberg is offline   Reply With Quote
Old 05-06-2015, 11:39 PM   #10
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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
DoctorWkt is offline   Reply With Quote
Old 06-26-2016, 07:02 AM   #11
cicabum
Addict
cicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud of
 
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
Quote:
Originally Posted by DoctorWkt View Post
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 :-)
It works Just a question: how can I change the background of the screen lock?
cicabum is offline   Reply With Quote
Old 08-14-2016, 01:50 PM   #12
JNT
Connoisseur
JNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic somethingJNT has a certain pleonastic something
 
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:

Quote:
Originally Posted by DoctorWkt View Post
... 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 :-)
Does long-pressing the BACK button not turn on and off the front-light for you? On my T68 it does...
JNT is offline   Reply With Quote
Old 08-14-2016, 03:39 PM   #13
cicabum
Addict
cicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud of
 
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
Quote:
Originally Posted by JNT View Post
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...
Yes, T68 works in that way, even if DoctorWkt was talking about the power button in his last comment :-)
cicabum is offline   Reply With Quote
Old 08-14-2016, 04:16 PM   #14
DoctorWkt
Connoisseur
DoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmosDoctorWkt has become one with the cosmos
 
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
DoctorWkt is offline   Reply With Quote
Old 08-15-2016, 10:42 AM   #15
cicabum
Addict
cicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud ofcicabum has much to be proud of
 
Posts: 206
Karma: 27732
Join Date: Oct 2012
Device: Onyx Note3, Nova3, Hisense A5, Hisense Q5, Dasung Paperlike Pro-f
Quote:
Originally Posted by DoctorWkt View Post
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
Now it works fine for me as well: I've upgraded simply on the last firmware. Now I'm looking for the file of the lock screen, because I want to make it black and white. I've edited the file keyguard_screen_tab_unlock (framework-res\res\layout) but nothing changes: do you know maybe what file I should edit? Thank you anyway for your interest!
Attached Thumbnails
Click image for larger version

Name:	20160815_162513.jpg
Views:	365
Size:	460.8 KB
ID:	150998  
cicabum is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:51 PM.


MobileRead.com is a privately owned, operated and funded community.