Edit boot.ini for ODROID-VU7.
setenv hdmimode "800x480p60hz"
# HDMI/DVI Mode Configuration
# This will enforce the signal type of display
# "hdmi" - For HDMI interface
# "dvi" - For DVI interface
setenv vout_mode "dvi"
If you use the low resolution screen like the ODROID-VU7, you need to edit the lcd_density value manually to show the navigation bar properly.
Change “ro.sf.lcd_density=160” to “ro.sf.lcd_density=120” in build.prop file.
$ su
# mount -o rw,remount /
# vi /system/build.prop
# reboot
We will automatically match the density without modification.
Make set_density.sh
---------------------------------------------------------------------------
sleep 5
SIZE="Error type 2"
while true
do
case $SIZE in
Error*)
echo "wm not ready"
sleep 1
SIZE=`wm size`
if [ "$SIZE" == "" ]; then
SIZE="Error type 2"
fi
;;
Physical*)
if [ "$SIZE" == "Physical size: 800x480" ]; then
wm density 120
break
else
wm density 160
break
fi
;;
esac
done
---------------------------------------------------------------------------
$ adb remount
$ adb push set_density.sh /system/bin/
Edit /init.odroidc2.board.rc
---------------------------------------------------------------------------
service auto_density /system/bin/set_density.sh
class main
user root
group root
oneshot
---------------------------------------------------------------------------