[Miscellaneous Android Development] rootdefyxt320:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/

I built a ROM from Stock Chinese XT532 SBF. This is ROM uses kernel 2.6.35.11. This ROM is the stock XT532 ROM.

Advantages:

Newer kernel version. Existing XT530/XT531 Kernels are Froyo Kernel. This kernel is the actual Gingerbread Kernel.

Newer drivers, so increased performance.

New Experimental Build Based on 2nd-init:

ROM Download For 2nd-init: http://www.androidfilehost.com/?fid=23269279319196536

Instructions on how to install 2nd-init ROM for XT530/XT531:

1. Flash back stock XT530/XT531 SBF via RSD-Lite.

2. Root and Install Bootmenu/CWM.

3. Put ROM zip in your SD Card.

4. Reboot device into CWM Recovery.

5. Wipe data/factory reset and wipe cache.

6. Install the zip from SD Card.

7. Reboot Phone.

8. Your Done.

If the ROM boots up via 2nd-init properly then we will be one step closer to CyanogenMod. This ROM uses the XT532 ramdisk and boots it via 2nd-init. 2nd-init ROM uses the stock 2.6.32.9 XT530/XT531 to execute XT532 ramdisk and runs it on top of the XT530/XT531 kernel.

Build based on boot.img and ROM

Downloads:

ROM:http://www.androidfilehost.com/?fid=23269279319196135

boot.img:http://www.androidfilehost.com/?fid=23269279319196191

flex.img:http://www.androidfilehost.com/?fid=23269279319196189

hidden.img:http://www.androidfilehost.com/?fid=23269279319196190

How to install a ROM not based on 2nd-init:

1. Install Bootmenu

2. Put ROM zip on the SD Card.

3. Download boot.img

4. Open a CMD line and cd to the folder where you put "boot.img" file.

5. Flash the boot.img via fastboot:

adb reboot bootloader

fastboot flash boot boot.img

fastboot reboot

6. Reboot into Clockworkmod Recovery.

7. Install the zip from sdcard.

8. Wipe cache/data factory reset from CWM Recovery.

9. Reboot phone.

10. You're done.

If radio isn't working, try using these instructions:

1. Download hidden.img and flex.img

2. Put the two img files in the same folder as fastboot.

3. Open a cmd file and cd to the folder which contains the img files.

4. Reboot the phone back into fastboot mode

adb reboot bootloader

5. Flash flex.img and hidden.img via this command in cmd

fastboot flash flex flex.img

fastboot flash hidden hidden.img

6. Reboot the device via this command in cmd

fastboot reboot

NOTE: These instructions also work for 2nd-init ROMs for Motorola Fire XT530/XT531.

Kernel Source:

Sorry, Motorola hasn't released the kernel source for XT532 which the ROM is based on. The ROM uses an unmodified Motorola XT532 Kernel.

Bugs:

You tell me as I don't own a Motorola Fire XT530/XT531

Credits:

[MENTION=4944908]zhalx[/MENTION]

[MENTION=4963386]inyong1[/MENTION]

[MENTION=4469618]7amdoun[/MENTION]

[MENTION=2426429]saraghon[/MENTION]

[MENTION=5002005]Mazzen.kh[/MENTION]

[MENTION=4881390]aweosomeabhijeet[/MENTION]