title: Can't Flash Android THings on PICO-PI-IM6UL
body: <p>Can't flash Android Things on PICO-PI-IM6UL ,am using latest Developer Preview 6.
  ==>step i followed </p>
  
  <p>1.Download image for PICO-PI
  2.Un-Zipped 
  3.clicked flash-all.bat (Am using Win10 Machine)</p>
  
  <p>==>Output  </p>
  
  <p><code>&lt; waiting for any device &gt;</code></p>
  
  <p>==> after that i used sb_loader to and tried to flash u-boot.imx</p>
  
  <ol>
  <li><code>.\sb_loader_imx6ul.exe -f .\u-boot.imx</code></li>
  </ol>
  
  <p>==> Output </p>
  
  <pre><code>Found USB#VID_15A2&amp;PID_007D#6&amp;7DC9D1B&amp;0&amp;2.
  Reg 0x20c4068 is initialized.
  Reg 0x20c406c is initialized.
  Reg 0x20c4070 is initialized.
  Reg 0x20c4074 is initialized.
  Reg 0x20c4078 is initialized.
  Reg 0x20c407c is initialized.
  Reg 0x20c4080 is initialized.
  Reg 0x20e04b4 is initialized.
  Reg 0x20e04ac is initialized.
  Reg 0x20e027c is initialized.
  Reg 0x20e0250 is initialized.
  Reg 0x20e024c is initialized.
  Reg 0x20e0490 is initialized.
  Reg 0x20e0288 is initialized.
  Reg 0x20e0270 is initialized.
  Reg 0x20e0260 is initialized.
  Reg 0x20e0264 is initialized.
  Reg 0x20e04a0 is initialized.
  Reg 0x20e0494 is initialized.
  Reg 0x20e0280 is initialized.
  Reg 0x20e0284 is initialized.
  Reg 0x20e04b0 is initialized.
  Reg 0x20e0498 is initialized.
  Reg 0x20e04a4 is initialized.
  Reg 0x20e0244 is initialized.
  Reg 0x20e0248 is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b0800 is initialized.
  Reg 0x21b080c is initialized.
  Reg 0x21b083c is initialized.
  Reg 0x21b0848 is initialized.
  Reg 0x21b0850 is initialized.
  Reg 0x21b081c is initialized.
  Reg 0x21b0820 is initialized.
  Reg 0x21b082c is initialized.
  Reg 0x21b0830 is initialized.
  Reg 0x21b08c0 is initialized.
  Reg 0x21b08b8 is initialized.
  Reg 0x21b0004 is initialized.
  Reg 0x21b0008 is initialized.
  Reg 0x21b000c is initialized.
  Reg 0x21b0010 is initialized.
  Reg 0x21b0014 is initialized.
  Reg 0x21b0018 is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b002c is initialized.
  Reg 0x21b0030 is initialized.
  Reg 0x21b0040 is initialized.
  Reg 0x21b0000 is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b001c is initialized.
  Reg 0x21b0020 is initialized.
  Reg 0x21b0818 is initialized.
  Reg 0x21b0004 is initialized.
  Reg 0x21b0404 is initialized.
  Reg 0x21b001c is initialized.
  DCD Write Success!
  
  Executed plugin successfully.
  
   Loading Firmware.
  Succeed to download .\u-boot.imx to the device.
  Run into the image successfully.
  </code></pre>
  
  <p>after this i computer detect new hardware and i tried to update so got this</p>
  
  <p><a href="https://i.stack.imgur.com/aQ0Hv.png" rel="nofollow noreferrer">Device manager</a></p>
  
  <p>=> after this i tried to flash </p>
  
  <pre><code>PS C:\Users\Faris\Downloads\PicoPi-MXUL_NXP Pico i.MX6UL_1_userdebug_build&gt; .\flash-all.bat
  target reported max download size of 419430400 bytes
  sending 'bootloader' (491 KB)...
  OKAY [  0.016s]
  writing 'bootloader'...
  FAILED (remote:  device is locked.)
  finished. total time: 0.047s
  </code></pre>
  
  <p>Note :- I installed Android Studio and ADB drivers </p>