yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] IE-coRe:
OMG We did it we are on 3rd place on Cyanogenmod Stats...:):)
[Defy Android Development] marhensa:
epic turning point:

.

.

.

.

.

we are the 3rd guys :D
[Defy Android Development] Ph1b:
In your ... :)
[Defy Android Development] danielthuy:
3rd now ^^

Thanks quarx, epsilon and everybody here. Defy is just awesome
[Defy Android Development] hitanshu:
*sigh*

How do you guys get 3-6 days battery backup? THe most I get is 1 day!!

That is interesting and helpful. I've installed atleast 7-8 different nightlies but the drain post RC1 (or the 22nd Jun nightly has been rather bad compared to RC0 or the 14Jun nightly).

What data should one post? Ideally, if there's such an app to record usage textually (not the charts under battery use widget). Is there a link u can point me to? I'd be glad to look things up and post something useful which the mods can then use to impeove the code overall!!
[Defy Android Development] marhensa:
i do agree with your question..

how..?
[Defy Android Development] IE-coRe:
Hey.... someone should contact a XDA newswriter like sam caplat to write news abaut that on the portal... WE ARE THIRD!!!!
[Defy Android Development] Ph1b:
How to turn off the notification, when connecting to USB?
[Defy Android Development] slay24:
Okay that worked thanks!
[Defy Android Development] [] AL []:
So here we go for another long post...

Well, OK since it seems like so many are desperate to know about the battery stats, here's what I normally get on RC1:

...and yes, that's nothing more special than observing the charts with Batt Monitor Widget for some time...

Bare minimum each day:

- 16hrs a day in standby (2G only, no data sync) @ 1% per 1.66hrs or 0.6%/hr ==> 9.6% Batt

- 8hrs a day in airplane mode @ 1% per 2.8 hrs or 0.36%/hr ==> 2.88% Batt

--

Total of 12.5% Battery usage minimum each day.

So max standby time per charge: 100%/12.5 --> roughly 8 days.

BUT that is not my real optimal theoretical standby time because it doesn't include the 6-7% battery drop I always get when the battery gets to around 56% level. So give or take half a day's worth of probably hardware related unexplained battery drop.

So yes, if I leave my Defy alone in one corner for all that time and no one calls me, I could realistically and easily get 6 days out of one charge. - CQFD

But then again...

I know that the phone never stays down for that long.

I know that having the screen ON and just using the interface (ADW+system) will chew 5-6% per hour.

I know that under good usage 10-12% of Batt/hr is normal (watching video, browsing internet) and

I know that intensive use like games and multi-tasking could bring that up to 15%Batt/hr.

So from those numbers and experience, what I usually end up getting is a phone that I use (screen ON) for 4-5 hours each day and that I need to recharge every 36-48 hours.

So it this all so magical?

- I use "timeriffic" to automatically turn the airplane mode ON/OFF each night/morning

- I use SetVsel to undervolt and underclock @ 22/300,34/600, 46/777 up threshold @90%, SD speedfix, VSel 1 when screen OFF.

I'm not even sure if those SetVSel settings really helps the battery usage that much --> as far as I remember, my numbers were not that different at stock settings. But I use it anyway and everything is smooth in CM7 (including games) at those settings.

To me, that's the beauty of CM7: no lag and no need to push the CPU for everything to work smoothly... something that Blured Froyo failed to give me.

And I stick with RC1 because everything works good and if it ain't broken, I don't feel the need to fix it.

If the installation and setup of CM7 is done properly, why would those numbers be so different for others. If they are, don't you agree that the problem could most probably lie in some of your installed apks or one of your own fix or special tweak?
[Defy Android Development] stapuv:
- first time full charge after instal rc1 battery drop 65% to 49%, second time full charge 55% to 49%, third time full charge 55% to 49% - so do not think it's a hardwear problem.

- rest of the post is very true.

- in spare part at battery running if you do not use the phone a lot, should not exceed 5-10%

- so if in standby do not get to 2h = 1% I think that must be done an installation with wipe date

sorry for English :cool:
[Defy Android Development] [] AL []:
So you are saying it's not "hardware" because you've reproduced it 4 times with the same build ??

Well, not so long ago, I've posted multiple charts showing that specific 6% batt drop going back to June 12 nightly I believe. Not that it was or wasn't there with other builds (or even Froyo); it's just the stats I have on this....

And that still doesn't prove it is related to CM7 in any way....
[Defy Android Development] ephumuris:
Anyone know anything about the video recording being jerky? I don't generally use it but noticed it today. Was it always that way or was it introduced as part of another fix?

Any leads on fixing it?

Ephumuris.
[Defy Android Development] Ricardo_Is:
Hi ccav2000.

I had this issue (on google maps and Aura navigator) when installed the last nightly after RC0 release.

This was fixed making a script to set more memory to OpenGL to works with no laggs.

Using Script Maneger (free on android market), go to root and create a new scrip like "mem.opengl", than edit this with script maneger editor.

Delete "#!/system/bin/sh" and write sysctl -w vm.min_free_kbytes=8129 (i had this value coz my SD card is a 8GB class 4) than save.

Select the file you created and select RUN. If show EXIT CODE 0 the script is running ok. Select to run at boot also.

I hope this can fix this your Defy problem.

Sorry for my poor english.
[Defy Android Development] hailmary:
battery life

2nd day on cm7RC1v2...after clean install from scratch nordic w/ fix sbf...

im getting 20% battery loss after almost 48hrs...this is so good.:D

as always wipe all that needs to be wiped.

BTW,i have not installed any app yet..not even gapps,no data connect/no wifi.,

phone only.:D
[Defy Android Development] arpith.fbi:
YAY!!! we r THIRD :) :) :) :) :D

sorry for replying late..i was out..
[Defy Android Development] ziki:
Video recording frame drops is present since beta 6 version (the first I have installed) included.

I skipped RC0 and never installed previous betas minor than the b6, but probably it was always present, maybe some other can confirm.

I think Quarx is working on this now.
[Defy Android Development] mineIsAlreadyTaken:
vm.min_free_kbytes

Hi Quarx, is the vm.min_free_kbytes value back to 2048? You changed it sometime in April to 4096, which is much better, but I think it is back to the default value in the latest builds ..
[Defy Android Development] ccav2000:
Apparently such an issue has already been reported in the GIT issue tracker: https://github.com/CyanogenDefy/android_device_motorola_jordan/issues/39. Needs fixing, but right now Quarx is trying to work on the Motorola location proxy for the AGPS . Should be easy to fix anyway.
[Defy Android Development] ccav2000:
It was *always* like this ever since the first betas already.
[Defy Android Development] marhensa:
indeed.. :)

um, quick question,

is it only happen on green lense or red lense also has frame drops too?

seems we lucky, quarx and friends have a green lense,

so we green lensed defy have a devs support :D
[Defy Android Development] Deonix:
Thanks for the reply... i asked a couple of times, a few pages back for the last 2 days. I can see the .ini file, i can find the line mentioned but i don't know how to edit it.what app to use? And if there is some special method.

I don't like to triple post about the same issue, hope someone answers.
[Defy Android Development] sam_bris:
Well I finally got that sorted!

I found a couple of things held me up so I thought I would post here for the benefit of others.

1) The root app mentioned in post 1 did not work for me. I used this http://xdaforums.com/showthread.php?p=14574484 and it worked a charm

2) The boot menu tool (2nd init) mentioned in post 1 did not work either. However I found I could install it from the market by searching for 'defy'.

Nice ROM guys ! Very happy with it so far..
[Defy Android Development] [] AL []:
OK I think that I've just reproduced and solved

that

TuneIn Radio specific wi-fi disconnect/buffering issue.

I've noticed that TI Radio would stop playing and start buffering very soon and every time after my phone display was turned OFF [yes, I do have my Wi-Fi Sleep Policyset to never :p]--> I then tried to set the Screen Timeout to 30 minutes and BAM!: no more disconnect. Good, but not very battery friendly...

Next, I thought "SetVsel" --->

I unchecked the option for "Limit to Vsel1 While Screen Off

", I then turned the screen OFF and "voilà!!" no more disconnection or buffering every 30 seconds.

I also thought (and tried) setting a higher value of Vsel1 to see if it would help, but it doesn't; only un-selecting that option worked.

I also tried to reproduce this issue with my prefered streaming radio these days: "Digitally Imported Radio" and it never happened no matter what the settings in SetVsel was. --> no buffering at all for over half an hour of listening.

So: are you also using SetVsel?

If not, is there an equivalent option in the Bootmenu overclocking settings and do you have it ON? If so, disabling it may very well fix your problem with TuneIn Radio. :)

Now, can this be a lead to investigate for other wi-fi problems reported lately? I don't know, but it might be worth to spend sometimes checking it out...

But I'll leave that with you guys for today...time for my sleep...
[Defy Android Development] marhensa:
1) it's rooted by default guys.. why do you want to get root?

or you want to tell us the faq of installing it from froyo / eclair?
[Defy Android Development] mick711:
Hello

I don't know change in cm7-110704-0554-NIGHTLY-Jordan.zip but WIFI work very well now ;)

Thanks for this update, with cm7-110702-0234-NIGHTLY-Jordan.zip the WIFI on my device is very slow i don't know why .

Thanks !
[Defy Android Development] ccav2000:
Managed to kill more than half of my battery today. Most of it because of GPS, the rest cause of WiFi on all the time with Sync enabled, and kept looking on my twitter and chatting with Talk :D
[Defy Android Development] Ph1b:
Yesterday I wanted to receive a file via Bluetooth and paired my Defy with the Xperia Arc, but it said: "Paired but not connected".

The same today with a iPhone 3G and a Samsung BT-E2370.

Is there a BT-Bug, or am I doing something wrong?

edit: it was a X8, not Arc
[Defy Android Development] ephumuris:
Ok thanks for the replies guys :D I thought it might have been. I was recording my little girl having her first non milk food and it was stuttering...

I was ashamed to borrow my partners Blackberry Torch to continue recording :D:eek:
[Defy Android Development] Ricardo_Is:
Try Bluetooth File transfer app free at market.
[Defy Android Development] Ph1b:
That works, thank you. Is there no native way, or is it just buggy?
[Defy Android Development] Ricardo_Is:
I don`t know.

I had this problem in some nightly a go so i find this app to use bluetooth file tranfer.

Already i`m using BOOT179 nightly and no problem with native bluetooth.I can transfer files for my HP laptop or others smartphones like Nokia, iPhone and my girfriends MotoQ (old one).
[Defy Android Development] Ph1b:
How can I use mp3's for notification and ringtones?

edit: in the last nightly, my ringtone is not working any more.
[Defy Android Development] lord0815:
Sorry for that, i use the 'Root Explorer' app. Change to RW before open and edit the file, after that change back to RO.

Reboot phone, wifi worked for me after that.

Good Luck!
[Defy Android Development] Deonix:
i did it using my pc... the line says

HT_Enable=0 #0=disable 802.11n support / 1=Enable

the permisions are: Read All/ Write Owner. i noticed the original one said diable... for some reason.. i think it should have been disable no? can you upload your .ini file here to see if there is any difference?

Maybe i'm doign smth wrong.. i use FileExpert. Do i have to Mount it as Read only and than exit the program and restart phone.. or it's that a File expert only related issue?

Edit: i got Root Explorer form the market... i think i messed my tiwlan.ini file... Messed the backup too.. can someone upload a working one? Also are the above permision set right?
[Defy Android Development] :
Can we have Skype video works on Defy?

http://xdaforums.com/showthread.php?t=1153285
[Defy Android Development] Cocolopes:
If you don't have a front camera It's useless...I think....

Desde el defy loco!!
[Defy Android Development] pkryger:
Unless you have a small mirror in your pocket ;)
[Defy Android Development] BravoMotorola:
Can anybody please help with the Bravo? I've posted everywhere. This rom also works with the Bravo except the camera doesn't work. Does anyone know what files need to be edited/replaced and recompiled for cm7 in order to get the camera to work?

If possible please PM me:)
[Defy Android Development] ccav2000:
Something is wrong with the latest nightlies, after a few hours of uptime the wifi becomes completely unstable and starts disconnecting at random. A reboot helps for a while, and it's the same all over again.
[Defy Android Development] Deonix:
Can someone please upload the tiwlan.ini file from /system/etc/wlan. My wifi does not work and i messed my file.

Thanks in advance.
[Defy Android Development] Epsylon3:
it is in all cm7 zip files ;)
[Defy Android Development] Epsylon3:
yea, some.. things are wrong in latest nightlies :p and that is not related to our changes.. (i hope)

since yesterday, i get many sound notifications on start
[Defy Android Development] ccav2000:
Went back to a much older build, but one that works fine with wifi and doesn't freeze the maps app. Hopefully things will get better.
[Defy Android Development] [] AL []:
Must be Chuck Norris' fault :p
[Defy Android Development] Frost Storm:
hello

I ve the RC1v2 installed and im almost happy

Does anybody have an idea why I cannot log in to our business Wifi network (such a 802.1X standard thing, dunno wether this an accurate description) ??

worked with some problems with Eclair

and perfectly on froyo
[Defy Android Development] Masamune_2k:
com.android.phone crash at startup

Hi all,

I am using this great ROM since this week-end but today I rebooted it and now 'com.android.phone' application always crash after I enter my PIN code!

After looking at error report, here is the exception:

llegalArgumentException: column 'protocol' does not exist

Then, it keeps to ask the PIN code (which lead to the crash again)... I have to switch the phone to plane mode (ie. disable phone) to be able to do something.

As a result I cannot use the phone function so that's a bit annoying to say the least :(

Someone knows where this problem could come from, and how to solve it (without reflashing everything)?
[Defy Android Development] Kiristiba:
hmm, you can try to wipe the cache partition or to reflash the rc1.zip again.

As nobody else is reporting similar problems it looks like the problem is on your end.

greetings
[Defy Android Development] Masamune_2k:
Thanks for your answer!

I tried wiping the cache, without success unfortunately.

I agree that the problem should come from my setup and is probably not a ROM issue. I suspect that I restored some incompatible data from my previous system (Froyo) using Titanium backup. I will reflash and avoid restoring anything related to the phone...

However, I'm not the only one. If you look on Google for "java.lang.IllegalArgumentException: column 'protocol' does not exist", you'll find 2 links which reports the issue early May:

- A 'Android-hilife.de' German link to the same issue on CyanogenMod7 (sorry, cannot post external link yet)

- http://xdaforums.com/showthread.php?t=882356&page=208 which features the following advice:

I wonder if this could be the issue or just a coincidence...
[Defy Android Development] Lucas0511:
+1 for me the Wifi also works well now, also with n-Standard.
[Defy Android Development] maniac103:
Or - perhaps a little more likely - a problem that came in via CM merges ;)

I would try clearing the data of the phone app first. If that doesn't help, please post the full logcat output.
[Defy Android Development] sam_bris:
Yes the FAQ steps did not work for me.

The steps I have detailed did.

Perhaps I should email the author of this? http://xdaforums.com/showthread.php?t=1065798
[Defy Android Development] bavo_t:
I have had the same problem a couple of times with several versions of CM.

It happens if I use the Defy Baseband switcher applications.

I've had it on freshly flashed ROM's where i wiped everything, so i doubt it is a

setup problem.

Anyway, i found a way to fix it without reflashing everything:

Select [SMS/MMS/APN] Phone storage 2.3.4 in Titanium backup, and select Clear data.(*)

You might lose your sms, but you can back those up using sms-backup and restore.

After deleting this data your phone should immediatly stop force closing com.android.phone

And after that never open Defy Baseband switcher app again :)

Good luck

Let me know if this helped.

(*)I translated the texts from Dutch so it might be slightly different.
[Defy Android Development] Zinshin:
Hey guys, I just want to point out that restoring old system apps from different versions of CM7 will cause random problems. I was without data because I restored some settings from Titanium Backup from Beta4. I did a factory reset of RC1v2 and voila, I have data. No other apps caused this, just some system restores regarding APN storage and CyanogenMod settings.
[Defy Android Development] gubshi:
Well said. Your investigations match with the experience I made in the past. And I noticed the drop at battery-halftime, too.

What somehow makes me angry about batterylife and/or draining-questions is that one asks if his batterylife is ok, or why it's draining and then gets confused by some random saying "I get up to 6 days!".

Thats just confusing, for you simply can't get that much out of the little battery when actually using the phone.

I agree that if you don't move from celltower to celltower, don't surf the web (especially not on 3G), don't call anyone or use GPS - maybe it's possible to reach such a batterylife with one charge.

But if you even use your phone for some calls and some browsing, that's just not possible.

1-3 days, depends on usage, is some realistic value i guess.

I liked your "long post" for pointing that out and finally discribing how to do so (use timeriffic), maybe that answers some questions.
[Defy Android Development] bernd132:
Compass works only in 2 Axis

Hi all,

could anyone help me please? The Compass doesn´t work as it should. It works only in 2 Axis. Defy must be 100% correct in horizontal axis, otherwise the Direction is wrong. I testet almost all Compass Apps in Market...

How could I get the Compass working with 3 Axis like with original FroYo?

BTW: Thanks for CM7!!!
[Defy Android Development] Epsylon3:
search Compass in this thread you will have my answer
[Defy Android Development] marhensa:
hi Epsylon3,

there's new Official SBF released tonight.

might be contain new kernel, wanna check?

http://xdaforums.com/showpost.php?p=15375844&postcount=279
[Defy Android Development] Masamune_2k:
Thanks for your detailed help!

Actually, I had urgent need of the phone function so I wiped everything before even reading your message. I hope however it will help someone else with the same issue (or even myself if I stump on it again ;-)).

Actually I don't even know what is that "Defy Baseband Switcher" application. One thing for sure is that I don't use it, so the problem comes from elsewhere.

Perhaps it is because I tried to restore the SMS/MMS/APN Storage data... This time I won't do that and I will see if I get the problem again.
[Defy Android Development] rafaelw:
Last night i installed the nightly 110704, and i notice a very quickly drop in the battery today, i was with nightly 110629 before and was ok, now is draining quick.

I dont use too much stuffs, normal use, my wallpaper is all black, and i dont have much widgets.
[Defy Android Development] [] AL []:
Well you see, that was probably the cause of your problems right there. [shaking my head].

The Defy Baseband Switcher is THE 1st thing to adjust once you've installed CM7 on your phone.

It is what set your phone's communication freqencies to what your SIM card (phone carrier) needs.

So next time that you try CM7, read about this and read the FAQ. Otherwise, you'll post here again reporting yet another false battery drain (and hot phone) problem.
[Defy Android Development] [] AL []:
I swear, one day you guys will make me lose it...

For f... sake, how useful do you think your post really is for anyone???? - even if it would be for someone willing to try to help you.

[Shaking my head even more…]
[Defy Android Development] marhensa:
use that to get better signal reception.

choose the region which suits your place.
[Defy Android Development] [] AL []:
@ Quarx and antony.ps:

If we want CM7-Jordan to reach #2 in global installs, it might be useful/necessary to add and extra step regarding the Baseband Switcher in the installation procedures of the OP and in the FAQs. [....after reboot the phone]

I just had a look and that is not clearly explained and even though it has been posted over and over on the forum thread, yet people don't grasp it.

Just a kindly suggestion. ;)

Edit: the same goes for erasing battery stats before installing the CM7 zip

SndEdit: the step in the OP: "3. Reboot your device in BootMenu/ClockWork" could lead to confusion if one has not installed SndInit 1.4.2 and tries to install using CWM recovery only... sorry to be so anal about it, but it gets frustrating to read some posts in this regards before the 1st morning coffee... :p
[Defy Android Development] [] AL []:
If there was a "Thanks" button award of the day competition, I think that I would submit my last three posts as candidates.

Sorry if about my rant BTW - no offense ;)
[Defy Android Development] zencoran:
^I think you're really full of yourself and should chill out because IF YOU HAD READ PREVIOUS POSTS INSTEAD OF CLICKING THE REPLY BUTTON, you would've seen that you arent the first to say this
[Defy Android Development] rafaelw:
sorry wrong
[Defy Android Development] rafaelw:
Well, for sure its not for you, its for who is developing the ROM. R U the developer of CM?

If yes, so its for your. If not, f... off.

Im just telling that in this build i notice the batt thing. And you, what have to do with that?

I'm testing the build, and writing my opinion
[Defy Android Development] [] AL []:
You're talking to me? BTW I have read all the posts of this thread. First to say say what exactely? --> To change the OP's instructions? Again,you're not too clear here.

And that was just a humoristic comment and to maybe get people to press the "Thanks" button to get the attention on the request and the changes made...

You're upset or something?
[Defy Android Development] [] AL []:
Sorry if about my rant BTW - no offense ;)

OK, I'll f... off, just after I tell you that I stick to my words in telling you that your so-called "opinion" on the "batt thing" is f...ing useless to anyone - CM7 dev or not.
[Defy Android Development] Epsylon3:
New cyanogen feature in nightly 110706-0702 :

Screenshot feature with power button. (official new feature)
[Defy Android Development] feh_pexto:
niice :D thanks dude!
[Defy Android Development] arpith.fbi:
Gr8 :)

y recent nightlies r kinda unstable?
[Defy Android Development] Epsylon3:
i cant tell that... i experienced "Black Screens" recently but i just checked why and it was related to SuperTaskManager and my sdcard

if you have this problem (black screen on wake up), try adb and ls /sdcard/

if the output is locked... it is a sdcard problem

so i make a scandisk and bad cluster checkup

Edit : no bad sectors ...

There is a bug since a few days, notification sound loops on start if you have a missed call...