add new fb for 400x240 & 800x480 & buffers

This commit is contained in:
Angell Fear
2010-10-26 16:04:19 +06:00
parent d2b8544195
commit a41b2321be
12 changed files with 526 additions and 59 deletions

View File

@@ -122,15 +122,30 @@ fi
dmesg > /sdcard/ANDROID/kernel.log
#export LD_PRELOAD=/system/lib/libts.so:/system/lib/ts/pthres.so
#if [ -f /sdcard/ts ] ; then
# echo "EXECUTE CALIBRATE TOUCHSCREEN!!!"
# /bin/mkdir -m 0777 /data/system/tslib
# /system/bin/ts_calibrate
# /bin/rm /sdcard/ts
#fi
default.prop
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
echo "ro.secure=0" > /default.prop
echo "ro.allow.mock.location=1" >> /default.prop
echo "ro.debuggable=1" >> /default.prop
echo "persist.service.adb.enable=1" >> /default.prop
LOWRES=`/bin/grep -o "g900fb.lowres=1" /proc/cmdline`
if [ "$LOWRES" != "" ] ; then
# for 400x240
echo "ro.sf.lcd_density=105" >> /default.prop
else
# for 800x480
echo "ro.sf.lcd_density=210" >> /default.prop
fi
#echo "dalvik.vm.heapsize=10m" >> /default.prop
#exec /bin/sh
exec /init_1