got CWM working but im confused about the stock fastboot files posted in the op. i went to install the mexico retail after a factory reset via CWM installed fine but definatley is not the mexico retail rom, was i supposed to do the fastboot file procedure you listed in the op do get a clean system and go from there?
I'd recommend Koush Superuser over Chainfire's SuperSu.
http://download.clockworkmod.com/superuser/superuser.zip
Both should work, but one is without constant bugging about a Pro version and is completely open source
The tutorials here on AHD are like a fast car with no brakes!!! surprised there's not an AHD brick shelter....
Install Stock Fastboots ICS
[/LIST]
- Download the respective fastboot zip you want to use
- Extract the zip
- Open a terminal to the extracted zips directory
- Reboot into fastboot
- Type the following commands in this order
- fastboot flash boot boot.img
- fastboot flash devtree device_tree.bin
- fastboot erase system -w
- fastboot flash system system.img.ext4
- fastboot erase cache
- fastboot reboot
Now that the bootloader is unlocked, everyone is asking "WTF do I do now?". Well, here's a bit of help to get you started. I'm assuming you already have adb and fastboot setup and working -- if not, quit reading and get that taken care of. Also, I only run Linux...so I'll try to be transparent and only list the fastboot commands.
Don't use the stock\SDK fastboot binary for flashing /system.
An updated fastboot binary for Lin\Win\Mac can be found here on the Batakang FTP from our local, neighborhood Mattlgroff.
ROOT\ADMINISTRATOR INFO
On Linux, you might have to run as root in order to run some of the fastboot commands. If your system uses sudo for root commands, typing "sudo -i" will bring up an interactive sudo shell so you don't have to type sudo over and over again. If your system uses su for root, well, you already know the command.
On Windows, you might have to enable Administrator Privileges to be able to run some of the fastboot commands.
Install CWM Recovery by Epinter
- Read Epinter's RAZR HD CWM Thread
- Download the recovery image
- On stock rom, navigate to /system/etc and rename install-recovery.sh to install-recovery.sh.bak
- Reboot into fastboot -- use "adb reboot bootloader" from Terminal\Command Prompt
- Wipe the existing recovery -- "fastboot erase recovery"
- Flash the recovery with "fastboot flash recovery cwmrecovery6028-xt925_20130219-epinter.img"
- That's it, CWM is installed.
Install Stock Fastboots JB
- Download the respective fastboot zip you want to use
- Extract the zip
- Open a terminal to the extracted zips directory
- Reboot into fastboot
- Type the following commands in this order
- fastboot flash boot boot.img
- fastboot flash devtree device_tree.bin
- fastboot erase system -w
- fastboot flash system system.img
- fastboot erase cache
- fastboot reboot
Install Stock Fastboots ICS
- Download the respective fastboot zip you want to use
- Extract the zip
- Open a terminal to the extracted zips directory
- Reboot into fastboot
- Type the following commands in this order
- fastboot flash boot boot.img
- fastboot flash devtree device_tree.bin
- fastboot erase system -w
- fastboot flash system system.img.ext4
- fastboot erase cache
- fastboot reboot
Obtain root after installing a Stock Firmware
There are two choices for obtaining root after a stock flash. the closed source SuperSu by Chainfire & and the open source Superuser by Koush.
Download SuperSu zip from Chainfire (Closed Source)
Download Superuser from Koush (Open Source)
- Download the one of the root zips above.
- Reboot into CWM/TWRP -- adb reboot recovery
- Locate and flash the zip
- Reboot, that's it. Nice not having to run exploits\hacks\Linux just for root
Can you please tell me the correct command terminal order for Windows so I can flash clockworkmod on my Droid Razr HD Maxx?
Sent from my DROID RAZR HD using xda app-developers app
already root, but i got the permission denied error, same error en windows xp and 7
---------- Post added at 02:34 AM ---------- Previous post was at 02:18 AM ----------
C:\Documents and Settings\Goldo\Desktop\mx>adb reboot bootloader
C:\Documents and Settings\Goldo\Desktop\mx>fastboot erase recovery
erasing 'recovery'...
Permission denied
FAILED (remote failure)
finished. total time: 0.109s
i got that
I kept getting the same error, but I just went ahead and flashed CWM and everything went fine.
First of all thanks for all the work, CWM worked fine for me. But after that the problems began: I tried to flash the fastboot files (AT&T and also mexican version) but it stuck at flashing system.img. That's what I got:
D:\Atrix HD\MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-
MX.xml>fastboot flash system system.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 486529184 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 455055520 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 423602336 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 392145056 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 360523936 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 329070752 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 297834656 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 266279072 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 236382368 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 204929184 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 173467808 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 142014624 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 111741088 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 81475744 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 50006176 is not a multiple of th
e block size 4096
error: write_sparse_skip_chunk: don't care size 18520224 is not a multiple of th
e block size 4096
sending sparse 'system' (30716 KB)...
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of t
he block size 4096
OKAY [ 2.407s]
writing 'system'...
(bootloader) Unknown chunk type
FAILED (remote failure)
finished. total time: 5.064s
So after that booting didn't work any longer and it stuck at the red motorola logo (which replaces the bootloader unlocked warning, not the moving one). I'm able to get into CWM, but flashing ZIPs there let me also stuck at the red M and it says it can't mount SD, but not the external. These failure reports in adb/fastboot also appeared several times on the razr m/ i and also HD, but I couldn't find a solution in those threads. So anyone could help me please? Thanks!
Run everything as rootGet stuck at waiting for device, on Linux Mint 14, any ideas?
Sent from my MB886 using xda app-developers app