ROM Emulation PC, has it been done?/is it possible? - 8125, K-JAM, P4300, MDA Vario ROM Development

Just a question to throw out there, has anybody created or know how we can emulate ROMs on our PCs to test em out, because I've heard constantly Reflashing the ROM on a PPC, (Wizard, Hermes, etc) can eventually screw up the rom, dont know if this is actually true but would assume so since the process takes 10 minutes for me and if this is possible this would cut down the testing phase of ROM Cooking considerably as well as create a safer enviroment to test on to ensure its looking the way we want it and then eventually final testing on the PPC/Smartphone for GSM quality tests and such.

No, there is not any emulator for ROMs.
By the way: just yesterday the same question was asked in another thread...
As for "screwing up ROM": the flash memory has limited amount of times it can be overwritten, but I think you can sleep in peace. I do not think you have chance to reach that limit by flashing... You would get mad from constant flashing before...
Mirek

There is an emulator for WM6 by microsoft, you can only use that for software testing purpose. You can't use buttons or anything that you have on Wizard. Remember its only for Software Purpose.

nycelitemaster said:
There is an emulator for WM6 by microsoft, you can only use that for software testing purpose. You can't use buttons or anything that you have on Wizard. Remember its only for Software Purpose.
Click to expand...
Click to collapse
I wonder why people keep mentioning this in case somebody looks for ROM emulator...
FOR THE ROM EMULATION HTC WIZARD EMULATOR WOULD BE NEEDED (it does not exist).
The Microsoft emulator is WM emulator for software development... Useless for testing HTC Wizard ROMs...
Mirek

mirekluza said:
I wonder why people keep mentioning this in case somebody looks for ROM emulator...
FOR THE ROM EMULATION HTC WIZARD EMULATOR WOULD BE NEEDED (it does not exist).
The Microsoft emulator is WM emulator for software development... Useless for testing HTC Wizard ROMs...
Mirek
Click to expand...
Click to collapse
Well, that is what i said, it is only for software testing purpose..... nothing else. You can't emulate wizard but you can emulate wizard rom if you convert it to BIN file to test if all the OEM packs you integrated are working fully

nycelitemaster said:
...you can emulate wizard rom if you convert it to BIN file to test if all the OEM packs you integrated are working fully
Click to expand...
Click to collapse
Really? Did you try it? I think ROM contains Wizard specific things, so that it will not work... The MS emulator is usable only with MS images...
I will gladly admit my error here - if it is really possible it would be a good thing (but I doubt it)...
Mirek

nycelitemaster said:
Well, that is what i said, it is only for software testing purpose..... nothing else. You can't emulate wizard but you can emulate wizard rom if you convert it to BIN file to test if all the OEM packs you integrated are working fully
Click to expand...
Click to collapse
I am partly with nycelitemaster on this.
To lift a piece of the vail:
It's possible to test a ROM on the emulator, WinCE platformbuilder has this option.
Device emulater does support hardware keys, they have to be mapped to the keyboard thoug.
EquinoXe

It should not work, because the emulator clearly stated that it emulates the Samsung CPU platform, which is not TI that used by Wizard.

i have been doing some testing on this (using a cooked wm6 rom in the ms emulator) but w/ no luck so far (didnt try the WinCE platformbuilder) . i removed everything wizard specific and left w/ a bare OS as possible but the emulator refuses the BIN....unfortunately i dont have any free time to keep testing...but a good place to start would be to examine the BIN files of the emulator (they are several) and a vanilla rom to see what is different. regardless.....might be too much work for what its worth...its a lot easier to just flash your wizard

The way our kitchens cook ROMs it is unlikely the output nb or nbf is anyhting like the correct bin format - the emulator probably needs something like a complete ROM dump where it is literally a read only image if you see what I mean.

Related

WM6 SDK is out (+WM6 emulation images)

Haven't seen anyone mention it here.
The WM6 SDK with emulator images is out since 2 weeks
Download it directly from microsoft:
http://www.microsoft.com/downloads/...3a-a651-4745-88ef-3d48091a390b&DisplayLang=en
what exactly is this? they will have 2 versions of wm6? pro and standard?
newyorker said:
what exactly is this? they will have 2 versions of wm6? pro and standard?
Click to expand...
Click to collapse
Pro = PPC
Standard = Smartphone
Does anyone know how to run our own custom cooked images in this emulator? Seems to me it would speed up the cooking process if I could just build the rom and run it in the emulator. I saw some posts on this forum asking this very same question a while back. Now that we have a WM6 capable emulator I think it is time to wake this idea up.
computer9cowboy said:
Pro = PPC
Standard = Smartphone
Does anyone know how to run our own custom cooked images in this emulator? Seems to me it would speed up the cooking process if I could just build the rom and run it in the emulator. I saw some posts on this forum asking this very same question a while back. Now that we have a WM6 capable emulator I think it is time to wake this idea up.
Click to expand...
Click to collapse
That would be interesting, it could save alot of people from killing their ppc's when trying new stuff .... But I don't think it's possible
Somebody pls say I'm wrong
Actually Professional is Pocket PC Phone Edition and Classic is Pocket PC.
http://www.windowsfordevices.com/news/NS4634035064.html
Perhaps also handy to post this in one of the General Discussion threads, like Development and Hacking.
I'm downloading the software now, I'll post the results later on.
anichillus said:
That would be interesting, it could save alot of people from killing their ppc's when trying new stuff .... But I don't think it's possible
Somebody pls say I'm wrong
Click to expand...
Click to collapse
If you refering to cooked rom's... I think you're right. As far as I know is not possible to install a cooked rom in a emulator.
Loading a cooked rom is indeed not possible, but it's a very handy app. to test software (and perhaps some one wil find a way to get another ROM loaded).
I have been able to test the Dutch MUI for HTC Album on a WM 6 emulated device, Still playing around with it, if you want more info check out http://msdn2.microsoft.com/en-us/library/aa188174.aspx, there you can read al about how-to use it. Have fun

PPC Emulator

Is there an emulator for PC which can run WM6 ROM? I am working on releasing my next rom after i get the permission from Chef(Theloon) and as i am working on the next release i need to constantly flash which takes a while. So i was thinking if there is an Emulator for our device..
You would need an emulator specifically for HTC Wizard. I doubt anything like that exists...
Mirek
the best
the best one i used for my wizard is pocket nester but you gotta play with the NES rom but loe the classic games
He doesn't mean an emulator _FOR_ the PPC he means one _OF_ the PPC. And no unfortunately it doesn't exist - would be nice to have one which you could just drop an nbf into!
microsoft has something
Try this:
http://www.microsoft.com/downloads/details.aspx?familyid=38C46AA8-1DD7-426F-A913-4F370A65A582&displaylang=en
This is a WM6 emulator images directly from microsoft. I have tried it and its works just fine (useful if your creating programs for WM6). If your looking for something that emulates the htc wizard, i doubt there is any.
fyahstar said:
Try this:
http://www.microsoft.com/downloads/details.aspx?familyid=38C46AA8-1DD7-426F-A913-4F370A65A582&displaylang=en
This is a WM6 emulator images directly from microsoft. I have tried it and its works just fine (useful if your creating programs for WM6). If your looking for something that emulates the htc wizard, i doubt there is any.
Click to expand...
Click to collapse
Usefull for testing programs, but useless as far as cooked ROM testing is concerned...
Mirek
Well, just try to convert your *.nbf file to a *.bin file to open it with the emulator fyahstar mentioned. Maybe it works..
i read in the hermes forum you can dump the image (there are actually BIN files) so you can retrieve the MUI files....what would happen if you reverse that process (might have to exclude device specific things but hey its a possibility!) i am actually going to play around and see what would happen....

wm6 4 Magician it is not a dream

sorry for my bad english
i am a prof C++ programer
i know it sounds crazy but with the computer and programing there is no crazy
i just want a perfect rom for the Magician
why we are looking to the wm6 we want any good rom
we got the program
windows mobile 2003 rom editor
we got the rom on club i-mate
we got the cab of all good and great programs
we got one silly prob.
the passcode to edit the rom file
if i get it
give me 30 day to lunch the perfect rom
i think with the united we can make the WM Magician
the russin gays did it and they give us the txx rom right i think we can do it too
So, if i understand you correct your plan is to create a wm6 rom for the magician, right? This would be really cool...
P.S.
kingt0t said:
the russin gays did it and they give us the txx rom right i think we can do it too
Click to expand...
Click to collapse
i think you mean "guys" when you say "gays"
good luck with your project!
Kingt0t, what you want to do ain't something that hasn't been thought before...yes, you can do a WM6 for magician (hell, you can invent a new OS if you wish...lol) The thing is...time.
There's no drivers for the magician hardware built inside any WM6 ROM...(well, not entirely true - there's probable a few WM 5/6 ROMs which might have a few drivers for our hardware - but not all that are required so to make a workable magician ROM).
You probably would need to create drivers for all missing/required magician hardware...oh and above all...you probably would need to create a special/new bootloader because it seems to me that since WM5, the bootloader has changed it's way of loading the Windows Mobile OSes... (They use what is now called IPL/SPL...)
I'm not trying to discourage you...it's just that we (xda community) have heard about so many people with the same thoughts, giving up after realizing the enormous amount of work that would be required so to build a working wm6 magician ROM
Anyway, if you're really into it, then start by studying what hardware the magician has and how it works...
I can give you a few ideias right now:
- The CPU (PXA272) uses what is called a strataflash (It is glued to the cpu), which i believe there's not many models with this concept(if any). Most of them uses what is called DOC (Disk On Chip).
(if this ain't true, please someone correct me if i'm wrong)
- IDK if there's a driver for this CPU model in any other PPC with WM5/WM6...
- You will probably need to disassemble alot of dlls / .sys / Etc, so to figure out the functions names; what do they do; how do they interact with the rest of the OS...etc...
- Last but not the least, you would need to strip out alot of stuff since the magician only has 64Mb ROM or you could study how HARET (for linux) works and how it allows us to boot a SD Card partition image...
oh well...start posting away if you need help...for shure some gurus in here will start dropping you ideias, concepts, tests that were already made...
Best Regards,
Keeper
P.S: honestely, if someday microsoft decides to release the source code for WM2003 (like they did for win9x and windows 2000), then maybe, just maybe, we will be able to compile a modified version with some parts of the WM 5/6/xxx...
Maybe this is a good start, at least for WM5?
Ubiquio 401 has the same PXA272 CPU and 64MB ROM as the Magician, but it comes with WM5. Perhaps the IPL/SPL and CPU drivers that come with the FW will make less work for some smart person to make a custom Magician ROM.
Here is the Ubiquio 401 ROM, maybe somebody can extract some useful stuff from it:
ubiquio-401-v1.12.26.rar
I think it's also the same as the Gigabyte g-Smart i. g-Smart i uses WM5 AKU2. I don't know which AKU the Ubiquio uses.
Gnat,
There's one big issue in all this... When someone wants to seriously mess around with an operating system and it's "BIOS" (aka booloader) having direct access to the hardware is a must. Since we don't know the JTAG test point pins for the magician and knowing that no one is willing to trash their magician so that we can find out where they are located on the magician's PCB, (which would allow us to test various bootloaders + roms, without the risk of loosing our magicians), i doubt that anyone in here is willing to do blind tests with different model ROMs / Cooked roms, without some sort of backup like this one.
Check the last pages of this thread so to see what i'm talking about...(hell, check all this thread so to see what can happen when you flash something and there's a problem with it or along the installation of it...) : http://forum.xda-developers.com/showthread.php?t=319354
So, if you're willing to do this ( http://wiki.xda-developers.com/index.php?pagename=WallabyJTAG )...or know someone that is, then we might be able to start doing something... :-|
If we had JTAG access, we could start using the Windows CE 5.0 Evaluation Kit which would allow us to communicate directly to the hardware via JTAG and test cooked bootloaders and ROMs. (check this link for more info: http://msdn2.microsoft.com/en-us/library/aa447041.aspx )
Keeper
hope this dream come true....WM6 or just WM5 for IMATE JAM
kingt0t said:
sorry for my bad english
i am a prof C++ programer
i know it sounds crazy but with the computer and programing there is no crazy
i just want a perfect rom for the Magician
why we are looking to the wm6 we want any good rom
we got the program
windows mobile 2003 rom editor
we got the rom on club i-mate
we got the cab of all good and great programs
we got one silly prob.
the passcode to edit the rom file
if i get it
give me 30 day to lunch the perfect rom
i think with the united we can make the WM Magician
the russin gays did it and they give us the txx rom right i think we can do it too
Click to expand...
Click to collapse
if you do this, many will make a donation for your hard work...a NEW WM5 or WM6 ROM FOR the MAGICIAN.
Wow, that's a lot of work to find JTAG points. I have even more respect for people like Helmi if he had to find JTAG points for every device he has made a WM5 and WM6 for!
I don't think I will be finding the JTAG points on my Magician - I don't want to kill it! However, if anyone has a dead, fried or water damaged Magician, I will gladly pull the BGA off and trace the JTAG points.
If the JTAG points have a specific "signature" when viewed on an oscilloscope, I would be happy to trace them that way since I do have a 100MHz DSO available.
i hope too, this dream to ours magician
Oh btw...the taxist russian guy which released the 2.01~3TX rom did NOT made a WM6 for the magician - He simply opened up a magician ROM, changed a few icons, sounds, apps and packed it again...the Operating system still is WM2003se.
if you guys want to try and mod your own roms, use the following tools: alpinenbfdecode.pl, splitrom.pl and dumprom. They are available at the itsme website. ( http://www.xs4all.nl/~itsme/projects/xda/ )
Anyway, check this thread...there's a small script on how to re-create the XIP structure: http://4pda.ru/forum/index.php?showtopic=3924&st=1020#entry744997
Once again, this ain't gonna change your OS (there's no WM5/6 IPL/SPL for the magician) - it will only allow you to mod a few things... :-(
Keeper
Zoneaone
It very fantastic for your effort. thanks.
are you still there kingT0T?
ok guys hold on you are not making it easy i think it is mush simpler then you think
we need wm6 for jam
we dont have to edit wm6 to make it work on jam
we can upgrade the wm2003se to be wm6\5
we can find upgrads and some great programs to creat a wm2003se rom "main platform" looks like the wm6 and include some services in it like the voice command and renew the dailer and add some upgrades i think this is mush better coz we will not play with fire we can just try to make the perfect choise in 2003 rom with some upgrades and patches right
okey kingt0t...so what you want to do is something like taxist did...a modded ROM with a WM2k3 kernel core...
Well, one thing that i would suggest that you could start doing, would be a new bluetooth stack based on the WM 2k5/2k6 one (widcomm, i think)...
Anyway, idk russian and has so, i don't understand much of what is said on that link, but what i did understand is that taxist found a way of modifying the programs in a way that he could insert them has XIP (eXecution In Place), without breaking the expected original execution addresses...the thing is: he never revealed how he has done it...
There's a few guys in there that are trying to do what he has done by using the three tools that i've posted previously, but idk if they did acomplished the "XIP chain ROM address redirectioning"...
Regards,
Keeper
kingt0t said:
ok guys hold on you are not making it easy i think it is mush simpler then you think
we need wm6 for jam
we dont have to edit wm6 to make it work on jam
we can upgrade the wm2003se to be wm6\5
Click to expand...
Click to collapse
First prioduce a WM5.0 ROM instead of talking!
Yés kingtot wm6 4 Magician it is not a dream,it is a mirage...
kingt0t said:
we can find upgrads and some great programs to creat a wm2003se rom "main platform" looks like the wm6 and include some services in it like the voice command and renew the dailer and add some upgrades i think this is mush better coz we will not play with fire we can just try to make the perfect choise in 2003 rom with some upgrades and patches right
Click to expand...
Click to collapse
I'm not sure I understand. You want a WM2003SE that only looks like WM5/WM6? But then it can't run WM5/WM6-specific apps... what purpose is that? I hardly see the point. If that's what you want, it already exists and besides, you can just use Wisbar or something similar and make a theme.
WM2003SuperSe must run wm5 apps. it's main task !!!!
still dream or stop
what's going on?
wm6 again became dream

Standalone WM6 Rom Emulator?!?!? Could it be?!?

I was just browsing the internet and I came across something VERY interesting... They say it is a standalone WM6 Rom emulator. I don't know whether or not to believe it but I know I can't try it right now. My XP partition is kinda small(40gigs) and my computer really doesn't have the Ram to run Vista anymore since I re-installed Norton 360 but I think this is something that deserves some serious attention here.
If this really works then we could potentially use this to test roms before flashing and hopefully avoid bricks in the future.
PLEASE, someone has to take a look at this...
http://www.chrisrue.com/funboard/comments.php?DiscussionID=11&page=1#Item_0
Nothing new as far as I understand it.
It is about Microsoft emulator (it has its own ROM images).
You can emulate WM 6 on a PC (with MS Visual Studio or a standalone emulator). I guess most of people know that.
*But you cannot emulate your own Wizard ROM*. This was discussed multiple times here...
Mirek
First, thanks for the linkage.
Before the release of the full standalone emulator package, I was able to use the Orcas VS beta release to install, then slide some pieces of the WM6 SDK into a rough "standalone" config. Thought it might be helpful for other folks looking to get some time with WM6 while avoiding any bricking risk to real hardware.
Since the release of the full standalone emulator package, including WM6 emulator ROMs, that linked post/thread doesn't actually mean a whole lot.
I've got some additional items on DEmu 1.0 and 2.0 using both WM5 and WM6, which can be found here:
http://www.chrisrue.com/funcave/2006/06/wm5-device-emulator-index.html
http://www.chrisrue.com/funcave/2007/03/device-emulator-v2-index.html
As stated already, the standalone emulator package doesn't really offer any benefits for cooking or testing hardware specific ROMs.
And many MANY thanks to the amazing technicolor pool of genius here at xda-developers. You've saved my bacon more times than I can count. So thanks for that!

Linux without HaRET? U-Boot impossible to use?

Hi there!
As I am using an HTC Touch now, I have a spare Magician which I want to try Linux on.
I have seen many projects like openMOKO, GPE etc. on the net, but they all have in common that HaRET is used to start on the Magician. What I would like to do is to flash a Linux-Image over the WM2003 (i. e. directly into the internal flash), so I have kind of a "native" Linux PDA.
AFAIK, the boot loader "U-Boot" is able to boot an HTC Hermes, so what is the problem with Magician? Does it contain such incompatible hardware or is it due to lack of interfaces (serial port, hardware console to control U-Boot etc.)?
My experience level: I have built some embedded Linux Systems based on WiFi Router boards (Realtek, MIPS), but this is my first ARM/Intel PXA project. So I am somewhat concerned not to brick the device right at the beginning ;-)
Thanks,
Schlot
linux on magician!
schlot said:
Hi there!
As I am using an HTC Touch now, I have a spare Magician which I want to try Linux on.
I have seen many projects like openMOKO, GPE etc. on the net, but they all have in common that HaRET is used to start on the Magician. What I would like to do is to flash a Linux-Image over the WM2003 (i. e. directly into the internal flash), so I have kind of a "native" Linux PDA.
AFAIK, the boot loader "U-Boot" is able to boot an HTC Hermes, so what is the problem with Magician? Does it contain such incompatible hardware or is it due to lack of interfaces (serial port, hardware console to control U-Boot etc.)?
My experience level: I have built some embedded Linux Systems based on WiFi Router boards (Realtek, MIPS), but this is my first ARM/Intel PXA project. So I am somewhat concerned not to brick the device right at the beginning ;-)
Thanks,
Schlot
Click to expand...
Click to collapse
hi dude..
i jus tried the OPENMOKO(linux) on my magician it looks very promising but most of the features r not yet working properly..plus i tried alot but wasnt able2 find even d sound settings it seems very complicated at this stage but hope ppl developing it might make it much more better n user friendly..
The speed of responding is another issue but i can say 1 thing the graphics the gui is flawless..loved using it for around 2days den was bugged so switched back to TX 2.03 rom which presently seems d best..
just hope some 1 in our forums may b some senior member takes interest n tries to develop a wm6 or atleast wm5 for our magician..
Hope the best.
Regards Chigz.
HaRet was download Linux kernel in memorie (where been windos),becoase HardReset.
sorry for poor eng.
chigz said:
hi dude..
i jus tried the OPENMOKO(linux) on my magician it looks very promising but most of the features r not yet working properly..plus i tried alot but wasnt able2 find even d sound settings it seems very complicated at this stage but hope ppl developing it might make it much more better n user friendly..
The speed of responding is another issue but i can say 1 thing the graphics the gui is flawless..loved using it for around 2days den was bugged so switched back to TX 2.03 rom which presently seems d best..
just hope some 1 in our forums may b some senior member takes interest n tries to develop a wm6 or atleast wm5 for our magician..
Hope the best.
Regards Chigz.
Click to expand...
Click to collapse
I also tried OPENMOKO and I agree it does not seem to be that stable atm.
However, I am not interested in putting WM5 or WM6 onto the device, as I already have a WM6 phone. I just want to play a bit with a mobile Linux system ;-)
Has there been any progress, schlot - or did you loose interest?
excogitation said:
Has there been any progress, schlot - or did you loose interest?
Click to expand...
Click to collapse
Hi, I have not really lost my interest, but I am working on a few other projects which I (or other people) actually need, while I am going to try this one here just for fun - which makes an "ultra-low-priority"-project out of it ;-)
So sorry, there is no progress yet...
But I did some experiments with linux on router hardware, so I understand more and more what embedded devices work like.
Cheers,
Thomas

Categories

Resources