Registry .CAB Creation - JASJAR, XDA Exec, MDA Pro Software Upgrading

Is there a way to script/package up registry hacks, in a similar way to creating a .reg file for Windows XP.
It appears that creating a .CAB file maybe the answer, if so can anyone point me in the right direction for a set of instructions.
Thanks

a18041967 said:
Is there a way to script/package up registry hacks, in a similar way to creating a .reg file for Windows XP.
It appears that creating a .CAB file maybe the answer, if so can anyone point me in the right direction for a set of instructions.
Click to expand...
Click to collapse
Take a look at Restorator utility (search through the forum)

Search for my post on registry hacks. I've created a thread for us to post .reg files, along with instructions on using TRE to run them. Very simple for setting up your JJ after a hard reset.

Related

Can someone please post an example .reg file???

I'm trying to put together a .reg file that I can run after hard-resets which will automatically apply all of the custom reg tweaks that I usually have to perform by hand one at a time using a reg editor. After a few tries though in notepad, I think I am screwing up some formatting or something. I just can't seem to get them right so that the .reg file runs without errors.
Can someone please post an example .reg file with a couple different reg tweaks that I can then edit and add to in notepad so that I have a template to go from of how the reg entries need to be formatted within the .reg file?
Thanks!!!!!!!!!! Alex
in notepad;
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Today]
"Date"=dword:00000000
LEAVE THE LAST LINE EMPTY
Click to expand...
Click to collapse
THEN SAVE AS UNICODE....othewize it wont work.
file name example;
mysettings.reg
Thank you!
Also check out Mobile Registry Editor....I think its a wicked program.
thank you thank you thank you
absolutey had to post this to say thanks for Mobile Registry Editor. Made a change to my MDA Compact III and then corrected it remotely. Life saver.

Reg edit s/w

I've read lots of posts on this forum that involve editing the registry. There are a few simple ones that i'd like to try but I can't find anywhere an explanation of how to get a very simple reg edit program?
Can anyone help?
AdamUK said:
I've read lots of posts on this forum that involve editing the registry. There are a few simple ones that i'd like to try but I can't find anywhere an explanation of how to get a very simple reg edit program?
Can anyone help?
Click to expand...
Click to collapse
Freeware:
http://www.freewareppc.com/utilities/utilities_registry.shtml
http://www.freewareppc.com/utilities/taskmanager.shtmlhttp://forum.xda-developers.com/showthread.php?t=299705&highlight=dotfred
Commercial:
Resco Registry (part of Resco Explorer) - http://www.resco.net
Cheers,
Vibranze
TotalCommander 2.0
Or TotalCommander 2.5 Beta
Google and you will find.

Initflashfiles.dat question

Hello all,
If this thread doesn't belong in this forum please delete.
I've been looking around, and searching the wiki, and I am still a little confused about this file. I have read a few good threads on how to do OEM packaging, but I am still a bit unsure on how to edit this .dat file.
With that being said if anyone could shed somemore light on the initflashfiles.dat file. Let's say I wanted to add 1-Calc Lite and I didn't want to cook via a gui, but by hand. (I like to do things the hard way, as I feel you learn more out of it. Just an 'Ole Marines way of thinking)
In the OEM folder of 1-Calc Lite there is an initflashfiles.txt file. It looks like this;
Directory("\Windows"):-Directory("Skins")
Directory("\Windows\Skins"):-File("default.ini","\Windows\default.ini")
Directory("\Windows\Skins"):-Directory("Default")
Directory("\Windows\Skins\Default"):-File("button.ini","\Windows\button.ini")
Directory("\Windows\Skins\Default"):-File("display_menu.png","\Windows\display_menu.png ")
Directory("\Windows\Skins\Default"):-File("texture2.png","\Windows\texture2.png")
Directory("\Windows"):-Directory("Currency")
Directory("\Windows\Currency"):-File("currency.ini","\Windows\currency.ini")
Directory("\Windows\Start Menu\Programs"):-File("1-Calc Lite.lnk","\Windows\1-Calc Lite.lnk")
Directory("\Windows\Help"):-File("1-Calc.lnk","\Windows\1-Calc.lnk")
Do I just insert that into the initflashfiles.dat file, and if so where exactly would I install that? The reason I ask this is because in looking at the 1-Calc file it looks like it creates a skins directory in the Windows folder, then it has the help directory, which I am thinking that that line goes into the windows\help directory in the .dat file. So if that is the logic behind it where would I put the skins directory from the .txt file into the .dat file? I know this is a bit all over the place, but I hope someone can decipher what I have written, and help me.
Just wanted to bump this up before it gets lost.
When you go into your Rom. In the Dump folder you will see an initflashfiles.txt file. You copy everything to that, at the bottom. Make it's read only and in Unicode. Then insert all of the accompanying files into the Dump folder and it should be fine.
There's more information in the RomDonalds thread.
I think!!
allan1 said:
When you go into your Rom. In the Dump folder you will see an initflashfiles.txt file. You copy everything to that, at the bottom. Make it's read only and in Unicode. Then insert all of the accompanying files into the Dump folder and it should be fine.
There's more information in the RomDonalds thread.
I think!!
Click to expand...
Click to collapse
Yeah I did check ROMDonalds thread, printed out the tut, and everything, and when I dumped the ROM all I saw was initflashfiles.dat folder, which could be edited with Notepad. Is this the file your talking about?
yep
good luck but this cooking thing is mostly trial and error.
gyrene2083 said:
Hello all,
If this thread doesn't belong in this forum please delete.
I've been looking around, and searching the wiki, and I am still a little confused about this file. I have read a few good threads on how to do OEM packaging, but I am still a bit unsure on how to edit this .dat file.
With that being said if anyone could shed somemore light on the initflashfiles.dat file. Let's say I wanted to add 1-Calc Lite and I didn't want to cook via a gui, but by hand. (I like to do things the hard way, as I feel you learn more out of it. Just an 'Ole Marines way of thinking)
In the OEM folder of 1-Calc Lite there is an initflashfiles.txt file. It looks like this;
Directory("\Windows"):-Directory("Skins")
Directory("\Windows\Skins"):-File("default.ini","\Windows\default.ini")
Directory("\Windows\Skins"):-Directory("Default")
Directory("\Windows\Skins\Default"):-File("button.ini","\Windows\button.ini")
Directory("\Windows\Skins\Default"):-File("display_menu.png","\Windows\display_menu.png ")
Directory("\Windows\Skins\Default"):-File("texture2.png","\Windows\texture2.png")
Directory("\Windows"):-Directory("Currency")
Directory("\Windows\Currency"):-File("currency.ini","\Windows\currency.ini")
Directory("\Windows\Start Menu\Programs"):-File("1-Calc Lite.lnk","\Windows\1-Calc Lite.lnk")
Directory("\Windows\Help"):-File("1-Calc.lnk","\Windows\1-Calc.lnk")
Do I just insert that into the initflashfiles.dat file, and if so where exactly would I install that? The reason I ask this is because in looking at the 1-Calc file it looks like it creates a skins directory in the Windows folder, then it has the help directory, which I am thinking that that line goes into the windows\help directory in the .dat file. So if that is the logic behind it where would I put the skins directory from the .txt file into the .dat file? I know this is a bit all over the place, but I hope someone can decipher what I have written, and help me.
Click to expand...
Click to collapse
from the looks of your iniflashfiles.dat 1-calc would be installed in the help section lol should be "Windows\Start Menu\Programs" only
Thanks so much for helping me out, I truly appreciate it. Wish me luck.

How do I make / build CAB files?

I tried looking for a thread explaining the process, but didn't find one. Help?
WinCe Cab Manager it's all pretty simple once you have software infront of you.
Give it file choose install location add shortcut & REG if needed then save
Best way is to open some .cabs up and see how put together.
I made a tutorial a while ago. It's the free, but more complicated alternative to WinCE Cab Manager:
http://forum.xda-developers.com/showpost.php?p=2108299

Create CAB file on the device.

Hi.
Does anyone know if it's possible to create a CAB file directly on my phone? I want to do it through C#, so either an assembly or command-line app would be ideal. I think I'm asking for something difficult here, but have my fingers crossed.
You can do it as sktools have software for phone that does the job all be it in a very tedious laborious way
Cheers mate. Nice to know that it can be done. Now just need to figure out how!
let me know if this one helps you out:
http://www.codeproject.com/KB/files/CABCompressExtract.aspx
Thanks RAMMANN.
At first that looked great, but then I read the following...
There are two completely different types of CAB files: The ones which this project supports are the "Microsoft CAB" files (also called "MS-CAB"). The internal pack format may be Microsoft's MSZIP or LZX. Some years later, InstallShield created the "InstallShield CAB" files. But these are absolutely incompatible with the MS-CAB files although they use the same file extension!
Click to expand...
Click to collapse
Since I'm looking to build cab installers, rather than just compressed & zipped files, it looks like I may be out of luck. I'll keep looking anyway.
Thanks for the suggestion mate.
???
I didn't know there's anything Installshield related on a mobile phone. Are you sure? I guess they are talking about PC installers. In your position I would try the sources to read an existing mobile CAB and you'll see if it's working.
Oh and btw I think that the mobile CABs are nothing but compressed archives but the installer extracts _setup.xml which is in all contemporary cabs and this contains all the installation infos needed.

Categories

Resources