[Q] Flashtool fails in VMWARE - Xperia Arc Q&A, Help & Troubleshooting

Today I tried to revert back from ICS to GB. I made a VMWARE Windows 7 installation on my MAC(host os). Installed PC Companion, Flashtool an al the drivers. Started flashing, and everything seemed to be ok. Flashtool started flashing system.sin to my phone, it failed with "S1 header checksum error"
Tried flashing different firmwares, all failed on different points with that error.
As a consequence, my phone failed to boot and stalled at Sony Ericsson logo or at that screen with exclamation mark. I have to say I felt quite bad.
After that, I made a bootcamp partition (which I hate doing and having on my mac), installed all of the above and flashed firmware flawlessly. A relief that was!
I wonder, what could be the reason for that behaviour in vmware installation? Did I miss some important step with the VM setup? (question targeted at those, that flash their phones inside vmware)
Thanks for answers!

flashtool linux editon may work on a mac because it's java based
you can ask to developer for a better explanation

yacloo said:
flashtool linux editon may work on a mac because it's java based
you can ask to developer for a better explanation
Click to expand...
Click to collapse
Sent question to him already. Well, I'm not quite interested in linux version (I couldn't find it anyway), I just wonder, what is the difference between vmware and bootcamp installation, since the same OS, and software versions were used.

lyteo said:
Sent question to him already. Well, I'm not quite interested in linux version (I couldn't find it anyway), I just wonder, what is the difference between vmware and bootcamp installation, since the same OS, and software versions were used.
Click to expand...
Click to collapse
flashtool website you can find all windows/linux editions : http://androxyde.github.com/Flashtool/
about to mac os compatibility you may check this post
http://forum.xda-developers.com/showpost.php?p=24925310&postcount=34
I think windows use native usb driver on bootcamp
I am not sure but vmware has its own usb driver and serves as a bridge between the two systems
maybe bad usb bridge driver was causing the problem

Related

Updating through VMWare Virtual Machine

Hello,
I know there is a procedure for updating the phone on Windows Vista, but I'm asking myself if someone tried to do an update from a Windows XP virtual machine (as those machines can access to the USB)?
In a nutshell :
Windows Vista real computer
--> Running VMWare Workstation 6
----> Running Windows XP Pro
------> Updating the ROM of the phone
Thanks !
tubededentifrice said:
Hello,
I know there is a procedure for updating the phone on Windows Vista, but I'm asking myself if someone tried to do an update from a Windows XP virtual machine (as those machines can access to the USB)?
In a nutshell :
Windows Vista real computer
--> Running VMWare Workstation 6
----> Running Windows XP Pro
------> Updating the ROM of the phone
Thanks !
Click to expand...
Click to collapse
Well, I do this with XP running virtually in Mac OSX through a similar program called Paralells - works like a champ. NOt exactly what you are asking, but close.
I use VMWare 6 in my Vista PC for flash using XP OS before WDCM was launched... and works great...
Now i continue using to flash my Wizard in XP Box trough Virtual Machine cause upgrade tool for Wizard is not compatible with Vista...
So you can use to flash what you want, sure.
Regards.
Thanks for your experiments This will be a super trick for updating my hermes without having to worry about windows vista drivers things!
Thanks!
works like a charm ive been using it since january and i always updaye my roms in it and parallels
dont understand post,
jdac21
Did you guys configure something special in VMware? My VM'ed XP doesn't find the phone (Wizard) over USB, I just get an error in the RUU...
I'm running XP Pro 32bit in VMware 6 on Vista 64bit. Didn't change anything in the VMware configuration... Any ideas?
Not to horribly change the subject, but why not make sure your phone is supercid and flash from an sd card?
I have used this method many times from my Mac desktop, instead of getting out my XP Laptop.
at the very least:
http://www.mobilitysite.com/boards/...139-easiest-way-flash-rom.html#post1059250668
ROM flash through VMWare with a hackintosh/osx86/hackint0sh
Just a little note for anyone searching
You can also flash from a VMWare XP virtual machine in OSX on a hackintosh

PSA: Do NOT use Odin in a Virtual Machine!

Odin will bluescreen XP if it's running in a VirtualBox guest, but not after sending just enough to the phone to corrupt something. If you happened to be flashing your bootloader, congratulations, you just bricked your phone. Thankfully it wasn't the bootloader I was flashing and I can still get the phone into Odin mode; I'm gonna try to recover it when I get home to my Win7 desktop machine.
Heimdall does not support the Captivate Glide yet, and I tried Odin in Wine -- it doesn't see the phone. For the time being you *NEED* a native Windows machine to root the Glide -- the usual workarounds simply don't work.
You should NEVER flash or do anything with your phone without a proper setup. Heck, I wouldn't even flash without being on a laptop (for the battery) or a comp connected to a UPS.
This is good information to know but it would be incredibly stupid to flash while using an emulated OS. If you're on Linux or Mac, go to a friends house with Windows. It simply isn't worth the risk.
Thanks for the confirmation and to everyone else-don't do it. Just do things the right way.
It's a locally hosted VM running on a laptop, so yeah, I had the battery backup
I've done this before with other devices and this is the first time I've run into an issue where the VM actually broke things enough to corrupt stuff on the phone. Every other time it's been either, it went off without a hitch, or I can't quite bridge the connection from the host to the VM. Even from a theory standpoint, hey, companies use VMs for critical server systems. There's nothing dicey about a VM, at least until you run into a weird bug like this.
It's just that in this particular case, in the particular combination of Odin, XP guest, and Ubuntu host, something goes horribly wrong insidie the VM and crashes out XP. Actually, it's worse than that -- my XP VM won't boot anymore. What the hell happened.... gotta be a bug in VirtualBox.
Oh well. Hey, that's the whole point of recovery mode, right?
Definitely just use a PC running Windows. It sounds like you know what you're doing but if you're flashing recovery or a radio image, theres no point in the extra risk. If you're just doing a ROM and already have recovery there, you should be fine because you can always drop a new ROM on the SD and reinstall from there.
I've never bricked a phone myself but I do all of my friends phones. I think the scariest I've had was upgrading WinMo on my friends old Blackjack from 5.5 to 6.5. The official flash program froze at 85% or so. I let it sit for an extra hour and was almost sure it would be bricked but thankfully once I pulled the battery on it, it booted right up to 6.5.
But things like that happening..I wouldn't even mess around with an emulated OS and pushing a flash of recovery or something. Best to just be safe and go to a friends house if you have to.
I'm curious if you would have had better results is you were using VMWare instead of Virtualbox.
I've not used Virtualbox before, but I've read that VMWare has superior performance and hardware pass-thru.
I use VMWare a LOT (like a whole, whole lot), and I've never had any sort of trouble with the hardware pass-thru.
ericpeacock79 said:
I'm curious if you would have had better results is you were using VMWare instead of Virtualbox.
I've not used Virtualbox before, but I've read that VMWare has superior performance and hardware pass-thru.
I use VMWare a LOT (like a whole, whole lot), and I've never had any sort of trouble with the hardware pass-thru.
Click to expand...
Click to collapse
I didn't have any passthrough problems with VirtualBox either... until I got this phone. It's a really oddball corner case. I wonder if Odin does something weird with the Windows USB drivers...
what i did was run parallels on mac, with a Windows 7 guest to flash rooted rom and then CWMR. now i just put the zip to flash on my sdcard which i can access fine on mac.

Device Failed Enumeration?

I recently wiped my Windows 7 HDD, and installed Windows 8.1. Wanting to flash another kernel, I installed the SDK, JDK, and Flashtool drivers. Booting my XPlay into fastboot, Windows said that the USB device was not installed properly, and I looked into the Device Manager, and it said "Device Failed Enumeration".
Is there any fix for this?
Well I'd say to just put win7 into a virtual machine because alot of the drivers fail because of win8 incompatibility so try that
Sent from my Droid using xda app-developers app
crazymonkey05 said:
Well I'd say to just put win7 into a virtual machine because alot of the drivers fail because of win8 incompatibility so try that
Sent from my Droid using xda app-developers app
Click to expand...
Click to collapse
I was trying to avoid installing/using a virtual machine with Windows 7 or Linux. But I know those options will work, however, I'm trying to use it within my current setup. I have already disabled the Driver Verification thing.
RoboticBuddy said:
I was trying to avoid installing/using a virtual machine with Windows 7 or Linux. But I know those options will work, however, I'm trying to use it within my current setup. I have already disabled the Driver Verification thing.
Click to expand...
Click to collapse
well if your PC CPU does not support vt-x like mine then install LXDE on a virtual drive and run it....you may even be able to run linux off a usb and do it from there....sony and microsoft are having issues and so sony software does not work on 8 here is a form about it http://answers.microsoft.com/en-us/windows/forum/windows8_1-hardware/win-81-does-not-support-sony-pc-companion-as-well/62fdf4ee-1421-4e49-85ae-c2ee8a5dc6ec
Here's the solution, I believe
http://forum.xda-developers.com/showthread.php?t=2598155

Does Odin work through Bootcamp or Parallels on a Mac?

Pretty straightforward question. I'm looking at going from a Windows laptop to a macbook and want to make sure some of the programs I use frequently work. Will Odin work via Windows on a Mac? Thanks.
Anyone? Really want to pull the trigger on this MBP, but want to ensure I can still tinker with my android devices...
i just used Odin and it would not work on my MBP with Parallels Win 7. I had to drag out my PC and then Odin worked fine
red321red321 said:
i just used Odin and it would not work on my MBP with Parallels Win 7. I had to drag out my PC and then Odin worked fine
Click to expand...
Click to collapse
How about boot camp? Do you think the issue has to do with drivers? Not familiar with Mac OS yet... My current laptop is the only windows machine I own and don't want to get rid of it in lieu of the MBP in case some of my programs don't work...
Haven't tried boot camp
Sent from my SM-P600 using XDA Premium HD app
Sent via PM, but finally realized why it wasn't posting in the forum (links)
...So posting here since someone else may need/want this at some point:
1) You'll want vmware fusion; there's a trial. You can easily install and uninstall it on a mac if you don't want to pay. Vbox and parallels won't work.
2) You'll need the Samsung USB drivers for phones exe from Samsung's website. You'll probably also want to separately get the Kies binaries (both windows bins).
3) MS offers pre-made VMs in virtualbox format (ova's); these aren't activated and expire in 30 days, but will still sorta work after that (they'll shut down after about 30-60mins after that point). Easy enough to just reimport; not sure how often you plan on using Odin. Kies itself is generally ok on a mac, but nothing else is (aside from like graphics-tab apps, and generic usb file stuff). You'll want to get Win7 vm images. These should work but if not you can google; MS doesn't make a secret of their VMs, they're made for developers to check compatibility between different versions of IE. Get all of these and then decompress, and you'll get an .ova file (links to Win7-IE10 VM archive files removed as I don't have 10 posts yet).
4) In VMware Fusion, you'll want to import the .ova file (.ova's are technically virtualbox images, but vmware will easily convert them to its own format). Once you've imported it go into the VM's settings and allocate 2gb of ram or so to the VM (I wouldn't go much below that; if you have a later mac that shouldn't be a problem; you might be able to get by on 1.5gb though I haven't tried). You'll also want to go into the vmware usb settings and make sure to be prompted when you add a device instead of just attaching it to one or the other or you'll wind up with issues, possibly, later on.
5) Boot the Win7 vm, install VMware tools, reboot, install samsung drivers, and then install Kies if you want Kies as well (Kies may also bridge some driver gaps, I can't remember; I do remember I had a bit of trouble with correct device recognition; I'll keep an eye on this thread and if you have a problem post publicly and I can message you with the proper driver set otherwise this should work afair); the problem, if I recall, was in detecting the specific USB devices/hub, if anything. DO NOT plug in your tablet until all of these drivers have been installed and you have rebooted the VM. You've been warned.
6) Boot the VM, plug the cable into the tablet, and then the other end into the Mac. If you've set up the USB prompting properly (btw make sure you set it to 2.0 not 3.0), you should get a prompt asking if you want to attach it to the Mac or Windows; choose Windows. The drivers should do there thing in a few minutes and eventually recognize the tablet. You may or may not want to reboot the VM one last time at this point before opening Odin, but at this point it should all work.
* A note: you'll probably want to enable a shared folder via VMware with the contents of anything you want to flash and the exes to flash them with; this is pretty straightforward in the VM settings. You'll want to copy/paste from that shared folder to the VM, not run from it; Odin and other stuff tends to hang if you try to run it directly from the share. I just keep everything I need or might want to use in the future on the VM and suspend it til I need it again, but you can just as easily shut it down and it'll retain all of the data, etc; just be mindful of the 30 day limit if you're using one of the precompiled VMs (as I said, they'll still work, but it can get naggy and shut itself down if not in use (or maybe if it is, but I haven't had it bomb out on me mid-flash (yet, knock wood)).
Good luck and enjoy.
not a single problem with parallels windows 8 or xp. while i flash 4.4.2 via odin i surf the web on mac safari.
supremekizzle said:
Pretty straightforward question. I'm looking at going from a Windows laptop to a macbook and want to make sure some of the programs I use frequently work. Will Odin work via Windows on a Mac? Thanks.
Click to expand...
Click to collapse
VMware should do.
It works very well on Linux.
That's interesting...
jpl69 said:
not a single problem with parallels windows 8 or xp. while i flash 4.4.2 via odin i surf the web on mac safari.
Click to expand...
Click to collapse
Mind if I ask what release of OSX and hardware you're on? I know I was having some USB recognition problems with the other two, but that was 2 point releases ago on Mavericks (on 10.9.3 now, haven't tried again). It could be a MBP thing also. I wouldn't mind using Parallels (I have a licensed copy) if it worked for this; as it stands I use parallels for OSX, vbox for *nix and android, and vmware for windows OSes for various reasons.
Macbook Pro 13.3 2012. Mavericks updated, parallels updated with latest version. Windows 8.1 work fine with odin, but i use mainly windows xp. both configure with usb 3.0 driver.
12GB ram, 512GB SSD samsung evo (this is just for show off not relevant to update our tablet) .
i used vmware sideways with parallels but find that parallels it's more faster, reliable and more crash proof.
after you connect the tablet to mac you get the option to connect to mac or virtual machine. afterwards you allways have the option to connect/disconect the usb periferic.
rsd2000 said:
VMware should do. It works very well on Linux.
Click to expand...
Click to collapse
That's what I use; until Ben Dobell can fix Heimdall for Linux for the P60X series I've just been booting into Win7 via VMWare from my Linux machine.
jpl69 said:
Macbook Pro 13.3 2012. Mavericks updated, parallels updated with latest version. Windows 8.1 work fine with odin, but i use mainly windows xp. both configure with usb 3.0 driver.
12GB ram, 512GB SSD samsung evo (this is just for show off not relevant to update our tablet) .
i used vmware sideways with parallels but find that parallels it's more faster, reliable and more crash proof.
after you connect the tablet to mac you get the option to connect to mac or virtual machine. afterwards you allways have the option to connect/disconect the usb periferic.
Click to expand...
Click to collapse
I'm on a late 2013 13.3 MBP. I think back when I was trying to debug the problem I'd read that USB 3.0 and how it's handled on the latest MB might have something to do with it, but I can't recall correctly. I should probably retry just for sh*ts and giggles; was always on the most recent Parallels, VMware, and VirtualBox. That said, I've found VMware in general to be more stable on my particular machine, and quicker to boot/suspend/unsuspend. It could very well just be my imagination or preference though, nosing its way in.
And talking about hardware is never showing off, as long as you're making good use of it. OS wars, however, is another story.

how to get the Sony windows drivers to work?

Has anybody gotten the Sony's official usb drivers to work? Its somewhat mandatory for xperifix et all.
I tried it on 2 completely different machines.
On win7 x64 box the driver complains about Error 10 - This device cannot start.
On a win10 enterprise thinkpad the error is similar:
"This device cannot start. (Code 10)
The specified request is not a valid operation for the target device."
I am starting to suspect that the drivers are faulty. FWIW the thinkpad has NEVER seen *ANY* adb/android/sony drivers before.
This is the "Sony sa0118 ADB Interface Driver" btw. Installed as a legacy device as per Sony's instructions. Driver is already not working before a device is connected. Device is subsequently also not recognized. Device works perfectly fine in flash mode on my Linux notebook, just not both windows boxes Ive tried (sadly Windows is required for Xperifix)
You use the drivers that comes with flash tool? Those are working for me without any trouble on Win10
juandiazmora said:
You use the drivers that comes with flash tool? Those are working for me without any trouble on Win10
Click to expand...
Click to collapse
tried these and they got me a little further - but not very. On first connect of the xz2c in "blue" mode Windows said something along the lines of configuring new device: Android. So far so good. Then started xperifix, which found the device and started to get device information during which it crashed (program got stuck, no .NET exceptions or anything). Now even 2 reboots later the phone is no longer recognized, I assume xperifix somehow borked up the fastboot drivers?
PS: the constant more often than not non-working recaptchas are getting a little annoying..
The drivers have to be installed in testmode on Windows 8-10. In Windows 7 it should work "out-of-the-box". And yes, I know I'm answering to one year old question, but it could be helpfull to someone one day. Maybe.

Categories

Resources