Linux and Firmware Flashing - Verizon Galaxy S 5 Q&A, Help & Troubleshooting

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.

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

[Q] Using Virtual Box/Ubuntu for Development

So I'm basically just wondering if there is a way to get ubuntu, running through virtual box, to see a device (an incredible in this case) when its plugged into the "host" machine's usb port, I'm essentially trying to find a better way to get system and boot img's to the virtual machine (the way i was trying now was using adb to pull then emailing them to myself and downloading them in the virtual machine but this takes f...o...r...e....v...e...r... due to slow upload speeds. So in short is using adb possible on a virtual machine?
Try this maybe you can get it to work.
http://techtooltip.wordpress.com/2008/09/22/how-to-use-host-usb-device-from-guest-in-virtual-box/
guod2002 said:
...emailing them to myself and downloading them in the virtual machine...
Click to expand...
Click to collapse
Why not use the shared folder option in virtual box and transfer files that way? That is if elivaldez84's link doesn't work.
xenspidey said:
Why not use the shared folder option in virtual box and transfer files that way? That is if elivaldez84's link doesn't work.
Click to expand...
Click to collapse
Yeah this should work also. you can access some of your folders from windows that you specify in the Virtual Box but you need to install the guest add-ons.
http://forums.virtualbox.org/viewtopic.php?f=3&t=15868
this link should tell you how to set that up.
It works just fine for me.
Where are you getting stuck?
Sent from my T-Mobile G2 using XDA App
I have Eclipse and the Android SDK installed on Ubuntu 10.10 running on Virtualbox. It works well but the emulator is quite a bit slower (for me at least) on a dual core Opteron with 1GB of memory allocated to the VM. Perhaps I need a beefier machine.

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] Rooting with Macbook

I have looked everywhere I can think of for a solution but haven't had success yet. I would REALLY like to use my Macbook Pro to root my new Galaxy Tab 2 10.1 but no guide I've found has been very detailed or even successful. Anyone know how to REALLY do this?
huntingbear said:
I have looked everywhere I can think of for a solution but haven't had success yet. I would REALLY like to use my Macbook Pro to root my new Galaxy Tab 2 10.1 but no guide I've found has been very detailed or even successful. Anyone know how to REALLY do this?
Click to expand...
Click to collapse
Its basically the same procedure as a pc but we use Heimdall instead of Odin. Theres even a gui frontend for Heimdall in case you dont like playing with the command line. Macs are flaky when it comes to anything to do with Android though, whether its rooting/flashing, compiling or even file transferring. I gave up and just installed Windows with Bootcamp to make it easier.
Sent from my crack smoking SGH-i777
Slavestate said:
Its basically the same procedure as a pc but we use Heimdall instead of Odin. Theres even a gui frontend for Heimdall in case you dont like playing with the command line. Macs are flaky when it comes to anything to do with Android though, whether its rooting/flashing, compiling or even file transferring. I gave up and just installed Windows with Bootcamp to make it easier.
Sent from my crack smoking SGH-i777
Click to expand...
Click to collapse
I tried Heimdall and the error I kept getting was annoying and people say to try using older releases of Heimdall until it works but it never did. Kept saying some XML file was missin from the Odin TAR and when I extracted the image file from the tar it said that the TAR file size was incorrect or something. I've avoided soon boot camp because I don't have a very large HDD my MacBook (but ssd's sure are fast!!). Maybe I'll just use an external for the windows partition. How reliable was using windows while in boot camp? Get many lookups, memory dumps or driver issues?
huntingbear said:
I tried Heimdall and the error I kept getting was annoying and people say to try using older releases of Heimdall until it works but it never did. Kept saying some XML file was missin from the Odin TAR and when I extracted the image file from the tar it said that the TAR file size was incorrect or something. I've avoided soon boot camp because I don't have a very large HDD my MacBook (but ssd's sure are fast!!). Maybe I'll just use an external for the windows partition. How reliable was using windows while in boot camp? Get many lookups, memory dumps or driver issues?
Click to expand...
Click to collapse
So far Win8 is fine and im on a first gen Mac Pro from 2006. I had to install 7 first and upgrade it since Apple doesn't support it yet. I dont think you can run it from an external though. It wouldnt even install for me until I pulled all my drives out but the boot disk. You can also try a virtual machine like VMWare fusion or Parallels. Ive also had good luck using Crossover but ive never tried Odin with it.
Sent from my crack smoking SGH-i777

Anybody know how to update firmware on the S20 ultra on a mac.?

I want to manually update my firmware on my unlocked snapdragon galaxy s20 ultra but only have access to a mac.Is it possible and if so can somebody guide me through the process.I usually odin update on my windows pc.so unfortunately Mac is uncharted territory for me.
Run windows in bootcamp or a VM and do it via Odin. IIRC there's no mac tool for flashing galaxy devices.
kvell36 said:
Run windows in bootcamp or a VM and do it via Odin. IIRC there's no mac tool for flashing galaxy devices.
Click to expand...
Click to collapse
What is Heimdall front-end or Jodin I got it to install on the Mac I just can't get the files to be recognized and what is Bootcamp I don't have access to a Windows based laptop.
JAMRZ69 said:
What is Heimdall front-end or Jodin I got it to install on the Mac I just can't get the files to be recognized and what is Bootcamp I don't have access to a Windows based laptop.
Click to expand...
Click to collapse
No idea what Heimdall or Jodin are, but Bootcamp allows you to run full Windows on your Mac. Just download an ISO for it from the Microsoft website and go through the wizard in macOS, creating a partition for your Windows install. You can find more info elsewhere, but this is generally how I run Windows-only software on my Mac, as it literally turns it into a Windows PC.
kvell36 said:
No idea what Heimdall or Jodin are, but Bootcamp allows you to run full Windows on your Mac. Just download an ISO for it from the Microsoft website and go through the wizard in macOS, creating a partition for your Windows install. You can find more info elsewhere, but this is generally how I run Windows-only software on my Mac, as it literally turns it into a Windows PC.
Click to expand...
Click to collapse
Sweet Thank you very much.
If you want a regular update, Smart switch works just fine. Did the last update like that and went smoothly

Resources