yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] YetAnotherForumUser:
Re: BT audio bug == Android bug, DSS bug in 3.0.8?

Not using BT audio and thus never having experienced the bug first-hand I nevertheless wonder whether the following Android bug report is relevant in the context of the problems Defy users are experiencing:

https://code.google.com/p/android/issues/detail?id=39632

From the (long) list of entries I get the feeling that this is similar to the complaints I've seen here in this thread ("as if it comes from a 1970s transistor radio"). I also noticed someone stating that the problem was solved in AOSP 4.4r1 so it might be worth checking out the difference between 4.3 and 4.4r1 in the BT audio code path - or just move on to 4.4 if it does not introduce to many new bugs. Again, it might not be a direct match to that Android bug but it is clear that 4.2 introduced a host of BT-related problems.

Several of the reporters in that thread compiled new bt audio default libraries which - for them - seemed to solve the problem (which is stated to be related to a bad choice in default bitrates). These posts are around #157-#163 and contain downloadable bt default libraries which might - or might not - be worth a try.

WRT to the current 3.0.8 kernel experiments I can say that one problem is still haunting my phone - the screen never wakes up from sleep. The phone itself does though, it just does not manage to turn the screen back on. It produces a few DSS-related errors in dmesg and, if prodded enough, restarts the display subsystem (and with that most of Android). This has been the case from several months ago when I first built a 3.0.8 release. It happens both on homebrew as well as on Quarx' build. It surprises me that nobody has mentioned anything about this obvious problem so I start to wonder whether it is 'just me'...
[Defy Android Development] TJKV:
That happens to me on Slimbean with 3.0.8 too, so not a 'just you' :)
[Defy Android Development] Codeseven:
Issue that I'm having with the 2013/11/04 test build is, if I let my phone go into sleep mode, it never comes back on. as though theres a huge wake delay.

Also I'm having trouble with wifi, it doesn't seem to want to connect or stay connected. Anyone know about this? I used the defy ultimate wipe (system, data, cache) before installing the builds.

*edit*

This is all happening during the initial setup btw.

once I'm passed the setup, if i let the phone go to sleep, the screen still doesn't want to come back on. even after turning off widget pager. Also my battery gets very hot when it's supposed to turn the screen back on.
[Defy Android Development] TJKV:
Read two posts above yours ;)
[Defy Android Development] Codeseven:
Derp..... The spiel about the buggy bluetooth kept me from reading that...

[MENTION=1316716]YetAnotherForumUser[/MENTION].

No, you're not the only one! But in addition to your description, my battery begins to really heat up.
[Defy Android Development] defim:
What about a kernel 3 thread? Tracking problems would be easier. Or will all builds now be with it?
[Defy Android Development] okij:
Thanks for this interesting finding! I added a note about it to bug #1 of the bug list and really hope that it helps the devs in fixing the BT related bugs! :)

+1 for me.
[Defy Android Development] bonedriven:
I just wanna say, after applying the patch in this thread about the wifi battery drain problem,

I have more frequent battery drain instances.

So don't use that patch, at all.
[Defy Android Development] starbright_:
I would agree that it make sense to open a thread just for this.

Is GSM and G3/data working with that? I couldn't found this neither on the go nor on the no-go list.
[Defy Android Development] overclockthesun:
[MENTION=513620]Quarx[/MENTION], [MENTION=4855459]Blechd0se[/MENTION]

Well, I don't know if I am the only one who is facing this problem, but the "Allow purgeable assets" bug has come back to haunt me again :crying:

This time after a fresh sbf flash, I had not installed Xposed framework. But apparently its back and won't go away.

My screen refused to wake up after sleep yesterday evening and after trying for around 10mins I had to pull the battery.

Now a restart later, the option is selected and no matter what I try, it just refuses to go away! My phone is so laggy, there is no point in even booting it.:rolleyes:

Please help me out.
[Defy Android Development] Blechd0se:
Yes there is still a bug there, also the screen "distorts" for some milliseconds when coming from suspend for me.

Thats a bug and we will investigate it :)

The problem is the proximity sensor, it causes those reboots. Anyway at this point of time there is no point at

making calls, since audio won't work :)

Well, i don't know whats wrong. Maybe a CM-Bug or something else.

I was busy the past days, so i couldn't jump on the 3.0 train, but now i have more time and already did some commits (i will focus mostly

on performance and stability). Our 2.6.32 branch seems more or less stable for me. I did some commits a while back for this ehci_pm bug

and updated the ondemand governor (it has a input_boost like interactive). I guess its time to shift over to 3.0 since Quarx did a

awesome job there. There are still some problems left and i need to learn how this generic kernel works :)

At least we got rid of many moto crap and there are many possibilities with this new kernel.

For all of you, which encounter problems; these are expected. Its not stable yet, its more like an alpha.

We are working on this. If you want to help, send us logs, here is a good guide how to get them.
[Defy Android Development] DEFIER:
Defy XT 535

Hi Guys,

Though I googled I could not find any thing definitive on CM10.X for DEFY XT. Any one knows if XT can be upgraded to CM10?

My defy+ has been on CM10 for over an year now and I love it.

Just wanted to get the same for my dad's XT.
[Defy Android Development] hotdog125:
I don't think so. You can search Google for it though, there may be Chinese sites with ROMs for the XT.
[Defy Android Development] overclockthesun:
I was just searching for your log guide....luckily you posted it ..... Thanks a lot.

[MENTION=513620]Quarx[/MENTION] and [MENTION=4855459]Blechd0se[/MENTION] ... got some update on the "Allow Purgeable assets" bug.

I started backtracking myself and realised I stopped using certain apps to counter this problem.

PimpMyRom, Xposed Framework, Seeder and a nagging doubt about Crossbreeder.

I just hit me, the one thing in common with all these apps is that they all have an option to change Entropy values to 4096. But why does this happen?

I just flashed the Crossbreeder uninstall zip file and the "Allow purgeable assets" box is unticked again:confused:

I never had a problem changing entropy values on previous builds aka 4.1 and 4.2. This seems peculiar only to 4.3. I wonder why.

For the moment, the weird bug has disappeared, but I will keep an eye on it and possibly flash crossbreeder again to just observe the changes if any.

The only other script I know of that can change entropy values is v6supercharger. Maybe I will give that a try too to check out the possible outcome.
[Defy Android Development] YetAnotherForumUser:
bug: phone pin-code entry widget highlighted, not responsive on boot

Here's another bug I noticed (on both kernels): on boot the PIN entry widget is highlighted but it does not work - touching the screen produces haptic feedback but no digits are produced. Eventually the screen times out, darkens and switches off. Pressing the power button (or volume buttons if so configured) wakes up the phone, this time with a functional PIN entry widget.

I have both a SIM PIN as well as a phone PIN set, the problem might not appear when only one code is required.
[Defy Android Development] TJKV:
Just fyi, if you use any of those tweaks you shouldn't be posting bugs here. Its good practice to first clean flash without any tweaks/apps, see if they are still present and then report.

Sent from my MB526
[Defy Android Development] okij:
Thanks for reporting, I just added it to the bug list.

Since I have just the phone PIN, but not the SIM PIN enabled, this bug doesn't appear on my Defy.

Therefore disabling the SIM PIN can be used as a workaround for people who don't need this extra security. ;)
[Defy Android Development] overclockthesun:
Always clean flash. I always do that first. All observations are after a clean flash. for each and every one of those apps.
[Defy Android Development] Benoe:
Quickly checking that report, it is mainly about A2DP (uni-directional 2-channel stereo audio) play, and it's quality. (lower default bitpool value causes lower sound quality)

However A2DP play works in CM10.2, and in the CM sources they already modified that default bitpool value.

The problem in Quarx' build is seems to be with another BT profile: Headset Profile (HSP) or Hands-Free Profile (HFP). These are the ones what are used for two-way voice calls, where the audio is mono and the bit rate is lower than in A2DP (using different codecs).

And I think there is also an audio routing issue, otherwise why would an active BT connection mute phone calls on other outputs (earpiece and speaker)
[Defy Android Development] Husi10:
I can confirm A2DP works great. I play music from my phone on a BT adapter of my hi-fi system. Sound is clear, no interferences.
[Defy Android Development] Codeseven:
Not sure if this is important, but it caught my attention while swimming through the code.

https://github.com/Quarx2k/jordan-kernel/commit/37b333b9d57fbe54df88387a9867af74987116fb

kernel/power/Makefile line 19 has a "No newline at end of file" icon.

Just thought I'd share.
[Defy Android Development] YaPeL:
nice catch, but is just a warning.
[Defy Android Development] niksy+:
[MENTION=4855459]Blechd0se[/MENTION] [MENTION=513620]Quarx[/MENTION] Guys, why not disable proximity sensor for the time being? That can be done somehow in the system as far as I know... That way we could at least still have the feature of "buzzing" people :) And, who knows, maybe the audio drivers will be sorted before the proximity sensor ones...

I know there have been "disable proximity sensor" patches floating around for the people who had troubles with their proximity sensors that would wake up the screen when needed etc, so I guess it is possible and why not do it, for now, at least :) Just a suggestion...

Cheers, everybody :)

I love how the exciting days of the DEFY development never end! Can't wait for KitKat :) We should definitely make sure that that gets to the XDA Portal, our devs and our device deserved it :)
[Defy Android Development] YetAnotherForumUser:
You don't need a patch to disable the sensor, just unbind the driver from the hardware:

# echo "1-0044" > /sys/bus/i2c/drivers/isl29030_als_ir/unbind

To enable the device you can bind it to the driver - this could be another driver than the original which makes it easier to test by creating a new module with a different driver name (unbind original driver, load new driver module, bind to new driver, test, unbind, unload, change module, upload, rinse, repeat):

# echo "1-0044" > /sys/bus/i2c/drivers/isl29030_als_ir/bind
[Defy Android Development] Quarx:
Android 4.4 running on Motorola Defy:)
[Defy Android Development] level_666:
Amazing! From what i see in the screenshots, you have GSM and USB working! that was fast!
[Defy Android Development] T_Pratik:
Holla!! This is what called as DEVELOPER level 'EXPERT'
[Defy Android Development] Prowler:
Holy crap!!!!

Alpha build almost please Q! :B
[Defy Android Development] navinshark:
Awesome

OMG!!!!!!! ur really super fast :)
[Defy Android Development] sunil_defy:
I heard 4.4 is meant for devices with atleast half a gig of RAM. I believe they are talking about defy.
[Defy Android Development] dkv2222:
Please tell me the Google experience launcher is there. N not the one you're using. :eek:

PS that was fast. Is it smooth?
[Defy Android Development] thekguy:
Launchers can be easily changed:)

Great job Quarx, fingers crossed for in call audio
[Defy Android Development] overclockthesun:
[MENTION=513620]Quarx[/MENTION]

Have you managed to get the new "Google Experience" launcher working?

I pretty much have all 4.4 apps working except Drive on my 4.3 working right now.

the new launcher works flawlessly with our 2.xx kernel.... no FC's on Google now. Hope to see it on the 4.4 rom for our Defy.:)
[Defy Android Development] dkv2222:
Does the OK Google command work too?

And also for me it consumes a hell Lotta battery.
[Defy Android Development] Gianluca85:
For help quarx's project use link for Donate in first post.

Man your job is great
[Defy Android Development] overclockthesun:
Ok Google worked the first few times including a few reboots I did to test out my "Allow purgeable assets problem. Then I went ahead and changed my language to English (India) and lost it :crying:. Apparently, for it to work properly, we need the Offline Voice recognition files...... I tried linking it using the guide in the offline voice recognition thread here, but it doesn't work. :(

Battery drain is not a big thing for me. hardly any drain.... works perfectly fine here. The new launcher is super fast though!

[MENTION=513620]Quarx[/MENTION] The new Chrome has a lib size of around 32mb, tried replacing it on our current 4.3, but there wasn;t enough space on the system partition. Had to delete almost everything from the /media folder. Google Now is quite fast but we will need offline voice recognition.
[Defy Android Development] Fight4Music:
For GE Launcher, install this 3 Apk's an you're happy :)

On first install it doesn't worked for me - i needed to install the apk's twice and then it worked - but test by yourself ;)

And no - i don't tested "ok google" or the google search^^

Direct downloadlinks

http://files.androidpit.info/content/APK/KitKat/PrebuiltGmsCore.apk

http://files.androidpit.info/content/APK/KitKat/Velvet.apk

http://files.androidpit.info/content/APK/KitKat/GoogleHome.apk

Screenshot:

http://img.tapatalk.com/d/13/11/05/thumbnail/py2eta4a.jpg

Thanks @ Fufu2 from Android-Hilfe.de for this Screenshot

Also tested by me with CM10.2, it's working well :)

And for more KitKat experience you can use this:

https://play.google.com/store/apps/details?id=com.AJ.theme.kitkat

Also working well ;)
[Defy Android Development] lulli1:
hello together. just read your disscussions about bt audio bug.

i'm a milestone2 user, and this bug is the reason, that keeps me away from using czechops cm10.2 based on quarx's. but i'm using a different cm10.2 (4.3.1) from engle_mars. he managed it, to fix this issue. a good idea would be asking him, how he did this, wouldn't it? just a hint! i would love to use quarx's work and czechops, if they solve this. :D
[Defy Android Development] irekd:
This is the engle_mars thread: http://xdaforums.com/showthread.php?t=2394449

and it seems he doesn't use GitHub as of now (engle_mars citation: Sorry that I am not use github now. I will merge it to github in the future.),

but he has provided another git storage sf.net clone link. Here it is:

git clone git://git.code.sf.net/p/me722-cm/code -b CM-10.2

Let's see what's in there...
[Defy Android Development] Quarx:
engle_mars use old bt stack in 4.2/3, backported. If someone can provide patches, i can use old stack too, untill new no fixed.

Btw, 4.4 works good. Soon build;)

Screenshot, when tap many times on Android version:)
[Defy Android Development] Shubhamqweasd:
wow, 4.4 with 2.6 kernel is something to be appreciated :D nice work :D

quarx is it smoother than 4.3 ??
[Defy Android Development] triovi:
I think is time for a new thread for 4.4. Quarx please make the honour.
[Defy Android Development] Quarx:
[MENTION=4148472]Shubhamqweasd[/MENTION], you will see, smoother or not:)

Google trolls, last screen of 'Android Version" taps. Icons can be moved on tap.
[Defy Android Development] imharshadpatel:
these moments are more exciting then the launch of kitkat some days ago. Refreshing the page every minute. WAITING FOR BUILD LINK.
[MENTION=2718378]Qurax[/MENTION]

THANK YOU SO MUCH FOR YOUR EFFORT TO MAKE OUR DEFY "IMMORTAL"

Donate to qurax
[Defy Android Development] :
It would be really great if BT would work.
[Defy Android Development] xdaid:
Don't get confused, GE launcher is part of Kitkat's GApps, not Kitkat itself.

Thank you Quarx, again and again :)

Btw, i'm trying to download your kitkat repo but as soon as i type 'repo sync' a bunch of errors show up. Is it too early right? or am i doing something wrong?

repo init -u git://github.com/Quarx2k/android.git -b kitkat
repo sync
[Defy Android Development] Prowler:
Lol

http://www.androidpolice.com/2013/1...s-5-wont-come-to-other-devices-any-time-soon/

Enviado desde mi GT-I9300 usando Tapatalk
[Defy Android Development] Quarx:
Manifest not ready:)
[Defy Android Development] Quarx:
[MENTION=4148153]TJKV[/MENTION], i fixed this errors, will push soon all changes to repo and new SGX PVR libs.
[Defy Android Development] Shubhamqweasd:
new pvr libs ?? pvr still supports sgx 530 :D ???

btw , what binaries we r using ? the 4.1 one ?? or even older ??
[Defy Android Development] overclockthesun:
[MENTION=513620]Quarx[/MENTION] I do hope you release both the 2.xx version as well as the 3.0.8 so e can keep the testing of the new kernel going on

[MENTION=5198834]Prowzak[/MENTION]... Thats no problem. We already have the Google home apk and everything else we need to run the new launcher :D
[Defy Android Development] kryzeK:
Without making ETA, but the first build Kit Kat only needs to be uploaded?

Enviado de meu Nexus 4 usando Tapatalk
[Defy Android Development] Benoe:
And I do hope that Quarx won't abandon CM10 at least till the BT problem is solved in CM10+
[Defy Android Development] Quarx:
http://xdaforums.com/showthread.php?p=47185185 4.4 Thread
[Defy Android Development] okij:
I just added the links for the new information about fixing the BT problems to bug #1 on the bug list. IMHO this is great news, because the BT issue is the only bug that keeps some of us from using CM10.2 yet (and will soon keep them from using KitKat). :D

[MENTION=4855459]Blechd0se[/MENTION], [MENTION=4841764]SlugZero[/MENTION] and [MENTION=1316716]YetAnotherForumUser[/MENTION]: Could you please have a look at engle_mars' git clone (git://git.code.sf.net/p/me722-cm/code -b CM-10.2) to find the according patches?

[MENTION=4877702]Engle_Mars[/MENTION]: Or could you give us / Quarx a hint to your patches that made the backported BT stack work under CM10.1 / CM10.2?

Many thanks in advance! :) I hope that we get the BT bug(s) sorted out on the Defy soon. :fingers-crossed::highfive:
[Defy Android Development] inarush:
Nice news, Quarx! Thanks for the extra effort!

Are you going to stop working on 4.3 and previous versions? I mean, do you think 4.4 will solve the issues some guys have in Defy(+), for example bluetooth?
[Defy Android Development] bonedriven:
Maybe I am alone but I hope for fix for this build rather than starting other build with more bugs and we can never have a stable build.
[Defy Android Development] feversanj:
I flashed 30oct nightly.but when I click on video recording nothing happens.but when I change resolution to 420p it records video.can any one give me link to working camera app.
[Defy Android Development] cupioscire:
In my opinion a intensive development on Android 4.4 and with that less development on cm 10.1/2 would be probably better, because kitkat is optimized for lower end devices. Maybe kitkat could be the first STABLE build for defy since gingerbread.

Gesendet von meinem XT890 mit Tapatalk
[Defy Android Development] hotdog125:
Do you have a green lens defy?
[Defy Android Development] feversanj:
yes I have green lens defy...
[Defy Android Development] hotdog125:
Green lens defy can't record 720p. Maximum 480p can be recorded. By default 720p is enabled, so I guess that's why nothing was happening.
[Defy Android Development] atulclassic:
anyone facing issues with compass calibration..device hangs up and reboot.
[Defy Android Development] alonmore28:
what kernel do i install with this rom? i have a defy (not plus)
[Defy Android Development] thekguy:
No additional kernel
[Defy Android Development] Fight4Music:
Kernel come with the rom, no need to install another kernel :)

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Defy Android Development] :
Quarx, will there be a new build with some of the bugs fixed? I would be happy if the torch tile missing bug would be fixed... I think its the only rom at this time that can be used for daily usage.
[Defy Android Development] defim:
[MENTION=5260293]Hadschi92[/MENTION] That happens most time "when it's done" :D
[Defy Android Development] Antiga Prime:
Is anyone having trouble with the phone not waking from sleep?

I haven't been on CM for a while because of this, figured it might be different this time around, but no luck. I've had to pull the battery 5 times since I flashed this morning.
[Defy Android Development] Blechd0se:
Hello guys,

this will probably my last 2.6.32 kernel nightly :)

I am fully focused to bring 4.4 and 3.0 happy together and i recently made some nice commits, which i thought are also suitable for 2.6.32.

While you are waiting on something "more" stable, you can grab this nightly and discover some new features.

Changelog;

Display Color Control

Dynamic Writeback Control

Min RAM Control

While fixing the display for 3.0 i saw that there are differences in display color for defy red/green. So i made a simple

sysfs-entry to control those.

With dynamic writeback control you can enable or disable when dirty pages should be flushed more frequently or not.

Min RAM control is a simple switch for a extra free kbytes tunable. It defines how much true free ram your device should keep.

Its part of googles 4.4 kernel release :)

I made a list to explain those features a bit more on the 3.0 Thread.

I also updated my AeroControl to support those new kernel changes for 2.6.32/3.0.8. You can also easily make a backup with the App of your current kernel.

If you can't install the app, move the downloaded app to /data/app/ and rename it to com.aero.control-1.apk

also set permissions to rwrr and reboot.

The zip should work also on CM11/AOSP 4.4.
[Defy Android Development] coolshahabaz:
I am on 30.11.2013 build and video recording is working fine I can record videos at 720p by both default camera app n by LG _ camera. Check your installation!

---------- Post added at 08:48 AM ---------- Previous post was at 08:45 AM ----------

Those who want stable build they can stick to [MENTION=513620]Quarx[/MENTION] cm10 and wait for any of the higher build to get stabilized.... Btw I think This cm10.2 will get stable in coming 2 or 3 nightlies (^_-)
[Defy Android Development] defim:
Beside BT it is!
[Defy Android Development] bonedriven:
In fact this 4.3 build is the best rom I've used so far except for some kinda deadly bug "random battery drain when wifi on", phone muted randomly (sometimes even when bt is off). Other than that, this rom is super fast for me yet has relative long battery life (when the wakeup bug doesn't occur) compared to other builds in my experience.
[Defy Android Development] Hasuris:
thx [MENTION=4855459]Blechd0se[/MENTION] & quarx for your hard work! I support the decision to stop work on 4.3 for the time beeing. 4.3 is polished enough to keep me happy till 4.4 is ready to step in as a daily driver. The main issues I have with 4.3 can't be fixed anyway (it's too darn slow... every post cm7 build is :-/ ). There were times, when I was ready to give up on my good old defy but after seeing what 4.4 can do to my nexus7 I am eager to give it another round or two with something new and shiny under the hood :)

Funny thing is, the older the defy gets, the more interested looks I get, what a tiny beefy (with mumbi cover) cute phone I got and how long the battery lasts :cyclops:
[Defy Android Development] roytam1:
does this kernel work with CM10(Android 4.1.2)?