[APP][2.2+] BOCHS for Android (Pentium PC emulator)

Search This thread

korvs2003

New member
Jun 30, 2008
3
56
Description:
Emulates Pentium PC for Android. It can run x86 OS.
It was compiled from stable relese 2.5 (11/27/11) with modifications for Android and my own implementation of sound output via SDL. It uses SDL(from mamaich).
It is slower than QEMU, but is rather stable so is preferable in case low requirements for HW.

Requirements: Android 2.2+.

How to install:
1. Install apk (attached)
2. Extract content of SDL.zip to /sdcard/SDL folder on your phone
3. Put hdd image to /sdcard/SDL folder and rename it to c.img (or modify bochsrc.txt)

Possible issues: The programm exits right after start and there is no bochsout.txt in /sdcard/SDL - check bochsrc.txt for errors:
-wrong path to images (check cAsE)
-bad symbols were added to file
If you have bochsout.txt after start, then it should contain description for the issue. In most cases it is unsupported format of disk image

Control:
- It emulate touchpad on touchscreen and left/right mouse buttons on volume
You can also click touch screen to generate mouse left button click.
- Back = BackSpace, Menu = Enter, left-upper corner click generates TAB
- left-lower corner click popups keyboard

Additional features:
- (warning it is experimental so can damage you file system) direct access to NAND of your phone
modify bochsrc.txt the next way
ata0-slave: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
where HDD - folder in /sdcard root

- Sound support via SDL
modify bochsrc.txt:
sb16: wavemode=1, dmatimer=500000
OS should have installed SB16 drivers

example of bochsrc.txt is attached
 

Attachments

  • Bochs2_5_1.apk
    1.2 MB · Views: 651,066
  • SDL.zip
    47.9 KB · Views: 374,960
  • bochsrc.txt
    1.9 KB · Views: 265,193
Last edited:

4fffsss

New member
Jun 23, 2010
4
1
Windows XP SP3 Fundamentals

Dear geeks,
Finally, Windows XP SP3 Fundamentals is running under Android Bochs. It is very very stable. Works great with mouse and Windows XP On-screen Keyboard. The only problem on 500 Mhz processor in HTC - takes 1,5 hours to start. And very slow. Fast mobile required.
 

barisahmet

Senior Member
Jul 23, 2009
434
44
Istanbul
Dear geeks,
Finally, Windows XP SP3 Fundamentals is running under Android Bochs. It is very very stable. Works great with mouse and Windows XP On-screen Keyboard. The only problem on 500 Mhz processor in HTC - takes 1,5 hours to start. And very slow. Fast mobile required.

can you tell me how did you prepare .img file? :p
 

4fffsss

New member
Jun 23, 2010
4
1
how to prepare img file

Not difficult actually. You need to use Bochs Disk Image Creation Tool. For XP SP3 at least 1500 Mb must be allocated. You need to install Fundamentals on real PC (otherwise you wount type ctrl+alt+del on first logon, and wount change display resolution to 640p), then transfer image file to android.
 
Last edited:

4fffsss

New member
Jun 23, 2010
4
1
Post image

The compressed image is 1.1 Gb. It includes bootable Windows XP Fundamendals Service Pack 3. I will attache also src text file with pc configuration. It is compatible for both PC and Android. Windows boots full color display 640*460 interlace drop till 320*240, 80 Mb RAM allocated, so it is still 40-50 avaliable for common Android applications. XP recognizes Pentium 4 processor operating at 7 Mhz. The forum limitations doesnt allow attaching that big files. If someone can give me an ftp or whatever like that and publish a link for everyone, i can provide files.
 
  • Like
Reactions: gnmmarechal

acocalypso

Senior Member
Feb 7, 2011
476
248
I have a little problem with bochs for pc,

i create a image with bximage.exe but where does it save the file? when i try to create the same file again, programm says file already exists -.-
 

schriss

Senior Member
Feb 6, 2006
1,447
123
Dublin
How to make bluetooth mouse work with it? When I pair my mouse with my phone, it works in the phone. Then in Bochs in Windows 95, I get two mouse cursors. I can only clickdrag the other cursor with my real mouse.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 55
    Description:
    Emulates Pentium PC for Android. It can run x86 OS.
    It was compiled from stable relese 2.5 (11/27/11) with modifications for Android and my own implementation of sound output via SDL. It uses SDL(from mamaich).
    It is slower than QEMU, but is rather stable so is preferable in case low requirements for HW.

    Requirements: Android 2.2+.

    How to install:
    1. Install apk (attached)
    2. Extract content of SDL.zip to /sdcard/SDL folder on your phone
    3. Put hdd image to /sdcard/SDL folder and rename it to c.img (or modify bochsrc.txt)

    Possible issues: The programm exits right after start and there is no bochsout.txt in /sdcard/SDL - check bochsrc.txt for errors:
    -wrong path to images (check cAsE)
    -bad symbols were added to file
    If you have bochsout.txt after start, then it should contain description for the issue. In most cases it is unsupported format of disk image

    Control:
    - It emulate touchpad on touchscreen and left/right mouse buttons on volume
    You can also click touch screen to generate mouse left button click.
    - Back = BackSpace, Menu = Enter, left-upper corner click generates TAB
    - left-lower corner click popups keyboard

    Additional features:
    - (warning it is experimental so can damage you file system) direct access to NAND of your phone
    modify bochsrc.txt the next way
    ata0-slave: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
    where HDD - folder in /sdcard root

    - Sound support via SDL
    modify bochsrc.txt:
    sb16: wavemode=1, dmatimer=500000
    OS should have installed SB16 drivers

    example of bochsrc.txt is attached
    8
    Linux for BOCHS by AntiBillOS
    Here linux for run on you device!
    I install linux with terminal and install KDE from terminal.

    NOTICE: First boot may be long because linux be rascan hardvare
    (i think its speed up)

    PASSWORD ON ALL USERS IS:111111

    and please dont reupload my file...
    If you want help - click thanks and donate 1$ on paypall

    Link to download:
    http://narod.ru/disk/39708192001/disklinux.7z.html
    6
    hey, i created a tutorial how to install windows xp in bochs

    take a look here: http://forum.xda-developers.com/showthread.php?t=1465365
    5
    Bochs 2.6.8.20

    Changes:
    - Fixed a crash with multithreaded video.
    - Fullscreen mode by default, mouse works.

    You will have to clean this folder before upgrade:
    "/sdcard0/Android/data/net.sourceforge.bochs/files"
    1
    Post image

    The compressed image is 1.1 Gb. It includes bootable Windows XP Fundamendals Service Pack 3. I will attache also src text file with pc configuration. It is compatible for both PC and Android. Windows boots full color display 640*460 interlace drop till 320*240, 80 Mb RAM allocated, so it is still 40-50 avaliable for common Android applications. XP recognizes Pentium 4 processor operating at 7 Mhz. The forum limitations doesnt allow attaching that big files. If someone can give me an ftp or whatever like that and publish a link for everyone, i can provide files.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone