Quote:
Originally Posted by natemcnutty
Excellent. I took a little different approach. I had been trying to use cat /sys/class/htc_hw/machine_variant | grep -q RHOD50000 to return true, and it kept telling me file does not exist. Instead I created a variable in init called LAYOUT:
LAYOUT=`/bin/grep ".*0*" /sys/class/htc_hw/machine_variant`
and then did a if $LAYOUT="RHOD50000" elseif $LAYOUT="RHOD40000", etc.
|
Great job Nate! I think it's a good idea at least for now to have our own Rootfs... Do you want to add my code to set the LCDDensity?
I posted it
here.
How is everyone's battery life with NAND? Mine seems to drain in only a couple of hours a lot faster then Haret...