Instaling application to the ROM - Windows Mobile Development and Hacking General

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?

Related

Newbie question

Hi All
Nice to be here,have a newbie question I have just aquired an xda2 which I have successfuly sim unlocked and am using an Orange sim, is there anyway to de O2 the front end boot screens and also put in Orange wap ,fax and internet settings.
Cheers
http://forum.xda-developers.com/showthread.php?t=238217
Splash Image == bootscreen
wap and internet settings == settings which can always be changed by hand or cab file
fax == 3th party program
Cheers for that its a bit hard to follow,rom unlocker etc and cab files .I have a basic computer knowledge but struggle with some software and programming.One of the reasons I joined the forum was to learn my way around xda's because they are a useful piece of kit
if you by rom unlocker mean extended rom unlocker then
extended rom is kinda like a dir in normal windows pc which is
hidden and readonly
what the extended rom contain is cab files
cab files is installation files for pocketpc
when the device is started the first time all cab files in the extented rom are auto run and installed onto the device
p.s.
http://wiki.xda-developers.com/index.php?pagename=Himalaya <--- good read for a newbie in the world of windows mobile from htc
Thanks Rudegar
So the Extended Rom is a hidden parition is there a copy of the rom unlocker in the forum or can it be purchased from a site.The link you gave me looks interesting.I have a tour of night duty next week so I will get to grips with it then.
cheers
buzzdev.net have an unlocker
otherwise google would know too

cabwiz and installation destination

I'm developing software for the HTC ARTEMIS on WindowsMobile 5.0 OS. The software is finally provided through a CAB file by using cabwiz to create the CAB. That works as intended.
However, when a memory card is used at the device, the CAB installation routine keeps asking whether the software should be installed on the device or on the memory card. Is there any way to force installation on the _device_ without asking the user?

Cant install on Storage Card

I just upgrade from pocket pc 2003 to windows mobile 6.1 and so the memory ist nearly full. I never could do instal something on the storage card but now i have to
Would be cool if someone could help me..
when i install over activesync or directly from a cab it ask me if i want to install on mainmem or ramdisk or storage
but not all apps support other then mainmem
i now but when i try to instal on storage card from pocket pc it says that the setup was unsucsesfull...
there is only a new, empty folder on the card named programm files
p.s: the card is not write-protected^^
common guys
troubleshoot troubleshoot troubleshoot
try another sdcard
try another program
try another rom
narrow it down where the issue is
others may have the same probem
but havent notised it yet
well
i never could install something, edit files and move files from\to to my sd card...(i had different ones).I just could launch programs and open files...
i had pocket pc 2003 on my mda II and it didnt work (i didnt needed it by the way) and now i need it, because i flashed to wm6 and the memory is full...
does no one has a solution?
can't install on storage card
Hi,
have a similar trouble.
My Faman is new on trinity
when I go to install from exe or cab it asks me where to install.
I choose storage card but windows installs it on main memory !!!
Anything to configure?
I could do it before all my apps were on storage card and my trinity was lite !!
doesnt no one have a solution for my problem
i already said you should try another rom!
as i use wm6 used to use wm5 and never had that problem with my himalaya
i did that...
same problem again....
i have the same problem when i upgraded from 2003 to wm6.1.
i tried many roms wm6 wm6.1 wm6.5 without benefit my device is i-mate hp10b
What ROM are you using? As stated above some ROMs have this problem and if you read through the threads of the ROM you are using then you might find the answer. I know that some cooks released .cab files to correct this problem since their ROMs have the problem you are having.
ferdiebaq said:
What ROM are you using? As stated above some ROMs have this problem and if you read through the threads of the ROM you are using then you might find the answer. I know that some cooks released .cab files to correct this problem since their ROMs have the problem you are having.
Click to expand...
Click to collapse
i tried all Ather , Shekhar and tofclock with the same problem. When i use the original rom PPC_RUU172126WWE_imate the problem is solved .
But realy i want wm6.x
Can any body give me .CAB that solve the problem or tell me which rom hasn't this problem

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?

Build wince 6.0 and flash it

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.

Categories

Resources