yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] Arne_B:
I just want to add that freezing this also helped me in lowering (not getting rid off) the baseband wakelock:

NFC Service

Cautions as you won't be able to use the NFC function anymore than. I never use it so no problem for me.

My Baseband wakelock is now at around 0,8% for two weeks in a row, using data, WiFi, ... My phone gets +90% deep sleep (apps syncing and running in the background) and 1%/hour battery drain (screen off). When in Airplane mode this gets up to 0,3%/hour, while screen off.

I use the SlimBean 7.1 ROM atm, default kernel.
[LG Optimus 4X HD] tam724:
hello, I'm new at this forum so please let me know my mistakes.

I just flashed cyanogenmod 10.1.2 without gapps and have the problem with the baseband_xmm_power wakelock only if mobile data is turned on. But I want to know if someone else did the experience, that if the wakelock is "running", you aren't able to call someone or to get calls, although the phone shows me i have signal. Is there a connection? Same with messages.

And aren't those wakelocks the bug which google announced to had it solved in android 4.3? Did anybody tried cyanogenmod 10.2 nightly?
[LG Optimus 4X HD] Flying_Bear:
No, its not wakelock, its cms buggy ril. Try dialling any number, if you get an error, reboot.
[LG Optimus 4X HD] OnAir783:
In optimus play kernel thread we try to figure out what ist the reason dort thisw baseband. http://xdaforums.com/showthread.php?t=2425455

Maybe You can help, posting your baseband and your wakelocks and so on. Demetris works hard and great :)

Gesendet von meinem LG-P880 mit Tapatalk
[LG Optimus 4X HD] Flying_Bear:
i had baseband wakelock on both versions of baseband mentioned in the thread, so the version itself isnt the problem.
[LG Optimus 4X HD] OnAir783:
thats from our german android hilfe.de Maybe it will help the kernel developers to kill the xmm baseband bug

Viele ärgern sich bestimmt auch über den berüchtigten

baseband_xmm_wakelock... Ich habe mich damit nun etwas beschäftigt und habe mir auch seinen Sourcecode angesehen. Darin befindet sich ein

schwerwiegender Programmfehler:

Zeile 810: "modem_reset_flag" soll auf den Wert "0" gesetzt werden, allerdings

wird nicht die Objektiv typische Zuweisung "=" verwendet sondern der Rechenoperator "==" (Vergleich) der nur in zB if Anweisungen benutzt werden

darf.

Dies könnte der Auslöser des Bug sein und Gleichzeitig die Lösung für unser

Problem... Es wäre schön wenn jemand dies einem Kerneldeveloper schicken könnte. (Habe keinen XDA Account mehr)

source baseband-xmm-power.c :https://android.googlesource.com/ke...e23a/arch/arm/mach-tegra/baseband-xmm-power.c
[LG Optimus 4X HD] SimonTS:
Google Translate...
[LG Optimus 4X HD] laufersteppenwolf:
That's pretty old news ;) Also, this is grouper specific, and we have another code ;)

Just compare the 2 versions ;) https://github.com/CyanogenMod/lge-kernel-p880/blob/cm-10.2/arch/arm/mach-tegra/baseband-xmm-power.c
[LG Optimus 4X HD] suba_ri:
I rooted my phone and installed CM10, latest stable version.

I also installed werewolf kernel, but my problem with baseband_xmm_power wakelock remains. I did factory reset and wipe data before installing anything. I don't know what else to try.
[LG Optimus 4X HD] Flying_Bear:
Grab a working cm11 nightly and/or iodak v9.95,you should see quite an improvement
[LG Optimus 4X HD] suba_ri:
Do you mean 9.5 from this link? http://xdaforums.com/showthread.php?t=2270308

I can try that before upgrading to nightly builds
[LG Optimus 4X HD] Flying_Bear:
9.95 is latest, its posted in the thread somewhere so check it out
[LG Optimus 4X HD] ottomanhero:
Actually stock CM11 kernel got less wakelocks compared to iodak kernel.
[LG Optimus 4X HD] daniel.mota:
Well, my recomendation is to try the last CM10.2 nightly, I'm using it without any bugs, wakelocks or problems of any sort (I had some bugs, mainly related to sound, with CM11 nightlies).

Also, I feel that the baseband wakelocks are somehow random, because I had them very oftenly with CM roms in the past, and not recently (in all CM10.1, CM10.2 and CM11).
[LG Optimus 4X HD] Flying_Bear:
Not for me ;)
[LG Optimus 4X HD] suba_ri:
I guess it's just my bad luck.

I downloaded iodak 9.95 and I'm still getting baseband wakelock.

I tried to update CM to CM11, but it wouldn't start properly so I restored CM10 stable.
[LG Optimus 4X HD] balloon27:
I had wakelocks I couldn't get rid of too on CM. I suggest you try another ROM, possibly p880-dev based.

Greetings from my Nexus 7 FHD!
[LG Optimus 4X HD] bilbo75:
I'm using right now an unofficial builld of cm 10.2.1 compiled by myself with stock cm kernel and in almost 1 month that I use this rom, I'm started to face this problem since last week only. I had this issue with other roms, especially with KitKat,but not only.

I'm just asking myself a question: does the baseband wakelock could be only a symptom instead of to be the real culprit? Could be something else in the system(apps,kernel,OS) that triggers this massive wakelock? Maybe a race condition in the kernel caused by some service or app that not allow the kernel to drop off the wakelock? We see everybody the same message in BBS, but the "trigger" could be different for many of us.We have everybody almost a unique setup made by different apps, settings, custom kernels and roms.In this chaos, it's very hard to troubleshoot this problem.A very good starting point could be use the same setup for some day,so it could be more easy to compare and track the events...

Just my 2cents....
[LG Optimus 4X HD] Ben36:
Not been on here for a while, has this been fixed anywhere yet?
[LG Optimus 4X HD] pirast:
The Nexus 7 2012 3G has the same issue (and also a Tegra processor). While there is no official fix, there is a workaround available (German): http://www.android-hilfe.de/root-cu...droid-os-bug-baseband_xmm_power-wakelock.html consists of flashing a kernel and init.d file in CWM recovery.
[LG Optimus 4X HD] brunek:
1% per hour is not excellent. My phone after fixing baseband over 7.5 hours in deep sleep over night spent 0%!:)

poslano s ubojitog LG 4X HD
[LG Optimus 4X HD] archie87:
I use Facebook and other programs. ;) If i really need extra battery for the day then I will just charge overnight. No sense to me in disabling tons of apps just for 1% battery life per hour. I like to find a balance between actually using the apps and battery life. Please respect that.
[LG Optimus 4X HD] brunek:
I respect that, I`m just saying..:D
[LG Optimus 4X HD] xtribas:
how did u fix the baseband?
[LG Optimus 4X HD] momothecat:
Disable location services and gps are the first thing that I did after flash the JB rom, and I still got more than 2 hours baseband wakelock overnight.

Like I said before, this baseband wakelock only happened in tegra devices, my wife phone (qualcomm device) don't have this baseband issue. It happened in htc one x and even in nexus 7. And I believe it's kernel problem.

I just hope one of developer here fix this problem by compiling custom and optimize kernel for our device. :beer:
[LG Optimus 4X HD] astr_x:
Hi guys,

here is an update on the situation with a proper BBS-dump this time.

Symptoms are the same as yesterday:

Disconnected fully charged pohne in the evening.

Returned after about 9 hours and lost about 14%.

The baseband wakelock once again started with about 4 hours of delay. I guess it stopped the moment I turned on the display.

In the attached picture you can see the linear drop once the baseband wakelock appeares. And the dump also says that in this time the CPU was running with 51MHz.

Some extract from the dumpfile (full dump attached):

Battery
[INDENT]Level lost [%]: Bat.: -15% (100% to 85%) [1,5%/h][/INDENT]
Other Usage
[INDENT]Deep Sleep (): 5 h 23 m 45 s (19425 s) Ratio: 52,6%
Awake (): 4 h 51 m 56 s (17516 s) Ratio: 47,4%
Screen On (): 5 m 24 s (324 s) Ratio: 0,9%
Wifi On (): 10 h 15 m 41 s (36941 s) Ratio: 100,0%
Wifi Running (): 12 m 12 s (732 s) Ratio: 2,0%[/INDENT]
Wakelocks
[INDENT]ConnectivityService (Android-System): 2 m 27 s (147 s) Count:526 0,4%[/INDENT]
Kernel Wakelocks
[INDENT]"baseband_xmm_power" (): 4 h 40 m 49 s (16849 s) Cnt:(c/wc/ec)91/0/0 45,6%
"PowerManagerService" (): 3 m 17 s (197 s) Cnt:(c/wc/ec)501/0/0 0,5%[/INDENT]
CPU States
[INDENT]51 MHz (): 4 h 39 m 21 s 45,4%
Deep Sleep (): 5 h 23 m 45 s 52,6%[/INDENT]

I'm no dev, so posting my observation is all i can do. Hope this helps.

Greetz,

astr_x
[LG Optimus 4X HD] brunek:
I believe your problem is alarm manager. You can see "Alarms: 336, Intent: android.intent.action.TIME_TICK" and also you see "ConnectivityService (Android-System): 2 m 27 s (147 s) Count:526 0,4%"..That is your main problem...

The problem can be if you have a clock widget and your sync and update(for widget and any other app like facebook) is set to automatic. Also try to turn off location...

---------- Post added at 11:01 AM ---------- Previous post was at 11:00 AM ----------

My baseband was because google maps and viber..I grenify viber and killed google maps autostarts...
[LG Optimus 4X HD] archie87:
Someone else mentioned restarting to temporarily solve the baseband_xmm issue. This really does help. I noticed that baseband_xmm goes haywire on my phone after the phone has been up for about 24-36 hours. I've been restarting after every full recharge and this morning I checked my phone and I still had 100% battery after 7 hours of standby. Until we get a fix this is a very easy temporary solution. I attached a pic. Going on 19 hours with no baseband_xmm goofiness. I'll restart again tonight, and the process repeats. :p
[LG Optimus 4X HD] mmm273:
try turn on Airplane mode overnight... Me help
[LG Optimus 4X HD] momothecat:
AFAIK, baseband_xmm is kernel to use with gprs/3g/hsdpa data connection, Airplane mode will disable all radio frequency connection from your phone, and of course it will help. Even I will get baseband_xmm wakelock low only using wifi only. But that's only temp problem solving. Sometime I need to be out of the office all day and I always need my data connection turn on, and this baseband_xmm bug wil drain my battery fast. :banghead:

Sometime I have to switch with my wife phone if I'm planning to be outside of the office all day
[LG Optimus 4X HD] brunek:
My baseband is back..:(

It has no partial wakelock,no alarm wakelocks no nothing,just baseband_xmm_power in kernel wakelock so there is no app that could be causing that,only kernel problem with tegra3..Over thi night,I turn wifi of and it drains like hell..Just wait for an update and hope for the best..
[LG Optimus 4X HD] ming0000:
seen alot user having the same problem..me too.. :(
[LG Optimus 4X HD] momothecat:
Just read this link. Maybe we got the same problem with them.

I already post this link to the kholk EP kernel thread, I hope kholk will chek and fix it for us :)
[LG Optimus 4X HD] ming0000:
if got any news update, try link at here, thanks. :fingers-crossed:
[LG Optimus 4X HD] Wenque:
Guess I should have posted in this thread instead of kholk's, but it seems LG already patched out this particular bug.
[LG Optimus 4X HD] brunek:
So this kernel isnt a solution for baseband problem?
[LG Optimus 4X HD] xtribas:
there is no practical solution for this, this has been ignored far too long...

they should sticky this thread, since its affecting all devices
[LG Optimus 4X HD] igorstoja83:
strange on cm 10.1 update of 22 apr this problem on my phone is dissapear battery is fine now 7 hours without draining on stand by wifi allways on.but i have another problem,when i use phone battery drain is huge View attachment 1905063
[LG Optimus 4X HD] xtribas:
there is no baseband drain because your wifi is on, try it with wifi disabled and u will see it sucking the battery juice like a hog!
[LG Optimus 4X HD] archie87:
Powermanager shouldn't be having that many wake counts. Check your partial wakelocks.
[LG Optimus 4X HD] xtribas:
that's probably because he used his phone...
[LG Optimus 4X HD] igorstoja83:
I try with disable wifi and after couple of hours i still dont have this problem yay :)
[LG Optimus 4X HD] igorstoja83:
this is my partial wakelocks
[LG Optimus 4X HD] reisAgainst:
I have exactly the same problem. Over night is takes almost 20%. In Air plane mode it´s the same:(

recorded with battery monitor widget

the cpu works permanently with 51MHz

BBS shows baseband_xmm_power wakelock as most used process

with ICS i had 0% consumption over 8h standby
[LG Optimus 4X HD] brunek:
See in "alarms",in partial there is no significant wakelocks..Power manager service means your phone is working,very often "alarms" wake up your phone..

I think I solved my baseband..Last night only 3% and so far only 20 minutes of baseband...Tomorrow comes final verdict..:p

---------- Post added at 11:20 PM ---------- Previous post was at 11:19 PM ----------

Use BBS oe wakelock detector to see what is draining your battery..
[LG Optimus 4X HD] archie87:
This wasn't true for me. Powermanager went away after disabling location which was in partial wakelocks. I don't have any issues with alarms and battery drain.
[LG Optimus 4X HD] xtribas:
please make one test, turn your wifi off, and show me your kernel wakelocks in BBS, the baseband wakelock only shows when wifi is disabled and using data connection 2g or 3g
[LG Optimus 4X HD] brunek:
Maybe is true for him..:laugh:

So turn wifi off and 2g on? I will do that tomorrow..Last night my wifi was off and no baseband.For me its most important for phone to deep sleep over night,during the day I`m using it so the phone isnt in deep sleep all the time..
[LG Optimus 4X HD] xtribas:
yes data on and wifi off, if the kernel wakelock baseband_xmm_power dont show, i really want to know how did u manage to achieve it...
[LG Optimus 4X HD] ming0000:
+2 :D
[LG Optimus 4X HD] Arne_B:
Some other things we could try are:

- 1: Use & idle the phone without SIMcard, I've read that the baseband remains...

- 2: Enable airplane mode, restart, and after boot disable airplane mode and see how baseband acts.

- 3: Go to Mobile networks settings, tap Network operators, tap Search networks and select you network operator (this to manually select your operator instead of automatically searching for one) & reboot (once with and once without step 2).

I'll start trying these steps and if I have any different results I'll let you know.
[LG Optimus 4X HD] brunek:
For how long should I leave phone?1-2 hours enough?I will reboot the phone and after 2 hours post a dump,hope that will be enough..

My over night battery drain is reduced to 5-6% and 2-3% with DS battery saver..
[LG Optimus 4X HD] xtribas:
2 or 3 hours is enough to see the wakelock
[LG Optimus 4X HD] brunek:
Ok! I will have to do it now because I just saw that BBS didnt start "reading" phone stats after reboot..I will have to plug and unplug..Sorry...
[LG Optimus 4X HD] xtribas:
already did that, the result is the same
[LG Optimus 4X HD] Arne_B:
I'm testing now and until now I did see a big difference between just booting without the SIM card. Or first enabling airplane mode then reboot and then disable airplane mode also without the SIM card. In the same amount of testing my phone has been longer in deep sleep and baseband wakelock had only 1/4 of counts compared to not using that airplane mode trick. Strange thing is, with a SIM and data enabled it made no difference, without the SIM it did.

Testing takes allot of time as I have thought of 24+ different combinations for now (No SIM, with SIM, with Wifi, without Wifi, 2G only, 2G&3G, mobile data and without, with and without airplane mode trick and any combination of these).
[LG Optimus 4X HD] brunek:
Here is my dump..It is not perfect but internet data uses battery. I have a problem with grenify,it tends to wake up to often and there for wake up my phone allot..
[LG Optimus 4X HD] xtribas:
as i predicted the baseband wakelock is there, 2 hours deep sleep against 40 minutes awake with only 2 mins screen on, it´s not good at all....
[LG Optimus 4X HD] brunek:
Afkors,its a kernel problem..But you will not have data on over night so the drain wont happen over night. And during the day you are using your phone either way..But for max results we must wait for kernel update..:crying:
[LG Optimus 4X HD] xtribas:
This subject has been neglected far too long as it affects all tegra devices... and there is no pratical solution...i really doubt one is on the way!
[LG Optimus 4X HD] brunek:
But how come that this problem wan not on ICS? Cant they use that kernel?
[LG Optimus 4X HD] xtribas:
i dont really know
[LG Optimus 4X HD] ErnieTSI:
On ics you have that issue as well, at least i Do :mad:
[LG Optimus 4X HD] brunek:
I didnt have that problem on ICS..

poslano s ubojitog LG 4X HD
[LG Optimus 4X HD] ming0000:
me too, ICS no problem, but JB face this problem. :(

hope CM10.1 can settle this problem.
[LG Optimus 4X HD] oldman1881:
tried manual selection of operator, then reboot, it look like better, increase a lot of deep sleep time.

but it will still have baseband_xmm_power wakelock some time, any way better than have baseband_xmm_power wakelock issue every day.
[LG Optimus 4X HD] xtribas:
already tried that, it doesn´t solve the wakelock, it comes back after an hour or so...
[LG Optimus 4X HD] axel2009:
Same proble with HTC ONE X Tegra

I have the same problem with my HTC ONE X with Tegra chipset.

I realised that the amount of baseband_xmm_power wakelocks varies depending the WiFi router I was connect to.

I partially solve the problem setting my WiFi access point to higher Beacon Interval and higher Data Beacon Rate (DTIM).

Initially they were:

Beacon Interval:	(100)

Data Beacon Rate (DTIM):	(1)

I changed them to:

Beacon Interval:	(1000)

Data Beacon Rate (DTIM):	(255)

Now at home I have no battery drain problem at all, but when I connect to other AP I continue having the same battery drain due to baseband wakelocks.
[LG Optimus 4X HD] reisAgainst:
But why do many people have this problem in airplane-mode too?

I have this problem only in airplane-mode and normal mode without connections. If I switch on a data connection (wifi or umts) I have normal battery usage. (0,5%/h)
[LG Optimus 4X HD] xtribas:
i have this wakelock with wifi turned off, if wifi is on the wakelock is very low, almost disapears, the problem is when i leave home the battery drains starts and the phone cant enter deep sleep
[LG Optimus 4X HD] axel2009:
Is strange, I only have the problem when I have wifi on and connected to an AP. If I am on the street without wifi, I dont have the wakelocks.

I definitely solved the problem going back to ICS RUU 2.17.401.2.
[LG Optimus 4X HD] momothecat:
for me baseband wakelock raise when I'm using internet using cell data. I don't have this issue if using wifi only (cell data off), or all internet connection off (wifi+cell data off) or even airplanes mode

Sent from p880 unlocked
[LG Optimus 4X HD] arararagi:
Well I thought I'd try something new and just nuked the wakelock from the kernel.

Still massive drain due to apps syncing, so I think this wakelock is a bit of a red herring.
[LG Optimus 4X HD] tiflao:
Any solution?

Thx
[LG Optimus 4X HD] brunek:
Try disabling auto date&time and auto timezone..That worked for me..Baseband wakelock is connected with data(3G,2G) and it starts up when you use data and then shut it off,the phone still looks for a connection and thats when baseband starts up. If nothing help just turn off your phone during the night. During the day baseband cant have much influence because your connection(data or wifi) is always on..:)
[LG Optimus 4X HD] tiflao:
When I go to sleep I put off the wifi and data , but battery drains about 30 %
[LG Optimus 4X HD] brunek:
Do you use BBS? Maybe something else is draining you batt.

poslano s ubojitog LG 4X HD
[LG Optimus 4X HD] xtribas:
please let us know what u did to solve the baseband wakelock
[LG Optimus 4X HD] arararagi:
I just commented it out in the kernel source. See my ROM thread.
[LG Optimus 4X HD] xtribas:
does it really work? no more baseband_wakelock?
[LG Optimus 4X HD] arararagi:
Of course. But as I said, the battery drain is still high, so this wakelock is probably the wrong thing to be looking at.
[LG Optimus 4X HD] xtribas:
will flash the rom and post results, im obsessed with this wakelock
[LG Optimus 4X HD] arararagi:
A possible non-hacky solution has been posted at http://xdaforums.com/showpost.php?p=41085240&postcount=143

I'll do a built of it later today.

EDIT: Just had a look. That line isn't in our kernel sources at all.
[LG Optimus 4X HD] xtribas:
i dont know what u did, the wakelock disappeared, but it´s like it still there but hidden, like u said the drain continues, its like the wakelock is hidden, the phone still can´t enter deep sleep either way... damn!

--------

Fear NOT, solution to this wakelock is on the way!!!!

Please follow the WerewolfJB kernel

He will release the new kernel with baseband wakelock gone!!
[LG Optimus 4X HD] Flying_Bear:
Well, two things i did drastically reduced this wakelock, leading to 1% per hour loss over night. First, check alarms tab in bbs. If you see bunch of com.phone alerts, disable fast dormancy! Second, DS battery saver with these settings. Hope this helps anyone

This is for 20a official, not cm btw.
[LG Optimus 4X HD] xtribas:
im using cm, and i could not find a way to disable fast dormancy. I also used DS battery saver, it did not help in anyway with the baseband wakelock... i also tried tasker to switch from 3g to 2g when screen off, it did not help either...
[LG Optimus 4X HD] tiflao:
Last CM update

Enviado desde mi LG-P880 usando Tapatalk 2
[LG Optimus 4X HD] xtribas:
i have latest cm update, and my baseband wakelock is much higher.
[LG Optimus 4X HD] brunek:
Stock JB 4.1.2., rooted..
[LG Optimus 4X HD] Ddoubled123:
Could it be that this baseband wakelock only occurs with official firmware, because originally I did not have this issue. Can someone using leaked V20 JB confirm if they are experiencing this or not?
[LG Optimus 4X HD] xtribas:
I have this wakelock since the unofficial 20A, then flashed the official 20A, the wakelock remained, now i have CM10.1 and still have the wakelock. The werewolfJB kernel made it a little better, but i still have it
[LG Optimus 4X HD] sPEADy:
I have normal Battery drain after all this baseband issue on normal rooted stock Rom with CWM installed.

Did try CM also have the same Battery usage.

Have a look at the screenshots and let me know if it's normal or not.

Thanks.
[LG Optimus 4X HD] xtribas:
i wish i had those values for baseband wakelock
[LG Optimus 4X HD] Arne_B:
How much wakelocks do you get than? : o

After ~7 hours since unplugged I have 'only' 252 wakelock counts for the baseband wakelock. Nevertheless my battery drains at 3,6%/hour! :(
[LG Optimus 4X HD] xtribas:
in 8 hours i have 2 hours and 30 mins of baseband wakelock with a count of 1800 more or less

it drains 30% overnight
[LG Optimus 4X HD] Arne_B:
That's allot more wakelocks than mine. But the 30% battery drain is on par with my 3,6%/h.

So after reading other posts around here about nuking the baseband in the kernel and still having battery drain I doubt the baseband wakelock is the real cause of the constant drain. :(

NFC chip was mentioned somewhere, that that would heat up and drain battery in the Nexus 7 devices. Maybe we have some hardware fault/incompatibilty due to the Tegra 3 also? And that this JB firmware brings up this hardware bug?

Edit: the baseband wakelock takes up ~25 minutes in ~7 hours since unplugged. Deep sleep 20%, 51MHz 52,7%, 102MHz 12,9% :s
[LG Optimus 4X HD] xtribas:
i know that the baseband it´s keeping the phone awake. If it sleeps well i think there will be no drain

this is the wakelock for for an hour and 30 mins
[LG Optimus 4X HD] arararagi:
Disable sync and/or data. The majority of the drain would probably be from apps waking up to sync.
[LG Optimus 4X HD] xtribas:
i tried with sync disabled too, the result is the same. Cannot turn off data as i use whatsapp and viber, but those two have low alarm count
[LG Optimus 4X HD] :
i used to have the baseband issue. then i followed a post on this thread to toggle (off) the Sync time with network settings.

but after toggling it became worse, so i turned it back on.

Today i didn't had any super high baseband_xmm_power kernel wakelocks anymore, it remained low.