yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] nidhish91:
I read the last 10 pages and totally got confused with the battd replacement procedure..please can anyone of you put in a DETAILED procedure as to how to do it? I am confused like hell.

m on greenlens btw.
[Defy Android Development] Vitor_Hugo:
@Gafanhotz: Yes, it's the stock battery (MB525), it's exactly 1 year old (phone arrived 25 of november of 2011)

@okij: All those options are disabled. I didn't use Bluetooth, Wi-Fi, 2G/3G, I was only playing and sending SMS

It's easy, we're just messing with it, you should:

1. Overwrite the battd file in /system/bin with the new battd (remember to check the permissions of the old battd and apply to the new battd)

2. Create a folder named tmp in /data
[Defy Android Development] okij:
and

3. Delete the files inside battd folder (/data/battd), which will then be recreated by the new battd

4. Reboot

---------- Post added at 03:02 PM ---------- Previous post was at 02:47 PM ----------

Hm... I assume that you use the same CPU-Clocks+Vsels as in CM 7.2? Otherwise you could slightly under-voltage to save some power.

Did you disable HWA for the games you were playing? AFAIK, HWA should only be enabled for Android-System, System-UI and your launcher. I'm not sure if HWA option has an impact on battery usage, but at least you save some RAM this way.

One further thing that quite a few people reported about is changing the baseband (which can be done in Settings - Defy Parts). On the one hand, using the wrong baseband obviously can have an impact on battery life, on the other hand it can lead to sudden reboots. Just test the different basebands that you can choose from.

And please better put further questions about improving battery life in the CM10 problems oder FAQ thread, because it becomes too OT on this dev thread as long as it's not about the new battd file anymore... ;)
[Defy Android Development] Vitor_Hugo:
I don't think you need delete the files inside battd folder because the new battd file will create other 2 files with different names
[Defy Android Development] ansontyl96:
I am just using the baseband that works in the previous build, so it should not be the baseband problem, and even flash the Bluetooth fix zip it also didn't help, after I flash the 18/11 cm10-2ndboot-nightly-defy even the signal icon will lost,I am using three in England, hope this can

Be fix in the next build
[Defy Android Development] misiek998:
No it didn't work. My computer can't connect with "AndroidAP", my tablet don't see any "AndroidAP" network. It didn't working yet

Tethering on cable didnt working good too. Firstly connect, but disconnect after 1-5 minutes, and won't connect again, must after five minutes session disconnect my phone, an connect again...

Wifi tether app from market didn't working too. ("error load wifi driver fail")
[Defy Android Development] Feche:
My Defy with the new battd won't charge over 90% (on bootmenu it is 100%)

EDIT: Okay I unpluged it, used it (battery went to 88%) then I pluged in back, and now it's on 100%.. but 2 minutes before the battery was on 100% it was showing me 92%, strange.
[Defy Android Development] Shubhamqweasd:
first CM10.1 nightly :D

http://quarx2k.ru/cm10.1-nightly-defy+/cm-10-20121125-UNOFFICIAL-mb526.zip

i hope quarx cretes a new thread soon :D , or this one will be flooded :D

THANKS to quarx :D

---------- Post added at 05:06 PM ---------- Previous post was at 04:52 PM ----------

jb 4.2 gapps :

http://goo.im/devs/pawitp/gapps-jb42-20121120.zip

Credits to Pawit. This might work. Picked from Galaxy S thread.
[Defy Android Development] thrutheeyes:
Red Lense Defy?
[Defy Android Development] ennarr:
Again???
[Defy Android Development] ppero196:
4.2 thread

http://xdaforums.com/showthread.php?t=2013059

Sent from my Balls of Steel
[Defy Android Development] vai0:
so much of talk 4 battd

thumbs up for gr8 builds.

with normal usage and 3g/wifi off battery longed well. i was crying b4 last build coz use to charge twice a day while keeping 3g on all d time.

and this is w/o using the new battd.

........... now waiting to jump on 10.1 asa the status changes from 'almost everything not working'

gud job Quarx :good:
[Defy Android Development] MarcinRN:
since many have problems with getting new battd to work, there's build including new battd with all settings included (tested on red lens defy). compiled from quarx's repo

cm-10-20121125-UNOFFICIAL-mb526.zip
[Defy Android Development] FcukBloat:
Does bt also works in this build?
[Defy Android Development] MarcinRN:
Not sure about that, what didn't actually work? I tested a little and could pair with pc and recieve file via bt, couldn't send anything though (might be ubuntu issue however)
[Defy Android Development] casouzaj:
I might be wrong, but my understanding about moly82's question is whether the bt_fix zip is already included or not...
[Defy Android Development] MarcinRN:
I know what he meant, just couldn't find any commit regarding bluetooth fix on Quarx's github. However, after reading bug reports it looks like its fixed.
[Defy Android Development] paszczaq:
[OT] Dear Quarx i'm just wondering if U started to develop 4.2 doest it mean there will be no updates to 4.1.2? Personally for me 4.1 would be enough just make it little bit polished/optimise few things (i.e phone app - to start little bit faster)
[Defy Android Development] okij:
I guess that if it's compiled from Quarx's latest repo, the bluetooth fix should be included!? ;)

But because of the smaller size of the zip I also guess that Quarx's optimizations (i.e. compiling with Linaro toolchain) aren't in the version that MarcinRN posted today? :confused:
[Defy Android Development] MarcinRN:
Kernel is compiled with Linaro toolchain, whole build isn't (Linaro GCC 4.7 caused lots of errors while compiling) Quarx reverted it himself

commit 17c70b5eb8881d7c149f31626487fcaf34593ff9
Author: Quarx2k
Date: Fri Nov 23 00:35:25 2012 +0700

Revert "use linaro 4.7 toolchain"
[Defy Android Development] mick711:
Hello

For me Battery life is very good and no probleme with vharging or % .

A lot of problem with RIL ringtone . I lost connection and sometime i need to enter PIN code without reboot or airplane mode, ringtone is very very bugy sometime ring with bug and sometime don't .

It's impossible to use the 18 November ROM on daily use i go back to an older with no RIL problem .

Thanks for your hard job Quarx ;) now wait for more stabe ROM .
[Defy Android Development] Gafanhotz:
By the way, I'm still impressed that after the whole advance in the development, the video recording still lagging as hell. That's why I hate Moto cameras.
[Defy Android Development] okij:
Don't know if Moto cameras are the problem, because I had nice and smooth 720p recording using walter79's patch under Gingerbread.

Proper 720p recording is one of the very few things I still miss on the current CM10 builds. I hope that Quarx still puts some efforts in it, since it's one of the few bugs that Quarx lists himself in the OP. :fingers-crossed:
[Defy Android Development] mariano22:
http://quarx2k.ru/cm10.1-nightly-defy+/ *has a hearth attack*

thanks quarx!! wow, you cant go away for a couple of days...
[Defy Android Development] zakoo2:
im using an aftermarket 2300mah battery which so far was recognized as 500mah, thus indicating 1% charge 70% of the time...

before changing battd it was on 9% and after that it jumped to 60 percent, and it looks really good. so far i was judging the charge from the voltage which has the range from around 3400mah to 4160mah, and now its on 3800mah, so 60% should be correct. thanks a lot quarx, now i really have nothing else to wish for on this amazing device!

what i did was:

- delete the content of /data/battd

- create the folder /data/temp (777)

- overwrite /sysyem/bin/battd (777)

lets see how this performs on the long run :)

sent from my jellybean defy...
[Defy Android Development] casouzaj:
I don't know whether it might be related or not, but the error I reported in post #12771, last week, about that annoying error message popping-out all the time stating that android.process.media had stopped: the case is that, ever since Quarx made NFTS support available, I formatted my 64GB card into that fs. I just tried the 11/18 build once more, and I've noticed that my card cannot be accessed by most of the applications, including android general media contents handling (notifications, alarms, ringtones), camera. Even SD Tools (the card access speed meter) fails to access the card, The only one I noticed to work flawlessly with the card was Total Commander. So, I wonder if there might have been some kind of regression regarding NTFS support in the latest build. Any thoughts, anyone?
[Defy Android Development] Bleak3993:
+1 to this, is really annoying the frame drops and lags on the camcorder, I hope Quarx fix this on next nightlies.

btw, I read on other forums that zRAM causes a huge battery drain, I tested it, and I think is actually true, now my battery life is better and I haven't noticed any performance slowdown.
[Defy Android Development] d3athr0w:
Headset

well i am trying to read all and back read, but i need some answer, my headset , the music it turns off, or stops... i want it to be continues but no... it plays and stops and plays and stop :(
[Defy Android Development] theclaytons:
+1

I use Winamp instead now and do not have this problem.
[Defy Android Development] d3athr0w:
Still even winamp :(
[Defy Android Development] AnTerNoZ:
try ttpod, there is an option for disable the "headset outplug music stop" thing if u mean that.

if u had general music play problems, u had to made a clean install of the ROM without beats or other music modifiers, there are some packs out there that don't work well with our CM10.
[Defy Android Development] xdaid:
Similar issues here, however, i still use the 18-11 on daily basis. It's really fast and i love it. Again, wonderful job!

Battery life is amazing, no problem with the new battd but the old one was even better, i flashed the 18-11 when the charge was 99% and the screenshot below was taken more than five days later

old battd, moderate usage (3-4 calls per day, online for about 1 hour per day, a bit of whatsup, a bit of offline navigation), customized vsel (300-18 / 600-32 / 800-42 / 1000-52)
[Defy Android Development] pupiloalpha:
BUG in Bluetooth

Same after install bluetooth fix i can't send files to pc. Pc sent, but phone doesn't.
[Defy Android Development] nidhish91:
ES file explorer cant read memory card but Root Explorer can..strange! Any fix?
[Defy Android Development] Shubhamqweasd:
es file explorer can read sd card for me , maybe u can try updating it .
[Defy Android Development] soyusado:
I'm having a problem right now, my signal status is gray since yesterday when I flashed it again a clean install with full data/cache wipe.
[Defy Android Development] wawroo:
for me it becomes blue when i enable mobile data
[Defy Android Development] soyusado:
Data enabled but still gray.

Sent from my Defy running Android 4.1.2 thanks to Quarx.
[Defy Android Development] ASHOKVARATHAN:
it turns blue when your Google account is in sync I mean connected with Google (gtalk) gmail etc... check whether ur gtalk is working properly or not

sent from my defy unbeatable
[Defy Android Development] soyusado:
Everything is sync but the problem persists although gtalk is not working properly I don't have connection here maybe that's the problem but how do I synchronize gtalk?

Sent from my Defy running Android 4.1.2 thanks to Quarx.
[Defy Android Development] defim:
No experience with Android 4.2 (cm-10-20121125-UNOFFICIAL-mb526.zip) yet?
[Defy Android Development] soyusado:
You can read here everything you want to know about CM10.1

http://xdaforums.com/showthread.php?t=2013059

http://xdaforums.com/showthread.php?t=2013111
[Defy Android Development] bone101:
for me the WiFi symbol turns blue when i enter router adress in DNS2 using static ip

MB525 red lens on Android 4.1.2
[Defy Android Development] ASHOKVARATHAN:
try clearing the data of ur gtalk.... i think it can help you

sent from my defy unbeatable
[Defy Android Development] soyusado:
Thanks man, but didn't work, I will flash the ROM again.
[Defy Android Development] hackergnome:
Try log off and log back into your Google account

I don't want a tapatalk sig!
[Defy Android Development] phobos_1984:
I had the exact same problem. Did you restored "Titanium Backup" data backup?
[Defy Android Development] soyusado:
Yes I restored data backup, did you solve your problem?
[Defy Android Development] yossi2010:
WEIRD

yesterday(running 17th's build) i lost all of my four soft keys randomly in my pocket they just didnt work....(not even on the bootloader just like the touch has shrank downto the screen only) well i restarted my phone and everything just kept crashing(loads of errors) i wiped dalvik, cach reflashed 17th and then it didnt even boot....(animation forever) i wiped data and flashed the 18th build everything is smooth except that the keys still didn't work(activated onscreen buttons oc)! i asked yesterday if this was a hardware or a software problem(as the touch buttons still moved the cursor but on the screen's border) but somehow it didn't even post it....

now... after i put my phone in the (same) pocket while listening to music, when i took the phone out the buttons vibrated when i tried to launch a game and they began working again!

what was the cause for that? (it's a new digitizer only 1 month old)
[Defy Android Development] Drizzur Urden:
I updated from Epsylon's "CM10-120904-NIGHTLY-Defy.zip" to Quarx' "CM10-20121118-NIGHTLY-mb526.zip". Could there be any reason why the ui is running really unstable and not smooth?
[Defy Android Development] Krokogator:
Did you turn off HWA? Tried different launcher?

Tapatapped from my Google powered Defy
[Defy Android Development] Drizzur Urden:
I did not do anything particular yet...

opera browser is turning off randomly. Even the keyboard is laggy.
[Defy Android Development] yossi2010:
laggy ui... begone!

if by ui you mean the launcher it's normal... just try tsf shell 1.7.5 it is a great 3d and convenient 60 fps launcher you know how to get it...

if you mean scrolling then just make the phone english....dunno why but the phone is waaaay smoother in english(my native language is hebrew and english is faster in cm10 even on the sgs 2!)

and if you mean the entire phone being laggy and stuff just take ages to load do a data wipe...believe me you wont regret it.

apps will shoot fast and flinging will be smooth!

just backup sms(sms backup and restore) contacts(google) and apps with titanium and you are good to go!

btw backup only the must backup apps! the rest will be back by google...
[Defy Android Development] ppero196:
Reinstall the ROM, but make full wipe

Sent from my Balls of Steel
[Defy Android Development] Drizzur Urden:
In the mean while I did a full wipe Data/Cache. It helps;)

I'm also going to try the english language!
[Defy Android Development] phobos_1984:
Just restore apps and some minor settings, like ringtones, display ecc. DO NOT restore account settings and sync settings (you can do it by selecting manualy from the backup options). I found out it was Titanium Backup to cause "grey icons" and gtalk problems.
[Defy Android Development] thiagobaur:
Flash in recovery

Hi people...

Im using the last nightly with full gapps. but i would like to use de 4.2 gapps. But i dont need all of than, so i downloaded the deodexed pack from nexus 4 to install only the one that I need (gmail - gallery - desckclock).

first I tried to put the apk files in the /system/app and set the permitions using the rom toolbox lite (free version). But doenst work.

after I past the file in the system folder the size change from 1.2MB to 288 kb for examplo... I dont know why.

So I downloaded the flashable version of this apps.... the result was the same! the apps appear in the system apps...but with just 288kb more or less and doesnt work!

Does somebody know what could happend?

thanks!
[Defy Android Development] armydog13:
Updated Battd

After updating the battd, I am only able to charge to 99%. plugged in for hours, plugged and unplugged, on or off. Never charges higher than 99%. Any ideas?
[Defy Android Development] Gafanhotz:
It's not a problem, your phone is fully charged, it's just the system that doesn't calculate that.

By the way, the forum eated an part of the message I posted before. There it is:

There will be one more build for CM10, don't worry guys.
[Defy Android Development] MazaMoto:
I was on 18thNov nightly & flashed this blutooth fix zip & phone got into cm10 logo bootloop.. nothing helped.. tried reflashing but same. So cleared all data cache etc n flashed back the 17th build again...

BTW i feel that gallary is slow & songs sometimes hangs for a sec if u try to do anything, like openeing a folder etc.. this ia on both the 17-18th builds.!
[Defy Android Development] level_666:
Firstly, would be better if you post that in the 4.2 gapps thread, second: That's because you have low space on /system try deleting some apk that you don't need
[Defy Android Development] irekd:
That's strange, but it's true. Defy is much smoother after changing language to English. Checked on 18/11. Yossi2010 changed it from Hebrew, me from Polish. It might be that other then English languages are the problem, which doesn't let our Defy fly.

Does anyone know why is that? Perhaps there is some bug in locale handling.

Edit:

I can only suppose why is that. Look at:

http://developer.android.com/guide/topics/resources/localization.html

and find the section "How to Create Alternative Resources".

There is an example, which tells how it is done when developer wants to add multilanguage support. The reason why other then English languages slows down the system is most likely caused by fallback mechanism, which in worse case can load more then 2 language xml files at once and have them all in memory jumping between them as needed.

I don't think it can be improved - it's just the way it is developed by AOSP android developers.

The other assumption is (BAD) Java internationalization library (gettext, http://code.google.com/p/gettext-commons/), where there are no keys and related to them locale strings like it is in (GOOD) java properties files, but given language locale string is taken by a method like in this pseudo code example:

getString('here goes an English text', locale_identifier);

where runtime is looking for 'other than english' string using an 'english string'. So the english string itself is like a key. It must slow down the whole locale strings search process in my opinion.
[Defy Android Development] Vitor_Hugo:
Hello, I know this isn't the right place to post this, but nobody is helping me in F.A.Q. thread, so I'll try here :x

1. How can I (if it's even possible) play 720p videos at 24FPS? Every 720p video that I try it's possible to notice that it playing like with 5~10FPS, that causes audio to freeze at some points. CM10 18/11 + MX Video Player 1.7.8 + SW decoder (HW decoder is even worse) + this video (.mp4 format)

2. How can I take a proper panorama photo? While on panorama mode I'm not able to take a 360º photo, it starts saving the photo before I get even on 180º

3. Quarx told that lgCamera is better for recording videos, but I can't record any anything with it, it just says "Record video failed", any explanation is given, here are my settings:

* White balance: auto

* Effect: none

* Scene mode: auto

* Exposure compensation: 0

* Anti banding: auto

* Focus mode: auto

* Video resolution: 848x480

* Video encorder: Default

* Video file format: MPEG4

* Video bitrate: 6 Mbit

* Video framerate: 24

* Video stabilization: disabled

* Auto rotate video: disabled

* Audio source: Microphone

* Audio encorder: Default

* Enable stereo mode: disabled

Any idea how to fix this?

4. When connected to an USB, touchscreen become unreliable sometimes, I know it happens to many people and even with the stock ROM, but is there any way to fix this?
[Defy Android Development] ppero196:
1.For me it works with MX player (HW codec)

Try checking your RAM

2.You can't. Camera default setting on all phones is 180°

3.IDK cause I use stock camera and it works without issues

4.So far no. It happens to me almost all the time.

Sent from my Balls of Steel
[Defy Android Development] Vitor_Hugo:
1. While playing the video I have 180 MB of free RAM. While using HW decoder it start jumping the frames of the video, but the audio won't freeze, but still bad. With SW decoder the video plays all frames, but slower (causing audio freezes). Could you try the video I posted?

2. You're right, but I can't even reach 180º, it starts saving the panorama when the blue marker (on the progress bar under the screen) reach the middle

3. I was using stock camera recorder, but it freezes a bit (like FPS drops) every ~5 seconds

4. Ok
[Defy Android Development] jcxmej:
new battd made battery drain quicker ........ anyone else got tht prob :(.... drained 20% in 8 hrs while sleeping.. (with wifi on) .. till now worst was 10% oly.. hmm
[Defy Android Development] m_zet:
I confirm - wrote about it several times - panorama (by build in camera) is not working properly on CM10 - it shuts down after begining to take panorama.

ICS Camera app records panorama on CM10 without any problem.
[Defy Android Development] dog121:
Try the 4.2camera it works well see the shots bellow
[Defy Android Development] FcukBloat:
panorama works correctly and video recording is not laggy for you with 4.2 camera? if so, which package did you install exactly? thanks!
[Defy Android Development] dog121:
http://xdaforums.com/showthread.php?t=1970957

Use the link above worked well for me or download this 4.2 zip from my box account which has all the 4.2 apps

https://www.box.com/s/yj05oei2n8vamaanq311

Be warned the keyboard in the 4.2zip doesn't work

So make sure you make a back up of the original one
[Defy Android Development] Vitor_Hugo:
Anyone else can try panorama with stock camera app using build 18/11 and confirm whether it's bugged or not? Me and another guy reported it's bugged.

About the 4.2's camera, Photo Sphere doesn't work, right?
[Defy Android Development] hackergnome:
No, it works properly

and yes photo sphere won't work...

I don't want a tapatalk sig!
[Defy Android Development] dog121:
Photosphere takes photos for me but haven't got a clue wtf its for
[Defy Android Development] FcukBloat:
Thanks a lot as soon as i get back my defy from service I will try that!

(in the past i tried a different apk but it didn't work properly hope this one will be better! :) )
[Defy Android Development] hackergnome:
It needs gyro which we don't have so it bugs out...

I don't want a tapatalk sig!
[Defy Android Development] marxone:
I forgot to flash GAPP file but phone work ok. butt after restart my phone only shows motorola .i flash GAPP and then screen shows me the same

CM10-20120924-NIGHTLY-mb526.zip -- 4.1.1 i think

gapps-jb-20121011-signed.zip -- and now see gapp file is 4.1.2

please help
[Defy Android Development] AlexGraves:
I can only try to help with question #4.

It happened to me as well, and I found that it was a electrical grounding or static discharge problem.

Whenever the phone is connected via USB and the screen becomes unresponsive, it will be normal again as soon as you 'grounded'... (e.g: touch the ground, or the metal case of your PC)...

Sent from my Nexus 7