Making SBF file ?

Discussion in 'Android Hacks and Help' started by tujj99, Apr 22, 2010.

  1. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Since there is a Linux based utility that can flash SBF's on, I'd think if you had a modern Mac, running whatever it is they run that's a Linux derivative, you could just compile that utility for the Mac and you'd be all set. I don't know a thing about Mac's and don't know anybody who even uses one, so that's about as clever as I can be right off the cuff on that one.
     
  2. jstafford1

    jstafford1 DF Super Moderator Rescue Squad

    Joined:
    Nov 15, 2009
    Messages:
    11,062
    Likes Received:
    1,214
    Trophy Points:
    573
    Location:
    Hebron, Oh.
    Ratings:
    +1,329
    Twitter:
    jstaff79
    As nice as these are......since rsd only runs on windows our Mac users are left out in the cold. We searched for while to find a way to get it to work to no avail. Maybe someone will be inspired to try now. Lol
     
  3. Tallica

    Tallica Premium Member Rescue Squad Premium Member

    Joined:
    Mar 17, 2010
    Messages:
    3,259
    Likes Received:
    1
    Trophy Points:
    101
    Location:
    Middleboro, MA
    Ratings:
    +1
    Yes, but Easy root and Rom Manager has serious problems. Seems like all the problems I see are directly related to one of those two apps.

    This will be good!
     
  4. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    I think it is hard to keep the newbies from taking the easy route -- it's too tempting. I'd much rather do it the tried-and-true, reliable way -- even if it takes an extra 3 minutes. Like you said, we can't protect them from themselves, but at least now maybe we'll have a couple extra options before we have to blow away the entire phone to get 'em operational again.
     
  5. Tanknspank

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    North Carolina
    Ratings:
    +0
    This alone can explain why people have trouble when booting after flashing spr on Froyo. It comes with the ESE81 kernel. Learn something new everyday.

    And that linux can just use flash_sbf.
     
  6. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    According to a quick Google search I just did, you can compile Linux apps to run on Mac. Someone with a Mac needs to grab this code and take a whack at it.
     
  7. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Thanks for reminding me to say something about this! Once I noticed that there were two code groups in the SPRecovery_for_ESE81.sbf file I set about figuring out what the second one was (obviously the one of primary interest at the outset was the recovery). The way I figured it out was kinda crafty, but it absolutely is the boot image which is the kernel. So, yes, if you flash SPRecovery_for_ESE81.sbf onto a non ESE81 phone, you're going to mess it up. If you flash SPRecovery_for_ESE81.sbf onto an ESE81 phone that has a custom kernel, they'll go back to stock kernel. Although my new packages have just recovery and no kernel, I would still want to use the package built specifically for the SBF that the phone was originally built from. I built an "ESE81 Clockwork recovery only" and a "FRG01B Clockwork recovery only" file, using the same image on both for the recovery part, but using the HMG and RDL files particular to that build (which are different) and as expected, the resulting SBFs are different. I haven't done testing to know if they are different in a way that matters or not. I'm not afraid of hurting my test phone, so I'll try cross-flashing them and see if it matters. Honestly it may be hard to know for sure if it matters because who knows what action would expose whatever problem might be introduced. Since we have the files and the ability to make a special recovery flash for any release that we have an original SBF for, there's not much reason not to unless we completely prove to ourselves that once the kernel is removed from the SBF it just doesn't matter (but I bet it does). :)
     
    Last edited: Aug 17, 2010
  8. christim

    christim DF Super Moderator Rescue Squad

    Joined:
    Jan 23, 2010
    Messages:
    5,100
    Likes Received:
    2
    Trophy Points:
    153
    Location:
    New England
    Ratings:
    +2
    See if this makes sense. I'm on a stock 2.2 phone and want to root.

    RSD Lite to get sprecovery on, and you get an oddball kernel. As long as you don't boot the phone there should be no issue. You boot into recovery or you boot into the phone (desktop, apps, browser, phone, contacts, etc). If your next step is to put the update.zip onto the root of your card, you can do so from SPRecovery, or if you did it first you also would be ok.

    I think maybe folks are putting on sprecovery then trying to boot up the phone to then mount the phone to get update.zip on their card. They have the wrong kernel for that OS so get stuck and can't mount their phone to get the update.zip onto the phone.

    So the solution is to put update.zip onto the card first, then get sprecovery on the phone and just boot-x into SPR and apply the update.zip file.

    They also could boot into SPRecovery and use the mount option in there to get the file on their card too, without booting the phone os up until after they have flashed a new rom.


    Of course....the real solution is to have multiple sbf files to choose from and to select the right one and/or nicely asking motocache1 for a kernel-free sprecovery sbf file. :)


    I do know there are some folks with mac's on here. Not sure how deep into this they can go. Thanks for the link to get them started MotoCache1

    of course, for the mac owners...

    If such a thing was easy, I'd think someone would have made it already, and for those trying such a thing, I wish you luck and the thanks of our community. ;)
     
  9. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    For anybody who is keeping score, I figured out how to do this. I haven't had time to actually do it, but unless it turns out that the /system code group is signed or something, making a pre-rooted SBF of an entire release (or even a custom ROM for that matter) should be doable.
     
  10. jntdroid

    jntdroid DF Super Moderator Premium Member

    Joined:
    Nov 18, 2009
    Messages:
    6,445
    Likes Received:
    297
    Trophy Points:
    198
    Location:
    TX
    Ratings:
    +297
    Did I understand it correctly (I read this thread LATE last night) that flashing our old faithful ese81 sprecovery .sbf file puts an ese81 kernel on the phone? So, hypothetically, I install a FRG01B based ROM through CW/ROM Manager, then flash that sprecovery, don't flash any other kernel, and it could mess things up a bit?
     
  11. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    I'm pretty tied up at the moment, so my apologies that this reply is so brief, but it is important that everyone is clear about this. The SPRecovery_ESE81.sbf contains the ESE81 kernel in the image. When you flash that SBF to your phone you will be flashing SPRecovery to the recovery partition, and you will also be flashing the ESE81 (Android 2.1) kernel to the boot partition. If "the rest of your phone" isn't on Android 2.1, it wouldn't be surprising if it didn't like that very much. The presence of ESE81 in the name should suggest that the SBF should only be applied to ESE81 phones, but I don't think (prior to now) anybody knew why, thought it was particularly important, or understood what happened if you used it on a phone running another build. Have to run for now.
     
  12. teddyearp

    teddyearp Senior Member

    Joined:
    Jan 13, 2010
    Messages:
    1,803
    Likes Received:
    9
    Trophy Points:
    68
    Location:
    Randle, WA
    Ratings:
    +9
    Current Phone Model:
    Motorola XT1103 (Nexus 6)
    I've got a ton of info to post in this thread, but for now I will have to say and affirm that the SPRecovery_ESE81.sbf file should NEVER, EVER be attempted on any Droid A855 phone unless it is using ESE81/2.1 firmware already.

    And I just gotta say that this is the MOST intelligent thread I have read to date here @ DF and I have a ton more info that I will try to post in the morning in an attempt to dispell all the rumors so far posted.
     
    Last edited: Aug 19, 2010
Search tags for this page

create sbf file

,
how to create a file from my files on droid
,

how to create a sbf file

,

how to create an sbf file

,
how to make a sbf file
,
how to make sbf file
,
make sbf file
,
sbf-recalc
,
who makes sbf 245125126
,
xt908 sbf