Project

General

Profile

Key presses needed to accept unlock

Added by Linus Drumbler over 11 years ago

I'm writing an installer application for Replicant. When the user is unlocking the bootloader on a fastboot-install device (Nexus S, Galaxy Nexus, Nexus One, how many times do they need to press the volume keys (and in which direction) in order to accept the disclaimer? I've long since forgotten how I unlocked the bootloader on my device.


Replies (3)

RE: Key presses needed to accept unlock - Added by Linus Drumbler over 11 years ago

It seems that this won't even work. My original plan was to use adb and/or fastboot to simulate keypresses, but I've found that this doesn't work in the bootloader. Is there a shell command or set of shell commands that will select the disclaimer and confirm?

RE: Key presses needed to accept unlock - Added by Paul Kocialkowski over 11 years ago

Is there a shell command or set of shell commands that will select the disclaimer and confirm?

I doubt the bootloader has a shell you can access over adb or fasboot. As far as I know, the whole point of the operation is that the user "manually" accepts to unlock the device. Automatizing the process seems to defeat that purpose a bit, so I really doubt there is anyway to do it.

Also, do you still think it is a good idea to write an installer given the drastic requirements it would have to comply with (c.f. our emails)?

RE: Key presses needed to accept unlock - Added by Linus Drumbler over 11 years ago

Yes, I still think so. I am not complying with the requirements. This installer is command-line, and it does not embed fastboot or Heimdall code. But I still believe that following a few simple instructions is easier and less-error prone than entering the shell commands oneself.

    (1-3/3)