[HOWTO] (moto-fastboot) Flash a build on an unlocked Atrix

eval-

Retired Recognized Developer
Sep 24, 2008
228
330
0
Well, after 4 days of having a nearly functional solution to loopback mount 2.3.4 on (locked) 1.8.3 using 2nd-init... my work is useless. But now we can all run 2.3.4, and whatever else we want!
http://forum.xda-developers.com/showthread.php?t=1136261

We don't even have to use RSD or .sbf files anymore. Why? Because our friends at Motorola also made enhancements to fastboot which allow you to flash >256mb partitions. This means we can overwrite large partitions, such as "system" (/system) and "webtop" (/osh), in addition to the blessed "boot" (kernel+ramdisk).

I've compiled it from the opensource.motorola.com (thanks Motorola!) for linux, it is attached to this post.

UPDATE: Looks like romracer came through for all you people who still use windows, the MinGW version is attached. Thanks romracer!
(After you thank romracer's post you can see this guide)

If the files below (for your 32 or 64 [default] bit system) don't work, you can compile from fastbootNfriends yourself with a string like:
Code:
 gcc -o fastboot usb_linux.c util_linux.c fastboot.c protocol.c engine.c bootimg.c -lz ../libzipfile/zipfile.c ../libzipfile/centraldir.c -I../include -I../libzipfile -I../mkbootimg
UPDATE: Helpful users [email protected] and waqy. sent OSX binaries (compiled with extra flags "-framework CoreFoundation -framework Cocoa -framework IOKit") now attached.

Next post will tell you exactly how to use it to test out the HKTW 2.3.4 that was leaked a week ago which gave us all these great clues!
For me, when Atrix is connected ("lsusb | grep PCS" on Linux) it shows up as ID 22b8:708c if its in Fastboot mode.

WARNING
The leaked build from Hong Kong / Taiwan was probably not built for a device that is exactly like ours. Test phones can have different hardware. Don't expect everything to work, it's super-duper beta and since we've all only been unlocked 24hrs no one really knows how usable it is! Flash at your own risk... (PS you can 'Skip' Motoblur just by hitting 'Menu' during setup. It won't connect anyway...)

PPS. You can still use "dd" or something dangerous to overwrite your mmcblk0p11 and mmcblk0p12 with new builds, if you are unlocked, but at your own risk.
 

Attachments

Last edited:

_unknown

Senior Member
Aug 29, 2009
63
135
0
HKTW instructions!

So, using eval-'s awesome moto-fastboot from the post above this one, combined with the wonders of an unlocked bootloader, we may finally start to enjoy full roms/gingerbread!

To flash the HKTW files, make sure you unlocked your bootloader. Then, download the following:

http://www.megaupload.com/?d=12A2NF3O
http://www.megaupload.com/?d=J2VJSGZ7
http://www.megaupload.com/?d=Z3YKAHNM

Extract them to obtain the following files:

Code:
1c78b33d92f6b956bffbf4b668888ce4  atrix-2.3.4-hktw-boot.img
18effca0371c7dbb36ec54443e72414b  atrix-2.3.4-hktw-system.img
b762c2a24a928da633c0f152d2fa7870  atrix-2.3.4-hktw-webtop.img
(Alternatively, you may use sbf_flash -x to extract these files directly from the SBF)

Now boot your phone into fastboot mode, and issue the following commands:

Code:
sudo ./moto-fastboot flash boot atrix-2.3.4-hktw-boot.img
sudo ./moto-fastboot flash system atrix-2.3.4-hktw-system.img
sudo ./moto-fastboot flash webtop atrix-2.3.4-hktw-webtop.img 
sudo ./moto-fastboot -w
sudo ./moto-fastboot reboot
Now observe your jaws dropping as you start to explore this awesome build!

Thanks to eval, the2dcour & [mbm] !
 
Last edited:

firefox3

Senior Member
Apr 9, 2011
196
15
0
no where of your consern
So, using eval-'s awesome moto-fastboot from the post above this one, combined with the wonders of an unlocked bootloader, we may finally start to enjoy full roms/gingerbread!

To flash the HKTW files, make sure you unlocked your bootloader. Then, download the following:

http://www.megaupload.com/?d=12A2NF3O
http://www.megaupload.com/?d=J2VJSGZ7

Extract them to obtain the following files:

Code:
1c78b33d92f6b956bffbf4b668888ce4  atrix-2.3.4-hktw-boot.img
18effca0371c7dbb36ec54443e72414b  atrix-2.3.4-hktw-system.img
(Alternatively, you may use sbf_flash -x to extract these files directly from the SBF.)

Now boot your phone into fastboot mode, and issue the following commands:

Code:
sudo ./moto-fastboot flash boot atrix-2.3.4-hktw-boot.img
sudo ./moto-fastboot flash system atrix-2.3.4-hktw-system.img
sudo ./moto-fastboot flash -w
sudo ./moto-fastboot reboot
Now observe your jaws dropping as you start to explore this awesome build!

Thanks to eval, the2dcour & [mbm] !
i got an error .. it said atrix-2.3.4-hktw-system.img was to big
 

eval-

Retired Recognized Developer
Sep 24, 2008
228
330
0
i got an error .. it said atrix-2.3.4-hktw-system.img was to big
Are you on windows? Are you using the moto-fastboot in the first post? If you are running linux and using the moto-fastboot from the first post you should have no issues. And of course, you unlocked the bootloader first.

Please read the first post carefully. Motorola modified fastboot. I compiled their mod for linux, if you have linux, you can flash your /system. Please get linux, or compile it for windows. I don't actually run windows so I haven't compiled it for windows.
 

vishurao

Senior Member
Apr 10, 2008
92
1
0
Root solution coming up... also requires fastboot but not the moto one, will work on any previous .sbf up to and including the leaked GB that kenneth has, as I used it to root him =) Watch for a new thread
Hitting F5 every 5 seconds. Waiting for "the" thread.
 

firefox3

Senior Member
Apr 9, 2011
196
15
0
no where of your consern
Are you on windows? Are you using the moto-fastboot in the first post? If you are running linux and using the moto-fastboot from the first post you should have no issues. And of course, you unlocked the bootloader first.

Please read the first post carefully. Motorola modified fastboot. I compiled their mod for linux, if you have linux, you can flash your /system. Please get linux, or compile it for windows. I don't actually run windows so I haven't compiled it for windows.
i downloaded fastboot from kenneths website... wont that work?
 

firefox3

Senior Member
Apr 9, 2011
196
15
0
no where of your consern
Are you on windows? Are you using the moto-fastboot in the first post? If you are running linux and using the moto-fastboot from the first post you should have no issues. And of course, you unlocked the bootloader first.

Please read the first post carefully. Motorola modified fastboot. I compiled their mod for linux, if you have linux, you can flash your /system. Please get linux, or compile it for windows. I don't actually run windows so I haven't compiled it for windows.
i just deleted linux the other day .... should ii install it again ?
 

nexxusty

Senior Member
May 11, 2011
243
64
0
Georgetown, Ontario
Are you on windows? Are you using the moto-fastboot in the first post? If you are running linux and using the moto-fastboot from the first post you should have no issues. And of course, you unlocked the bootloader first.

Please read the first post carefully. Motorola modified fastboot. I compiled their mod for linux, if you have linux, you can flash your /system. Please get linux, or compile it for windows. I don't actually run windows so I haven't compiled it for windows.
i downloaded fastboot from kenneths website... wont that work?
Can you read?

i just deleted linux the other day .... should ii install it again ?
Yes. Or wait for someone to compile it for Windows.