View Single Post
  #326 (permalink)  
Old 10-25-2010, 11:29 PM
Lmiller1708's Avatar
Lmiller1708
Flashaholic!
Offline
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - Keyboard Mapping Fixed, HW3D, and Battery Algo Update

Quote:
Originally Posted by natemcnutty View Post
So maybe we can ADB our device before we flash, then "echo 50 >/sys/class/leds/lcd-backlight/brightness" and then flash and it works? I tried changing brightness after the flash, and that didn't work for me.

As for lcd density, it's all handled by this tiny bit of code from init in rootfs:

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
fi

I guess we could have it grab something from the sdcard, but I'm not sure if there would be a way to make it configurable within Android. I don't mind playing around with this, but I won't be able to do anything with it until tomorrow
Yes that should work.

Trying to get Ubuntu installed on my laptop as a VM in Windows 7. It is a pain in the A$$.

Thanks for your help on this I will look at the rootfs once it get Ubuntu working.
__________________
Reply With Quote