[HD2 Android NAND Development] Mark5:
Space and Battery Issues

I have picked up lots of bits of information about how to maximize space issues and maximize battery life for those of us who are in love with these amazing new NAND builds....especially those of us with European HD2 phones who only have 512MB to play with :)

I have compiled them below for ease of reference - I claim no originiality for these ideas...I am just bringing them together...so MAJOR THANKS TO ALL THOSE OUT THERE! :D You know who you are...

I have posted it on this thread as I love this particular build, but they should (might!) work for other builds.

Space

1. Before flashing your phone, you can edit the flash.cfg file and change the following line:

cache ya 40M >>to>> cache ya 15M

This reduces the cache by 25M with no discernible impact on the speed of the build (imo).

This should give you in excess of 130MB free after a clean flash. Expect that to drop to around 100MB once Market, Flash and a couple of other apps update themselves.

2. Immediate install Z4 to root your device. You will need to get it from here.

Put it on your SD card and then install a file manager from the Market to browse to it and then install and run. Follow the details on the thread... (Note: it may get stuck on 'Rebooting'. Wait a minute or so and then manually reboot - it will work fine and SuperUser will now work after the reboot)

3. Install Move2SD. You can get it from the Market. Full details are here.

This allows you to move most (not quite all) apps to SD. It is the best option I have found to move most of those awkward apps.

I have now installed pretty much all of my apps that I used to run on non-NAND builds and have moved about 90%+ of them to the SD card. At time of writing I have loads of apps installed and still have over 70MB free :)

Battery

1. Install Battery Monitor Widget or Current Widget from the Market so that you have a way of tracking your current usage.

2. Install Set CPU - free for XDA members from here, but also available on the Market.

After setting your Main Screen to 'OnDemand' and 'Set on Boot', assign SetCPU a couple of profiles. I tend to use:

>> Screen Off: Max/Min 245000, Scaling 'OnDemand', Priority 50%

>> Battery <25% Max 384000/Min 245000, Scaling 'OnDemand', Priority 50%

You can play to your hearts content here, but these give me consistently 7ma in Standby.

Also, you can reduced the sampling rate to 20000 and 'Set on Boot' in Advanced if you like.

3. Avoid power hungry background stuff like animated wallpapers and turn off GPS, Wireless etc. There are LOADS of apps out there that can do this automatically for you free from the market, but I have found that making sure my GPS is off (I have a widget to show me) plus SetCPU is plenty. It may work for you though.

4. Some have reported that Darkstone's suggestion makes a major difference to their power consumption:

"To fix high power drain / usage in standby (60mA or 70mA) disable 'Use wireless networks' in Settings>Location menu. You will now get 7mA or less constantly. I discovered this as the main culprit last night. Also works in other builds."

Anyway, there you go - a few consolidated thoughts - happy NANDing!