[Kitkat][Nightlies] CM11 Android 4.4 for the Defy(+)

portsample

Senior Member
May 13, 2009
111
33
48
Painlessly installed cm-11-20141028-NIGHTLY-mb52x on my spare phone, almost.

I just got a used MB526 on eBay to have as a spare phone. I dropped in the SIMM card from my daily driver MB526 phone and went through the process of rooting the phone and installing the new bootstrap.zip and resize.zip files and then the most current ROM on Quarx's server. This worked very slick with no hitch until the final boot when I was met with a message that said, "Enter PUK" followed by an "Unlock" and a "Dismiss" button. I have never needed to enter a PIN or password for my service provider, so I don't "think" that this is my SIMM card causing the problem. What is the solution to this? Thanks.
 

Moto1987

Member
Oct 22, 2013
45
7
0
lost imei

hello, every time when i flash the newest rom my imei is lost. i can only solf this problem with wipe data and system in twrp. is there any other solution? is there any app that can backup my imei?

thanks
 

walter79

Recognized Developer
Dec 18, 2006
4,100
4,618
263
Way to fix low /data space!

Solution:

Mount a 2nd primary ext4 partition from sdcard!

Edit ramdisk for this:

fstab.mapphone_umts

replace:

Code:
/dev/block/mmcblk[COLOR=Red]1p7[/COLOR]   /data                  ext4      noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc      wait,check
with

Code:
/dev/block/mmcblk[COLOR=Red]0p2[/COLOR]    /data                  ext4      noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc      wait,check
Attached boottools that i used for this and modded ramdisks.

- replace and rename ramdisk /bootstrap/bootstrap/2ndboot
- you can do this in twrp (mount bootsrap first)
- permissions 644
 

Attachments

Last edited:
Oct 31, 2014
7
3
23
I'm using the motorola bravo, mb520, and trying to upgrade to new cm11 builds but can't get there. I was on cm7 build and tried upgrading to cm10.2 to get twrp to flash new bootstrap. After flashing bootstrap, when loading recovery I can't access the sdcard. I sbf'ed to stock and then rooted and then used adb shell to flash bootstrap img and still no access to sdcard. Without access to sdcard I'm stuck. Any help is appreciated.

Edit, just flashed sbf again, root and bootmenu, non quarx cm7, cm10.2, then update recovery file to try to get old cm11 builds again and after update recovery flashed, again no access to sdcard. Why won't it mount the sdcard, can I force mount it?
Short answer: your card is wrongly formatted (actually, it needs a correct partition table). You can fix it with a tool like Linux's GParted or by using a different card (I fixed my problem by using a very old 2GB card I had in another phone, worked perfectly right away.)

Long answer: Read this thread: http://forum.xda-developers.com/showthread.php?t=2634794&page=2 :good:
 

lexer98

Senior Member
Aug 26, 2012
221
73
58
Buenos Aires
I just got a used MB526 on eBay to have as a spare phone. I dropped in the SIMM card from my daily driver MB526 phone and went through the process of rooting the phone and installing the new bootstrap.zip and resize.zip files and then the most current ROM on Quarx's server. This worked very slick with no hitch until the final boot when I was met with a message that said, "Enter PUK" followed by an "Unlock" and a "Dismiss" button. I have never needed to enter a PIN or password for my service provider, so I don't "think" that this is my SIMM card causing the problem. What is the solution to this? Thanks.
Enter the PUK code of your sim ... contact your provider if u don't know it
 
Last edited:

portsample

Senior Member
May 13, 2009
111
33
48
Originally Posted by portsample

I just got a used MB526 on eBay to have as a spare phone. I dropped in the SIMM card from my daily driver MB526 phone and went through the process of rooting the phone and installing the new bootstrap.zip and resize.zip files and then the most current ROM on Quarx's server. This worked very slick with no hitch until the final boot when I was met with a message that said, "Enter PUK" followed by an "Unlock" and a "Dismiss" button. I have never needed to enter a PIN or password for my service provider, so I don't "think" that this is my SIMM card causing the problem. What is the solution to this? Thanks.

Enter the PUK code of your sim ... contact your provider if u don't know it
I have tried the PUK code of the card that I am using now with no luck. Is it possible that the phone is locked to the PUK of the previous user? I've rooted and installed the most current nightly Quarx build as well as the new bootstrap and resize zips with no problems other than this.
 

portsample

Senior Member
May 13, 2009
111
33
48
Enter the PUK code of your sim ... contact your provider if u don't know it
I have tried the PUK code of the card that I am using now with no luck. Is it possible that the phone is locked to the PUK of the previous user? I've rooted and installed the most current nightly Quarx build as well as the new bootstrap and resize zips with no problems other than this.
Here,
http://forum.xda-developers.com/showthread.php?t=1483297&page=52
is the appropriate thread for unsimlocking our Defy phones (...just found it).
It is dated. Looks like we may be SOL w/the newer ROMS.
 

arctophile

Senior Member
Dec 18, 2006
85
12
0
Melbourne
Like Thobwa I'd like to know if anyone has links for older versions please.

Specifically I'd like 0923 (original), because I'm not game to do the newlife stuff on my wife's phone, but would like to update its current version (0901).

Update: tried method suggested by fabo.92 but no luck for September versions.
 
Last edited:

mahadikrs

Senior Member
Jun 17, 2014
150
82
58
Badlapur ( Maharashtra - India )
Like Thobwa I'd like to know if anyone has links for older versions please.

Specifically I'd like 0923 (original), because I'm not game to do the newlife stuff on my wife's phone, but would like to update its current version (0901).

Update: tried method suggested by fabo.92 but no luck for September versions.
For 23rd SEP build download you may try the below link.

http://defy.svolkov.name/quarx2k.ru/buildbot/roms/defy-cm11.0/cm-11-20140923-NIGHTLY-mb526.zip
 

sevenrock

Senior Member
Nov 27, 2012
659
1,095
123
@Quarx: current git code fails to compile:
device/moto/jordan-common/overlay/packages/apps/Camera2/res/values/arrays.xml:22: error: Error: No resource found that matches the given name (at '^index_1' with value '@string/pref_camera_picturesize_entry_3_7mp').
to fix please apply this patch:
Code:
--- a/device/moto/jordan-common/overlay/packages/apps/Camera2/res/values/arrays.xml        2014-10-26 12:26:04.522100262 +0100
+++ b/device/moto/jordan-common/overlay/packages/apps/Camera2/res/values/arrays.xml        2014-11-01 13:50:06.593027195 +0100
@@ -19,7 +19,7 @@
     <!-- Camera Preferences Picture size dialog box entries -->
     <string-array name="pref_camera_picturesize_entries" translatable="false">
         <item>@string/pref_camera_picturesize_entry_5mp</item>
-        <item>@string/pref_camera_picturesize_entry_3_7mp</item>
+        <item>@string/pref_camera_picturesize_entry_3_7mp_wide</item>
         <item>@string/pref_camera_picturesize_entry_3mp</item>
         <item>@string/pref_camera_picturesize_entry_2mp</item>
         <item>@string/pref_camera_picturesize_entry_1_3mp</item>
to sync with this CM commit: https://github.com/CyanogenMod/andr...888#diff-9d3ff85ddefb56753b161e3350cf97d0L204

EDIT: Fixed in git, thanks! https://github.com/Quarx2k/android_...mmit/252ed104fe4c3b518f233910bdc824f3ed2337d6
 
Last edited:

okij

Senior Member
Oct 24, 2012
1,649
3,633
143
Düsseldorf
I rebooted into Android, started a Terminal session and cat the bootstrap_ext3.img into mmcblk1p1. No problem here. After rebooting again i booted into TWRP recovery and installed 2014-10-28-build. That runs without problem again, no data loss, everything is fine and running.

Do you think the system is in a stable state now?
Yes. So far there haven't been any reports of partition corruption with the fixed new_bootstrap.zip from 2014-10-13. :)

P.S I tried Nandroid Backup, it worked fine. But i saw backup option only. How do i perform a restore if necessary?
Online Nandroid Backup is just for making backups. Restore is always done in TWRP.
 

wng

Senior Member
Dec 4, 2008
93
56
0
28 Oct build unable to boot in Recovery (TWRP)

Install all ROMs from 1 Oct to 27 Oct working fine and bootable in Recovery (TWRP).
Installed 28 Oct build working fine, but unable to boot in Recovery (TWRP), black screen, no power and all buttons not work, must remove battery to run again, I'm also tried "CyanogenMod Update" to download and update, reboot, but black screen again.

So I can't flash any update roms & gaps:
cm-11-20141102-NIGHTLY-mb52x.zip
gapps-kk-20141030-minimal-edition-gps034-240dpi-signed.zip


Anyone knowns how to fix 28 Oct build unable to boot into Recovery (TWRP)?
 

Casper1982

Senior Member
Mar 20, 2013
550
133
0
La Pampa
Install all ROMs from 1 Oct to 27 Oct working fine and bootable in Recovery (TWRP).
Installed 28 Oct build working fine, but unable to boot in Recovery (TWRP), black screen, no power and all buttons not work, must remove battery to run again, I'm also tried "CyanogenMod Update" to download and update, reboot, but black screen again.

So I can't flash any update roms & gaps:
cm-11-20141102-NIGHTLY-mb52x.zip
gapps-kk-20141030-minimal-edition-gps034-240dpi-signed.zip


Anyone knowns how to fix 28 Oct build unable to boot into Recovery (TWRP)?
Just start over with SBF + root ... Updates the TWRP recovery and follow the steps to install the latest bluid + Gapps!! :good:
 
  • Like
Reactions: wng

drpatso

New member
Nov 1, 2014
4
0
0
Finally i can resolve my Telephony Layer problems changing my sim card with one brand new . Also i buy a new motherboard for my defy now i have GPS and a Red lens :D

Here a tutorial for Sim Unlocking in Android 4.4

1-Check if your baseband is EPU93_U_00.59.01 ... because is the only that works the sim unlocking. If not in the zip there is a SBF you can flash with RSD Lite
2-Reemplace bp_ptc in /system/bin and init.mapphone_umts.rc in / ... FIX PERMISSIONS !
4-Reboot and Enjoy

Download >....
Credits for "mainbord" and "Dabb"

:good:
This method is suitable for all options Defy?
I defi green camera did everything as written above - still the eternal loading.