yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] sp8y:
Yes I get suspend errors for wake up timer & also device alarm. Also just noticed I have also had uid1001 errors in the dmesg.

To satisfy my curiosity I have replaced the the tiap_drv (wifi tether driver) for an old one prior to the introduction of wifi tethering just to see if there's any difference.
[Defy Android Development] Epsylon3:
early than 2nd-init we dont care, init is reexecuted
[Defy Android Development] drwario:
I read in the forum ,q.cthat if you set wifi sleep policy to never the deep sleep issue would be fixed. It did work for me.
[Defy Android Development] jassi32:
Screen off during games and battery issues

hey guys cm7 1.5 is awesome ....:D:D:D

i am having only two issue since 1 week .....:confused::confused:

1. battery issue.....battery drains alot ....:eek:

7 hours 8 min on battery

display ----------24%:eek::eek:

idle -------------19%

cell standby----- 15%

android system ---5%

android os --------4%

2. whenever i play any game like nfs shift, the screen turns off automatically :confused::confused:.....

please help me ......

and thank you very much ....:D:D:D:D
[Defy Android Development] ccav2000:
I always had it to "never", I still get Android Os drain when WiFi is on.
[Defy Android Development] espaciosalter20:
When 720p going to be able?

Enviado desde mi MB525 usando Tapatalk
[Defy Android Development] drwario:
1. battery issue.....battery drains alot ....:eek:

7 hours 8 min on battery

display ----------24%:eek::eek:

idle -------------19%

cell standby----- 15%

android system ---5%

android os --------4%

That only added to 67%. You probably have some apps burning it up
[Defy Android Development] drwario:
When wifi is off the drain is gone?
[Defy Android Development] drwario:
Also try the power widget option disable 3g when wifi enabled.
[Defy Android Development] henel321:
I have the exact same issue on both mine and my wife's. I have done the same investigation as you with the same result unfortunately, I'm conducting a final test by disabling all default overclocking but it doesn't seem to work. My wife's defy is a quite good test platform though as she has very few apps and it is basically untweaked.

Is your defy a European model as well?
[Defy Android Development] henel321:
Disabling wifi doesn't help. I can't disable 3G as my carrier doesn't have any 2G. But tested using Auto as well as WCDMA only, no difference.
[Defy Android Development] gkai:
I guess some suspend problem are linked to wifi, and those may be solved with the wifi sleep policy set to "never". But in my case, it is not linked to wifi: with wifi off, my defy never go into deepsleep. Only when in airplane mode (2G GSM off) does it deepsleep. In fact, I just tried a trick: wifi on, airplane (which stop wifi too), then stop airplane but I do not enter simcode. In this state, wifi is on but phone radio (2G GSM, 3G) is off. Phone enter deepsleep in this state.

So definitely it is the phone GSM radio that prevent deepsleep, not wifi.

Is there a way to know which phone radio firmware is installed? Is it flashed together with a new SBF? I've installed radiocomm but it is an old version and it seems to have driver problems. Moreover, I seldom use windows so a linux diagnostic solution would be better...

BTW, I've pushed back on my phone the original baseband files. Baseband switcher identified it as central europe ... (too short to be sure which central europe version it was), but main thing is that baseband was recognized. So I think that the radio firmware is probably nothing special, but the one that is on all Defy sold in central european countries (I am from Belgium) with Froyo pre-installed. I used the original froyo to install CM7 (after rooting and installing Defy 2nd init from market). Again, I guess nothing special. So at tjis point, I do not know what to try more to solve my suspend problem.

---------- Post added at 10:01 PM ---------- Previous post was at 09:57 PM ----------

Yes it is, I was writing the "story" of my Defy just before I saw your message :-)

A Belgian (froyo 2.2.1 french - in Belgium there are at least 2 localizations, french and dutch...Possibly german ones too) one with green lens (not lucky on this) bought in july 2011, manufactured in Tianjin in April 2011.
[Defy Android Development] henel321:
Same behaviour here. I'm in Sweden and I believe it is the same radio firmware.
[Defy Android Development] gkai:
Do you remember if your Defy (or your wife's one) was able to deepsleep with it's original froyo OS? I've installed CM7 before knowing about CPUSpy and most of the diagnostic tools (first android phone, but coming from windows mobile I am used to tweaking a lot ;-) ), so I do not know how mine behaved with stock OS. I begin to wonder if this problem is not a bug of the radio firmware that was present even under blurred froyo stock OS...:eek:
[Defy Android Development] ccav2000:
For me, yes. 3G will always use a lot of battery, nothing you can about it as long 3G is at 2100Mhz, it needs a lot of power. So I lock down the phone at GSM (2G) unless I need highspeed data. When I use GSM, I have no drain whatsoever even with data on.
[Defy Android Development] Bl4ck3urn:
I return back to Froyo with Barebones. After 1 day Suspend only shows 30s and there are no error logs in dmesg.
[Defy Android Development] sp8y:
Interesting - if I get time tomorrow I'm thinking about flashing the official UK froyo (haven't tried that one yet as there were only leaked versions available before) & seeing how that goes at least I'll know one way or another.

Pleased it's good for you :)
[Defy Android Development] Bl4ck3urn:
Have a look at this thread http://xdaforums.com/showthread.php?t=977989

Froyo without bloatware and really fast with long battery life :)

If the CM team can solve this issue in the future I will give CM another try.
[Defy Android Development] abhi897:
You are right but, some Phone's have problem with proximity sensors!
[Defy Android Development] [] AL []:
Yo,

I can't remember if I did ask you this before and if you answered me or not, but...

have you tried using a different SIM card in your phone?

You could also try to uninstall Stk.apk [in /system/app]; I know that since I did this, I no longer need to press OK for my SIM card toast popup after reboots (but my SIM card doesn't need a code to unlock) and it make the phone much quicker to get radio signal.

Other things to try here, but most probably not related to your problems...but hey!, you were out of ideas on what to try next ;)

Now that you've made a nand backup, why don't you try reflashing your stock Froyo and find out if problems were present there also? Small job to do to get an answer and maybe peace of mind ;) ...and another chance to try a "real" CM7 fresh install..
[Defy Android Development] gkai:
Thanks for the suggestions,

I did change the simcard, because I had a quite old one and I can confirm that using a new sim is a good idea: my power use has decreased with the new one significantly. But it did not solve the suspend problem, in fact I am not sure if it was present with the old sim because I started to investigate this problem quite recently: When I did notice power draw, Itried some solutions from the board (quite a few very usefull, like the new sim card, removing some apps when they obviously used a lot of CPU, use 2G only if you can, lower Vsel (although it is more dubious on this one: it should help, but real life test are surprising - see my previous posts ... ). Only after those changes did I concentrate on the deepsleep issue. When (or, better said, if) it is solved, I will do more tests about overclock/undervolt...

For Stk.apk, I will try it but I have to check if I don't need this app: my sim is simcode protected, and I can not really do otherwise: it's a company simcard...

For reflashing Froyo...yes, this is the obvious next step...but I am a little bit reluctant to reflash an SBF and reroot/reinstall 2nd init. I feel something could go wrong, especially as flashing SBF is done from windows and I almost never use windows...I have a nandroid backup done just after installing 2nd init, restoring it would be equivalent to a reflash, no? Either it will restore the original radio firmware...or it has never been changed (because all my CM7 install are not able to change things more than a nandroid restore. I think that this is my next step, this one I am confident I can undo easily ;-)

I am also waiting for hanel321 feedback: it seems he have exactly the same problem as me on 2 defy (it may be linked to the european defy only, maybe those with a specific stock baseband (which would be linked to a specific radio firmware). Maybe he remeber if deepsleep was reachable under stock froyo rom...

Edit: just removed Stk.apk, no problem from my simcode protected simcard, simcode is asked at reboot as always. It looks slightly faster indeed, but deepsleep issue is still here: deepsleep is not used if 2G GSM is on, it is in airplane mode, and wakeup_timer.0 is the one that refuse entering deepsleep...
[Defy Android Development] luciferps:
huge battery drain tried everything changed my boot to 2nd boot wipe battery status in advanced mod of my custom recovery . tried battery caliberation ...huge battery drain at night drops of 20% oh my my my wt should i do now man

currently on 110930 cm7

please help

and what exactly is barebones ?? can anyone tell this
[Defy Android Development] Sigray:
Getting gallery3d fc frequently with the latest nightly.
[Defy Android Development] [] AL []:
One thing you surely haven't tried is using proper punctuation in your posts ;)

Write like a grown up please - not like a robot.

Again: in your everything, that includes setting up your baseband or not?

[That means using the Defy Baseband Switcher application in the app drawer.]

Is that CM7 nightly the first one you've tried?

Has CM7 work properly for you before?

That much power drain would leave traces; what is using the cpu power? --> look in Spareparts application [app drawer also].

Without giving us more details, logcats or any relevant info, how do you realistically expect us come up with the magical answer to your specific problem?

- -

Btw: I just had a look at the FAQs and I can't beleive that there's still no mention of the Baseband Switcher in the install guide...
[Defy Android Development] sg3707:
Using 110930 cm7 for the past 2 days and there is no abnormal battery drain.
[Defy Android Development] henel321:
"Good" to see were not alone with this anyway. :(

I'm actually thinking of going back to an old 201108xx build to see if the battery drop is gone to rule out kernel and apps. Now I just got to remember which builds were the good ones. :)

Edit: I'm now on 20110817-boot179 and 20110729-gapps to see if that makes a difference.
[Defy Android Development] businessman9:
Same here, it even freeeeeze the phone and i have to reboooot.
[Defy Android Development] Tw18:
Running BootWifi3 + 110928 here and no battery problems, just proximity sensor issue. Got 59 hours battery life over weekend!!! Wifi on constantly (never sleep policy) but only on 2g mainly and 3g only when required
[Defy Android Development] ccav2000:
Damn, how did you manage that? With WiFi on constantly I can barely make it 2 days, and that's only if I don't use the phone much. Do you have AutoSync enabled?
[Defy Android Development] Sigray:
Another bug: the camera's picture doesnt move during the recording. Freezin and doesnt make a record. (Wide mode)
[Defy Android Development] luciferps:
hahahahaha i m sorry i was soo pissed off and no one in the world can write like this not even a robot :D

i have tried baseband switcher and ryt now i m on international mhz ..

i m using adw launcher ex is that a problem ? and spare parts displays music has used my memory a lot at night and holly crap i didnt even listen a single song lol strange and i dnt now how to use logcat i only used tht for detecting my module for camera Soc i.e

now wt elese i should try ?

thanx
[Defy Android Development] maniac103:
Please post the Logcat output after the crash. Instructions are in this thread (a couple of times).
[Defy Android Development] [] AL []:
Debugging 101 here and like Maniac wrote, this has been posted a couple [of dozen] times before on this thread.

I believe that some Indian uses have reported having to play with the Baseband Switcher a bit more to get proper signal reception [try a few different ones even european ones and reboot after changing]. So search this thread and read on! "international mhz" means nothing!! You should at least make sure that the baseband you run has the same frequencies as the ones used my your carrier.

Memory used has nothing to do with how much power the problematic app, process or service used...

Using a different Launcher is not a problem..unless see you error entries in the logcat, but...

As for checking if your problem is the same as for the power consumption problems reported lately:

-> download "System Tuner", sort by "Used CPU%" [first icon], check the "Kernel" icon and look for the "Suspend" entry [press on it] and used cpu consumption should be less than 0.15%.

It also includes a logcat utility which you can use to report stuff after FCs. You can start by filtering for 'error only' and see what's causing problems or see all entries by choosing 'verbose' type. If you post one here, please attach it as a text file or at least do it from the xda website and use the wrap the text using the "#" button for wrapping

option.

-> download "CPU Spy" and do what I wrote on the pic attached.

Most of us are ready to help, but you got to do your part first...

Good luck.
[Defy Android Development] pasor1:
Starting from cm7-110926-0834 Bluetooth AVRCP 1.3 doesn't work.

Pairing the Defy with my Kenwood bluetooth car audio, mp3 tag doesn't appear on display ... title, artist and album appear as "UNKNOWN".

With cm7-110923-0710 , all tags are displayed correctly.
[Defy Android Development] maniac103:
Can you try a recent nightly (29th or later)?
[Defy Android Development] gkai:
working here, in 848*480 mode with green lens (lgcamera). Did you reboot after using bootmenu (using default boot, but without changing any option i.e. without having bootmenu apprearing on your screen?). This is a bug that bothered me and affect video overlay. Now when I change something in bootmenu, I always go back till I have the reboot now option, and reboot my defy (full boot process blue then green/red led) without triggering bootmenu.
[Defy Android Development] pasor1:
I tried all the nightly, from the 110926 to the current 111002 ... same problem.

The last release with working AVRCP 1.3 was 110923 :(
[Defy Android Development] rockmonkey1973:
Ok i Installed cm7 release candidate 1.5 on my defy green lense for the first time yesterday and am absolutely loving it super fast and really smooth.

However i have a few questions. I am currently in the process of reading the last sixty or seventy pages to get a feel for the current issues and fixes but the thread itself is over 1000 pages!!! so i have a few questions i am hoping can be quickly answered.

how can i remove the wifi bluetooth etc toggle from the notification bar?

my camera forced closed yesterday... i went into gallery and then chose the camera from there and then when i went to take a pic bang fc. is this a know issue as it seems ok now?

i want to install launcher pro and remove adw. i have read that i need to make sure launcher pro is somewhere in the system files. can anyone tell me exactly what and where i need to put this?

can i remove the dialer and replace it with a better one? i was using nordic deblurred and that dialer basically brought up contact numbers as you started to enter the number. that is ideally what i want. how can i do this and does anyone know where i can find that dialer app?

the battery useage seems a bit extreme. is this a know issue in rc 1.5?

does cm7 come overclocked by default or do i need to set it in cwm?

are there any patches or fixes that i should apply to make the rom run even better or that will give me additional stuff?

if you can help it weill be most appreciated.
[Defy Android Development] Tw18:
Would appear to be not using 3G + Data that does it, today had 3g + data on for 3 hours and its killing the battery, giving a estimate of 37 hours!!! and yes autosync enabled
[Defy Android Development] mishko:
I have issues with bluetooth aswell (in recent nightlies). Not the same as pasor1 though, but still very annoying.

Description: I play music through my BT headset (pairs ok with the phone). I receive a call- music stops (obviously)- after ending call the music should resume, but instead the BT headset losts the pairing with the phone.

I've experienced this in a couple of (very) old nightlies but the problem had disappeared until now.
[Defy Android Development] maniac103:
If you feel you could help with debugging this (you basically would need to be able to operate adb shell and adb logcat), please send me a PM. Unfortunately, there seem to exist a lot of broken AVRCP 1.3 implementations out there...
[Defy Android Development] gkai:
Some news from my suspend problem (no deepsleep except in airplane mode).

I did a nandroid restore of my first backup, the one i did after rooting my phone and just after my install of Defy 2ndinit from market.

My motoblur account was not recognized (I forgot the login/passwd I had for this), so I did a full factory reset at first boot.

I then skipped motoblur config, logged on my wifi and installed CPU Spy.

Same as always: no deepsleep, exept in airplane mode.

This start to look like a problem on my default radio, or an hardware problem...but hardware problem is probably ruled out because the same suspend problem/no deepsleep seems to affect at least 2 sweden phones too, maybe all European/central european ones. So for now I tend to think the problem is linked to the default radio firmware installed on phones from our regions.

I am not sure a nandroid backup restore + factory reset is completely equivalent to a clean stock froyo, but this was a little bit frightening already because bootmenu change doing this and my latest nandroid backup was not directly accessible, I had to go back through a nightly to have access to a recent bootmenu again. So it would be better if other european users (from Belgium or Sweeden, but also other central/western european countries - I guess UK and France may be specific) could confirm that their Defy is not able to enter deepsleep except in airplane mode. The most interresting report would be from users still under stock froyo, or maybe froyo based custom roms.

On my side, the only new test I can think off right now is to reflash a stock SBF, like I should do for a waranty return...probably CEE one, even if I am not sure that it was the original one on my phone...But given that the little experiment I just did frightened me more than all the CM7 nightlies I did before...and that the 10 minutes I spend in stock froyo left me deeply depressed after a few month of CM7 goodness...well, I prefer to wait a little bit ;-)
[Defy Android Development] pl4yeR:
I have the same problem, but in my case turn the wifi on/off solve the problem too. With wifi on the phone never goes to deep sleep, so I have a battery drain problem.

My log sometimes shows the wakeup_timer.0 fail.

dmesg command show constantly :

" TrafficMonitor_ChangeDownTimerStatus: Going to active, set wake_lock!! " and

" TrafficMonitor_ChangeDownTimerStatus: Going to power save, clear wake_lock!! ".

This happens constantly, with a short period of time between them. Maybe this can be related to the never suspend issue?

Sorry, I don't know too much about this kind of things, and sorry too for my bad English, I'm Spanish.

PS: I'm on 20111002 nightly, over bootwifi3. Spanish Vodafone Defy. I can try other bootversion or nightly if this helps.

PS2: Can I ask what is different in bootwifi3? I can't find too much information with my poor english :(
[Defy Android Development] sp8y:
Well took the plunge this morning & went back to froyo namely the official UK retail version (previously I had only used leaked froyo versions) so now I know for sure I have the correct baseband for the UK.

Took me a while to set up everything & was getting a few force closes on droidwall but it all has settled down & is running pretty well.

I've rooted it, installed latest 2nd init, set up the bootmenu CPU settings as I had them on CM7. Also deblurred it using Walters method, which worked a treat & as spare parts isn't on froyo (I did get it off the market) I decided to try betterbatterystats which seems very good for info.

So initial reports shows it goes into deep sleep (which mine did anyway unless suspend was going crazy) & speaking of suspend it's only showing minimal usage as a process - currently 1 second over the last 90 minutes BUT I will not get my hopes up this early.

One other thing to note is that dmesg is still showing -16 suspend errors but not as many.

I'm going to run this for a few days & see how it goes as I've had this short term good news before............
[Defy Android Development] Bl4ck3urn:
@gkai

I'm now back on Froyo and deepsleep shows 90%. Suspend only uses 1m49s after 1d3h moderate use.

I live in Germany and my Defy is a European model.
[Defy Android Development] gkai:
Did your phone enter deepsleep only in airplane mode under CM7?

I think there are 2 situations here:

either the phone enter deepsleep unreliably, and when it does not suspend burn a lot of battery. This is the situation most people are.

Or the phone never enter deepsleep (show deepsleep never used or 0s deepsleep in CPU spy) as long as phone radio is on, only airplane mode allows it to deepsleep. This is my situation, and probably the 2 phones from henel321 too.

Which baseband do you use? And which kernel (which boot nightly ?). In my case, I mostly experimented with wifitest3 and europe or central europe basebands. I'd like to try with a combination of kernel and baseband that are reported working regarding deepsleep, but still useing a baseband that work for Belgium.
[Defy Android Development] Bl4ck3urn:
Under CM7 I haven't tried airplane mode cuz suspend bug kicks in randomly within 24h after full charge.

So situation 1 fits to my problem. I see we have 2 different kind of problems to handle.

I always use "Central Europe Hong Kong, Taiwan, Arabia, France..." as baseband and tried several Nightlys and BOOT (179-2, 179-4, WIFI3) versions as well as RC1V2/RC1.5

Nothing solves this issue :(
[Defy Android Development] shamo42:
I'm in Germany right now (base). No battery drain.

Baseband: APAC Central Europe Germany, Austria,...

Kernel: 2.6.32.9-gb08c3c8

vfcj78@zch68lnxdroid50 #1
[Defy Android Development] hailmary:
im not saying this BBcm7 is not good,but its just a preference & my experience.

i got more batt drain on bbCM7 than on the original cm7.plus the apps gets FC too.

dont know whats been missing but i can say that ORIG cm7 was way better.

i always go back here.

the BB froyo is good though...but im after the development & i love bootloops too:D & i just got one the other day :)
[Defy Android Development] Bl4ck3urn:
@hailmary

I use BB Froyo and satisfied with battery life, no experience with BBcm7 :)