FORUMS

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more

Which Features from Apple Watch Do You Think Android Wear Will Copy?

The Apple Watch and Android Wear are both growing platforms. Now … more

XDA Picks: Best Apps of the Week (May 15 – 22)

Apps are at the front and center of any smartphone experience, and with over a … more

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more
Post Reply Subscribe to Thread Email Thread

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

24th June 2011, 12:26 AM |#1  
OP Retired Recognized Developer
Thanks Meter: 334
 
More
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, 23127 views)
File Type: zip moto-fastboot32.zip - [Click for QR Code] (14.1 KB, 10243 views)
File Type: zip moto-fastboot-osx.zip - [Click for QR Code] (31.8 KB, 7298 views)
File Type: zip fastbootNfriends.zip - [Click for QR Code] (51.2 KB, 4220 views)
File Type: zip moto-fastboot-win32.zip - [Click for QR Code] (117.8 KB, 25043 views)
Last edited by eval-; 19th July 2011 at 08:48 AM.
The Following 64 Users Say Thank You to eval- For This Useful Post: [ View ]
 
 
24th June 2011, 12:26 AM |#2  
Member
Thanks Meter: 131
 
More
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,806
 
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
 
More
Sweet!

Sent from my MB860 using XDA App
24th June 2011, 12:33 AM |#5  
msd24200's Avatar
Senior Member
Flag KY
Thanks Meter: 124
 
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: 11
 
More
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
 
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
 
More
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
 
More
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
 
More
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