Help using Wine to Flash Android Phone.

Questions about Wine on macOS.
Locked
Rizzo
Newbie
Newbie
Posts: 1
Joined: Sat Dec 31, 2011 2:57 pm

Help using Wine to Flash Android Phone.

Post by Rizzo »

Warning, Complete NOoB!

Ok here's the deal, I'd like to use this flash tool to flash a new ROM to my Sony X10 using my Mac. I found wine and am having trouble because I don't understand prefixes or how to make them.

My Mac's stats.

2 Ghz Intel Core Duo

Memory 2gb 667 Mhz DDR2 SDRAM

Mac OS X 10.5.8

And I have Wine 1.1.44 , tried Update and says I am using the latest version.



When I try to start the flashtool I just get a Full Screen Checkered pattern, tiny black and white squares. I used the default option and not the mini OSX App option.

I have marked this thread so I'll get notifications upon replies.

Also if helpful I can video what happens and throw that on Youtube.


Oh yeah, The Flash Tool link..

http://forum.xda-developers.com/showthread.php?t=920746


Thanks in advance.
KenJackson
Level 2
Level 2
Posts: 24
Joined: Mon Apr 14, 2008 11:01 am

Post by KenJackson »

I just installed Flashtool-0.5.0.0beta-setup.exe in Wine 1.3.33 on my Fedora Linux host.

Then I ran this command from my Linux bash shell:
wine C:/FlashTool/FlashTool.exe

A window popped up and is running now, titled "SonyEricsson Xperia Flasher by Bin4ry & Androxyde". I can interact with it, though I don't have any phone to plug in. It sounds like you didn't get this far.

Are you sure that 1.1.44 is the latest version of Wine that you have available?
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

You can always compile the most recent version of Wine from source.
Stock Wine, as I understand it, doesn't have USB support, but there is a USB patch for Wine. You may want to play with that, which would require compiling from source anyway.

(I'm taking a wild guess that the phone is connected by USB.)

Jake
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Help using Wine to Flash Android Phone.

Post by dimesio »

Rizzo wrote: And I have Wine 1.1.44 , tried Update and says I am using the latest version.
Sounds like you're using WineBottler, which isn't supported here, and AFAIK is no longer maintained by anyone. This forum is for plain Wine, and the current development release is 1.3.36.

As for using Wine to flash your phone, it's unlikely to work due to lack of USB support.
h4x0rz88
Level 1
Level 1
Posts: 6
Joined: Wed Aug 12, 2009 11:58 am

Post by h4x0rz88 »

I don't think this will work. I own a Xperia X10 Mini Pro myself and I've also had troubles getting the 2.3.4 update (2.3.3 came on the phone).

Unfortunately Wine won't do (esp. such an old version) but you'll need to get VirtualBox Oracle binary edition, get their VB additional modules etc. Then install a Windows guest and flash normally. Worked for me after a lot of "hacking" around with my arch :(
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Help using Wine to Flash Android Phone.

Post by jjmckenzie »

On Sat, Dec 31, 2011 at 1:11 PM, Rizzo <[email protected]> wrote:
Warning, Complete NOoB!

Ok here's the deal, I'd like to use this flash tool to flash a new ROM to my Sony X10 using my Mac. I found wine and am
having trouble because I don't understand prefixes or how to make them.
Check if there is a native version of this program for the Mac. Wine
usually cannot be used for this purpose for two reasons:

1. Wine runs as a userspace program and does not allow for the
running of special Windows driver software.
2. These programs usually require direct access to the hardware. See
#1 above for why this does not work.

If you really need to flash the phone, you will need to use Windows in
some form to do it or a MacOSX native program.

James
Locked