[Q] Problems getting CFC compression working on a stock ROM - Windows Mobile

Hi, I'm trying to add CFC compression manually to leo 1.66 ROM without adding anything else (actually cooked on an Xperia but everything was working before the change)
I converted all QTC files to CFC and added padding, I edited manila.exe and mode9.dll\s001 to replace all the libgles_cm.dll entries with libgles_mn.dll (one patch in manila.exe, two patches in mode9.dll of which one in unicode format), I added the two runtime DLLs (libgles_mn.dll and zlib_m.dll), cooked everything but manila doesn't seem to start, the home screen keeps saying to tap to start HTC sense.
Any idea of what could I have missed? Do the files have to be signed/unsigned or need to have some special file attributes?
Thanks in advance for the help.

Are you sure you have all the necessary pkgs for manila?
I dont manually cfc, i usually do the automatic cfc, and it seem to work flawless in various manila version starting from 2012.

ai6908 said:
Are you sure you have all the necessary pkgs for manila?
I dont manually cfc, i usually do the automatic cfc, and it seem to work flawless in various manila version starting from 2012.
Click to expand...
Click to collapse
I think all the packages are fine since manila works before compressing and patching it. I just tried with CFC Gui as well and it doesn't seem to work at all.

Related

how to edit shortcuts in OEM packages?

I have a ATT Pure with the HTC 2.16 Kitchen. I want to edit the shortcut in the JBlend OEM package such that the help file (after in the ROM) is "JBlend" instead of "JBlend_Help" for example. However, with OEM packages extracted with the visual kitchen I cannot see where to do this in the package? Some packages I have found have .DAT files which can be edited but the OEM pnes do not. Any ideas how to do this? Thanks
rdtce said:
I have a ATT Pure with the HTC 2.16 Kitchen. I want to edit the shortcut in the JBlend OEM package such that the help file (after in the ROM) is "JBlend" instead of "JBlend_Help" for example. However, with OEM packages extracted with the visual kitchen I cannot see where to do this in the package? Some packages I have found have .DAT files which can be edited but the OEM pnes do not. Any ideas how to do this? Thanks
Click to expand...
Click to collapse
have a look into files with ext .provxml
if your packages are from pure got oem packages < devices like topaz, links are created from provxml
info on shortcuts can be in xml, provxml, reg, rgu, dat and initflashfiles.txt - if you got any, open them in notepad to edit
it is also possible that the shortcut is in initflashfiles.dat in oem\device\lang folder in kitchen - use notepad2 to edit
cu
nosedive
Thanks for the tip. I have .DSM files in the packages. I used a DSM editor to look at them but I see they just list other files in the package... No idea what those are for. Also, related topic, I dumped some OEM packages out of the latest HTC Rhodium ROM (JetCet Print, BCR) and put them in my Topaz kitchen with the other Topaz EXT packages but the won't cook in. The build process works but they do not show up in my ROM. Any idea why? Is there security on these that prevents cooking into another platform/ROM? Thanks
rdtce said:
Thanks for the tip. I have .DSM files in the packages. I used a DSM editor to look at them but I see they just list other files in the package... No idea what those are for. Also, related topic, I dumped some OEM packages out of the latest HTC Rhodium ROM (JetCet Print, BCR) and put them in my Topaz kitchen with the other Topaz EXT packages but the won't cook in. The build process works but they do not show up in my ROM. Any idea why? Is there security on these that prevents cooking into another platform/ROM? Thanks
Click to expand...
Click to collapse
If you're using Ervius Visual Kitchen, select the Initflashfiles.dat editor from the left hand side, and then look at initflashfiles. It should contain the JBlend help shortcut setup. If you have a look at the initflashfiles.dat for the Rhodium ROM it should have the setup for JetCet Print etc.
OK, great! I will give it a try and post back later today. Thanks again!
Is it possible to add the setup for a package to another ROM like adding JetCet to my Topaz? Is this how all OEM (HTC) packages are set up? When I was playing around with my fuze, I was able to convert cabs to packages and add them all the time. I never had to do any other setup work in the ROM.
rdtce said:
Is it possible to add the setup for a package to another ROM like adding JetCet to my Topaz? Is this how all OEM (HTC) packages are set up? When I was playing around with my fuze, I was able to convert cabs to packages and add them all the time. I never had to do any other setup work in the ROM.
Click to expand...
Click to collapse
That's because the Cab->OEM created an initflashfiles.txt file for each package which contained the settings. The ones for the OEM packs in the HTC ROM are all in intiflashfiles.dat, so you need to find them and copy them.

[FYI] If a .provxml seems to not work in your coked ROM, Try this

The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Your file is fine so I guess that you have the same issue I had .
I guess you don't have that provxml added to any of dsm files . Just use this tool and add it to any of dsm files.
http://forum.xda-developers.com/showthread.php?t=523139
You can also use xml parser to check if file is good, for example Serna Editor.
Click to expand...
Click to collapse
Maybe I'm wrong, so if you already have this provxml added to any of dsm files, we'll look for more reasons. One more question, do you try to cook this into ROM or execute from Advanced Configuration Tool?
It's cooked in. The package is directly from the Rhodium S2 ROM, so I don't quite understand why it's not executing. I'm thinking about putting it in another OEM folder and seeing if that will help. Heck I'm lost, and about to turn it in for the night.
As I wrote, try adding it manually to dsm file in that OEM folder, this should help you, if this won't help, then I'm out of ideas.
Anyway, you can just add content of that provxml to another provxml, it's dirty way but probably the easiest one.
This happens because the messenger.lnk have not been created when this provxml is executed and it fails.
So just rename the provxml to mxipupdate_zprojectdefault_a_000.provxml
Notice the "z" ahead of the project.
This trick will put the provxml after the mxipupdate_windowsliveim_1.provxml, so the messenger.lnk will have been created and the provxml will run just fine.
But he said that provxml isn't excuted at all, I'm out of ideas . Anyway, it's worth to give your idea a try.
jwzg said:
The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Click to expand...
Click to collapse
the provxml isn´t executed on my rhodium as well. but renaming to mxipupdate_zzzzprojectdefault_a_000.provxml
does work for me.
as the posters above me wrote:
the problem seems to be the messenger package which includes another *provxml file which should be prozessed BEFORE mxipupdate_projectdefault_a_000.provxml but it isn´t! also *.provxml aren´t prozessed if there´s a failure inside. when you remove a program and you don´t clear the line in the *.provxml the file would not me prozessed.
this problem is related to platformrebuilder breaking something, you can pm airxtreme for info, it seems that he solved this problem in his wonderful kitchen
steph
Provxml can be launched but they stops at the line it find a problem so it seems that it doesnt works.
Platform rebuilder can reads DSM in EVK? or just in OsK? or none?
Renaming the .provxml solved the issue. Man, the start menu looks good now! Thanks!
Great, I wouldn't think about renaming on my own . Anyway, it seems that those provxml files are processed in alphabetical order, right?
everything is alphabetical order processed in platform rebuilder based kitchens ¬¬
Mod edit: Solved
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
kurniawan77 said:
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
Click to expand...
Click to collapse
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Evil Provxmls....
airxtreme said:
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Click to expand...
Click to collapse
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Laurentius26 said:
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
Click to expand...
Click to collapse
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
tidus18 said:
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Click to expand...
Click to collapse
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
I only tried to help make the provxml load
Bepe created the kitchen tool and knows everything about it.
Edit; a bit late but the version I use is 2.1.0.0 indeed.
cnzqy1 said:
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
Click to expand...
Click to collapse
tidus18 said:
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
Click to expand...
Click to collapse
glad it worked out for u... been away for days... working on bugfixes... and more. v1.31b3 from worked out even better... sorry for late response

registry certification problem

my cooked rom dont allow create, install cab or change any file on device
also start icon and any icon on bottom taskbar has problem
i thought problem is in certification at HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificates
in my cooked rom i cant see any root certification at start->settings->system->certificates
i use XIP/SYS build 28230 at joojoobee666.ppckitchen.org/Kitchens/
when i change only SYS folder of XIP/SYS Da_G's 23563 instead of 28230 sys in my kitchen problem Obviation an i see root certification and file access Error removed too
what do you think about that?
also sorry for my very bad English
Make sure you have all of the same packages in the new sys. Make sure you have the Metadata package. Maybe you're missing the default certs in there.
Farmer Ted said:
Make sure you have all of the same packages in the new sys. Make sure you have the Metadata package. Maybe you're missing the default certs in there.
Click to expand...
Click to collapse
there is different in packages size but all of same package exist in Both
also metadata pack exist and all file of this package exist such as DefaultCerts.dat
i decide to download build 23563 of joojoobee666.ppckitchen.org/Kitchens and compare file by file whit build 23563 of DA_G to finding problem
thx for your reply
hi
well comparison between SYS folders(using windiff) resulted that everything is equal except
location of RAM slots which exist in imageinfo.bin of modules (also S000 ,S001,...)
i use same xip make it from DA_G 23563 for both cook
are you thinking that different ram slot location can cause the problem
any idea ?

[SOLVED]IDS_XXXX tags in some HTC menus

Hello
I'm building with all Leo 3.04 EXT packages, no modifications except to use the 0409 files from Leo 3.02 to make it WWE.
I've encountered a few 'IDS_XXXX' menu items in contacts and messaging - does anyone know what they should say and which file to edit to fix them?
Screenshots attached
Edit: I found the IDS_MSGCLIENT_CALLVOICE in People_Pages.xml. It appears to reference "HTC\Common\simpledialog.mode9" so I'm guessing whichever mode9 manila file is the simpledialog must be missing some code to describe the voice call option...
Edit 2: IDS_ALLPEO_BACKUP and SIMINFO are in there too...
You used 0409 lang files from some older build of those apps (HTCMessagingClient I see there?) which don't have those resources (translations) available.
You're absolutely right. A bit of backtracking and version checking shows that I'm using Manila People v2.5.20161612.0 which I believe is taken from the Oboe ROM and therefore has references to some stuff that isn't in my Leo packages. The Leo 3.04 package version is Manila People v2.5.20161424.0 and I think I got them confused; I'll try the 3.04 package and see if everything works OK
Edit: Yep, switching to a Leo package instead of the Oboe package I was using fixes the problem

[SOLVED] Cooking with cht 1.8.5

Hi all. New to cooking roms. But having fun trying and making decent progress but can figure out how to get cht to work im using osKitchen zero with stock sprint rom as base. Converted cab to ext (even tried oem to ext to see if something screwed up). Anywho everything looks good but looks like the manila files arent getting written in rom. Cht editer works fine. Cookies home tab entries are in registry. Tried prioritizing (spelling?) all other manila folders in case the were overwriting CHT files but didnt make a difference.
Anyone know what im missing here? Any help will be appreciated.
Any particular reg entry or something in app.dat that should be added? Dont install Manila_Home? Prioritize a particular package?
I havent got a clue. Been trying for three days. Im sure its something easy but havent found anything useful searching various WM cooking sites. Tried older CHT packages people posted that said they worked just by adding them to kitchen but they didnt work for me.
Please help!
If you are trying to get CHT editor working in the menu (main home screen) go into your CHT folder and look at the app.reg file. You may see the following entry:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\CHTEditor.lnk]
"Icon"="\\\\Program Files\\CHTEditor\\icon.png"
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CHTE.Path"="\\\\Program Files\\CHTEditor\\CHTEditor.exe"
Change to this:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\CHTEditor.lnk]
"Icon"="\\Program Files\\CHTEditor\\icon.png"
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CHTE.Path"="\\Program Files\\CHTEditor\\CHTEditor.exe"
I had a similar problem when I was trying to cook in cht editor!
If CHt 1.85 wasnt installed in your rom then Cheditor shouldnt work.
When you install CHT 1.85 without any modifications the Home Manila has the same look as the stock one.
You need to use CHTEditor for modding your manila Home page and the export all the reg keys created.
NCTP2 said:
Hi all. New to cooking roms. But having fun trying and making decent progress but can figure out how to get cht to work im using osKitchen zero with stock sprint rom as base. Converted cab to ext (even tried oem to ext to see if something screwed up). Anywho everything looks good but looks like the manila files arent getting written in rom. Cht editer works fine. Cookies home tab entries are in registry. Tried prioritizing (spelling?) all other manila folders in case the were overwriting CHT files but didnt make a difference.
Anyone know what im missing here? Any help will be appreciated.
Any particular reg entry or something in app.dat that should be added? Dont install Manila_Home? Prioritize a particular package?
I havent got a clue. Been trying for three days. Im sure its something easy but havent found anything useful searching various WM cooking sites. Tried older CHT packages people posted that said they worked just by adding them to kitchen but they didnt work for me.
Please help!
Click to expand...
Click to collapse
im pretty sure i removed the extra slashes for registry. that was the first thing i noticed.
Cht editer isnt in soft key menu but it works from srart menu. if i make any changes sense fails to load though.
Ok. Im not trying to type this on my phone so maybe I can better explain.
Using osKitchen Zero.
Load stock Sprint TP2 rom (WM 6.5) into kitchen.
Converted CHT and Editer to EXT packages.
Imported those into kitchen.
Added them to rom.
Registry entry is correct for Editer (no extra slashes).
I make no other changes within the kitchen.
Build rom.
Load rom.
End result:
Editer isnt in right soft key menu it is only in start menu. Editer opens and I can make changes. When I apply, manila tries to restart but never loads.
Uploaded packages if anyone would like to see if things are correct.
Not sure if it matters, but I do not copy CHTEditor into its own directory via app.dat.
But your package does contain ManilaFull.xml, which it shouldn't.
Check CoOkies thread, he does explain there why.
pkoper said:
Not sure if it matters, but I do not copy CHTEditor into its own directory via app.dat.
But your package does contain ManilaFull.xml, which it shouldn't.
Check CoOkies thread, he does explain there why.
Click to expand...
Click to collapse
With or without ManilaFull it still doesnt work.
I dont think cookies is getting cooked correctly. There must be something else i must do.
Fixing to just give up on this. Nothing seems to work.
Your packages seems to be right though they are same as mine.
Its a priority problem imo, CHTEditor must be cooked after CHT 1.85.
2 Solutions :
1st Insert a numer before the package name Example 01_Co0kie 02_ChtEditor
2nd In Oskitchen right click on ChTEditor ,proprieties and give it priority to Co0kiee.
I dunno if this is of some interest but i cook also CHT Editor language pack in my rom.
I tried that and it still wasnt working. Some other package/s were overwriting the files.
I wasnt aware of the packages cooking by folder name so I just made it so CHT and Editer were the last thing to cook in rom and everything works now.
Thanks for the help though. I learned something valuable if nothing else.
Nice...probably you was cooking Manila files after CHT.

Categories

Resources