[Motorola Droid RAZR] stangri:
A guide below is obsolete, just use the fastboot file to flash LATAM ICS over anything: http://xdaforums.com/showthread.php?t=1753383

PS. You can still use the part of the guide below and read thru this thread on how to restore the block18.

A few people have already asked in another thread, so I've decided to post a little more elaborate guide.

This post is just a compilation of knowledge/files from other threads/forums, it wouldn't have been possible without FrAsErTaG, Leisures and Igorls1. Many thanks to pedrotorresfilho for getting us a link to the official LATAM ICS OTA. If you find this post useful, click on the usernames above to buy them a beer.

This applies to you if you have an American (LATAM/USA/Canada) *GSM* Razr XT910 and flashed the other region ICS leak with the secure kernel (so you can't just flash LATAM Gingerbread onto you device). If you don't have an American GSM Razr -- this thread does not apply to you (tho might be helpful).

If you do not have a backup of your block18, you might as well stay on your current ICS leak. If you do have a backup of your block18 then read along.

Before proceeding, make sure that:

You have a GSM Droid RAZR (not CDMA)

Your phone is from Latin America or Canada (and NOT Europe, Middle East, Asia or Oceania)

You have a backup of the block18 (and it is on your external sdcard and it's called mmcblk1p18-back)

You are currently running T-mo or en.eu ICS leak

If any of the above is not true or you are not sure/don't know about any of the above, DO NOT PROCEED!

The overview of what you need to do is:

Download all the files

Prepare your phone to apply LATAM ICS OTA

Apply LATAM ICS OTA

Root LATAM ICS OTA

Restore your CID/block18

1. Download all the files

1.1. You will need to grab all 3 files from here: http://www.mediafire.com/?0syxru14b655fat,j2gq00ehmjqodtm,i47d1lx499ttw77 then you will need to unrar them. Make sure there are no errors during unrar, otherwise redownload. When you unrar these files place them in the folder called "update to ICS br".

1.2. Grab the cdrom.zip file here: http://www.multiupload.nl/HL56KM413P and unpack it. You should have the cdrom.img file.

1.3. [Optional] I have slightly modified the rooting script you can grab it from the attachment or download it here: http://www.multiupload.nl/DWON0FR7HK I will go into detail why I've created it further down this page.

1.4. The method below has not been tested by me with the new OTA (same filename) which has been released 3rd week of June. If you want to try it out, make sure you grab the new OTA from here and copy it to the folder "update to ICS br" (see 1.1 above).

2. Prepare your phone to apply LATAM ICS OTA

2.1. Copy the file Blur_Version.651.167.3370.XT910.Brasil.en.BR.zip from the folder "update to ICS br" (see 1.1 above) and file cdrom.img (see 1.2 above) to your *external* (removable, located next to the sim-slot) sdcard.

2.2. Get your phone in AP Fastboot mode: power it down, then press Vol Up, Vol Down and Power button until you see a menu. Scroll down to AP Fastboot with the Vol Down key and select AP Fastboot with the Vol Up key.

2.3. In Windows (works fine in VMWare Fusion if you're on Mac) go to the folder "update to ICS br" and run the file "Fix Update.bat" there. It will flash the patched boot and recovery images to your phone (very quickly) and then it will also flash the system image from the GB Rom which is required by the OTA. Your time will vary but it can take up to 20-30 minutes to flash the system image, be patient and DO NOT interrupt this process.

2.4. If you don't see any errors -- power down your phone and proceed further.

3. Apply LATAM ICS OTA

3.1. Press Vol Up, Vol Down and Power button until you see a menu. Scroll down to Recovery with the Vol Down key and select Recovery with the Vol Up key. Once you see a green robot on your screen press Vol Up and Vol Down keys simultaneously.

3.2. Select "Clean Cache" from the menu and run it.

3.3. [OPTIONAL] Select "Wipe Data/Factory reset" from the menu and run it. The instructions I followed didn't include this step, however my phone wouldn't boot into ICS without wipe. If you don't mind restoring your apps, wipe.

3.4. Select "Install update from SD card", select the file Blur_Version.651.167.3370.XT910.Brasil.en.BR.zip and let it update.

3.5. When the update has successfully completed, select Reboot from the menu and...

3.6. Press Vol Up and Vol Down keys as the phone is about to reboot untill you see a menu. Scroll down to BP Tools with the Vol Down key and select BP Tools with the Vol Up key.

3.7. Your phone should now boot into ICS. Give it a good few minutes to boot and if it's stuck in the pulsing M logo, rerun steps 3.1, 3.2, 3.3, 3.5, 3.6 (in short: clean cache, wipe data and reboot but do not reapply update).

4. Root LATAM ICS OTA

Now that your phone has shiny new ICS running on it, it's time to root it. I've mentioned above that I have modified the original rooting script and there's a reason for that. With the original script you may run into issues with the su/busybox locations/permissions with *some* apps (like LuckyPatcher). I would highly recommend you perform step 1.3 and grab my modified rooting script.

The rooting method below only works if your CID is erased. If you erase your CID without having the block18 backup you will forever have to start up your phone with the BP Tools and you will not have USB Storage working. Do not use this rooting method if you do not have the block18 backup!!!

Another rooting method for the XT910 ICS builds is posted here: http://xdaforums.com/showthread.php?t=1707431.

4.1. [OPTIONAL] Extract the files from the newroot.zip (see step 1.3 above) into "update to ICS br\ROOT" folder. You will need to overwrite files already there.

4.2. Go into Settings -> Developer on your phone and enable "USB Debugging".

4.3. In Windows run the file "Root.bat" from the folder "update to ICS br\ROOT". When you run this file, you will be prompted to boot into AP Fastboot, boot with BP Tools (twice) and then boot into AP Fastboot again. You will then still need to boot with BP Tools into ICS. See step 2.2 on how to boot into AP Fastboot and step 3.6 on how to boot with BP Tools.

4.4. You should be back into the ICS world with the root now. You can verify you have root by locating/running the Superuser app from the drawer.

5. Restore your CID/block18

5.1. Make sure you have the "cdrom.img" (see step 2.1) and "mmcblk1p18-back" (your block18 backup) on your external SD card.

5.1.1. As FrAsErTaG pointed out it's crucial to confirm the cdrom.img is correct before flashing it. The MD5 hash should be: f0c13bbc8cf294478562a85c9d255beb. Check if the MD5 hash is correct with the following command:

md5sum /sdcard-ext/cdrom.img

5.2. Run command prompt in Windows (Start -> run program/search -> type cmd and hit Enter), use the cd command to switch to the "update to ICS br" folder and type in (better yet copy/paste) the following commands:

adb shell
su
dd if=/sdcard-ext/cdrom.img of=/dev/block/mmcblk1p16
cat /mnt/sdcard-ext/mmcblk1p18-back> /dev/block/mmcblk1p18

If you cannot drop into adb shell (your prompt will change) or if you get an error after running su or dd commands -- abort everything and DO NOT attempt any commands after the failed one.

5.3. If you do not see any errors -- power down your phone and then power it up -- you should no longer see the CID error message and should be able to boot without BP Tools, yay!

PS. If you find the step 5.2 confusing -- post here. I assumed everyone reading knows their way around Windows folders with cd, but maybe I'm wrong.

PPS. After you've rooted I highly recommend you download the Titanium Backup and buy a Titanium Backup Pro key to freeze bloatware and backup/restore your apps. It's a great app and the developer is awesome!