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
    I know the original creator of the ESE81 SPRecovery SBF file was someone on Droidmod who goes by the handle "[mbm]". I hope he sees this post some day and gets at least a little grin.

    I found your short note hidden in one of the code groups in the SBF. I Googled the phrase and it doesn't appear that anybody else has ever repeated it anywhere in the whole of the Internet in proper context (or at least that portion of the Internet that has been preserved for prosperity by Google). It looks like you said it once on #milestone-modding in May of this year. You even put a :p after it. Could be just coincidence or could be an inside joke amongst your crew. Anyway, I thought it was a nice touch.
     
  2. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    The beast is conquered.

    I have built the following SBF's:

    • SBF to flash complete FRG01B with SPRecovery for the recovery
    • SBF to flash complete FRG01B with ClockworkMod Recovery for the recovery
    • SBF to flash only recovery for FRG01B that replaces recovery with SPRecovery but changes nothing else.
    • SBF to flash only recovery for FRG01B that replaces recovery with ClockworkMod Recovery but changes nothing else.
    I still have some playing I want to do before elaborating as I didn't get a chance to work on the one last thing that I want to play with.

    This wasn't a "plug and play" thing -- it took some decent reasoning skills and intuition to look at the output of "mount" and "cat /proc/mtd" and then look at these code groups that come out of the SBF and take some dd dumps of partitions on a live phone and compare it all and decide what is where. Obviously it's not impossible -- I went from never having touched an SBF before (other than installing ones made by others) to building my own in about 5 hours.

    Anyway, thanks to christim for this nudge. I'm sure he didn't intend it as a nudge, but it was a little bonus incentive:
     
  3. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Note for my "to do" list. Make SBF to do nothing but put stock recovery back on without blowing away the whole phone. It's as easy as any of the others I just didn't think to do it yet.
     
  4. 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

    I'm definitely impressed!

    I am pretty sure that in the 3rd link of my signature is a link to a file Pete passed along (he did not make it) that is a rooted stock ese81 file.

    And you are correct, the context of my phrase was that I thought moto released an sprecovery sbf file. I did not mean to imply moto created the sprecovery file only that to me it looked like someone at moto took the existing sprecovery file and turned it into an sbf file that RSD Lite could use.

    So the next question might be....if moto is not the only entity that can create sbf files can one be made to flash over the stock recovery app on the DX and D2?

    I'm in complete agreement that the hacking community is vocal and brought in additional sales for motorola. I guess not enough to repeat the same process on their newer phones though.

    It did not cross my mind that someone would hack an existing sbf file to make it do something different. That's why I thought it odd moto would release sprecovery via a moto created sbf file.
     
  5. 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
    Are any of these rooted, or just stock with the custom recoveries?
     
  6. tktouch12

    tktouch12 Active Member

    Joined:
    Nov 17, 2009
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    i'm pretty sure p3droid from mydroidworld knows the most about this stuff. i think he make the ese81 with sprecovery sbf. and i think he has an understanding (i think he may have released an actual rom in the sbf form)

    if developers could figure out how, it would be helpful to romming motorola phones
     
  7. 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
    Wow, great job Moto! If these end up working this is gonna take a whole step out of rooting...just keeps getting eaiser for these kids.
     
  8. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Oh, OK, you're talking about SPRecovery_for_ESE81.sbf. I thought you meant a whole ESE81 that was already rooted. SPRecovery_for_ESE81.sbf is just the ESE81 kernel and recovery partition with SPRecovery in place of the stock recovery.

    For those phones, Motorola is (at the moment) the only one who can make the files because of the encryption they are using to protect the phone. If your file isn't signed by the right keys it's not going in. The Droid 1 doesn't even care if the file is signed or not, much less who it's signed by.

    They got what they needed from us.

    The best hacks take something the phone trusts and use it against it. :)
     
  9. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    So far just stock with custom recoveries. I keep the newest Superuser update.zip file on my SD card of all my phones, so getting SU from that point is flashing a single .zip. With a little extra work that .zip could be made even better by having it install busybox, etc. while it's adding su and Superuser.apk.

    BUT, where I want to be is what you just said above. I want to be able to take the code group that populates /system, and add files to it, and then use it when rebuilding the SBF. Honestly I think it will be easy (especially compared to what I just had to figure out), but I just don't have all the Linux file system stuff loaded into my brain yet. Even if I never got to that point it wouldn't kill me (maybe bug me slightly) since as long as I can have my custom recovery flashed in as part of the stock ROM, everything else is a single update.zip away.
     
  10. 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
    Next project......easily flash these from a Mac?
     
  11. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    I've not seen anybody do a complete ROM as an SBF yet (other than Motorola of course). At this point I have no reason to think it's impossible, but if it's been done, I've not seen it yet.

    According to my research, someone who goes by [mbm] made the SPRecovery_for_ESE81.sbf. I've seen posts to that effect here, and also found a little note by him buried in one of the code groups (which gave me a chuckle). In any event, I'm sure there are any number of people who could have done this if they weren't working on other things. The good news is, however many people there are that know how to do it, there's now 1 more and that helps get things done. :)
     
  12. MotoCache1

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    18
    Ratings:
    +1
    Thanks! With EasyRoot and ROM Manager, it can't get much easier -- heck, flashing a SBF is probably harder. I think I see these files more as a way to fix things when you break them (with ROM Manager or whatever) and can't get back in. Also for people like me who don't want to use EasyRoot and just want their custom recovery so they can do what they like however they like.
     
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