Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,635 Members 52,806 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL] sbf Flashing in Linux for Windows with Ubuntu Live CD

Tip us?
 
newk8600
Old
(Last edited by newk8600; 6th June 2011 at 05:23 AM.) Reason: Added 2.3.2 sbf and how to update baseband; baseband details revision; updated links because Droid2files.com went down.
#1  
newk8600's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 523
Join Date: Aug 2010
Location: Northglenn

 
DONATE TO ME
Default [TOOL] sbf Flashing in Linux for Windows with Ubuntu Live CD

Here's a custom Ubuntu LiveCD made with ADB and the Linux sbf_flash script for sbf flashing your Droid 2 if you've failed in Windows with RSDlite or just want to have the convenience of flashing with only two Linux commands.

PLEASE READ ENTIRE POST BEFORE FLASHING ANYTHING!

If you want to follow this tutorial on your existing linux setup the sbf_flash file can be found on Google

READ OR RISK BRICK If you don't have the 2.3.2 update then you can sbf with EITHER the 2.2.0 (stock) or the 2.3.2(OTA update) but only if you don't have the update yet. Once you have the 2.3.2 update (through sbf or update.zip) you can ONLY sbf with the 2.3.2.sbf

Please have your phone charged up if not completely near complete or risk dealing with the consequences
Thanks Androidnite

1. Download 2.2.0.sbf file (for Droid 2 without 2.3.2 update only) or 2.3.20 HERE (for Droid 2's that have the 2.3.20 update) and put it on a flash drive. Yes even if you have one that you used with RSDlite.(this way we know you have the right one and it's all there)

2. Download the LiveCD ISO via torrent file attached below and unzip it and open the file with your choice of torrent program then BURN the downloaded file to a blank CD with your favorite burning software(I like DVD Decrypter or Imgburn). I recommend no faster than 4x in order to prevent burning "coasters".

3. Make sure your computer's BIOS is set to boot from the CD Drive then start your computer with the Disk in the drive.

4. Wait for the language list to pop up select "English". Then select "Try Ubuntu without installing"

5. Take the flash drive you put the .sbf file on and put it in your computer’s USB port and copy it to the same directory as the sbf_flash file. It will be the “Home” folder.

6. Plug your phone in via USB now and turn it off then hold the ‘up’ arrow on the keyboard and power on the phone to go into the bootloader.

NOTE: If your phone is not in operating condition Hold the 'UP' arrow on your keyboard and power on your phone for it to be recognized by your computer by entering the bootloader.

7. Open a command prompt by ‘CTRL+ALT+T’ or Applications>Accessories>Terminal

8. Type the first command then press enter and then do the same with one of the last two commands depending on the sbf you are trying to flash.

For both sbf's
Code:
chmod +x sbf_flash
Then

For the 2.2.0 sbf ONLY*OLD SBF*

Code:
sudo ./sbf_flash DROID2_X6_2.2.20_SHADOW_BP_C_01.09.05P_P2_USERBLD_SECURE.sbf
Or

For 2.3.2 sbf ONLY
Code:
sudo ./sbf_flash VRZ_A955_2.3.20_1FF_01.sbf
NOTE: every space in the .sbf's title should be taken by an underscore "_" and shouldn't contain other spaces or the command will not be recognized because it doesn't follow the command's syntax.

Now your phone should start flashing. Let it go and it should reboot in 20-30 minutes.
That should be it let me know what problems you have.

Boot Loop?
facelessuser said if you get a boot loop after flashing wipe your data and cache in recovery.
Instructions:
Quote:
1. Pull your Battery.
2. Replace battery and power on while holding down the X key.
3. Wait for the android triangle to load.
4. Press the Search key (the magnifying glass)
5. Use down arrow and navigate to wipe data/factory reset and press OK.
6. Reboot phone.
These instructions are by theecho.

Not getting the updated baseband? From BP_C_01.09.05P to BP_C_01.09.07P

NOTE: Be sure to update your baseband before you load a custom ROM as the update needs to see the blur on your phone.(If you root it before updating you might not be rooted afterward I don't know).

After you sbf with the 2.3.20 sbf file above and you don't see and updated baseband then you can use the Update.zip
to update your baseband by:
Quote:
1. Download the update.zip and put it in the /sdcard/ folder or the root of the sdcard (same thing)
2. Shutdown D2
3. While you hold the 'X' button on the keyboard, turn on the D2
4. You should be in Stock recovery not Clockwork Recovery.
5. Press the 'magnifying glass' (search) button on keyboard to bring the menu up
6. Use the volume buttons to scroll and the Camera button to Select 'apply sdcard:update.zip'
7. Then choose 'reboot system now' and you should have an updated baseband.
Thanks for the info Quackers



Thanks:

First, thanks Matt4542 for putting the flashing in Linux tutorial which the commands I used were adapted from.

Next, a thanks to theecho for hosting the files for everybody’s access and making this really easy for me as I am a newbie to file hosting.

Last, but not least the inspiration for the custom Ubuntu ISO and help while making it...shad0wf0x from the XDA HTC Aria section(s) needs a thank you as well.

Please keep issues on this thread to allow faster responses.
Even if you used the RSDlite method by Darkonion first. RSDlite related posts should go there and Ubuntu method posts stay here.

Thanks and may your Droid 2 live on!
Attached Files
File Type: zip Droid2RecoveryISO-Ubuntu.zip - [Click for QR Code] (12.5 KB, 621 views)
Before posting try and do a search in the forum or use Google with "XDA developers:"(without quotes) in front of what you want to find.
(Keeps # of double posts down and helps you find what you are looking for faster!) Thanks!
 
darkonion
Old
#2  
darkonion's Avatar
Senior Member
Thanks Meter 30
Posts: 509
Join Date: Aug 2010
Location: Fremont, CA

 
DONATE TO ME
This sounds convenient. I am going to add this to the information directory.
If you find any of my work or help useful, please feel free to show your gratitude by sending a few bucks (or more) my way! i b po0r c0113ge stUd3nt.



Visit my websites:

DarkOnion
www.darkonion.com

Kimete
www.kimete.com
 
Terri M
Old
#3  
Terri M's Avatar
Senior Member
Thanks Meter 29
Posts: 214
Join Date: Sep 2010
Location: Kansas
I just want to say Thank you from the bottom of my heart for un-bricking my Droid 2 with the Ubunta Live CD program you created. I truly thought my phone was dead! I would very much like to send a donation your way for all the hard work you put into this. Please let me know by PM on how I can send the donation. Again, Thank you Thank you Thank you!!!!


Sent from my DROID2 using XDA App
Remember to hit the "Thanks" button when someone helps you!
 
newk8600
Old
#4  
newk8600's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 523
Join Date: Aug 2010
Location: Northglenn

 
DONATE TO ME
lol no problem but i just enabled you to get to the flashing it was matt4542 and his linux tutorial that really fixed your phone....but if you really want to donate just head to the site where the files are hosted http://Droid2files.com and click on the donate button under my pic (yes that's what I really look like lol).

I thank you for wanting to thank me and for wanting to contribute to my well being!

p.s. think about thanking matt4542 and TheEcho for hosting the files (for FREE) and shad0wf0x for inspiring the LiveCD.
 
Terri M
Old
#5  
Terri M's Avatar
Senior Member
Thanks Meter 29
Posts: 214
Join Date: Sep 2010
Location: Kansas
Quote:
Originally Posted by newk8600 View Post
lol no problem but i just enabled you to get to the flashing it was matt4542 and his linux tutorial that really fixed your phone....but if you really want to donate just head to the site where the files are hosted http://Droid2files.com and click on the donate button under my pic (yes that's what I really look like lol).

I thank you for wanting to thank me and for wanting to contribute to my well being!

p.s. think about thanking matt4542 and TheEcho for hosting the files (for FREE) and shad0wf0x for inspiring the LiveCD.
Okay, donation just sent to you and TheEcho!

Now I just need a way to send Matt4542 and shad0wf0x their donation
 
newk8600
Old
(Last edited by newk8600; 12th October 2010 at 11:53 PM.)
#6  
newk8600's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 523
Join Date: Aug 2010
Location: Northglenn

 
DONATE TO ME
Well Matt4542's donate link is here and I'm checking with shad0wf0x about his.

And thanks again for your donation(s)!
 
Jacklad
Old
#7  
Senior Member
Thanks Meter 19
Posts: 254
Join Date: Jan 2009
Location: Los Angeles
Got Ubuntu installed - files transferred to "home"/ubuntu directory - phone connected in bootloader - first chmod flash command didn't seem to do anything (returned to $ prompt), 2nd sbf flash gives command not found error - what am I doing wrong?
Motorola Droid Razr M, Motorola Xoom Tablet, Samsung Galaxy Tab - Happily Rooted
 
Terri M
Old
(Last edited by Terri M; 13th October 2010 at 03:43 AM.)
#8  
Terri M's Avatar
Senior Member
Thanks Meter 29
Posts: 214
Join Date: Sep 2010
Location: Kansas
Quote:
Originally Posted by Jacklad View Post
Got Ubuntu installed - files transferred to "home"/ubuntu directory - phone connected in bootloader - first chmod flash command didn't seem to do anything (returned to $ prompt), 2nd sbf flash gives command not found error - what am I doing wrong?
Click on the browser icon and navigate to this page. Then try using the copy/paste feature rather than typing it in yourself.

Sent from my DROID2 using XDA App
Remember to hit the "Thanks" button when someone helps you!
 
Terri M
Old
#9  
Terri M's Avatar
Senior Member
Thanks Meter 29
Posts: 214
Join Date: Sep 2010
Location: Kansas
Quote:
Originally Posted by newk8600 View Post
Well Matt4542's donate link is here and I'm checking with shad0wf0x about his.

And thanks again for your donation(s)!
You are more than welcome!

Matt's donation has been made, and patiently waiting to make donation to shad0wf0x
 
newk8600
Old
#10  
newk8600's Avatar
Senior Member - OP
Thanks Meter 25
Posts: 523
Join Date: Aug 2010
Location: Northglenn

 
DONATE TO ME
Quote:
Originally Posted by Jacklad View Post
chmod flash command didn't seem to do anything (returned to $ prompt), 2nd sbf flash gives command not found error - what am I doing wrong?
The first command changes permissions (chmod) for 'sbf_flash' giving it the ability to execute (-x) so you won't see anything unless you change directory (cd) to the file and then list it with it's permissions with ('ls -l' both being lowercase L's)

For the second one can you tell me which command it can't find.
Is it troubled with 'sudo' (do with super user priveleges) or with sbf_flash. You might not have typed it in correctly. Remember the space between 'sudo' and './'

Sent from my DROID2 using XDA App
Before posting try and do a search in the forum or use Google with "XDA developers:"(without quotes) in front of what you want to find.
(Keeps # of double posts down and helps you find what you are looking for faster!) Thanks!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes