Hi,
Im sorry if this has been discussed in earlier topics. Im wondering if its possible to include commercial applications such as SPB Pocket Plus, Pocket Informant etc... , into the extended ROM ? - this way you don't have to install them again in case of a hard reset. If it is possible , can someone please specify the details ....
Thanks.
you can add any application to the extended ROM if you have the CAB(s) file of the installation.
First, you should unlock and unhide the extended ROM using the required tools from this forum. Then add your cab file to the extended ROM, and modify the file named "Config.txt" by adding the new cab file name among the rest of cab files. After that, you should lock and hide the extended ROM back.
Biso007 said:
you can add any application to the extended ROM if you have the CAB(s) file of the installation.
First, you should unlock and unhide the extended ROM using the required tools from this forum. Then add your cab file to the extended ROM, and modify the file named "Config.txt" by adding the new cab file name among the rest of cab files. After that, you should lock and hide the extended ROM back.
Click to expand...
Click to collapse
Thank for the reply. However - most commercial applications such as those mentioned on my original post do not come in single cab files. They are usually come in single installation .exe files/
Any ideas ?
Check your applications installation directory or the 'Program files/Microsoft Activesync/yourprogram' for the CAB files.
and often exe install files for pocketpc
can just be renamed to zip and you can open them and copy out the cab
file you need
I've been playing around with the various tools that have been created by members here but because they're so new there isn't much in terms of documentation so...
Could someone briefly explain to me how I would insert a program into the ROM kitchen?
Let's say I had a CAB or setup.exe on my PC, how would I get the Pocket PC program into the ROM?
Surely someone knows how to do this?
Do your homework and read the threads about each rom kitchen, this depends on the kitchen you use and the program you want to add, some have several files, dll, reg keys, etc.. others are as simple as a single exe file... basically you need to exctract the cab and add the relevant files to the rom, if needed edit initflashfiles to place shortcuts in proper location, and if it contains registry keys then edit default.hv or user.hv to add the registry keys there.
I search and found a few post on how to add registry entries on a cab but how do I make it copy a file to a specific location?
I want to create a cab that will install my contacts pim.vol and a few reg entries like the owner info. this would make a hard reset a lot simpler.
If your cooking your own ROM, search for OEMizer here or ppcgeeks. It has the option to copy files and import registry entries directly into the ROM.
Edit: attached file. Put it in the TOOLS folder of the kitchen, run it, and it'll make you an OEM that you can check off the next time you cook the rom.
Kool but will it work with dcd's kitchen?
install the trial of wince cab manager if you want to make your own cabs
Hello all ,
I'm a happy user of Shep's 6.5 rom.
But i would like to cook rt (remote tracker a antitheft aplication) into the rom.
the rom is protected , so extracting it with a kitchen en recooking doesn't work.
Also tried flashing-> dumping into part0x.raw -> extracting , but also no luck.
so cooks i ask you, is there a way to do this??
thanks , arnold
Hi, yes, far easier would be to ask for a kitchen and use that, but barring that;
You can dump the rom, but do not split it into packages (you will need to manually dump as the kitchen will try to split into packages automatically)
Once dumped you'll have all the files in a single \dump folder.
Now add your files to it, then open default.hv in program CeRegEditor
manually add your registry entries or import them into the registry hive, and save it
now cook the rom (again can't use the kitchen, have to do it manually, since your source is already a single \dump folder)
this will give you the source rom + whatever you added To look at the manual steps you will need to do, look at the .cmd and .bat files in the kitchen.
ok will try that ,
but strange that automatic extracting by the kitchen hangs on "protected rom" and manual it works.....
But hey...your the kitchen master
thanks
Protected roms don't dump correctly in the kitchen because the scripts are designed to work around .dsm files.. and the .dsm files are stripped on a protected rom
You can however still manually dump and get a \dump folder, flat folder with all files (as it is stored in the ROM)
Still possible to work with this folder, however the kitchen(s) are not designed to. As it is more difficult.
okey , got it......
even made myself a little kitchen to dump and rebuild the roms
(will post it later if it works, have to flash my phone to test it)
All files in the dump dir seems to be in the phone's \windows dir...
is there a way to place files in other dir's , or do i have to do this by adding cabs to the config.txt file?
Anyway , thans for the help.
works like a charm..
posted it here : http://forum.xda-developers.com/showthread.php?p=3612337
Hi All,
with all of the kitchens found here, it is noticeable that when adding any packages to the OEM/SYS folders (i.e S2U2) then trying to re-build the rom specially in the process of BuildOS we got many errors that file already exist and then crashes.
after many research i got to know that the package will extract the files in windows folder for all packages on time then while installation, the files will be copied to the proper folders.
here is the problem, once trying to re-build the rom all files will be copied in the same folder.
is there a way to avoid this?
Hi robekia1,
Even I am facing the same problem when rebuilding os.
we will keep waiting for the seniors here to deliver a solution for us.
thanks to whom will help in this regard
I also faced this problem while cooking ROMs, Hey krazy! help please.
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
done the same and working
robekia1 said:
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
Click to expand...
Click to collapse
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Please Dooooooo
bhushangahire said:
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Click to expand...
Click to collapse
Thnx a ton budy for this information.
really, i can't wait till tomorrow for this folder because i want to see all these modifications whitch greatly will help all ppl here.
please upload it ASAP.
also, what about Cooked ROM emulation? i hope there is a solution up there whitch i'm not aware about.
registry hack
bhushangahire said:
Make sure you have registry hack for installing third party apps in your ROM packages.
Click to expand...
Click to collapse
What you mean by registry hack? it sounds something new for me.
do you mean any registry editor? or it is another OEM Package should be installed along with the ROM?
robekia1 right, all file will be in windows folder, if you put it in the "program files" folder, the files exist in windows folder too, that is will be wasto your phone storage. Avoid put in the program files folder will be increase your phone memory.
Usually the default directory of the CAB file is in the progam file, and if you use OEM creator to that CAB, it will copied to Program file folder and exist in windows folder, to make only in windows folderyou can use this method:
1. edit the initflashdat result of OEM creator, delete all value of program file, or
2. Before you use OEM creator, edit the installation directory of CAB file, use wincab manager to do it, or
3. use wincab manager to extarct the files in the CAB, and registry, after that you can make .rgu, dsm, shortcut, manually and input the shortcut location in the initflash.dat file (I always use this method).
Usually every CAB file have different files with other, and if the have same file it can be same with the SYS file or the author/maker of the CAb is same. you can choose the latest version of that file if it happend.
While cooking even though we separate files inside different packages, but at the time when imgfs.bin is created, all the files go to \Windows folder. Thats why there cant be two files with same name even when they are in different packages.
Now some apps have common dependencies. Like the DirectShow and mHubVO dlls are needed by Youtube, as well as streaming media. Now what happens is, if you take two packages for these, sometimes the author puts the dependency files in both the packages so that if someone uses one package and not the other, it still works. This mostly happens packages that are made by converting a cab to a package. So if you cook these packages, you need to make sure that they are not putting duplicate files.
The same thing also happens with also happens with registry settings. Somtimes, two or more packages update the same regisrty keys in their .rgu files. SO we need to take care of those too and remove the lines that dont apply to the version of files we are actually using in our kitchen. This is a necessary evil and thats why cooking is not a child's play.
Once a ROM is flashed, and phone boots for the first time, the initialization process takes place. Now the ROM cooks have two ways to initialize their packages : using the .provxml files, this works if you have newer OEM* folders like from Elfin or Opal, it basically requires the Autoshortcut.exe file as well as newer HTCUtil.dll. The other way is the older initflashfiles.txt files inside the packages.
The difference between two methods is that using initflashfile.txt you can only copy files and create folders on the file system, but provxml can be used to perform many different things like registry values, applying themes etc.
So using one of the methods you copy your files to appropriate locations. Do remember that this process if done wildly can decrease the availabel free phone memory noticeably. Thats why we sometimes go a bit furthur and do some programming stuff to minimize this. You people sometimes dont even notice what is happening behind the scene.
I tell you one such experience. Google maps is a package that copies all its files to \Program Files\GoogleMaps but i noticed if i dont copy the files by deleting the initflashfiles.txt, and run GoogleMaps.exe from \Windows, it runs just fine. This works in pro user's rom but in Manila ROMs, the Maps tab of Manila looks for GoogleMaps.exe in Program files folder. So i had a choice to either copy googlemaps.exe into program files folder and waste 2 MB of phone memory or loose the functionality of maps tab of manila.
What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe and what it does is it runs the googlemaps.exe from windows folder and passes all the information to it that manilla passed to it while running it. This exe is copied into the \program files\GoogleMaps folder by using initflashfiles.txt as GoogleMaps.exe. So now manilla is happy that it has googlemaps.exe in its proper place and i am happy too coz the new exe is only 3.5 kb in size You can verify this in v3.1.1 of VanillaManila rom. Look in the program files folder you will get the 4 kb googlemaps.exe, put it on your pc and check its version in its properties, you will get my name there And if you check the windows folder, there will be a googlemaps.exe of 2 MB size and a GoogleMapsStub.exe of 4 kb size.
So sometimes hacks like these are necessary in order to make a perfect roms. ROM cooking is just like food cooking, It may appears to be like just putting the ingredients into a cooker and light up the gas stove and wait for the food to cook. But if you try that for first time, your food will not be eatable for sure It requires a careful balance of salt, pepper and other things to cook a tasty dish I hope i have made myself clear
Wonderful
AMAZINGGGGGGGGGGGG PPL
latest buildos/ visual kitchen has option to delete duplicate file while cooking but
i will make new kitchen in future (not soon) because current kitchen work fine for me and i have lots of other work like android + building to rom from weekly leaked sys of wp 6.5
Thanks ankit360 for the visualkitchen9.7, i'm already trying to use it but the problem is: the ROM generated by the kichen is not working for GENE.
i tried another kitchen for the same ROM and it still working fine, the only problem with it is the duplicate
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Hi Karzy,
" What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe " you answered one of my query unknowingly, when I had extracted your ROM, I saw there was GogleMapsStub.exe which was not present in any other ROM I had extracted. So I was wondering what that file was about !!! Now I know what it was.
Thanks a lot karzy for sharing this info.
You have been always good in explaining things indetail, which helps a lot for new comers like me.
I m glad that i am able to help my buddies here.
find the files below...
robekia1 said:
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Click to expand...
Click to collapse
Please find the files below sorry for delay.....
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
bhushangahire said:
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
i guess this ROM is for OLD gene???Correct me if i'am wrong...
yup for old
htc3400 said:
i guess this ROM is for OLD gene???Correct me if i'am wrong...
Click to expand...
Click to collapse
yup you are right this rom is for Old ..
If anyone want it for new gene please ping here I will cook it for new also....
Thanks
bhushangahire said:
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
Thanks a Ton bhushangahire for sharing those links.
I appreciate this.
Now, i'm gonna read them character by character