Earlier I was using my RaspberryPi
with Waveshare LCD and Raspbian
was installed so there was no issue with display, but now I have Android T
As of now Android Things
image isn't shipped with a default configuration for display in config.txt file which is located in the root of your SD card (see the boot partition). The configuration should be added manually. Look for an appropriate display configuration in the supplied documentation or manufacturer's website.
For example, in my case for Waveshare 5inch 800x480 HDMI LCD (B) the following lines needed to be appended to config.txt
:
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
In fact, the max_usb_current
, hdmi_group
and hdmi_mode
parameters with the values above should work for a wide range of displays from different manufacturers. Screen resolution in hdmi_cvt
will vary.
Latest versions of Android things OS automatically detect any kind of display and reform the settings for it.
So first I will recommend you to check whether your raspberry pi boot up from your sd card or not bcz the latest version i.e 5.0 & 5.1 not working with raspberry pi appropriately (personal experience).
Thus, first check that your raspberry pi give you an ACT light blanking instead of just stable red light.