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

aver2one

Senior Member
Nov 26, 2010
173
21
0
miami
www.anythinggeekonline.com
Thanks for the vid

Looks fast, more responsive, have you tried the camera?

Sent from my MB860 using XDA Premium App
yeah def fast and responsive , Im actually flashing back to 1.83 (need my lapdock) but the camera had a zoom in and out button (didnt work) and had a multi shot mode a single shot and panorama mode (not sure if it always had that and i didnt notice lol)


Update: found the root thread http://forum.xda-developers.com/showthread.php?t=1138204 for this now im going back to play with 2.3.4 lol
 
Last edited:

[email protected]

Senior Member
May 19, 2010
498
5,102
0
Chicago
teslacoilsw.com
Mac OS X binaries of moto-fastboot :)

I compiled using the fastbootNfriends.zip from the OP and with this command:
Code:
gcc -arch x86_64 -arch ppc -arch i386 -o moto-fastboot usb_osx.c util_osx.c fastboot.c protocol.c engine.c bootimg.c -lz ../libzipfile/zipfile.c ../libzipfile/centraldir.c -I ../libzipfile -I ../mkbootimg/ -I /Volumes/AndroidPlatform/system/core/include  -framework IOKit -framework CoreFoundation -framework AppKit
Note that /Volumes/AndroidPlatform is a repo checkout of the android-platform.

Extract the zip then make the binary executable with:
Code:
chmod +x moto-fastboot
then ./moto-fastboot just like the instructions say

It's a universal binary, but I only tested on x86_64
 

Attachments

lhurtado

Senior Member
Apr 26, 2010
624
136
0
Santiago - Chile
Mac OS X binaries of moto-fastboot :)

I compiled using the fastbootNfriends.zip from the OP and with this command:
Code:
gcc -arch x86_64 -arch ppc -arch i386 -o moto-fastboot usb_osx.c util_osx.c fastboot.c protocol.c engine.c bootimg.c -lz ../libzipfile/zipfile.c ../libzipfile/centraldir.c -I ../libzipfile -I ../mkbootimg/ -I /Volumes/AndroidPlatform/system/core/include  -framework IOKit -framework CoreFoundation -framework AppKit
Note that /Volumes/AndroidPlatform is a repo checkout of the android-platform.

Extract the zip then make the binary executable with:
Code:
chmod +x moto-fastboot
then ./moto-fastboot just like the instructions say

It's a universal binary, but I only tested on x86_64
Thanks! this is just what i was looking for!
 

slowpc

Senior Member
Sep 29, 2010
680
27
0
W.S -=- NC
tried the boot32 and boot with no avail. Running on my cr-48 with newest ubuntu build and the os sees it just fine but when in fastboot mode it does not see the device. :( Guess I will wait for a windows based system to try.

Thank you all for all this work everyone has put in so far.
 

BravoMotorola

Senior Member
Oct 17, 2010
1,597
385
0
flashing back 1.83 does seem to relock bl

edit: i did ave to reflash the unlock sbf again before re-attemptig, but i did not have to re-enter the code.
Yea, I noticed the same thing. I sbf'd to 57 because things got messed up when I tried restoring /data via root explorer lol. If your phone got screwed up somehow does anyone think it would be possible to cover up the unlock by one of the 3 sbf files? At least it covers up the "unlock" text before booting. Unless it gets so messed up you can't do anything but it's still covered by the warranty...but then how could they test?

OH, and on the 2.3.4 dev build subject, I found an upsetting bug...every time I try to set up a finger print screen lock I get a force close. Anyone else getting this?
 
Last edited:

aver2one

Senior Member
Nov 26, 2010
173
21
0
miami
www.anythinggeekonline.com
Yea, I noticed the same thing. I sbf'd to 57 because things got messed up when I tried restoring /data via root explorer lol. If your phone got screwed up somehow does anyone think it would be possible to cover up the unlock by one of the 3 sbf files? At least it covers up the "unlock" text before booting. Unless it gets so messed up you can't do anything but it's still covered by the warranty...but then how could they test?

OH, and on the 2.3.4 dev build subject, I found an upsetting bug...every time I try to set up a finger print screen lock I get a force close. Anyone else getting this?
Yeah fingerprint scanner is borked
 

players_inc17

Senior Member
Oct 13, 2009
105
8
0
Ok Quick base band question. I know the latest baseband on froyo is 1.27.15p. What is the baseband on the leaked 2.3.4 update? Ive seen a pic of it being 1.77.27p an another being 1.97.00r. Anyway to just extracts the 2.3.4 baseband to see if it works on froyo 2.2.2 for faster data speeds or battery life?

O yea thanks for all the hard work , devs and anyone else who help.
 

Gutterball

Senior Member
Dec 24, 2010
966
175
0
New Jersey
Ok Quick base band question. I know the latest baseband on froyo is 1.27.15p. What is the baseband on the leaked 2.3.4 update? Ive seen a pic of it being 1.77.27p an another being 1.97.00r. Anyway to just extracts the 2.3.4 baseband to see if it works on froyo 2.2.2 for faster data speeds or battery life?

O yea thanks for all the hard work , devs and anyone else who help.
Its 1.97 and theres a flashable radio in the devs forum for the radio only! :D http://forum.xda-developers.com/showthread.php?t=1128963 Only one problem there is a bug that only shows one bar but the signal is actually fine besides that works great!!

Well I'm unlocked!!! Ahh freedom!! Now i'm just waiting for those windows commands to flash 2.3.4 can't wait!! Thanks to all the awesome devs who brought us all these great things today!! Cheers!!
 
Last edited:

rjohnstone

Senior Member
Jan 31, 2011
833
194
73
Phoenix, AZ.
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] !
sudo ./moto-fastboot flash -w threw an unknown partition error.
Code:
unknown partition '-w'
error: cannot determine image filename for '-w'
Stuck in boot loop.
Time to flash back top 1.8.3 :(

EDIT: Figured it out... moto-fastboot flash -w... should read moto-fastboot -w
 
Last edited:

[email protected]

Senior Member
May 19, 2010
498
5,102
0
Chicago
teslacoilsw.com
It seems the xdpi and ydpi are wrong in the GB rom:
Code:
DisplayMetrics{density=1.5, width=540, height=960, scaledDensity=1.5, xdpi=240.0, ydpi=240.0}
Should be:
Code:
DisplayMetrics{density=1.5, width=540, height=960, scaledDensity=1.5, xdpi=160.0, ydpi=160.0}
(Different from the actual density which should be, and is, 240). I'm guessing this is why the stock keyboard/Market/AdMob ads/Moto-widgets, etc all look a little wrong. I don't know how to fix it though...
 
  • Like
Reactions: DREWSASTER

NYG-SBXLII

Senior Member
Apr 10, 2011
88
37
0
Now that the BL is unlocked has anyone tried to flash the entire HKTW sbf with RSD instead of just the system.img? Maybe then we would have webtop, fingerprint scanner and other things that are not working.
Sent from my MB860 using XDA App
 

Fausty

Member
Aug 31, 2009
43
1
0
Sydney, AUS
Fantastic work guys!

I had 0 problem flashing the files using ubuntu 11.04 32bits with a bootable USB drive.

Apart from the fingerprint reader not working, camcorder on front cam does not really work (picture is turned 90 degrees) and google talk does not let you use the front cam (I thought that was possible with 2.3.4).
 

briggie108

Senior Member
Feb 14, 2011
68
10
0
Portland, ME
Having trouble with the moto-fastboot. in both cygwin and virtualbox it is not working for me. In virtualbox it does the syntax error and in cygwin it says can not execute binary.
 

JayRolla

Senior Member
Mar 8, 2011
736
80
0
Im a newb running linux. I have linux in a virtual box. I downloaded moto-fastboot and the two image files. Now where do I extract these files too in linux? When I run the commands it just says command not found? I have the files on my desktop in linux, how do I direct linux to flash the files too the phone via fastboot through the terminal since it cant find the file?
 

joshyy_rey

Senior Member
Sep 16, 2010
894
189
0
ATL/Auburn
Mac OS X binaries of moto-fastboot :)

I compiled using the fastbootNfriends.zip from the OP and with this command:
Code:
gcc -arch x86_64 -arch ppc -arch i386 -o moto-fastboot usb_osx.c util_osx.c fastboot.c protocol.c engine.c bootimg.c -lz ../libzipfile/zipfile.c ../libzipfile/centraldir.c -I ../libzipfile -I ../mkbootimg/ -I /Volumes/AndroidPlatform/system/core/include  -framework IOKit -framework CoreFoundation -framework AppKit
Note that /Volumes/AndroidPlatform is a repo checkout of the android-platform.

Extract the zip then make the binary executable with:
Code:
chmod +x moto-fastboot
then ./moto-fastboot just like the instructions say

It's a universal binary, but I only tested on x86_64
cant believe I read over this...trying it now
 

ceo.mtcl

Senior Member
Aug 20, 2008
2,411
487
0
St. Paul, MN
sudo ./moto-fastboot flash -w threw an unknown partition error.
Code:
unknown partition '-w'
error: cannot determine image filename for '-w'
Stuck in boot loop.
Time to flash back top 1.8.3 :(

EDIT: Figured it out... moto-fastboot flash -w... should read moto-fastboot -w
Everything worked flawless for me (except for fringerprint reader), only change is this:

instead of sudo ./moto-fastboot flash -w use sudo ./moto-fastboot -w