Post Reply

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

OP eval-

24th June 2011, 12:26 AM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 333
 
227 posts
Join Date:Joined: Sep 2008
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/show....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 kevin@TeslaCoil 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.
Attached Files
File Type: zip moto-fastboot.zip - [Click for QR Code] (16.6 KB, 19684 views)
File Type: zip moto-fastboot32.zip - [Click for QR Code] (14.1 KB, 9038 views)
File Type: zip moto-fastboot-osx.zip - [Click for QR Code] (31.8 KB, 5496 views)
File Type: zip fastbootNfriends.zip - [Click for QR Code] (51.2 KB, 3718 views)
File Type: zip moto-fastboot-win32.zip - [Click for QR Code] (117.8 KB, 22600 views)
Last edited by eval-; 19th July 2011 at 08:48 AM.
The Following 63 Users Say Thank You to eval- For This Useful Post: [ View ]
24th June 2011, 12:26 AM   |  #2  
Member
Thanks Meter: 131
 
59 posts
Join Date:Joined: Aug 2009
Red face 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 by _unknown; 27th June 2011 at 10:26 PM. Reason: added webtop link/instructions
The Following 35 Users Say Thank You to _unknown For This Useful Post: [ View ]
24th June 2011, 12:29 AM   |  #3  
kennethpenn's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Washington, D.C.
Thanks Meter: 3,796
 
2,701 posts
Join Date:Joined: Nov 2006
Donate to Me
More
Huge! 10char
The Following 4 Users Say Thank You to kennethpenn For This Useful Post: [ View ]
24th June 2011, 12:31 AM   |  #4  
phro321's Avatar
Senior Member
Thanks Meter: 4
 
104 posts
Join Date:Joined: Apr 2007
Sweet!

Sent from my MB860 using XDA App
24th June 2011, 12:33 AM   |  #5  
msd24200's Avatar
Senior Member
Flag KY
Thanks Meter: 102
 
2,530 posts
Join Date:Joined: Jun 2008
More
You guys rock, now eval hit the motorola forum with this :)

Sent from my MB860 using XDA Premium App
24th June 2011, 12:36 AM   |  #6  
fernandodistinto's Avatar
Member
Flag Bogota
Thanks Meter: 7
 
88 posts
Join Date:Joined: Dec 2009
Oh my GOD! thank you a lot!!!
I'll check it out when I get home.... :P
24th June 2011, 12:50 AM   |  #7  
NguyenHuu's Avatar
Senior Member
Flag Northern California
Thanks Meter: 110
 
1,689 posts
Join Date:Joined: Nov 2007
Donate to Me
More
sweetttt, now we wait for devs to make easy deodex flashable update.zip of this build hehehe
24th June 2011, 12:51 AM   |  #8  
Senior Member
Thanks Meter: 11
 
500 posts
Join Date:Joined: Jan 2008
Awesome, I'm going to try this now but I need root to use tibu! How do we root this now?
24th June 2011, 12:52 AM   |  #9  
dLo GSR's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 225
 
1,309 posts
Join Date:Joined: Mar 2011
so flashing the HKTW files will get us to an atrix-compatible gingerbread? on an AT&T device?
24th June 2011, 12:52 AM   |  #10  
Retired Recognized Developer
Thanks Meter: 362
 
503 posts
Join Date:Joined: Jan 2006
More targets for webtop, I surmise?

The Following 2 Users Say Thank You to Sogarth For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes