
Based on cmdrwgls original work from: https://github.com/postmarketOS/pmbootstrap/pull/810 Fixed to actually boot, compile with GCC-6, and the touch screen is working! [skip ci]: already passed CI
8 lines
227 B
Bash
8 lines
227 B
Bash
#!/bin/sh
|
|
|
|
# set framebuffer resolution
|
|
echo 16 > /sys/class/graphics/fb0/bits_per_pixel
|
|
echo 480,1600 > /sys/class/graphics/fb0/virtual_size
|
|
|
|
# set usb properties
|
|
echo 4 > /sys/devices/platform/android_usb/usb_function_switch
|