6

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

Quintin Balsdon
  • 5,484
  • 10
  • 54
  • 95
  • these are instructions for the Raspbian OS image, not Android Things. Have you contacted the manufacturer to ask them for support? – Blundell Jan 08 '17 at 21:49
  • I know what the instructions are for, I need to do the equivalent on the Android things side - is there any way to adjust a config file for the screen dimensions. – Quintin Balsdon Jan 09 '17 at 09:35
  • 1
    the config file doesn't exist because this is part of Raspbian OS. You should contact the manufacturer asking if they support Android Things – Blundell Jan 09 '17 at 11:28
  • fyi I might be wrong, see this question where he edits a file inside `/boot/` http://stackoverflow.com/questions/41558508/screen-orientation-on-raspberry-pi-3-with-android-things – Blundell Jan 10 '17 at 20:10

1 Answers1

11

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/
Community
  • 1
  • 1
Quintin Balsdon
  • 5,484
  • 10
  • 54
  • 95