I have a small screen attached to my Raspberry Pi and according to the documentation for the screen:
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:
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
You must make sure that there are no spaces on either side of the equal sign.
But I can't do this on the Android Things drive, as the disk image is not readable
Most modern Android devices will give you the option to adjust screen resolution in the Display options or Settings. To get there, look for the gear-like icon on the applications menu. It should be labeled as Settings. You can also swipe down and click on the Settings app from the drop-down menu.
1 Go to the Settings menu > Display. 2 Tap on Screen resolution. 3 Select a resolution by sliding the circle. Tap on Apply once you have selected your preferred screen resolution.
The original answer was found HERE, and my saviour gave his answer HERE
Create a mounting position:
mkdir ~/mnt/sd
Mount the sd card:
sudo mount -t msdos /dev/disk2s1 ~/mnt/sd
Make changes to the config.txt, in my case:
max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
To unmount:
sudo umount ~/mnt/sd/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With