[Q] help with odin and ubuntu - Fascinate General

my friend put ubuntu 10.10 on my pc i have always had windows i cant seem to figure out how to get odin for my computer am i going to have to have him put windows back on here or is there a way

Odin is Windows only. You could run it under Wine or a virtual machine, but given that it's meant for flashing your phone, I'd avoid doing that. You could use the open source replacement, Heimdall, though.

Okay thanks i have been on android since the g1 but just basic flashing and such i must learn more now though

Related

Flashing with Odin in Virtualbox / Linux : works really well !

Hello folks.
I'm working on custom kernel & ramdisk on Linux and was tired to plug/deplug the phone from my Linux workstation to a Windows netbook to flash it...
..Before I realized that Odin works perfectly well on a XP VM on a Ubuntu 10.4 host / Linux 2.6.35.2 !
Big bonus of this setup is that the software virtual USB switch allow you to plug/deplug the phone without touching any hardware.
Odin re-discover the phone and you can flash next millisecond
PS : this has maybe already has been reported, but I know few people who thought it did not work.
I never had any issues flashing my old Hermes through a VM XP machine on my hackingtosh back in the day, as long as I selected the correct USB port to stop OSX trying to grab hold of it.
Not quite "off topic" but thought it would put a few minds at rest
FlanFlinger said:
I never had any issues flashing my old Hermes through a VM XP machine on my hackingtosh back in the day, as long as I selected the correct USB port to stop OSX trying to grab hold of it.
Not quite "off topic" but thought it would put a few minds at rest
Click to expand...
Click to collapse
VMWare 3 on a Mac, no go for Odin. Can't get the USB to hold onto the phone, only device I ever had trouble with.
Gonna try VB...
distortedloop said:
VMWare 3 on a Mac, no go for Odin. Can't get the USB to hold onto the phone, only device I ever had trouble with.
Gonna try VB...
Click to expand...
Click to collapse
I thought that Vmware was better than VirtualBox for USB tweaks, maybe this is history !
Tell us aware of your tests on Mac
In download mode, SGS appears as Gadget Serial [021B] in VirutalBox.
Pretty good news, I should really clean the dust off my XP virtual machine!
Is Samsung Kies working too?
VMWare 7 in Ubuntu is fine too...
thunderteaser said:
Pretty good news, I should really clean the dust off my XP virtual machine!
Is Samsung Kies working too?
Click to expand...
Click to collapse
Kies in VirtualBox fine...VMWare fail MTP driver...
I finally just installed Windows 7 in Boot Camp. VM would never see the phone
braintheboss said:
Kies in VirtualBox fine...VMWare fail MTP driver...
Click to expand...
Click to collapse
Thanks for your feedback! I replaced VMWare with VirtualBox many years ago and this kind of issues was the main reason, you should stick to VirtualBox!
Can someone tell me how to prevent my mac to grab my phone on usb? I always get an error from my virtualbox, thay device is used by someone else.
Sent from my GT-I9000 using XDA App
Can't get the Galaxy S i9000 to connect to VirtualBox either.
I select Gadget Serial, it waits a minute or so, then pops up this error message:
Failed to attach the USB device Unknown device to the virtual machine XP.
Could not find a USB device with uuid (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
Callee RC: NS_ERROR_INVALID_ARG (0x80070057)
Click to expand...
Click to collapse
After that, sometimes the phone still appears as available to connect, others it doesn't. Very similar to the VMWare problem.
This is on my Late 2009 MacBook Pro with Snow Leopard. Doesn't matter which USB port I select. I might try a powered hub in between the phone and the laptop. Connecting the SGS to the laptop USB is always a bit of hit and miss for both adb sessions and even mounting the sdcards. I frequently have to unlplug and replug the phone to get a connection. I've seen a few others report the same.
Must be an issue with OS X itself, but to make sure I'll have to try this on my Mac Pro desktop.
I'll report back any success, but I'm not hopeful, I've yet to read a report of someone successfully using Odin in a vm on a Mac.
I'll pile on with my test results. Thus far, under Mac OS X 10.6.4, I have not successfully connected the Vibrant to a VM USB in any Windows virtual machine with the Samsung USB drivers installed. I tried vmware fusion 3.1.1 and the latest virtualbox, 3.2.8. Both failed to recognize the phone when attempting to mount it. No issues in the Mac host environment or Bootcamp. The problem is limited to the VM environments under the Mac host environment.
If anyone has successfully connected the Vibrant to a Windows virtual machine running under vmware fusion or virtual box for Mac please report your results. I did quite a bit of searching and found no successful results with this combo. Thanks.
UK
Appears to be a lost cause for Mac owners who won't boot camp.
ukchucktown said:
I'll pile on with my test results. Thus far, under Mac OS X 10.6.4, I have not successfully connected the Vibrant to a VM USB in any Windows virtual machine with the Samsung USB drivers installed. I tried vmware fusion 3.1.1 and the latest virtualbox, 3.2.8. Both failed to recognize the phone when attempting to mount it. No issues in the Mac host environment or Bootcamp. The problem is limited to the VM environments under the Mac host environment.
If anyone has successfully connected the Vibrant to a Windows virtual machine running under vmware fusion or virtual box for Mac please report your results. I did quite a bit of searching and found no successful results with this combo. Thanks.
UK
Click to expand...
Click to collapse
Thanks to fresh discovering, you will be able to flash from the phone itself soon
supercurio said:
Thanks to fresh discovering, you will be able to flash from the phone itself soon
Click to expand...
Click to collapse
This is exciting.
this thread is definitely NOT what I had hoped to find after trying to use odin under VMWare/Win7 (MBP 2009)
I'll report back if I figure out anything. I've had similar battles with activesync/WMC under VMWare as well, and I've got things playing nice after some tinkering
Was a little worried about using virtual machines to flash my favorite toy, but this thread was the push I needed to give it a shot. Plus, seems like there's a fix to get out of almost any brick you manage to install on your phone, even if you have to build a JIG its not expensive.
So gave it a shot and it worked like a charm, Mint/Ubuntu 10.10 host using Virtualbox. One less reason to ever use Windows 7. Even when I don't boot it Windows breaks, I swear its a scheme to keep people who fix Microsoft products employed......
Supercurio that mean "Odin in Recovery" ? or im think in a false way? to flash tar files in recovery..
Sent from my GT-I9000 using XDA Premium App
Wow, you might become an archaelogist if you managed to bring back this thread from the ashes! We now have Heimdall, which is GNU/Linux native. Give that a shot.
I ever used Odin in a VM of Windows 7 over Ubuntu 11.04.
Heimdall is only for 64bit system and i user a 32bit version.. so...
But..Every flashed i did went good

Flashing Android into HD2 Using Linux

Hi,
Is it possible to install Android using from Ubuntu?
Thanks,
Mohammad
Maybe you could try using wine, but I wouldn't risk it personally.
If you own a copy of windows, you could install windows into a virtualbox. But if you're going to do that, you might as well install a dual-boot so you can run either linux or windows.
In short I dont think so. i have been trying for ages to get this working and just had to cave in the end when the NAND release came out. WINE was just a non-starter for flashing, and for some reason i couldnt get my virtualbox windows XP to ever want to flash the phone. I faffed and faffed, even got the sync fully working in the virtualbox WinXP but couldnt get flash working.
I have ended up with an XP install on an old HDD just to flash my HD2!
After NAND android ROMS devs should work in a new way to flash Android using Linux

phone hacking from ubuntu?

I have no more windows computer for hacking my phone, leaving me only with ubuntu 10.10 64 bit. I did a search on here, and saw someone mentioned heimdall frontend. my problem is, even though it's written for debian (the base of ubuntu), it doesn't want to install on ubuntu. does anyone know of a program that works for ubuntu? or why it won't install?

Linux and Firmware Flashing

Is there anyone who has the VZW retail S5 and runs Linux Mint? I switched to Linux a week or so ago and can't figure out how to flash firmware or tar files in Linux. I tried VirtualBox with Odin and Kies but neither detects the phone. Heimdall and JOdin3 don't seem to be working either. Besides using a seperate computer with Windows is there any other solution that works? Please let me know, I would like to make a full departure from Windows. I've been searching for a solution but no luck yet.....
Hmmm, no Linux users here willing to help?
http://forum.xda-developers.com/showthread.php?t=755265
First off DO NOT UNDER ANY CIRCUMSTANCES USE ODIN FROM A VM. You have a chance of breaking stuff even if you do somehow manage to get it to detect your phone, your only option is heimdall or jodin, and as far as i can tell jodin is just a graphical frontend for heimdall, but heimdall has its own gtk anyway. The main issue with flashing using either is they both require a PIT file which you cant get afaik, so you will need to use comouter with windows on it or install Windows on another partition.
Rakuu said:
First off DO NOT UNDER ANY CIRCUMSTANCES USE ODIN FROM A VM. You have a chance of breaking stuff even if you do somehow manage to get it to detect your phone, your only option is heimdall or jodin, and as far as i can tell jodin is just a graphical frontend for heimdall, but heimdall has its own gtk anyway. The main issue with flashing using either is they both require a PIT file which you cant get afaik, so you will need to use comouter with windows on it or install Windows on another partition.
Click to expand...
Click to collapse
Thanks for the reply. So it looks like I will just use the wifes laptop for Odin. I did get Jodin to detect the phone but sadly there is a problem with Heimdall handeling the large tar files that Samsung uses and the dev doesn't have a fix. I could push the seperate files to the proper partitions via ADB but that's way too risky for me. It was worth asking anyways.
pwhitersxs said:
http://forum.xda-developers.com/showthread.php?t=755265
Click to expand...
Click to collapse
Thanks but I already tried that...
Misterxtc said:
Is there anyone who has the VZW retail S5 and runs Linux Mint? I switched to Linux a week or so ago and can't figure out how to flash firmware or tar files in Linux. I tried VirtualBox with Odin and Kies but neither detects the phone. Heimdall and JOdin3 don't seem to be working either. Besides using a seperate computer with Windows is there any other solution that works? Please let me know, I would like to make a full departure from Windows. I've been searching for a solution but no luck yet.....
Click to expand...
Click to collapse
I'm actually running the opposite setup: Win 8.1 Pro host with Linux Mint guest. I would actually recommend this sort of setup. If you've got enough RAM and powerful enough CPU, you should be alright. I've got a Core i5 (2core 4 thread) with 6gb RAM. I've dedicated 3gb RAM and 2 vCPUs (virtual CPUs) to the guest OS. Also, make a shared directory on the Windows host anywhere (mine's in c:\vm\{shared_folder}\) and share it. Then on the guest OS browse the network/host os name/shared folder. This way you can move files back and forth from host to guest.
EDIT: and make sure the network settings for the VM is set to bridged, not NAT. This will place the guest VM on your network just like it were a physical machine.
MrHyde03 said:
I'm actually running the opposite setup: Win 8.1 Pro host with Linux Mint guest. I would actually recommend this sort of setup. If you've got enough RAM and powerful enough CPU, you should be alright. I've got a Core i5 (2core 4 thread) with 6gb RAM. I've dedicated 3gb RAM and 2 vCPUs (virtual CPUs) to the guest OS. Also, make a shared directory on the Windows host anywhere (mine's in c:\vm\{shared_folder}\) and share it. Then on the guest OS browse the network/host os name/shared folder. This way you can move files back and forth from host to guest.
EDIT: and make sure the network settings for the VM is set to bridged, not NAT. This will place the guest VM on your network just like it were a physical machine.
Click to expand...
Click to collapse
I have this same setup. Works great.
As far as vb not recognizing your phone, did you go to devices->usb in vb to check mark it to work in the windows guest? Install the drivers in windows? I'm sure you tried this already but have to ask.

Flash tools under Linux (> Windows VM?)

Long time ago i asked a Question here, but there's something i'm interested in.
I currently dual boot Win and Linux and i'm totally done in doing this, wont waste space for this windows anymore, so my question is, how to use the Flash tool under linux which is explicit for windows?
Someone tested it already? Is it maybe possible to use it in a Windows virtualmachine or will it cause some trouble due to missing USB drivers, even if they are installed?
Thanks.

Categories

Resources