[Defy Android Development] okij:
Update to known bugs for the 10-30 nightly of CM10.2 for Defy(+)

Here is my update for the 10-30 nightly, as an information both for the Defy users and for [MENTION=513620]Quarx[/MENTION], [MENTION=4855459]Blechd0se[/MENTION], [MENTION=4841764]SlugZero[/MENTION] and the other devs for the further development of CM10.2.

FYI: I keep a history of known bugs with CM10.2 for the Defy(+) of the older nightlies here for reference purposes (as some now solved bugs contained links to other posts which might still be useful for the devs).

To distinguish the solved bugs from the others, I now decided to mark them in three different ways:

Bugs that are written normally are not solved yet.

Bugs that are written in brackets have already a fix (e.g. a flashable zip) which hasn't made it into the current nightly yet. Please note that some of these fixes still need some more approval.

Bugs that are struck out are already fixed in the current nightly.

Now for the bugs:

BT-headset has problems: Still existent, but maybe not with all models. Edit1: YetAnotherForumUser posted a patch here which is necessary to get the current repo to build in terms of BT, but this patch doesn't solve the known BT issues. Edit2: SlugZero posted here that the usage of the BlueZ stack (when its finished) might solve the BT issues and Benoe pointed here to a commit (code cleanup) on Quarx's github that might be related to the BT issues. Edit3: YetAnotherForumUser wrote about an interesting code.google.com thread concerning the BT audio bug here, including suggestions how it might be solved, and Benoe gave some feedback here after checking that thread. Edit 4: As lulli1 wrote here, engle_mars managed to fix this issue on the milestone2 builds. irekd provided the links to the milestone2 thread and to engle_mars' git clone here. Quarx wrote here that he can fix the issue (by using the backported BT stack for the Defy too) if someone can provide the according patches. :D:fingers-crossed:

BT will not work, if FM is enabled: Still existent (AFAIK, because I didn't try it)

Video recording is not good: This has been solved and even 720p video recording is finally working under CM10.x by courtesy of Quarx! :good::) In my experiences recordings are working well with the build-in CM10.2 camera app and the default video settings, whereas with other apps (I tried lgCamera and Camera ICS+) the sound might get cut off before the end of the video.

Memory leak after some days: This bug is not totally solved yet, but got much better under CM10.2 and thanks to Blechd0se's efforts in fixing those leaks. With this I ran the 08-01 nightly for 14+ days and daFlox reported an uptime of 800+ hours = 33+ days! :D For some users, this bug also leads to the device not waking up from deep sleep after 2-3 days, as arod81 and TJKV reported here and here. Blechd0se wrote here that there are still some memory leaks left and that he will further investigate this. :fingers-crossed:

Delay on wakeup: This is solved. :) If people still have problems with it (i.e. if it takes more than 1 second), I recommend to turn off multiple lock-screen pages and the the lock-screen camera feature in Settings.

Mobile data drops: This has been solved by courtesy of SlugZero. :)

Missing "Defy Parts" settings: This has been solved by courtesy of Quarx. :)

Missing capability to disable HWA for apps: This has been solved by courtesy of Quarx and TJKV. :)

Missing arrows that indicate upload/download activitiy at Wifi and mobile connections: This has been solved by courtesy of SlugZero. :)

Mobile data counter apps don't work with CM10.2 yet: This has been solved by courtesy of SlugZero. :)

The app switcher previews sometimes don't work correctly: This minor bug has already been solved for CM10.2 and CM11, as struq writes here and here. :) In some rare cases it might still occur, but we shouldn't distract our developers with it. ;)

Sometimes the IMEI isn't present after booting: This bug exists since CM10 or at least since the first custom kernels. As a workaround, doing a Hot Boot with some Rebooter app from Play Store helps in restoring it quickly. Nevertheless I would be happy if this bug could be fixed, since some apps like MyPhoneExplorer and Navigon need the IMEI to work.

"ehci_pm" is causing battery drain due to wakelocks: This has been solved by courtesy of Blechd0se. :)

Wifi list in the setting page will not update when pressing scan: This has been solved by courtesy of SlugZero. :)

System returns only 00:00:00:00:00:00 as BSSID (MAC address of the router): This has been solved by courtesy of SlugZero. :)

Log is spammed by BATTD when Defy is connected to wall charger: This has been solved by courtesy of YetAnotherForumUser. :)

Handset mic, earphone and speaker all muted during calls if BT enabled even when not connected to any BT device: I added this bug to the list as requested by bbstrikesagain here. It might be related to bugs #1, #2 and #23.

After suspend/resume the governor can't be changed (if started from interactive): This has been solved by courtesy of Blechd0se. :)

(Data partition corruption bug): This serious bug - which also exists in CM10 and CM10.1 - occurs when the battery goes to 0%. It is easily repoducible, as described by Proverbs2 here. SlugZero posted an explanation for this bug and a manual fix (using ADB in recovery) here. Quarx enabled journal feature during install rom and journal in format script , so "has_journal" is enabled by default from the 10-30 nightly on. :) Even though Proverbs reports here that this bug obviously is not completely solved by enabling "has_journal", having it enabled is still a good idea, as it might at least decrease the possibility or frequency for this bug. Now that "has_journal" is enabled by default thanks to Quarx, more tests and feedback by other users are much appreciated! :):fingers-crossed: Edit1: hotdog125 reported here that he successfully tried deleting accounts.xml to keep data intact, as was suggested by phirsch here. Edit2: As Proverbs2 reports here, this bug obviously gets solved if Dynamic FSync is disabled with Blechd0se's Aero Control. :D However, since Dynamic FSync gets reactivated automatically when booting, this workaround has to be done manually after every reboot, until Dynamic FSync gets disabled by default by the devs. Edit3: I made a flashable zip of the kernel from 11-24 which has Dynamic FSync disabled by default to fix this bug. :) Edit4: Proverbs2 confirms here (after doing many positive tests) that this bug finally is solved by disabling Dynamic FSync. :good::victory:

Wifi tethering is not working on 10-20 nightly: This has been solved by courtesy of SlugZero. :)

Torch tile is missing in Quick Settings: This bug was reported by major9 here and confirmed by atulclassic and justjr here and here. If you updated from a previous nightly and the torch tile was already in your selection, you can still use it, but when you start with a fresh installation, the torch tile is missing and cannot be added to your selection because of this bug. Edit: Here struq points to a commit on czechop's GitHub which fixes this bug. :)

Apps like CPU Spy and No-frills CPU Control don't show the correct CPU frequencies and their usages: This bug has been reported by habbinfo here and confirmed by Hasuris and me here and here. This bug started with the first custom kernels for the Defy, about one year ago. I assume that some software interface inside the kernel for reading the frequencies must be buggy, because it doesn't report the correct frequencies if they have been changed by SetVsel or Aero Control. Edit: You find some more info to this bug here.

Connecting to a BT keyboard works, but writing with it is not possible: This bug has been reported by Hadschi92 here and confirmed to me by wirespot via private message, because he can't post to the dev sections yet. It might be related to bugs #1, #2 and #17.

Phone PIN-code entry widget highlighted, but not responsive on boot: This bug has been reported by YetAnotherForumUser here. In my experiences this doesn't happen if you just have the phone PIN, but not the SIM PIN enabled, so as a workaround you can disable the SIM PIN (if you don't need this extra security) until this bug is solved.

Connection with built-in VPN function is not working: This bug was reported by walkunder here and here and confirmed to me by F.Zwarts via private message. As ithakaner wrote here, in comparison OpenVPN (pkn=de.blinkt.openvpn) is working fine.

Mute button is not working: This bug was reported by kodak here and confirmed by ezantera and desihu.

So this is my updated summary. Please feel free to add other noteworthy bugs to it. :cowboy:

As I already wrote in my previous summaries, CM10.2 IMHO is already running much better and more stable than the CM10 and CM10.1 releases for the defy :good::good:, so I would recommend it for everyone who can live with the known bugs. :)