CD-17302F (Lenovo Smart Display 7") (Ivy) AVB/Bootloader Unlock, Firmware

Search This thread

deadman96385

Retired Forum Moderator / Recognized Developer
Aug 19, 2011
2,265
7,831
Saint Paul, Minnesota
How to Bootloader Unlock (Part 1 of 2):
1. You will need a USB A to USB C cable
2. You will need fastboot drivers on your PC
3. Unplug the power cable from your device
4. Remove the silicone cover from around the power plug (Might be hard it has adhesive on the back)
5. Plug the USB C cable into the now revealed USB-C port
6. Hold the volume + button and plug in the power cord (Smart plugs or switches help so you don't damage the ports by replugging them constantly)
7. Keep holding volume + for about 10-15 seconds (It is slow to boot to fastboot)
8. Once the device shows up on your computer in a terminal run the following command:
Code:
fastboot flashing unlock

AVB/DM-Verity Unlock (Part 2 of 2)
Unlocking the bootloader really does not give a lot to us because all the partitions are still being verified and the device will not boot if they don't match. Word of warning doing this causes the stock OS not to boot fully.

If you are coming from part 1 you can start right away, if not you need to reboot to fastboot again.
1. Extract the downloaded AVB unlock zip
2. Run either the avb-unlock.bat or this command in a terminal
Code:
at_auth_unlock.exe creds\
3. Wait till it finishes
4. Keep in mind the stock system does not boot properly with AVB off (It is weird some UI elements work but the boot animation never goes away)
5. To relock AVB in the future run the following command or the Avb_lock.bat:

Code:
fastboot oem at-lock-vboot!

Now that you are AVB unlocked you can flash the firmware/partitions from fastboot using the flash-all scripts located in the firmware zips.

Combined firmware: (Flashes both Factory and User firmware one to each slot)
Here

User (Stock) firmware:
Here

Debug/Factory Firmware:
Here

AVB Unlock tool:
Here

Various Screenshots:
IMG_7657.jpg
IMG_7648.jpg
IMG_7646.jpg

The firmware provided allows you to have adb and adb root on either debug or user. But the downside is with avb off the device can't access its Tee keys so the user firmware will not finish setup. But you can still install other apps and use root which allows you to fully turn off the security restrictions to allow you to edit files on the device. The commands you need to run are these:
Code:
adb root
adb disable-verity
adb reboot
adb root
adb remount
adb shell setenforce 0

Disable-verity will last until you factory reset or run adb enable-verity

Useful adb and android things commands:
Brings up the default launcher selector screen (If a launcher you try opens and then closes it is not supported by Android Things. You will need one that does not have Widget support. Like KISS Launcher)
Code:
adb shell am start -a android.intent.action.MAIN -c android.intent.category.HOME

Lists installed app package names
Code:
adb shell pm list packages

Change the -p to whichever package name you want to launch it emulates clicking the apps icon in launcher so some system apps don't support it.
Code:
adb shell monkey -p PACKAGE_NAME -c android.intent.category.LAUNCHER 1

Will launch the android things settings page
Code:
adb shell monkey -p com.android.iotlauncher -c android.intent.category.HOME 1

This will launch the google setupwizard/launcher
Code:
adb shell monkey -p com.google.assistant.core -c android.intent.category.LAUNCHER 1

Seems to soft reboot the android things system, but not actually reboot the device proper
Code:
adb shell monkey -p com.google.android.apps.quartz -c android.intent.category.LAUNCHER 1

Launches camera app
Code:
adb shell am start -n com.android.camera2/com.android.camera.CameraActivity
 
Last edited:

supermaxkato

Senior Member
Feb 21, 2010
196
25
So if we turn AVB off, install an apk (like Zello) or other 3rd party launcher (like Nova), then turn AVB back on, will it boot? Or do we have to leave AVB off inorder to use other android apks?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    How to Bootloader Unlock (Part 1 of 2):
    1. You will need a USB A to USB C cable
    2. You will need fastboot drivers on your PC
    3. Unplug the power cable from your device
    4. Remove the silicone cover from around the power plug (Might be hard it has adhesive on the back)
    5. Plug the USB C cable into the now revealed USB-C port
    6. Hold the volume + button and plug in the power cord (Smart plugs or switches help so you don't damage the ports by replugging them constantly)
    7. Keep holding volume + for about 10-15 seconds (It is slow to boot to fastboot)
    8. Once the device shows up on your computer in a terminal run the following command:
    Code:
    fastboot flashing unlock

    AVB/DM-Verity Unlock (Part 2 of 2)
    Unlocking the bootloader really does not give a lot to us because all the partitions are still being verified and the device will not boot if they don't match. Word of warning doing this causes the stock OS not to boot fully.

    If you are coming from part 1 you can start right away, if not you need to reboot to fastboot again.
    1. Extract the downloaded AVB unlock zip
    2. Run either the avb-unlock.bat or this command in a terminal
    Code:
    at_auth_unlock.exe creds\
    3. Wait till it finishes
    4. Keep in mind the stock system does not boot properly with AVB off (It is weird some UI elements work but the boot animation never goes away)
    5. To relock AVB in the future run the following command or the Avb_lock.bat:

    Code:
    fastboot oem at-lock-vboot!

    Now that you are AVB unlocked you can flash the firmware/partitions from fastboot using the flash-all scripts located in the firmware zips.

    Combined firmware: (Flashes both Factory and User firmware one to each slot)
    Here

    User (Stock) firmware:
    Here

    Debug/Factory Firmware:
    Here

    AVB Unlock tool:
    Here

    Various Screenshots:
    IMG_7657.jpg
    IMG_7648.jpg
    IMG_7646.jpg

    The firmware provided allows you to have adb and adb root on either debug or user. But the downside is with avb off the device can't access its Tee keys so the user firmware will not finish setup. But you can still install other apps and use root which allows you to fully turn off the security restrictions to allow you to edit files on the device. The commands you need to run are these:
    Code:
    adb root
    adb disable-verity
    adb reboot
    adb root
    adb remount
    adb shell setenforce 0

    Disable-verity will last until you factory reset or run adb enable-verity

    Useful adb and android things commands:
    Brings up the default launcher selector screen (If a launcher you try opens and then closes it is not supported by Android Things. You will need one that does not have Widget support. Like KISS Launcher)
    Code:
    adb shell am start -a android.intent.action.MAIN -c android.intent.category.HOME

    Lists installed app package names
    Code:
    adb shell pm list packages

    Change the -p to whichever package name you want to launch it emulates clicking the apps icon in launcher so some system apps don't support it.
    Code:
    adb shell monkey -p PACKAGE_NAME -c android.intent.category.LAUNCHER 1

    Will launch the android things settings page
    Code:
    adb shell monkey -p com.android.iotlauncher -c android.intent.category.HOME 1

    This will launch the google setupwizard/launcher
    Code:
    adb shell monkey -p com.google.assistant.core -c android.intent.category.LAUNCHER 1

    Seems to soft reboot the android things system, but not actually reboot the device proper
    Code:
    adb shell monkey -p com.google.android.apps.quartz -c android.intent.category.LAUNCHER 1

    Launches camera app
    Code:
    adb shell am start -n com.android.camera2/com.android.camera.CameraActivity