9 lines
227 B
Bash
9 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
|