[Motorola Atrix HD] skeevydude:
http://sbf.droid-developers.org/dinara/list.php

That's all our stock roms in fastboot form. Before you flash one, make sure CWM Touch is installed -- it fixes a script issue with all stock roms and will root them all as well :good:.

Flash all the partitions except gpt_main0.bin, the modem (if you get good service where you live), and recovery. (See below)

Once everything is flashed, type "fastboot -w" (does a factory reset, shouldn't be necessary because you should have just did the erase commands, but better safe than sorry)

After that type "fastboot reboot" then immediately hold volume up on the phone to boot into recovery.

Just exit Recovery, it will prompt you to fix the install-recovery.sh (say yes) and to root the phone (say yes).

There ya go, stock and rooted.

Also, if you can do this, you'll always be able to fix your phone, and probably any unlocked Android phone that has a fastboot recovery. Once you figure out how to do this on your own, check out the Myth Tools thread for an automated way of doing this.

I didn't really go into full detail on flashing everything in the fastboot guide, so here's a basic rundown on how to figure out what all to flash to get to a stock rom. Go there first and download the correct fastboot executable for our device if you haven't done so already.

Here's the xml file from the 2nd ATT ICS (they're all the same, just different md5sums and system image file format)

Anyways the fastboot synax you'll use is either "fastboot operation partition filename" or "fastboot operation partition"

Only use commands between <steps interface="AP"> and </steps>

I bolded the operation\partition for 2 different commands below. The first command would be "fastboot flash sbl1 sbl1.mbn". Second is "fastboot erase modemst1"

You'll want to flash everything except what is in italics when flashing a stock rom. Optional lines are underlined.

Why they're optional -- Recovery=you don't really need or want stock recovery; Modem=Find a rom you like (stock), flash all the modems and use the one that gives you the best service (Mex Retail for me, ATT user): gpt_main=our only security blocked partition, if you flash a higher versioned one than what your phone has, you'll be stuck with the highered version (doesn't matter in the long run, the partition table is the same on all our roms)

<?xml version="1.0"?>
<flashing>
<header>
<phone_model model="DINARA_CFC_FFW" />
<software_version version="qinara-user 4.0.4 7.7.1Q-144_MB886_MR1-22 22 release-keysQINARA_BP_1045.703.41.35P" />
<interfaces>
<interface name="AP" />
</interfaces>
</header>
<steps interface="AP">
[I] <step operation="getvar" var="max-download-size" />[/I]
[U] <step operation="flash" partition="partition" filename="gpt_main0.bin" MD5="900113B868E61E8FC4E59F72C0B67193" />[/U]
<step [B]operation[/B]="flash" [B]partition[/B]="sbl1" [B]filename[/B]="sbl1.mbn" MD5="C7F573A89F61DF2035AADE8569749EE9" />
<step operation="flash" partition="sbl2" filename="sbl2.mbn" MD5="D87C038375FA7ECEF1F8B50589C7500C" />
<step operation="flash" partition="sbl3" filename="sbl3.mbn" MD5="00299E786E75ECD33DA4EC24DCC1950D" />
<step operation="flash" partition="rpm" filename="rpm.mbn" MD5="F3CF04A6A738373E3A22AA260A921D73" />
<step operation="flash" partition="tz" filename="tz.mbn" MD5="2FD65CE78D76EC42458E341DFC3C365E" />
<step operation="flash" partition="aboot" filename="emmc_appsboot.mbn" MD5="1F34629AC6E740E0A4E94FF5F3CAE469" />
[I] <step operation="reboot-bootloader" />
<step operation="getvar" var="max-download-size" />
<step operation="oem" var="fb_mode_set" />[/I]
[U] <step operation="flash" partition="modem" filename="NON-HLOS.bin" MD5="7FBB0F82F9BB621DB0F1151C59A27D5C" />[/U]
<step operation="flash" partition="fsg" filename="fsg.mbn" MD5="0BE88C9100A85342CD8C51681702719F" />
<step [B]operation[/B]="erase" [B]partition[/B]="modemst1" />
<step operation="erase" partition="modemst2" />
<step operation="flash" partition="logo" filename="logo.bin" MD5="6463DC057ABF889F3B83A4D3DA4CDD1E" />
<step operation="flash" partition="boot" filename="boot.img" MD5="0154E0C4C3E114A867F95B0983024229" />
[U] <step operation="flash" partition="recovery" filename="recovery.img" MD5="731ED37017F9E47CBB70A0DEF1C0EB8F" />[/U]
<step operation="flash" partition="devtree" filename="device_tree.bin" MD5="3A1C235E4B54E00A09D7C7A53B83AD9E" />
<step operation="flash" partition="system" filename="system.img.ext4" MD5="2D89F1EF6C574C6B210F1ABC09DF8011" />
<step operation="flash" partition="cdrom" filename="cdrom" MD5="30EB097622E05DF73F062B1777324057" />
<step operation="erase" partition="tombstones" />
<step operation="erase" partition="cache" />
<step operation="erase" partition="userdata" />
[I] <step operation="oem" var="fb_mode_clear" />[/I]
</steps>
</flashing>