Because people asked and didn't find the threat on MoDaCo, a small tutorial here. The example is from my Slide Panther theme, there is another one in make.zip. You have to write an *.inf for each cab you want to create. I t contains all files from a specific location and where they will be copied to. You can also specify reg keys.
[Version]
Signature = "$Windows NT$" <-- no changes needed
CESignature = "$Windows CE$" <-- no changes needed
Provider = "frauhottelmann" <-- change to your name
[CEStrings]
Appname="slide panther" <-- the name that will be displayed in the programs menu in settings
[CEDevice] <-- you don't have to change this for the vox
ProcessorType=0
VersionMin=5.2
VersionMax=6.0
[SourceDisksNames]
1=,"Source1",,"Home" <-- specify the name of your source and then the folder with your files (should be in the same location of the *.ini)
[SourceDisksFiles] <-- All files you want to copy have to be here. The 1 stands for Source1 mentioned above, if you have more than one sources (folders) you have to add it above and add an = 2 ... to the end of the corresponding files!
"Slide Panther.home.xml"= 1
"panther.jpg" = 1
"pantherlc.jpg" = 1
[CopyFiles1] <-- Here you have to list the files for one destination folder on the phone. More than one destiantion means more [CopyFiles2] etc.
"Slide Panther.home.xml"
"panther.jpg"
"pantherlc.jpg"
[DestinationDirs] <-- Specify the destinations for the above
CopyFiles1=0,"\Application Data\Home"
[RegData] <-- add reg data, the following is for string values, I don't know how to add dwords, but I never needed it!
HKCU,ControlPanel\Home,Scheme,,\Application Data\Home\Slide Panther.home.xml
[DefaultInstall] <-- Finally specify what you want to be installed, here every destination dir and reg data should be included
CopyFiles=CopyFiles1
AddReg=RegData
Click to expand...
Click to collapse
Once your done with your *.inf, just drag'n'drop it onto the cabwiz.exe and it'll make a cab with the same name as the *.inf! Now you can install it!
Or the alternative, use this program!
BIIIIIIIIIIIIG thx to the german guy ;D
but don't we have to change the versionmax to 6.1 or we will get this stupid "this prog may not display correctly" message??
No, this is the version of WinCE not Windows Mobile, which is still at 5.2...!
Can this be used to install changes to the registry that will be lost after a hard reset?
Roland
Yes everything you install with a cab is lost after hard reset
Nice work...as always...
/**still waiting for german emulator image......same here for italian's one. **/
could you please be a bit more precise about those regkeys? what are all these commas? what are the folder, keys, values?
HKCU,ControlPanel\Home,Scheme,,\Application Data\Home\Slide Panther.home.xml
Click to expand...
Click to collapse
HKCU = HKEY_CURRENT_USER
then after the comma the "folder" path, after the next comma the key name
then after the next comma comes the reg key type, so none is for a string, for others you have to search, because I don't know them. And finally after the last comma comes the value of the reg key!
funny thing, now that i was looking for th value-types i found the tutorial on modaco.
http://www.modaco.com/content/Smart...iscussion/235885/Tutorial-Creating-Cab-Files/
and here are the flags for diferrent types of registry entries:
[add_registry_section]
registry_root_string , subkey,[value_name], flags, value[,value]
[registry_root_string, subkey,[value_name], flags, value[,value]]
registry_root_strings
String that specifies the registry root location. The following table shows the values that are supported by Windows CE.
Root string Description
HKCR The same as HKEY_CLASSES_ROOT
HKCU The same as HKEY_CURRENT_USER
HKLM The same as HKEY_LOCAL_MACHINE
value_name
Registry value name. If empty, the "(default)" registry value name is used.
flags
Numeric value that specifies information about the registry key. The following table shows the values that are supported by Window CE.
Flag Value Description
FLG_ADDREG_NOCLOBBER 0x00000002 If the registry key exists, do not overwrite it. This flag can be used in combination with any of the other flags in this table.
FLG_ADDREG_TYPE_SZ 0x00000000 The REG_SZ registry data type.
FLG_ADDREG_TYPE_MULTI_SZ 0x00010000 The REG_MULTI_SZ registry data type. The value field that follows can be a list of strings separated by commas.
FLG_ADDREG_TYPE_BINARY 0x00000001 The REG_BINARY registry data type. The value field that follows must be a list of numeric values separated by commas, one byte per field, and must not use the 0x hexadecimal prefix.
FLG_ADDREG_TYPE_DWORD 0x00010001 The REG_DWORD data type. Only the non-compatible format in the Win32 Setup .inf documentation is supported.
The following code example shows a typical [AddReg] section.
AddReg = RegSettings.All
[RegSettings.All]
HKLM,%reg_path%,,0x00000000,alpha ; <default> = "alpha"
got it from here http://www.sundialsoft.freeserve.co.uk/cabinfo.htm
could it be that we need to make a .inF (as it says in the instructions) file and not a .inI file?
Is it possible to delete registry entries??
Yes it's inf sorry. And I am not aware of a way to delete reg key with cabs!
Hi frauhottelmann,
It is realy great starting point for CAB maker. I will use this instructions for making my Sliding Panel Default Green cab for 6.1 ver 1.1 ROM.
I have found something really great for cab makers: http://www.gpcarreon.com/?p=524
Haven't tried it though!
EDIT: Under Vista it does, unfortunately, not work!
It DOES work, in compatibility mode!
Hi,
i am looking for a utility to change the default program assignment.
So to change the default program for jpg or mp3.
This program is somewhere here, but I can not find it.
with friendly greet
starbase64
Moved as not software release..
Total Commander can change the default app for file extensions.
AdvancedConfig also allows you to change file associations.
Hi,
Thanks for your help, but that's not what I want.
I am looking for a special program that must be here somewhere.
with friendly greet
starbase64
All this info is held in the registry, but it is a two step job.
[HKEY_CLASSES_ROOT\.mp3] has a (Default) data value of 'MP3File'
[HKEY_CLASSES_ROOT\MP3File\Shell\Open\Command] has a value of 'wmplayer.exe "%1"'
The file type has to be converted to a file type string to get to the correct subkey value in order to find the application that will be used to try and open it.
Another example :-
[HKEY_CLASSES_ROOT\.doc] 'docfile'
[HKEY_CLASSES_ROOT\docfile\Shell\Open\Command] 'pword.exe %1'
These values can be changed with any registry editor.
I just downloaded the browser which is a HUGE improvement compared to the previous Opera built-in version.
The thing is that I'd like it to make the default browser; understand the browser that would launch in the TouchFlo menu. The installation did proposed to make Opera 10 the default browser but it didn't work.
How could I achieve that ? In addition, I'd like to remove the old version of Opera, if possible...
Thank you !
Does it support the Zoom-bar ? if does , then share the link ;]]
No it doesn't indeed. That's two fixes now...
I tried pretty much everything that was proposed in a "Make Opera 10 the default browser" found here, but nothing worked...
did you try M2DC
Registry settings to change default internet browser
Hi,
Here is the values to change default internet browser
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila2D\InternetWidget
Type-Value name-Value
String (Default) (value not set)
DWORD IncludeUserFavorite 0x0
String RunCmd \Program files\opera mobile 10\opera10-armv41.exe
DWORD WebBrowserType 0x1
You can use any registry editor.
ok, i pefer the Opera mini 5 i have found it that its faster than the default one or the Opera 10.
Now when i try to do the reg edit, i reach the point where you said
\
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila2D\InternetW idget
now, after this i did not understand clearly whats the next steps..
can you be more specific please?
it is a table (rows/columns). first line is table head
I downloaded M2DC from here (xda) and in the "Internet" tab searched for the .exe of the Opera 10.
I am trying to import some values to my registry, mainly a list of albums that my HTCAlbum should ignore. I have done it manually before, but doing it after every new ROM flash gets a bit boring and annoying.
I have made this registry script:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum\Ignored]
"Temp"="\Temp"
"FPSECE Storage"="\Storage Card\FPSECE"
"xdaSkin"="\Storage Card\xdaSkin"
"FpseCE"="\Storage Card\Program Files\FpseCE"
"Games"="\Storage Card\Games"
"Icons"="\Storage Card\Icons"
"Mads Theme"="\Storage Card\Mads Theme"
"Wallpapers"="\Storage Card\Wallpapers"
"My Wallpapers"="\My Documents\My Wallpapers"
The values are all string values. However, I import the file, and it says it has imported properly. But no values appear in the registry. Can anyone advise as to what I am doing wrong? Does it need to be saved in a specific coding? Doesn't make sense to me, why it isn't working.
REGEDIT4 - this is used in PC windows in REG file header. In our mobiles is other header...
Your registry enteries should looks like this:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum\Ignored]
"Temp"="\Temp"
"FPSECE Storage"="\Storage Card\FPSECE"
"xdaSkin"="\Storage Card\xdaSkin"
"FpseCE"="\Storage Card\Program Files\FpseCE"
"Games"="\Storage Card\Games"
"Icons"="\Storage Card\Icons"
"Mads Theme"="\Storage Card\Mads Theme"
"Wallpapers"="\Storage Card\Wallpapers"
"My Wallpapers"="\My Documents\My Wallpapers"
So your script will be looks like this (this is in my case):
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum\Ignored]
"windows"="\\windows"
"temp"="\\temp"
"sdyt"="\\Storage Card\\YouTube"
"sdtt2"="\\Storage Card\\TT8_PL"
"sdtt1"="\\Storage Card\\TT8_UK"
"sdtemp"="\\Storage Card\\temp"
"sdsys"="\\Storage Card\\System Files"
"sdreader"="\\Storage Card\\My Documents\\Reader"
"sdProg"="\\Storage Card\\Program Files"
"sdmd2"="\\Storage Card\\My Documents\\Moje teksty"
"sdmd1"="\\Storage Card\\My Documents\\Home"
"sdgps"="\\Storage Card\\GPS"
"sdGamestest"="\\Storage Card\\Game Files Test"
"sdGames"="\\Storage Card\\Game Files"
"reader"="\\My Documents\\Reader"
"arcsoft"="\\My Documents\\UAContents"
"Camera"="\\My Documents\\Szablony"
"Music Gizmo1"="\\Music"
Ok. Thank you very much mate
someone known if there is an hex editor available for android?
thx
there is one user who develop this.
http://forum.xda-developers.com/showpost.php?p=8625560&postcount=1
Full Hex Editor
..or you can use DroidCommander which has full feature Hex Editor to do your binary hacking (good for modifying save game data), it has complete search by (unsigned 64bit) value or text or hex value, u can search in google or download it from capdorid dot com