How to make a pre-regged .Cab file? - Windows Mobile Development and Hacking General

Hi, i want to embed the registration key or serial no. into cab file of my programs.That way when i hard reset my tytn,other then restore from spb or sprite backup, i want to do a clean install of all my program from my storage card without key in registration code one by one(very daunting) again.Any kind soul out there can help?Thanks a million..

What you want is impossible.
Each program has a different way of storing its registration after the necessary codes have been entered. Usually it is hidden somewhere deep so it would be more difficult to find and there fore the program would be more difficult to crack.
So while you can easily add registry entries to a cab using CE Cab Manager (google it) unless you know exactly how each of your apps stores its registration (which may not even be in registry) there is nothing you can do.

Related

XDA Atom Extended Rom - How to put new files in startup?

Hi All,
I bought Cartystudios Ultimate Theft Alert after reading about it on this site. It is indeed a good product but theres a problem when using it on the atom.
If a thief hard resets the device, the protection is lost.
apparently, on most devices, its possible to put the file in the extended rom, so that if its hard reset, the app loads and runs the checks to see if the sim has been changed.
I've managed to locate the hidden partition using the unlocker but placing the files has no effect. Is it possible to edit anything that will run the uta application when the device is hard reset? Can the autoinst.dat file be edited to change which progs r run on startup?
anyone?
I don't see any reason to put autoinstalled program after hard reset. Usually, you use programs that need serials... so during startup, you must input these serials... that need time&serial list... that you must store anythere... To my mind the better way, use SPB backup programm, which create self extract application, that :wink: autoinstall all programs, that you need after hard reset.
yes under ordinary circumstances, you're correct...
however, this program is to help you recover your phone when it's stolen.
I dont even need it to install upon hard reset, it would be enough if it would just run after hard reset as it is an exe file.
Basically i need some way to run exe files from the extended rom upon hard reset...kind of the way the auto configurator always runs, or the o2 install app runs
anyone managed to cook this into ATOM?
anyone manage to locate the autoinst.dat or config.txt for customisation?

How to restore apps/ActiveSync/etc. after ROM upgrade?

I can't seem to figure out how people restore their apps, data, ActiveSync, etc. after updating their ROMs. It seems like people on this site replace their ROMs a few times a year at least, and with all the cleverness required to follow all the ROM issues, surely you can't all be manually re-installing every single app every time, etc. Are there some tools I don't know about that are useful for backing up/restoring files before/after ROM burn? Every backup program I see says you must not use it to restore after ROM update (which I understand, since you don't want to restore old versions of many key files). But surely someone could create a backup/restore app which knows which things should NOT be restored.
Thanks!
I do rom upgrades quite frequently, now I can have my device back with my settings and programs installed in around 10 minutes, here's what I did:
1)Install registry workshop on your desktop computer, this program allows you to remotely browse / export the registry on the PocketPC and compare current regitry settings on PocketPC with a previously dumped registry file.
2) Install RegDiff on your desktop computer, it allows you to generate .reg files out of two exported registry dumps done by registry workshop.
3) Spend a few hours going setting-by-setting and exporting the registry after changing each setting, compare and generate .reg file for that. Keep in mind that sometimes you need to power off the device for a while or soft reset for the registry setting to be permanently stored.
4) Once you have all the .reg files for your settings combine them in a single .reg file
5) Use WinCE Cab Manager to combine the cabs of all the programs you install, set the registry settings, and put shorcuts to all applications into the right places. This is the most "time consuming" part of the process.
Finally I end up with 2 big cab files:
- First one is around 9Mb which I install on pocketpc memory, this includes all today screen plugins, plus Net CF 2.1 and some registry settings (mostly WM5 settings and preferences from the today plugins)
- Second one is around 25Mb which i install on storage card, this includes all the other 3rd party apps I like and registry settings for those apps.
What I do after hard reset or rom upgrade: Install the two cab files, setup mail accounts and mms manually and use directpush to sync all my contacts and calendar items again.
The process of exporting all the registry settings is a PITA, but it is worth spending the time if you're going to switch roms frequently.
Look for an app called Sprite Backup.
pkx said:
Look for an app called Sprite Backup.
Click to expand...
Click to collapse
Yup, Sprite is the easiest. Be warned, however, that it isn't able to restore PIM databases over the AKU3 upgrade. See my Backup Bible, where I;ve explained this all.
Wow, thanks. That's a lot of work to get things set up! Clearly worth it if you can re-install everything in 10 minutes, though.
I started to investigate your recommendations, installed Cab Manager, and see how you use that.
How do you get the cabs if the install isn't directly via cab? In other words, if the install is initiated via ActiveSync, then are the necessary cabs always found under the Program Files\ActiveSync directory?
As for Sprite Backup, it looks great, and maybe that would be enough for me for now. I wasn't clear (I did search through and skim the Backup Bible and the WM5 backup software comparisons but couldn't find exactly where it talked about the issue regarding AKU3) is the PIM issue a known bug? Or some limitation/problem related to new security or something?
Quincy
quinxy said:
How do you get the cabs if the install isn't directly via cab? In other words, if the install is initiated via ActiveSync, then are the necessary cabs always found under the Program Files\ActiveSync directory?
Click to expand...
Click to collapse
If it's installed via activesync you can find them there, but generally what I do is extract the cab files from the exe using orange in Linux, don't know if there's a windows equivalent.
pof,
Don't know if you ever ActiveSync since you use Linux, but is there a way to NOT break your ActiveSync by upgrading your ROM? I thought I tried once, years ago, to set the device name back to the original name and ActiveSync still didn't recognize it as the old partnership.
quincy
quinxy said:
pof,
Don't know if you ever ActiveSync since you use Linux, but is there a way to NOT break your ActiveSync by upgrading your ROM? I thought I tried once, years ago, to set the device name back to the original name and ActiveSync still didn't recognize it as the old partnership.
quincy
Click to expand...
Click to collapse
If it doesn't recognize it, just delete the old partnership and recreate / reconfigure it . It's just some seconds.

How to group cabs in one cab?

Is possible to group several cabs in one cab?
I want it to save in the Extended Rom of my TyTn, so that when I do a HardReset, automatic it starts to install all the modifications of registry and some programs that I have in several cabs from the pocket, without need of pc.
I search on the forum, but I don´t find any solution.
Thanks
Well first off, if you use the autorun.exe that already exists in the extended ROM and modify its configuration file (the name may be different for different devices, but it is usually a plain text file) you can get it to install several cabs in sequence.
Combining cabs is not always possible unless you are the one who created them in the first place.
Get a program called CE Cab Manager. It will show you everything that a given cab includes and let you edit it. As long as it's just files and registry settings there is no problem stuffing them all in one cab.
But if a two cabs contain a setup.dll there is no way of combining them without knowing exactly what that DLL does (it could be anything) and thats almost impossible (unless you can read ARM assembler well).
tristan1412 said:
Is possible to group several cabs in one cab?
I want it to save in the Extended Rom of my TyTn, so that when I do a HardReset, automatic it starts to install all the modifications of registry and some programs that I have in several cabs from the pocket, without need of pc.
I search on the forum, but I don´t find any solution.
Thanks
Click to expand...
Click to collapse
what levenum said is correct... so the best thing for you to do is to edit the config.txt file in your extended rom to have them install... HOWEVER if the cabs you are using arent digitally signed then they wont install using that method, you would need to disable the security first... Since no one has a signed disable security cab that works with the tytn the only option would be to do this on a hard reset; soft reset before the customization, when it boots run the tweak program to disable security, then go to the windows directory and manually launch the preautoconfig.exe
software alternatives
tristan1412, you can also use a software dedicated to this task.
check spb airsetup (www.spbsoftwarehouse.com, i'm not sure if it allows more then one cab), or even better airwizard (http://www.teksoftco.com/index.php?section=airwizard)
the advantage of these programs is in my opinion the compression. then you also get several options like readme/eula (with airwizard you have spash image support and even sd card output support - that creates autorun content for the sdcard)
hope this helps
RM
shogunmark said:
....HOWEVER if the cabs you are using arent digitally signed then they wont install using that method, you would need to disable the security first...
Click to expand...
Click to collapse
First of all, thanks for the answers.
now, How can signed digitally my own cabs??

Registry Registration Settings? (Resco?)

For the longest time I've tried to get the information where Resco stores the registration codes in the Registry but never been able to find it. Contacted Resco and never received an answer.
In other words I've bought their product and have the code. But I dont want to enter it everytime I install a new Rom. I want to back up the registry setting without backing up the whole registry since ill be installing it over newer roms..
I've sucessfull found and backed up the keys for thumbcal and SPB Shell and TV. (just searched in the registry for my code and backed up those keys)
But Resco cant seem to work. Does anyone have any clue where those keys would be located under?
Thank you .
Forever022 said:
For the longest time I've tried to get the information where Resco stores the registration codes in the Registry but never been able to find it.
...
Does anyone have any clue where those keys would be located under?
Thank you .
Click to expand...
Click to collapse
I'm not sure what Resco software you're using, however, for Resco Explorer the registration information is in the file \Windows\wmtrigger.dat. I can only guess that other Resco registration information may also be in that file. I restore that file after every flash and have never had to enter my registration information in Resco Explorer after doing so.
Settings for Resco Explorer and Registry Editor are stored in the registry in several keys all within the
[HKEY_LOCAL_MACHINE\Software\Resco] branch.
Hope that helps -
Thanks.
That did the trick
Forever022 said:
For the longest time I've tried to get the information where Resco stores the registration codes in the Registry but never been able to find it. Contacted Resco and never received an answer.
In other words I've bought their product and have the code. But I dont want to enter it everytime I install a new Rom. I want to back up the registry setting without backing up the whole registry since ill be installing it over newer roms..
I've sucessfull found and backed up the keys for thumbcal and SPB Shell and TV. (just searched in the registry for my code and backed up those keys)
But Resco cant seem to work. Does anyone have any clue where those keys would be located under?
Thank you .
Click to expand...
Click to collapse
after you payment is successful, resco retailer will sent a email to you, it contains registry ID and password
remember, registry ID must matches to your phone ID
you can change phone ID by edit "my contact card" in contact list
i asked the same question a while ago at the resco forum and they developers said they can't release that info so they're apps aren't easily cracked/key'd/hacked etc... after searching like a mad man all over the registry, i couldn't find it so thanks adoute for pointing out \Windows\wmtrigger.dat!

how to add registration info in .reg file??

ok my question in here might have been asked in the paaast but now i can not find the answer..
if we have serial no for some appz for registartion..
so every time when we flash rom or do hard reset wehave o set up owner name and enter that sn to that application./
what a ****..
so any way to create .reg file that contain info both owner name and sn for particular appzz.
like
XXXXX app
owner:XXXXXXX
SN:XXXXXXX
and voilaaaa cook it in rom and forget about everything
Post Mod edited
Just get sk tracker and use it to find where the registration keys are stored. Of course this stuff can be cooked in. I must have 20 paid-for apps that I cook in with all the reg info. It's usually in an obvious place (especially sk tools; c'mon, it takes no effort to find that one). It's normally just in the apps registry keys; sometimes it's a file (ae button; resco keyboard). In rare cases, it requires multiple reg keys that are kind of hidden (Phatware Database Editor).
I would expect you're already cooking in user settings, so you should have found some by accident. Don't tell me you input fresh preferences for SK Tools after every flash?!? The registration info for all SK software is all in hkcu/software/sk. You should just have the entire key in an app.reg in you sk tools package.
C`mon guys... dont do it again... you have all the info in the main stickie... check the so many regs tweaks thread link for that and dont hide the m,ain question with another bud... and dont prvide serials... is not good even if it isnt a real one or what ever...
Edited post.
if i m not wrong there is a pc tools that can make mortscripts..
if yes then anyone help me to find out..
i do just googling but not yeild whatt i want..
its only about mortsripts..
This isn't really a rom cooking question, anyway. This is a flashing/restoring question. The best place to find answers to questions about restoring user settings is in threads on sashimi or UC or XDA_UC. There are many threads out there that catalogue where user settings for specific applications are stored. Cooking them in is pretty trivial.
mortscript download has files to install both in pda or in desktop pc. The syntax is the same but some commands are restricted to the pda. In addition to xda_uc there are two other threads: the mortscript compendium and mortscript examples. you can restore provxml/xml files with mortscript, xda_uc, sashimi (they are all mortscript), with a cab, with a UC file, runcc, with sk tools and most of backup programs, etc, etc. you can do it sending keys to the screen or writing to the registry / restoring files. You can also restore many things: passwords, voice labels, contacts, configurations, bt pairings, wifi connections, email accounts, weather parameters, etc...It is a whole world but no distributed ROM should contain any registration keys.
cruiserrr said:
It is a whole world but no distributed ROM should contain any registration keys.
Click to expand...
Click to collapse
Well, you'd be nuts to do that, since you'd also have to have your own owner info cooked into the rom. That's a recipe for disaster, lol. This is more for cooking personal roms (which is all that I do).
can someone hel me how to cook xda"uc?
i tried everything but that is not working

Categories

Resources