Jump to content


Photo

Fastboot Flasher [PROTOTYPE]


  • Please log in to reply
69 replies to this topic

#41 BwingG

BwingG

    Member

  • Members
  • PipPip
  • 140 posts
  • LocationSeattle
  • Current Device(s):RazrM

Posted 23 June 2014 - 07:23 AM

Sure, these are the commands from the script that deal with the radios:

fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2

I do this from a command prompt window opened inside the folder I extracted the fxz to right? been a while since I've done this. sorry about double posting. 😀

#42 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 23 June 2014 - 07:52 AM

under HoM there is a Windows folder with the fastboot executable. so if your in the FXZ_xt926 directory you can replace my above commands....change fastboot to ./Windows/fastboot 

 

your slashes will be backwards to mine since I am a MAC...



#43 BwingG

BwingG

    Member

  • Members
  • PipPip
  • 140 posts
  • LocationSeattle
  • Current Device(s):RazrM

Posted 23 June 2014 - 08:16 AM

under HoM there is a Windows folder with the fastboot executable. so if your in the FXZ_xt926 directory you can replace my above commands....change fastboot to ./Windows/fastboot

your slashes will be backwards to mine since I am a MAC...


I appreciate your help but I'm stupid. lol I think the best way for me is to just do the whole fxz install

#44 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 29 June 2014 - 09:56 AM

Locking this thread until I have time to work on this project again.


Non potest esse nisi unus


#45 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 29 June 2014 - 06:59 PM

Fastboot Flasher 1.0 released

 

As you can see, I reopened the thread and rebuilt the tool from the ground up.  I'd like to get some people to try it out and see how it works for them.  Specifically Linux/Mac people as this tool is something I'm hoping can really benefit you guys and gals.  I've not had a chance to test it *AT ALL* so this is at your own risk.  If your FXZ includes Windows/Darwin/Linux directories, it's recommended to point the FastbootFlasher program to them.  Otherwise, you'll have to either use the support files I provide or know where your fastboot binaries are located.  The way it's set up now is not ideal, but, it should at least work.  For Linux/Mac users, when the script kicks off, it will ask for sudo rights in the command window that pops up.  Just be aware.

 

Definitely looking for feedback.  Thanks!

 

PLEASE NOTE: There's almost guaranteed to be bugs in this so know what you're doing if you're going to test this as it may not work and may require you to restore your phone another way.


Non potest esse nisi unus


#46 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 29 June 2014 - 07:11 PM

will give it a whirl manana


  • SamuriHL likes this

#47 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 29 June 2014 - 07:14 PM

Thanks. I shall as well in both Linux and Windows. Just didn't have time tonight.

Sent from my SM-P600 using Tapatalk


Non potest esse nisi unus


#48 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 03:10 PM

Reasonably sure a I read a few times...but you never know Sam....

 

Created a new folder for the latest flasher, extracted OMAP so have the OMAP support folder in there and ran the jar, selected the latest  xml file (already extracted) for the XT912 and the "gui" opened with Full or Keep Data as my choices, but neither button seemed to allow me to press it.

 

Then tried to use the zip file and that seemed to put the gui into a state where I assumed it was extracting, but nothing ever came back. If I mouse over the window it turns into the spinning disk insinuating that its doing something....but nothing ever comes back

 

is there a log I can tail or something, or where would you be extracting the FXZ file so I can see if its being created...



#49 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 03:15 PM

You told it where to extract the FXZ.  :)  Yes, it takes a while as system.img is large.  Not sure why the buttons wouldn't be active, but, it opens a sh script that gets created in your FXZ directory.  It's possible on Mac/Linux the perms on the SH script are wrong.  This is why I said there's going to be bugs that need to be worked out.  There's going to be a lot of things that need to be fixed I'm sure.


Non potest esse nisi unus


#50 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 03:26 PM

nope it never asked where to extract...last thing was it asking where the file was. ..if it extracts it in its current location, well thats where my original is :) 

 

and no problem on the troubleshooting for you, no worries since it didnt do anything and I was messing with my old 912 so I didnt have to mess with my normal device and the 912 needed a refresh anyway.



#51 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 03:31 PM

the jar file was rw-r-r and changing that didnt help



#52 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 03:33 PM

I'm running it in linux now and it's doing what I said it should.  So when you select the zip file, it pops up another window to select an output folder.  That's where the FXZ should be extracted to.  There IS a bug, though, in that when it asks for the fastboot binary it's looking for fastboot.exe which is wrong on Linux/Mac.  I selected All Files in the drop down and was able to select my fastboot binary.  I'm quite sure the script needs the eXecute bit set, however, so, it won't run properly.  So a couple bugs to fix.


Non potest esse nisi unus


#53 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 03:52 PM

I dont get the second pop-up for where to extract to.



#54 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 04:34 PM

Don't know what to tell you.  I do in Linux and Windows.


Non potest esse nisi unus


#55 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 04:50 PM

Fun with Mac... good thing I have both Linux and Windows VM's :)



#56 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 04:56 PM

Don't worry...it doesn't work at all on Linux.  LMAO.  It'll extract the FXZ, generate the script, maybe even set the script to eXecute now.....and that's it.  It will not launch the script no matter what I do.  I'm working on it but this blows.


Non potest esse nisi unus


#57 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 05:00 PM

Sorry brother, let me know what I can do for ya :)



#58 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 05:17 PM

Not much.  I don't think this is going to work for Linux/Mac.


Non potest esse nisi unus


#59 cmh714

cmh714

    Tech Service & Beyond

  • Smod
  • 3,272 posts
  • LocationSoCal
  • Current Device(s):Nexus 6

Posted 30 June 2014 - 05:26 PM

No biggie here, but thank you for trying as always :)



#60 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 43,446 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 30 June 2014 - 05:35 PM

Yea, I was hoping I could get it to work, but, I'm not sure it ever will.  There's some serious issues with getting the script to run from Java.


Non potest esse nisi unus





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users