title: Android Things: Set screen resolution
body: <p>I have a small screen attached to my Raspberry Pi and according to the <a href="http://www.waveshare.com/wiki/5inch_HDMI_LCD_(B)" rel="noreferrer">documentation</a> for the screen:</p>
  
  <blockquote>
    <p>Write the image to a TF card and append the following lines to the config.txt file which is located in the root of your TF card:</p>
  </blockquote>
  
  <pre><code>max_usb_current=1
  hdmi_group=2
  hdmi_mode=87
  hdmi_cvt 800 480 60 6 0 0 0
  </code></pre>
  
  <blockquote>
    <p>You must make sure that there are no spaces on either side of the equal sign.</p>
  </blockquote>
  
  <p>But I can't do this on the Android Things drive, as the disk image is not readable</p>