Android Things: adjust the screen resolution

I have a small screen attached to my raspberry Pi and according to the documentation for the screen:

Write the image to the TF card and add 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 both sides of the equal sign.

But I can not do this on the Android Things drive, since the disk image is not readable

+6
source share
1 answer

The original answer was found HERE , and my savior gave his answer HERE

Create mounting position:

mkdir ~/mnt/sd

Install SD card:

sudo mount -t msdos /dev/disk2s1 ~/mnt/sd

Make changes to the config.txt file, in my case:

 max_usb_current=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt 800 480 60 6 0 0 0 

To disable:

 sudo umount ~/mnt/sd/ 
+9
source

Source: https://habr.com/ru/post/1013882/


All Articles