Make Part to ROM - Urgent - Windows Mobile Development and Hacking General

Please please reply it.
I want to make my application part of ROM my three PDAs. ( I have XDA2i, PDA2K and K-Jam), so machine will have application after hard reset. (i don’t want to write FLASH Memory \Storage\1257 etc i think any one can delete that)
Q1) is there any installer available which deploy to ROM and make desired application part of ROM.
Q2) to upgrade any ROM , is it must to have base ROM ?
I really thankful for your feedbacks
Khurram

Hi Khurram!
There are no installers that can put apps in to device ROM. If you want to add to the ROM you need to do the following:
1)Extract ROM image (or get one for your device from somewhere).
2)Decrypt the image (nbf file) and extract all files.
3)Add your app
4)Repackage and encrypt the image.
5)Reflash your device with the new image.
The tools to do it are on this site (check out ROM kitchen), but this is a complicated process, and there is a good chance you will wind up with a useless device which won't boot.
So you should read up on ROM cooking and be very careful when altering ROM images.
Good luck!

Hello levenum,
Great reply , thanks a lot . you are the only person who replied me now and in past as well.
in past, you suggested the "file store".
Problem: it is not a secure way , any person can remove it from the device.
does any one have idea about Extended ROM or any other secure and risk free way ?
Thanks
[/list]

Hi Khurram!
When you first posted you didn't specify your program was sensitive, and you didn't want people deleting it.
If it's really important Extended ROM is not good ether since it can be unlocked and manipulated just like the File store. There are unlocking tools in this forum.
If your program is some kind of anti-theft app. (in case your phone gets stolen) the only way to ensure no one messes with it is to put it in ROM.
Of course even then someone could re-flash the device with an original ROM,
so nothing is 100% secure.

Great , really impressed in way you picked my point.
i am working on such a application , actually 3 months ago I lost my newly purchased XDA2i , luckily i got that back with the help of mobile operator but I want to developed such a application which will lock the machine totally and will not allow re-flashing as well.
Q: stop to re-flash is possible?
Q: any existing tools for anti-theft ( i saw something at ROM Kitchen but it is for specific versions only)
any further help will be appreciated.
Thanks Again.

Yes, there are projects like this here:
http://forum.xda-developers.com/viewtopic.php?t=46174
Although, I don't remember anyone trying to put the app in ROM.
As for preventing device from re-flashing:
It is possible theoretically, but would require serious programming skills, and good knowledge of hardware.
There is a special program, called bootloader, which is responsible for loading the OS or writing a ROM update to the device. The only way to prevent re-flashing would be to write one of your own, and even then getting it on the device would be tricky.
Any way, that kind of knowledge is way beyond me.
But I do have one question you should consider:
Does your program need to save data, like SIM details for authorized SIMs or changing password?
Since this data cannot be written to ROM dynamiccaly, you would have to compile your program for each user\device specifically, and the password would have to be hard coded.

yes my application will be extention of existing security tools with more control of device something confidentional :twisted: .
the only problem is prevent from deletion so thats why i am worried about it

I didn't mean for you to tell me what your program saves.
I just wanted to point out that while preventing a program from being deleted is possible (I don't think many thieves would bother re-flashing a device, specially if your program would make it look as if the device is malfunctioning and not locked, only the user will know what to do)
its impossible to save settings so they will not be deleted.
If you are making this program only for your self, than fixed password, or SIM info is not a problem, but if you intend this for other people you will have to come up with some solution to store the settings securely.
At leas for this you may have to use the File store.

Related

and what if someone (me) can not afford to break anything?

Instaead of Hi I say you are great people
So the case is... I just need to have working Qtek 1010 with SOME additional soft on it inside a ROM...
I've read many pages in this forum and I'm able to find too many ways to change my ROM. I'm totaly confused.
I work for extremaly big worldwide company and they gave me q Qtek, told me to use it, gave me one simple application and web link... so I do.
But the Qtek is much powerfull than that so I need to flash my ROM.
Now comes a question: where can I find one document how to prepare for it, what tools do I need, how to do it... I know after some tries I will be confident enough to do such stuff easlily, my problem is I have only one try, they will make me w trouble if I screw my company recource.
I understand you had milion similar questions like that. Basicly I need help how to flash so I can be sure 100% not less that I can recover in case of trouble. I hope you understand I'm afraid to do it because lack of experience and you are able to tell me if I should try to flash...
or maybe it's better for me to ask my boss to by me a 512 MB SD and install all additional soft on it and stop worring about memory?
I'd appreciate any opinion... you are the best and I'm just new to this bussines...
Get an sd card, backup existing rom to sd card, very easy to do by bootloader method. Enter bootloader by holding down power while inserting stylus in the reset hole on the bottom left of pda then press top right function key, then choose ce to sd. Once you have done this you can check if it has in fact backed up your rom by putting sd card in the pda, enter bootloader, it will then give the option to program the rom, just remove the card and push the reset with stylus again, the other method to check a working backup is to put the sd card in the pda, the pda will ask to format it, say no and remove it. Once you have a backup you can either use xdatools to copy it to your pc or keep it in a safe place, no more files must be written to this card otherwise it will be rendered useless, if you wish to reuse the card sometime it will need formatting. Once you have your backup, go to www.yorch.net, cook yourself a rom and download it in the exe format, this will do a normal install from your pc while connected to pda via activesync, if it messes up you always have your backup. Once you become more proficient at using xdatools you might wish to try out lots of different roms until you are happy with the result, you can go on to sd card flashing which is a much better way of programming rom and much less prone to error because it doesnt rely on a pc connection. I would advise you to leave the radio stack alone, if you can make and receive call ok leave it alone. Have a thorough look around the forum before proceeding. Its good fun to program your pda and you can make it a much better tool, but make sure you always have a way out if things go wrong.
www.yorch.net not working... is there a place like that?
Hi!
I read the above post, one of the clearest here, and I almost got the confidence to finally do this ROM update...
But:
1) Can't find the www.yorch.net website where I could "cook myself a rom and dowload it in a .exe format"
2)It's still not very clear to me what exactly cooking a ROM means: it concerns the OS (the version 1.53, 1.72 type of stuff), the extended ROM (the default programs u get starting after and hard reset like the SW for the camera etc) or both?
Thanks!!!
Chris
Another ROM Kitchen
Try the following ROM Kitchen http://lumpistefan.dyndns.org/
I noticed that you have the XDAII. Now, someone please correct me if I'm wrong but the directions above and the ROM kitchens are all for the XDA I or Wallaby version.
Re: www.yorch.net not working... is there a place like that?
cchris said:
Hi!
I read the above post, one of the clearest here, and I almost got the confidence to finally do this ROM update...
But:
1) Can't find the www.yorch.net website where I could "cook myself a rom and dowload it in a .exe format"
2)It's still not very clear to me what exactly cooking a ROM means: it concerns the OS (the version 1.53, 1.72 type of stuff), the extended ROM (the default programs u get starting after and hard reset like the SW for the camera etc) or both?
Thanks!!!
Chris
Click to expand...
Click to collapse
Chris,
Those Roms are made for XDA1 beware it's not made for the device you have!!!!!!
What's the kitchen for XDA II
THANK YOU!
I was starting on the wrong foot... :-( :?
Anyway a couple of more question:
1) Is there a place like that for XDA II Kitchen? Is my undestanding of what a kitchen is correct?
2) The process for ROM backup outlined above, is still correct for XDA II?
Thanks!
Chris
I'm in the same boat as you CChris. I've been diligently a daily searching through the numerous topics on this site looking for similar information. I haven't found it yet - or at least nothing not-to-super-technical. I do know that you get to the bootloader by pressing the power button, reset button, and down on the toggle at the same time rather than the Wallaby way of the power and reset buttons only. It also seems that there are issues regarding 'country' and that it requires software to get around this. I haven't found the software yet - the links that I've seen all point to "itsme's" website which is currently down.
You can read the thread here: http://forum.xda-developers.com/viewtopic.php?t=9053&highlight=
Hopefully, someone with a lot more knowledge than me can go over updating the XDA II as clearly as cruisin-thru did for the XDA I.
The instructions on http://wiki.xda-developers.com/wiki/HimalayaRomFlashing are correct.
Unfortunately, there was an issue where the wiki removed the ~ from itsme's website's address. It's been replaced with %7e and now the link works.
If you download a ROM from the same vendor as your device (e.g. Qtek ROM on Qtek device, iMate ROM on iMate device, etc.) you don't need to use these instructions, you can just install the ROM upgrade from your vendor.
If you want to use the latest ROM (from iMate) and your device isn't an iMate, you need to decrypt, change the "country" code, encrypt, and then run the upgrade.
You can also edit the extended ROM when flashing, but it's easier to use itsme's extRom Tools. See http://forum.xda-developers.com/viewtopic.php?t=8422
You do NOT need to flash the ROM if you are not experiencing problems, or if you are experiencing problems which the new ROM also has (for example ugly cleartype fonts, which may be fixed without flashing). Flashing the ROM may void your warrantee. You will lose all your data when you upgrade, and you should not restore a backup, only your my documents folder.
If you are a newbie, it may be best not to flash your ROM. If you typed in itsme in google, you would have found his xs4all address as the third link, and would have quickly found out his site wasn't down at all, but the link was just wrong.
Just a warning: the things that could go wrong when flashing are potentially much worse than a wrong URL, and the answer to those problems won't be the third link in google.
NO MATTER WHAT YOU DO DON'T COME NEAR THE RADIO UPGRADE I QUOTE I FRIEND HERE THAT SAYS
DON'T MESS UP WITH A WORKING RADIO OR YOU'LL END UP WITH A SLIVER BRICK !!!!!!!!!
BEEN THEIR :x :x :x :x
Rabia said:
NO MATTER WHAT YOU DO DON'T COME NEAR THE RADIO UPGRADE I QUOTE I FRIEND HERE THAT SAYS
DON'T MESS UP WITH A WORKING RADIO OR YOU'LL END UP WITH A SLIVER BRICK !!!!!!!!!
BEEN THEIR :x :x :x :x
Click to expand...
Click to collapse
Rabia can you tell me how did you get out from there?
never got out of it

windows mobile 2003 software

HELLO,
IS THERE ANYWHERE ON THIS SITE WHERE I CAN DOWNLOAD A COPY OF WINDOWS 2003SE SO I CAN REINSTALL IT ON MY SPV M1000.
PLEASE HELP.....................
Hello didgeridooplayer.
First, welcome to the forum!
Second: Please refrain from typing in all uppercase letters, it's considered shouting.
As to your question:
I saw you other post in the Himalaya forum, but I reply to this one because I don't know what causes the camera problem.
I don't think you can solve it by 'reinstalling' the OS. This is not a PC. Windows Mobile is embedded in ROM, and although you can upgrade it (because it's actually flash and not real ROM), to clean up the device hard reset is sufficient.
The OS could not have been damaged by any installed program like it can be on the PC.
Now, I am not sure but there may be a Himalaya ROM on the ftp:
ftp://xda:[email protected]
However, Windows Mobile ROM images are custom tailored to a device. It's not like Win XP where you just get a disk and install it on any PC. It has to be custom made by the OEM for each device.
If you already knew this stuff and my post sounded insulting in any way, I am sorry, I just got an impression from your post that you didn't quite understand the issue.
Windows Mobile n stuff
Hi, Firstly thank you for the reply and secondly sorry for the caps. No you have not offended in any way I am a complete newbie numpty and did not know about the things you mentioned I know my way arround a pc but the ins and outs of PDA's are somewhat of a mistery to me. Anyway the reason my cam did not work was because I did a soft reset before the pda installed all its customisations to get round the password problem and therefore it did not get chance to load its camera software or album etc etc. Anyway I am trying to get the guy who sold it to me on ebay to give me a refund but doesnt look to promising (bloomin Ebay is a pain in the bot) but I will see what I can do.
Thanks again...Tim
Hi didgeridooplayer.
Glad I could help.
If you can't get a refund here are a couple of things you can try:
1) If device was locked by password, hard rest should have cleared it and you shouldn't worry about installing the customization since the password has nothing to do with it (it's just some stuff like cellular provider settings and some extra apps the OEM chose to include). Unless the previous owner changed it.
2) Customization is stored on the 'Extended ROM'. This is part of flash that is normally hidden from the user. However with some registry tweaks it can be unlocked and used like extra storage that will not be deleted during hard reset.
I don't know how to do it for your particular device, but if you look in the WiKi, I think you will find the answer. You can then replace just the contents of the Extended ROM (no need to re-flash the whole device) or just install the camera cab from it. That should solve your problem.
P.S. All installations on the device are done by *.cab files. You can launch them by tapping on the file from file explorer on the device.
Re: Windows Mobile n stuff
didgeridooplayer said:
Hi, Firstly thank you for the reply and secondly sorry for the caps. No you have not offended in any way I am a complete newbie numpty and did not know about the things you mentioned I know my way arround a pc but the ins and outs of PDA's are somewhat of a mistery to me. Anyway the reason my cam did not work was because I did a soft reset before the pda installed all its customisations to get round the password problem and therefore it did not get chance to load its camera software or album etc etc. Anyway I am trying to get the guy who sold it to me on ebay to give me a refund but doesnt look to promising (bloomin Ebay is a pain in the bot) but I will see what I can do.
Thanks again...Tim
Click to expand...
Click to collapse
Hello,
you stoped the proces of customization. in this process device install all aplication from Extended ROM.
Your album and camera, and maybe other aplication are not runnig because they aren't installed.
Just do a HardReset and wait the customization finish.

How to cook a ROM for my TyTn Orange SPV 3100[Hermes]

Hi friends, I am looking for a solution to the problem of theft of PDA's. I have been told that in order to have a complete protection I may enter a theft protection application in the ROM itself so that even if any intelliegent thief is going to hardreset it I could still well would have the protection of that software. I have purchased a software for myself & looking to put in to self cooked ROM. May I know which is the best way of making a ROM for my Orange SPV 3100. Will it be a success or a failure to begin with. This is something I want to know from the seniors out here. I want a brainstorming session to be conducted here so that this scourge of theft could be controlled to an extent. I know there are lot of intelligent people out here in XDA Forum but I don't know why are'nt they taking any step in this novel concept. I know they cann't put any legal software coz that would make the ROM illegal but they can provide the option to the users so that they may buy & add that theft protection in to that ROM. I hope I have made myself clear with my plans..I hope a serious & honest consideration would be given to my initiative. This would be a paradigm change in the PDA usage...
Br.
Saksham Katyal
If the thieve is not too dumb he will reflash the ROM anyway.
As far as I know there is no proof of concept of an ultimate anti thieve tool.
Dear be a part of answer not of the question. I want all of Your support in order to make this thing possible. I believe a cooked ROM can do that..
Hi friend I got this reply in one of my queries posted to somebody somewhere. Just wanna confirm whether this trick will work as to make a permanent theft protection in my ROM. I hope You got it..Plz comment seniors
Ultimate theft alert - The method to survive hard reset!
The software can be made to survive Hard-resets by adding certain files to your Ext.ROM. There are many tools to see/unlock your extended ROM - i am using Total Commander for PPC. Simply type "extended_rom" (without "") in the Dir bar and u will get full access.
After purchasing the software, you will have the following files in your Pocket PC' Windows folder
RecordDUI_UTA.txt
utaconfig
uta v3.exe
mesuta
Tapilib.dll
& UTA v3.lnk in Windows/Startup folder
1.Take a copy of these files in your PC.
2.Download WinCE cab manager. Trial version would be enough for the job. This software helps in creating cab files.
3.Add the above files to be placed in Windows folder
4.UTA v3.lnk should be specified to be placed in Windows/Startup folder
5.Finally you can build the cab.
This cab should be added to your Ext.ROM and a small edit to the config file of Ext.ROM(present in Ext.ROM folder) should be made to install the copied cab.
Click to expand...
Click to collapse
Will anybody plz help me. I have posted this reply to get some results out of my last query..
sakshamkatyal said:
Will anybody plz help me. I have posted this reply to get some results out of my last query..
Click to expand...
Click to collapse
As fun_key already stated:
This is wasted time and energy! Nothing you would cook into your personal ROM would prevent a thief from simply reflashing the device! Also: while you're busy on the computer trying to cook an ANTI THEFT ROM somebody really might come and steal your pda ...
Best way of protection:watch your stuff!
In case you go ahead and cook a ROM for the next weeks you might give it a thought that even if there would be a possibility to prevent the thief from using your device right away - you will have lost it anyway! I doubt that the thief would come back, knock on your door and return the phone to you under appaologies ...

[Help Request] Live ROM Update

Objective :
Create an Update Utility based on the Windows Update in Official ROMs
Description :
My idea is to create a ROM that can be updated without the need of RUU we use now. For example, you have Core2.0n version of my ROM and since you installed it, I created another version, for example Core3. In order to update you'd normally have to download the latest ROM to your PC and re-flash your HTC Wizard.
I want to allow you to go online directly from your Wizard and check for new version. If new version found, then automatically download and flash. All you'd need is an Internet connection.
Limits/Problems :
There are some problems about this. This is where I need help.
Usually the PPC turns OFF and then the RUU writes the ROM. With the way I want it, the ROM must be written while the device is ON...and then it would do a Hard Reset in order to complete the Update.
I don't know yet if this is possible, but I am willing to try.
What I need :
People with Assembler knowledge
People with good PPC knowledge and understanding
Huge amount of luck
I remember someone here already tried to restore the Windows Update components. Unfortunately I can't remember who and if he succeeded or not.
I'll search for his thread and post any update.
The ORIGINAL thread is located HERE. Please feel free to join the development crew.​
The idea looks cool, it will allow us to redistribute updates and fixes to our roms more easy
But we have to figure out how the windows update feature is working, and how it manages to flash the downloaded update
I think that it downloads the updates to the storage card (in most cases there is not enough space in storage to store whole rom image) and then instructs the boot loader to flash the file from the card (this way it will be logical)
Also that way will be similar for all devices not just the wizard.
So the rom cookers can personalize windows update settings to update their roms trough it (of course separetely for every device)
xplode said:
The idea looks cool, it will allow us to redistribute updates and fixes to our roms more easy
But we have to figure out how the windows update feature is working, and how it manages to flash the downloaded update
I think that it downloads the updates to the storage card (in most cases there is not enough space in storage to store whole rom image) and then instructs the boot loader to flash the file from the card (this way it will be logical)
Click to expand...
Click to collapse
I think we'll try to do that. However I doubt that Microsoft intended to use a Storage Card for update. This makes me curious on what method they would have used.
Other problem would be error checking...We must know for certain the OS is not corrupted before attempting the update.
Maybe I didn't said it...but I will say it now. My intention is only to flash through the air an OS, that means no other components, like SPL, IPL , radio or SplashScreens will be altered by the Update so no chance of bricking the device plus making the whole process easier to accomplish.
Other idea is to study the way that security programs (anti theft) use they're software so that the data is included in the rom with a simple install.(they say the program will be there even after a hard reset...though i didn't tried any)
I am sad to notice so little enthusiasm from people around here.
This would affect chefs more than regular people but still.
Back to business...
Questions :
Is it possible to flash directly the ROM with the PDA turned on ?
If so, how can we access the ROM directly ?
How to use .pkg ? Can we make use of them ?
Considering the Update deals only with relative minor changes, this means we can leave the XIP out. We can think of new Builds as major upgrades and require the use of normal flash. The big problem..and unfortunately the thing I know less about it's managing to insert the new update in a very "raw" manner.
I am firmly convinced that few people here posses the knowledge to do this.
Please come in front and let's make this thing happen.
I could try to reverse engineer the default windows update but it would take a great deal of time and I would probably get stuck without some help.
P.S. I managed to find the thread I was talking about before. It's located here.
I think is a great idea my friend. However there are many things to think before trying to do it. First of all to flash the new files you shall need to make a pdoc write but i have now idea how can be made via the device itself.
Where are the "patches" being stored before they are updated?
May be the process of hard reset shold be manual. This are only some toughts.
i would help u as much as i can...
great idea !
the update can be on the storage card and one can put the device into
bootloader/update mode by running this little program in the windows dir
to switch it to the 3 color screen.
With this WM5torage program i can acces the romchip itself and write it.
not sure wether it messes up things.
not sure if this will delete contents of the storagecard itself...
another thought... why not make the updatepackage and let windowsupdate install it for you ?
I think the best way to procede is to find out how to make a pkg file (faria seems to know) and then to sniff what the windows update app does when connecting to the MS server and see if we can emulate that on a test server.
Midget_1990 said:
I think the best way to procede is to find out how to make a pkg file (faria seems to know) and then to sniff what the windows update app does when connecting to the MS server and see if we can emulate that on a test server.
Click to expand...
Click to collapse
All your ideas are great. But this was exactly what i had in mind. It seems the easiest way....only so little time right now. So...where`s Faria ?
P.S. Sorry for late reply...i thought ppl don`t care and i didn`t checked the thread
Does somebody of you have such a pkg file?
As I understand it right, this file will be delivered by windows update to the client?
I never got an Update via Windows Update... Everytime I try, there are no updates available ^^
Sniffing the Windows Update would be easy, I think. I could bet that all this stuff is done via a Webservice. That's the I would do it
Has anyone ever updated anything using that Windows Update? It's highly unlikely it will download a whole new ROM, maybe just some cabs which won't touch the ROM altogether, just mess around in registry.
And who needs to keep the device on while updating if you'd make a hard reset afterwards?
It can even be done now...
any back-up program
a cook who's willing to release ROMS on some stable host (NOT rapidshare where address changes)
a diff utility to download only the parts of the ROM that changed
A small app which writes XXXXIMG.BIN to storage card and enters bootloader.
Much harder task is to get rid of ROMs altogether and take control of the only advantage they give: XIP. I mean, why don't use a tool to convert the new apps to XIP format making them a part of the ROM?
@anichillus
I can provide u with the package but it will take some time..u see i have WM6 Emulator..but cant make it to use Internet Connection of my PC..so the Update manager starts but doesent download (no connectivity)..will see what i can do
i got the internet working..but when i click update..it doesent give any packages..what now

Modifying OEM ROM

This is my first shot at doing anything with a Device's ROM so forgive me if I mention something stupid.
Basically what I'm trying to do is add one program to the install process, so when a Device is hard reset it goes back to factory + this one other program that I want to install.
I currently have it as a .cab package and the company I work for has given me an I-Mate K-Jam to learn how to do this, and then adapt it for newer devices. (which I'm sure will be a fun task).
I'm using the guide for creating a new ROM found here: (which is fantastic)
http://forum.xda-developers.com/showthread.php?t=303406/
The only problem is that I have no idea how to tell the package where to put files. The cab I have wants to put files in these directories.
[DestinationDirs]
CopyFiles1=0,"%CE2%"
CopyFiles2=0,"%CE4%"
CopyFiles3=0,"\Temp
If someone could explain this to me, or if there is an easier way to go about doing what I'm doing any help would be greatly appreciated.

Categories

Resources