[Q] Flashing via Linux - Galaxy 3 General

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

Related

Flashing under Linux

Any chance to flash NAND Android ROM under Linux?
Just use Virtual machine (Windows 7 since XP has some problems with flashing) using VMware player.. its very easy to install/use.. then just connect your 'HDroid' and start doing the required steps.. or just use "Clockworks Recovery" steps.. the only thing you do in Linux is copying the files to the SD Card.
white-energy said:
Just use Virtual machine (Windows 7 since XP has some problems with flashing) using VMware player.. its very easy to install/use.. then just connect your 'HDroid' and start doing the required steps.. or just use "Clockworks Recovery" steps.. the only thing you do in Linux is copying the files to the SD Card.
Click to expand...
Click to collapse
Thanks, but i know that solution, i did it that way. It is not flashing under Linux... You still need Windows. I'm interested in pure Linux way.
This is probably what you're looking for.
http://forum.xda-developers.com/showthread.php?t=901305
It's not yet released, but your need doesn't seem to be urgent.

[Q] Flash under Linux (Ubuntu)

Hello all.
I search in the forum but I don't find the answer. Maybe no solution or my English is definitively too poor !!!
I have a computer with Linux (Ubuntu 10.10). Every time I want to make a change on my HD2, I have to reboot and launch my Windows session. But I want to definitively ****ch to Ubuntu. So is a solution exist to flash under linux (directly, with wine or with virtual machine like virtualbox).
I want to be able to flash my HD2 to return to WM6.5 or to flash the CWM recovery etc...
Do you have some answers ?
Thanks for attention.
Bye
as of now, the only way to flash rom through linux is using CWM (perhaps you'd need windows for that too).
The reason behind this is that the CustomRUU is only made for windows and not for linux.
Ive had my own tries with virtualisation and qemu but to no avail, CustomRUU needs to establish a direct serial contact with the device which is not possible for any VM in linux as of my knowledge, so the best bet is to get cLK loader, it uses userspace linux for android on nand, so you can flash recovery, rom, boot, kernel using the sdk tools of linux since it supports fastboot. after installing cLK, your phone becomes pretty close to a native linux one with the only drawback being the rom needs some changes to work with cLK but the good news is anyone can do it easily, we only need to repack the supplied kernel in a .img to flash using fastboot.
Thanks for information. I will try cLK and SDK.

Heimdall not working.... help!

Hello, I'm a Mac user who has no access to a Windows computer whatsoever and is stuck on the DK28 modem. Whenever I try to flash anything or use any command in Heimdall, it says "Failed to detect compatible device." I've used all the usb cables I have, all of them work when the phone is on but not in download mode. I have no idea what's wrong. Please help!
I have successfully used it on an linux machine. I had to get the libusb-1.0 library though.
I have no idea about Mac though.
http://forum.xda-developers.com/showthread.php?t=878686
Try that link maybe?
Heimdall for Mac doesn't work with the Epic. Samsung has to update something in the SBL to make it work. Heimdall does, however, work perfectly on Linux and Windows. Any chance you could use a friends computer or perhaps one at the library?
readingkeeper said:
Heimdall for Mac doesn't work with the Epic. Samsung has to update something in the SBL to make it work. Heimdall does, however, work perfectly on Linux and Windows. Any chance you could use a friends computer or perhaps one at the library?
Click to expand...
Click to collapse
Would it work in Ubuntu on VMware Fusion?
Download a linux livedisc
Sent from my SPH-D700 using XDA App
HeroMeng said:
Would it work in Ubuntu on VMware Fusion?
Click to expand...
Click to collapse
I think so.
HeroMeng said:
Would it work in Ubuntu on VMware Fusion?
Click to expand...
Click to collapse
Unfortunately no. The phone (in download mode) is totally undetectable by OS X's kernel. Even virtual machines running on OS X can't see the phone. You'll have to use a livecd or bootcamp.
You could also do what I do and setup your Mac to dual boot. I keep Windows 7 on mine for just these occasions such as Epic modding
Sent from my SPH-D700 using Tapatalk

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.

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

Categories

Resources