|
||||
Wirelessly posted (Opera/9.80 (Windows Mobile; Opera Mini/5.1.21594/21.529; U; en) Presto/2.5.25 Version/10.54)
Quote:
|
This post has been thanked 2 times. |
|
||||
Re: NAND Boot Testing - HW3D Fixed: 10-21, Auto-brightness Testing: 10-24
Quote:
Virturalbox Rocks by the way!
__________________
|
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
Quote:
I also added the lcd-blacklight command from above. It works. With this code you just need to place a file named "LCDDENSITY.240" or "LCDDENSITY.210" in the andboot folder of your SD Card. Code:
echo 50 >/sys/class/leds/lcd-backlight/brightness LCDDENSITY=`/bin/grep -o "lcd.density=.*" /proc/cmdline | /bin/sed -e "s/.*lcd.density=//g" -e "s/ .*//g"` if [ "$LCDDENSITY" != "" ] ; then echo "ro.sf.lcd_density=$LCDDENSITY" >> /etc/default.prop echo Setting ro.sf.lcd_density=$LCDDENSITY elif [ -f $card/LCDDENSITY.240 ] ; then echo "ro.sf.lcd_density=240" >> /etc/default.prop echo Setting ro.sf.lcd_density=240 elif [ -f $card/LCDDENSITY.210 ] ; then echo "ro.sf.lcd_density=210" >> /etc/default.prop echo Setting ro.sf.lcd_density=210 fi Last edited by Lmiller1708; 10-26-2010 at 04:12 PM. |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
Quote:
did you try the conf file i mentioned? this is already in place so it should not need modds to the rootfs. Keep min mind we could also butcher the initramfs to do anything we want. This rarely changes so we could always have it do stuff. Nate what do u think about that?
__________________
|
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
Quote:
I agree with not using the rootfs for stuff like this. It would be easier just to use one rootfs across the board. Last edited by Lmiller1708; 10-26-2010 at 05:28 PM. |
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
I added this to the froyo user.conf file and everything works but the keyboard? Ideas why that would be?
Code:
NAND_Settings{ #BACKLIGHT echo 50 >/sys/class/leds/lcd-backlight/brightness #LCD_Density echo "ro.sf.lcd_density=240" >> /etc/default.prop #210 or 240 echo Setting ro.sf.lcd_density=240 #210 or 240 #Keyboard Layout cp -f /init.etc/keymaps/rhod500_microp-keypad.kl /etc/keymaps/microp-keypad.kl cp -f /init.etc/keymaps/rhod500_microp-keypad.kcm.bin /etc/keymaps/microp-keypad.kcm.bin } |
|
||||
Wirelessly posted (Opera/9.80 (Windows Mobile; Opera Mini/5.1.21594/21.529; U; en) Presto/2.5.25 Version/10.54)
Quote:
I was thinking about modding htc_hw to output the machine_varient to somewhere more permanent that would be read during init to assign keymapping. This would map properly on all boots after the first one unless there were a way to invoke it before init. |
This post has been thanked 1 times. |
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
Quote:
echo 'physkeyboard=rhod400 ' `cat /proc/cmdline` > /tmp/cmdline mount --bind /tmp/cmdline /proc/cmdline Give that a try. .. Its ugly, but it will do for now. |
This post has been thanked 3 times. |
|
||||
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update
The guide to compile ended up being much larger than I had planned, so in an effort to keep this thread clean and allow for feedback, I created a new post about compiling. You can check it out here:
http://forum.ppcgeeks.com/tp2-androi...beginners.html |
This post has been thanked 3 times. |
|
|
|