Locking the bootloader after installation

@manoj, the documenttion has not yet been modified according to the recent change of installation method that is no more by recovery, but by install_script

.

Hello @Lightning, Welcome to this forum.

the instruction to use the install_script is to execute

chmod +x flash_shiba_factory.sh && ./flash_shiba_factory.sh

then if you choose to relock the bootloader, (that have disadvantages)

.

reboot to fastboot and run the following :

Official Instructions

according to Install /e/OS on a Google Pixel 8 - “shiba”

Locking the bootloader

Warning: The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds.

In /e/OS recovery main screen:

  1. Select Advanced
  2. Select Reboot to bootloader

Once the device is in fastboot mode:

  1. Verify your PC finds it by typing:
 fastboot devices

2.Tip:* If you see no permissions fastboot while on Linux or macOS, try running fastboot as root.

  1. Download the avb custom key
  2. Erase the previous key fastboot erase avb_custom_key
  3. Flash the new key previously downloaded fastboot flash avb_custom_key pkmd_pixel.bin
  4. Lock the device fastboot flashing lock
  5. Use the volume key to select Lock the bootloader

Reboot the device

  1. Use power button to Start the device

The reboot process may take 5 - 10 minutes

Disabling OEM Unlocking.

Once you boot your device after locking bootloader:

  1. Finish SetupWizard
  2. Go to Settings > About phone > Build number.
  3. Tap the Build Number option seven times until you see the message You are now a developer! This enables developer options on your device.
  4. Return to the previous screen and go to System to find Developer options at the bottom.
  5. In Developer Options, turn OEM Unlocking off.

Success: Congratulations !! Your phone should now be booting into /e/OS !!

1 Like