yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Nshih422:
Have you tried the few fixes here? One is to switch your apn to wap.voicestream.com. The other is to search for network and then close out. I haven't had a chance to personally try if these work but its worth a shot.

Supposed to be able to get full speeds for at least a couple of hours and you would have to redo one or the other above.

PS. Thanks for all of your hard work and awesome rom!

EDIT: Just realized you're not in the US so the wap.voicestream.com probably wouldn't work. The other one is worth a shot though.
[G2 and Desire Z Android Development] gkenga:
How can I calibrate?
[G2 and Desire Z Android Development] daboy00:
After 6 hours I only lost 20% battery life!. Damn sweet boy this rom is good. Faster then anything out there. Don't go changing the rom and messing it up cuz I think its perfect the way it is. Ok sweets?
[G2 and Desire Z Android Development] XxhTcG2uSERxX:
Can i flash like any other rom or do i have to do all that u said in the 1st page
[G2 and Desire Z Android Development] Palingenesis:
Crackle still isn't working :(
[G2 and Desire Z Android Development] SnowOokami:
good! Battery life first run was 26 hours and still 20% left :D awesome considering the background apps I got running :cool:

-twitter push

-gmail/live push

-1 pop3 sync (hourly)

-fb sync (hourly)

-whatsapp push

-linkedin push

-gReader sync (hourly)

Did some gaming/calling and texting.
[G2 and Desire Z Android Development] daboy00:
12 and a half hours and I'm at 66%!!! I don't know how u did it sweet boy but this rom is the keeper. Who would want ****ty sense or anything else? Oh yea I forgot a sweet fish boy.
[G2 and Desire Z Android Development] nik3r:
Basically charge up to 100%, wipe battery stats from recovery and do full 2 discharge cycles 100-1-100-1-100, don't charge until you hit 1%. This method should give most precise readout calibration. Techs will argue that it's no good to discharge your battery like that (or even letting it die at 0% like I do), but in reality you still have like 40% charge left when you officially hit the 0 cap. And yes you do need to calibrate, because Android is only kinda reading the electronics on the battery to determine it's capacity in mAh, but the percentage levels are calculated from minimum and maximum voltage supplied by the battery. That range is usually less and more than manufacturer tells you, for example my 1800mAh battery is estimated as 1880mAh and that's some sweet extra minutes, the maximum voltage can even change over time if you have a new battery. Plus this has to be done just once per ROM type (AOSP/Stock) and you can keep your properly calibrated /data/data/batterystats.bin handy (don't forget to chmod it after restore). I'm not an expert but this just works for me. Note this will also work without wiping your stats, but garbage data from any non-AOSP ROM might affect the results.

Well yesterday I lasted 24:40 hours, 1:48 of navigon running, about 5 hours of music, IMO all the way and some "surfing" on FUP (:(). I'd say heavy usage under harsh conditions and it will survive the work day without breaking a sweat, even if I had just 1300mAh battery :)

Yes just full wipe and flash it coming from another rom, but after first start and login to your google account (or not logging in), you need to reboot once more. Also if you're coming from another AOSP ROM, you might want to save your battery stats using the tool in mods (before you wipe data).

Try to downgrade your flash player, they probably need to adapt to the new version like Opera did.
[G2 and Desire Z Android Development] trsanning:
I downgraded to flash 10.3 and it isn't working either. Haven't wanted to to flash back to cm to see if it works or not.
[G2 and Desire Z Android Development] brfield:
Just flashed and setup my SetCPU profiles, looking forward to the battery, speed is already incredible with it. Will try undergoing later, as I'm at school.
[G2 and Desire Z Android Development] SnowOokami:
Why did you install setCPU? I mean the OCdaemon is set perfectly for speed and battery life.
[G2 and Desire Z Android Development] nik3r:
I use SetCPU too, it's far more versatile than just 2 profiles and saves me more battery in the long run :)

And I laugh at people who say it can't react fast enough when coming from sleep - optimize your ROMs and you won't notice a difference between the two :D

BTW: 8 hours usage - 87% left today

Total estimate 2 days 14 hours or little over 4 days with just background sync standby.
[G2 and Desire Z Android Development] noneabove:
So after almost a days use I have some numbers for battery life.. And though they are a significant amount better than stock or any other custom rom ive tried (for which i am happy ! ) they aren't as amazing as some of the numbers you're getting :S

after 8 hours i have 55% left, Cell standby has used 32% (why so high? only about 2 minutes of 3G used today...) phone idle is 24%, android system 23%, display 11%, and everything else insignificant.

I haven't undervolted cause quite frankly I'm not comfortable with much of that stuff, so with that in mind are those normal numbers?

Still better than others and super smooth too though so I am happy nonetheless :)
[G2 and Desire Z Android Development] bleedingthru:
Stupid question here the uv tools I use on my pc not phone correct???
[G2 and Desire Z Android Development] nik3r:
Battery tips

Don't forget I have 1800mAh battery, that is 38% extra power if you have stock.

Your radio may be draining the battery, try newer version, the latest in my sig works wonders for me but this is area-dependent.

Also try to discharge your battery completely like I mentioned a few posts above. If your battery is not calibrated properly, Android tends to squeeze all the remaining power between 5-1%, because it doesn't know the real range of voltages your battery can handle.

Undervolting can help as well, I've included mild UV profile, but it's universal not to cause problems. Even the default table in my UV Tools without any edits will do much better.

Mobile data need much more power than wifi, if you have a good signal at home or work, try to use wifi instead. Even when enabled constantly it only auto-checks every 3 minutes to save power. I use Settings Profiles app that lets you automate enabling and disabling of wifi based on cell locations.

Your mileage also depend on your usage - your average usage may be far higher than mine.

bleedingthru:

Yes it uses ADB over cable (I don't think you need SDK installed).
[G2 and Desire Z Android Development] bleedingthru:
ya i have adb set up on my pc just double checking lol thanks alot !
[G2 and Desire Z Android Development] daboy00:
I have stock battery and I'm still gettin almost 2 days with this rom!
[G2 and Desire Z Android Development] gkenga:
Ok, thank you, and btw, whats a chmod?
[G2 and Desire Z Android Development] seelinkit:
just a question, its my first time to use an aosp rom. how do i use 3g only mode? becuase in unchecked 2g only, and it becomes auto switching from 3g to 2g whenever i use mobile data =(
[G2 and Desire Z Android Development] SnowOokami:
@nik3r, My CPU usage is always at 100%, is that normal? Battery goes down pretty quick too and I can't seem to figure out what's causing it. The usage/monitoring stats look pretty normal.
[G2 and Desire Z Android Development] nik3r:
In CyanogenMod settings - you can add notification power widget that switches this. Other than that I dunno.

Try to download System Tuner from market, it will show you all processes by total CPU time to find the culprit.

Chmod = permissions to read/write/execute the file. For batterystats.bin you need chmod 644. Or:

adb shell
chmod 644 /data/system/batterystats.bin

You can use root manager as well and that translates to Owner: RW, group,others: R.
[G2 and Desire Z Android Development] G1rome:
Love the update especially the lockscreen =)
[G2 and Desire Z Android Development] bleedingthru:
I got another question I set my set cpu profiles to the settings on first page but how do I get for example when the battery hits 50% the profile doesn't go to the set cpu speed like in the recommended settings how do I set the priorities properly so every profile is used when appropriate ..... thanks a ton
[G2 and Desire Z Android Development] yokonunz:
The htc stock 2.3.3 sense rom suffers of wifi deep sleep during phone standby... So it make the phone fake connected and you dont receive any notifications until you lights on the display. Does this rom has the same problem?

Inviato dal mio HTC Vision usando Tapatalk
[G2 and Desire Z Android Development] nik3r:
see http://xdaforums.com/showpost.php?p=18907653&postcount=242

Don't forget to actually enable the profiles using the ticker.

I use IMO all the time and messages arrive when the display is off both wifi and mobile data. I also play Godville and their push notifications work as well.
[G2 and Desire Z Android Development] nik3r:
Why wouldn't this work? Did you try to reboot after installing SetCPU? the Virtuous OC daemon may be locking it, it only gets disabled/enabled on boot up.
[G2 and Desire Z Android Development] bleedingthru:
ok i see what u did there in ur snapshots that helps me but i dont have the virtuous oc daemon on my phone i did reboot... as far as the main profile tab what do i set there ? if im confusing u let me know lol thanks
[G2 and Desire Z Android Development] trsanning:
Set the main tab as you see in the pic as well. This setting will only be active for a few seconds until it figures out which profile needs to be active at boot.
[G2 and Desire Z Android Development] PJcastaldo:
So I installed on my wife's phone day before yesterday and she is getting horrible battery life. I checked the batt stats and her phone is not sleeping at all. There are no weird or odd apps that she didn't have on the last rom she used.. any ideas?

I have not undervolted yet but i do have the set cpu profiles set from the OP even though it seems like a bit overkill.. and she is not a heavy user and is only seeing about 8 hours before she needs a charge.

EDIT: Figured i would say i did add LWP back because she likes the bubbles one.. but other than that i haven't done anything strange or different compared to other installs...
[G2 and Desire Z Android Development] ernestnwanu:
There's an update for Opera Mobile available. Guess we shouldn't update it, right?
[G2 and Desire Z Android Development] nik3r:
Install Sytem Tuner from market and hunt for the app that's eating most of your CPU cycles - it's probably the one that also keeps the device awake. 8h means it's running constantly minus display, so something is obviously stuck.

Definitely DO update, the new cache handling and updated core really seem to make my performance tweaks shine :D
[G2 and Desire Z Android Development] PJcastaldo:
I agree something is odd... Thanks for the advice i will do that and report back tonight.
[G2 and Desire Z Android Development] rubene66:
i wipe and flash this rom now my screen dont turn off automatically

Edit: Thanks
[G2 and Desire Z Android Development] trsanning:
By default it will not if it is charging. Need to go to settings application development and uncheck stay awake. If you are not charging then your time out time isn't set. Go to settings display time out and select something even if something appears to already be selected.
[G2 and Desire Z Android Development] bleedingthru:
ok flashed this rom seems sweet so far but one question i came from cm7.1 and umaro kernal do i need to reflash the umaro kernal from the first page of this thread ?? cuz i noticed during the flashing process it said installing umaro kernal and i look under about it it said the version number (which i had on cm7 7.1) am i good to go ??
[G2 and Desire Z Android Development] nik3r:
Yeah no kernel, no gapps, you flash and you're set. Kernels are there in case you want to switch to another.
[G2 and Desire Z Android Development] bleedingthru:
sweet thank you and i did the undervolting when i was on the cm7 7.1 with the umaro kernal did i need to redo the setting again using the uv tools or is that a once only deal ?
[G2 and Desire Z Android Development] nik3r:
Once only as long as you keep the same kernel (or the kernel uses the same frequency list). Just connect the cable and hit undervolt_persistent to push your custom voltage.txt.

If by any chance you've lost your voltage table, the last table that was set as persistent using my tools is stored in /sdcard/UV/voltages.txt
[G2 and Desire Z Android Development] bleedingthru:
Ya i had the umaro 1.06 so im should be good right?
[G2 and Desire Z Android Development] :
I've used Sense roms since I got my dz. I've been on this for 3 days and I'm diggin it. I might *might* be a permanent convert!

Going from no apps being able to run in the background with Sense 3.0+ roms to 9, or even 12, apps running in the background is pretty cool.

So far my battery life seems the same as before, but that's not a bad thing since I've always been able to get through the day easily. Also I've just set up my SetCPU profiles as reccommended, so there might be some difference now.

Keep up the good work!
[G2 and Desire Z Android Development] ernestnwanu:
Really enjoying this rom but hitting Enter on the keyboard gives me a space instead. :/
[G2 and Desire Z Android Development] brfield:
I have the same problem, I'm looking into the key files and learning how to change it.

I did notice though, the enter button works in Terminal Emulator, but not in Opera. It bugs me in Opera, and any other app.

Sent from my G2 running EliteMod.
[G2 and Desire Z Android Development] nik3r:
Try to change your language settings, my enter does enter unless in a multiline field. Or provide more details in the CM7 thread.
[G2 and Desire Z Android Development] noneabove:
How can I know for sure that the undervolting worked? Is there something I can run to see what the voltages are set at? I also want to see if it worked for my other roms :P
[G2 and Desire Z Android Development] nik3r:
when you apply the table using my tools, the voltages are in the commandline window, just scroll up.

or use

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
[G2 and Desire Z Android Development] nik3r:
New Mods

I have added flashable mods to easily and safely switch between CM7 and Stock GPS drivers. Stock drivers are currently the default - they are more compatible with GPS apps (using standard long NMEA strings) and eventually has better precision but can take a lot longer to get a fix, especially when cold started.

EFS wipe is applied automatically, just flash to switch, no other action is necessary.

Mods are in the download links, second post.
[G2 and Desire Z Android Development] buxtahuda:
Downloading now ^-^ can't wait, had to hop back on to ILWT just to function.

I don't know what could have caused it, long-term effect from UV'ing? I doubt it, but after having this installed for a substantial period, the phone just started freezing up at the boot-screen and boot-looping randomly. Doesn't much matter since you've updated, I'll give it a go and get back.

Also, this isn't specific to your ROM, but sometimes I'll whip out my keyboard and start typing only to find that certain keys are acting as shortcuts to certain apps. Any idea what causes this, or what fixes it? I'd imagine a certain key combination, but most of the time I haven't even touched the keyboard to get the problem started.
[G2 and Desire Z Android Development] nik3r:
To the keyboard - it's a stuck function key. Just press all shift and fn keys one by one to fix the one that got stuck, happened to me like 2 times since I got my DZ, dunno why exactly.
[G2 and Desire Z Android Development] decksy:
if that happens just press the "search button" on the bottom right of the keyboard. it'll get you out of the shortcut mode
[G2 and Desire Z Android Development] popimp315:
Alright I've undervolted a substantial amount and it is quite stable. Now how do I make it stick so I can reboot my phone safely without having to undervolt again. I used the app (incredicontrol) method as I don't have my comp here with me (ARMY ait) and I kind of want the back of my otterbox on. Had to keep taking the battery out using the app method

Sent from my CM7.1 Umaro
[G2 and Desire Z Android Development] nik3r:
Doesn't incredicontrol have an "Apply after boot" feature?

If not there may be other apps that do on the market.

Or if you use my ROM you can use Root Explorer to edit /data/local/userinit.sh (it's including the default EliteMod undervolt) and change the values there. Just be careful, without ADB you can't actually remove the file should you get a bootloop, recovery and restore is your only option.
[G2 and Desire Z Android Development] decksy:
Popimp can you post your undervolt values? I've been undervolting and it would seem stable for awhile, then it would either freeze or the phone would shut off while I'm out
[G2 and Desire Z Android Development] popimp315:
Ooo

Sure can. Give me a sec

Nik3r

The app finally worked but I want them to be perm without having the app all the time. I used the app method because I'm not familiar with adb or how to even set it up or use it. I know there was a way a while ago. I just can't remember. The ARMY wipes a lot of your memory ha ha ha

Edit: values

245760 750

368640. 750

768000. 875

806400. 900

825600. 900

844800. 900

864000. 925

883200. 925

902400. 925

921600. 950

940800. 950

960000. 950

979200. 975

998400. 975

I don't go paste 806400, but just in case I choose to one day, I have it set for 1ghz

Sent from my CM7.1 Umaro
[G2 and Desire Z Android Development] nik3r:
Every device has different tolerance for UV so this might not help you at all.

As the guide says - if the device freezes while the display is off, you need to raise one of the 246/368/768 frequencies.

popimp315:

ADB is not necessary if you use my tools, everything is included, you just need a windows PC :)
[G2 and Desire Z Android Development] popimp315:
Very true. I tried your rom yesterday, but it gave me a no sim error and a few others. I can't remember because I was also shooting pool at the time. I'm going to flash yours right now and see what we get. Would it be bad if I used go launcher instead of launcher pro? Not a fan of a neglectful developer as well as rude. And also, how do I make the values stick? I know you said something about editing the init. Ill have to look back at the posts when I reload everything.

Sent from my CM7.1 Tiamat
[G2 and Desire Z Android Development] nik3r:
UV without PC - tricky lol

1) assuming you have UV completed using incredicontrol - put those voltages on paper for convenience - only those you want to use.

2) install Root Explorer or similar file explorer with full root access.

3.1) Assuming you are on EliteMod - open /data/local/userinit.sh (long tap in RE and open as text)

3.2) Otherwise download and extract my UV tools and copy and rename voltages.txt to /data/local/userinit.sh and set full permissions with execute on it (chmod 0777), edit the file as text

4) edit the voltages according to the values you've taken down, save and reboot.

5) backup the file to SD in case you reflash, don't forget to set permissions after restore
[G2 and Desire Z Android Development] popimp315:
Performing now

Sent from my CM7.1 Tiamat
[G2 and Desire Z Android Development] popimp315:
I dunno. I dont think im seeing great results here. Undervolted and running at 844-368 scary governor with 368 -368 scary governor. Im running a mugen battery 1800. We shall see though, will check more. Especially tomorrow.

Sent from my Elitemod umaro.
[G2 and Desire Z Android Development] buxtahuda:
Hrmmm. I'm going to undo the UV settings to see if that could be the culprit, and then I'll try some stock 2.3.7 or an older version of this if it's not. Could be a CM issue even?

I am still getting a bootloop after the phone freezes up for less than a second, however this only happens under one special circumstance: when I have the keyboard open and let the screen turn off, I turn it back on with the keyboard still out. The lockscreen shows up, the sliders in the proper location (where they always are) but the custom background image is in landscape and stretched out. Screen doesn't respond, I close the keyboard or hit the power/unlock button again and the phone shuts off, starts to boot up and just keeps looping.
[G2 and Desire Z Android Development] selfinflicted1:
Would really like to flash this but the download links are greyed out. Where can I download please?
[G2 and Desire Z Android Development] trsanning:
www.mediafire.com/?vq0qqp59g2aglnc
[G2 and Desire Z Android Development] TheShoura:
I just installed this ROM after being a long time MIUI user and I have just one thing to say

WOW.

Nice work man, I love the tweaking and tuning here, it really shows.
[G2 and Desire Z Android Development] TheShoura:
I have a swap file on my SD card but it does not seem to be in use... can someone advise of the commands to put into terminal to turn Swap on?
[G2 and Desire Z Android Development] popimp315:
You can try the swapper app. I dont see why you would need swap on an asop rom though =/

Sent from my EliteMod 244 UmarO
[G2 and Desire Z Android Development] trsanning:
http://xdaforums.com/showthread.php?t=1323447

[GUIDE] Setting Up and Activating SWAP Partition Without Breaking USB Mass Storage

Try that.
[G2 and Desire Z Android Development] Freekers1337:
How can I use the normal email app, instead of the K9 mail app?

I can see that it's included in the zip file in the /system/app directory, but I cannot find it on my phone.

I tried to install it manually again, that works, but after installing it's gone again.

I need the normal email app since I use Exchange 2010, which does not support WebDAV anymore. K9 mail only supports WebDAV and not native Exchange due to licensing.

Thank you.
[G2 and Desire Z Android Development] nik3r:
I think it's just hidden in Launcher pro to clean the clutter :) Go to LP options, first menu I think and unhide it.
[G2 and Desire Z Android Development] Freekers1337:
Thanks for your quick reply. Ok, I will try that!

One more question: How can I safely remove Opera before flashing the ROM, or is this not possible, because I see that Opera is also being optimized after the reboot.

If not, can I remove Opera safely with Titantium Backup afterwards? I prefer Dolphin :)

Thanks
[G2 and Desire Z Android Development] nik3r:
You can just uninstall it from apps, but I recommend to give it a shot first ;)

I actually converted from Dolphin HD to Miren and then to Opera. Once it opens it has the fastest page loading and smoothest scrolling hands down for me :D
[G2 and Desire Z Android Development] TheShoura:
I never really liked Opera Moble in its early versions

After having it built into this ROM.....I'm insisting on using it, it's very fast!
[G2 and Desire Z Android Development] selfinflicted1:
Wow is right. Gotta say this is my new daily driver for my vision. Great rom. Does anyone know how the new pershoot kernel world with it?
[G2 and Desire Z Android Development] nik3r:
Just a warning: using any other kernels than the ones in mods WILL decrease performance. They have been modified to include kernel tweaks that EliteMod can call, because each kernel needs a bit different approach. You can try any vanilla kernel and it will work, but you forfeit all kernel-specific tweaks and make sure you set proper CPU governors to prevent instability ;) I can add more tweaked kernels if you want.

BTW: I'm just waiting for the next official build to update, I don't want to compile myself as the autocompiler failed for a reason, right? :D

Sadly looks like Umaro kinda gave up on the kernel and it's getting outdated fast, so I'm open to suggestions.