Android running x86 wine and solitaire!

Search This thread

alostpacket

Senior Member
Feb 7, 2010
175
46
NY
alostpacket.com
Very cool

(As an aside you should be able to post links in a day or two I think. They run a script every night or so to "promote" the members with enough posts to be able to link. So sometimes it takes a bit :) )
 

qjsmartphone

Senior Member
Oct 12, 2007
74
3
Its okay.. I have my phone at 500Mhz (not overclocked). all I have ran so far is solitaire.. and I am about to turn on swap. But it takes a bit to load. Its slow too load, once its loaded its fast.

Its for fun.

ok so do you mind repeating this hack on the galaxy S2 which is 1.2 dual core then report back. the unlocked price dropped to 579 usd
 

rogercruz

New member
Oct 4, 2011
1
0
Any chance you can provide a more detailed step by step on how you accomplished this for someone who is relatively new to the world of Android?

Thanks
Roger R. Cruz
 
Last edited:

lanpower

New member
Nov 18, 2011
2
0
Rennes
Is this set of Games working

Hello Xda Members,
We are a group of gamer, and we promote FOSS game. We have made this set of FOSS windows games compatible Wine and also multilingual : The LanPower Gamekey light serie 2. It would be very interesting for us to know if it would work on Wine+Ubuntu+Android as you described it. I suppose that the 3D games should not run properly (Cube, GL117..)
Regards
 

tangjie0710

New member
Mar 22, 2010
4
0
Question

I have question about the step.

1. where I can get the QEMU i386? And how to install it?

2. How to get the ubuntu img? how to compile to get it?

Is there anybody give me any suggestion?
 

genialmaniac

Senior Member
Sep 2, 2009
67
21
Awesome,

I buy a tablet as soon as you run warcraft on it ;)
Thanks for the work

again, good job, and good luck in the future ^^
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    http://xdaforums.com/showthread.php?t=1258506&page=5 UPDATED GUIDE PAGE 5
    hp.jpg


    I got Android to run with wine and solitaire on CM7 and my droid. It was a total pain. But YAY.

    Its hard to write a guide without being able to post links.

    You need to first be able to chroot into ubuntu and create a vnc server. Then recompile the kernel for binfmt support.

    Then create slackware 10.2 on vmware and install wine and qemu.. run wine and qemu. like wine notepad.exe so it creates /root/.wine. Create an image file out of that and copy that to your phones sdcard.

    mount both of the ubuntu and slackware images.

    mount -t binfmt_misc none /proc/sys/fs/binfmt_misc

    echo ":qemu-i386:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff\xff:/usr/bin/qemu-i386:" > /proc/sys/fs/binfmt_misc/register

    then run vncserver
    export DISPLAY=0:1
    my ubuntu is / in a chrooted enviroment from /data/local/ubuntu
    my slackware.img is mounted /chroot (if inside chroot) or /data/local/ubuntu/chroot (if not inside chroot)
    I copied /chroot/usr/gnemul/qemu-i386/* to /usr/gnemul/qemu-i386
    COPY THE X86 stuff inthe the /usr/gnemul/qemu-i386/lib and usr folders. qemu will look for these x86 libraries when the x86 binaries ask for them. IMPORTANT.
    copy /chroot/usr/lib/wine to /usr/lib/wine
    copy the /chroot/root/.wine to /root/.wine the best you can and setup dosdevices with ln -s
    put sol.exe in /root/.wine/dosdevices/c:/windows
    then it should work =)

    /chroot/usr/bin/wine-pthread sol.exe

    I can put all this in a torrent if anyone is interested. I need to add I got qemu-i386 that was already compiled and stuck it in /usr/bin and /chroot/usr/bin though I decided not to try to chroot into my x86 image.
    which would be like chroot /chroot

    I might be able to not use /chroot and just copy install the x86 version of wine.deb on arm and force the architecture and let binfmt take care of the ELF.

    Here is a torrent that has the ubuntu.img and all the other files.
    ------------------------

    http://thepiratebay.org/torrent/6670616

    terminal
    cd /sdcard/ubuntu
    sh ubuntu.sh
    bootubuntu

    that will get you into ubuntu.. if your kernel does not support binfmt then:

    startui (starts vncserver)
    /usr/bin/qemu-i386 /usr/bin/wineserver
    /usr/bin/qemu-i386 /usr/bin/wine-pthread sol.exe

    If it does then
    startui
    wine-pthread sol.exe
    3
    Wow so confused anyone can make a noob guide :p

    Works on my droid 4. Just ran notepad... Droid 4 has binfmt compiled into the kernel... unlike cyanogenmod 7 and the droid1... I had to compile that in...

    The HP Touchpad did not have binfmt_support..

    If you do not have binfmt support and binfmt in the kernel, you will have to run wineserver first, then wine-pthread, every time you run an app.

    If you do have binfmt, then you can do the directions on page5 and and echo and registry qemu and then you can run wine-pthread every time you run an app without having to run wineserver first.

    I used my http://www.onsitedentalsystems.com/wine.tar.gz

    ************************************************** *****************
    Directions I used for wine.tar.gz if you do not have binfmt
    what to do with wine.tar.gz

    Move everything from bin into your /usr/bin
    Move gnemul to your /usr
    Move wine folder to your /usr/lib so you have /usr/lib/wine

    mkdir /user/.wine
    unzip wine.zip /user/.wine
    fix dosdevices.
    cd /user/.wine/dosdevices
    ln -s ../c_drive c:

    *when I say fix dosdevices make it to where this is a valid path
    /home/user/.wine/dosdevices/c:/windows get it?


    then run
    /usr/bin/qemu-i386 /usr/bin/wineserver
    /usr/bin/qemu-i386 /usr/bin/wine-pthread notepad.exe

    See what happens.. what errors you get.

    Dont forget the files you copy into /usr/bin must be executable
    chmod 755 wine*

    Dont forget you may need to export display
    =============================================
    If you do have binfmt
    mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
    echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/bin/qemu-i386:' >/proc/sys/fs/binfmt_misc/register

    then you can just do
    /usr/bin/qemu-i386 /usr/bin/wine-pthread notepad.exe
    everytime.
    ==============================================
    HOW TO COMPILE ON ARM AND UBUNTU 12.04


    This will run wine if you compile with 0.13 or 0.14

    sudo apt-get install zlib1g-dev
    sudo apt-get install libsdl1.2-dev
    ./configure --target-list=i386-linux-user --enable-sdl --prefix=/usr --extra-cflags=-marm
    make
    sudo make install

    I ONLY need to use the --extra-cflag when compiling with Ubuntu and Chroot droid 4, and Ubuntu and the Touchpad. Not needed for OLPC and Fedora 17.

    Works great on Droid4 with Ubuntu 12.04 Chroot AND my HP TouchPad Running Native Ubuntu, AND OLPC 12.1.0 and 11.1.0

    These are my notes. In case nokia takes down the maemo forums..
    2
    See.. Pinball and Native

    Yeah.. its slow... but not as slow as you may think.. Hoping to run some binaries that are not games.. Much faster running Ubuntu Native on the TouchPad.

    Seems to run better with windows native dll's... quartz.dll for sure.

    MS TrueType fonts help. (This pic is without quartz.dll and truetype fonts)
    hp.jpg
    1
    This sounds awesome, I gotta try it out.
    1
    It's so easy to install Wine_armel

    http://kapper1224.sblo.jp/article/56333300.html

    t's so easy to install Wine_armel

    wget http://kapper1224.sakura.ne.jp/wine_1.4-1_armel.deb
    sudo dpkg -i wine_1.4-1_armel.deb