1919b37f3a
* Add HTC Desire (Bravo) device-specific and kernel package * Enable kernel virtual terminal support * Add framebuffer and usb configuration in initfs-hook script * Add udev required kernel options and set correct framebuffer resolution * Add touchscreen device rules and enabled kernel logs (dmesg) * Add deviceinfo_flash_offset_base in deviceinfo and update other offsets
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
|