yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] walts:
Battery Monitors

A few days ago I asked about Battery Monitors and got two recommendations (Thanks!). I thought I'd share may experiences with both of them. This relates to the free version of both.

CurrentWidget:

The Widget itself displays Voltage/current/%charge, rotating by tapping the widget. It also displays the time of the last sample (defaults to 60 seconds, but you can change it) and has an "Update Now" function. If you enable logging, it writes to /sdcard/currentwidget.log. You can include application information in the log if you want, or just have a timestamp with voltage, current and %charge recorded. The full log entry looks like this

2011/08/05 08:24:12,-81mA,87%,com.android.inputmethod.latin;com.android.phone;com.android.providers.calendar;com.google.process.gapps;system;com.manor.currentwidget;ccc71.bmw;com.nqmobile.antivirus20;com.android.launcher;com.overlook.android.fing;com.android.vending;com.google.android.apps.maps:NetworkLocationService;com.android.deskclock;com.svox.pico;com.google.android.apps.maps;android.tts;de.joergjahnke.documentviewer.android.free;com.thedeck.android.app;mobi.mgeek.TunnyBrowser;com.amazon.venezia;android.process.acore;com.android.email;com.google.android.gm;com.keramidas.TitaniumBackup;com.xelacorp.android.batsnaps;joansoft.dailybible;com.bel.android.dspmanager;com.android.systemui;,4.023V

I don't know what order the apps are recorded.

The CurrentWidget app itself (a separate icon) allows customization of the display and log, and can analyze the log file to show "Top Processes" - a list of the processes ordered by average current usage, and "Values Count" - a list of current ordered by the number of times they were triggered.

There is also a simple graph of current vs. time available.

Battery Monitor

This is a graphically oriented program. The widget itself displays the current and charge%. Tapping on the widget opens the main app screen which displays a table to text about the battery (Health, Temperature, voltage capacity, charge% current and estimated remaining time to empty) and a graph of charge% vs. time.

a "History" button displays the log file (/sdcard/battery_history.txt) which shows the timestamp, current, %charge, voltage, temperature plus 2 other numbers that I haven't figured out yet.

the "Estimates" button gives graphic and text estimates of charge/discharge times for "All-time", "time since unplug" and "using battery (dis) charge.

The "Usage" button gives the usage by app from the

Application Settings

main menu.

The "Statistics" button gives the battery history screen from the

Application Settings

main menu.

A Long Tap on the main graph allows you to zoom in, and also to select the data displayed:

Available (%)

Usage(mA)

Usage(mW)

Voltage(mV)

Temperature

The scaling of the graph responds to "pinch" actions.

The paid version ($5.99) offers to "unlock all features and get extra widgets" but I'm not sure what that means exactly.

HTH

Comments?

Walt
[HD2 Android NAND Development] tyween:
I uploaded v3.5.6 beta for anyone that is interested.. which has nightly 152 as well as jan-willem3's ril tweaks. I am waiting for the next nightly to release v3.5.6 final as there are a lot of changes expected in the next nightly.

If you have tried a beta build before, you know the drill.
[HD2 Android NAND Development] agentfazexx:
Can't wait for v3.5.6 final!
[HD2 Android NAND Development] agentfazexx:
There are several threads on this topic. Do some research and don't ask repeat questions. That's why this thread is so long.
[HD2 Android NAND Development] donaldkbart:
I appreciate the info. The volume down and power button combo is not working for me to get into bootloader. do you know of any fiexes for that, I have definitely been searching everywhere for that problem and can't find anything. thanks again.
[HD2 Android NAND Development] agentfazexx:
The HTC recovery screen? You hold the down button when powering the phone back on.

It's easy, I promise you it is.
[HD2 Android NAND Development] donaldkbart:
haha I know it is, but it is not working. I've held it down while powering on, I've held it down took out the battery while holding it down put the battery back in while holding it down powered it on, no luck. I've held it down while pushing the little reset button took out the battery held it down while powering it on and nothing
[HD2 Android NAND Development] agentfazexx:
Looks like your phone is effed. That's how you do it.
[HD2 Android NAND Development] donaldkbart:
well balls
[HD2 Android NAND Development] Crust2:
Wifi Calling and Tablet Tweaks

Hello everyone. I'm still reading and searching, so I apologize if this is obvious to everyone.

First of all, this is a great ROM!

Thank you!

I have a few questions:

1. What zip file do I have to flash to get wifi calling on this ROM? I understand that the feature was removed, but I do want to try it out. Also, if it causes problems for me, how do I remove it?

2. What zip file do I have to flash to get tablet tweaks? If this causes problems for me, how do I remove it?

3. With the Typhoon ROM, whenever I upgrade, would I have to reinstall the wifi calling and tablet tweaks features?

4. In general, have most people been having success with these features or more problems? (I have a new T-mobile US sim with wifi calling already enables on the account)

I'm going to try these with v3.5.6 final when it comes out.

Thank you so much.
[HD2 Android NAND Development] Unconn:
1. I do not know. I have not jumped into WiFi calling yet.

2. I am sure someone will release a Tablet Tweaks Soft Keys zip file for each new build. If not I can build one. This may be built in soon though and we may not need to worry.

3. For Tablet Tweaks yes (but see #2) , for Wifi calling probably not, but I am not sure.

4. Can only comment on Tablet Tweaks, but yet, I have had no problems with Soft Keys (some people have). I have been getting Random reboots recently though. Not sure of cause.
[HD2 Android NAND Development] deviant749:
This issue is probably not phone related, but I'm going to throw it out there anyway:

I'm getting really slow data, both perceived and otherwise on 3G with this build. I upgraded from 3.3.7 and have similar results on 3.5.5. Is this a known issue? Is it my area (Reception is strong)? Am I just a whiny baby?

Running a formal speed test now and will post results shortly.

Test results:

753ms ping, 1246kbps down, 831kbps up.

869ms, 927 down, 428 up

795ms, 1941 up, 780 down

As you can see, my results are a bit wild, aside from ping, which is consistently ridiculous.
[HD2 Android NAND Development] tdizzle404:
+1111111111111!!!!!!!!!!
[HD2 Android NAND Development] wlh03212:
hi guys! i have a qns! how do i upgrade from 3.5.4 to 3.5.5? can i just simply upgrade the rom by installing over the old rom without wiping data, cache etc.?
[HD2 Android NAND Development] agentfazexx:
Dude, use the bloody search feature. This question has been asked 2137219837821743 times.
[HD2 Android NAND Development] noellenchris:
from the FAQ on first post...

-Can I upgrade to a newer version without loosing my data/settings? Yes. Just make sure you back it up with CWM just in case something goes wrong. I have used the same data since before I released v1.0 on XDA. There should be no problem with keeping your data. But don't expect to come from another ROM and keep your data without issues.

And I would goto advanced menu in CWM and wipe Dalvik and also wipe the cache on the main menu of CWM. Don't delete your Data though...:P
[HD2 Android NAND Development] brunoavrocha:
Guys i need a hand.

I use Typhoon build for a long time with Go launcher, go notifications, go sms, etc.

Since last build and Gmail updated application i have no unread GMAIL count in gmail icon placed on my homescreen.

is it go notifications? gmail config?

can anyone help me?
[HD2 Android NAND Development] TheInVisibleGoD:
Tyween, nightly 155 is out! :D
[HD2 Android NAND Development] agentfazexx:
He already said that's in 3.5.6.
[HD2 Android NAND Development] :
It seems that Google has removed some API from newer versions of GMAIL...

I've got the info here.
[HD2 Android NAND Development] tyween:
Don't worry I will release a new version of the ROM within the next day or 2 with this included. I do need to spend some time with my lady though, she comes first for now as it's the weekend :D
[HD2 Android NAND Development] IndigoHD:
You gotta have priorities, thats true!

But since you are certainly more talented then i am... could you have a look at these tweaks and see if they work as expected? and if they do... maybe include them?

http://xdaforums.com/showthread.php?t=1202038

PS: I love your rom, best out there! ; )
[HD2 Android NAND Development] TheInVisibleGoD:
Sure mate, have a nice weekend with your girlfriend by the way... ;)

It is already included in the latest beta (3.5.6).
[HD2 Android NAND Development] pjrmax403:
ril tweaks

I am using the aforementioned ril tweaks and they appear to be working well, although I had to disable ro.ril.fast.dormancy.rule, ie;set to zero, because of extreme battery usage.;)

P.S. tried w/b4 wrapper first and still experienced data loss, now using b5 wrapper:) On v3.5.4
[HD2 Android NAND Development] jimi_c:
still having the unstable data connection, both in mgldr and clk... I am on t-mobile nl.

the 3g and h turn green but there is no actual data connection, then it drops till I reboot and then I have my 5 minutes of pleasure if it lasts that long.

Weird thing is that everything works on hyperdroid cm7 2.1.0 all is well.

Anyone else has the same problems?

running the latest radio

Thanks in advance for your answers

edit: have this on 3.5.4 3.5.5 and 3.5.6 beta

edit2: could the nand tool from the sticky be the cause, with the newer roms I also use it to wipe to go back to hyperdroid
[HD2 Android NAND Development] Peppus:
Have you update gmail to 2.3.5 version :rolleyes:? You only have to reinstall old version 2.3.4.1 and maybe Go notifications too and you will get unread mails notifications again ;)

Tyween take your time with your lady, we need you happy here :D
[HD2 Android NAND Development] robsonhcosta:
What is the link to download the 3.5.6? It comes with the same cm.bravo 155?
[HD2 Android NAND Development] pjrmax403:
http://tyween.sylvester20007.com/
[HD2 Android NAND Development] Peppus:
How do you edit build.prop file? When I try that with root explorer it says "you cannot edit... is read only", and if I try to change permissions I get the same message :confused:

Thanks!
[HD2 Android NAND Development] walts:
Copy the file to the SD card with Total Commander. Edit it. Copy it back.

Works for me.

HTH

Walt
[HD2 Android NAND Development] Crust2:
Priorities are priorities. Enjoy your time with her.
[HD2 Android NAND Development] Pabliell:
Root Explorer: Long press on file, open in text editor, edit, save and exit. There will also be a backup made.
[HD2 Android NAND Development] agentfazexx:
It'll automatically make a backup.
[HD2 Android NAND Development] lore-mordred:
I have the 3.5.0 Build but I re-applied the wifi calling, so I am not sure if it is fully functional with 3.5.5 but I am pretty sure it will since there weren't drastic changes to the base code.

Here is how:

Once I verified that I was able to boot normally, I pushed Wifi Calling back onto this ROM by copying the following command line in system/Build.prop then copying the build prop (deleting the existing one) into the wifi-calling-htcleo-gb-20110628.zip (you may want to look into the most recent version from Tytung):

# WiFi Calling #

rild.libpath=/system/lib/librilswitch.so

rilswitch.vendorlibpath=/system/lib/libhtc_ril.so

rilswitch.ganlibpath=/system/lib/libganril.so

mobiledata.interfaces=gannet0,rmnet0,rmnet1,rmnet2 ,ppp0,ppp1,ppp2

If you look for my first post, you might find more answers to your questions. But yes, you will need to re-apply the mods you want each time you flash the rom. Unless Tyween includes some in a newer update.
[HD2 Android NAND Development] Crust2:
Thank you very much. I'll try it out.
[HD2 Android NAND Development] :
click on the too left the "r/w" button :)
[HD2 Android NAND Development] Peppus:
At last the last answer gave me the solution, I didn't notice that button function :o Thanks to you all :)
[HD2 Android NAND Development] jimi_c:
I found that my t-mobile NL APN settings are different from the ones you can manually set from my-tmobile.nl...

I changed them but to make sure i ordered a new simcard (€5). Maybe that will solve some problems.. I think its cheaper to spent €5 on a sim then €15++ getting frustrated with the support ;)

will report back when I have my new sim installed.

I ordered a new sim cause my wifi's KPN sim worked flawless with this rom..
[HD2 Android NAND Development] Hinnne:
nightly update to 156

Hi, i have a question.

is it possible to overwrite the files in the TyphooN_CM7_v3.5.5-MAGLDR.zip archive with the files from newest bravo nightlies cm_bravo_full-156.zip only without changing the build.prob file before flashing. Or do we have to change other files to get the bravo nightlies working on the leo.

thank you
[HD2 Android NAND Development] semihbalcioglu:
Waiting for 3.5.6 to install... best android rom for my device. thanks...
[HD2 Android NAND Development] Artnicks:
I got to bootloop 3.5.6. :-( While once. I was not like this long ago.
[HD2 Android NAND Development] Sergio20:
Help!

I downloaded from Android Market "CurrentWidget". Set, appeared in the "Applications", but with prolonged Tape on the screen and select menu "Widgets" item "CurrentWidget" does not appear (other widgets such as widget "Torch" and widgets "PowerAmp" is listed).

I tried to reinstall CurrentWidget, removed the renovation "Android Market", cleared the cache, nothing works.
[HD2 Android NAND Development] gdsbalaji:
move it to phone memory
[HD2 Android NAND Development] mknewman:
Thanks, that seemed to work fine for 3.5.6, I'm running WiFi calling again. I wish Tyween would put it back in but understand why he took it out.

Marc
[HD2 Android NAND Development] zagzag99:
The wifi problem has nothing to do with router settings. I have two more devices running cm7 nightlies without any issues.

For sake of trying I played with the channels settings of the router.

In conclusion the HD2 suffers from disconnections since the past 3-5 builds. Also NexusHD rom suffers the same. I suspect that the move to 2.3.5 caused this.
[HD2 Android NAND Development] Martin_Toy:
I think its a bit much to say that there is an issue with it entirely as I am having no worries with it at all with my home network.
[HD2 Android NAND Development] JJKameR:
On 3.5.6 beta no data connection. If turned on it turns itself off immediately.

Sadly it drains battery faster than 3.5.5. Rolled back.
[HD2 Android NAND Development] Alootje:
Battery drain

I updated from 3.3.? to 3.5.5 and suffered with battery drain, which I didn't have with the 3.3 version (hardly one day one a charge)... Taking a look at spare parts, Partial Wake usage gives a large amount on Maps (which I don't ever use) and Nitrodesk Touchdown.

A search for Google Maps results that Latitude could be the cause. Searching further on how to disable it didn't solve the issue for me...

Trying to disable both apps from starting up I installed Startup Auditor Free and Startup Cleaner 2.0. This didn't succeed. Therefore I choose to remove both Maps and Nitrodesk Touchdown.

After the removal I wiped the battery stats while at 100% charge and Currentwidget indicating '0 ma'. After almost a day (22 hours since disconnect) I have 30 % left. This is while having Bluetooth constantly on, mail syncing, weather updating, playing with co-pilot for more than an hour, and using the phone like every day....

So maybe the battery drain that a lot of people getting lately is a result of Google maps...

Maybe worth checking that out..?

Good luck and a nice weekend to all!
[HD2 Android NAND Development] wiss:
same problem

drain battery after update 3.5.5

any idea?
[HD2 Android NAND Development] TheTeek:
I'm having the high battery drain also, not allways, but a lot more then before 3.5.4, i've seen maps open without using it, but that wasn't different before.

I will try removing maps as u suggested.

Thanks for your input!
[HD2 Android NAND Development] kabirq:
No GPS with navigon

Hallo and Thank for this good rom.

How can i let navigon 3.6.2 work with your rom, its trying to recive a singnal but after hours still no fix.

Hope for een gooed tut.

Thank you
[HD2 Android NAND Development] DannyBiker:
Yeah it seems there is a battery drain issue with the latest versions. Very erratic. Switched to MIUI in the meantine...
[HD2 Android NAND Development] nickytheshaft:
Works fine for me. I did

Task 29

Winmo 6.5

Task 29

Radio

Clk

Rom

And all is smooth
[HD2 Android NAND Development] darkt123:
I also experienced the high battery drain, but was able to fix it. Here's what I did:

1. Wipe data and cache via cwm.

2. Install rom.

3. Wipe data and cache yet again.

4. After the room boots, don't install everything at once. Install one app at a time to narrow down what the issue is.

5. Install juice defender to control when the phone syncs, what radio it uses when, what apps can run in the background. It even controls the cpu and has a schedule feature for when the phone isn't used it can conserve battery life.

6. Install a battery tracking app such as battery monitor widget. It'll tell you in detail how much is being drained and when.

7. Install watchdog lite to track which apps use up too much cpu.

8. With battery monitor widget and spare parts, I saw what processes and apps were using up my battery. Google apps being notorious via syncing all the time (counteraccted by juice defender) like gmail, and facebook being the battery killer for me.

This was unique to my phone as far as I can tell having read nowhere else that facebook was causing a drain, but sure enough after killing the process under app settings, I can lock my phone in peace. Also, it's important to take note there's issues with tmobile customers currently causing our radios to switch way too often.

All the steps above lead me to now be able to easily get a days worth of juice and still be at 50%. That's with light usage, mainly checking things here and there or fire back a text. My culprits are facebook, google apps, and my radio trying to connect to 3g and back to edge. Believe it or not I get better battery life with wifi on than via tmobile.

As I type this though my battery has gone down from 82 to 77 lol. It seems the phone can go into deep sleep just fine and it manages itself better when locked, but I haven't been able to figure out how to stop the massive drain when I'm actually using the phone.

Hope this helps in narrowing things down a bit. At least for me this is now tolerable.
[HD2 Android NAND Development] LimDul:
cannot add exchange account with 2.4.1.

whats up?
[HD2 Android NAND Development] gsc12:
high battery drain with 2.4.0

now updated to 2.4.1

hope its better
[HD2 Android NAND Development] maksym:
Problem with Darktremor's A2SD+ and this ROM

Hi all,

I'm having exactly the same problem as ironsage reported earlier:

Hi can someone help? i'm using EU Leo (512MB) and desperately need A2SD.

Things were working fine with v1.9 and titanium backup detected Internal, SD card, SD card (a2sd) - 3 bars in all. Now i've installed v2.1 (standard edition) and used clockwork recovery to partition the SD card (1024). I did the following steps

1. task29

2. magldr 113

3. clockwork recovery (125m that is provided)

4. flash typhooncm7

5. let phone run

6. reboot into clockwork recovery

7. flash DarkTremor a2sd+.zip

Now when I run titanium backup. I only see 2 bars Internal and SD Card so I'm guessing A2SD+ installation was a no go?

I tried running terminal emulator, type "su" allow super user and then type a2sd cachesd and got the following error

/system/bin/a2sd: line 66: /system/bin/busybox.a2sd: No such file or directory

/system/bin/a2sd: line 68: /system/bin/busybox.a2sd: No such file or directory

/system/bin/bash: line 66: /system/bin/launcha2sd: No such file or directory

Does anyone know why this may be the case?..

By the way, I checked, and it looks like some of the /system files have not been flashed - for example, busybox.a2sd and launcha2sd are not in /system/bin/ directory at all. Same applies to /system/etc/init.d/ files. I've flashed the mod twice already.

Maksym
[HD2 Android NAND Development] terrywany2k:
Logcat:

W/AnduioSystem( 236): AudioPolicyService not published, waiting...
I/ServiceManager( 236): Waiting for service media.audio_policy...
I/ServiceManager( 236): Waiting for service media.audio_policy...
I/ServiceManager( 236): Waiting for service media.audio_policy...
I/ServiceManager( 236): Waiting for service media.audio_policy...
I/ServiceManager( 122): service 'media.audio_flinger' died
I/ServiceManager( 122): service 'media.player' died
I/ServiceManager( 122): service 'media.camera' died
E/AudioPolicyManagerBase( 190): Failed to initialize hardware output stream, samplingRate: 0, format 0, channels 0
W/AduioSystem( 190): AudioFlinger server died!
W/AudioHardwareQSD( 190): Attempt to close invalid output stream
W/AudioHardwareQSD( 190): Attempt to close invalid output stream
I/ServiceManager( 190): Waiting for service media.audio_flinger...
I/ServiceManager( 190): Waiting for service media.audio_flinger...
I/ServiceManager( 190): Waiting for service media.audio_flinger...
I/ServiceManager( 190): Waiting for service media.audio_flinger...
W/AudioSystem( 190): AudioFlinger not published, waiting...

Sometimes boot/reboot fail and freeze at cyanogen logo, when I kill the process 190(/system/bin/mediaserver) with adb shell, then can boot into android.. this issue since ver 2.0.
[HD2 Android NAND Development] Saftawy:
Pattern lockscreen displays %d%% instead of bat level

This bug is fixed here: http://review.cyanogenmod.com/#change,3200

how to install it?!
[HD2 Android NAND Development] cmarti:
2.4.1 is working perfect here.
[HD2 Android NAND Development] Awassenaar:
Firstly: I love this ROM, great job!

Secondly: I have a (noob) question, since I just started using CWM to flash new ROM's. Is it possible to just update to the latest version of this rom without losing my settings? I've seen other ROM threads where an update is offered for users who are allready on the old ROM. So is this possible for this ROM? And if so, how?

Thanks in advance!

Oh and please don't flame me for asking this if it was allready asked before, I am at work and don't have time to read through all the pages of this thread.
[HD2 Android NAND Development] Tak3r07:
+1

Is the new version only with the new tytung r6 kernel?

So i could just update the kernel and it would be like 2.4.1?

Which version of the kernel do i have to flash? r6_oldcam oder r6???

How long did your battery survive with 2.4.0?
[HD2 Android NAND Development] Awassenaar:
Apparently we can!

I just thought f**k it, and flashed the new ROM anyway. And surprise surprise everything is still in tact: widgets,apps, settings everything. I guess this goes automatically if you are on the old ROM. I also noticed that during the flashing process the text on my screen said 'updating..' so this is intended behaviour of CWM I think.
[HD2 Android NAND Development] SoftHd:
what is the difference between

Standard Edition

and this

RAM Edition

??
[HD2 Android NAND Development] Petulinek:
On every second page this stupid question... Use magic button named SEARCH or list some pages back
[HD2 Android NAND Development] SoftHd:
Just answer the question :)
[HD2 Android NAND Development] biscuits1978:
Why don't you just search for it?
[HD2 Android NAND Development] Tak3r07:
alright,

I've just flashed the new kernel, what is like the new 2.4.1 changes as far as i know ;-) works pretty well
[HD2 Android NAND Development] marcelvdenberg:
Getting tired of the same question on almost every page.. There should be a word filter.. "what is the difference between RAM" as a no-go question :D

BTW, still excellent build!!!1!
[HD2 Android NAND Development] SoftHd:
I was just kidding :p

Can you explain to me the installation step by step?