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