How To: Extract registry entries from cab? - 8125, K-JAM, P4300, MDA Vario ROM Development

How do you extract registry entries from a cab file? I used the CAB ANALYZER in CoreKitchen but it extracts the entries really sloppy and each entry must be reworked in order to put it in an RGU... any easier way to do this?

inneyeseakay said:
How do you extract registry entries from a cab file? I used the CAB ANALYZER in CoreKitchen but it extracts the entries really sloppy and each entry must be reworked in order to put it in an RGU... any easier way to do this?
Click to expand...
Click to collapse
Just select the XML tab there and you'll see the registry entries written in a nice way somewhere there

Related

HTC Camera 3.0/3.3 cab?

I'm currently using Equinoexe's Touchflo rom (VERY slick BTW, kudos to him!), and the only thing I'm having a problem with is the camera that's packaged with it... Does anyone have 3.0 or 3.3 wrapped up in a cab file? I've searched and searched, and nothing comes up.
THANKS!
I believe copying files does the trick. For me it didn't. I am also looking to make it work but I gave up.
yes, any1 have cab file?
I'd be interested in the Camera files as a cab too.
Here's Faria's 3.3 camera files, but they're not in a cab. It includes a readme.txt file instructing where to dump the files.
reg key
does anyone know where abouts in the registry the reg key goes or wot prog ram i could use to import the key
i'd like to add that in the rar file posted for faria's 3.3 camera, there are files to place in windows, and instructions to also import a reg key for the camera. that reg key, however, isn't included with the package.. does anyone know what is needed?
The registration included to the package but it is hidden because the extension is reg which connected to the files system. If you want to see, you must set your windows to appear the files system.
For example Resco explorer has the option to show hidden files, then to apply the reg file, just double click it.

Provxml file?

Do changes (registry) made to the provxml files override the settings (registry) in the default.hv? I am wondering if it is easier to just make changes to the provxml files insead of going into the default.hv file and making the changes there. Are there any downsides to editing the rom this way? Thanks again
One downside is that some setting implimented with provxml files require a reset before they take effect. Anything that would need a reset if you chenged it using a Reg Editor will be like this. Good example is the Tilt Keyboard fix.
Personally I prefer to edit the rgu files.
My experience tells me that changes happen in the order:
rgu files in SYS Folders
Then
rgu files in OEM Folders
Are combined to build your initial registry.
Finally provxml file changes are applied...
Adding Registry Keys/Settings to the rgu file in OEMMisc is usually a good place. If the Key doesn't exist simply add it to that file.
Yes, they do. No downsides really but I tend to use the hive unless there's an existing provxml that overrides a default setting (such as rom version).

Tutotrial: How to add Category Folder Quick Links to your Home Tab.

I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
great idea! i wondered why 20 quicklinks are enough for all people here. i just have installed a few apps and games and my quicklink bar is full!
are you going to make the quicklinks for the 20 icon bar?
Great work, thanks.
fruchtfliege said:
great idea! i wondered why 20 quicklinks are enough for all people here. i just have installed a few apps and games and my quicklink bar is full!
are you going to make the quicklinks for the 20 icon bar?
Click to expand...
Click to collapse
If 25 links is enough for you? See this thread, from the same guy who created the 20 links on Home tab.
thanks, i've already seen the 25 link thread! i think it will be more flexible with folder links to group games etc. but maybe i'm going to use both tweaks:
normal links for most important apps and folder links for games, system information and so on...
tboy2000 said:
I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
Click to expand...
Click to collapse
Bit of a noob question but why can't you just create links to the default folders and then run these. I tried this but it always says fails to open "games application".
tboy2000 said:
I have been wanting to add folders for some time to my quicklinks. I researched and researched.
I came across this thread:
http://forum.xda-developers.com/showthread.php?t=576232
However it only dealt with a few categories.
So I have created new .lnk files and asscociated them with .png folder icons and created the necessary registry files.
This will work if you have 9, 12 or 16 Quick Links. For 20 Quick Links I think it will still work but you have to assign the Quick Links yourself.
Just unzip the attached file, read the read me and copy the Programs Folder to your phone and inport the enclosed registry entry too. Reset.
Click to expand...
Click to collapse
Just to add to my last, I have an HD with 2.5.1922011 Nrgz ROM but can't seem to import the registry settings. Have used TRE and it states that registry import was successful but to no avail. I have tried hand modifying the entries but still not working. Am I missing something???
Not working
Changed the registry to my portuguese ROM and nothing!
Maybe this only works on WWE roms because of the registry names. If importing the registry does not work for you, try just adding the folders manually to your quick links in the normal way you would add apps. just look fit the folder.link file in the list. let me know.
tboy2000 said:
Maybe this only works on WWE roms because of the registry names. If importing the registry does not work for you, try just adding the folders manually to your quick links in the normal way you would add apps. just look fit the folder.link file in the list. let me know.
Click to expand...
Click to collapse
Hi, in attach is an export of my regfile.
I have put in "sistema" the system.lnk and system.png and renamed it to Portuguese: sistema.lnk and sistema.png
Even so when i click in the home tab in icon (that shows your png file) it says,
" Its not possible to open the file "sistema". Or is not signed with a certificate or cannot find the components.
Thnaks
toyjeep said:
Hi, in attach is an export of my regfile.
I have put in "sistema" the system.lnk and system.png and renamed it to Portuguese: sistema.lnk and sistema.png
Even so when i click in the home tab in icon (that shows your png file) it says,
" Its not possible to open the file "sistema". Or is not signed with a certificate or cannot find the components.
Thnaks
Click to expand...
Click to collapse
This is exactly what happens to me and my ROM is WWE. I can link the folder but it will not open. Tried manually editing the registry but without success. There must be another step but for the life of me I can't figure it out and it's driving me crazy!! This should be simple but HTC make it extremely difficult.
sandymac said:
This is exactly what happens to me and my ROM is WWE. I can link the folder but it will not open. Tried manually editing the registry but without success. There must be another step but for the life of me I can't figure it out and it's driving me crazy!! This should be simple but HTC make it extremely difficult.
Click to expand...
Click to collapse
Bump. Has anyone actually succeeded in doing as instructed and managed to create quick links with folders?
16 Shortcuts...for 25!!
Hi,
i am newbie with my HD2. I did the steps for 16 Short cuts, but it didn't worked out as it should because i have 25 Quick links. Now i have nice folder icons in my Quick links but they don't work!!
Could some one help me with a more detailed how to!!!!
Thanks in adv.
foka
another approach
Hi!
I had the very same problem.
The recommendations given here, I use too, but I remembered a small program usually used for maintaining a directory organisation with PortableApps on the PC. It just uses its own name (like 'games.exe') extracts the '.exe' out of it and opens the reaining 'games' as a directory. I found this was a brute, but very useful solution to the problem. So finally I did that app for mobile devices on my own. It is written in C#. Prerequisites are compact framework 3.5.
In my opinion its only drawback is, that it uses the file-explorer as a platform to view the directory. I would like the HTC view with icons more, but I don't know, how to call the required code to do so.
Personally I have installed 4 instances of the program (240kb) on the storage-card and created the links to them in the startmenu-folder. This works fine with directlinks.
Note: Only subfolders in /windows/startmenu/programs are opened! For other needs the source code is easily changeable.
Here comes a short description:
----------------------------------------------------------------
Prerequisites: Microsoft Compact Framework 3.5.
Install and usage description:
MobDir.Cab installs the file MobDir.exe into your 'prorams' directory.
Since MobDir reads in its very own name to function, it is of utmost importance to RENAME MobDir.exe to a directory name, that fits for your environment!
MobDir starts a File-Explorer directly in a directory that resides in your /windows/start menu/programs
directory.
e.g.: There is a dir called 'games' in your 'programs' directory of 'start menu', that contains all the links to your games on the device. Rename MobDir.Exe accordingly into 'games.exe'. If the program is already installed in your 'start menu/programs' directory, there is not much more to do for you. Simply select games.exe in your directlinks. There you have a directory-icon labeled 'games' then which, when clicked, opens the file-explorer in your games directory. If games.exe resides on your starage card, you have to create a games.lnk into the 'start menu/programs' directory first.
Of course, if you have more subdirectories in your 'start menu/programs' folder, which is most likely the case ('apps', 'tools' for instance), just copy the file MobDir.Exe under these names to your device. In this example as apps.exe and tools.exe. The rest is the same as written beforehand.
Sounds more complicated as it is, just try it, it's simple.
Note: The way it works can be followed by watching the source code. It first reads in its own filename (e.g.: 'games.exe'). Then it extracts the '.exe' out of the name (leaving a 'games'). Right after it looks for your current localized '/windows/start menu/programs/' path and adds the string to it, which we extracted beforehand. So we have a path 'windows/start menu/programs/games'. Finally the file-explorer is called with that path as a parameter.
-----------------------------------------------------------
Here is the source-code:
Code:
using System;
namespace MobDir
{
static class Program
{
[MTAThread]
static void Main()
{
string cFileNameSelf="Use this Base-Code as a sample. Written in '2010 bei D.Bos";
try
{
//read out own filename and strip out ".EXE"
cFileNameSelf = AppDomain.CurrentDomain.FriendlyName.ToUpper().Replace(".EXE", "");
//start File-Explorer, given the path to /windows/startmenu/programs/ + <NameSelf>
System.Diagnostics.Process p = System.Diagnostics.Process.Start("fexplore.exe", ReadSpecialFolder("Programs") + "\\" + cFileNameSelf + "\\");
p.WaitForExit();
}
catch (System.Exception e)
{
System.Windows.Forms.MessageBox.Show("Problem with <" + cFileNameSelf + ">!\n" + e.Message);
}
}
public static string ReadSpecialFolder(string cVarName)
{
return Environment.GetFolderPath((Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), cVarName, true));
}
}
}
-----------------------------------------------------------
And finally: The file MobDir.Cab is attached to this posting.
Hopefully you can make some use of it.
Dietmar

pocket rar issue in 6.5.x

as already all cooker know that we have to assign rar and zip files to pocket rar on first launch and for that we have to press ok button which is missed in my htc touch..
so anyone know registry hack to bypass this message in wm 6.5.x????
Try this:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\RAR]
[HKEY_CURRENT_USER\Software\RAR\Setup]
[HKEY_CURRENT_USER\Software\RAR\Setup\.zip]
"Type"="ZIPArchive"
"Exist"=dword:00000001
"Set"=dword:00000001
[HKEY_CURRENT_USER\Software\RAR\Setup\.rar]
"Type"=""
"Exist"=dword:00000000
"Set"=dword:00000001
[HKEY_CURRENT_USER\Software\RAR\Paths]
"TempFolder"="\\Application Data\\Volatile\\"
"StartFolder"=""
"ExtrFolder"=""
"ArcFolder"=""
"AppendArcName"=dword:00000001
[HKEY_CURRENT_USER\Software\RAR\ListColumns]
"SortMode"=dword:00000001
"Size"=dword:00000031
"Name"=dword:0000006F
"Date"=dword:00000041
[HKEY_CURRENT_USER\Software\RAR\Compression]
"UseRAR"=dword:00000001
"Solid"=dword:00000001
"Method"=dword:00000003
[HKEY_CLASSES_ROOT\.rar]
@="RAR-file"
[HKEY_CLASSES_ROOT\RAR-file]
[HKEY_CLASSES_ROOT\RAR-file\DefaultIcon]
@="\\Windows\\rar.exe,0"
[HKEY_CLASSES_ROOT\RAR-file\Shell]
[HKEY_CLASSES_ROOT\RAR-file\Shell\Open]
[HKEY_CLASSES_ROOT\RAR-file\Shell\Open\Command]
@="\\Windows\\rar.exe \"%1\""
How?
how to add the registry?
I use phm regedit...
Copy it to a text file; save it with a .reg extension, and then import it with PHM; if you have .reg files associated with PHM, then all you need to do is click on the file. It will respond like a .cab file, basically. I updated the stuff above with the proper header (windows registry editor version 5.00). You need to have it at the beginning of the file for it to work.
If you use XTask, you can close the settings window by clicking on the pocket rar icon on the task bar and dragging down to the 'close' button. You need to have 'close' as one of the xtask options in settings.
Don't work
Don't work click in file .reg extension....
At the click opens the phm resgistry and nothing happens ...
What to do?
If it's opening PHM, then you just need to import the key with PHM. Not sure how, since I don't use PHM, but I'm guessing click on File-Import reg key-navigate to key and click ok.
Or, get dotfred's task manager, set it to associate with .reg keys, and use it. The reg editor is basically the same as PHM, and it has many more tools. That's what I use.
??
I dont understand... what program do you use?

where i can get all registry of lastest mango

I want to find something in registry of mango that mean to font of OS.
there is something Different to nodo that make my native language not work in some place.
I'm looking for it so i need all registry of mango.
if some one have plz send me one. Thank you.
View Single Post
Have another Thanks from me for this, man... let me find some very useful things.
BTW, the XML file in the CAB appears to be standard provxml format; I just opened it in notepad, copied the pieces I wanted into another file, made a few changes, renamed it CustClear.provxml, and loaded it with Connection Setup. Worked great!
Thank you. drkfngthdragnlrd
@drkfngthdragnlrd
Is this registry pulled from your phone or from a cooked ROM you flashed? Is there a way to dump the registry from a Mango phone itself? Thanks
LiFePo4 said:
@drkfngthdragnlrd
Is this registry pulled from your phone or from a cooked ROM you flashed? Is there a way to dump the registry from a Mango phone itself? Thanks
Click to expand...
Click to collapse
They were from my phone. I had a stock ROM & upgraded to 7720.68 via the leaked method here on XDA. I than, copied out all the RGU's in \Windows\ of my phone. I merged all these RGU's into 1 large file & imported it into WinCE CAB Manager. Being as they are RGU's this is not the full registry. There are some values that aren't written till after first boot/run by the executables of WP7. I'd say this CAB is 90+% of all the registry.
drkfngthdragnlrd said:
They were from my phone. I had a stock ROM & upgraded to 7720.68 via the leaked method here on XDA. I than, copied out all the RGU's in \Windows\ of my phone. I merged all these RGU's into 1 large file & imported it into WinCE CAB Manager. Being as they are RGU's this is not the full registry. There are some values that aren't written till after first boot/run by the executables of WP7. I'd say this CAB is 90+% of all the registry.
Click to expand...
Click to collapse
Excellent! Another question; I am really after my exchange activesync registry keys; do you know if these are in any of the RGU files (I am thinking not)? When you add an account (be it POP3, IMAP4, EAS) does this get generated with an RGU that is accessible?
P.S. I have been using the 30day demo of WinCE CAB Manager and love how it shows the tree structure of your file. Was there any particular trick to merging the RGUs?
LiFePo4 said:
Excellent! Another question; I am really after my exchange activesync registry keys; do you know if these are in any of the RGU files (I am thinking not)? When you add an account (be it POP3, IMAP4, EAS) does this get generated with an RGU that is accessible?
P.S. I have been using the 30day demo of WinCE CAB Manager and love how it shows the tree structure of your file. Was there any particular trick to merging the RGUs?
Click to expand...
Click to collapse
I'm not sure about the Active sync thing. I'd assume they get written once you set up your email accounts. You could look, I have no clue of the top of my head, not something I looked into.
As for merging the RGU's, I used Visual Studio, but you can use any text editor to open them. My only suggestion is to pay close attention & make sure you copy & paste correctly. Also, you only need the first line "REGEDIT 4.0 or something like that once. So don't copy the extra entries from the other RGU's.
drkfngthdragnlrd said:
As for merging the RGU's, I used Visual Studio, but you can use any text editor to open them. My only suggestion is to pay close attention & make sure you copy & paste correctly. Also, you only need the first line "REGEDIT 4.0 or something like that once. So don't copy the extra entries from the other RGU's.
Click to expand...
Click to collapse
I copied all .rgu from my phone to my PC, renamed them all to .reg, and then used WinCE CAB Manager to import each one and presto, I have a nice registry and viewer (then just save as a CAB project)!
LiFePo4 said:
I copied all .rgu from my phone to my PC, renamed them all to .reg, and then used WinCE CAB Manager to import each one and presto, I have a nice registry and viewer (then just save as a CAB project)!
Click to expand...
Click to collapse
Yeah, it's nice to have a use for WinCE CAB Manager in WP7 as it's no longer useful for creating CAB's that are installable.
@drkfngthdragnlrd - I did this on NoDo for a start (easy to get RGU to PC) but how did you go about it in Mango? I was reading along in the other thread where there were discussions about this but nothing clearly stated.
LiFePo4 said:
@drkfngthdragnlrd - I did this on NoDo for a start (easy to get RGU to PC) but how did you go about it in Mango? I was reading along in the other thread where there were discussions about this but nothing clearly stated.
Click to expand...
Click to collapse
I used TouchXplorer to copy the files into an app's Isolated Store & than used [APP 2011-08-20][BETA] WP7AppBackup - Backup / Restore third party app data to back-up the app data. Than you just look inside the back-up files.

Categories

Resources