yashsingh1/xdaforums huggingface dataset:
[AT&T LG Optimus G] TangoXray:
Android OS has always been/will be high on this phone with ICS. It's really old news.
[AT&T LG Optimus G] erwaso:
This worked well and lowered my OS from the 70% range to 40%-50% range. Still sucks to have it so high.
[AT&T LG Optimus G] gunnyman:
my wife's is around 30% and her standby time is obnoxiously good. 48+ hrs between charges
[AT&T LG Optimus G] dandrumheller:
There were some funky reporting bugs in ICS on the SGS2... they didn't really hurt battery life though, there. Are you seeing fairly decent life, or not? Can you, for instance, get 18 hours off charger with 3 hours combined screen on/calls? If so it's probably just reporting errors.

I was seeing high numbers like that on stock ICS on the LGOG, but was also getting zero deep sleep. I just went to JB to fix both that bug and fast dormancy problems... not sure if those 2 were related or not, but got them both gone.
[AT&T LG Optimus G] YourManAdrian:
I'm not seeing bad battery life. The phone will go 20-30 hours on the battery. I just know that the OS isn't supposed to be that high on the battery usage, so I was just wondering if maybe I'm not getting the battery life I could be getting. Maybe it is just a reporting bug.
[AT&T LG Optimus G] Nastybutler:
That is a well known reporting error with ICS. Android OS isn't really using that percentage of battery.
[AT&T LG Optimus G] YourManAdrian:
Well, that's good to know. Hopefully the Jelly Bean update will fix it. Whenever the update comes.
[AT&T LG Optimus G] nygfan760:
It did. It's just a display issue. It's really not that high.
[AT&T LG Optimus G] YourManAdrian:
Today I woke up and the battery was at 26% after unplugging it at around 11:30 pm. I usually wake up with around 93%. The Android OS had used up 91% of the battery for whatever reason -.- I finally installed that fast dormancy thing. Hopefully it helps.
[AT&T LG Optimus G] gsrrr:
When the phone has higher than normal OS %, it's because of wakelocks that is preventing your phone from going into Deep Sleep State (CPU). Install Better Battery Stats to see if what is keeping your phone away under Partial wakelocks and/or Kernel wakelocks and also what other alarms might be affecting your phone. You can also use the same app to see how much time your phone is at each CPU State.
[AT&T LG Optimus G] nygfan760:
Yeah. If your phone is draining by 70% over night that's a bigger problem than just Android OS
[AT&T LG Optimus G] Alienuser:
When I was on stock 4.1, I was using around 15-20% overnight then I flashed CM stable 10, happily saw the overnight usage drop to 3-6%, then I flashed to CM 10.1 M and now losing 11-16% overnight. Running "deep sleep better battery pro" in slumber mode with little success. Have had issues with that but that's another story. Still in experimentation mode. Starting to use "best battery stats" in hopes of getting more info.
[AT&T LG Optimus G] freebee269:
if you install snowjb it already comes with fast dormancy fix. on that rom, android system doesnt use much battery at all. here's a pic to show what i mean.
[AT&T LG Optimus G] jdock:
I think what we are seeing is that kernel wakelocks -- which can be caused by apps -- get lumped in under Android OS.

For example, I was seeing about 9% sns_async_ev or something wakelocks that went away when I froze Smart Wifi Toggler. This made no sense to me but it turns out they were caused by the app accessing the barometer, and turning that feature off virtually made them go away. Overall this was just a small amount of time awake, but all of these add up in that category. It would have been nice to see that under the app itself but there's no way to differentiate that.
[AT&T LG Optimus G] gunnyman:
I get that people want the best battery life possible, so do I. But all this talk of losing battery overnight baffles me. That's when I plug mine in. : figured that's what everyone did
[AT&T LG Optimus G] jdock:
Ok, I think you're joking... but there is something to it. I have a battery pack that I sometimes use to charge my phone. You have to push a button on it to turn it on after connecting your device, and then it turns its output off when the drain decreases beyond a certain level, i.e. when the device plugged in is fully charged (or unplugged) The first time I used this on my LGOG, I was surprised to wake up to find it about 70% - this was because it charged up quickly by about midnight, then stopped charging and the badly-behaved apps I had drained 30% by morning.
[AT&T LG Optimus G] gunnyman:
no not joking. Why worry about battery loss at night? I plug my phone in before I go to bed and it gets me through the day.
[AT&T LG Optimus G] dandrumheller:
This is my Usage pattern as well. However, overnight drain monitoring is a good way to get baseline battery drain info for a device or particular setup - because it's a long stretch of idle time. It's much easier to see the impact of badly behaving apps because those effects are not masked by normal usage drain.
[AT&T LG Optimus G] gunnyman:
Oh yeah. Duh.
[AT&T LG Optimus G] :
because it is JB, and like I said before it is a display issue. It displays a much higher percent on ICS than in actuality. Stats are less important so long as battery life is fine. Standby drain are do to apps.

+1. Exactly.
[AT&T LG Optimus G] YourManAdrian:
I charged my phone again and it drained normally. It's just weird that such a huge drain happened for no reason. It's the first time it's done it. It usually only drains about 7% during the night. I hadn't installed any apps between the two time, so I'm not sure why it would do that all of a sudden. Hopefully it was a one time thing.
[AT&T LG Optimus G] :
Upon flashing a rom/kernel, it can take a few days to reset.
[AT&T LG Optimus G] freebee269:
did i say something about you being wrong? i was just giving the guy an alternative.
[AT&T LG Optimus G] :
I wasn't trying to be mean just saying that's why its lower.
[AT&T LG Optimus G] YourManAdrian:
Well today I woke up and my battery drained normally, about 8% overnight. I don't know what happened the other night that made it drain so horribly. Hopefully it doesn't happen again.
[AT&T LG Optimus G] loucmachine:
I had JB update and the bug disappeared for the time of one battery charge and the battery lasted about 1.5 times what it lasted before update and what it last now.

So, Android OS is really taking up battery, and its a bug.

What I learned from this bug (dosnt seems all ''android os taking too much bat'' is the same issue);

It start using battery only when screen is on.

When it starts taking up alot of battery, the ''keep awake'' time is growing very fast (faster than real life.... wtf ?)

When i let my screen off for an hour lets say, the bug takes like 15mins to comeback. during that 15 mins ''Android OS'' is acting normally.

im starting to ask myself if its not a surface flinger bug of something related to touch screen that would go off and take battery for nothing after a little time?

Do someone has the same symptoms as I do?

It is very very annoying :(
[AT&T LG Optimus G] :
It is a bug with ICS that is fixed in JB. Plenty of devs have confirmed this in plenty of threads. Using the Fast Dormancy fix, fixes it, anything else is generally caused by the user because even without the fix I had great battery life, and with it I get about 3-4 hours screen on time with light usage over 2-3 days. 4.2.2's battery life is on a whole other level with about 4-5 hours screen on time.
[AT&T LG Optimus G] loucmachine:
I had this bug on ICS and tried the fast dormancy fix with no luck.

now im on JB (4.1.2) and like I said the bug disappeared for the time of one charge. Then it came back.

I checked to be sure and disabled the fast dormancy but again, with no luck.

I dont think its the same issue tho.. since the OS is draining ONLY WHEN THE SCREEN IS ON. I can do over 100 hours with one charge if i dont use screen much... witch is very good..

I am collecting some screenshots and data and I will post them when i have them.

The funniest thing (and i ll show you when i have the screenshots) is that time is going faster for android OS than the rest of the phone...

So if i charge, unplug and let the screen on, Android OS is ''keeping awaken'' for longer than the phone is on battery :)

Thanks alot for the help tho!

Tell me if you have another idea :)
[AT&T LG Optimus G] Alienuser:
Since my last post, I flashed CM 10.1 CM 2. My battery drain overnight was a disappointing +-20%, I stuck with it for about week.. Then I flashed Slimbean 4.2.1 stable. My drain again 20% overnight. But yesterday I flashed, (always cleanly), Slimbean 4.2.2 build 2.5 official and limited my app installs/activations (no Google now) and happily saw my overnight usage drop to 5%. Now I'm going to slowly add my favorite apps and monitor drain.

I'm really apprehensive and suspicious concerning Google now's

battery demands but will probably test.
[AT&T LG Optimus G] blenkows:
When I had my s3, I literally was going from full battery to 5-10% overnight. Sometimes completely dead. Literally a 90-100% drain. I never could figure it out. Disabled all the Samsung crap and all that. Still happened.

The only thing that helped that device's battery was CM. I still lost a lot of battery overnight on occasion but better than before. Somehow, I get better battery life with this quad core device than my galaxy lol

____

Sent from my LG Original Gangsta
[AT&T LG Optimus G] DoRiLoN:
How about that? Im expiriencing the problem since 4 days. Ive done nothing new to the device, I even barely touched it. The screen is from Nexus 7.
[Defy Q&A, Help & Troubleshooting] skodavka:
How to run CRT off effect in Slim Bean on Defy?

I found some information here: http://xdaforums.com/showpost.php?p=31679037&postcount=8146

Where the file config.xml?
[Defy Q&A, Help & Troubleshooting] Kayant:
Hmmm it should be enabled by default because

<!-- If this is true, the screen will fade off. -->
<bool name="config_animateScreenLights">false</bool>

Which is wants enable crt-off

This file can be found in frameworks/base/core/res/res/values/config.xml
[Defy Q&A, Help & Troubleshooting] skodavka:
I know but it don't work.

The framework I can't see "base" folder.
[Galaxy Note II Q&A, Help & Troubleshooting] samwoods:
I was wondering if anyone could tell me what happens to create the display saturation change?

i.e. during playback in the video player the display is somewhat different to the usual sharpness/saturation
[HTC Droid DNA] brian85:
I'm about to start the s off process but not sure if I have super cid. I don't even know what that is. I'm unlocked through htc dev.
[HTC Droid DNA] Bigandrewgold:
You have supercid since you are unlocked.
[HTC Droid DNA] CharliesTheMan:
Type the fastboot command "fastboot oem readcid"

Sent from my HTC6435LVW using Xparent Red Tapatalk 2
[HTC Droid DNA] tom_m:
Note: IF you are using Mac OS X, it seems that you need to be in your boot loader. So ensure you turn on your phone while holding down the volume down button. Then go to bootloader, you may need to "reboot bootloader" (your phone will come back to the fastboot screen) and while ADB command won't find anything...Your fastboot command will.

So you can type in: sudo fastboot oem readcid

If you have SuperCID it should return something like:

(bootloader) cid: 11111111

OKAY [ 0.005s]

finished. total time: 0.005s

Just to be extra clear about this for mac users... I would carefully read posts when they said you must have SuperCID. VERIFY that. This was a great thread.
[Galaxy Note II Q&A, Help & Troubleshooting] luka2858:
I tryed to send pictures to my wifes lg via nfc and i cant get nfc to work on my note, i dont get nfc icon when i turn on nfc. Any ideas? Her works i tryed with nfc tags.
[Galaxy Note II Q&A, Help & Troubleshooting] UtkarshGupta:
Select the file you wanna started then click share the select via nfc.

Sent from my GT-N7100
[Galaxy Note II Q&A, Help & Troubleshooting] luka2858:
I dont get that option via nfc. Shouldnt nfc work wnen you put two devices together?
[Galaxy Note II Q&A, Help & Troubleshooting] E_Goldstein:
Firm nfc on both devices op pen gallery and put the phones back to back press pic to send that's all i do
[Galaxy Note II Q&A, Help & Troubleshooting] luka2858:
Solved. In settings-more settings-nearby devices i had to ad her phone to allowed list at least i think that solved it .;)

Thanks.
[MDA, XDA, 1010 General] fa14:
How to restrict dial a international call in xda?

I remember it's a easy task in my previous Siemens SL45i, but I don't know where to access that function in xda.

Anyone helps?
[Xperia Play Q&A, Help & Troubleshooting] pedyvirus:
hi guys i have some quastion about miui clasic

1-how is the gaming and benchmarks with lupus gb?

2- does camera work with lupus gb?(if not anyway to fix it?)

3-can this rom be used as base of cm7.2 to make touchpads work on it?

4-is the xloud realy working?
[Xperia Play Q&A, Help & Troubleshooting] abdel12345:
Camera does work with lupus just download camera mod from market. And xloud does work.
[RAZR HD Q&A, Help & Troubleshooting] lucidvtec:
I lost mine

Can someone get me the a pk

I have TB as well
[RAZR HD Q&A, Help & Troubleshooting] thund3rbay:
https://www.box.com/shared/fxlp5veh22thmdd79b53

Here ;)

If you need more files just ask
[RAZR HD Q&A, Help & Troubleshooting] SirRudolph:
Is there a version of Circles that'll run on third party launchers?
[RAZR HD Q&A, Help & Troubleshooting] thund3rbay:
I have see some people who try to port ... but design is not as good than the original motorola
[RAZR HD Q&A, Help & Troubleshooting] momentarylapseofreason:
Rings Digital Weather Clock on the Play store
[RAZR HD Q&A, Help & Troubleshooting] thund3rbay:
https://play.google.com/store/apps/details?id=factory.widgets.bubbledigitalweatherclock&hl=fr

i found this copy just burrrpppp .... but i respect the dev from this apps ...
[RAZR HD Q&A, Help & Troubleshooting] esok44:
Try

One More Clock Widget.

Lots of themed clock widgets, including circles (named Chrome Rings).

One More Clock
[RAZR HD Q&A, Help & Troubleshooting] chumba8:
one more clock is perfect thamks
[RAZR HD Q&A, Help & Troubleshooting] Yoyodude1124:
One More Clock

OMC works nearly identically. I use nova launcher and that to get pure Android home functionality plus a little extra.
[Motorola Droid RAZR] THUNDERGROOVE:
Hey all,

After updating to the new official Verizon OTA update I am frequently getting apps that will disappear. I've had to reinstall the XDA app three times now and I've even had my user data get deleted from a few apps as well like Twitter, Swift Key, Chant, and a few more.

I'm curious if anyone else are having the same issues.

Anyways, much thanks in advance.
[Motorola Droid RAZR] shobon:
>using chant

>not using mimi

Well that's probably your problem.

Just kidding, try doing a factory reset and see if your data keeps getting deleted after that.
[Motorola Droid RAZR] THUNDERGROOVE:
I'll give it a try!
[HTC EVO 3D] Gixermouse:
My Evo 3D has a dodgy headphone socket and it's time to do something about it!

I don't want to start looking into fixing it until I know what to expect because it's my only phone so can I get some advice on fixing it?

I'm a soldering God so no worries there and I'm not bothered about popping it open unless I'm gonna be wasting my time.

Would I be better off getting another and selling mine?

Is there a separate board containing the headphone socket I could buy and just swap it out?

Whadda 'ya think guys?
[HTC EVO 3D] moonpie28:
Mine went early and I just switched to Bluetooth.
[HTC EVO 3D] Gixermouse:
Thought of going down this route but I wanna use it on the bike so would have to fit in a crash helmet. The bluetooth boxes that you plug headphones into could work but not sure how loud they are :-S
[HTC EVO 3D] MYckel6:
i use chatter box in my helmet its Bluetooth and works great with this phone you can even answer calls on the bike
[HTC EVO 3D] kipjr:
Mhm it is not easy fix, but still a nice challenge. I fixed my HTC Blackstone HD with this method (unlock button was broken).

First check if it is possible by watching a YT vid to change the digitizer. Hopefully they take the chip with the headphone socket apart.

Then try too find the part on ebay and get it.

With the help of the previous mentioned YT vid, replace the chip with the headphonesocket. It took me a few hours too fix this by this way because you need to be very carefull. Hope this helps.
[HTC EVO 3D] ports394:
I use a jabra clipper at the gym with my phone. works well, especially since the device is so light with the headphones it clips to a tshirt easy. lets me put the phone away somewhere safe.

good volume amplification... forward/pause/back functions
[HTC EVO 3D] Gixermouse:
Love the idea but it's more expensive than the phone!
[HTC EVO 3D] Gixermouse:
Gonna look into this cos it looks like it would clip onto the bikes fairing and pretty cheap too.

How loud is it? Is is splash proof or anything? Looks kind of rubbery..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
BEGINNER'S GUIDE TO SMALI CODING OF SYSTEMUI​

​

Presenting to you a beginners guide to smali coding. This thread would focus specifically on SystemUI modding. Please keep questions related to other apks out of this thread.

Disclaimer​

Background​

Ok cut the crap. Lets get to the real thing.

If you already know what is smali - goto : post_2

If you already know smaling and baksmaling - goto : post_3

If you just wanna know how to implement the my mod (right finger pull for quick panel toggles) of Serajr's JB like SystemUI - goto : post_4

If you already do smali coding and would like some tips to make life easier - goto : post_6

What is smali?

Android programmers write android apps in java. The compilers like eclipse are then used to build apks from these codes by converting the java source code into dalvik executables (.dex files). The dalvik virtual machine (dalvikvm) in Android can then run these executables. So the perfect way to mod systemUI would be to edit the source code of the systemUI and build the modded systemUI. This is possible for AOSP ROMs like cyanogenmod. So anyone who knows java can download the source code of cyanogenmod, do any crazy modification they want and build CM with the new systemUI. This is all possible because the CM is open source. But unfortunately the OEM Roms like Xperia, Sense, etc are not open source as far as I know. So their source code is not available.

But their dex files are available which would be in a totally unreadable. So to edit it we need to convert this .dex files to a more understandable form. This is where smali comes in. To make it easier to understand I can represent it like this:

.dex <------------------> .smali <--------------------- java source code​

Converting a .dex file to smali (called baksmaling) gives us readable code in smali language. Now if you wonder why can't smali be converted into java source, that's because java is a very developed language and smali is more of an assembly based language. And so while going from java source to smali information is lost and that's why smali can't be used to completely reconstruct java source code
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
:angel: Welcome to the world of smali coding! :cowboy:​

Smali is not an easy programming language to master. You can get info about almost all smali commands here and here. These two links are excellent references for you all along the way! Here I'll go through some of the facts about smali and some of the things that I have found which might help you in writing your own smali code

I will update this post as and when I get more stuff to add.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dhana999:
Nice Work
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
Figuring out smali :cool:​
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] RavinduSha:
Great Work!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] soumya_digi:
Wow! Great stuff!! :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sandy7:
trust me serajr will damn happy seeing this..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] samsoul16:
This is awesome..

Sent from my GT-S6102 using Xparent ICS Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Wow. This will be very handy. Thank you so much!

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] samsoul16:
Buddy check serajr's thread.. need some files from u.

Sent from my GT-S6102 using Xparent ICS Tapatalk 2
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ganesh A:
Thank you very much for this...

Very very useful...

:) btw, will it work on gb???

---- by ----

Ganesh,

R.C. @ XDA
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] serajr:
Sandy bro... It´s been hard to wipe the smile off my face after see this thread!! :)

Havocgb, you come true an old dream!!! HATS OFF!!! :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
Thanks bro! Now I can't wipe the smile off my face after seeing the response from all you guys! You guys are the best! :highfive:

Hmm I have no idea. I haven't done any decompiling/baksmaling for the SystemUI from GB rom but it might work if the tools I have used support GB. Ask in APK-Multi-Tool thread if there is one or try contacting its maker. Or else try it and see ;) As for serajr's systemUI, I don't think it supports GB. Its for ICS. And so you won't be able to use my mod also. But just decompiling/balsmaling your GB systemUI.apk might work
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Rempty:
And dont forget to install smali syntax highlightning for notepad++

http://androidcracking.blogspot.com/2011/02/smali-syntax-highlighting-for-notepad.html
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
I was actually in the process of editing that post to mention the xml. xda is acting too slow now. Guess there is some server issue

I didn't wanna put up a direct link for the xml as the website at the link you have given (and where I got it from) is for a not-so-good purpose :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] havocgb:
New post added for more help with smali coding. Post is in the 1st page. link
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] tonnitube:
wow really need this, thanks bro :)