Build wince 6.0 and flash it - Windows Mobile Development and Hacking General

I dont like windows mobile because it differs from pc-version windows?
and there is no version of wm, based on wince6 - all are based on 5.2 which limits memory usage for process to 32mb
So i've built wince 6 with skd from ms site.
and i want to flash my device with it
i have 2 files - eboot.bin and nk.bin
when i am trying to flash, using nk.nb0 - flashrom says, that this is some kind of junk.. or smth1ng like this, because its format differs from one, that used in exsisting firmwares.
when i am trying to flash, using eboot.bin (ethernet bootloader)
FlashROM says that it will not flash because this is wrong bootloader and so on..
i've heard letters "jtag" but i dont know what is it and how to use it..
i have no idea how to do this.. could anyone help?
P.S.: PPC is AsusP750 with PXA270 cpu (ARMv4)

i think it will be easy to handle with drivers and other stuff like this
the main purpose is to flash and boot it.
tnx in advance

and only silence was the answer...

you might do better for support on this over at ppcgeeks.

Related

Upgrades and Windows Mobile 2003

I just did PPC Techs upgrade to 128mb Ram and new battery. I'd like to add 400.11 ENG WM2003. Can I simply go to Jeff's Kitchen and download .exe file and install it or is that too simplistic?
I had previously upgrade to latest ATT upgrade from Siemens a couple of months ago and have the A.20.17 version.
Thanks
Re: UPGRADES AND WINDOWS MOBILE 2003
urologyhealth said:
I just did PPC Techs upgrade to 128mb Ram and new battery. I'd like to add 400.11 ENG WM2003. Can I simply go to Jeff's Kitchen and download .exe file and install it or is that too simplistic
Click to expand...
Click to collapse
No, life can be that easy sometimes.
WM 2003
Thanks for the prompt reply--I assume I don't need SD card reader and simply install as I did the last upgrade using Active Sync??
Nope, just put XDA in cradle and make sure ActiveSync thinks it's connected. Then run the exe, and you'll be all set.
But i thought the 128 meg install includes special drivers for the extra 64 meg space? if you did an upgrade to wm2003, i don't think you'd still keep the drivers? T2T if i'm not mistaken
PPC TECHS UPGRADE
I'm waiting for a reply from them--because the drivers for T2T were for PPC2002 and I think they have to be updated for 2003. I'll check that before installing wm2003
I guess I didn't read as carefully as I should have. The 128 indeed needs the special driver. I wouldn't mind having that driver to stick in the kitchen. And I'd also like to know if it does WM2003...
the driver has a built in serial code that matches your last 4 digits of the unit's #... so no users can share, (incase they DO their own memory upgrade)
unless...... u change the unit's serial id #
Personally I could never see the reasoning behind these internal upgrades, memory is relatively cheap, sd cards dont take up room when in the slot and also the card needs no drivers external to the system. Am I missing some hidden benefits? Oh by the way I also know that these hardware mods are done mainly because they CAN be done so I am not knocking the achievement of the programmers and hardware buffs.
cruisin-thru said:
Am I missing some hidden benefits?
Click to expand...
Click to collapse
Yes: the internal memory can hold programs as they are being executed. So if you have a 512 MB SD-card, the 32 MB internal tends to become the next bottleneck.
urologyhealth said:
I just did PPC Techs upgrade to 128mb Ram and new battery.
Thanks
Click to expand...
Click to collapse
How did you get ram upgraded to 128mb ?
sounds interesting!
128mb upgrade
Go to: http://www.pocketpctechs.com/ppcpup.asp
They are efficient and savvy
I was thinking doing the upgrade but was stuck to the same question.
Maybe the solution is to send them the Kitchen exe file to load after the upgrade. Thus the T2T driver can be also loaded in the new flashed ROM.
The only turn down I see, is that you cannot play anymore flashing the unit. Or you do an SD backup of the whole thing first (?)
Where are our gurus?
Gear
Gear said:
Maybe the solution is to send them the Kitchen exe file to load after the upgrade. Thus the T2T driver can be also loaded in the new flashed ROM.
Click to expand...
Click to collapse
The ROM built in the kitchen overwrites anything in the device except the bootloader. The easiest would be if we could just incldue the driver in the kitchen. But if it's tied to the serial number this would be difficult...
XDA developer Peter Poelman said:
The easiest would be if we could just incldue the driver in the kitchen.
Click to expand...
Click to collapse
I agree but, since they are changing only the RAM chip (upgraded to a 128MB one) and not the ROM one, we can send in the unit already flashed with the Kitchen exe file.
Then the T2T driver can be installed by them (I assume in RAM). No ?
Trying to clear things up....
Gear
Gear said:
Then the T2T driver can be installed by them (I assume in RAM). No ?
Click to expand...
Click to collapse
To be honest, i have no idea how they ship the 128 MB units. I suppose th driver is indeed in RAM, and probably also supplied on media somehow.
Anyone here able to provide details?
So, I guess the 64Mb upgrade is the way to go if you want to keep playing with the ROM?
i called them...
be it the 128 or 256... the driver is first installed and tested on site,
then also emailed to you. with the serial code being your pda serial #.
i got the 64 upgrade. just coz i cant afford more.
AND, XDA IS COMMING SOONNNNNN
...oh, i meant XDA -II!!!
october: tmobile germany release
christmas: tmobile USA release!

Instaling application to the ROM

I have a brand new XDA2i with 128mb ROM and 128mb SD RAM. The problem is that I need to install an application - well its a j9 java virtual machine and the java files to the ROM so that if the battery powers down the application is not lost. I cannot save the files to an SD card because the slot is already in use. Do I need to flash the whole ROM?
You can place the CAB to extended ROM so that your app would be reinstalled after HR. Read WiKi about cooking the extended ROM
Or if you are an advanced user with knowledge of perl, WinCE internals, can program C++ and willing to reflash your device dozens of times before it starts to work as you've expeted - you can use these tools to place files into main ROM image: http://www.xs4all.nl/~itsme/projects/xda/romtools.html
I contacted o2 and they said I need something like Win CE Editor to write to the ROM.
I have done a search and there is no way to unhide and unlock the XDA2i extended ROM.
So what options does that leave other than to cook the ROM?

Getting started with ROMs

I want to modify the messaging program but I've not done any WM coding before. I've looked at a number of posts on the forum and taken a look at the wiki but I'm still totally confused about where to start.
My current view is that I need to:
Extract the messaging program from the ROM I'm using
Is this possible? If so, what tools do I need? I found a few utilities that look promising on the wiki but there is no documentation for them so I've got no idea how to use them.
Disassemble the program
Can I do this with Visual Studio? Ideally I would like to step through the execution to find the bits I need to change, can I do that with the extracted program in the WM emulator? Or can I do it directly on my PDA?
Patch the program
I can probably figure this bit out by myself.
Get the patched program onto my PDA
As the program is in ROM, I'm assuming I'll have to re-make the ROM. Or can ROM files be updated/overwritten without rebuilding the ROM?
Each of those steps is assuming the previous one is the correct approach and is actually possible. I'm not looking for hand holding at every step, just some good pointers to relevant information and tools. Thanks.
0. - which programm you want to hack ?
1. What type of PDA you use ?
for example - for hx4700 -
prepare_imgfs.exe dump.dat
viewimgfs.exe imgfs_raw_data.bin
2. IDA - diassemble, or Visual Studio for debugging - if you know how
3. What type of PDA you use ?
for example - for hx4700 - like vivi kitchen.
4. ...
Thanks for your reply.
0. - which programm you want to hack ?
Click to expand...
Click to collapse
The messaging program, is it called Outlook Mobile? Do you know if it is native or managed code? If not, what's the easiest way to tell?
1. What type of PDA you use ?
for example - for hx4700
Click to expand...
Click to collapse
I've got a Kaiser. Currently running "udK 8.0 R0 Vega" ROM (WM6.1). Forgot to mention that in my previous post.
IDA - diassemble, or Visual Studio for debugging - if you know how
Click to expand...
Click to collapse
Does IDA support remote debugging on Windows Mobile? Also, are there any restrictions on what you can debug in VS, ie. do they stop you from debugging things you don't have the source for or are Microsoft applications (eg. Outlook) restricted from debugging in some way?
I'm finding it really hard to get decent information on these kinds of things. If I actually manage to get anywhere with this then I'll write up some kind of guide for the wiki.
Ok, I've used this tool to extract the ROM and get a file called 00_OS.nb. I then got these tools and managed to dump the NB file so that I now have all of the files inside the ROM.
I've been playing about with IDA but when I try and run poutlook.exe in the debugger, it runs but exits straight away (ie. it doesn't create a window on the PDA). I tried copying poutlook.exe onto my device but it doesn't run, I think I need to get it running from the exe before I do anymore IDA stuff. I remember reading somewhere that executables in the ROM image have been manipulated in some way (addresses rewritten or relocated or something), is that what is affecting it? Or do I need to run some additional tool on the extracted exe before it will run standalone?
How do I get an executable extracted from the ROM to run on my device? Or do I have to roll it all up into a ROM for it to work?

Samsung TouchWiz not running .exe files

My brother got a Samsung M8800 Pixon mobile running on TouchWizz (as I understood running on top of WM 6.1).
The problem is that it can not start .exe files, error message I got is "file not supported".
I have really searched across the forums but could not find anything on that topic, so maybe anyone here can help ?
btw. trying to install iGo, don't want to run.exe file which I can run without problem on my HTC Tytn (WM6.1) ...
the .exe just says it is executable - but not on which platform.
if the .exe was compiled for an desktop pc or notebook with intel/amd cpu it only runs on the x86 plattform.
your mobile phone has the ARM plattform - so the program must be compiled for the arm plattform.
you will get an .exe too, but it will only run on arm and not on yur pc.
all software on your phone was compiled for it's plattform and will not run on you pc. so running an .exe file from your pc on your phone and the other way round will not work.
if yo got the source code from the progam, you can compile it (with an croll compiler an your pc) for you phones plattform.
-gb-
Hi,
tnx fo the response !
This same .exe file is running on my HTC TyTn, which is ARM processor.
I am not sure for Samsung, they say it has Qualcomm MSM6281 processor, which I believe is ARM also.
Aren't Samsung processors anyway ARM based also ?
ok yes it sould be arm ... hm strange.
is there any kind of security layer on your device which prevents you to run unsigned .exes?
i don't have any of these devices but i would try to run other .exe filesfrom one device on the other. just try some copy them to the samsung and run them. if the don't run we still don't know why^^ but if they do - it is perhaps only this one .exe which doesn't run.
-gb-
The Samsung Pixon is not a windows mobile phone, so it can't run .exe files, can't install .cab files and can't navigate with iGO. Otherwise the phone would be a lot more popular then it is today....
Oh ...
that what I was afraid off ...
Are you sure ?
Is it a Symbian then ? Or ?
(I couldn't find that information...)
tnx
it does not run a "OS" ....
well it does, but it is one made by samsung......
you have no chance of installing winmo apps.
only java
which application should I install then (except java), something coded specially for Samsung OS ?
or Symbian apps would work also ?
Do you know what is the base for this OS (is it Symbian, or some linuxoid version...)
any links on some good forums for that kind of aplications ?
tnx !
It has a propietary OS made by samsung the only applications you can install on it and i dont think you will(cause of security) are java based apps, if its a non branded model then your good to go, but if its a carriers model then its most likely that is application lock't , meaning you can only install official apps, and also if its application lock't most java app's wont have permission to access web content, cause you wont be able to give them permission via settings on the java emulator that the phone has, anyways my advice sell the phone and buy a windows mobile device.
Regards
Rafyvitto

Linux and PDA

Hi,
after long time without a PDA i bought me a Vodafone Compact IV. It's a great Pocket PC, since it store the timezone and date i entered when shutting down . But i really don't want to use WM anymore. It runs WM 6.1 original.
How do i get into the Flashing things? Where on the WIki are some instructions for it? When i had my wizard i had to know if it is G3 or G4, i had to read some stuff like ISPL or something. But where is a beginnerfriendly tutorial? Then the next is, how do i get Linux working on the device? I know about a tool to dualboot WM/Android. And i also found threads which explain how to run Android from SD card. At first i have to know how to start. That's why i need to know about the flashing.
Is there a bootable Linux image? It's okay for me, to delete the WM Partition, but is this possible? Is there anyone working on?
Might it be a problem that i am on Linux with my Desktop PC? :-/. I could use OSX too, but i don't want to get back to windows.
I hope there are some out, who know my situation. Please excuse my imperfect english
edit: it actually doesn't need to be Android. I would be happy about a working Linux system with package manager. There doesn't need to be X11 and the stuff. But, of course, a Desktop environment would be great
edit2: okay i got a HardSPL'ed device know i am flahsing with SD-card. Thats very nice. Is there a Linux Image out there, which i cann install via SD-card and that runs instead of WM????

Categories

Resources