What are your fav testing/debugging/logging tool? - Samsung Epic 4G Touch

I've been in HTC world for years (both WinMo & Android) and relied on xda devs to bring top quality & performance kernels/roms. About week ago I switched to SGS2 and I'm missing the dev support that I got used to before so I'd like to join in and start some work.
I'm having a horrible battery drain at idle and somewhat bad drain during normal operations. I'd like to start digging into this and am looking for some tools that would aid with logging and studying the the battery usage, cpu usage, radio signal quality, phone wakers, and so on...
So, what are your fav tools for debugging hardware and software problems?
ps: yes I did my research and tried googling but didn't find too much help.

nobody debugs and logs while dev'ing?

Related

[Q] VaniljEclair RLS11 overclocking

Hi all i am microsoft free on my tilt and loving it. i am using VaniljEclair RLS11.
The question i am asking what is the safest speed for me to set in the file for better performance. nbh
Kaiser OC..
Using Rogue Tools, I can run 500MHz without problems. Does use a bit more battery and turns the device into a hand warmer but seems pretty stable. Some run upwards of 520MHz and some do not oc at all. Running Linpack to check performance gains left me wondering if it is worth overclocking at all....
Hope this helps...
thanks the tools work fine.
have anybody noticed that using android on nand for system and data with no oc the battery is worse than windows mobile
Yep...
Battery life will be shortened using most any android device...I disable data, wifi and bluetooth when not needed and I'll go a day and a half at best. If you search the forums here you'll see that most every Kaiser Android user just charges every night....
Also...If you choose to leave data enabled, you can prolong your battery life by selecting to use 2G rather than 3G.....it does help battery life a bit....
Actually, not only kaiser android users, pretty near every android user, my G needs charged every night also, just glad I trained myself on kaiser first before getting my G1
As I have mentioned before, ( many many times, lol), battery calibration is also helped a lot by charging overnight also.
zenity said:
Actually, not only kaiser android users, pretty near every android user, my G needs charged every night also, just glad I trained myself on kaiser first before getting my G1
Click to expand...
Click to collapse
I got a Huawei U8100 a few days ago (to cheap to resist as it was only €100) and battery life seems pretty much as bad as with my Kaiser. Forcing 2G and leaving mobiled data off when not needed is pretty much what you need to do with just about every Android phone to improve the situation.

[Q] Battery Killer Apps ?

Folks,
Finally got a ROM I like and after a few months wth the desire I wondered what is Good/Bad in terms of battery life and background apps.
I downloaded SetCPU from the market so I could at least contribute a bit.
I've now found myself with a Battery monitor, Juice Plotter, 3D Watchdog, Juice Defender, APM Droid, News & Weather, Advanced Task Killer (not running in the background) and the usual Android stuff.
Are there any things good or bad generally. I must say that SetCPU seems to deliver fairly well. I guess some of the other stuff is redundant. Also I'm not certain how to measure how these, and other, apps affect the system.
Any general help would be appreciated.
Colin
gol_n_dal said:
Folks,
Finally got a ROM I like and after a few months wth the desire I wondered what is Good/Bad in terms of battery life and background apps.
I downloaded SetCPU from the market so I could at least contribute a bit.
I've now found myself with a Battery monitor, Juice Plotter, 3D Watchdog, Juice Defender, APM Droid, News & Weather, Advanced Task Killer (not running in the background) and the usual Android stuff.
Are there any things good or bad generally. I must say that SetCPU seems to deliver fairly well. I guess some of the other stuff is redundant. Also I'm not certain how to measure how these, and other, apps affect the system.
Any general help would be appreciated.
Colin
Click to expand...
Click to collapse
Colin,
Lots of people get hung up on battery performance, I've always found it to be pretty good.
I've found that with normal use I get at least 24 hours, which is heaps as I charge it overnight.
In my experience there are 3 things that use up the battery - the screen, gps and 3g. The other thing I have found is that your radio version can contribute to how much battery you use - I normally go with the latest, however some radios work better in some places and carriers than others - so there's a bit of trial and error involved.
Oh, and get rid of all your battery monitoring apps - they will most likely be using more battery than they save.....
Thanks,
I'm running the latest Radio at the moment, I've not tried any between the old one I had and this one.
I'll get rid of the Battery Monitor as it seems much better now that I've got SetCPU running on it. The SetCPU profiles might not be perfect at the moment but the app certainly helps.
I was annoyed once when the battery got to 15%, the phone piped up Low Battery then the stupid thing just switched off a couple of seconds later, made calling a taxi a pain.
Regards

[Q] Possible Desire Buyer; Q's regarding battery/video/development

Hi Guys,
I'm looking for a phone for android development, portable media centre and tinkering with ROMs.
I've been pointed in the direction of the HTC Desire due to its wide range of functionality and large development community (you lot ).
I've almost settled on it and about to purchase, but I have a few questions regarding some quirks of the device, mainly regarding battery life.
I've read custom ROMs such as Cyanongen Mod and OxygeN improve the battery life to make the Desire actually usable.
As I'm wanting to use it as a portable media centre I was looking for your experiences of battery life in general, running hardware supported video playback (.mp4) and software video playback (.avi).
How is the PC side of software for connection to the Desire; are the ROMs supported by the HTC software or is something such as ODIN required?
The phone itself is old and looking at the various ROMs it doesn't show any sign of becoming unsupported in sight or lack of porting newer android versions, so it will last a long development cycle. Which doesn't warrant going for newer hardware (HTC Desire S/HD/etc) that has not got a wide range of development at the moment.
If all the figures are suitable for myself I'll end up purchasing a HTC Desire within a few days.
Looking forward to joining the HTC Desire XDA community.
Any input will be appreciated guys.
The only thing I can tell you about is battery life. After a week of usage, your battery will reach full potential. I remember that the first two days the charge didn't last more than six hours of moderately-intense use
Now, anyways, the battery lasts comfortably ten-twelve hours in moderate use (3g always on, some minutes of videos, web surfing, texting and chatting - no calls )
The award for best battery drainer goes, of course, to the navigator, that drained more than 50% of battery life in 40 minutes of driving.
Desire is definitely a great choice if you're looking into getting started with Android development Only "difficult" thing to do is getting it to work with ADB, but you can simply enable that by adding a few lines to an .inf file (I would post a link but this board prevents me from doing that because I'm "new" - you can google it with the following keywords though: "connecting htc desire adb"). Once that works, you're all good to go!
As for battery life, well.. like said before, these types of batteries won't last for years, but you could always replace it with a new one. The battery from my Desire has been in there for about a year and it's showing its age already (max. 8 hours a day?), but I guess it depends on how you're using the device.
I'm not sure if I'd buy the original Desire again because of the internal memory constraints, but aside from that I'd say go for it. There's always the custom ROMs to get over those limits
Thanks for the replies.
Could anyone post some more detailed figures for the battery life including video type playback (hardware/software) and the ROM installed?
Just to give me a clearer picture of what im in for.
Looking to get a desire this week, now to decide on mocha or white handset.

domsch's "What is burning my Battery"-Guide

domsch's "What is burning my Battery"-Guide​
Content
Disclaimer
Introduction
Setting your goals
My Setup
General Idea
Preparation
Things you'll need
What the apps are for
Reseting battery stats
A starting point
Phone settings
Finding apps that burn
CPU Settings
Different kernels
Conclusion and wrap-up
Disclaimer
A long time ago in a galaxy far, far away...
Recently i installed ICJ. Since my Battery started decreasing quiet fast, i remembered a guide from the good old Desire days. It was a really good, indepth view on how to determin
what burns your Battery and how to set up your phone perfectly.
In the last view days i tried applying some of these tips and found them more or less usefull.
Since HOX is a Tegra device some things are handled differently. So i thought it might be time to update this a bit and let you participate in my hunt for the best battery performance.
First of: I couldn't find the original guide. So no link here (sorry). I will correct this if i find the right thread. This is all my own work! I don't use any part of another post.
By now this is nowhere near complete, but i'm constantly adding. If you wan't to contribute, PM me and i will consider adding your content (with credit ofc).
Since a lot of testing and time intensive tasks are included here, it may take some time to come to some "final" results. Please bare with me because my phone is my daily driver to.
Introduction
To final start of, i think i should determin the goal of this guide. I hope that this will grow to be a reference for general Powersaving on HOX and finding what is wrong (or could
be improved) with your phone. To be clear:
This is not done in 10 minutes! You need time to test different things.​So you won't be able to read a short post, change three settings, deinstall an app and double your Batterylife! Period! This is a approach of finetuning and getting the most
out of your phone. I don't want 24h Battery life with a laggy non useable phone. which leads to:
Setting your goals
It is crucial to determin what you expect from your phone. Remember: this is a quadcore phone with high-end-graphics. You won't be playing Shadowgun and get 10h of "Playtime"
My personal goals are as following
I plug of charger at 05:10 and come back home around 19:00. I would like to have 15% left when coming home (already done with ARHD)
Usage per day:
3h Music
4h forum reading
some browsing and reading webpages
4-5 phonecalls
a bit of texting (SMS/What'sApp)
a bit of playing with settings and homescreen settings
nearly no gaming and if so then no tegra games
a bit of lag is no problem, but i don't want to wait for my phone to load anything
flawless music playback while screen off
Video playback up to 1080p
no Radio issues (to low voltages can make radio instable at times...)
So all in all no great things, but i'm using my phone a lot and have high screen on times. But i'm not pushing the tegra chip to it's limits (not nearly ) I think my goal is
realistic. Remember that your goal should be doable. Just think of what you expect, and you will see relativly fast what can be done and what can't. So what are we working wwith?
My Setup
Just to give you some insight, and to make values comparable, i give you all the relevant information about my setup. You might skip this paragraph if you're just after the tools
and techniques.
My Phone
HTC One X (Obviously)
Black one
Vodaphone Germany Branded
not on JB hBoot
Unlocked
TWRP
No obvious Hardware faults
I got mine relatively early and have one of the first badges...
My Software
atm (16.10.12) IceColdJelly 3.0
Android 4.1.2
Nova Launcher (No theme)
BB10 Lockscreen Mod
NCX Kernel (comes with ICJ)
Apps (most recent used, Basic Setup. The Core i use. Others come and go ):
Airdroid
DB Navigator
ES Explorer
Noom
S-Finanzstatus
Tapatalk
Titanium Backup
YouTube
Gapps 20120726
Rest is stock and preinstalled
Other things relevant
I Use HTC standard charger with original HTC USB-Cable
most of the time i don't use a case, nut now and then i have a HTC Flipcase installed
No other accesoirs (No Bluetooth things, no BlingBling or dock or anything like this!)
...
General idea
The idea is, to determin how much current is drawn on a fresh install without apps and only google account entered. After that i want to determin what apps/accounts/settings draw
how much power. I will start from my current setup (see above) and not with a clean install. Reason for that is, that i want to give you a guideline to follow. I think most of
you have your phone setup ready and need more batterytime now.
Atm i'm not on Sense and until there is no universal JB Sense for all CID's i won't go back. So right now, you Sense user might be able to follow parts of this guide but settings
may vary. So you might have to get your head around that for yourself.
Preparation
No, finaly, we dive into geting our hands dirty.
You will need some tools and apps to measure different things. I highly recommend using the apps i use, because they are on the market for a long time, they don't draw aditional
power while in background and i use them for nearly 4 years now without problems. Also no adds, which is great because adds are one of the things that rape your battery like mad!
Things you'll need
A wallcharger (USB on a PC will work, but increases the time you need for this process alot)
Apps
BetterBatteryStats (free Version on XDA. Link will be added later)
CPU Spy
Current Widget
What the apps are for
BetterBatteryStats gives you an overview of what is using your Battery/CPU. Not as clearly labeld as the System option, but much more in depth and highly usefull to
determin which part of certain apps draw your power. Also you can see if your phone goes to deepsleep.
CPU Spy lists all CPU Frequency steps and how long they have been used. Again, seeing if your devices goes to deepsleep and if an app keeps using the CPU more
then it should be.
Current Widget is probably the most usefull app to date. It shows how much current is drawn from your Battery and writes it into a log. So you can directly see
if a change affected your Batterytime. And you don't have to have your screen on to measure (great plus here )
Reseting battery stats
To start of clean i highly recommend wiping your battery stats. Do do this, fully charge your phone (100% and then wait till charging light goes green, but minimum 30 min).
plug of charger and shutdown your phone. Replug charger and again wait till charging light goes green. Plug of charger and reboot phone. Now your Battery history should
be clear and we're good to go.​
The rest follows as i proceed. I'm currently in the process of investigating and testing on my phone. If you think this guide might help you or others, give a thanks.
If something like this is already done stop me now, before i spend 100h writing this Suggestions or tips for improvement are welcome and highly appreciated. If i made a mistake or have given wrong information, tell me and i'll correct asap.
Please bare with my english and my spelling since i'm from germany and english is not my primary language.
Other than that, bye for now. Enjoy reading.
Thanks to all XDA-Members, Devs and Content creators. I've had 4 awesome years in this forum till now and enjoy giving back a bit to the community.
Dominik
One spare
And another one (have something in mind for this one )
I'm going to keep my eye on this thread for any unexpected results – I get the feeling it's not going to be this or that etc. I might start using JuiceDefender again, quite an innovative app. Either that or just switch to 2g periodically.
leonforthewin said:
I'm going to keep my eye on this thread for any unexpected results – I get the feeling it's not going to be this or that etc. I might start using JuiceDefender again, quite an innovative app. Either that or just switch to 2g periodically.
Click to expand...
Click to collapse
It's not about finding the one app that eats up all our batterylife. It's more of a guideline to determin which specific apps and habbits burn your battery.
For me Juice Defender always used more battery running in background than it saved, but it's up to you to test it, and give me some feedback. Surprise me and i'll add it to the guide
domsch1988 said:
It's not about finding the one app that eats up all our batterylife. It's more of a guideline to determin which specific apps and habbits burn your battery.
For me Juice Defender always used more battery running in background than it saved, but it's up to you to test it, and give me some feedback. Surprise me and i'll add it to the guide
Click to expand...
Click to collapse
Sorry I missed that point – it's to discover your own personal usuage habits that tie in with (excessive) battery drain. If you want me to run it seperately as like, a comparison then yeah of course. I will reset my battery stats and use JuiceDefender. For how long though?
leonforthewin said:
Sorry I missed that point – it's to discover your own personal usuage habits that tie in with (excessive) battery drain. If you want me to run it seperately as like, a comparison then yeah of course. I will reset my battery stats and use JuiceDefender. For how long though?
Click to expand...
Click to collapse
I think 1 hour of the same activity should be enough to determin a percentage of gain or loss in batterylife.
Well, I have recently installed a new ROM (ViperX) and installed Google Now which has battery drain issues. In the hour tested I've received 10 emails, four texts (sent three) two facebook notifications, downloaded a 4mb app and listened to approximately 16 mins worth of music. I suppose that counts as moderate to high usage. With Juice Defender I am on 89% I was loosing much more than 10% per hour before now.
Hopefully this helps?
Yeah, I have a drainage of 547mA after fresh reboot which is crazy... Google location service is one of the suspects. I'm investigating in that now, which would respond to you saying Google now is draining. I dropped 10% in 3h of screen off which would mean 30h of standby. Sounds somewhat low to me.
I'm in the testing today, and tomorrow I will write part two. Let's see what's to find there...
One thing. What settings did you use with juice defender?
Gesendet von meinem HTC One X mit Tapatalk 2
domsch1988 said:
Yeah, I have a drainage of 547mA after fresh reboot which is crazy... Google location service is one of the suspects. I'm investigating in that now, which would respond to you saying Google now is draining. I dropped 10% in 3h of screen off which would mean 30h of standby. Sounds somewhat low to me.
I'm in the testing today, and tomorrow I will write part two. Let's see what's to find there...
One thing. What settings did you use with juice defender?
Gesendet von meinem HTC One X mit Tapatalk 2
Click to expand...
Click to collapse
Just had it on 'Balanced' – there is a fix for the battery drain issue with Google Now combined with Sense roms. But the apk decompiling process is a little out of my comfort zone!
Sounds interesting
Sent from my HTC One X using XDA Premium App
Good luck with this man. I was thinking of doing something like this once Faux's kernel 12 comes out of beta, but I don't think I need to anymore
ATM I'm struggling to get consistend results. I have hours where my battery is sucked with over 600 mA idle. And then everything is fine with around 190 mA. All without changes in the last days. Really strange...
Gesendet von meinem HTC One X mit Tapatalk 2
190mA is really high for idle
I just installed Current Widget, it doesn't seem to record idle screen-off usage. Battery Monitor Widget is waaay better for recording mAh used. Even works with screen off.

[Q] Battery drain is pissing me off

I love my s3. but once I updated to jb the freaking battery life is so bad.... it is constantly draning withiut me doing anything in it. And today gmail was on the top of the list. I didnt even use gmail today. Can someone please guide me and tell me how I fix this? Do I really need to go back to ics. I go to high school and I never use my phone but still it drains... do I really need to go back to ics? My battery life on ics was amazing but I wantdd this update and now I am regretting this update so much. Please help?
Go to an AOKP rom
Sent from my SGH-I747 using Tapatalk 2
It would be worth gathering more info here before moving on to more drastic steps like flashing another ROM to deal with battery issues.
Can you start by posting screenshots of your battery life screens (go here for some examples of what I mean)? The things I'd personally be most interested in seeing are screen on duration and your wireless connectivity; if you're leaving your screen on and/or you're in areas with poor network connectivity (wifi or mobile), those can both tend to eat into battery life in various ways - for example, e-mail apps (this probably includes Gmail, but as I use other mail apps I don't know for sure) can eat battery life in areas with poor network connectivity in their futile efforts to maintain a connection to the mail server.
Apart from those basic drains, you can get a better idea of what's eating battery life by identifying causes of wakelocks, i.e. what's keeping your phone awake when it should be asleep. BetterBatteryStats is my go-to for this. The info it generates is really helpful for figuring out what applications are eating battery life and how they're doing so.
Hope this is of use.
Flashing a rom is not drastic
It was only a suggestion based on all the reports of battery issues with the official JB release.
Sent from my SGH-I747 using Tapatalk 2
smelenchuk said:
It would be worth gathering more info here before moving on to more drastic steps lik flashing another ROM to deal with battery issues.
Can you start by posting screenshots of your battery life screens (go here for some examples of what I mean)? The things I'd personally be most interested in seeing are screen on duration and your wireless connectivity; if you're leaving your screen on and/or you're in areas with poor network connectivity (wifi or mobile), those can both tend to eat into battery life in various ways - for example, e-mail apps (this probably includes Gmail, but as I use other mail apps I don't know for sure) can eat battery life in areas with poor network connectivity in their futile efforts to maintain a connection to the mail server.
Apart from those basic drains, you can get a better idea of what's eating battery life by identifying causes of wakelocks, i.e. what's keeping your phone awake when it should be asleep. BetterBatteryStats is my go-to for this. The info it generates is really helpful for figuring out what applications are eating battery life and how they're doing so.
Hope this is of use.
Click to expand...
Click to collapse
Icantell you right now I just checked and the kernel wakelock that is preventing my phone to enter deep sleep is msm_otg. How can I disable this?
Some digging on my part suggests that that wakelock is USB-related, though theories as to the cause vary. Some of the suggested solutions I've seen are using a different USB cable to charge the phone, or doing a factory reset.

Categories

Resources