Welcome to the Atrix Forum - Motorola Atrix Forum.

Register ButtonIf this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Flash any SBF file without RSDLite (Mac or Linux)

This is a discussion on Flash any SBF file without RSDLite (Mac or Linux) within the Motorola Atrix Help forums, part of the Motorola Atrix Support Forum category; Flash any SBF file to your device *without* RSDLite (Mac or Linux) I personally don't take any credit for this work. I just copied and ...

Results 1 to 8 of 8
Like Tree4Likes
  • 2 Post By RobKort
  • 1 Post By das8nt
  • 1 Post By ManDroid

Thread: Flash any SBF file without RSDLite (Mac or Linux)

  1. #1
    Rescue Squad
    Member #
    2926
    Join Date
    May 2011
    Location
    Pennsylvania, US
    Posts
    5,918
    Liked
    646 times

    Flash any SBF file without RSDLite (Mac or Linux)

    Flash any SBF file to your device *without* RSDLite (Mac or Linux)

    I personally don't take any credit for this work. I just copied and pasted for our members benefit.



    *using sbf_flash created by [mbm]

    **UPDATE: THIS DOES NOT WORK WITH RADIO SBFS. YOU CAN USE CWM TO FLASH RADIO IMGS.

    **IF YOU ARE UNLOCKED WITH CWM, YOU REALLY SHOULD HAVE NO NEED TO FLASH FULL SBF FILES. SEE SAMCRIPP'S FRUIT CAKE THREAD


    This guide is for Mac OS or Linux users only!! I didn't see any dedicated guide for flashing SBF files for Mac users so i thought I would contribute something to this wonderful community.

    Pre-Guide Information (SKIP BELOW FOR ACTUAL INSTRUCTIONS)

    The standard prerequisite for flashing SBF files to our devices is RSD Lite, and as we all know, the only platform made available for RSD Lite is Windows. Mac or Linux users have always been required to either run Windows using a virtual machine or find a Windows computer to use. In my opinion, all of these methods are time consuming and can sometimes be very frustrating. Now we can VERY easily flash any SBF file using a simple utility called "sbf_flash" (created by [mbm]). The creator of this wonderful little utility deserves a lot of credit because he was able to make the executable work on both Mac and Linux platforms which is no small feat considering Mac OS X uses the mach-o executable file format while Linux uses ELF. It is very interesting how he was able to accomplish this so if you are interested to find out how or interested in learning more about this nifty little utility, visit his blog.

    [mbm]'s Optical Delusion Blog: http://blog.opticaldelusion.org/


    DISCLAIMER: The following procedures require you to be somewhat comfortable using terminal and some basic commands. All the standard warnings apply as well. I am not responsible if anything happens to your device. It is your responsibility to ensure you are flashing an SBF that is compatible with your device. Check and then double check for good measure. I also recommend checking the md5sum of the file you choose. Check both the compression md5sum and the actual SBF file md5sum. Follow the instructions carefully and heed the warnings about downgrading.


    ** DO NOT TRY TO DOWNGRADE TO 1.8.3 IF YOU HAVE FLASHED AN OTA UPDATE OF 4.5.91 **

    ---------------------------------------------------------------------------------------------------------------------------------------------------


    INSTRUCTIONS


    SBF_FLASH GUIDE FOR MAC OS X (linux users too)


    Required Files to Download:


    - sbf_flash utility ---> DIRECT DOWNLOAD

    - sbf file of your choice **make 100% sure the SBF file you choose is compatible with your device**


    ** no drivers needed, thats the beauty of this method. so clean **


    **There are 2 sets of Instructions, choose one. Novice and Expert (Scroll below for Expert).**


    Detailed Instructions (Novice):

    GET READY: As always when flashing SBF files, remove your SIM and microSD cards and power the device on by holding the Vol+ and Power.

    Step 1: Download sbf_flash and place it in an easily accessible directory (e.g. /Users/username/Documents)

    *You have to rename the file "sbf_flash" to "sbf_flash.sh" (thank you n1ckr0th)

    Step 2: Place the SBF file you have chosen in the SAME directory you put sbf_flash (e.g. /Users/username/Documents/).

    Step 3: Open up a terminal shell.

    Step 4: In terminal, change to the directory where you have placed both files:

    * SKIP TO STEP 5 IF YOU KNOW HOW TO USE TERMINAL *

    // how to change directories in terminal
    * in the following instructions, ignore the brackets when typing in the commands
    - the command [cd] is what you use to change the directory. so if the files are in /Users/username/Documents, you would type [cd Documents]
    - the command [ls] lists all the files and folders in the current directory. type [ls] and make sure you see both files before proceeding.

    Step 5: We first need to make sbf_flash executable (thank you ionstorm3) by doing the following steps:

    * once again, ignore the brackets when typing these commands
    - type [sudo chmod +x sbf_flash.sh]
    - it will now prompt you for your password. enter it *note: [sudo] is a command which gives temporary admin privileges for the preceding command.
    - sbf_flash is now executable. continue

    Step 6: Flash the image onto your phone:
    - type [sudo ./sbf_flash.sh nameofyourSBFfile] (example: if your SBF file is called "atrix.sbf", you would type [sudo ./sbf_flash.sh atrix.sbf]
    - once again, it will prompt you for your password. enter it again.
    - you are now done.

    If you followed the above steps correctly, the SBF file will now begin flashing onto your device. Sit back, grab a brew, and relax.

    *TIPS: when you are typing in the names of files or folders in terminal, you can hit the [tab] key after you have typed in the first few letters of the file or folder and terminal will autocomplete the rest. This is especially useful if your SBF file has a long name (e.g. OLYFR_U4_1.8.3_SIGNED_1g_1FF.sbf) in this case, if you just type OLYF then hit the [tab] key, terminal will autocomplete the rest of the filename for you. Very useful!

    ---------------------------------------------------------------------------------------------

    EXPERT INSTRUCTIONS:

    1. Download sbf_flash utility and place in easily accessible directory
    2. Download SBF file of your choice and place in same directory
    3. Open up a terminal shell and [cd] into that directory
    4. Execute following command [sudo chmod +x sbf_flash.sh] - this makes sbf_flash exectuable (thanks ionstorm3)
    5. Execute following command [sudo ./sbf_flash.sh nameofyourSBFfile] - this flashes your SBF file to your device.
    6. Done son.

    Well folks, that is it. In my opinion, this is the fastest and easiest way for Mac and Linux users to flash SBF files. Now we can finally do all our rooting/flashing/etc. on one machine. Now it is time for me to give credit to those that deserve it.


    CREDITS:

    [mbm] for creating sbf_flash and making it work perfectly on both Mac and Linux platforms.
    ionstorm3 - thank you very much for not only essentially providing me with the cream of this guide, but promptly responding to my initial concerns.
    XDA Community: thank you for well……everything. this is such a great community with many helpful members.
    Last edited by RobKort; 02-28-2012 at 12:10 PM.
    thekooliest and das8nt like this.
    Welcome to Android
    Atrix 4G Running CM9
    GNex Running JellyBelly JB 4.2 Custom
    Iconia A500 Running CM10
    Galaxy S3 Stock

    Please feel free to PM me if you need any help, I'll get back to you as soon as I can..

  2. #2
    Senior Member
    Member #
    2539
    Join Date
    May 2011
    Location
    Royal Oak, Michigan, USA
    Posts
    1,187
    Liked
    420 times
    I've seen this referenced before on XDA. Do you know if anyone has given any thought to creating a Windows version? Would be very helpful to use in script files. Or does RSD Lite have a command line mode?
    Martin's Android devices:
    - Samsung Galaxy S3 with Quantum (CM 10.2 by PwnCakes193)
    - Asus Transformer TF101 with No-Name (CM 10.2 by josteink)
    - Motorola Atrix 4G with CM 7.2

  3. #3
    Rescue Squad
    Member #
    2926
    Join Date
    May 2011
    Location
    Pennsylvania, US
    Posts
    5,918
    Liked
    646 times
    I don't know if anyone is working on porting this to windows since the vast majority use RSDLite. I've only use RSDLite once but I'm pretty sure it does not have a command mode.

    Sent from Rob's Atrix.
    Welcome to Android
    Atrix 4G Running CM9
    GNex Running JellyBelly JB 4.2 Custom
    Iconia A500 Running CM10
    Galaxy S3 Stock

    Please feel free to PM me if you need any help, I'll get back to you as soon as I can..

  4. #4
    Senior Member
    Member #
    2539
    Join Date
    May 2011
    Location
    Royal Oak, Michigan, USA
    Posts
    1,187
    Liked
    420 times
    Quote Originally Posted by RobKort View Post
    I don't know if anyone is working on porting this to windows since the vast majority use RSDLite. I've only use RSDLite once but I'm pretty sure it does not have a command mode.
    Gotta find something with a command line mode, then. It certainly would make rooting and unlocking a lot easier if it could be done with a simple script.
    Martin's Android devices:
    - Samsung Galaxy S3 with Quantum (CM 10.2 by PwnCakes193)
    - Asus Transformer TF101 with No-Name (CM 10.2 by josteink)
    - Motorola Atrix 4G with CM 7.2

  5. #5
    Super Moderator/RS
    Member #
    7
    Join Date
    Jan 2011
    Location
    Florida Panhandle
    Posts
    11,157
    Twitter
    @das8nt
    Liked
    1281 times
    Quote Originally Posted by MJPollard View Post
    I've seen this referenced before on XDA. Do you know if anyone has given any thought to creating a Windows version? Would be very helpful to use in script files. Or does RSD Lite have a command line mode?
    I believe RSD Lite has full command line support. If you install and open the program, then go to the Help menu and the Manual it should outline the commands. (it's been some time since I looked at it, but I believe it might be what the Auto-Unlocker tool uses in it's script)



    Thanks for bring this over, Rob! This will help quite a few, I'm sure.
    MJPollard likes this.

    AtrixForums.com : My Anti-Drug : Above the iNfluence

  6. #6
    Rescue Squad
    Member #
    2926
    Join Date
    May 2011
    Location
    Pennsylvania, US
    Posts
    5,918
    Liked
    646 times
    Well MJ, Das has your answer.

    @ Das

    No thanks needed here, I didn't do anything other than copy and paste.

    Sent from Rob's Atrix.
    Welcome to Android
    Atrix 4G Running CM9
    GNex Running JellyBelly JB 4.2 Custom
    Iconia A500 Running CM10
    Galaxy S3 Stock

    Please feel free to PM me if you need any help, I'll get back to you as soon as I can..

  7. #7
    Senior Member
    Member #
    3545
    Join Date
    Jun 2011
    Location
    Texas
    Posts
    773
    Liked
    154 times
    Quote Originally Posted by MJPollard View Post
    Gotta find something with a command line mode, then. It certainly would make rooting and unlocking a lot easier if it could be done with a simple script.
    Quote Originally Posted by das8nt View Post
    I believe RSD Lite has full command line support. If you install and open the program, then go to the Help menu and the Manual it should outline the commands. (it's been some time since I looked at it, but I believe it might be what the Auto-Unlocker tool uses in it's script)Thanks for bring this over, Rob! This will help quite a few, I'm sure.
    RSD Lite 5.4.4 has nothing in Help other than About. But I found this...........

    Command Line Usage details

    RSDLite can be launched by the command line method. The usage of command line has the syntax as following:

    <PROMPT> [RSDLite Launching path] [-f] [Flash/Flex file path] {[Option parameter]…}
    Option parameter = [Option command line parameter] {value}

    The details of description of command line parameters are below:

    “-f ”: It is mandatory in the command line method and used to separator the application path and flash/flex file path.
    “-t ”: It is an optional parameter and the followed parameter must specify the time out value which is used to decide when to start flash/flex operation. If the value is less than the default value defined in RSDLite.ini file, the default value should be should used.
    “-s ”: It is an optional parameter and it means that it should suppress all prompts of RSDLite.
    “-c”: It is an optional parameter and it means that RSDLite should be closes automatically when it finishes flash/flex operation.
    “-h ”: It is an optional parameter and the followed value designates the action after flash. Otherwise the default action in PST.ini file will be used.
    “-x ”: It is an optional parameter and the followed value designates the action after flex. Otherwise the default action in PST.ini file will be used.
    “-p ”: It is an optional parameter and it specifies the value for MFF loop feature. Otherwise the default action in PST.ini file will be used.
    “-m ”: It is an optional parameter and it specifies the work mode. Otherwise the default action in PST.ini file will be used.
    The parameters can combine freely. The order of the parameter is not cared in the command line.

    As to the application file path and flash/flex file path, they can be expressed as in the way either the relative path or the absolute path. The formats are as following:
     .\..\XXX\SDL.exe
     ..\XXX\XX\..\XX\xx.sdf
     D:\XXX\XXX\SDL.exe

    An example for command line of RSDLite is as follwing:
    D:\SDL.exe -f D:\abc.shx –t 10 –s –c –h 1 –x 0 –p 2 –m


    Can you use that MJ?
    MJPollard likes this.

  8. #8
    Super Moderator/RS
    Member #
    7
    Join Date
    Jan 2011
    Location
    Florida Panhandle
    Posts
    11,157
    Twitter
    @das8nt
    Liked
    1281 times
    Oops, sorry.

    You have to go to C:\program files\motorola\rsd lite\help to find the user manual. Wrong "help."

    Sent from my Unlocked/Rooted/Stock Moto Atrix using Tapatalk

    AtrixForums.com : My Anti-Drug : Above the iNfluence


 

Remove Ads

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. [HOW TO] Use RSD Lite to Flash a SBF File - Motorola Atrix
    By das8nt in forum Motorola Atrix Help
    Replies: 266
    Last Post: 07-17-2014, 05:59 PM
  2. Rooting under linux?
    By fizzatbeyond in forum Motorola Atrix Hacks
    Replies: 11
    Last Post: 12-02-2011, 10:38 PM
  3. Full Linux OS on Atrix
    By Mugen in forum Motorola Atrix General Discussion
    Replies: 0
    Last Post: 03-13-2011, 03:06 PM

Search tags for this page

flash a sbf on a mac
,
flashing without rsd
,
how to flash sbf files on a mac using sbf flash
,
linux sbf flash
,
motorola rsd lite linux
,
rsd linux
,

rsd lite for linux

,
rsd lite for mac
,

rsd lite linux

,
rsd lite mac
,
rsd lite mac download
,
rsd lite para mac
,
rsdlite for mac
,

rsdlite linux

,
sbf flash
Click on a term to search for related topics.