[Guide] How to flash under Fusion or Parallels on OSX - Galaxy S II General

Found this out by pure chance and flashed about 3 different ROM's and kernels to make sure it works ok.
You must have Kies installed on Fusion or Parallels FIRST!!!
1. First download Heimdall 1.3.0 for OSX and install then reboot
2. Drop the heimdall app in trash as it's not needed now
3. Put the phone into download mode
4. Attach it to Fusion or Parallels
5. Wait for the hardware device drivers to be detected
6. Launch odin and confirm a com port is found
7. Flash away
This will also allow flashing of firmware using Kies under a virtual machine.
Sorry if this is known already but as a Mac user this is a god send as I don't have to have a bootcamp partition dedicated to purely using Kies.

Follow up
** Tested on **
Mac OS X Lion 10.7.1
Parallels 7
VMware Fusion 3.1.3
If any other Mac users can confirm it works on 10.6.x with Parallels 6/7, VMware Fusion 3.x then that would be great.

Nice to hear this i tried yesterday but parallels couldnt mount the download mode. I will try this when i'm home under lion.
Thnx
Sent from my GT-I9100 using xda premium

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

Odin SUCKS for a Mac User

Long time abuser of Android devices and very happy with the SGS2. However, as Mac user, the tools required to mod the SGS2 are not Mac friendly. So I'm turning to the excellent minds of the XDA community to help me enjoy my device.
I run virtualization software which in the past was more than sufficient for any device I wanted to root, hack, etc. So using VMware installed Kies and downloaded the drivers fine (I've even manually installed the drivers to make sure I got them all). The problem primarily is with Odin. In download mode, the device is not recognized. So I figured it was VMware so I tried Parallels and Virtualbox with the same results. Even tried Heimdall which is supposedly more VM friendly but no luck.
Am I just overlooking something or do I really need to use a PC? Your thoughts would be greatly appreciated. TIA
Bootcamp. Doesn't work vm.
Sent from my GT-I9100 using XDA App
cdd543 said:
Bootcamp. Doesn't work vm.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Are you using it with bootcamp?
jlevy73 said:
Are you using it with bootcamp?
Click to expand...
Click to collapse
I used Odin through bootcamp with no problems at all.
But heimdall should run natively on mac and Linux, you just need mono.
? I thought EVERYTHING sucked for a MAC user....
jlevy73 said:
Long time abuser of Android devices and very happy with the SGS2. However, as Mac user, the tools required to mod the SGS2 are not Mac friendly. So I'm turning to the excellent minds of the XDA community to help me enjoy my device.
I run virtualization software which in the past was more than sufficient for any device I wanted to root, hack, etc. So using VMware installed Kies and downloaded the drivers fine (I've even manually installed the drivers to make sure I got them all). The problem primarily is with Odin. In download mode, the device is not recognized. So I figured it was VMware so I tried Parallels and Virtualbox with the same results. Even tried Heimdall which is supposedly more VM friendly but no luck.
Am I just overlooking something or do I really need to use a PC? Your thoughts would be greatly appreciated. TIA
Click to expand...
Click to collapse
I have not got a mac, but have done the following:
ODIN on native PC
ODIN in VMware virtual machine (host = windows xp, guest = windows xp)
Heimdall in Windows (native)
Heimdall in VMWare virtual machine (host = windows xp, guest = ubuntu 11.04)
I don't know what the drivers are like on VMWare for OSX... But I had no issues in any of the above, beyond occasional glitches with ODIN that are likely due to poor coding, or just limited error checking, given it's internal software not really intended for our use.
Bootcamp is the way to go. I also tried with vmware but I think there is some strange stuff with network sharing which messes up the usb connection, both to osx and the vm.
Sent from my GT-I9100 using XDA Premium App
Thanks everyone for your quick replies. Bootcamp did the trick.

[Q] Flashing via Linux

Hi Guys,
i recently installed Ubuntu 11.10 as my primary OS. I had been flashing a lot when i had a system with Windows 7, but the system i have now will not run the OS efficiently and thus my second option is Ubuntu.
I was wondering if there is any way to flash ROMs from a linux system, preferably Ubuntu.
Thanks,
Sam
android_murphy said:
Hi Guys,
i recently installed Ubuntu 11.10 as my primary OS. I had been flashing a lot when i had a system with Windows 7, but the system i have now will not run the OS efficiently and thus my second option is Ubuntu.
I was wondering if there is any way to flash ROMs from a linux system, preferably Ubuntu.
Thanks,
Sam
Click to expand...
Click to collapse
Download "Wine" from the Ubuntu Software Center, it can run Windows Softwares....
Just run Odin using Wine and do the usual and flash....
[email protected] said:
Download "Wine" from the Ubuntu Software Center, it can run Windows Softwares....
Just run Odin using Wine and do the usual and flash....
Click to expand...
Click to collapse
Hmmm... but i have heard that Wine does not support USB. Anyway will check when i get home.
I once read somewhere there was something like Odin for Linux based system called Heimdall..
Maybe that's what you need?
Dympy.
Sent from my GT-I5800 using xda premium
dympy said:
I once read somewhere there was something like Odin for Linux based system called Heimdall..
Maybe that's what you need?
Dympy.
Sent from my GT-I5800 using xda premium
Click to expand...
Click to collapse
Won't work with our phones, needs a .pit file, aka partition table
Tried ODIN via Wine ... Doesn't detect the phone...
Really is there no other way?? How come i can't flash a Linux Kernel based OS from a Linux System (kinda ironical isn't it :'()??
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Arakmar said:
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Click to expand...
Click to collapse
I'm also Linux user. Virtualbox does not work. But with VMwarePlayer (XP or Win 7) ODIN works fine. That's unfortunately the only way...
I use ubuntu as my main os and windows for flashing It's always good to have a working windows somewhere for odin
Arakmar said:
I'm a linux user too and I tried almost everything I think.
Wine : It'll not work. No proper usb driver support.
Virtualbox : Odin detects the phone but fail when the flash process start. The reason is that Virtualbox acts as a wrapper between windows and Linux' usb so some data are modified.
In all cases, don't try anything with odin because it can result with a bricked phone if data transmmitted to the phone are incorrect during bootloader flashing.
So, I recommand to flash only with cwm via update.zip or adb push. It's possible to mount a rfs file on linux and then push all files via adb.
@android_murphy : Create an update.zip with your zImage. Use the zip used for CM7 kernel.
Click to expand...
Click to collapse
Yeah CWM update.zip is a good option but not everyone provides the entire rom via update.zip. I guess only the CM7 one is in that format.
mankokoma said:
I'm also Linux user. Virtualbox does not work. But with VMwarePlayer (XP or Win 7) ODIN works fine. That's unfortunately the only way...
Click to expand...
Click to collapse
Thanks for the info, it works well with VMWare

Odin and Kies in linux

Not so long ago I became linux mint user. Many of the necessary programs and games runs without problems in Wine. But I couldn't connect my galaxy note through wine. So I find another way to connect it with odin through VirtualBox. I wrote a small guide:
- Install VirtualBox.
- Download windows xp or windows 7 ISO image install disc. For example, you can download windows 7 trial 90 day from microsoft.com. If you have a disc with windows installer you can use it. I personally prefer windows xp micro edition (250mb).
- Start VirtualBox. Add virtual machine, choose your ISO image or real CD-ROM if you have disc. Install windows with the recommended settings.
- When the installation is complete, and windows will boot to desktop you will need to install drivers. Connect USB flash with drivers to your virtual machine or create virtual network disc to linux and drag these drivers (mirror1, mirror2) to windows.
- Intall drivers.exe in virtual machine.
- Move odin to your virtual machine same way. And start it.
- Reboot you galaxy note in download mode and connect to usb. Press USB indicator in the bottom menu of virtualbox and choose your samsung connection.
If you are doing everything right you will see this:
You can also try Heimdall. It has linux port.
Kies should work fine same way.
I found humdall to be much more reliable and easier than Odin
Sent from my GT-N7000 using xda premium
kishd said:
I found humdall to be much more reliable and easier than Odin
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
This is correct.
Yeah, I prefer Heimdall as well, but thanks for the great guide.
Sent from my GT-N7000 using xda premium
anonymous572 said:
Not so long ago I became linux mint user. Many of the necessary programs and games runs without problems in Wine. But I couldn't connect my galaxy note through wine. So I find another way to connect it with odin through VirtualBox. I wrote a small guide:
- Install VirtualBox.
- Download windows xp or windows 7 ISO image install disc. For example, you can download windows 7 trial 90 day from microsoft.com. If you have a disc with windows installer you can use it. I personally prefer windows xp micro edition (250mb).
- Start VirtualBox. Add virtual machine, choose your ISO image or real CD-ROM if you have disc. Install windows with the recommended settings.
- When the installation is complete, and windows will boot to desktop you will need to install drivers. Connect USB flash with drivers to your virtual machine or create virtual network disc to linux and drag these drivers (mirror1, mirror2) to windows.
- Intall drivers.exe in virtual machine.
- Move odin to your virtual machine same way. And start it.
- Reboot you galaxy note in download mode and connect to usb. Press USB indicator in the bottom menu of virtualbox and choose your samsung connection.
If you are doing everything right you will see this:
You can also try Heimdall. It has linux port.
Kies should work fine same way.
Click to expand...
Click to collapse
It works but only when the phone is in USB Mass Storage Mode not in Download Mode BTW Heimdall isn't compatible with Galaxy Ace i . . . it's too bad
Alucard1989pl said:
It works but only when the phone is in USB Mass Storage Mode not in Download Mode BTW Heimdall isn't compatible with Galaxy Ace i . . . it's too bad
Click to expand...
Click to collapse
i have same problem with my i9500
anonymous572 said:
Not so long ago I became linux mint user. Many of the necessary programs and games runs without problems in Wine. But I couldn't connect my galaxy note through wine. So I find another way to connect it with odin through VirtualBox. I wrote a small guide:
- Install VirtualBox.
- Download windows xp or windows 7 ISO image install disc. For example, you can download windows 7 trial 90 day from microsoft.com. If you have a disc with windows installer you can use it. I personally prefer windows xp micro edition (250mb).
- Start VirtualBox. Add virtual machine, choose your ISO image or real CD-ROM if you have disc. Install windows with the recommended settings.
- When the installation is complete, and windows will boot to desktop you will need to install drivers. Connect USB flash with drivers to your virtual machine or create virtual network disc to linux and drag these drivers (mirror1, mirror2) to windows.
- Intall drivers.exe in virtual machine.
- Move odin to your virtual machine same way. And start it.
- Reboot you galaxy note in download mode and connect to usb. Press USB indicator in the bottom menu of virtualbox and choose your samsung connection.
If you are doing everything right you will see this:
You can also try Heimdall. It has linux port.
Kies should work fine same way.
Click to expand...
Click to collapse
any idea why?

Need root software for mac

Hello. Im looking for the software that i can use on my mac too root my note 4 for TMO. Thank you. I have tried odin several times but no luck.
Try Hiemdall http://glassechidna.com.au/heimdall/ it's made as a way to flash odin firmware on linux and mac
Sent from my fabulous Note 4 Exynos
mojosodope said:
Hello. Im looking for the software that i can use on my mac too root my note 4 for TMO. Thank you. I have tried odin several times but no luck.
Click to expand...
Click to collapse
After I have been trying with JODIN with no success the quickest way it was to use wemulator (Parallel Desktop Trial my case) and odin (windows version) after installing KIES fro USB drivers and downloaded CF-Auto-Root-trelte-treltexx-smn910c.tar.md5.
Note 4 SM-N910C rooted.
Easiest (inho) way to do this would be the following:
1. Install Virtual Box (or other VM engine) on Your mac. Make sure You can use host PC usb ports on virtual machine. Not all hypervisors allows that functionality.
2. Get windows installation disk or iso file (can be downloaded from microsoft website , and install windows as a virtual machine (don't worry about activation, You only need it for 10-20 minutes)
3. After installing windows as virtual machine, download samsung usb drivers for mobile phones (You don't need whole Kies stuff). Actually my windows 7, 8 and 10 are installing those drivers automatically and I've had no issues so far.
4. Run Odin on Your virtual windows machine.
Hi was wondering if someone knew what software to use in rooting my note 4 with a macbook, my cellular phone is with Telus. first time doing this so a good guide line would be nice.
Thank you so much

Categories

Resources