yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] crushalot:
Battery Stats, Config and a Question

flar2,

Great kernel bud. Thought i would chime in with some great battery stats, share my settings and ask a question.

I run Trick Droid 8.0 and it has great battery life in its stock form, but I found this kernel to be even better and it allows you to tune the kernel to our liking without effecting battery life too much.

Posted are 2 screenshots showing benchmark comparisons. One is TD 8.0 stock and the other is ElementalX 2.1. My ElementalX settings for this test was: OnDemand gov, 1890Max, GPU OC'ed, -50mv across the board UV and no other options, meaning no touch to menu or touch to wake or stw,sts etc and default Thermal options(I would rather keep an eye on temps myself and enable thermal throttling if needed but I usually never get close to the thermal throttling temps, so I leave all thermal options off so I know all cores are OC'ed at my setting) My brightness is always set to 42%.

The UI is noticeably snappier and application performance also seems a little faster.

Battery life is great and you can compare stock TrickDroid to this kernel with the above config. The ElementalX kernel is better on battery and has CPU and GPU overclocked, NICE.

Also you can see how changing the kernel results in better battery usage info because with stock kernel GSam reported 76% usage came from apps(do you really think that applications using the CPU were 76% to blame for the battery drain when there was over 3 hours of screen on time? Um, no. You can see in the GSam report from ElementalX that the usage percentages were more accurate, correctly attributing most of the power consumption to the screen time.)

I forgot to take a screen grab last night before charging but my first full day on the kernel was awesome as I was able to go from first thing in the morning until I went to bed (over 18 hours) with heavy usage throughout the day and still had plenty to spare without touching a charger all day.:D

I also wanted to add that my cache for IO is 2048 and I have found that fiops scheduler gives me slightly better performance than row.

Now for the question. I have since enabled the touch to wake option which is super awesome btw, but I have noticed slightly more battery drain than before. Does the kernel monitoring for touches all the time when the screen is off for T2W eat more battery than when disabled?

Hope this helps some for those that wanted configs shared, and I hope someone can answer my question about battery life and T2W.

PS - I don't use logotomenu or any other swipe or touch options (other than touch to wake) because I use LMT launcher and essentially use that for a super menu button for everything. You can make it do anything!
[One (M7) Original Android Development] J-Hop2o6:
This is interesting. Having two weird problems. One is the phone is getting hotter than normal doing the same things before using this kernel for 4.2.2 (came from stock and Bulletproof). I'm using default thermal, stock clock (1.7GHz). Nothing crazy. Any reason its running hotter than normal?

Also, I was getting crazy drain overnight (un-plugged intentionally of course to test). It was draining -2% per hour. GSAM blames the kernel for keeping it awake for 2 hours (out of 6.5 hours). Screenshots below. Any reasons @flair2?

NOTE: re-flashed to try a few different settings (cool throttle; stock 1.7GHz; only sweep2wake instead of dt2w & pocket detection).
[One (M7) Original Android Development] tiho5:
I also can't make fastcharge work.

After enabling it in trickster, it shows charging USB.

Is there a problem with it?
[One (M7) Original Android Development] bldysurgeon:
excelent

i instaled it on my viped htc one 1.1.1.its perfect.despite the rom got it already but flashing it through aroma gave all its mentioned functions.its smooth well armed and gave magnifesant score on quadrant. i recoment it hardly for viper one rom.

if this helped press thnx plz.

thnx
[One (M7) Original Android Development] carlos67:
Like some others have already mentioned, when in a call, the screen is coming on and causing touches to be registered. This causes havoc. I don't know if this is a kernel or Rom issue :confused:

Has anyone who has had this issue found a solution? It seems that the proximity sensor is functioning incorrectly whilst on a call.
[One (M7) Original Android Development] c5satellite2:
Search for proximity sensor fix. It's here somewhere.
[One (M7) Original Android Development] ztmike:
I left it at default during kernel installer as I didn't want to set anything over stock in case phone couldn't handle it ..

I figured I could easily adjust the CPU clock using an app on the fly..
[One (M7) Original Android Development] crushalot:
No the max is locked when flashing the kernel. You will need to re-flash the kernel and choose a safe OC speed. At stock voltages pretty much anything up to 2.0ghz works ok. If you set too high of an OC freq during the install and the phone doesn't boot, you just re-flash and choose a slower frequency during the kernel installer.
[One (M7) Original Android Development] jeryx:
Great work as always... Thanks buddy!

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Original Android Development] ztmike:
What should I do to reinstall kernel? Any kind of wipes ?
[One (M7) Original Android Development] jeryx:
Great kernel as always! Thanks mate! I loving it!!! thanks for your time... and the community!!!

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Original Android Development] navis83:
Flar, your kernel is really nice, I've not yet perfect knowledge of Android os, but I think you did a nice customization and now we are able to configure our devices as we want.

About next steps, I think it's time to improve Android Os system processes as SourfaceFlinger: I think you could add a nice feature that right now I dnt know how could be made,but it might be possible as well, to reduce some graphical processes priority (or just send them to wait status) until display is off.. maybe this could improve battery life,just because these threads are always active also if not in use.. what do you think about that?
[One (M7) Original Android Development] Arcadia310:
You and I have nearly the identical setup but you're getting dramatically better battery life than me. I'm running TrickDroid 8.0 with ElementalX 2.2 and battery doesn't seem improved at all from stock unrooted. I'm still getting massive drain while not using the phone (couple percent an hour) and when the phone heats up the battery seems to drain twice as fast. I'm unclocked to 1.2Ghz and undervolted to 787mV and all that's managed to do is keep the phone cooler.

In GSAM nothing really stands out. App usage is very low and the main culprit is the screen. It's on auto brightness and after 2 hours 53 minutes of screen on time I only have 18% battery life. What gives? Could underclocking and undervolting actually worsen battery life? I'm using kernel tuner.
[One (M7) Original Android Development] twosix:
UV too much will have negative effects.imagine not eating enough the whole day. you'll always be hungry and that will sap the life out of you.same for electrical products.
[One (M7) Original Android Development] iElvis:
Just reflash. No need to wipe anything.
[One (M7) Original Android Development] ceelo2008:
Anyone get the fastchargee to work? No matter what I use to turn it on it always showes usb mode
[One (M7) Original Android Development] Arcadia310:
Okay thanks. Is 850 mV the default voltage for the lowest CPU speed?
[One (M7) Original Android Development] baste07:
Anyone tested this kernel on new base?
[One (M7) Original Android Development] tiny4579:
No. It's mild undervolting.
[One (M7) Original Android Development] littlejob:
Do you have any exchange accounts configured? Even though the several battery meters didn't detect it that was the culprit for me.
[One (M7) Original Android Development] Arcadia310:
Nope, just gmail.
[One (M7) Original Android Development] boss336:
I'm on viper Rom what's good settings to put on each core so Rom runs smooth and get good battery
[One (M7) Original Android Development] Pure+:
+1. Would also like to know.
[One (M7) Original Android Development] bia9977:
Sometimes i have the same problem. Never said it publicly but my theory is that it's caused by bad installation of rom. Something doesn't install properly. It creates extensive heat and sluggishness of the phone. The only cure for me is to wipe, install different rom, wipe and reinstall desired rom again. You might fix thermal problem with custom kernels most of the time, but it's just sweeping it under the rug.

HTC One running Trick Droid 8.0
[One (M7) Original Android Development] crushalot:
As was mentioned earlier by others, if you have checked out all the normal stuff like wake locks, background services, etc, and you are still having issues, the answer is simple= Wipe and re-install ROM let it settle, re-install kernel.

Don't forgot about rebooting, I have had instances of great performance one day and then seemingly over the next day or two performance is bad. Guess what solved it - wipe cache and reboot.

With this phone and TWRP doing a Nandroid backup takes like no more than 3 minutes and restoring them takes even less time. If your system is acting funky or doesn't seem right to you, take 5 minutes and backup and then do a clean install and see if its better. Try different configurations and install apps slowly, not in bunches of 10 or more. If you don't get the results you want, 2 minutes to restore your Nandroid or try installing again. If these cool roms worked every time and had no issues, Carriers would use them. We must remember they are custom development by a few people (not huge corp development teams) and we must have patience. Don't get frustrated when your first install attempt at a rom or kernel doesn't work correctly.

Also speaking of CLEAN installs, don't do a full wipe re-install and then turn around and restore tons of apps from Titanium Backup. Especially if any of those backups were system apps or user apps that were backed up from a ROM using a different base. I know it can be a pain to take the time to get your apps and configurations back, but it is worth the extra time to have it right and giving great performance and battery life.

Good luck.
[One (M7) Original Android Development] ac3kill:
So after switching to this kernel my car charger says it's not charging my phone fast enough it's a 2.1 amp 5v charger and I've never had a problem with it before and I swear it charged my phone faster

Now I get the message that it will take longer to charge anyone know how to fix this ? It also detects the charger as a usb charger now and it did not do that before on stock
[One (M7) Original Android Development] Arcadia310:
Thank you! I did a clean install of TD and reinstalled all my apps from Play. Once the phone cools down a bit I'm going to reinstall ElementalX again. Hopefully this time I get better results.
[One (M7) Original Android Development] evilmastr:
I hope that the energy saving feature is added to the next kernel release. It would be appreciated very much. :)

T9'd from my black HTC One M7
[One (M7) Original Android Development] *justintime*:
Please enable fast charge... Trickster mod doesn't work. And even on standard kernels it's enabled.

I am reverting back to stock as it is more important than sleep2wake.
[One (M7) Original Android Development] wmg316:
With ROMs coming out on the new 2.24.401.1 base, will ElementalX work on the new base?
[One (M7) Original Android Development] J-Hop2o6:
If its Android 4.2.2 (which I'm sure it is) it should still work.
[One (M7) Original Android Development] Arcadia310:
I'm having the same issue with my Mophie portable charger. On stock I didn't have this issue.
[One (M7) Original Android Development] J-Hop2o6:
Even with my newly adjusted kernel values/options i'm still getting high kernel wakelocks (-1%/-1.5% per hour -- tested again while I was asleep). Not as bad as yesterday (-2% per hour) with previous values. Aiming for the normal -0.5% drain per hour.

BG CPU: 8 minutes

Time Held Awake: 32minutes

Screenshots below...
[One (M7) Original Android Development] *justintime*:
+1 fast charge is disabled on this kernel.... Strange enough iit's enabled on stock kernels
[One (M7) Original Android Development] zboq:
Fast charge doesn't work and strange enough flar2 never responded to my question about it :/
[One (M7) Original Android Development] gianton:
Flar2 is on holidays for the next two weeks or so.
[One (M7) Original Android Development] tiho5:
Same here. :)

Hope it'll be fixed when he's back. :thumbup:
[One (M7) Original Android Development] boss336:
What should I put each core on to run good
[One (M7) Original Android Development] nickabbott:
This may just be me as I can't be sure it didn't do this on 4.1.2 as well but on 4.2.2, does anyone have micro stutter or lag during scrolling of the HTC browser?

For example, go to XDA and click on one original android development, wait for the whole page to load then double tap to zoom in.

Now just scroll up and down, up and down and for me at least there's noticable micro stutter as the page speeds up / slows down. Not really bad but damn bugging me lol. Can't say I noticed it on 4.1.2 though.

It seems to be better on the stock ROM kernel and then when you flash elemental or teamseven the stutter / lag gets worse.

Is this just me?! I tried with stock values and overclock values and it's the same.:eek:
[One (M7) Original Android Development] donmarkoni:
Yeah, it's just you! :D :cowboy: ;) Kidding! :p

I managed to replicate it. You are right, there are micro stutters, but I don't mind it.

If it's driving you crazy (I can understand it, as I also notice some minor things that other people don't. There must be medical term for it. :silly: No offence meant. :) ) you could try increasing minimum frequency, or turn MP_decision OFF so all cores are awake.
[One (M7) Original Android Development] Arcadia310:
I've come to the conclusion that Spotify is a huge battery drain. All the music that I listen to I have downloaded to my device within Spotify, yet when I use it my battery life immediately begins to drain faster until I kill the app off. Anyone else notice this? Really strange. I love Spotify but if there isn't a way to control it's battery drainage I may have to stop using it.
[One (M7) Original Android Development] adz63:
has anyone had automatic downloads on their phone of 2.2-1 and 2.2-2 after installing latest elementalx ??

is this mean't to happen

never seen a kernel download a later version before
[One (M7) Original Android Development] nickabbott:
Haha thanks for confirming this, no offence taken!

It must be happening to me as I get older! Nothing generally bothers me but for some reason when it comes to this phone I can see imperfections really easily for some reason!

I'm going to revert back to 4.1.2 and do some testing I think! :rolleyes:

Only thing with 4.1.2 is it has that stupid browser bug where the tick boxes on websites have the wrong size so when you press it the highlight is nowhere near the tickbox! :o

The term is OCD....!
[One (M7) Original Android Development] zboq:
It didn't work on 1.0.1, 1.1 and it doesn't work now, but I also hope it will be fixed ;).
[One (M7) Original Android Development] erto90:
Due of the gpu overclocked to 450mhz, this mean that forcing gpu rendering under dev option, will make more battery drain?
[One (M7) Original Android Development] Arcadia310:
This morning I did a clean reflash TD 8.0 and ElementalX 2.2 and everything was looking good. I was getting great screen on time and overall drainage at home on my wifi. But now that I'm at work in the office on LTE, my battery is literally draining 2-3% per 15 minutes with the screen off! I'm looking at GSAM and everything looks good. I don't see anything sticking out. Besides one email account I really don't have anything else syncing in the background. I've completely disabled syncing for the majority of apps I use and GPS off, so I really have NO IDEA what's causing this drainage.

Any ideas? It's getting a little frustrating how hard I have to try to get decent battery life. I've almost crippled my phone.
[One (M7) Original Android Development] DeSaint2:
Not necessarily. If you've ever been in trickster mod where you see the gpu clock it uses a governor as well. It only uses as much power as needed to efficiently render without draining to much battery.
[One (M7) Original Android Development] tiny4579:
USB fast charge doesn't work in the stock Rom. Is this what you meant?
[One (M7) Original Android Development] c5satellite2:
Just you. Probably browser/download reloaded the download page and it restarted.

---------- Post added at 06:48 PM ---------- Previous post was at 06:47 PM ----------

Works fine here. I enabled it with incredicontrol.
[One (M7) Original Android Development] nashshafrulrezza:
Fastcharge work fine here.. charging from my car and confirm it working fine.
[One (M7) Original Android Development] revamper:
This is irrelevant to the kernel, but you can use greenify from the market to hibernate spotify when not in use. I also recommend hibernating Google maps as well.
[One (M7) Original Android Development] c5satellite2:
+1
[One (M7) Original Android Development] tiny4579:
Does it say charging USB or charging AC? Also, without fastcharge enabled are you noticing a difference in charging rate?

I can confirm it's still detected as USB with fast charge enabled. It also does not improve the charge rate noticeable at all. Are you sure it's working right? tbalden recently had to fix his kernel for fast charge.

I think this actually enables fast charge to force AC mode for USB connections:

https://github.com/tbalden/android_kernel_htc_m7-sense4.2/commit/c89fa5989ae91c5b1962d3a85667b2388c1a1092
[One (M7) Original Android Development] nashshafrulrezza:
Charging AC here.. just enable it in trickster before charge it using usb..
[One (M7) Original Android Development] tiny4579:
I know. I did that. Make sure it says charging A/C without fast charge on. It may already be detected as an A/C adapter. A lot of car chargers usually do for me. Fast charge is supposed to allow A/C rates when it's normally only charging at USB rates (slower).
[One (M7) Original Android Development] nashshafrulrezza:
Mate.. I've been use fastcharge since one X.. I know what you mean.. and I confirm it is working..
[One (M7) Original Android Development] tiny4579:
What ROM? It wasn't switching to A/C mode for me. In this kernel the fastcharge code is in the msm_otg.c file. In tbalden's latest build it was added to the htcbattery8960 driver. Maybe it's not entering OTG mode on my ROM.

This is the best explanation I can come up with at this time of night based on peeking at the code for each patch.

Edit: I forgot to mention I'm on R77 of the Renovate 4.2.2 builds.
[One (M7) Original Android Development] nashshafrulrezza:
Trickdroid 8.. sometime need to replug 2 3 times to make it work.. just enable and disable it in trickster.
[One (M7) Original Android Development] Finagle69:
Not sure if this has been discussed, but I did try a search with no results.

When I sweep2wake or doubletap2wake, the screen goes to its dimmest state, then brightens up after a couple seconds due to auto brightness. If I use the power button, the brightness acts normally, which I suppose is at its last known brightness state.

This is on ViperOne 1.1.1. Is this normal or is there something I can do to change it?
[Nexus 4 Accessories] ASSMO:
I found this case and it looks amazing. I ordered one in Valiant White and one in Pitch Black.

Heres the Links:

Canadian

Pitch Black

http://www.amazon.ca/BoxWave-Resolu...366867190&sr=1-1&keywords=Pitch+Black+nexus+4

Valiant White

http://www.amazon.ca/BoxWave-Resolute-OA3-Nexus-Case/dp/B000LJWEGI/ref=pd_rhf_se_p_t_2_XSGB

Adamant Red

http://www.amazon.ca/BoxWave-Resolu...366867159&sr=8-1&keywords=Adamant+Red+nexus+4

U.S.

Pitch Black

http://www.amazon.com/BoxWave-Resol...6716&sr=8-1&keywords=Nexus+4+BOXWAVE+Resolute

Valiant White

http://www.amazon.com/BoxWave-Resol...6615&sr=8-3&keywords=Nexus+4+BOXWAVE+Resolute

Adamant Red

http://www.amazon.com/BoxWave-Resol...6716&sr=8-2&keywords=Nexus+4+BOXWAVE+Resolute

Looks like the best designed case I have seen for our beloved N4.

Going to take a few weeks to get to my place but when it does Ill be sure to upload with some pictures.

Hope you guys like.
[Nexus 4 Accessories] SupaDupaFly24:
Looks nice

U.S. links

Valiant White

http://www.amazon.com/BoxWave-Resol...6615&sr=8-3&keywords=Nexus+4+BOXWAVE+Resolute

Adamant Red

http://www.amazon.com/BoxWave-Resol...6716&sr=8-2&keywords=Nexus+4+BOXWAVE+Resolute

Pitch Black

http://www.amazon.com/BoxWave-Resol...6716&sr=8-1&keywords=Nexus+4+BOXWAVE+Resolute
[Nexus 4 Accessories] ASSMO:
OP Updated with links for US and Canada. Thanks.
[Nexus 4 Accessories] Michealtbh:
Available much cheaper on eBay without the branding http://item.mobileweb.ebay.co.uk/vi...TCHING&nid=33153165812&skus=Color:Black/Black
[Nexus 4 Accessories] threeclaws:
Here is the US ebay link http://www.ebay.com/itm/Deluxe-Rubb...Cell_Phone_PDA_Cases&var=&hash=item460d4a7818

I don't need such a heavy duty case but I put my order in anyway :o
[Nexus 4 Accessories] abdi7451:
Am I seeing things? 92% off?!?!?
[Nexus 4 Accessories] ASSMO:
Yeah I just emailed them about that. I paid 35 for 2 cases so I want a refund for the difference. Also the cases without the branding are coming from China. lol
[Nexus 4 Accessories] kazuki1:
Wow for just ~5$ this case looks definitely worth picking up! Anyone try this yet?
[Nexus 4 Accessories] ptesmoke:
I ordered the white for $2.12

I'm in Canada but that amazon US ships to Canada.. Why pay $24 instead of $2.12??? Lol
[Nexus 4 Accessories] spicediablo:
Just ordered mine at usd2.12. Comes up to about 6usd with shipment. Fantastic offer! Thanks for the heads up!

Btw, anybody reviewed this? I couldn't find any reviews in YouTube for nexus 4

Sent from Mako⁴

---------- Post added at 02:19 PM ---------- Previous post was at 02:16 PM ----------

You saw right. Better grab before they are gone. :D. I ordered mine. Get it from amazon, they are genuine

Sent from Mako⁴
[Nexus 4 Accessories] voodooline:
I just ordered the pitch black. For 5 bucks its worth it!
[Nexus 4 Accessories] spicediablo:
Don't think you can get any case cheaper than this. I ordered adamant red

Sent from Mako⁴
[Nexus 4 Accessories] ASSMO:
Yeah I ordered the Black and White versions and got a refund because I actually purchased them for 20 bucks a piece right before they went down in price.

Ill try and post pictures if I get them first but let me know if there is a review you find or if anyone gets theres first. Definitely want to see if the quality is there.
[Nexus 4 Accessories] spicediablo:
So actually you haven't receive the cases yet?

Sent from Mako⁴
[Nexus 4 Accessories] ASSMO:
No I havent received them just yet. Sorry for the confusion.
[Nexus 4 Accessories] Brandonxcore:
I own the case in purple, I've had it for about a week, I am absolutely in love with it, I got it on ebay for 10$ and It was worth every dime, it adds bulk but I like to know my device is protected, it makes me feel like I can throw my phone on my bed when I get home and it wont break, I have the xtremegaurd installed with it front and back, and the case just feels great, the cut outs are perfect, and the microphones are covered with mesh to keep out air? I guess? The cover on the headphone jack and the cover on the charging port is a nice add on, havent really used the stand much but its sturdy, doesn't feel cheap at all, enjoy the case guys :)
[Nexus 4 Accessories] spicediablo:
Purple? As I know, there are only 3 colours: black, white and red.

Sent from Mako⁴
[Nexus 4 Accessories] Michealtbh:
The unbranded version is available in many colours
[Nexus 4 Accessories] Brandonxcore:
Yeah, all they did was mass order them from china and put their brand name on them, same deal, I also forgot to mention that there is mesh on the speaker grill too so dust wont get in :)
[Nexus 4 Accessories] spicediablo:
Sounds like a high quality product :beer:

Sent from Mako⁴