View Single Post
Posts: 44 | Thanked: 28 times | Joined on Sep 2011
#191
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

DO not upgrade to my 1.40 as it will not seem to run on my droid4.. Probably will run on my droid1... I remember for that I may have used the Arm ToolChain from a site you download.

************************************************** *****************
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
/root/.wine/dosdevices/c:/windows get it?
*my user is root so mkdir /root/.wine


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\x fe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff \xff:/home/user/qemu-i386:' >/proc/sys/fs/binfmt_misc/register

then you can just do
/usr/bin/qemu-i386 /usr/bin/wine-pthread notepad.exe
everytime.

These are my notes.

Last edited by orokusaki; 2012-10-10 at 12:41.
 

The Following 2 Users Say Thank You to orokusaki For This Useful Post: