Jump to content


Photo

Fastboot Flasher [PROTOTYPE]


  • Please log in to reply
69 replies to this topic

#1 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 07:23 PM

Please do yourself a favor and read, read again, and read one more time before installing and using this tool.  If it's set up correctly, it's very easy to use.  But if you don't follow directions, it'll either not work or not do what you expect.  Failure to read and follow the directions is NOT a defect of the tool!
 
Mission statement for tool:

 

This tool generates FULL, KEEP DATA, and for some devices UNIVERSAL, fastboot scripts for your FXZ. After generating the script in the background, it then automates flashing the script with fastboot similar to how the House of Moto works.  This tool is completely separate from the House of Moto.

 

Downloads:

o) 

Please Login or Register to see this Hidden Content

 (On Windows)

o)

Please Login or Register to see this Hidden Content

 

Install:

o) Install the latest Moto USB Driver if on Windows

o) Extract the

Please Login or Register to see this Hidden Content

or

Please Login or Register to see this Hidden Content

support file if you need the fastboot binary

o) The jar file is an executable jar.  If you have your JVM setup correctly, you should just be able to run it like any other program.  If you do not have your JVM setup correctly, you should fix that.   :)

 

NOTE: You *MUST* have the Java runtime installed.  It must be Java 7 (or higher).

 

USAGE:

o) Run the FastbootFlasher.jar

 

LARGE NOTE HERE: DO NOT put the FXZ's extracted directory or the FXZ's zip file in a folder with spaces in the path or this WILL FAIL.

 

o) Select your FXZ's xml file.  It will look something like VRZ_XT926_9.8.1Q-79-1_CFC.xml but specific to your FXZ.

OR

o) Select your FXZ's zip file.  It will then prompt you for a directory to extract it to.  I suggest creating a new directory like "FXZ_xt1053" or whatever your model is and selecting that.  It will then select your FXZ'z xml for you.

o) Locate your fastboot binary.  On Windows this will be fastboot.exe  NOTE: This will only be necessary the first time you run.

o) Put your phone in AP Fastboot mode

o) Connect the phone to a USB 2.0 port using your original OEM cable (yes it matters)

o) When ready to flash, press the appropriate button for the type of flash you want (typically: FULL, KEEP DATA, or UNIVERSAL)

 

Once you press the button, the script will be generated, a command window will open, and start to flash the script.  The program will close once the command window is opened.

 

SUPPORT:

o) If you have a flash failure, I need the following information:

-Model of phone

-FXZ filename you are flashing

-Which script (button) you are flashing

-The contents of the command window (copy and paste)

-Any other relevant information that will help me help you

 

WARNING: Current state is prototype so proceed with EXTREME caution.

 


  • johnthehillbilly, livinginkaos and LDubs like this

5uWEQs7.jpg

 

Non potest esse nisi unus

 


#2 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,038 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 06 January 2014 - 07:26 PM

Your mission statement appears incomplete.

Sent From My DEV X


  • johnthehillbilly likes this

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#3 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 07:27 PM

Um, I wasn't finished.  LMAO.  I was still updating it.


  • johnthehillbilly likes this

5uWEQs7.jpg

 

Non potest esse nisi unus

 


#4 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,038 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 06 January 2014 - 07:28 PM

I was reading :)

Sent From My DEV X


  • johnthehillbilly likes this

b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#5 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 07:31 PM

Reading is good.  Wanna test it?  :)  Your dev editions would be a good way to see if it works.  I haven't had a chance to run it.  It...might work.  :)


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#6 johnthehillbilly

johnthehillbilly

    Gear jammin' S-Mod

  • Smod
  • 6,470 posts
  • Twitter:@johnhillbilly
  • Google+:http://goo.gl/ColUJ .. johnthehillbilly@gmail.com
  • LocationSomewhere between here, and there...
  • Current Device(s):unlocked RAZR HD (xt926)... RAZR (xt912)

Posted 06 January 2014 - 07:32 PM

I dig your HUGE WARNING....lol .... I'll be testing on the OG RAZR and the HD tomorrow (its nap time now) :) :) (testing on windows 7 64 bit, windows 8 64 bit Ubuntu Linux 64 bit and XP 32 bit) ....
  • SamuriHL likes this

Feeding my android addiction......... one phone at a time.....

jhf.png

If you are feeling generous and would like to buy me a drink.... coffee :)


#7 livinginkaos

livinginkaos

    I don't know what I'm doing anymore.....

  • Administrator
  • 15,038 posts
  • Google+:Hangouts - livinginkaos@gmail.com
  • LocationOregon
  • Current Device(s):Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7

Posted 06 January 2014 - 07:35 PM

Indeed... bed time....

Sent from my VS980 4G using Tapatalk


b2wvCBn.png

Sig by livinginkaos
Samsung S8+ / Pixel XL 128gb / iPhone 7+ 256gb / iPad Pro 12.9" / Samsung Chromrbook Plus / Pixel C / Nexus 6p 128gb / Nexus 6 / Nexus 6 on Fi / Nexus 9 / Moto 360^2 / Nvidia Shield TV Pro / Nvidia Shield Tablet / HTC EVODesign on FreedomPop / Chromecast / Surface Pro 3 i7 / Samsung Tab Pro 12.2 / Lenovo Win8 Tab / Eee Slate / '13 Nexus 7


#8 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 07:40 PM

Testing would be appreciated.  I may get around to testing it on the Bionic tomorrow if I have time.  I just posted the support files for OMAP and Snapdragon to add the proper fastboot files to their respective FXZ's.  The new phones come with the proper files in the FXZ's so they don't need any support.  Just drop it in and go for them.


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#9 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 07:56 PM

Just tried it on the Bionic and it's not working.  I'll debug it tomorrow and try again.  :(  That sucks.


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#10 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 06 January 2014 - 08:49 PM

Fixed the flashing problem (I think) but I need to thread the log window as its not getting updated at all until the whole thing finishes. And that's not so useful. I should hopefully have an updated version out tomorrow.

Sent from my SM-P600 using Tapatalk 4
  • cmh714 likes this

5uWEQs7.jpg

 

Non potest esse nisi unus

 


#11 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 07 January 2014 - 12:10 PM

New version posted.  HOWEVER, you REALLY need to read before trying it as there are some severe issues here.

 

First, MAKE SURE YOU HAVE A FULL backup!  I already whacked my Bionic's data partition somehow.  YEY me.

 

Second, this is a big one....the log window will NOT get updated until the ENTIRE flash is complete.  It's my big outstanding issue to fix but having spent far too much time looking at it already today, it'll have to wait.  You will eventually get the whole log, but, not til after it's done flashing.  What does this mean?  It means you have NO IDEA where you are in the flashing process at any given point until it's done and your phone is rebooting.  This can be a little...nerve wracking.  (OMGZ PONIES is it DOING ANYTHING??) Yes, yes it is.  Just give it time.  This is a bug that is VERY difficult to fix given some java issues so it may take some time to get a real time log working.

 

Flashing does seem to work in this version.  What worries me is that I'm not sure why the Bionic got wiped.  Hence, this is still very much prototype code and possibly will blow up your stuff.


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#12 matjmonk

matjmonk

    Pack Leader to Bubba

  • Dedicated Supporter
  • PipPipPipPipPip
  • 3,662 posts
  • Google+:matjmonk@gmail.com
  • Current Device(s):Nexus 6, Nexus 7 (2013)

Posted 08 January 2014 - 05:30 AM

<snip>

 

HUGE WARNING: I've not tested this AT ALL.  Looking for CAPABLE testers to try this out.  Use the House of Moto to fix it if it no workie.  It might even work on Mac and Linux.  Maybe.

 

 

 

Reading is good.  Wanna test it?   :)  Your dev editions would be a good way to see if it works.  I haven't had a chance to run it.  It...might work.   :)

I would love to help our wondrous Samuri out but you already ruled me out with the "CAPABLE" requirement! But if I can get work to leave me alone long enough, I'll try to get my Java environment working again and see if I can put this puppy through its paces (and yes I do have a current backup of my X).


Posted Image
Bubba, perfide lues Odocoileus virginianus felines et ubique!

#13 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 08 January 2014 - 05:35 AM

It works.  I think when i wiped my data by accident I clicked on full instead of keep data at one point when testing.  (Long story...I had been using a scaled down xml file for testing and flashing it as full, so, when I did the test with the FXZ's xml I may have clicked the wrong thing by mistake). It just won't give you a real time log window...it'll stay blank until the entire flash process is done.  So don't freak out.  :)


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#14 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 26 January 2014 - 08:37 PM

I've started working on this again to see if I can fix the logging problem. Maybe this week.

Sent from my SM-P600 using Tapatalk


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#15 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 27 January 2014 - 09:06 AM

Alright, new version posted.  It should do what it's supposed to now.  I have not done a lot of testing so use at your own risk for the  moment.  Brave souls who want to help me out should test it on their device with their latest FXZ.  Report back to me what works.  If you're testing on Linux or Mac (COMPLTELY untested at the moment) I'd be curious to know if it works or not.  It may not.  OMAP and Snapdragon users, pay attention to the instructions about extracting your support file to your FXZ directory.  Without it things will blow up.  I don't do a lot of error checking (um none) right now.  Once we have this tested and the kinks worked out, this will replace the House of Moto as it's a FAR more useful tool.  I'll add functionality to flash custom steps once we get the basic functionality working.  Make SURE you have a FULL backup before testing this as it's still a prototype and subject to bugs that could wipe your phone.  


  • cmh714 likes this

5uWEQs7.jpg

 

Non potest esse nisi unus

 


#16 jcarter3729

jcarter3729

    n00b

  • Members
  • Pip
  • 6 posts
  • Current Device(s):Droid Razr Maxx HD (XT926)

Posted 09 February 2014 - 07:30 AM

THIS IS WHAT MY LOG IS SAYING

 

 

 

C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl1 sbl1.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl2 sbl2.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl3 sbl3.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash rpm rpm.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash tz tz.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash aboot emmc_appsboot.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe reboot-bootloader
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash partition gpt_main0.bin
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl1 sbl1.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl2 sbl2.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash sbl3 sbl3.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash rpm rpm.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash tz tz.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash aboot emmc_appsboot.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash boot boot.img
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash system system.img.ext4
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash recovery recovery.img
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash modem NON-HLOS.bin
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash devtree device_tree.bin
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash logo logo.bin
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash cdrom cdrom
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe erase modemst1
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe erase modemst2
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe flash fsg fsg.mbn
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe erase cache
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe erase tombstones
C:\HouseOfMoto\FXZ_xt926\Windows\fastboot.exe reboot
 

 



#17 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 09 February 2014 - 07:52 AM

Well that's a nice log, but, you don't tell me anything else.  Like, um, was it successful?


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#18 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 09 February 2014 - 07:55 AM

The answer is no.  I have your PM.


5uWEQs7.jpg

 

Non potest esse nisi unus

 


#19 dlw1146

dlw1146

    n00b

  • Members
  • Pip
  • 15 posts

Posted 08 April 2014 - 01:44 PM

Having problems with flasher.

See attached.

On Ubuntu 12.04.

 

Any help appreciated.

 

dlw

Attached Files



#20 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 34,762 posts
  • Current Device(s):Pixel XL

Posted 08 April 2014 - 01:47 PM

You need java 7.


  • livinginkaos likes this

5uWEQs7.jpg

 

Non potest esse nisi unus

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users