yashsingh1/xdaforums huggingface dataset:
[Android General] ajb667:
QEMU needed?!

Huh... interesting but I'm not sure why you need QEMU in the setup. While I type this I'm installing XP SP2, here's how I got there...

* Download and install Bochs

* Create a hard disk image as per the previous instructions, I made mine 2GB flat

* Make a note of the cylinders etc. (paste into Notepad would be a good idea)

* Fire up Bochs

Note: run as administrator for Vista/Win7 for the image and emulator programmes.

Now, the config system is a little sparse thankfully I've been tinkering with emulation since the first DOS MAME days so most of it made sense... things to look for:

* Under CPU the Bochs website suggests a value of 10000000 for IPS

* Find the disk section and enable a primary master and point it at your disk image, fill in the geometry information you've hopefully saved in Notepad

* For the primary slave you'll want cdrom. You could point it at an img file but I only had an ISO. I loaded this into DaemonTools (any other CD image emulator should be fine) and then typed the drive letter into the box rather than browsing e.g. "V:" make sure to tick the "Inserted" box.

* The last tab should have the boot order. Going with disk/cdrom/none didn't fail over to cdrom as a normal PC would when presented with a blank hard drive. Thankfully there's a BIOS F12 option to explicitly pick cdrom boot. If you set the order to cdrom/disk/none you'll have to (virtually) take out the CD half way through the install.

* Memory: I wasn't quite sure what the difference between machine memory and host memory implied so I set it at 256 & 512. Do I really need to read the manual?!

Now I'm staring at the "Installing Windows... Registering components" part of the install.

Worth noting that the style of emulation is "real" hence the lack of speed you will encounter. Consider the likes of VirtualBox tearing along don't really emulate machines any more rather they partition off a piece of your machine in a neat fashion, usually with CPUs designed with this in mind. If you're really bored: try turning off your favourite emulator's CPU Virtualisation extensions :)

Timing is completely off, more tinkering required, which you will see if when you try and type something with SHIFT - the accessibility thingy pops up - and set the clock.

Will let you know if it properly boots in a bit, then I shall reveal my secret plan muhahahaha!

Regards,

Andy
[Android General] the_fish:
you should try using one of those "gaming" windows XP images, it's a heavily stripped down version of XP which starts in a matter of seconds. Nope im not gonna post links because its obviously piracy.
[Android General] ajb667:
Oh yeah... IPS (Instructions Per Second) that's why my timing is badly out. If I tap in 10000000 to the settings (10M) I'm actually seeing 30 to 40M on the readout at the bottom of the emulator. Therefore the machine's ticking over 4 virtual seconds for every 1 real world second...

Soooo... I should really have put in 40000000 and switched on the clock sync option :D
[Android General] ajb667:
It's working...

Okay, so I have Bochs running XP without the help of QEMU. The under CPU I've set the IPS close to the performance of my machine (40000000) and under clock set the sync to "both" now no more clock craziness!

Memory size seems to have reset back to 1 and Host allocated memory size is still on 512 although XP reports it has 256MB errr....

Now to optimise and realise my dream:

Cool as it may be to run XP on you phone, much more useful would be on a tablet! Hopefully I don't need to recompile the emulator, let's see if it works on my HTC Flyer :D

Will let you know...
[Android General] nw1996:
please can you post some screenshots
[Android General] asheg:
please,help... how to install qemu on windows? =)

it has strange format - .tar.gz; i opened it with winrar but still no .exe file to launch it
[Android General] xxcuzzme:
Hello,

if you looking for Qemu for windows just type in google "qemu windows" and click in first link.

Working perfectly for me.

Selecting mounted xp image in Bochs didn't worked for me, i've created 1,2GB disk image in Bochs image creating tool then installed windows in Qemu.

Go to cmd.exe select your path and type qemu.exe -m 256 -hda [nameofyourdiskimage].img -cdrom [pathtoyourwindowsimage].iso and it works!

Currently i'm installing Windows Mini (130MB) on Galaxy S2 so in couple of minutes i will post more info about how it runs on S2 :)
[Android General] asheg:
how to choose path ?

and is this correct: qemu.exe -m 256 -hda c.img -cdrom C:\winxpsp3.iso ? [C:\winxpsp3.iso] in quotes?
[Android General] xxcuzzme:
By select your path i mean write it :P like... C:\Program Files\ etc.

If u have c.img in qemu directory it is correct, dont write [] just c:\winxpsp3.iso

I can't confirm if it works for 100% because my installation stopped at ETA 37mins... i dunno why, maybe because of my custom windows img? Later i will try with original image.
[Android General] asheg:
well actually i had to type in cmd "cd [path]" - to change default path c:\windows\system32

now it's working... installation has started and it's really slow... BUT do we actually need to install windows? i mean what is the point of all this, aren't we just need correct bootable winxp.img at end to use it in bochs?
[Android General] DIGItonium:
Google QEMU Manager. It's a great interface for loading up your images and ISOs. Once completed, you can copy the image to your phone. I was able to provide the path to my SD card so there is no need to copy the image to the SDL folder on the phone.

I may have missed this, but have any of you guys figure out how to emulate the arrow keys? I'd like to create a dual boot image and use the arrow keys to boot between OS versions (i.e., Win95 and XP).

I used nLite to strip XP and slipstream SP3 installed into a 512MB image, but there was so little space left for the GUI to come up. I increased it to 1GB. The installation size was around 600MB with page file disabled. After installing .NET (to test some VS2008 developed apps), I barely had enough space for much of anything. So the next step is to create a 2GB image as mentioned earlier by some users, and then partition about 128MB for Win95.

Overall, this is pretty entertaining. It would be nice to be able to scale things a bit better since I'm running on the Galaxy Note!
[Android General] xxcuzzme:
Ok, i will try Qemu manager.

Im stuck at "installng drviers eta 37mins" with Qemu.
[Android General] asheg:
can u pls answer... for clarity:

XP is installing at the moment in qemu...
[Android General] Cogentjin:
Hey there, I tried Qemu manager and it always wants to save my XP as some kind of weird format like .raw or qcow2. How did you get it to actually give you an ISO or IMG?
[Android General] acocalypso:
read first page plz. Use Bochs bximage to create your .img file.
[Android General] acocalypso:
because its much easier to install with qemu as with bochs thats why (my opinion)
[Android General] Cogentjin:
Trust me man I have, a million times. If I use bochs to make my .img, then I use the CD/DVD option for Qemu Manager, it still makes its own format that is no longer my .img. It creates a whole new file that is completely separate.
[Android General] xxcuzzme:
your asking for already created disk image and installed xp in it?

like "donwload xp.img, put it in sd card and run!" without playing with disk creator and installation?
[Android General] asheg:
according to the instructions: i have created a c.img file (1.5 gb size) by bximage.exe

here it is:

[B]Creating the bootable image![/B]

1. Open up Bochs for PC and run bximage.exe -> [COLOR="Red"]you can find bximage here C:/Program Files/bochs/ | depends on where you have installed it.[/COLOR]
2. Create a Image with following: hd, flat, 1500, c.img
hd: It is the format of your boot disk. |[COLOR="Red"] fd will create a bootable floppy disk image. For some odd reasons you can use with win 3.11 or something like that.[/COLOR]
flat: It means that it has a fixed size.
1500: It is the size of your Image. | [COLOR="Red"]you need around 1,5 gb disk space, because the installation of winxp, even you edit it with nlite, wont let you use lower disks -.- , i am trying to solve that problem.[/COLOR]
c.img: It is the name of your Image. [COLOR="Red"]| choose the name like you want to, but dont forget to edit the bochsrc.txt, else it wont start.[/COLOR]

notice: Maybe you have to run bximage.exe as Admin.

next part is to install winxp in the boot image:

[B]Install Windows XP in the boot image[/B]

1. Open up Qemu
2. Set up a new Virtual Machine
3. As disk use the c.img
4. Configure the cdrom
5. Give the machine around 512 MB - 1 GB RAM if possible
6. start the Virtual machine and run the installation of Windows XP

BUT i can't pass this part 'coz i can't install/open qemu from this link since it has strange format [.tar.gz]. i'm running windows 7, maybe that's the problem...

so on your recommendation i installed qemu for windows from this website - http://www.h7.dion.ne.jp/~qemu-win (first link from google "qemu windows"), then put c.img file (1.5 gb size) created by bximage.exe to the qemu directory, opened COMMAND LINE, typed "qemu.exe -m 256 -hda c.img -cdrom C:\winxpsp3.iso" and now windows xp is installing...

so, what now? at the and of installation that c.img will be bootable image and i can use it on my android device through bochs (mobile vers.) to install it?
[Android General] xxcuzzme:
"so, what now? at the and of installation that c.img will be bootable image and i can use it on my android device through bochs (mobile vers.) to install it?"

yup

"to install it?"

to run it

i'have managed to create this c.img but Bochs dont want to run on ICS... dammit

im gonna backup ics and install ginger :P
[Android General] acocalypso:
http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-windows.zip

so here you got the windows version of qemu.

no you have to install it in qemu after the setup is complete you can put the c.img to your sdcard like in first post and run bochs
[Android General] xxcuzzme:
i cant run bochs, i've tried ics and ginger.

it starts up for a sec (black screen) and returning to previous screen...

any one knows what i should to do?
[Android General] asheg:
god.. didn't work. wtf...

when installation has completed and windows was on, i just turned it off and moved c.img (1.5gb) to mobile - no luck -(

well, i used newer, 13 version... i hope that's ok

i don't understand this...

what install in qemu??? i just installed winxp in qemu by this command "qemu.exe -m 256 -hda c.img -cdrom C:\winxpsp3.iso" and it's working good in qemu in windows... turned if off then run again, stil lworking. i think i have now correct bootable c.img but it doesn't work on my mobile :((((

can't you just upload your c.img with winXP somewhere???
[Android General] DIGItonium:
You mean the XP Installation disc or image? You can use the physical optical drive path. Using nLite, I was able to strip XP down, slipstream SP3, and then create a bootable ISO. In QEMU Manager, I selected the ISO image in the CD-ROM settings. It was able to boot it from there.

After setting up XP and making all the tweaks to your liking, shut it down and copy the img file to your device. Make sure bochsrc.txt is set properly so it can find the img file. I saved the image to my micro SD card, so the path in Galaxy Note is:

sdcard/external_sd/[location of image]

(example, sdcard/external_sd/SDL/c.img).
[Android General] xxcuzzme:
i've modified path and moved SDL folder to the internal memory, now BOCHS bios crashes with error "no bootable device"

can u share with me your bochsrc.txt?

thanks
[Android General] Cogentjin:
Yes sir, if I can just explain.. I have a Windows XP Service Pack 3 working ISO. I open QEMU Manager. Under the "Drives" tab, for the CD-ROM I have my XP ISO, and for Hard Disk 0 I have the 1.5 gigs c.img. Now, when I hit Start, it boots up no problem, but that's because it's not actually using my 1.5gigs c.img for Anything, it makes a brand new file in the Programs/Qemu/Images folder named c.qcow2. It leaves my c.img (the one that I made with bochs) completely untouched so when I copy it over to my phone it doesn't work. It doesn't even open with UltraISO, MagicISO, nothing. Also there's a kid above me that appears to be having an identical problem. Basically, once you shut down QEMU, that's it. There's nothing on that c.img file, it just works on my PC.
[Android General] DIGItonium:
Note: nLite has a setting that will allow you to disable minimum memory and hard disk space requirement. It's under Tweaks option. That's how I was able to install XP to a 512MB image, but it became completely useless because there was less than 5MB available and the shell would not load. So factor in 1GB, and then disable page file. You should be left with about 400MB remaining for a stripped down XP install.

Can you get the file path of the image using a file browsing utility? Paste that into the bochsrc.txt in ATA0 that specifies the path (normally "c.img"). To get to my micro SD card I have to point to "\sdcard\external_sd", where "sdcard" is my phone's internal memory.

Off the top of my head in QEMU Manager, there's a New Virtual Machine Wizard. The first page is self explanatory. The next page sets the memory and virtual disk. I set memory to 512MB. Under Primary Virtual Hard Disk, set it to "Do Not Use A Virtual Disk Image." IIRC, this will force the manager to use the image path for Hard Disk 0.

Hope this helps. XP is painfully slow on my Galaxy Note right now. I'm trying to load up a development project, and it takes ages.

After doing some reading, someone provided an explanation how Bochs works. Imagine this: each machine code calls a C++ function. WOW.
[Android General] xxcuzzme:
I did this already, still get error from bios "no bootable device" :(

Maybe there is some boot priority setting?
[Android General] Cogentjin:
DIGItonium, thanks man, that's what I needed. I got XP loaded. WOW it's mother f'in slow. It moves at a pace that would piss off molasses. If a snail had to race a 105 year old man with no legs, that's how fast XP runs. Then again I only gave it 128 MB (default) of RAM and I didn't strip anything away. So I guess that's the next step. I'm fascinated by stuff like this so I enjoy doing it; but man when **** doesn't work, it's no good.
[Android General] ajb667:
Hard Work

Hmmm... I can see ppl are having a lot of trouble with this. I take on-board the fact that setting up XP on QEMU is quicker (Bochs took 3hrs + on my quad core!)

I've had some requests to expand on my brief description of using just Bochs for the XP image creation which I'm happy to do. I would be interested in the problems ppl are having with using Bochs rather than "I couldn't get it to work" so I can explain in detail for these areas.

Also, as far as getting the image running on my Flyer, I've got as far as booting and then staring at a mouse pointer on a blue desktop :( Any suggestions? I did leave it quite some time. The mouse pointer won't move when I touch the screen.

Finally, I was thinking today that booting XP may be pretty kewl but if it's not usable... I'm sure Windows Embedded or even better Windows CE would actually be usable. Unfortunately I don't have access to the build tools for these operating systems in my current job. Has anyone tried either of these?

---------- Post added at 09:15 PM ---------- Previous post was at 09:06 PM ----------

Yar... 128MB won't do you any good. I have loaded XP on old EPOS systems with only Pentium III and 128MB you will have to hack a lot out.

Things to consider: most of the performance for XP in my experience revolves around disk access. A pentium II with lots of memory and a fast hard disk will *look* more impressive than an i7 with 128MB and an old 10GB Seagate :D

At least 256MB + fast hard disk is the minimum for no optimisations. However, given XP loves a swap file, 512MB would be nice for an optimised system with no swap file. YMMV.

Really not sure how to ramp up disk performance, get a Class 10 or better flash card? Or is it dragged down by the emulation?

Anyhoo, get your image as lean 'n' mean on your main system before even thinking of trying it on Android.

Regards,

Andy
[Android General] xxcuzzme:
Ok finally it works, takes up to 2-3mins to load, "mycomputer" loads in couple of seconds.

It's slow as hell, with ~380MB of ram, placed in internal memory and remember i used lighter version of xp.

VNC with W7 is ten times faster, and better :)
[Android General] dasbartas:
Hi. First of all great tutorial, but i had somme difficulties with qemu at the start. The problem was that I could not pick c.img as a hard drive..... I finally after 3h serching found that qemu menager v5 supports the c.img virtual hdd'd. So any one who has difficulties like me I advise to download it.-Oh yeah... does any one know how to transfer files to he virtual operating system? Sorry for bad English.
[Android General] JonMS:
I can move the cursor fine but how the hell do I click anything
[Android General] DIGItonium:
Vol up/down are your L/R mouse buttons. IIRC, menu key is enter key. Tap lower left corner to bring up the keyboard.

Glad you guys got it working. It's pretty entertaining. My phone got so hot I flipped it over and put a cold drink on top while waiting for stuff to finish lol.

FYI, set the mouse cursor speed close to maximum for improved touch response. I was able to get the mouse moving well at 800x600.

Here's a video I just made with the Galaxy Note running XP under Bochs:

[YOUTUBE]Aplu16ch-oE[/YOUTUBE]
[Android General] acocalypso:
yesterday i tryed Micro XP v 0.82 i boots up faster then normal xp, but still very slow.

im trying to figure how to get more speed out of it and will let you know that.
[Android General] kylon:
Maybe an heavily optimized and tweaked img

I saw times ago an image of win xp that worked with 192mb of ram

But now the link is gone.....
[Android General] MemoryController:
WinFLP performance?
[Android General] asheg:
thanx for qemu manager, worked for me finnaly... now i can run windows xp

but it's really slow, took me 30 min to load windows...
[Android General] kylon:
No

Winxp extreme edition
[Android General] imperiallight:
Excellent, found a 191mb image on the bochs 4pda thread that worked.

Loaded in about 10 mins and its pretty zippy IMO compared to what I expected.

I replaced the bochs text with:

NB After XP loads...

Change mouse pointer speed and double click to maximum

Change windows setting to performance

Using higher RAM values seems to make the system more unstable
[Android General] kylon:
Can u pm the link?
[Android General] MemoryController:
Try winflp should be faster
[Android General] matias4_1993:
Works on gt540 :D

Xpmini (only 2 services enlabled, but still is slow) on 64MB RAM, swap disabled, booting in 10~15 min. No crashes.

I try to make minimalistic win7 ^^

Is posible smooth resizing of display? On 480x320 its hard to read anything, on qemu it's working by default, but xp can't run.

(sorry for my english)
[Android General] kylon:
I can t get qemu to works

I m using qemu manager and windows 95

When the installation is finished i can t open the desktop because there is a blac kscreen
[Android General] anhtaia3:
Can you upload the file c.img

I live in vietnam and I can not translate all

thank....
[Android General] tgwaste:
I have this but it still doesnt boot. is there some special config for this?
[Android General] nemke:
Quad core performance

Has anyone tried this on the Asus Transformer Prime?

Wondering what the performance is like?
[Android General] kylon:
Noone know an alternative emulator?

Qemu is not working
[Android General] samipower:
Qemu and qemu manager for windows

qemu-20111119-w32.exe and setupqemuk70.exe

http://qemu.weilnetz.de/ and http://www.davereyn.co.uk/download.htm

Run ok.

My experience

1-download and install bochs 2.51 for windows and create c.img steps for tutorial in page 1 (I put 512 ram in bochs.txt)

2-download and install qemu-20111119-w32.exe and setupqemuk70.exe(qemu manager)

3-Start quemu manager create new virtual machine red+ icon machine name xp and windows xp , system x86(default)

4-storage hard disk 1500 and 1gb ram for example

5-next next

6-In principal window

click in drives and hard disk and search into folder archivosdeprograma/bochs or programfiles/bochs the file c.img and select

, put see all files for can see it file

7-now click in cd-rom and select xp iso image and start the virtual machine green triangle icon

8- Normal windows xp installation , nfts quick format , next next. and wait about 40 minutes , some options you must to fill -write in installation

when finished .

You can see a normall desktop and now

You can shutdown xp and exit virtual machine

-

9- I used windows xp falcor edition mediafire

,

10- I installed in android 4.0.3 xxlpb criskelo v2 team

Install bochs and starts windows xp first window about 1 minute

11- wait 2 minutes and show mouse pointer and wait 4 minutes and windows starting and welcome

12- wait and wait..............

13- Desktop with 4 icons and now you can move the mouse pointer

but windows until are starting services and more..........................................

30 minutes to boot

Runs in ANDROID 4.0.3

450mb running in taskmanager galaxy s2 and cpu 49,67%

and ram full 831mb -726busy

I will flash my galaxy s2 with gingerbread rom xxwkl1 for can see differences with ics rom .(speed-or I can to use usb mouse with gingerbread rom)

In ics only pendrives in xxwlpb
[Android General] waterpolo:
Has some one speed improvements?

The cpu speed of my XP image shows 6 Mhz in the properties of my computer.

May be the app is running on the wrong cpu model?

I have a TF101 and assign 512 Mb RAM.
[Android General] Mr_Jockerish:
question

Hi evereone i have problem. I have all drivers in ny windows xp and the sound is very very laggy . Who can help me in this problem? And can i enable the full screen emulation in my Samsung Galaxy S 2.
[Android General] joryb:
Can i install win 98 in vmware player to and run bochs in the win98 VM window to create the win 98 image? Or does the os have to be installed on a partition of your hard drive. Or is there an easier process, I'ld like to try out a few different ones on a couple game consoles and my tablet.
[Android General] Shahin23:
HELP

Hi my friend. Please help me. I need Qemu "Kernel Path" and "Internal Ram Disk(initrd)" for ARM CPU. "Standard x86/x64 PC is very slow on HTC Sensation.

Can you send me Qemu "Kernel Path" and "Internal Ram Disk(initrd)" ? My E-mail:

Shahin23@box.az

Thanks, for answer my question...:cool:
[Android General] EnDSK:
What's the benefit of doing this?

and I have a huawei Honor u8860 1ghz and 512mb ram is it possible?
[Android General] Mr_Jockerish:
help

How can I adjust the sound in the emulator was not interrupted?
[Android General] fifiknw:
I made it easier to do.

Will Have Xp IMGS up soon

Ive already edit the settings for xp too.

:D

just go here: http://z4cellforums.webs.com/apps/forums/topics/show/7641729-windows-95-98-xp-on-android?next=
[Android General] ncc74656:
Is the network working? Can you access internet?
[Android General] BlownJetta:
Very helpful! Can't wait till you get the XP image uploaded!
[Android General] 2pavel:
Windows 2000 not work

Work well with WinXP. Desire HD boot in 15 minutes. But Win2000 does not want to boot. Must do I change something in bochsrc.txt?
[Android General] staradolfo:
used to install programs on windows xp? in the tablet
[Android General] 2pavel:
Windows 2000 not work

Did someone try to run windows 2000 on the android phone in Bochs? Need other settings? I created the image that runs well on PC under Bochs, but on the phone does not boot. However, Windows XP image boot well on the Phone.
[Android General] waterpolo:
I had the same with Win7 and Win8. Both can boot on pc, but not on tablet.
[Android General] GTAGAME:
Oh, this is awesome! I should try Windows 2000 too. Is it even possible to emulate PowerPC Processors on Bochs Mobile?! I would like to install Mac OS X on my SII ^^
[Android General] waterpolo:
I tried w2k, but isn't running on ASUS TF101. I have w2k running on Qemu Manager (emulation).

Has some one w2k running??