add new fb for 400x240 & 800x480 & buffers
This commit is contained in:
6
ramfs-android/default.prop
Normal file → Executable file
6
ramfs-android/default.prop
Normal file → Executable file
@@ -5,6 +5,10 @@ ro.secure=0
|
||||
ro.allow.mock.location=1
|
||||
ro.debuggable=1
|
||||
persist.service.adb.enable=1
|
||||
ro.sf.lcd_density=210
|
||||
# for 800x480
|
||||
#ro.sf.lcd_density=210
|
||||
# for 400x240
|
||||
ro.sf.lcd_density=105
|
||||
|
||||
#dalvik.vm.heapsize=10m
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user