How can we extract a program from a ROM?? - Windows Mobile Development and Hacking General

How can we extract a program from a rom and convert it to a Cab for install on another phone
how to know what and where to find the files (like registry for instance)
and how to convert to cab
Thanks

Hi,
currently the most apps available as oem pack or cab file, use google and find this.
What a app search you?
wfg
Starbase64

aalim said:
How can we extract a program from a rom and convert it to a Cab for install on another phone
how to know what and where to find the files (like registry for instance)
and how to convert to cab
Thanks
Click to expand...
Click to collapse
Well, if you have the ROM already, it depends on what phone it comes from. Once you have the files out, you have to look at packages in the OEM and SYS folders, find the corresponding files, and look through the RGU's and HV files for needed registry keys. And of course, you also have to check the initflash.txt and iniflash.dat files.

ivanmmj said:
Well, if you have the ROM already, it depends on what phone it comes from. Once you have the files out, you have to look at packages in the OEM and SYS folders, find the corresponding files, and look through the RGU's and HV files for needed registry keys. And of course, you also have to check the initflash.txt and iniflash.dat files.[/QUOTE
Click to expand...
Click to collapse

then how can we turn OEM into a cab??

Related

How do I integrate apps into the OS ROM for Wizard

I have been able to extract the EXT ROM and OS ROMs using the NB2NBF and IMGFS tools. I know that by using a custom ROM I can save on storage space by loading in my programs. I'd like to load Pocket Informat, Alarm Today, Phone Alarm , isilo and TCPMP into the OS ROM. How do I do this? I have all their cabs. I will keep reading the forums too.
I know that some like summiter have done this. Anyone able to help me get started or point me in the right direction?
J-Man5
the only device i ever heard supporting that is walaby
dont know if it's possible with other devices
i mean the os part of the rom is well you know full already
yes it is possibel.you need a tool called [typhoonnbfdecode_v5] look for this tool and how to use somehere in the ftp, and here in the wizard forums
you need to make a dump of the os from a nk.nbf image with the above tool
then you need to extract the files from de cabs you want plus the reg settings,
simply copy the extracted files from cab to your rom dump folder
make a cab file with the reg files from the cab files an also the shortcuts to the programs.
repack the rom with the typhoonnbfdecode_v5, convert the nba image with NB2NBF back to nbf and flash,after that install the cab with reg settings plus shortcuts,
you have a long jorney ahead.
i took me several weeks to make my own rom with netcf.2,adobe acrobat e several other programs integrated to the rom.
faria said:
then you need to extract the files from de cabs you want plus the reg settings,
simply copy the extracted files from cab to your rom dump folder
<snipped>
make a cab file with the reg files from the cab files an also the shortcuts to the programs.
Click to expand...
Click to collapse
OK I have gotten the nk.nbf extracted and the EXT ROM opened using winimage and the OS ROM dumped via imgfs.
Where I am running into problems understanding is how to unpack the .cab install files for the programs I am planning on using and how to "move" them to the \Program Files\ directories that they need to be in. For example PocketInformant is loaded into the \Program Files\WebIS directory. Do I put all the files from the .cab file in the dump OS directory? Is there some sort of program that will extract the .cab file and let me look at what registry settings are being set by its installation?
What program is used to create registry settings into a .cab file?
Thanks
J-Man5
BUMP
wincecab manager ,google it.
Hey!
I want to add some apps to the Rom of my Wizard, too.
I have used imgfs tools to great a dump from my OS.
Now i want to Install Total Commander to a Folder "\Programme\Total Commander\".
How can i do this? Or is it only possible to copy the files without any folder?
Sry for my bad english

HD2 cab install

hello guys, i dont own an hd2 yet but ill buy one this month but i have a question i want to add some cabs file on my device when i get. My question is i have download some cabs BUT when i open the winrar i dont get any cab file, all i get is some files that has bunch of numbers and one of them says "_setup.xml" so what should i do? should i directly put the winrar file on my hd2? since i dont get any cab file inside the winrar?? and if there's a cab file inside the winrar and i press the button "extract here" should i just upload the cab file only to my hd2 right??
Hope you guys can help me.
Thank you.
Hi.
A CAB file is a compressed installer file for mobile phones.
If you open it with winrar, you will see all the files it contains.
Just copy the original .cab file to your phone.
Click on the .cab file, and it will run the installer, and install the program on your phone.
You can choose to install to the main memory or the sd card.
Yeah - as above. What you're calling a "winrar" file is the cab file.
Extract a cab
Ok, I know this isn't the original question but...
is it possible to extract a .cab file - i mean to extract all the different files that make up the program , all the .exe .dll .ico etc etc. Wanting to do this to help me reverse-engineer a couple of omnia 2 cabs that don't work.
kinsago said:
Ok, I know this isn't the original question but...
is it possible to extract a .cab file - i mean to extract all the different files that make up the program , all the .exe .dll .ico etc etc. Wanting to do this to help me reverse-engineer a couple of omnia 2 cabs that don't work.
Click to expand...
Click to collapse
yes extract the files with winrar
ohhh okok i get it now.. so i just donwload thw winrar which is the cab file and i copy it to my hd2. thanks guys
Richy99 said:
yes extract the files with winrar
Click to expand...
Click to collapse
Tried that, all I get are 10 files. One of them is _setup.xml, the others are numbered files.
I've attached a screen capture of the files so you can see what they are.
kinsago said:
Tried that, all I get are 10 files. One of them is _setup.xml, the others are numbered files.
I've attached a screen capture of the files so you can see what they are.
Click to expand...
Click to collapse
Yes that's what you would expect as they are the cab install files.
If they don't mean anything are you sure you know what you're doing?
That's what I'm trying to find out. I assume that the WM program works in a similar way to windows program in that its a collection of files (exe, ico, dll, cfg so on so forth) that get installed in the appropriate places on the device. If so, how do you 'unpack' these files from the setup files
use a cab manager program. I don't so I can't recommend, but wincecab manager sound familiar. u can use them to create cabs of your tweaks, install files and such.
it seems that you have never used windows mobile (just copy the winrar file into the device and run it from the device)
hoss_n2 said:
it seems that you have never used windows mobile (just copy the winrar file into the device and run it from the device)
Click to expand...
Click to collapse
I'm not trying to install a cab file (which the first post was about) I'm trying to decompile the omnia 2 video editor to get it to run on the HD2 but instead of starting a new thread, I asked on this one because it seemed (partially) relevant.
BTW, I've got the cab 'extracted' so thanks - no for the difficult part...

how do i install files in a folder and out of the folder is registry file?

how do i install files in a folder and out of the folder is registry file?
when i down load a file. some of them come not as a cab file but it comes it contains a folder and a registry file out of the folder. i believe folder contains program file. where do i put which and where? can u help.
tazwik said:
how do i install files in a folder and out of the folder is registry file?
when i down load a file. some of them come not as a cab file but it comes it contains a folder and a registry file out of the folder. i believe folder contains program file. where do i put which and where? can u help.
Click to expand...
Click to collapse
What are you trying to install?...and where? I am sorry if I am miss understanding you but it sounds like you have a file with a reg file and another folder named files? is this right?
something like that. when i down load a file its not a cab file.it is a zip file. when i unzip. it has a folder with program with some files in the folder, but out of the folder or root directory there is 2to 3 files look like reg file. i do not know where to place these file.
tazwik said:
something like that. when i down load a file its not a cab file.it is a zip file. when i unzip. it has a folder with program with some files in the folder, but out of the folder or root directory there is 2to 3 files look like reg file. i do not know where to place these file.
Click to expand...
Click to collapse
Could you link me to the file so I can see it?
im tryin to install it in to my htc hd2 phone. its a program i downloaded. from xda. like camara hack. ther is a folder and files on the root directory. in the folder though there is a camara icon or program.
tazwik said:
im tryin to install it in to my htc hd2 phone. its a program i downloaded. from xda. like camara hack. ther is a folder and files on the root directory. in the folder though there is a camara icon or program.
Click to expand...
Click to collapse
Post the file or link me to where you got it please. I want to make sure I give you good info so it works.
sounds like a cracked app, where you get the prog folder and a reg file to crack it.
samsamuel said:
sounds like a cracked app, where you get the prog folder and a reg file to crack it.
Click to expand...
Click to collapse
I thought so as well till he\she said they got it on xda, that made me think maybe a kitchen ext package
The cab files can be opened with winzip on your PC. The contents of a cab file is usually an xml file, icon file and other files for installation. Are you sure you are not opening a cab file in winzip?
zelendel said:
I thought so as well till he\she said they got it on xda, that made me think maybe a kitchen ext package
Click to expand...
Click to collapse
ahh yea.that makes sense.
ok for example. forum.xda-developers.com/showthread.php?t=611007
CUSTOM-djet-CameraSettingsPatch , it is a rar file costum patch. when i down load it has a folder and a files where do i place the folder and where do i place the files on my THC HD2
Thats an OEM package for use in kitchens when cooking ROMS. You cant install it to a running system. (Well, not in that form anyway)
tazwik said:
ok for example. forum.xda-developers.com/showthread.php?t=611007
CUSTOM-djet-CameraSettingsPatch , it is a rar file costum patch. when i down load it has a folder and a files where do i place the folder and where do i place the files on my THC HD2
Click to expand...
Click to collapse
I made the files into a cab for you.
zelendel said:
I made the files into a cab for you.
Click to expand...
Click to collapse
What does that one do exactly?
sirphunkee said:
What does that one do exactly?
Click to expand...
Click to collapse
From the look of the reg it enables one of the hidden functions in the camera. I thought most cooks enabled all the functions when they cooked up the rom but could be wrong. I know I do
zelendel said:
From the look of the reg it enables one of the hidden functions in the camera. I thought most cooks enabled all the functions when they cooked up the rom but could be wrong. I know I do
Click to expand...
Click to collapse
Gotcha, thanks man! Just wanted to be sure I wasn't missing anything I don't already have
icons
can u help me with one more thing. i downloaded some icons. it does not have any other files but icons and album file. when i place the file into the windows directory. gives me an message that it can not be overitten due to not enough space and file is being used. how do i change go around it.
thks jelendel. for making file in to cab.
similar problems/questions
most cab files/apps i download and install are very straight forward and I save to storage card and there are right there on my "start" screen. others I download and I cant find them? I look through the file explorer but either cant find them or dont know what to do if I do find the file.
example, egg timer 1.0 -I can find it listed on "remove programs" page page so I know I got it. but how do I get it to a more 'usable' location.
another example. I want to get the Bluetooth toggle (BTtoggle) from pocketnow site. I downloaded the app, then it says I need to edit my registry (I understand the dangers of this) at
"HKLM\software\HTC\Manilla" and change the value of HomeLSKPath to the path to your BTtoggle.exe .....etc.....
First time editing registry, so sounds like I need to get a registry editor. I looked for a free one. CeRegEdit version 5.2.exe file. looks like it downloaded ok but I cant find on device??
LASTLY, I use CoOkies home editor and I really like it, but does that mean I cant do other changes/app installs to any HTC sense items/lock screen/home screen/etc? thanks for reading this far....steve
Or if you know of easier to get bluetooth toggle or any kind of timer applications so I dont burn food at the fire station, feel free to reccomend...Thanks
808Granato said:
Or if you know of easier to get bluetooth toggle or any kind of timer applications so I dont burn food at the fire station, feel free to reccomend...Thanks
Click to expand...
Click to collapse
Aloha, and just because you're in civil service like that, I'll give you a hand with this one here...but it's usually best to open a new thread with a bunch of questions like that. You can just edit your post above to just say "moved to new thread", and then copy all that you wrote into a new thread you start...you'll probably get more views/responses that way too
These cabs will give you a toggle for bluetooth, wifi, and a reset button. Once you run the cab, you can find them in your start menu, but they're most useful when you assign them to one of the quicklink spots (on your home tab), just like you would any other program.
P.S. you'll find a lot more useful stuff for your new phone right here in these forums, and 99% of it is free, and known to work on the HD2 (unless stated otherwise). Start HERE and HERE

[SOLVED] How to cook in a set of folders with duplicate files

Ok heres my dilema:
I wan't to cook in loads of manila files, but theres a few different versions of each one, and they aren't going into windows.
its better I explain it, heres an example:
Root Folder
\Folder 1
¬FileX
\Folder 2
¬FileX
\Folder 3
¬FileX
How can I do this? is I cant put the same file (FileX) in the files folder of a package as it has the same file name... The only way I can think of is to have a seperate package for each invidual file, and considering theres over 40 files, its going to take a long time!
Are there anymore efficient ways to do this? Thanks
SOLVED: AIRXTREME HAS MADE A UTILITY FOR CHEFS TO FIX THIS VERY PROBLEM:
[GET IT HERE]
THANKS AIRXTREME!!!
[★] said:
Ok heres my dilema:
I wan't to cook in loads of manila files, but theres a few different versions of each one, and they aren't going into windows.
its better I explain it, heres an example:
Root Folder
\Folder 1
¬FileX
\Folder 2
¬FileX
\Folder 3
¬FileX
How can I do this? is I cant put the same file (FileX) in the files folder of a package as it has the same file name... The only way I can think of is to have a seperate package for each invidual file, and considering theres over 40 files, its going to take a long time!
Are there anymore efficient ways to do this? Thanks
Click to expand...
Click to collapse
If all these files go into "\Windows", there will be only one in the end ... not 40. Meaning the last "FileX" your kitchen finds will have overwritten all the others ...
You can't end up with all these files, without doing a little bit of legwork.
When you cook a ROM, all the files end up in \Windows, and are then moved around as required.
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat, or you could cab up all the files, and run the cab after first boot.
The easiest way is to use a cab or to put everything in a zip file and use an 'inzipall' mortscript to unzip the folders wherever you want during customization.
Diegis0n said:
If all these files go into "\Windows", there will be only one in the end ... not 40. Meaning the last "FileX" your kitchen finds will have overwritten all the others ...
Click to expand...
Click to collapse
Yeah thats what I thought , althought I didnt know they went into windows first, thanks.
l3v5y said:
You can't end up with all these files, without doing a little bit of legwork.
When you cook a ROM, all the files end up in \Windows, and are then moved around as required.
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat, or you could cab up all the files, and run the cab after first boot.
Click to expand...
Click to collapse
Hmm the cab sounds like a good aproach, although still I wouldn't be able to have more than one manila file with the same name in the cab.
Farmer Ted said:
The easiest way is to use a cab or to put everything in a zip file and use an 'inzipall' mortscript to unzip the folders wherever you want during customization.
Click to expand...
Click to collapse
hmm thats a good idea, could you point me to that script please
[★] said:
Yeah thats what I thought , althought I didnt know they went into windows first, thanks.
Hmm the cab sounds like a good aproach, although still I wouldn't be able to have more than one manila file with the same name in the cab.
Click to expand...
Click to collapse
Cab files do allow you to specify the paths, so they do allow you to have files with the same name. WinCE CAB Manager is a good choice to create cabs. You can then use RunCC / Autorun/ XDA_UC to install it during the first boot.
[★] said:
hmm thats a good idea, could you point me to that script please
Click to expand...
Click to collapse
Just take a look at this package; it has a zip file, a mortscript, and the add2config that you need. Here's a mortscript package that you can use.
You could also rename the files for example "1_FileX", "2_FileX" and have initflashfiles.dat rename it to the filename you want it to be, like so:
Directory("\Folder_1"):-File("FileX","\Windows\1_FileX")
Directory("\Folder_2"):-File("FileX","\Windows\2_FileX")
Click to expand...
Click to collapse
But that would really clog up your ROM, so the mortscript way is better.
ock said:
Cab files do allow you to specify the paths, so they do allow you to have files with the same name. WinCE CAB Manager is a good choice to create cabs. You can then use RunCC / Autorun/ XDA_UC to install it during the first boot.
Click to expand...
Click to collapse
Yes but putting the files in will overwrite eachother, as they have to have the same file name
Farmer Ted said:
Just take a look at this package; it has a zip file, a mortscript, and the add2config that you need. Here's a mortscript package that you can use.
Click to expand...
Click to collapse
Thanks I dont understand what the mortscript for is (the one from 4shared) but Im using the add2config package, I think I get it I will let you know when its finished cooking. Although I am having a problem where none of my add2config packages are working so it might be useless
seeM_ZA said:
You could also rename the files for example "1_FileX", "2_FileX" and have initflashfiles.dat rename it to the filename you want it to be, like so:
But that would really clog up your ROM, so the mortscript way is better.
Click to expand...
Click to collapse
Yeah but the files have to keep the same name
You need mortscript support cooked into your rom one way or another if you're going to use zip files; that's what the 4shared package is for.
l3v5y said:
So, you could either cook all the files in with different names (so they don't overwrite) and then move them using a provxml or initflashfiles.dat
Click to expand...
Click to collapse
+1 for this...
ai6908 said:
+1 for this...
Click to expand...
Click to collapse
That's ok if you're talking a couple of files, but if you're talking a few dozen (or more), then putting together all the initflashes scripts will get tedious.
Farmer Ted said:
That's ok if you're talking a couple of files, but if you're talking a few dozen (or more), then putting together all the initflashes scripts will get tedious.
Click to expand...
Click to collapse
Did you get my message?
and yeah, it seems your mortscript may be easier If I can get add2config to work lol
SOLVED: AIRXTREME HAS MADE A UTILITY FOR CHEFS TO FIX THIS VERY PROBLEM:
[GET IT HERE]
THANKS AIRXTREME!!!

Problems cooking quick shutdown

So, I'm pretty new at creating working ext packages from cab files, and I could use some help.
I'm trying to cook in the latest Quick Shutdown, and of course tie it to long press end key, like it was meant to be used for.
With some help from Grumps, here is what I've managed to get for my app.dat and app.reg:
app.dat:
Code:
Directory("\Windows"):-Directory("resources")
Directory("\Windows\resources"):-Directory("lang")
Directory("\Windows\resources"):-Directory("VGA")
Directory("\Windows\resources\VGA"):-File("bg_common_divider_section.png","\Windows\bg_ common_divider_section.png1")
Directory("\Windows\resources\VGA"):-File("bg_common_dotline.png","\Windows\bg_common_d otline.png1")
Directory("\Windows\resources\VGA"):-File("bg_common_msgbox.png","\Windows\bg_common_ms gbox.png1")
Directory("\Windows\resources\VGA"):-File("bg_common_titlebar.png","\Windows\bg_common_ titlebar.png1")
Directory("\Windows\resources\VGA"):-File("btn_checkbox_thirdState.png","\Windows\btn_c heckbox_thirdState.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_checkbox.png","\Windows\btn_commo n_checkbox.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_combo_down.png","\Windows\btn_com mon_combo_down.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_input.png","\Windows\btn_common_i nput.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_listitem_bottom.png","\Windows\bt n_common_listitem_bottom.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_listitem_middle.png","\Windows\bt n_common_listitem_middle.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_msgbox_large.png","\Windows\btn_c ommon_msgbox_large.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_msgbox_small.png","\Windows\btn_c ommon_msgbox_small.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_normal.png","\Windows\btn_common_ normal.png1")
Directory("\Windows\resources\VGA"):-File("btn_common_slider.png","\Windows\btn_common_ slider.png1")
Directory("\Windows\resources\VGA"):-File("sliderBtn.png","\Windows\sliderBtn.png1")
Directory("\Windows\resources\lang"):-File("lang.czech.txt","\Windows\lang.czech.txt")
Directory("\Windows\resources\lang"):-File("lang.danish.txt","\Windows\lang.danish.txt")
Directory("\Windows\resources\lang"):-File("lang.english.txt","\Windows\lang.english.txt ")
Directory("\Windows\resources\lang"):-File("lang.french.txt","\Windows\lang.french.txt")
Directory("\Windows\resources\lang"):-File("lang.german.txt","\Windows\lang.german.txt")
Directory("\Windows\resources\lang"):-File("lang.greek.txt","\Windows\lang.greek.txt")
Directory("\Windows\resources\lang"):-File("lang.italian.txt","\Windows\lang.italian.txt ")
Directory("\Windows\resources\lang"):-File("lang.polish.txt","\Windows\lang.polish.txt")
Directory("\Windows\resources\lang"):-File("lang.russian.txt","\Windows\lang.russian.txt ")
Directory("\Windows\resources\lang"):-File("lang.spanish.txt","\Windows\lang.spanish.txt ")
Directory("\Windows"):-File("bootloader.exe","%Windows%\bootloader.exe")
Directory("\Windows"):-File("ConfigQS.exe","%Windows%\ConfigQS.exe")
Directory("\Windows"):-File("DLLSetup.dll","%Windows%\DLLSetup.dll")
Directory("\Windows"):-File("QuickShutdown.exe","%Windows%\QuickShutdown.exe")
Directory("\Windows"):-File("Short_Power.exe","%Windows%\Short_Power.exe")
Directory("%Windows-StartMenu-Programs%"):-File("Quick Shutdown.lnk","%Windows%\_Shutdown.lnk")
app.reg:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Manila_Config QuickShutdown]
"SourcesDirectory"="\\Windows\\resources\\VGA\\"
[HKEY_LOCAL_MACHINE\Software\Manila_QuickShutdown]
"actionShortPress"=hex:00
"BootActiv"=hex:01
"langFile"="\\Windows\\resources\\lang\\lang.english.txt"
"RestartActiv"=hex:01
"ScreenOffActiv"=hex:01
"ShutdownActiv"=hex:01
"SleepActiv"=hex:01
Cooking that package, I have a few problems. When I hold down the power button, it says exe can't be found. So, just to make sure that the visual aspect is working, I try searching for quickshutdown.exe in \Windows and can't find it.
So, what's wrong in my .dat and .reg?
Thanks a lot for the help, this will definitely give me a better understanding of how EXT packages work!
Regards
Smith
First of all, I think that these lines in your app.dat are unnecessary; because when you cook the ROM then the files that are not specified with the path in app.dat land automatically in the Windows folder:
Directory("\Windows"):-File("bootloader.exe","%Windows%\bootloader.exe")
Directory("\Windows"):-File("ConfigQS.exe","%Windows%\ConfigQS.exe")
Directory("\Windows"):-File("DLLSetup.dll","%Windows%\DLLSetup.dll")
Directory("\Windows"):-File("QuickShutdown.exe","%Windows%\QuickShutdown.exe")
Directory("\Windows"):-File("Short_Power.exe","%Windows%\Short_Power.exe")
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Second: All of the lines are wrong. Example:
Directory("\Windows"):-File("QuickShutdown.exe","%Windows%\QuickShutdown.exe")
Click to expand...
Click to collapse
It should be:
Directory("\Windows"):-File("QuickShutdown.exe","\Windows\QuickShutdown.exe")
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Third: Open up the file _Shutdown.lnk in notepad and see if it links to the \Windows\QuickShutdown.exe
Click to expand...
Click to collapse
Maybe you will find something in my post that can help you.
It's much, much easier to do than the way you're trying to do it. First, copying all of those files is really wasteful. If you look at your registry keys, there are paths there for the resource files. Instead of creating a \windows sub-directory, you could just set the path as \windows. Then, the files that are in rom will be used, and you won't need duplicates, or any of the app.dat lines (except for the .lnk).
Change the .rgu to this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Manila_Config QuickShutdown]
"SourcesDirectory"="\\Windows\\"
[HKEY_LOCAL_MACHINE\Software\Manila_QuickShutdown]
"actionShortPress"=hex:00
"BootActiv"=hex:01
"langFile"="\\Windows\\lang.english.txt"
"RestartActiv"=hex:01
"ScreenOffActiv"=hex:01
"ShutdownActiv"=hex:01
"SleepActiv"=hex:01
Try deleting the DLLSetup.dll-it's really unlikely that you need it. It's just cabinstall information, most likely. Unless you really want all those other lang files, I'd just delete all but the English one. If you cook them all in, it's possible that you'll need to get the others into \windows\lang (it doesn't look like there's a reg key for the lang directory, just for the file being used). I don't know, I've never used the app. As mentioned above, you may also need to fix the path of the shortcut.
You may also want to look into compressing the png files, although it's not really worth it if they're only 1-2 kb each.
This is what I use. I put it together and it worked, so I never did much investigation to see if it could be optimized.
One thing to be aware of ... if you have carrier files which fire provxml, it is possible that the provxml could do something to overwrite the poweroffwarning file here. Same is true if you have a poweroffwarning file getting copied in later in the build process.
Best regards,
-boggsie
Farmer Ted said:
It's much, much easier to do than the way you're trying to do it. First, copying all of those files is really wasteful. If you look at your registry keys, there are paths there for the resource files. Instead of creating a \windows sub-directory, you could just set the path as \windows. Then, the files that are in rom will be used, and you won't need duplicates, or any of the app.dat lines (except for the .lnk).
Change the .rgu to this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Manila_Config QuickShutdown]
"SourcesDirectory"="\\Windows\\"
[HKEY_LOCAL_MACHINE\Software\Manila_QuickShutdown]
"actionShortPress"=hex:00
"BootActiv"=hex:01
"langFile"="\\Windows\\lang.english.txt"
"RestartActiv"=hex:01
"ScreenOffActiv"=hex:01
"ShutdownActiv"=hex:01
"SleepActiv"=hex:01
Try deleting the DLLSetup.dll-it's really unlikely that you need it. It's just cabinstall information, most likely. Unless you really want all those other lang files, I'd just delete all but the English one. If you cook them all in, it's possible that you'll need to get the others into \windows\lang (it doesn't look like there's a reg key for the lang directory, just for the file being used). I don't know, I've never used the app. As mentioned above, you may also need to fix the path of the shortcut.
You may also want to look into compressing the png files, although it's not really worth it if they're only 1-2 kb each.
Click to expand...
Click to collapse
Great call! Worked immediately! Thanks a lot!
One more quick question. Cooking total commander is being dumb. The EXT I create doesn't have any exe files in the "files" folder, and doesn't extract any into windows. It just isn't working well lol.
Also, what version or what addon enables the user to hold the slash button and bring up the menu where you can hide exit blah blah total commander?
Thanks
Smith
Total Commander is easy to cook in. Again, you don't need app.dat lines, except for the shortcut (make sure it points to windows). Just put the .exe and the plugins (registry, wlan, ftp and webdav, if you have it) in windows. Cook in the reg settings, and you're good to go. I would convert the exe to a module as well.
Farmer Ted said:
Total Commander is easy to cook in. Again, you don't need app.dat lines, except for the shortcut (make sure it points to windows). Just put the .exe and the plugins (registry, wlan, ftp and webdav, if you have it) in windows. Cook in the reg settings, and you're good to go. I would convert the exe to a module as well.
Click to expand...
Click to collapse
So... Create the EXT and recmod without any reg or dat entries except icon and shortcut?
No, include the ghisler reg key (hkcu-software-ghisler). Set it up however you like it (like w/ a fully loaded hotlist). But don't move the files around w/ the app.dat.
Farmer Ted said:
No, include the ghisler reg key (hkcu-software-ghisler). Set it up however you like it (like w/ a fully loaded hotlist). But don't move the files around w/ the app.dat.
Click to expand...
Click to collapse
Huh this isn't working lol could you post the cab you're working with? My cab is acting up (even on fully functional roms)
Farmer Ted said:
Total Commander is easy to cook in. Again, you don't need app.dat lines, except for the shortcut (make sure it points to windows). Just put the .exe and the plugins (registry, wlan, ftp and webdav, if you have it) in windows. Cook in the reg settings, and you're good to go. I would convert the exe to a module as well.
Click to expand...
Click to collapse
Hello Farmer Ted - what for is the file that you attached?
It's a plugin for WebDav, which is the new big thing. I have no clue wtf it does.
Get the ghisler reg key from the device, not the cab. That's always the way to do it. Kheb 1.1 is the way to go for making packages. Cab converters miss a lot of stuff.
Edit: here's my package; it's in oem form (for osbuilder), and it looks like there's a second file needed to get webdav to work in the plugins. Edit the hotlist however you want it (it has folders on my sd card, which are useless to anyone else). It doesn't have a shortcut or initflashfiles.txt in it, since I don't use them for my start menu.
To be more specific about TCMD, here is the output I get with OSkitchen cab to ext:
TCMD>Files
And within the files directory:
000cecmd.002
CECMD_~2.001
00000ftp.003
00000LAN.005
registry.004
TcmObex3.007
TcmObex5.006
So what do I do with those files lol
Regards
Smith
Farmer Ted said:
It's a plugin for WebDav, which is the new big thing. I have no clue wtf it does.
Get the ghisler reg key from the device, not the cab. That's always the way to do it. Kheb 1.1 is the way to go for making packages. Cab converters miss a lot of stuff.
Edit: here's my package; it's in oem form (for osbuilder), and it looks like there's a second file needed to get webdav to work in the plugins. Edit the hotlist however you want it (it has folders on my sd card, which are useless to anyone else). It doesn't have a shortcut or initflashfiles.txt in it, since I don't use them for my start menu.
Click to expand...
Click to collapse
Thank you for sharing the package.
Farmer Ted said:
It's a plugin for WebDav, which is the new big thing. I have no clue wtf it does.
Get the ghisler reg key from the device, not the cab. That's always the way to do it. Kheb 1.1 is the way to go for making packages. Cab converters miss a lot of stuff.
Edit: here's my package; it's in oem form (for osbuilder), and it looks like there's a second file needed to get webdav to work in the plugins. Edit the hotlist however you want it (it has folders on my sd card, which are useless to anyone else). It doesn't have a shortcut or initflashfiles.txt in it, since I don't use them for my start menu.
Click to expand...
Click to collapse
Thanks for your package, much appreciated! This thread has taught me a lot about how ext's work
Do you know what all those strange files I talked of 2 posts up are though? Like, how do I put those all together?
Regards
Smith
smithisize said:
Thanks for your package, much appreciated! This thread has taught me a lot about how ext's work
Do you know what all those strange files I talked of 2 posts up are though? Like, how do I put those all together?
Regards
Smith
Click to expand...
Click to collapse
I'm not sure what the technical name is, but those are the raw files from the cab; if you extract the cab with winzip or 7-zip, that's the file names. If you give them the proper extensions (.dll, exe, etc) then you can recover the proper files. It looks like the unpacking didn't work properly.
Farmer Ted said:
I'm not sure what the technical name is, but those are the raw files from the cab; if you extract the cab with winzip or 7-zip, that's the file names. If you give them the proper extensions (.dll, exe, etc) then you can recover the proper files. It looks like the unpacking didn't work properly.
Click to expand...
Click to collapse
Ah! You're right thanks a lot lol that's where my confusion was stemming from lol I couldn't figure out what to do with them!
Thank you very much!
Regards
Smith

Categories

Resources