Quote:
Originally Posted by natemcnutty
There are two catches that I've been thinking about. First, when does machine_variant get populated? Second, what about CDMA users who use a SIM card? I'd love to find a way to detect the actual SIM card, and then you don't need machine_variant and will always use a SIM if available
For the pm.sleep_mode=1, it works great for me, but I don't know if it lowers performance or messes with drivers or anything. It seems to be stable and works well, even with an overclock, but I'd be curious to see what others think about that the full package I uploaded (since I removed force_cdma and set pm.sleep_mode=1 in that one).
|
Nate your CDMA detection did not work for me.
It looks like you should remove the quotes on the 1, like this...
Code:
if [ "$CDMA" = 1 ] ; then
sed -i -e "s:$: htc_hw.force_cdma=1" /tmp/cmdline
fi