You’ll need to install and setup adb and then run the following commands. Change ipaddress to the ip address of the device running Android Things
adb connect ipaddress
adb push bootanimation.zip /system/media/
bootanimation.zip will either need to be in the same directory as adb, or you can specify the path. For example if it is located on your Desktop you can use
adb push \Users\username\Desktop\bootanimation.zip /system/media/
on Linux or MacOS
adb push ~/Desktop/bootanimation.zip /system/media/
To boot up into the Android boot menu, start by powering down phone.
Once it is powered off, press the Volume Down and Power button and hold until it turns on.
You should get the boot menu.
On the phone enable Developer options. More info here.
Find the “OEM unlocking” button and enable.
Reboot phone to bootloader.
Plug phone into computer and computer run
sudo fastboot flashing unlock
Use the buttons on the phone to select and enable unlocking.
Enable developer options By going to
Settings > System > About Phone > Developer options (Tap 7 times)
Enable OEM unlock in Developer settings
Reboot into recovery
If your one Verizon you may need to go through a couple extra steps to get the oem unlock to show up in the developer settings. More info here
Boot into twrp
fastboot img twrp.iso
Select the option in TWRP to sideload and sideload the Lineage iso
adb sideload lineage
Reboot install GAPPS
adb sideload gapps.zip
Note that running this procedure could render any Linux partitions inaccessible.
Boot up into recovery, launch the Command Prompt and run the following command
The command should remove Grub and replace it with the Windows bootloader, so when you reboot it should go straight to Windows.