SBF on linux - Motorola Atrix HD

Anyone here ever use sbf_flash on Linux to update a Motorola phone?
May be doing a root and jb update for someone and my laptop is Ubuntu only. Not really comfortable using wine or virtual box when dealing with a strangers phone if you know what I mean.
At home I used my desktop to rsd but want to be in public place for this.

Related

[PROGRAM] Heimdall - Cross-Platform Open-Source Flashing Software (1.0.0 Available)

Hey guys. I found this over in the I9000 forum. It's an alternative to Odin. For those of us who use Mac or don't have access to a Windows machine.
Link to program:
http://www.glassechidna.com.au/products/heimdall/
Link to thread:
http://forum.xda-developers.com/showthread.php?t=755265
Benjamin Dobell said:
IMPORTANT: If you have a Heimdall alpha 5 or older do not run it.
What is Heimdall?
Heimdall is a cross-platform open-source utility to flash ROMs onto Samsung Galaxy S phones.
How does it work?
Heimdall uses the same protocol as Odin to interact with a device in download mode. USB communication in Heimdall is handled by the popular open-source USB library, libusb-1.0.
Why “Heimdall”?
The flashing software Odin is named after the king of gods in Norse mythology. Loke, the software component on the Galaxy S that provides functionality to flash, may also to be named after an important character in Norse mythology, often translated as Loki. As such I have named my flashing software Heimdall, after the Norse god, and guardian of the Bifrost Bridge.
What platforms does Heimdall run on?
Linux, OS X and Windows (XP, Vista, 7 etc.)
Why use Heimdall when we can use Odin?
Odin is generally unreliable and only runs on Windows systems. Furthermore, Odin is leaked Samsung software that is not freely available or well understood by the community.
Is Heimdall safe?
No matter what method you chose, flashing firmware onto your phone has a lot of potential for disaster. We have tested Heimdall with a variety of phones flashing several different firmware versions resulting in a 100% success rate. As such we believe that Heimdall is generally reliable. However keep in mind, just like any flashing software, Heimdall has the potential to brick your phone if not used correctly.
How do Galaxy S phones get bricked when flashing?
Besides the inherent risks like power outs, accidental removal of the USB cable etc. The Galaxy S appears to be running extremely unreliable USB control software.
A failure to flash does not automatically equate to a bricked phone. However if you're extremely unlucky and the flash fails whilst transferring the primary boot-loader, secondary boot-loader or params.lfs (all quite small) than you've got yourself a paper weight that you're hoping Samsung will replace.
Please be extremely careful mixing files from different firmware releases. Don't do so unless you're certain it will work!
What Galaxy S variants has Heimdall been tested with?
I've tested Heimdall with a Galaxy S GT-I9000 (8 GB) from the United Kingdom and Galaxy S GT-I9000 (16 GB) from Australia. I don't have access to any other devices to test with at present, but community members have confirmed it to also function correctly for the AT&T Captivate.
Enough talk, where can we get it?
The latest release is available here. Please read the instructions and README files included in the archives.
I love you, man. Will you have my baby?
No, but I will very gladly accept donations. If you appreciate my work and would like to support future development you can make a donation here. If you think you have something else to offer, then feel free to shoot me a PM or contact me via the contact form on the Glass Echidna website.
Click to expand...
Click to collapse
Edited title and first post to be more descriptive, it is true that this is already posted here @ XDA on another forum but I will keep this open in hopes that some Vibrant users find it valuable.
krook6023 (mod team)
Awesome! Ty
Sent from my SGH-T959 using a chihuahua
sw33t thanks for this
NICE. I'll give it a try as soon as I need to use ODIN again.
(Running Ubuntu 10.10 x64 here.)
how do I install this in linux ubuntu... Please give us a HowTo
Thank You
jmatic said:
how do I install this in linux ubuntu... Please give us a HowTo
Thank You
Click to expand...
Click to collapse
1. Download and install the libusb-1.0 v1.0.8 developer package, please refer to http://www.libusb.org/.
2. Open a terminal and navigate to the directory you extracted Heimdall to.
3. Type the following:
./configure
make
sudo make install
jmatic said:
how do I install this in linux ubuntu... Please give us a HowTo
Thank You
Click to expand...
Click to collapse
its in the README.
the3dman said:
1. Download and install the libusb-1.0 v1.0.8 developer package, please refer to http://www.libusb.org/.
2. Open a terminal and navigate to the directory you extracted Heimdall to.
3. Type the following:
./configure
make
sudo make install
Click to expand...
Click to collapse
I haven't tested it yet, but presumably the Ubuntu package libusb-1.0-0-dev will satisfy this particular build dependency.
I'm really excited about this! I've been reluctant to run odin in a Windows VM, and having a native solution in Linux is a huge win.
JeremyNT said:
I haven't tested it yet, but presumably the Ubuntu package libusb-1.0-0-dev will satisfy this particular build dependency.
I'm really excited about this! I've been reluctant to run odin in a Windows VM, and having a native solution in Linux is a huge win.
Click to expand...
Click to collapse
Yeah I had to Odin the new Froyo but I'm on a Mac and couldn't use Odin in Virtual Box. So I searched for alternatives and this is what I found. I only wish that it would have a GUI so it would be easier to use but I will take what I can get.
Have any of you guys actually tried using this?
Sent from my SGH-T959 using XDA App
rbirg said:
Have any of you guys actually tried using this?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I used it on my Mac and it worked great. Got the unofficial Froyo from Eugene running on my Vibrant. I had to rename the md5 file downloaded to .tar and extract that and you will get the files needed to flash in Heimdall.
1. Love the name.
2. I am so happy to be able to have a tool like this on my Mac. I am perfectly happy flashing everything through Clockwork, but it's really nice to be able to have a failsafe in case I brick or otherwise screw something up.
Thank you so much!
Great find !
Great find !
Alot of my friends are mac losers I means users So ill forward this thread to them along with my comments
Installed on Ubuntu...might give it a shot later on. I prefer Ubuntu over Windows anyway so I HOPE this works well. It is a little more complicated but I learn more and more about Linux and Android everyday!
./end short rant of useless info!
Goodbye Odin! Hello Heimdall!
Nice that its done through the command line. If the USB port on our phones can be configured as a USB Host, then it would be possible to flash phone to phone... I believe the G1 can do that.
Thank you for posting this. Soft bricked just earlier today and had to go alllllllll the way to a friends to Odin back. Now I can flash from the safety of my own couch! Thanks again!!!
oquinones said:
Yeah I had to Odin the new Froyo but I'm on a Mac and couldn't use Odin in Virtual Box. So I searched for alternatives and this is what I found. I only wish that it would have a GUI so it would be easier to use but I will take what I can get.
Click to expand...
Click to collapse
Who needs a stinky GUI
Code:
heimdall
Usage: heimdall <action> <arguments> ]
[--verbose] [--delay <ms>]
action: flash
arguments: --pit <filename> [--factoryfs <filename>] [--cache <filename>]
[--dbdata <filename>] [--boot <filename>] [--secondary <filename>]
[--param <filename>] [--kernel <filename>] [--modem <filename>]
description: Flashes firmware files to your phone.
Compiled fine under Ubuntu with libusb-1.0.8 from http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2/download
oquinones said:
I used it on my Mac and it worked great. Got the unofficial Froyo from Eugene running on my Vibrant. I had to rename the md5 file downloaded to .tar and extract that and you will get the files needed to flash in Heimdall.
Click to expand...
Click to collapse
Hey man, I'm in desperate need. I'm new to all this and on a Mac. I'm happy that I bumped into this thread. I know what I'm doing for the most part but I never messed with ODIN. I recently flashed AOSPish 1.1 and then went back to AOSPish 1.0 I had backed up. My phone works but I can't seem to boot into recovery. I keep getting this error message
"E:Missing Bitmap Indeterminate1
(Code -7) and etc..."
It stays on that screen, I can't do anything. It practically took me an hour to figure out how to get the phone to reboot by pulling the battery with the phone plugged in, then inserting the battery back in after the screen blacks out. My phone is hardware lock so the 3 key method does not work. I rooted using One Click Root for Mac.
Please help....I love this ROM but I want to flash back to 1.1
Can you tell me how to use Heimdall since you flashed Eugenes so I can flash back to stock.
HYE_TECH said:
Hey man, I'm in desperate need. I'm new to all this and on a Mac. I'm happy that I bumped into this thread. I know what I'm doing for the most part but I never messed with ODIN. I recently flashed AOSPish 1.1 and then went back to AOSPish 1.0 I had backed up. My phone works but I can't seem to boot into recovery. I keep getting this error message
"E:Missing Bitmap Indeterminate1
(Code -7) and etc..."
It stays on that screen, I can't do anything. It practically took me an hour to figure out how to get the phone to reboot by pulling the battery with the phone plugged in, then inserting the battery back in after the screen blacks out. My phone is hardware lock so the 3 key method does not work. I rooted using One Click Root for Mac.
Please help....I love this ROM but I want to flash back to 1.1
Can you tell me how to use Heimdall since you flashed Eugenes so I can flash back to stock.
Click to expand...
Click to collapse
Do you know how to use adb? Try typing "adb reboot recovery" without the quotes and you should be in recovery.
If not, then I'll try and explain it.

[Q] Need help rooting FRG83D

I'm on a droid FRG83D following the step by step instructions on cyanogenmod's wiki.
I only have access to linux if that helps.
When I get to the step when I need to run sbf_flash I get an error:
Segmentation fault
Can anyone help me out? Thanks in advance
Bump. Can someone help me root my droid please?
Me too
I was rooted but had to get a replacement and I have tried everything to get my root back and nothing works. Someone please help
Saw a couple of posts over at Droidforums.net that mentioned they used Super One Click available here: http://forum.xda-developers.com/showthread.php?t=803682 . They also updated z4root, so that would probably work as well. http://forum.xda-developers.com/showthread.php?t=833953 . Hope that helps...
Can you tell me if either of those work in linux?
I'm having the same problem. I've tried sbf_flash as listed on the CyanogenMod wiki, but it doesn't seem to work with v. FGR83D. Is there any way to root this droid in Linux? Every Windows app I've tried so far (RSD Lite mainly) fails too. I'd prefer to be able to do it in linux.
Which .sbf are you trying to flash? I JUST rooted via sbf_flash yesterday so I know it works. It is possible the .sbf is screwy.
I have started a thread here to root your Droid, check it out.
Although some say they got it to work, I couldn't get the directions in your thread to work properly on linux. If you are rooting via linux sbf_flash is by far the easiest.... maybe someone should do a quick write up....
MasterRebkee said:
Although some say they got it to work, I couldn't get the directions in your thread to work properly on linux. If you are rooting via linux sbf_flash is by far the easiest.... maybe someone should do a quick write up....
Click to expand...
Click to collapse
Ahh sorry, that was my bad. I forgot the Superoneclick needs a Windows based computer.
Can you get to a PC that runs Windows? The process is very quick and easy, it would not take you long at all.
Soup for root beta it really works
Sent from my Droid using XDA App

Root .902 mac osx

I am looking to root my bionic that is stock on .902. I downloaded the Moto fail for osx and am stuck there. Anyone have a guide?
i know there is a exe.. tutorial and i have one myself not for mac.. but.. here is my guide.. http://forum.xda-developers.com/showthread.php?t=1497094 and also search for a motofail portable i can't find it but i think "crabs" or something make it originally..

[Q] any chance of root similar to the motofail coming soon?

Title says it all
Obtw im askin for the ahd on stock jb drom att
If you need help with the Linux method, you should head over to the original development topic and ask for help there, there's as few good guys still hanging around helping people out
Sent from my phone.
yeah, if you have basic command line/copy paste knowledge, you can do it easily. Install vmware player for windows, install ubuntu within that, and copy paste

Dont know what i did :(

not clue what i did wrong to be honest. im trying to flash back to stock with rsd and i keep getting sticky bit fastboot. any help ?
What were you trying to do?
Sent from my PACMAN MATRIX HD MAXX
i tried to flash back to stock, and i get this ive never had it before. tried using rsd and i put in stock firmware i try flashing and i get that.
http://forum.xda-developers.com/showthread.php?t=2312662
Sent from my PACMAN MATRIX HD MAXX
tried that didnt do anything...... i dunno if its because i dont have stock motorola cables.
emmabellachristian said:
tried that didnt do anything...... i dunno if its because i dont have stock motorola cables.
Click to expand...
Click to collapse
That shouldn't matter, I've done the fastboot commands with both Moto and Samsung usb cables. I'm gonna guess that you having the usual permission/wrong fastboot problem. I can tell you first hand that Linux, Root, and SnapDragon Fasboots have never once failed me for any flash command (that's supported by our phone). I've never done adb from Windows, but from what I understand ya gotta right click the snap-fastboot.exe and enable Administrator Permissions for it.
To make life much easier for you, download the correct fastboot from Batakang and overwrite any fastboot.exe on your system with it if this is your only android phone that uses fastboot commands and do the permissions crap for all of them (how many can there actually be ).
If its not the permission/fastboot crap then reinstall any Motorola or Android driver you have. For some reason for some people they just quit working properly and need a reinstall...that's just proper Windows maintenance .
/I've always believed that Windows wasn't named after its windowed desktop, but after actual windows because, like real windows, if it breaks its just easier to install a new one versus fixing the old...I mean, yeah you can get a crack or a star filled, but ya gotta be covered by insurance (pc warranty) or cough up the $$$...And, just like glass windows, if you don't know how ya gotta pay to install the new one.
//Kids, learn how to use tools, some basic home maintenance skills, and enough auto mechanic skills to at least do a complete tune up, a brake job, and install an alternator\bolt on engine parts.
so i feel like a tard was battery close to dead problem :-x just outta curiousity when flashing i get to step 17 flash "system img" then phone returned fail phone connected
take it no one has a clue ?
emmabellachristian said:
take it no one has a clue ?
Click to expand...
Click to collapse
I don't, not for Windows anyways. I've had that error, but it was because I typed fastboot flash instead of snap-fastboot flash...what I rename them to so they don't conflict with the Android SDK from the AUR.
I didn't realize you had replied....but yeah, I've had my low battery flash scare. After 2 days the Bravo would not take a charge, wall, pc, car, and I was desperate. For me I ended up taping speaker wire to some razr (flip phone) batteries and wiring them to the connection prongs on my Bravo, put actual Bravo battery in and flashed the sbf... it worked
If possible, do this all on Linux...doesn't really matter the distro or version. You'll hardly have any errors or issues with our fastboot as root on Linux.
While it won't help you now, I've been looking into Manjaro's system builder tool to make a Manjaro system with adb and fastboot setup, various programs I use...basically the crap I use on a daily basis to make an installer for myself so I can install my custom system wherever I need it. It would also be worth sharing cause it would be an easy way for a new Linux user to get started and not have to follow multiple mile long guides on xda just to install a bunch of crap to get started.

Categories

Resources