yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Android Development] arrrghhh:
Not really a ROM, and 7 hours isn't bad. I typically get 3-4 hours... Although new builds have been better, I got 9 hours one day - that was running it COMPLETELY dead and very very light usage.

BTW, just search these threads for battery - you'll find hundreds of posts probably.
[Touch Pro, Fuze Android Development] nkrick:
Where the data is stored is tracked by the file system. You don't have to scan the file system to find it, and requesting the location of the clusters that contain the file does not cause a "huge overhead." You may need to retrieve a few extra bytes of meta data in order to retrieve a file, but I don't think the performance difference is enough to be measurable. If you are really curious about whether or not defragging with help, perform some file system read I/O heavy benchmarks, then defrag and try again.
[Touch Pro, Fuze Android Development] angus1357:
I have a Topaz (I know this isn't the supported thread, but this is the DEVELOPERS thread so let it go). Using the Stinebd Clean 2.2 AOSP 25.7.10.system.ext2 and updated other files I receive incoming calls until deep sleep. if I put it to sleep and wake it up or get a call before deep sleep then everything works great. After deep sleep I receive no calls at all.
[Touch Pro, Fuze Android Development] rcresn:
I was testing XDAndroid 2.2 and i got 7-8 hours so that's not so bad.... Considering this rom is running from internal storage and consumes more energy...
[Touch Pro, Fuze Android Development] denis1984:
Umm, just for you guys out there. http://www.wizcode.com/articles/comments/flash_memory_fragmentation_myths_and_facts/
[Touch Pro, Fuze Android Development] arrrghhh:
Unless you do some specific tests in relation to Android, none of that really applies in my mind.

You could be right, but I just don't think that it'll make that big of a difference - even if you are correct.

You'd also have to use a piece of software that is specifically designed to defrag SD cards (I would assume, based on that article...)
[Touch Pro, Fuze Android Development] panteraz:
babijooee you are great! Make the battery life problem and camera and I will forget that I have a windows phone :D
[Touch Pro, Fuze Android Development] arrrghhh:
If it was only that simple...
[Touch Pro, Fuze Android Development] denis1984:
Every advice here has a placebo-ish taste to it. You may use compcache and think that your phone runs faster and actually it would but for others it wouldn't because their modus operandi is different.

So, to finally resolve this issue would be to create a separate ext2 partition and install Android system on it.
[Touch Pro, Fuze Android Development] nkrick:
Which you can do, check out neopeek: http://xdaforums.com/showthread.php?t=735975
[Touch Pro, Fuze Android Development] denis1984:
Thank you, I've had neopeek's Android installed on a separate ext2 for quite a while now. But this thread is more active and new releases are prepared on a weekly basis so I decided to take part in this project instead. :)
[Touch Pro, Fuze Android Development] nkrick:
I agree with arrrghhh. Any test I have seen that shows a significant performance difference was an synthetic worst case scenario. One such test filled a 2 GB flash device completely with alternating 4 K and 16 K files, and then deleted all the 4 K files and concluded that a fragmented flash disk is slower. In what real world scenario is someone writing that number of small files, interleaved with other small files, and then deleting every other one? Generally I have files or folders that are measured in MB (not B or KB). When I deleted files (which I don't do that frequently) I am not freeing up a only parts of many different pages (because my files were not fragmented over many pages to begin with since files larger than a single page were written initially).

Besides, defragging would not hold up long term if you are doing any writes because the wear leveling would likely cause any pages that is being written to be put on a different page than it was read from and there is no way to ensure the pages are contiguous when this happens.
[Touch Pro, Fuze Android Development] nkrick:
I think you can use neopeek's procedure for extracting the .ext2 file to use any version of xdandroid on an ext2 partition. I admit that I have not used .ext2 at this point because I can't use xdandroid full time until BT handsfree pairing is fixed. Until I use xdandroid full time, it is much easier to experiment with new builds using FAT32.
[Touch Pro, Fuze Android Development] Deltatristar500:
Ditto on that!
[Touch Pro, Fuze Android Development] denis1984:
I agree that this is a better solution than defragging (read: flogging a dead horse) those system.ext2 and data.img files every once in a while hoping against hope that you would gain anything performance-wise.

Having said that, though, my advice concerned current state of affairs and repartitioning of internal storage on a DIAM100 phone is not for the faint of heart. :D
[Touch Pro, Fuze Android Development] arrrghhh:
Yea, nothing with this project is for the faint of heart. Not exactly for everyone, running Android on their WinMo phones. I usually just confuse the hell out of people when I tell them what I'm playing with. My gf thinks I'm nuts, keeps telling me to leave things alone, keep it simple. What's the fun in that?
[Touch Pro, Fuze Android Development] sle118:
I made a contribution to the project today. I hope others will follow.

There are some glitches, but I love the speed of the Touch Diamond CDMA on Froyo!

Is there a battery app on the market that will help recalibrate or otherwise give a better battery life estimate?
[Touch Pro, Fuze Android Development] arrrghhh:
Unfortunately the issue is on our side, not on the Android side. The equation they use to calculate battery life is extremely crude. Hence the reason it jumps around so much...

So there really wouldn't be any apps made to fix this issue - it's an issue that 'normal' Android devices would not experience.
[Touch Pro, Fuze Android Development] nkrick:
Since practically every Android device needs a battery, it is somewhat surprising that AOSP doesn't include the code needed for calculating battery life. Or, if it is a kernel deficiency, it seems like there should be some good code for calculating battery life on laptop batteries...

Maybe HTC, or Motorola, or someone will feel generous and contribute their battery code to open source...
[Touch Pro, Fuze Android Development] edefux:
i did all that, deleted the old data.img ... weird thing is it just seems to be a reset 2.1 the system says it is still 2.1

where is my mistake?
[Touch Pro, Fuze Android Development] JesusFreak316:
Just wanted to say I encounter the same problem with the capacitive keys. It makes it all but unusable until I restart. It's rare, but it does happen.

I agree, those files get annoying.
[Touch Pro, Fuze Android Development] JesusFreak316:
Did you delete the old system.ext2 and rename the new one to system.ext2?
[Touch Pro, Fuze Android Development] edefux:
thank you!!

edit: hold on .. there is no old system.ext2

edit2: mhhh ... just renamed it to system.ext2 ... seems to work - nice new boot animation

edit3: stops at the boot animation- i think i´ll try it tomorrow with a fresh install
[Touch Pro, Fuze Android Development] arrrghhh:
I believe the issue lies more in the driver for the battery itself... I could be completely wrong, I'm not much of a dev... Especially when it comes to hardware!
[Touch Pro, Fuze Android Development] muoi:
RC2 works almost fine on my DIAM100 (HTC Touch Diam wth 4Go internal storage)

USB connection seems not work, i also tried to boot android with cable plugged, as suggested over here, but noway!!

i have to WM USB connection to copy files on my HTC !!

Thanks
[Touch Pro, Fuze Android Development] babijoee:
Active sync if you want to use Android with adb. Usb isn't working yet.
[Touch Pro, Fuze Android Development] CeasarRAPH100:
How can I install more than one systems on the same sdcard ?

Do I need create separate partitions to make that work ?
[Touch Pro, Fuze Android Development] cuttingedge79:
Just wish it had the battery life i get from NRGZ WinMo ROMs, but i love android, so ill keep twerking with it just for fun till all the kinks get worked out.
[Touch Pro, Fuze Android Development] joncullen:
Market Issues in 2.2 RC2?

I just moved from 2.2 Beta2 to 2.2 RC2 and since updating some of my downloaded apps are no longer showing in the market, and searching the market for them returns no results.

Tried uninstalling a couple and was then not able to locate them to reinstall.

Thought it might have been the previous protected apps issue, and applied that fix, but still no joy.

Anyone have any other ideas to try?
[Touch Pro, Fuze Android Development] muoi:
I had the problem, Market closed quickly, no error message

So, I copy "apk" files to my phone, and install with "Oifiler"
[Touch Pro, Fuze Android Development] joncullen:
Yeah, I can restore the apps from apk backups, but my concern is the broken market links, which results in no updates for those applicaitons.

Market works fine otherwsie, I assume something has changed in the build.prop which is filtering these out, but can't locate the issue :(
[Touch Pro, Fuze Android Development] muoi:
My Windows PC doesn't detect my phone

when i run adb command, i got "no device found" message
[Touch Pro, Fuze Android Development] devision:
Its happaned for me too, i mean broken market
[Touch Pro, Fuze Android Development] sundi2705:
Diam100 / rc2

Hi,

I have still a big relay on incoming phone calls. So I can't answering any incoming phone calls. :(

Has anyone a good idea to fix this?

Bye chris
[Touch Pro, Fuze Android Development] b0z0k:
use Overclock Widget

u can use overclock widget (search in the Android market) to gain more battery life.. Mine was Overclocked to 750 Mhz & i can use it with phone standing by for 11+ hours till it went dead.

Use 128Khz-256Khz freq for the processor when the screen is off, & 750 Khz freq when screen is on.

Fast & quite long battery life ^^
[Touch Pro, Fuze Android Development] cuttingedge79:
Kinda like what Intel did with SpeedStep for thier processors... Nice ill give it a look...
[Touch Pro, Fuze Android Development] rajackar:
I've used this for some time and while battery life was better it caused me a lot of lockups and instability. Once I uninstalled the widget the problems were gone.
[Touch Pro, Fuze Android Development] lugiber:
I have been using oc-widget since friday and i have had no lockups. But then again i haven't noticed any big differences in battery life. (Yes i have verified that oc widget sets the clock.)

I'm using 633 mhz when the screen is on and 128-256 when the screen is turned off. If anyone is interested. :)
[Touch Pro, Fuze Android Development] denis1984:
I, too, have noticed no difference in terms of battery life after having used the said application for a coupla days and if there's no difference why have a middleman in the first place?

I also selected a one-app limitation in the developers settings -- a la good ol' iPhone. :D Sure, iPhone now is a multitasking device, but I digress.

Also, my DIAM100 is overclocked to 700MHz (using acpuclock.oc_freq_khz=700000 option in the settings.txt file) and I want to mention the fact that the phone is cool during the deep-sleep phase.

And finally, when the phone is pristine (like you just installed a new version of Android on it) after a few tweaks it runs extremely fast so I'm afraid to install anything on it lest it should slow down to an unbearable degree (like, you press the phone button and nothin' happens for a minute, just this black screen of wait (BSOW) :rolleyes: -- these things really piss me off).
[Touch Pro, Fuze Android Development] sle118:
Thanks for the info.

I found a reference to an app called 'Battery Left'. It gives a much better estimate on total battery life, time left, etc. I have an 1800mAh battery and the application helps me manage charge time and usage.

Is there a way to have an application like Battery Left sync with system battery left?

Is there a way to prevent the system from nagging me when it thinks the battery life is 15% despite 'Battery Life' reporting 65% ?
[Touch Pro, Fuze Android Development] nkrick:
There is an entire thread about this problem. There is some "discussion" about whether it is a hardware problem or software problem.
[Touch Pro, Fuze Android Development] nkrick:
Could be driver related, but not every battery needs it's own driver. You don't have to install a battery driver in Windows or Linux when using a laptop, all the capabilities are built in.
[Touch Pro, Fuze Android Development] arrrghhh:
Yes, but sometimes the way Windows handles a battery is very different from how Linux does... See where the problem can arise now?

Plus, if there's hardware that isn't optimized *cough*radio*cough* among other things, that is also a huge piece of the battery life puzzle.

The battery meter puzzle, that's more down the alley of what I would be calling a 'battery driver' - it's nothing more than the software understanding how the battery drains.
[Touch Pro, Fuze Android Development] nkrick:
Yes, I see where the problems are. This conversation started when I expressed that I am somewhat surprised that the battery meter "driver" or software is not included in AOSP. I realize that there are many non-optimized device drivers currently in use that contribute to the current battery drain problems.

I have used several different Linux builds on laptops using only open source code and never had any issues with battery meter not showing charge accurately. I do not know enough to know whether the battery meters in most Linux builds are just using an API from the kernel, or are completely separate software packages that perform their own calculations to display battery information. Since generally on a laptop you can get battery charge information at the BIOS level, I guess I have assumed that there is kernel integration with hardware monitoring and an API to allow battery meters to show charge. Perhaps this is where the issue is. It could be that laptops have hardware battery monitoring capabilities and ARM PDA/cell phones do not. Again, I don't know nearly enough about the situation as I am not a developer...
[Touch Pro, Fuze Android Development] amgadpasha:
Arabic language support

hello guys, i finally got Arabic to work, by default there are arabic fonts in 2.2, but no shaping, so the characters appear separated, i found this arabization app, which is to be applied to rooted phones, it's available in google code (search for arabicandroid, as i can't post link here)

i downloaded the zip, extracted it, mounted the system.ext2, and replaced the libskia.so and libwebcre.so and framework.jar files, then unmounted system.ext2 and booted the phone, and it finally works!!

hope this helps any arabic users around..
[Touch Pro, Fuze Android Development] x40sw0n:
....

2 quick things that I can think of; make sure Google Voice is turned off/uninstalled, and make sure that your card is formatted at fat32.

*** also as a third, you can try the original AOSP phone.apk; (I have found this one just a touch more responsive).

http://memcachetaglib.googlecode.com/files/Phone.org.zip
[Touch Pro, Fuze Android Development] Gumero:
odd... yes I have use OC widget since it was first released... and never seen any instability related to the OC widget... I run 128-128 screen off and 384-691 screen on... I also set my ATK to kill when I will be out all day... stun when I am in and out of the office and the cars (have charger docks set up in all the cars)... and just for giggles I ran a test... I did a kill the battery run with my power saving settings set as mentioned above... to be sure I replicated my normal day I sent 38 sms with delivery conf and replies... 5 MMS with all confirmations and 1 MMS reply... made a total 58 calls with a total call time 2.7 hours (around here most people are not willing to do much business on the phone mostly just confirmations and updates)... received 86 emails and sent 27 emails... chatted on nimbuzz a total of 562 messages... used mangler a total of 180 times for PTT communication with the team... kept data connection at all times... about half wifi and half 3G...

8 HOURS 46 MINUTES to battery dead

did an exact duplicate with the only difference being no OC or UC... removed the widget and removed the OC line from my startup.txt... otherwise an exact duplicate of the previous day....

5 HOURS 33 MINUTES to battery dead
[Touch Pro, Fuze Android Development] Gumero:
thanks from all us in the middle east... that no shaping thing was driving my wife up the wall... said it gave her a headache to try and read arabic on my phone... now if that can just be included in the builds so I don't have to redo it when I update... (pls pls pls kind Devs)
[Touch Pro, Fuze Android Development] lugiber:
Cool! Teach me your magic! :-)

I have never been able to run my phone that long. I would consider that a long time even under windows!

What update frequency do you use?
[Touch Pro, Fuze Android Development] heavymetalmage:
All this time I thought that overclock widget was just a placebo effect. The key was having the setcpu line in startup.txt. I went from 3.7 mflops to 4.7 and from around 300 in quadrant up to 382. Now I just hope that the battery life is extended using 128-128 screen off.
[Touch Pro, Fuze Android Development] solihu1:
Can you upload the system.ext2 file? I tried it on Blackstone but phone did not boot to android.
[Touch Pro, Fuze Android Development] Gumero:
really? even under windows? if I dont use 3g or bluetooth i can run windows for days on energy rom...

my best run to date on android is over 20 hours... but that is with no wifi.. no 3g... therefore no data at all... just phone and sms... with it underclocked at all times and task killer at insane settings... so not a usable state but proof that the battery can do it and the basic kernel is not the cause of the problem... it is all the extra stuff that eats the battery... so keep it simple... no animations... no listening to music or watching you tube... no games... just what is needed to do your work...

my advice... if your phone is critical to your life like mine is... be prepared to leech a charge where and when you can... I have docking stations in all our personal and business cars... I carry a wall charger and a car charger with me... if I am sitting somewhere waiting I will find a source of power and put some charge in my phone... if I ride in someones car... first thing is pull out the car charger... why waste that time... and if all else fails... I have spare batteries with me that I can swap out in a moments notice and keep on going... maybe all that is a bit extreme but I deal with life and death situations in fairly austere locations and cant afford to lose communications just because I was too lazy to keep my phone as fully charged as possible...
[Touch Pro, Fuze Android Development] cuttingedge79:
Battery management is strictly based off a hardware chip embedded in the phone itself. So a proper driver would be needed in order for precise battery usage/charging.
[Touch Pro, Fuze Android Development] gladiac:
Yeah, the interesting thing is how wm handles the battery meter. Actually I guess it just reads some sensor periodically and calculates the arithmetic average (with cutting off peeks) to show the result. That's how they could get rid of the impresisions when the load is very high (which seems to confuse the battery sensor).
[Touch Pro, Fuze Android Development] x40sw0n:
I have noticed a battery increase using the OC widget as well. Not spectacular or anything but probably about 10 - 20% overall. certainly enough to justify downloading and installing it. occasionally it seems to get a bit cranky about waking (so do I for that matter), but I haven't run into any forcecloses or anything. In fact, my soft resets seem to have lessened a bit.

To clarify, before this I have been getting soft resets every once in a while. Seems like it happens during heavy data usage or possibly heavy data then getting an inbound call. This may be because of CDMA not supporting simultaneous data / voice transmission.
[Touch Pro, Fuze Android Development] waterproof125:
I am experiencing a major bug, the last few calls i've made or received the call cuts out after a few seconds of talking and then my phone shows I have no signal at all and so far I have not been able to fix without a reboot. Is this solved with the networklocation.apk? or was this fix already mentioned? any help is appreciated
[Touch Pro, Fuze Android Development] chrialex:
I have experienced this as well, tried a couple different cards and all the normal fixes, nothing seems to work for me. One thing I did notice is that Android seems to have lost the default APN when that happens. When I start it, I have one, and everything works, but when I am in a call and it loses signal the APN is cleared and restoring to default doesn't bring it back, only a restart does. Trying to put the phone in/out of airplane mode doesn't work either as it freezes when you try to take it out.
[Touch Pro, Fuze Android Development] waterproof125:
Yea, ditto on this, pressing airplane mode leaves the option pressed and it gets stuck while disabling wireless devices or something like that, if i restart the phone after this once it boot's back up to android it is in airplane mode
[Touch Pro, Fuze Android Development] Mr.Sir:
Airplane mode works for me at least :confused:
[Touch Pro, Fuze Android Development] hamagc:
i believe airplane mode is broken for cdma.

new kernal increases incall volume for those that are curious. much improvement.
[Touch Pro, Fuze Android Development] reverendkjr:
Oh wow!!!!

In call volume is WAAAAYYYYY up on new zImage!!!

It also makes speakerphone actually usable.

I am very pleased.

:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D:D
[Touch Pro, Fuze Android Development] lugiber:
I'm actually using a gsm device and I'm experiencing the same issue from time to time. The same goes for airplane mode.
[Touch Pro, Fuze Android Development] AndroHQUist:
BT Pairing ?

Do you really mean pairing ? For me pairing has always (not really but for a very long time) worked but A2DP sound (music) is choppy. BT control (eg. Answer, hangup and redial) works but no in call sound.

This is a major problem for me and I really hope devs will sort that out. What is the problem with A2DP ? Buffer/timer problem ? It used to work back in 1.6 or so.
[Touch Pro, Fuze Android Development] nkrick:
My pairing requires a passcode which does not work. I was able to get it paired without the passcode once at which point the speaker worked, but not the microphone. So pairing with passcodes and working microphones are what I need.
[Touch Pro, Fuze Android Development] Mr.Sir:
glemsom or balsat? how to install/put them? at the root of the SD card?
[Touch Pro, Fuze Android Development] deepsix_69:
I did balsat although i dont know the difference between the two. Just download it and extract it/save it to the card and overwrite the existing files. It made a WORLD of difference. I was using every call on speakphone so I could hear them, now the earpiece is louder than that.

My question though... Is there some way to make google maps get my location from just the towers, not gps. GPS works but uses tons of battery.
[Touch Pro, Fuze Android Development] bighouse851:
Time Issue

Loving the step up from 2.1... my only issue is the time on my phone seems to go slow while in deep sleep. I tried using the manual time settings but then when I reset for a reason the time is even more messed up... over night sleep it can loose 20 min or so...

So far this build with Roofs and Zimages from a few days ago runs great NO F/C and seems fast...

I cant wait to see what the future of this project holds...
[Touch Pro, Fuze Android Development] yngieaxl:
Is there any update about Diamond Internal Storage Issue?

still face same problem "SDcard unmounted or not present" for me...

Thanks anyway