That GBB of 0x39 means the device is in an early factory state, this setting means it is effectively locked into developer mode. The system expects to go through a factory process that includes clearing of this flag, setting the serial number, and doing a variety of tests. Note that the process of preparing a device for normal use at this point is not trivial, and requires some command line work.
I think you can get it into a better state by something like:
1. Check that the WP screw is removed, we need this out to rewrite the firmware.
2. Grab a recovery drive and plug it in, when you power on the device press ctrl+u to boot from it, this bypasses any signing checks (this requires dev mode).
3. This recovery process should complete with success, and then it should boot into the OS correctly into developer mode, if not we need to debug why (may need to grab logs from the recovery drive).
4. Now we may need to run a few commands, you can use ctrl+alt+F2 or ctrl+alt+t and then `shell` then `sudo bash` to get to a bash terminal, password should be test0000 if it asks, two things you may want to do here:
4.a. Set the serial number, you can check what it thinks the serial_number is with `vpd -l`, if this returns nothing then we need to set the expected serial number, if your devices need to be enterprise enrolled this is critical. You can set vpd values with `vpd -i RO_VPD -s "serial_number"="YOUR_SERIAL_NUMBER"`.
4.b. Remove the GBB flags, this will allow the device to go back into normal mode. This involves reading the firmware, clearing the flags, and writing it back. The commands look like:
flashrom -p host -r /tmp/image.bin
gbb_utility --set --flags=0 /tmp/image.bin
flashrom -p host -w /tmp/image.bin
5. With the serial number in place and the GBB flags cleared, you can reboot the device, convert it back to dev mode (spacebar) and then go ahead with enrollment.
-Bernie