Installing Only On Nand = Better Battery Life + Speed - Tilt, TyTN II, MDA Vario III Android Development

Using my phone I have tried different methods of installing the latest VanijEclair on my Tilt. However ever since I installed everything on Nand including data I have noticed that I have awsome battery life on a fresh install. I am using 2G all the time also but even with 3G on I get a little better battery life when installed strickly on Nand.
Before I settled on this method I tried installing Sys on Nand and Data on SD and I would go to work have to recharge at the end of the day because my phone would just die. The only thing that I can think of is that even when the phone is off the sdcard is constantly reading and writing data sucking down precious battery power throught the day.
Although when installing strictly on Nand you don't receive the benefits of more space you do gain speed I think as my phone is pretty smooth so far.
Has anyone experienced this?

My view is this, when we flash the NBH, it creates 4 partitions in nand, one for boot, one for system, one for data, and one for cache, ( I think that's correct, please let me know if I'm wrong), anyway, if we install sys on nand, data on SD, what happens to the /data partition on nand? Is it magically transformed into RAM or something else? No, it just sits there doing nothing, you could hack the partition sizes to free up more space on system, by 'stealing' it from the redundant /data partition, but that has no real benefit either, apart from being able to install huge experimental builds, like a hero/sense one I'm playing with, ( no it won't boot, and it's so old it has cobwebs on /system/media).
So why waste that space, I've always used sys and data on nand, and tried to control my bad habit of downloading every damn widget and app i like, because I'm really only going to use once, or maybe twice, and battery life is something that 'improves' with use anyway, ( it's called battery calibration, the longer you use a build, the better the battery calibration gets).
I do think that the ideal set up would be similar to the one I use on my G1, sys and data on nand, ( naturally), sd card partitioned 64,512 swap/ext2, the remaining space fat32, use apps2sd and either swapper2 or enable swap from spare parts, (some builds have that option, unsure if it works on kais tho, something else to play with if I get the time).
The reason why battery life is worse using SD may be that is just less efficient anyway, it's certainly slower, and ties you to that SD card, which is usually fine, but occasionally like to transfer data, and removing the SD is possible if it does not contain part of the OS

Related

Battery dead overnight /

Has anyone seen this: my battery was fully charged at the end of the afternoon, I made a few calls (not too long). The day after my machine did not react; after placing it in the cradle it finally came to life... EVERYTHING WAS GONE.
One would think that a daily sync would backup most stuff, but this has proven to me a major misjudgement of mine... My daily time4life reporting is gone. This sucks.
Anyone knows how to recover this? Why isn't the information safe on this machine?
Yep, get sprite back-up it has a battery monitor function.
Turn the Bluetooth and wifi off when you dont need them.
Save your work on the SD card
Regards
The Pilgrim
If you live in an area of poor network coverage, it is advisable to switch off the radio overnight. If the phone can't get a good sugnal it constantly polls looking for a better signal and draining the battery.
But we're living in de 21-th century... Surely some power can be held in reserve to save the memory...
It sucks bigtime!
But, I will look at sprite backup and will put My documents on the SD card.
Thanx for the tips
I had a similar issue but caught it in time...
I was using an MP3 player and had launched the camera function by accident. On taking the thing off my belt, it was HOT :shock: and had hardly any battery left.
I suppose from an 85% battery, using for 1 hour with the MP3 and camera app running had exhausted the battery. Very worrying, but more so was the XDAIIs was so hot - either the battery or the main unit - not sure.
Have used the MP3 on its own for several hours with no probs, so I can only surmise that the camera eats battery power....... so, could it have been that which was running on yours, hst?
Sorry complete newbie to the XDA IIs here after having ditched my Ipaq H6365. (I only had that for 7 days so not exactly a seasoned ppc user)
When you say you lose everything when you have a flat battery what does that mean? Is this the same as a hard reset? Installed programmes gone?
Is it all emails, text messages and contacts?
it is worrying if so as I travel a lot and sometimes might not get chance to charge my XDA and can do without losing these. is there a way to save your contacts etc to a storage card?
Thanks
For all the n00bs and people who don't know...
The XDAs have different types of memory. The Operating system is kept in "Non volatile" memory. This is safe, even without power.
Now, all the programs and your "Documents" that ARE NOT kept on a storage card and kept in the "volatile" memory. This needs constant power otherwise, it wipes it!!!! This is like doing a HARD RESET! Installed programs, e-mail, pictures, etc - GONE!!!!
As far as I'm aware there is NO WAY to recover from volatile memory that has lost it's power.
Regards,
Dom
PS: If any of this is wrong - feel free to correct me!
Well I found out that everything is gone. Still a simple user like me expects all memory to be non-volatile... or at least that when the battery is low, the system will hibernate or something, until it has enough power to operate again. I don't care about e-mail and other recoverable stuff, but I do care about the recording of my billing hours which kept in de database folder!
Bugger.

Backup battery problem on Universal... please help

After the main battery drains out my Universal's clock and calendar loose synchronisation. I think it's backup battery issue. Am I right? If yes how to change that?
Uni has no backup battery, sorry.
Normally it shuts down just before the battery is drained, so it still has some power to keep it's clock running for a long time.
So, maybe your device refused to shut down in time.
Guess what? I am using Nokia's BL-5C 1050 mAh battery connected to two top and two bottom terminals of Universal so no one knows how much power is left in battery.
I guess it have
because last time when i change the battery, I don't have to set the time
but now it happend, i have to set the time when the battery drain or remove
Or because of the Rom???
I think, that Universal has a backup battery? Isn't it this small battery next to "turning-on" button on the Mainboard ?
Yes I think there must be some backup battery because if you even remove main battery the Universal retains time sync over a long period of time.
I thought that WM5 and onwards had to have persistant memory since previous CE editions lost everything when battery became discharged.
that is partly true. in wm2003se, the pim data and most of other storage based apps and data were stored in the ram, being the primary partition. all that was lost, if the device ran out of power for a too long time. however, it could persist a normal soft reset or battery change thanks to the backup battery. from wm5 onwards, there is no data stored in the ram, and that is why you don't actually loose data, even after taking out the battery forever. the storage used now is a persistent memory, meaning, like with a usb stick, the data is stored on a flash based chip, that can store files, independant of power supply, while the ramdisk or the wm2003 memory is on the ram, which needs power, not to loose the data.
so whatever the poster has on a potential ramdisk, as well as the clock, will be lost, whenever the power supply is cut. and since apparently that seems to happen directly after the battery is taken out, the backup battery is broken.
to provide the original poster with further information:
you can download the universal service manual here:
http://mikechannon.net/PDF Manuals/HTC Universal_Service-Manual.pdf
in there, you will find the exact instructions and spare parts you need to change the backup battery.
that should solve your initial problem.
greetz
Chef_Tony
that is partly true. in wm2003se, the pim data and most of other storage based apps and data were stored in the ram, being the primary partition. all that was lost, if the device ran out of power for a too long time. however, it could persist a normal soft reset or battery change thanks to the backup battery. from wm5 onwards, there is no data stored in the ram, and that is why you don't actually loose data, even after taking out the battery forever. the storage used now is a persistent memory, meaning, like with a usb stick, the data is stored on a flash based chip, that can store files, independant of power supply, while the ramdisk or the wm2003 memory is on the ram, which needs power, not to loose the data.
so whatever the poster has on a potential ramdisk, as well as the clock, will be lost, whenever the power supply is cut. and since apparently that seems to happen directly after the battery is taken out, the backup battery is broken.
to provide the original poster with further information:
you can download the universal service manual here:
http://mikechannon.net/PDF Manuals/HTC Universal_Service-Manual.pdf
in there, you will find the exact instructions and spare parts you need to change the backup battery.
that should solve your initial problem.
greetz
Chef_Tony

[Q] Batery life and where to instal android

Hello.
I've just installed android on my HTC Tytn II (Not so Super Froyo Release).
It is very nice but the battery life is very short. I don't think that i can manage for one day without recharging. I think a couple of hours just. Is there something i can do to improve this? When i entered the #*#*4636*#*# it says that the android system is the one that keeps the processor running when in stand by. what can i do?
And another question. How is it better to install. On nand system and data? For now, i've installed data on external data.img. But there is not much room for aplications. Is it better if i install data on sd partition? And if so....how do i do that?
blacki3 said:
Hello.
I've just installed android on my HTC Tytn II (Not so Super Froyo Release).
It is very nice but the battery life is very short. I don't think that i can manage for one day without recharging. I think a couple of hours just. Is there something i can do to improve this? When i entered the #*#*4636*#*# it says that the android system is the one that keeps the processor running when in stand by. what can i do?
And another question. How is it better to install. On nand system and data? For now, i've installed data on external data.img. But there is not much room for aplications. Is it better if i install data on sd partition? And if so....how do i do that?
Click to expand...
Click to collapse
If the processor is still running while in standby then that means you have a widget or program running that's preventing the phone from going to sleep. When you install an app in Android always look for "Prevents Phone from Sleeping" where the app installer says what the app requires to access.
Also, as I have said in the help thread, there is nothing you can do about the battery life. It's Kernel related and being investigated, so until that time unfortunately battery life is very short because the phone's CPU while not in standby runs at 100% speed, unlike all other android phones which decrease their CPU speed and voltage when they are idle (sitting at the home screen or even checking emails).
Also, if you are installing into a data.img file on your SD Card, you should have about 256MB of usable space in /data, if you are running out of space with just a few applications, then you are still installing on NAND, as it only has about 90-100MB available depending on how you have your NAND partitioned, please verify that you have fstab set correctly in atools and re-flash your firmware so that it reads the /data partition under data.img instead of NAND p3.
BEst thing to do if you are wanting to install /data on SD Card (or data.img), is have /system on your NAND for best performance when Android is loading from boot. For quick performance, you should have /data and /system on NAND. For more space and stability, go with /system on NAND and /data on either SD Card partition or data.img.
Thank you for the answer.
I have another problem...when i'm recharging the phone...it says that it is fully charged at 90%.
blacki3 said:
Thank you for the answer.
I have another problem...when i'm recharging the phone...it says that it is fully charged at 90%.
Click to expand...
Click to collapse
That means there is a incorrect battery calibration number in the kernel. Run atools and check under Battery Settings > Advanced Settings. If you have a 1350mAH battery (noted on the battery itself), input 2160 units.
If you have any other type of battery, take that battery's mAH and multiply it by 1.6 to get the battery units. If the battery continues to stop at 90% after making that change, and the battery is old, then the battery may be losing it's charge and can only sustain up to 90% of it's core charge.
Thank you. now i'm trying with 2160 set in atools. i will inform you if something is wrong
Another question. How can i see the battery status in %?
i think now it's ok. but still the battery life is very short. and somethig is keeping the android from sleeping but i don't know what. when i enter in the *#*#4636#*#* it says that the "android system" is the one that prevents from sleeping.
And another question. What is the difference between panels. If i am installing with panel 1 the screen looks very bad. Now i've installed with panel 3 but i don't see any difference from panel 2. It is ok that i've installed with panel 3 or should i use panel 2?
I need to know how you set your phone up, including kernel, system/data partitions, which build you used, what radio you're using, anything that could help me investigate further.
I have 2 AT&T Tilt phones, one for daily use and the other for testing purposes only. (nice to have friends with connections, I got them both for free).
My current "daily use" phone will use about 1/2 battery per day with moderate use (texting/Pandora/phone calls) and will last 3 1/2 days if I just let it sit in standby. 3G is enabled and I use Rogue Tools to O/C to 480. I get almost no FC errors and everything works as it should. (The only FC I get is with ADW, which I press "wait" and it comes right back). I was able to set up my phone on the wireless domain at work and ported my work email to it.
Again, I would need to know what you're running as it sounds like your phone is not actually "sleeping" when it should.
PoXFreak said:
I need to know how you set your phone up, including kernel, system/data partitions, which build you used, what radio you're using, anything that could help me investigate further.
I have 2 AT&T Tilt phones, one for daily use and the other for testing purposes only. (nice to have friends with connections, I got them both for free).
My current "daily use" phone will use about 1/2 battery per day with moderate use (texting/Pandora/phone calls) and will last 3 1/2 days if I just let it sit in standby. 3G is enabled and I use Rogue Tools to O/C to 480. I get almost no FC errors and everything works as it should. (The only FC I get is with ADW, which I press "wait" and it comes right back). I was able to set up my phone on the wireless domain at work and ported my work email to it.
Again, I would need to know what you're running as it sounds like your phone is not actually "sleeping" when it should.
Click to expand...
Click to collapse
So...the radio is 1.70.09.1 or something like that, the latest 2.6.32 kernel. android build is valentine. I am using system on NAND and data on data.img. now i can use the phone for a full day of use but i have other problems. when i charge the phone it freeze and white screen appears. Usually i left for charge at night so in the morning i find it with white screen.
Can u please tell me what are you using so i can use to?
Thank you in advance
Battery life
blacki3 said:
So...the radio is 1.70.09.1 or something like that, the latest 2.6.32 kernel. android build is valentine. I am using system on NAND and data on data.img. now i can use the phone for a full day of use but i have other problems. when i charge the phone it freeze and white screen appears. Usually i left for charge at night so in the morning i find it with white screen.
Can u please tell me what are you using so i can use to?
Thank you in advance
Click to expand...
Click to collapse
I've the same problem of battery life, can you tell me how to improve the fix for this issue...thanks

Removing SDCARD for extra battery?!

How about that? How much sdcard consume actually?
Nexus S dont have it, there must be a reason for removing it.
SD cards require ca. 0.15 mA in "standby" or up to nearly 50mA while reading. Therefore, depending on the usage rate of your SD card, it may save power of course to not use one. Instead the data must be read from some other place like internal flash memory. As long as that consumes fewer power, it may be worth a try.
I had this peculiar experience. After reformating my SD CARD I gained 6 hrs of battery life approx now. Previous to the format it was 20 hrs max and now its around 26 hrs. May be the filesystem itself has something to do with power drain I think.
I think I will remove sdcard. My defy now has over 1GB free space and that is enough for everything
ezantera said:
I think I will remove sdcard. My defy now has over 1GB free space and that is enough for everything
Click to expand...
Click to collapse
So how do you compress your 15gb music library into that single GB ?
ill keep my SD card in cheers, removing it cant use any more juice than the internal memory.
My mp3 player, a cowom d2 has internal memory and an sd slot. On sd the play back is way shorter.
Sent from my MB525 using xda premium
On my Sansa Clip+ it makes sod all difference.
Don't use SD card, don't use 3g, keep display low, don't play games, finally sell that phone and be happy.
What would be the point in having it.
Sent from my MB525 using Tapatalk
What's the point of having a smart phone if you don't use its features. Besides wouldn't it consume more time and power if you turn off your device , insert sd card (by some event you need it), turn it on again. ??? Then again, its up to you.
Got a Headache? It's all in your Head.
It does chow battery, thats why I keep most of my apps on the internal flash....and those apps you only open once in a while I leave on my sd, and movies, mp3s etc etc.
You wont need to remove the sd, just unmount it under storage, then it will not even be in standby and save some battery
sg3707 said:
Don't use SD card, don't use 3g, keep display low, don't play games, finally sell that phone and be happy.
What would be the point in having it.
Sent from my MB525 using Tapatalk
Click to expand...
Click to collapse
This argument is not valid in my opinion. Analysing what consumes battery to a more or lesser extent is irrespective of what you use. Once you identified the power hogs, you can alter your use, or accept the consequences for the ones you want to use. If you use a dedicated MP3 player for instance, I could imagine that the internal memory would be sufficient.
For me, 3G is avoided as much as possible. Using wifi instead uses less battery.
nameite said:
It does chow battery, thats why I keep most of my apps on the internal flash....and those apps you only open once in a while I leave on my sd, and movies, mp3s etc etc.
You wont need to remove the sd, just unmount it under storage, then it will not even be in standby and save some battery
Click to expand...
Click to collapse
Thanks man, i did not think of just unmount lol
I could not remove it, my navigation files must be on it... too bad because i dont have need for sdcard since i dont have lots of mp3s and pics. I have now more then 1gb of free space on phone...

[Q] DT A2SD Battery Drain?

Hi All,
I created this thread as I can't post at the developers section yet, however I noticed a huge battery drain after I flashed TermaROM and used DT A2SD, I never encountered this problem before when I was on a BancetDEV ROM using Link2SD (as BancetDEV DT A2SD is a buggy after installing several apps). I can also say that this applies to Creed's ROM when I tested it at version 2.1
Anyway, I got the same apps and widgets on my screen, wi-fi, data, 3G are all turned off, however I am losing battery so fast even at idle mode, whilst if I am playing music - using Player Pro - I am losing battery at average of 10 to 12% per hour, unlike before it was around 5 to 8%.
I am still investigating this and currently using better battery stats, however I hope anyone can also share experiences with battery drain on this ROM or maybe with DT A2SD overall.
Furthermore I already under-clock my CPU at 312 MHZ every time I turned off my screen, v6 supercharger, and definitely the battery is calibrated properly. I also searched the forum for possible answers but I can't find any nor in google lol or maybe I am just poor in searching for answers.
Additional Info: I know this is a hassle, however DT A2SD is better than link2sd, as link2sd got an issue w/ dalvik cache if your hoarding a lot of apps.
Update:
* I also got a battery level drop to 1% after reboot, but eventually it will go back to the correct value and battery level drop to 95-98% when disconnecting charger wherein its pretty normal so its not an issue, but maybe the level drop to 1% after reboot could be a related problem.
i think so too,battery drain when using A2SD by terma kernel
it might be...not sure thou..
but since you moved the app and data to ext..it takes more "juice" to retrieve them...specially if you have dalvik on ext too...
cause instead on the normal process..of android os retrieving data directly form phone it checks phone first and since no data on phone it checks ext..
then retrieccves it there...
unlike if no a2sd..
os-then phone back to os...
with a2sd
os-phone-ext-phone-os...
thanks for the reply guys, hope we can solve this issue or get an answer, by the way when I was using Player Pro it was installed in system memory not on sd-ext, including my widgets (battery widget monitor, system tuner), I look up at different post in here but I can't find anything in regard to DT A2SD excessive battery drain so it might be with the ROM itself?...
it depend in your memory card
ive got that battery drain too, overnight i sleep at 80% then after 6 hours it's 0%. then sometimes it just shut off itself. i stop using a2sd, my phone works just fine.
Via XDA App
be calm...thats totally normal. the system use a lot more power to read and run the app in the SD. thats the reason why your battery drain quickly when using this feature.
kurotsugi said:
be calm...thats totally normal. the system use a lot more power to read and run the app in the SD. thats the reason why your battery drain quickly when using this feature.
Click to expand...
Click to collapse
I also considered that aspect specifically in terms of reading / writing on the sd card, however even at idle mode it takes a lot of power? I just killed everything via android task manager, and running services doesn't state any third party apps running at this point, yet its still eating a lot of power....
eyjay1991 said:
ive got that battery drain too, overnight i sleep at 80% then after 6 hours it's 0%. then sometimes it just shut off itself. i stop using a2sd, my phone works just fine.
Via XDA App
Click to expand...
Click to collapse
thanks mate, guess I don't have a choice too lol, however its really weird as Link2SD doesn't take a lot of power, and as far as I know the only difference between A2SD and Link2SD is how they generated the symlink - as for symlink - Link2SD is creating a link for every item, whilst A2SD is creating a link for the whole folder itself (which might explain pulling up a single app takes a lot of power as its pulling up the whole folder that contains the app? lol)
Anyway the only advantage of A2SD is handling the dalvik cache and saving the hassle to relink dalvik cache during reboot.
EDIT: I apologize for double post
using a2sd script means you're not only move the 3rd party app to the sd. basicly you're also move all dalvik-cache in /data to your sdcard too. even you turn off your 3rd party app that doesn't mean you're not access your sdcard.
thanks for the reply guys, my phone got wipe out after testing different roms and a kernel that was being develop by someone here in xda, lol anyway guess its really eating a lot of resources on the background, although it can't be seen in the processes... hope we could have more answers soon

Categories

Resources