Flashing Stock Rom and Installing JellyBean

For this ,
Best link is the below:

http://www.androidauthority.com/atrix-4g-mb860-android-4-1-1-jelly-bean-cyanogenmod-10-cm10-106639/

It contains all steps to install



How to upgrade the Atrix 4G to Android 4.1.1 Jelly Bean via CyanogenMod 10


The Motorola Atrix 4G is considered to be America’s first dual-core phone until the Galaxy S2 came along. Since the release of Android 4.1 Jelly Bean way back at Google’s  I/O 2012, more developers have taken interest in bringing the latest update to a chosen number of phones.
The Atrix 4G is no exception as XDA Developers member jokersax11, who was responsible for bringing ICS to the device, has also stepped up to provide Android 4.1.1 Jelly Bean in the form of an unofficial build of CyanogenMod 10.
The ROM is still in alpha development, which means many features are still broken.  So, the ROM may not yet be suitable for daily use.
Jelly Bean with its buttery-smooth interface, enhanced voice recognition, and fast performance is one of the main reasons many users are going nuts over Google’s updates. If you are one of the many users who own an Atrix 4G and want to try out what Jelly Bean has to offer, then this is your chance to do it.
Continue reading the rest of this guide to learn how to upgrade the Atrix 4G to Android 4.1.1 Jelly Bean via CyanogenMod 10.

Warning

  • The instructions in this guide are intended for use with the Motorola Atrix 4G, model number MB860. Applying these instructions on another device or model may produce undesired outcomes.
  • The information in this guide is provided for instructional and educational purposes only. There is no guarantee that these instructions will work under your specific and unique circumstances.
  • Use these instructions at your own risk. We shall not hold any responsibility or liability for whatever happens to you or your device arising from your use of the info in this guide.
  • Read and understand the whole guide first before actually performing the instructions.

Requirements

Instructions

  1. Copy the downloaded ZIP files and place them on your phone’s SD card.
  2. Switch off your phone.
  3. Boot your phone into ClockworkMod Recovery. You can do this by pressing and holding down the Volume Down key and pressing the Power button.  Keep holding down the Volume Down button until you see the word “Fastboot” at the top left portion of the screen. Hit the Volume Down repeatedly until you see the option on top changing to “Android Recovery.” Press the Volume Up button to select it and boot into Recovery Mode.
    • NOTE: Once in recovery, use the Volume keys to navigate and the Power button to select an option.
  4. Backup your existing ROM.  To create a NANDroid backup, select Backup and restore > Backup from the recovery menu.
  5. Go to the Mounts and storage menu.  Execute the following commands:
    1. Format /cache
    2. Format /data
    3. Format /system
  6. Return to the main recovery menu.
  7. Perform a full wipe (you can skip this step if you came from a previous version of this ROM):
    • Select Wipe data/factory reset, then select Yes on the next screen to confirm data wipe.
    • Select Wipe cache partition and confirm the action on the next screen.
    • Go back to the main menu and select Advanced. From there, select Wipe Dalvik cache and confirm the action on the next screen.
  8. Select Install ZIP from SD Card.
  9. Select Choose ZIP from SD Card, then browse for ROM zip file. Confirm the installation by selecting Yes on the next screen that follows. It may take 5-10 minutes for your phone to finish with the installation process.
  10. After the ROM is finished installing, repeat steps 8 and 9, but this time around choose the GApps package to install it on your mobile phone.
  11. Head back to the main recovery menu by selecting Go back.
  12. Reboot your phone by selecting Reboot system now. It may take a couple of minutes as this is the first time your phone will boot into Jelly Bean.
Congratulations! You have successfully installed unofficial CyanogenMod 10 ROM on your Motorola Atrix 4G MB860.

Install ClockWork Mod Recovery

Follow Same Wiki link to install Clockwork Mod Recovery http://wiki.cyanogenmod.com/wiki/Motorola_Atrix_4G:_Full_Update_Guide#Unlocking_the_Bootloader_with_RSD_Lite_.28Windows.29


I too did not understand what it was later found clockworkmod would be used for managing the ROM we gonna install.


Follow steps Below, and Yes it works 100%

Installing the ClockworkMod Recovery

If the Motorola Atrix 4G already has the ClockworkMod Recovery installed, you may skip this section.
  1. Download the ClockworkMod Recovery:
    • ClockworkMod Recovery (5.0.2.0): Download
      md5: c03a7a40c633cd66886d51793dbb29c2
  2. Boot into bootloader mode by holding down the Volume Down & Power buttons.
  3. Connect the Motorola Atrix 4G to the computer via USB.
  4. On the computer, open terminal and run the following command:
    fastboot flash recovery recovery-clockwork-5.0.2.0-olympus.img
  5. The ClockworkMod Recovery should now be installed on the Motorola Atrix 4G.

Flashing CyanogenMod

NOTE: As of right now only Motorola Atrix 4G nightly builds of CyanogenMod are available for the Motorola Atrix 4G. Please check the wiki or the forum for builds and updates.
NOTE: In order to flash CyanogenMod via ROM Manager, root access is required. Attaining root access is outside the scope of this wiki page.
If the Motorola Atrix 4G has been rooted, unlocked, etc. through steps other than the method described above or running a custom ROM other than CyanogenMod and you are having issues flashing or booting CyanogenMod, it is recommended the Motorola Atrix 4G be returned to stock & start over with the full instructions provided above.

Method via Recovery

  1. Download the latest version of CyanogenMod.
    Optional: Download the Google Apps for the device.
  2. Place the CyanogenMod update.zip file on the root of the SD card.
    Optional: Place the Google Apps .zip on the root of the SD card also.
  3. Boot into the ClockworkMod Recovery.
  4. Once the device boots into the ClockworkMod Recovery, use the side volume buttons to move around, and either the power button or the trackball to select.
    Optional: Select backup and restore to create a backup of current installation on the Motorola Atrix 4G.
  5. Select the option to Wipe data/factory reset.
  6. Then select the option to Wipe cache partition.
  7. Select Install zip from sdcard.
  8. Select Choose zip from sdcard.
  9. Select the CyanogenMod update.zip.
    Optional: Install the Google Apps by performing steps 7 - 9 again and choosing the Google Apps update.zip.
  10. Once the installation has finished, select +++++Go Back+++++ to get back to the main menu, and select the Reboot system now option. The Motorola Atrix 4G should now boot into CyanogenMod.

Method via ROM Manager

  1. Launch RomManager.
    Optional: Choose the first option in the app, Flash ClockworkMod Recovery to update to the latest version.
  2. Select the Download ROM option from the main menu in the ROM Manager.
  3. Select the CyanogenMod option, and then choose the latest version of CyanogenMod from the menu.
    Optional: When you select the latest version of CyanogenMod, check the Google Apps option.
  4. Once the ROM is finished downloading, it asks if you would like to Backup Existing ROM and Wipe Data and Cache.
  5. If Superuser prompts for root permissions check to Remember and then Allow.
  6. The Motorola Atrix 4G will now reboot into the recovery, wipe data and cache, and then install CyanogenMod. When it's finished installing it will reboot into CyanogenMod.

Unlock BootLoader

BootLoader, is just like initial Bootup we do in our desktops, and laptops, for those who have installed a Win 98 OS , will know the value of Boot Floppy Disk.

To install Custom Rom, we need make changes to Motorola's default Boot Loader which loads its own Stock Rom. This will override MotoBlur Login and you can access your phone without even needing a SIM card.

For unlocking bootloader, the best link is cyanogenmod's wiki. These are easy steps follow one by one and it definitely works.

Link Below:
http://wiki.cyanogenmod.com/wiki/Motorola_Atrix_4G:_Full_Update_Guide#Unlocking_the_Bootloader_with_RSD_Lite_.28Windows.29


Unlocking the Bootloader

If the bootloader of the Motorola Atrix 4G has already been unlocked, you may skip this section.
WARNING: UNLOCKING THE MOTOROLA ATRIX 4G'S BOOTLOADER WILL VOID THE WARRANTY.

Unlocking the Bootloader with RSD Lite (Windows)

  1. You will need fastboot on the computer to unlock the bootloader of the Motorola Atrix 4G. Follow the Android SDK guide, to get fastboot on the computer.
  2. Download RSD Lite, the Motorola Drivers, and appropriate unlockable bootloader:
    • RSD Lite 5.7: Download
      md5: feb9a71470ee539e074bf420a2e4d8bd
    • Motorola 5.5.0 device drivers: Download
    • AT&T Atrix 4G Only: Unlockable Bootloader: Download
      md5: a5da47565160e0f95b84a1e769b9028b
    • International Variants Only: Unlockable Bootloader: Download
      md5: f609dbc4c5842f9654e44a1980375100
  3. Unzip the correct bootloader and place it somewhere easy to access.
  4. Install RSD Lite.
  5. Once RSD Lite is installed, install the Motorola device drivers.
  6. Power off the Motorola Atrix 4G.
  7. Boot into RSD Protocol mode by holding down the Volume Up button while the device powers up.
  8. Connect the Motorola Atrix 4G to the computer via USB.
  9. Open RSD Lite.
  10. Click on the "..." button next to the filename box and select the unlocked bootloader .sbf file.
  11. Once it is selected, hit Start and wait for it to finish flashing the device.
  12. It should take a few minutes to flash the unlockable bootloader, and the device may reboot multiple times. Once RSD lite reports that it's finished (or appears to be waiting for the device even though the device is booting into android), the device should be powered off.
  13. Pull the battery and power back on while holding the Volume Down button. Once you see the bootloader screen with some text options, cycle through the options using the Volume Down and select "Fastboot Protocol".
  14. On the computer, open terminal and run the following command:
    fastboot oem unlock
  15. If a message appears claiming that "INFOOEM lock is not implemented", you are done. Otherwise, follow the instructions that appear in your command prompt to unlock your bootloader.

Unlocking the Bootloader with sbf_flash (Linux & OS X)

  1. You will need fastboot on the computer to unlock the bootloader of the Motorola Atrix 4G. Follow the Android SDK guide, to get fastboot on the computer.
  2. Download sbf_flash and the appropriate unlockable bootloader:
    • sbf_flash: Download
    • AT&T Atrix 4G Only: Unlockable Bootloader: Download
      md5: a5da47565160e0f95b84a1e769b9028b
    • International Variants Only: Unlockable Bootloader: Download
      md5: f609dbc4c5842f9654e44a1980375100
  3. Unzip the sbf_flash zipfile.
  4. Unzip the bootloader and place it somewhere easy to access.
  5. Power off the Motorola Atrix 4G.
  6. Boot into RSD Protocol Mode by holding down Up Volume and the Power button.
  7. Connect the Motorola Atrix 4G to the computer via USB.
  8. On the computer, open terminal and run the following commands:
    chmod +x sbf_flash
    ./sbf_flash <SBF File name here>.sbf
  9. It should take a few minutes to flash the unlockable bootloader, and the device may reboot multiple times. Once RSD lite reports that it's finished (or appears to be waiting for the device even though the device is booting into android), the device should be powered off.
  10. Pull the battery and power back on while holding the Volume Down button. Once you see the bootloader screen with some text options, cycle through the options using the Volume Down and select "Fastboot Protocol".
  11. On the computer, open terminal and run the following command:
    fastboot oem unlock
  12. You will now receive a warning along with a unique device ID. Type the following commands using your unique device ID in place of the **ID**:
    fastboot oem unlock **ID**
    fastboot reboot
  13. Wait for your device to reboot. Congratulations! You now have an unlocked bootloader!

Root your Atrix

Whoever is familiar with Linux Operating System will know the meaning of root user.

For those who are not, root access is like a Super Administrator user, who has control of entire Operating System installed. He can customize and change the OS as per his requirements. 

For Root access, I used the below link


Procedure to Root Motorola Atrix 4G on 4.5.141 Firmware:
  • First up you need to Download Fast boot Files for Motorola Atrix 4G smartphone from here to your computer. Double click on “adb” and then on “moto-fastboot” icon so as to open the same in your computer as this willinstall all the essential tools in your computer.
extracted files Moto Atrix 4G
  • Now, you need to turn Off your device to enter the device in the fastboot mode which you can do by pressing the Volume Down button and Powering ON the device.
  • After this, you need to connect your phone to the computer with the help of original USB Cable.
  • In your computer, open the Command Prompt and enter the below mentioned commands one after another after giving the gap of a minute or till the command gets processed,
C:/moto-fastboot-win32
moto-fastboot.exe flash preinstall preinstall.img
  • Now, press the “Volume Up” key to start the fastboot protocol after which you need to type in the command as “moto-fastboot.exe reboot” and hit on Enter.
  • After this, your phone will be rebooted. Wait for the phone to get rebooted and then you need to type in the command as “adb shell” and press enter and wait till the shell gets restarted.
  • Now, type in “/preinstall/dosu” and press enter to process the command. If the command refuses to process, enter the below mentioned commands one after another,
“/bin/mount -o remount,rw /system”
“cp /preinstall/su /system/bin/”
“chmod 6755 /system/bin/su”
“PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk”
  • After all the commands which are mentioned above, it’s now time that the phone should be rebooted by selecting the appropriate option in your device by using the Volume and Power button.
Tip: Just in case if the device is not rooted successfully or say if the process gets stuck at any point of time then you need to re follow the whole procedure from the start so as to root the device.
So, congratulations you have now successfully rooted your device by following the simple instructions mentioned above. Do share with us in the comments section just in case if there are any issues as we will try our level best to sort out the same.

How to Run JellyBean in Atrix 4g

While Motorola has stopped any more future updates to Atrix 4G. Its time for us to install custom ROM'S available .

Most resources are available in xda-developer forums, popular ROM's being, Jokersax,Epinter, Th3Bill .etc.. running with cyanogenmod 10. [http://forum.xda-developers.com/forumdisplay.php?f=997]

Of late Google has released JellyBean 4.1.2.

I feel Jokersax 4.1.1 build dated 08/29/2012 as most stable ROM with gapps v3.

Pre-Requisites for Custom Rom Installation:

1. Root your phone
2. Unlock BootLoader
3. Install ClockWork Mod Recovery
4.Flashing Stock Rom
5. Installing Customized Rom
6. Installing GApps.

I did this going through various forums and links/videos before understanding what is what.

This blog would be your single stop to get all the above done.