[JB+] CM10.2 Android 4.3 for the Defy(+)

Search This thread

Quarx

Inactive Recognized Developer
Jun 19, 2007
1,322
18,790
32
Omsk
www.quarx2k.ru
Android 4.3 Jellybean for Defy and Defy+

Gapps: http://xdaforums.com/showthread.php?t=2296931

Download Link: http://quarx2k.ru/cm10.2-nightly-defy+/
Mirror: http://d-h.st/users/Quarx/?fld_id=22062#files
http://defy.bytekiste.de/

Version for Motorola Bravo: http://quarx2k.ru/cm10.2-nightly-bravo(kobe)/ + mirror http://d-h.st/users/Quarx/?fld_id=22063#files

Problems

30.07.13: First Build. Works almost all. ;)
01.08.13: Fix "Unknown" bug. Fix 1% battery. Dialer included, VideoEditor removed.. Backup gapps disabled(to prevent reboots during install rom).
17.09.13: Focal Restored, Ability to OC GPU(without gui yet), added patch for Data, DefyParts, 720p rec(bugged), Support HWUI app, Minimum brightness 2, Wide poho added.
20.10.13:720p rec, Fix HWUI app, use thoemy wpa_supplicant, Call Recording, LTO support, many fixes and improvements in kernel, gpu 266mhz by default, Fix arrows that indicate upload/download activitiy at Wifi and mobile connections.
30.10.13: Fixes in kernel, Added two new options for ril "emptycallchanges" and"skipdatareg" (disabled by default), journal on ext enabled by default, fix reboots in recovery(not tested), updated twrp.
BT headset not fixed
GPU Freqs:
266666666 = 266mhz OCed.
200000000
133333333
100000000
66666666
33333333
16666666
echo %freq% > /proc/gpu/max_rate

3.0.8 kernel Project:
USB, Wifi, BT, Sound(Only speaker), GPS, Phone(ussd/sms/data), Full HW Video decoder(720p also), initial OTG support.
TODO:
1. Improove sound lib (support headset, bt-headset, in-call sound etc)
2. Improove stablity of kernel().
3. Need check voltage formula for cpu
4. Add camera drivers, (from moto or opensource driver?)
5. Fix otg.
6. Fix proximity sensor(cause reboots)
Screenshots
Test Builds:)

If you liked this project, you can donate :)
Donate to Quarx
PayPal: quarx@yandex.ru
---------------------------------------
Donate to Blechd0se
PayPal: alex.christ@hotmail.de

F.A.Q
 

Attachments

  • device-2013-07-30-220525.jpg
    device-2013-07-30-220525.jpg
    24.5 KB · Views: 27,940
  • device-2013-07-30-220539.jpg
    device-2013-07-30-220539.jpg
    16.1 KB · Views: 23,493
  • device-2013-07-30-220549.jpg
    device-2013-07-30-220549.jpg
    16.6 KB · Views: 23,165
Last edited:

TJKV

Senior Member
Jun 25, 2011
1,927
2,747
I don't see any official nightlies or betas/alphas CM10.2 for even Nexus 4...but we already have a build? Hah who needs official! And no gapps it seems, I'll see if I can get it from the stock dump somewhere..

Okay Nexus 4 has an unofficial CM10.2 too, here.
Also gapps for 4.3, this might work for now?

EDIT: Okay slimmed it down from some 170MB down to around 19MB as it now replaces the keyboard in the ROM with one where swipe works without crashing it. Once the ROM's keyboard is fixed my gapps can go back down to around 9MB :p here :)
 
Last edited:

ccav2000

Senior Member
Dec 19, 2010
2,057
1,122
Manga Cafe
Google Pixel 6 Pro
By the way, I took a look at the size, it's 184MB for this nightly, quite big for our limited system partition. We started having problems with cm10.1 already having to resort to minimal gapps, to successfully install cm10.2 plus gapps (when gapps are officially released) will require a considerable butchering of the .zip.

Sent from my Nexus 7 using xda app-developers app
 
  • Like
Reactions: ela1103

TJKV

Senior Member
Jun 25, 2011
1,927
2,747
To add to @TJKV Gapps suggestion

Another one here ---> http://xdaforums.com/showthread.php?t=2378992
@Quarx is the new Focal camera included?? Would it conflict with the Camera in the Gapps package?

Hmm yeah, but looks like mine is the minimal version as usual :p
But I'll download this first to make sure we don't miss anything. Then I'll see if I can make a proper defy worthy minimal version...
Looks like I ran out of thanks to give out for today just before Quarx opened this thread, and my defy is in a limbo testing SB so can't use the xda app -_-
 
Last edited:

niksy+

Senior Member
Jan 16, 2012
1,357
1,082

niksy+

Senior Member
Jan 16, 2012
1,357
1,082
flashed with twrp , rebooted in middle of flash :( ..
had to flash sbf again , agn flashed with twrp and again it rebooted in middle of a flash ...
now again flashing sbf :(
man i hate twrp recovery :(...
is there any cwm 6.x for defy ??

When you enter TWRP, wait a while before you do anything :laugh: Go through the menus a bit and if it doesn't reboot in ~20secs it most likely won't reboot until you tell it to :) That's my strategy with TWRP, at least, and it serves me well that way :cowboy:
 

itsnotmeatall

Senior Member
Dec 2, 2012
247
178
Bombay
Can I install 4.3 without factory reset/data wipe over 4.2.2 (Quarx's CM10.1 July 9 build?)

Before anyone sneers at me for being a n00b, let me hasten to clarify that I did install 10.1 - when it first came out - over CM 10 without a factory reset and my Defy managed to work fine from then to now (in fact I had a lot fewer problems than most people who were reporting).

What is more, a few days ago when I decided to factory wipe and install one of the July builds afresh, I ran into so many problems that I had to restore a nandroid backup and go back to my non-factory-wiped state.

So, can I? Has anyone done it?


Oh, and Quarx, you defy belief, man. :cowboy:
 
Last edited:
  • Like
Reactions: macikiller

Top Liked Posts

  • There are no posts matching your filters.
  • 419
    Android 4.3 Jellybean for Defy and Defy+

    Gapps: http://xdaforums.com/showthread.php?t=2296931

    Download Link: http://quarx2k.ru/cm10.2-nightly-defy+/
    Mirror: http://d-h.st/users/Quarx/?fld_id=22062#files
    http://defy.bytekiste.de/

    Version for Motorola Bravo: http://quarx2k.ru/cm10.2-nightly-bravo(kobe)/ + mirror http://d-h.st/users/Quarx/?fld_id=22063#files

    Problems

    30.07.13: First Build. Works almost all. ;)
    01.08.13: Fix "Unknown" bug. Fix 1% battery. Dialer included, VideoEditor removed.. Backup gapps disabled(to prevent reboots during install rom).
    17.09.13: Focal Restored, Ability to OC GPU(without gui yet), added patch for Data, DefyParts, 720p rec(bugged), Support HWUI app, Minimum brightness 2, Wide poho added.
    20.10.13:720p rec, Fix HWUI app, use thoemy wpa_supplicant, Call Recording, LTO support, many fixes and improvements in kernel, gpu 266mhz by default, Fix arrows that indicate upload/download activitiy at Wifi and mobile connections.
    30.10.13: Fixes in kernel, Added two new options for ril "emptycallchanges" and"skipdatareg" (disabled by default), journal on ext enabled by default, fix reboots in recovery(not tested), updated twrp.
    BT headset not fixed
    GPU Freqs:
    266666666 = 266mhz OCed.
    200000000
    133333333
    100000000
    66666666
    33333333
    16666666
    echo %freq% > /proc/gpu/max_rate

    3.0.8 kernel Project:
    USB, Wifi, BT, Sound(Only speaker), GPS, Phone(ussd/sms/data), Full HW Video decoder(720p also), initial OTG support.
    TODO:
    1. Improove sound lib (support headset, bt-headset, in-call sound etc)
    2. Improove stablity of kernel().
    3. Need check voltage formula for cpu
    4. Add camera drivers, (from moto or opensource driver?)
    5. Fix otg.
    6. Fix proximity sensor(cause reboots)
    Screenshots
    Test Builds:)

    If you liked this project, you can donate :)
    Donate to Quarx
    PayPal: quarx@yandex.ru
    ---------------------------------------
    Donate to Blechd0se
    PayPal: alex.christ@hotmail.de

    F.A.Q
    120
    3.0.8

    Some good news about 3.0 kernel:)
    WiFi now works:)
    Modem almost done. Big thanks to @czechop, he found why modem not respond:) And after some fixes in android, we got this:

    Don't know why thread was closed, but now ok:)
    92
    Android 4.4 running on Motorola Defy:)
    73
    Kitkat soon, but for now, new test 3.0 build uploaded:)
    72
    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 @Quarx, @Blechd0se, @SlugZero 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:
    1. 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:
    2. BT will not work, if FM is enabled: Still existent (AFAIK, because I didn't try it)
    3. 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.
    4. 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:
    5. 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.
    6. Mobile data drops: This has been solved by courtesy of SlugZero. :)
    7. Missing "Defy Parts" settings: This has been solved by courtesy of Quarx. :)
    8. Missing capability to disable HWA for apps: This has been solved by courtesy of Quarx and TJKV. :)
    9. Missing arrows that indicate upload/download activitiy at Wifi and mobile connections: This has been solved by courtesy of SlugZero. :)
    10. Mobile data counter apps don't work with CM10.2 yet: This has been solved by courtesy of SlugZero. :)
    11. 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. ;)
    12. 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.
    13. "ehci_pm" is causing battery drain due to wakelocks: This has been solved by courtesy of Blechd0se. :)
    14. Wifi list in the setting page will not update when pressing scan: This has been solved by courtesy of SlugZero. :)
    15. System returns only 00:00:00:00:00:00 as BSSID (MAC address of the router): This has been solved by courtesy of SlugZero. :)
    16. Log is spammed by BATTD when Defy is connected to wall charger: This has been solved by courtesy of YetAnotherForumUser. :)
    17. 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.
    18. After suspend/resume the governor can't be changed (if started from interactive): This has been solved by courtesy of Blechd0se. :)
    19. (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:
    20. Wifi tethering is not working on 10-20 nightly: This has been solved by courtesy of SlugZero. :)
    21. 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. :)
    22. 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.
    23. 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.
    24. 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.
    25. 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.
    26. 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. :)