[GUIDE] Unlock/Lock Nexus S Bootloader

Search This thread

sombionix

Retired Forum Mod
Nov 20, 2009
1,609
2,428
Salt Lake City, UT
Most of you already know how to perform this procedure, but for those that don't, its simple.

NOTE: Unlocking your bootloader will perform a factory reset

Unlock Bootloader:
1. Open command prompt
2. Type 'adb reboot bootloader'
3. Type 'fastboot oem unlock'
4. Use volume keys to select 'yes, unlock bootloader'
5. Use power button to select option
6. Done!

Lock Bootloader:
1. Open command prompt
2. Type 'adb reboot bootloader'
3. Type 'fastboot oem lock'
4. Done!
 
Last edited:

Nexus 1

Member
Jan 21, 2010
24
0
[REF] "fastboot oem lock" will lock the device back

at least the bootloader screen shows it can be locked back.



not tried really locked my customized kernel yet.

will update after trying
 

Darrien13

Senior Member
Jan 2, 2009
1,187
20
So you can lock the bootloader back after you unlock it? COOL :D

Sent from my T-Mobile G1 using XDA App
 

GrandMstrBud

Senior Member
Jan 30, 2007
1,407
105
Google Pixel 6
If I type fastboot devices I get the "unable to locate componant" error which says "this application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix the problem".
 

DKYang

Senior Member
Mar 19, 2009
904
54
If you are having issues with the stock usb drivers, then try this:
http://xdaforums.com/showthread.php?p=9861928#post9861928

The part about installing PDAnet does fix the Android 1.0 driver problem, for me anyways. Once you get fastboot working, it seems fine to uninstall the program since it is still working for me.

The latest driver is version 4. You can open up the SDK Manager and download it. Look under available packages (I think that's what its called).


Is there an icon, like there was with the padlock on the nexus one, after you unlock it?
Yes. I've never had the Nexus One before, but the padlock icon did appear once I did the fastboot oem unlock.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Most of you already know how to perform this procedure, but for those that don't, its simple.

    NOTE: Unlocking your bootloader will perform a factory reset

    Unlock Bootloader:
    1. Open command prompt
    2. Type 'adb reboot bootloader'
    3. Type 'fastboot oem unlock'
    4. Use volume keys to select 'yes, unlock bootloader'
    5. Use power button to select option
    6. Done!

    Lock Bootloader:
    1. Open command prompt
    2. Type 'adb reboot bootloader'
    3. Type 'fastboot oem lock'
    4. Done!
    2
    I'd like to know this too, would it see the clockwork mod as foreign and revert to stock recovery if the bootloader is relocked?

    fastboot oem unlock does the following:
    - prompts for confirmation, aborts if NO
    - erases data
    - sets unlocked flag (to allow flash/erase of boot/recovery/system/etc)

    fastboot oem lock
    - clears unlocked flag (to disallow flash/erase of boot/recovery/system/etc)
    2
    Yes we understand, the question is:
    After we unlock, install clockwork, and root the phone, can we then relock the bootloader and still have root/clockworkmod working and all that jazz? (We don't like the 5 seconds we see the Lock icon :p )

    Yes -- locking the bootloader only disables the ability to use fastboot flash/erase until you unlock it again. It doesn't change anything else.