Related
I have created small utility Called VipRegExport.
Requirement : .netCF 2.0 higher
What Utility Do
It reads input ini file and create registry export per section for every values in that section. It saves registry in .reg file.
Sample ini file
# Secion name will file name to be export registry values in it
# this is how you can comments
[MyKeys]
F01=HKLM\Software\Microsoft\Shell\Keys
F02=HKCU\Software\Microsoft\Today\Keys
#Setting for all third party software
[MySoftware]
F03=HKCU\Software\HButton
F04=HKCU\Software\waku
F05=HKEY_CURRENT_USER\Software\TodayAgenda
F06=HKEY_CURRENT_USER\Software\pocketMax
F07=HKEY_CURRENT_USER\Software\AlenSoft
F08=HKCU\Software\Microsoft\Shell\TaskSwitch
F09=HKLM\Software\ThrottleLauncher
F10=HKEY_CURRENT_USER\Software\Parlingo
F11=HKEY_CURRENT_USER\Software\Mort
F12=HKEY_CURRENT_USER\Software\Ghisler
F13=HKEY_CURRENT_USER\Software\FdcSoft
F14=HKEY_CURRENT_USER\Software\CallCalendar2
F15=HKEY_LOCAL_MACHINE\SOFTWARE\SHEALD
F16=HKLM\Software\HTC\HTCHome\Weather\Settings
F17=HKEY_LOCAL_MACHINE\Software\Pointui
F18=HKEY_LOCAL_MACHINE\Software\WiFiFoFum
F19=HKLM\Software\Apps\VicSoft ClearTemp
F20=HKEY_LOCAL_MACHINE\Software\Saman
[MyExtention]
F21=HKEY_CLASSES_ROOT\.mscr
F22=HKEY_CLASSES_ROOT\.mortrun
F23=HKEY_CLASSES_ROOT\MortScript
F24=HKEY_CLASSES_ROOT\.mbi
F25=HKEY_CLASSES_ROOT\MortButtonInfo
F26=HKEY_CLASSES_ROOT\.reg
F27=HKEY_CLASSES_ROOT\regfile
F28=HKEY_CLASSES_ROOT\.pdf
F29=HKEY_CLASSES_ROOT\AdobeReaderLE.2
[MySetting]
S01=HKLM\Software\Softick\Card Export\RunTrayClientAtStartup
S02=HKLM\Software\HTC\PHONE\BatteryIconLevel
S03=HKLM\Software\HTC\PHONE\bShowBatteryIcon
S04=HKCU\Software\Microsoft\Internet Explorer\Main\Default storage location\All Files
S05=HKCR\SystemFileAssociations\image\shell\save\Save Location\Default
S06=HKCR\SystemFileAssociations\audio\shell\save\Save Location\Default
S07=HKCR\SystemFileAssociations\video\shell\save\Save Location\Default
S08=HKCU\Software\HTC\Camera\4.00\Strings\Save Location
S09=HKLM\Software\HTC\Camera\General\EnableDCIM
S10=HKLM\Software\HTC\SUPL AGPS\EnableAGPS\Assisted GPS
S11=HKLM\Software\HTC\SUPL AGPS\EnableAGPS
S12=HKCU\ControlPanel\Phone\ShowSIM
S13=HKEY_CURRENT_USER\ControlPanel\BackLight\QKeyLedTimeout
S14=HKLM\Software\OEM\Power\ShowMovingChargeBar
S15=HKCU\ControlPanel\Sounds\RingTone0\Sound
S16=HKCU\ControlPanel\Sounds\RingTone0\script
S17=HKCU\ControlPanel\Sounds\RingTone0\Category
S18=HKLM\Security\Policies\Policies\0000101a
S19=HKLM\Software\Microsoft\Shell\ShowTitleBarClock
S20=HKCU\Software\Microsoft\Today\Skin
S21=HKCU\ControlPanel\Keybd\DefaultKeyLock
S22=HKLM\Software\HTC\HTCHome\TabSetting
Click to expand...
Click to collapse
There are three command line arguments supported
argument 1 : <inifilename including path> if not given then default is VipRegExport.ini
argument 2 : <Output Folder name including path> If not given default Application Folder
argument 3 : <slient Option> Default is 'N'. If you want to run in slient option then pass third parameter as "Slient"
What is slient option : It will not display any error message like "Registry key does not exist to export" and exit application after export completes.
GUI also gives ability to select input file as well output Folder.
HKEY_LOCAL_MACHINE\Security\Policies\Policies\000010a will export just one key 0000101a in HKEY_LOCAL_MACHINE\Security\Policies\Policies
where as F03=HKEY_CURRENT_USER\Software\HButton will export all keys and subkeys under that registry.
Basically if you want to export full registry including all subkeys and values then put actual key name in value If you only want to just export single keyvalue in specific registry then put keyname\valuename.
It also support HKCU, HKLM, HKCR, HKUS formats as well.
Restriction : Currently export can not export some new registry type like reg_multi_size etc but so far none of my registry values that I needed to export are of those type they mostly String, int, and binary value they all are supported.
Above restriction is removed. Now utility support all types of Registry. Credit Goes to Elemris craetor Kheb. ELemris Thank for helping me out on and sharing your code.
Uploaded new version
Now you can export entire registry with below in INI file
[MyFULLRegistry]
F01=HKLM
F02=HKCU
F03=HKCR
Version 8.0
Fixed "\" in key reported in post # 10
Version 9.0
Quick Fixed "@" in key http://forum.xda-developers.com/showpost.php?p=8347552&postcount=10
If you like my work then please consider donating
FAQ:
Do we need to put F01, F02..... what's happening if I have 2 F01?
F01, F01, F03 is just key in ini File It is not used any where in Program but it is needed in ini file as they are part of ini like section , key and value
Posted Version 4.0
Posted Version 4.0
posted new version 6.0.
Completely working. no restriction any more.
Interesting, thanks.
just one question, then.
So using:
[MyKeys]
F01=HKLM
F02=HKCU
F03=HKCR
will make complete registry dump? in one file?
I wouldn't ask, but i just cannot test it at this moment..
Can not export all reg's at present but i will include in next version
pupakota said:
Interesting, thanks.
just one question, then.
So using:
[MyKeys]
F01=HKLM
F02=HKCU
F03=HKCR
will make complete registry dump? in one file?
I wouldn't ask, but i just cannot test it at this moment..
Click to expand...
Click to collapse
New version can export entire registry
Strange,
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configuration
returns an empty key
I have a question:
Do we need to put F01, F02..... what's happening if I have 2 F01?
F01, F01, F03 are basic part if inin and they are needed.
romualdrichard said:
Strange,
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configuration
returns an empty key
I have a question:
Do we need to put F01, F02..... what's happening if I have 2 F01?
Click to expand...
Click to collapse
F01, F01, F03 is just key in ini File It is not used any where in Program but it is needed in ini file as they are part of ini like section , key and value
F50=HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configu ration
Click to expand...
Click to collapse
notice that space between configu
and
ration
here.
Tipo here only. I found that it tries to write this key but I have:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila] instead and empty.
Maybe the key is locked or something like that.
\\ are not written correctly I think in name of keys?
I tried to backup F10=HKEY_CURRENT_USER\Software\FdcSoft (pimBackup settings) and found that the custom list (folders list) does not have \
I have "\Windows\Rings\*.*"=dword:00000001 in the backup reg
But after, in the reg I have WindowsRings*.*
Looks like, the import (from sktools) needs \\ to save \...
Actuly it was fixed in version 7.5 but i did not released it.
It is now fixed in new version 8.0
Hi,
May be a good option would be to have an information in the .ini to set the export directory when you load the ini.
romualdrichard said:
Hi,
May be a good option would be to have an information in the .ini to set the export directory when you load the ini.
Click to expand...
Click to collapse
I will add in next version. Right now planning to add WAP export e.g emails setting, wi-fi setting etc exported to xml
Hi v3patel,
stuff like this must be a sticky, because it helps us devs a little bit. Ok there are more other things, but not based on a ini file. With that and mort i have done now two tests and they look really good. I hope you will support it further. And when i read your last post (top on my one) then it is very interesting. Thank you for sharing with us...
Hi,
I´ve got an issue that i can´t set an icon to task manager and messages in start menu/settings/System. See the pic below. I use a cab file to apply these icons.
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
twopumpchump said:
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
Click to expand...
Click to collapse
Thanks for the tip. I made an OEM of my cab to make it easer. This is what reg i have for the task manager, but it dosnt work.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
EDIT: Btw, how is rank determined? Dont really understand what ""Rank"=dword:000002BC" means..
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
seeM_ZA said:
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
Click to expand...
Click to collapse
Thanks for the tip. I have the folder to run last in customization. I understand thats its some sort of hex value or whatever, but i dont understand it so i can place the icons where i want them.
The icons are made by dlink ithink.
2BC = 700. The rankings go from 0-999, and most are higher, which is why that one appears on the low side. The easiest thing is to just arrange everything on the phone (drag and drop), then export the entire start menu registry key and just put that into your start menu EXT. I'm not sure exactly how the values vary left to right and top to down.
I heard somewhere that the built in start menu 'drag n drop' messes with the ranks? I'm probably wrong though
I believe the ranks go in this order.. 1 being highest, 8 being lowest. Please correct me if I'm wrong. I hope NRG doesn't mind me butchering his start menu with my awesome paint skills
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
+ Que PPC said:
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
Click to expand...
Click to collapse
Thanks for the help + Que PPC. The PNG is ok as it works in start menu. Btw, i made a package, instead of an cab. Much simpler to edit. What is the correct CPL for task manager in start menu/setting/System?
I have no clue on CPL or how to determine posistion
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
+ Que PPC said:
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Click to expand...
Click to collapse
Only need to learn hex editing to position the icons then
I´ve tried theese, but none of them works.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
easyst way - works great in build 23112
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
- I can confirm that this works fine.
- However, this is good for lnk that have direct entry under [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start]. But how to know which cpl index refers to which setting/program shortcut?
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
The thing is that i dont get the icon that is in SYS, i get the on in the exe. Would not matter if i change it.
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
+ Que PPC said:
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
Click to expand...
Click to collapse
Could be.. Probably. I sure hope not
You should convert the rgu files to xml files.
XML always run after the RGU, So its better to use when making custom modification.
http://forum.xda-developers.com/showthread.php?t=369457 (second post)
Th e cpl's are loaded in a provxml in the oem folder (don't remember which one off the top of my head). If it's messing with desired settings, rather than loading another provxml during first boot, and slowing down first boot even more, it's better to either edit or delete the oem provxml. Personally, I'd delete it and then put your start info in an app.reg in an EXT that runs near the end of the build.
Edit: the provxml with all of the cpl's is mxip_HtcApps_translation.provxml, and it's in oem-lang 0409. It's a complete waste to run this thing, imo. Just put it in an app.reg and you'll get a faster first boot.
Sorry but for change icon position in start menu, cant you do it just from start menu moving that icon and then go to the right reg key and export it?
This work for Kaiser dunno if Leo,Tp2 or Topaz has different way.
hi fellow chefs
i post my question here as i thought it would be better then openijng a new thread for it
i keep marketplace in my rom but i cant set it to the internet folder
i have looked in the initflash.dat and there is nothing there about marketplace(at least not that i could find)
i have looked in the sys map from market place and found a provxml
i changed it there the same way i did for taskmanager and it still doesnt work(for taskmaanger it works)
can some one help me out where or what i need to edit to have marketplace in internet folder
i attache my provxml so you can see what i have done
Hi,
I have a problem with setting certain settings when cooking. I simply modified the "c36eeaba-524c-471d-a185-22d12a8c294b.rgu" file in the OperatorPkg folder and changed settings such as notification light, camera superfine settings enabled as well as disabling the htc vibration and hiding some Manila tabs. For some odd reason not all the settings work? The camera settings won't work. The notification settings will only work for missed calls but not messages. The HTC Album setting to close instead of minimise won't work either. What am I doing wrong?
What is the order in which provxml, rgu and other customizations are loaded? It could be that I need to include the settings that are not working in the last rgu or provxml file to run.
Please help. Many thanks in advance
p.s. I checked the settings and they are all correct (no typos etc)
First RGU then app.reg then provxml...
So i guess that if you change the OEM RGU and you have a camera EXT the camera EXT app.reg will rewrite the RGU changes then sadly.. if you change the app.reg any missing and very good hidden provxml will rewrite your app.reg...
Addition process is... XIP - OEM - SYS - EXT every section is arranged alphabetical ascending.
Oh and next time search a lil many times this was discused on tutorials... of course you will not see a tutorial saying.... "order how PKGS are included" or "registry cooking addition"
Help, not sure what I am doing.
I am using kitchen_2.2 for the LG Incite.
I start with a clean kitchen.
I have put the 24001 rom in the base rom/incite directory.
run option:
2 to setup for incite
a,b,c
get [Missing Manifests]
[Missing Manifests]
027dda01-6124-f061-d1ac-17611a584b28.dsm
d92a4f0a-378a-4482-8fd3-bd127a05e4de.dsm
723fb954-d931-4348-b672-82a188e587b5.dsm
3346da5d-3675-4a67-925e-75f623184bda.dsm
5e466818-5df8-5bcb-8373-7b5f918a7e3c.dsm
Then a bunch of moving messagers and finally:
All Done!!!
Now, arrange the folders as needed and copy them into \OEM\INCITE and \SYS\YOURS
YSVERSION
Press any key to continue . . .
There is nothing under \OEM\INCITE and \SYS, so I copy temp\OEM and temp\sys to \
Now I run d, and get Now, arrange the folders as needed and copy OEMXIPKERNEL into \ROM\INCITE\YOURXIPVERSION and everything else in \ROM\SHARED\YOURXIPVERSION
Press any key to continue . . .
But I am not sure what to move. Under ROM i see a shared/21109 directory
I do not see OEMXIPKERNEL. I assume the Yourxipverson should be 24001.
If I continue with e (launch ErviusKitchen), change my device to incite, build 21000, rom version 2.0.00.00, sys build 0409, I see things set to ture and false.
If I select build I get errors. I tried copying dirs to different diretories, but just more errors.
All help apprciated.
Ask in the correct thread bud ¬¬
The tutorial EVK thread
I dont know so much about LG cooking you should ask in the thread for LG in the general forums
In shortly:
Export those keys from the RGU ( copy and paste ),make a txt file named app.reg and put inside the keys.
Go to EXT folder, make a subfolder named ZZ_what_name_you_like, inside this subfolder put the app.reg made before.
This way your setting will be the last to be copied from kitchen and nothing will be overwrite from other .reg, .rgu....but be sure that it will be the last to be cooked, thats why the ZZ or Z or ZZZZ before the name.
Next time make a lill search, this was already spoken many times.
thecrater said:
Hi,
I have a problem with setting certain settings when cooking. I simply modified the "c36eeaba-524c-471d-a185-22d12a8c294b.rgu" file in the OperatorPkg folder and changed settings such as notification light, camera superfine settings enabled as well as disabling the htc vibration and hiding some Manila tabs. For some odd reason not all the settings work? The camera settings won't work. The notification settings will only work for missed calls but not messages. The HTC Album setting to close instead of minimise won't work either. What am I doing wrong?
What is the order in which provxml, rgu and other customizations are loaded? It could be that I need to include the settings that are not working in the last rgu or provxml file to run.
Please help. Many thanks in advance
p.s. I checked the settings and they are all correct (no typos etc)
Click to expand...
Click to collapse
Thank you very much guys for your help the ZZ_settings idea worked a treat.
hey the crater change the thread name to
[SOLVED] Registry overwrite sequence in EVK
please
Dear Members,
1. I have lost the icon to access display settings in my cooked roms. Meaning i cannot access the screen alignment or clear type settings. I have tried adding reg below as well:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,7]
"Icon"="\\Windows\\Start_Icon_Screen.png"
Click to expand...
Click to collapse
I cant access clear type settings from manila as well.
2. My HTC Recorder fails to appear in my start menu as well. I have set it to appear under "Multimedia" folder in app.dat. I have checked spelling and the lnk is present in the files folder.
In effort to solve this prob, i have checked initflashfiles.dat and searched all provxml files to see if something is deleting it (used ervius kitchen editor function to search for "Recorder" string under all files and appears to be ok)
Also, i have tried 2 different builds of SYS - both boots up properly but with same problem. Please advice what i could be doing wrong.
Thanks in advance.
Details:
Base: TMOUS 2.13
SYS: 21903 / 21892
SOLUTION - Refer to post 3 by Braakie
nothing seems to be wrong... can you please post what are you using to change the registries.. i guess if you are not using UIA icons you will have some troubles.
tidus18 said:
Dear Members,
1. I have lost the icon to access display settings in my cooked roms. Meaning i cannot access the screen alignment or clear type settings. I have tried adding reg below as well:
I cant access clear type settings from manila as well.
2. My HTC Recorder fails to appear in my start menu as well. I have set it to appear under "Multimedia" folder in app.dat. I have checked spelling and the lnk is present in the files folder.
In effort to solve this prob, i have checked initflashfiles.dat and searched all provxml files to see if something is deleting it (used ervius kitchen editor function to search for "Recorder" string under all files and appears to be ok)
Also, i have tried 2 different builds of SYS - both boots up properly but with same problem. Please advice what i could be doing wrong.
Thanks in advance.
Details:
Base: TMOUS 2.13
SYS: 21903 / 21892
Click to expand...
Click to collapse
1) In your \OEM\LEO\COMMON\OEMDrivers folder, there is a 21b6ed86-a505-4ad7-a4aa-b8bb93c926d9.rgu file with this registery entry, change it from 1 to 0:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
2) For the HTC Recorder, change your pad in the \OEM\LEO\0409\OEM_Lang_0409 initflashfiles.dat file, search for "VoiceRecorder", and change Tools to Multimedia:
Directory("\Windows\Start Menu\Programs\Multimedia"):-File("Voice Recorder.lnk","\Windows\Recorder.lnk")
ps: This is the English translation, change it in your own language.
details
Thanks guys,
Will recheck the paths and spellings. I have removed all entries in initflashfiles.dat all except the non HTC stuffs and placed it under its respective app.dat in ext folder. Im customizing the location and icon pictures of basic wm stuffs (ie: home, search phone, help,games etc.) using provxmls.
What i have done so far:
1. Copied all these provxmls below to a "zzz_newXML" ext package and edited to new path i want.
mxip_MyPhone_100.provxml
mxipcold_marketplace_100.provxml
mxipupdate_office_100.provxml
mxipupdate_onenote_100.provxml
mxipupdate_projectdefault_a_000.provxml
mxipupdate_RemoteDesktopMobile.provxml
mxipupdate_taskmgr_shell_1.provxml
mxipupdate_welcomecenter_1.provxml
mxipupdate_windowslive_1.provxml
mxipupdate_windowsliveim_1.provxml
Click to expand...
Click to collapse
2. So the original is left untouched in SYS/OEM folder. Provxmls which assigns/resorts icons have been blanked out and placed in "zzz_newXML" files folder to overwrite the default paths so that i can fully control all icons using single provxml.
3. I am using mxipinit_startmenu_001.provxml in XDA\EVK\OEM\LEO\0409\ProjectDefault_A to do start menu rearrangement. All Ext package icons customizations in placed in its respective folders.
My reason for choosing this method is so that i dont have to go to initflashfiles.dat or provxmls in new SYS package whenever i update system builds or add/remove ext package.
I have attached mxipinit_startmenu_001.provxml (from item 3 above) and my initflashfiles.dat if you guys need more details. Please advice if there are any other better/easier way of doing this customization.
Thanks in advance and sorry for the late reply!
Braakie said:
1) In your \OEM\LEO\COMMON\OEMDrivers folder, there is a 21b6ed86-a505-4ad7-a4aa-b8bb93c926d9.rgu file with this registery entry, change it from 1 to 0:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
2) For the HTC Recorder, change your pad in the \OEM\LEO\0409\OEM_Lang_0409 initflashfiles.dat file, search for "VoiceRecorder", and change Tools to Multimedia:
Directory("\Windows\Start Menu\Programs\Multimedia"):-File("Voice Recorder.lnk","\Windows\Recorder.lnk")
ps: This is the English translation, change it in your own language.
Click to expand...
Click to collapse
Thanks Braakie! Finally found time to rebuild rom with the reg key and that did bring back Screen option in settings. I still couldnt get the recorder right, maybe something wrong with the ext package itself.
I think we can change it to solved now as my main concern was with screen settings.
EDIT: I now have the reg keys I need and am to set both the main screen and start menu. I now just looking to set the time at first boot.
[HKEY_LOCAL_MACHINE\nls\overrides]
"STFmt"="HH:mm:ss"
"ITime"=dword:00000001
The above keys will work after first boot, but not during first boot process.
Any help would be appreciated.
Many thanks
GhostXSeries
EDIT2: Solved issue thanks to caliban2 for giving me the idea!
Found you need all the following reg keys to make it work!
[HKEY_LOCAL_MACHINE\NLS]
"DefaultLCID"=dword:00000809
"SystemLCID"=dword:00000409 - I assume this points to your region?
"LegacyLocaleMode"=dword:00000001
[HKEY_LOCAL_MACHINE\NLS\overrides]
"ITMPN"=dword:00000009
"ITLZr"=dword:00000001
"ITime"=dword:00000001
"STFmt"="HH:mm:ss"
"STime"=":"
Thanks again for your help!
Both backgrounds are set in their corresponding *.cpr file(s). You can either change it there and re-direct it to your image or simply rename your image and over-write the stock WM image.
Reg key for 24 hour:
Code:
[HKEY_LOCAL_MACHINE\nls\overrides]
"STFmt"="HH:mm:ss"
jmart518 said:
Both backgrounds are set in their corresponding *.cpr file(s). You can either change it there and re-direct it to your image or simply rename your image and over-write the stock WM image.
Reg key for 24 hour:
Code:
[HKEY_LOCAL_MACHINE\nls\overrides]
"STFmt"="HH:mm:ss"
Click to expand...
Click to collapse
Thanks for getting back to me so quickly. had a brain wave and renamed one of the wallpapers and then did a search through the registery for that new file name. Found it under
HKEYCU\controlpanel\desktop\wallpaer!
I have been looking for the 24 hour key for ages! Cheers
When I cooked both registery keys into the rom neither worked. Time is still 12 hour and the background screen is still default. Even though when I go in to the desktop registery key the entry is the one I entered
for the time format ...
HkLM\nls\overrides:
12h am-pm
ITime = 0
S1159= AM
S2359= PM
STFmt = h:mm:ss tt
Click to expand...
Click to collapse
24h:
ITime=1
STFmt = HH:mm:ss
Click to expand...
Click to collapse
I'm sorry, I miss understood what you were looking for originally. Are you trying to set a wallpaper for the first boot? If so, I simply just save my wallpaper as a .gif and name it "Default_stwater_480_800.gif" this will vary depending or device resolution.
As far as the clock settings not sticking, make sure that your reg isn't being over-written later in the cooking process.
Edit:
Thanks Poy, I forgot about "ITime"=dword:00000001
jmart518 said:
I'm sorry, I miss understood what you were looking for originally. Are you trying to set a wallpaper for the first boot? If so, I simply just save my wallpaper as a .gif and name it "Default_stwater_480_800.gif" this will vary depending or device resolution.
As far as the clock settings not sticking, make sure that your reg isn't being over-written later in the cooking process.
Edit:
Thanks Poy, I forgot about "ITime"=dword:00000001
Click to expand...
Click to collapse
You were close with the filename. I found out it was HTC_stwater_480_800.jpg. Once I changed that it then set the default background for me. I simply created an ext package and added the new wallpaper with the same name into a files folder and then set the app.dat file to copy it to the windows directory.
Still working setting the time to 24h
GhostXSeries said:
You were close with the filename. I found out it was HTC_stwater_480_800.jpg. Once I changed that it then set the default background for me. I simply created an ext package and added the new wallpaper with the same name into a files folder and then set the app.dat file to copy it to the windows directory.
Still working setting the time to 24h
Click to expand...
Click to collapse
You also can customize (Don´t remember if Titanium or Start Menu´s background) overwritting files "Default_stwater_480_800.gif" & "Default_stwater_800_480.gif" (depends of resolution).
Is not necessary add an app.dat to the package, because all archives inside "files" folder go to windows folder. If you want a copy of these archives in other folders, then you can set app.dat
Greetings
Grand,
Got start menu background working. Now just looking to set the time to 24 hour format. If I make the changes suggested above after I flash the rom it changes, but If I cook reg changes into the rom and flash it stays at 12 hour.
Something must be overwriting your time settings either later in the cooking process or a provxml. OSB has the ability to preview reg, but I am not sure about OSK (it's just been too long)
manila world clock has the option to change time format 24h/12h so maybe something has to be also changed there ...
I think you could be right. There is definitly something on the initial startup is overriding the cooked registery keys.
try cooking without adding any keys to nls, make your changes in regional settings (winmo-settings) and then export complete nls-key, using it in your kitchen next time.
according to osbuilder, nothing in nls-key is set via provxml, only by boot.rgu and the rgu from base_lang_0xxx (in sys). adding your own reg later in cooking-process should overwrite them just fine.
the important part during 1st boot is LCID (=region), which also defines a standard timeformat for the region.
GhostXSeries said:
EDIT2: Solved issue thanks to caliban2 for giving me the idea!
Found you need all the following reg keys to make it work!
[HKEY_LOCAL_MACHINE\NLS]
"DefaultLCID"=dword:00000809
"SystemLCID"=dword:00000409 - I assume this points to your region?
"LegacyLocaleMode"=dword:00000001
[HKEY_LOCAL_MACHINE\NLS\overrides]
"ITMPN"=dword:00000009
"ITLZr"=dword:00000001
"ITime"=dword:00000001
"STFmt"="HH:mm:ss"
"STime"=":"
Thanks again for your help!
Click to expand...
Click to collapse
the stuff in \overrides shouldn't be necessary. i set my region to english (uk) and here is what i get:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\nls]
"DefaultACP"=dword:000004e4
"DefaultLCID"=dword:00000809
"DefaultOCP"=dword:00000352
"LegacyLocaleMode"=dword:00000001
"SystemLCID"=dword:00000409
[HKEY_LOCAL_MACHINE\nls\overrides]
"LCID"=dword:00000809
"SSDte"="dd.MM.yyyy"
this gives me 24hr-clock and the crazy date-format you guys use on your island.
while playing with this i noticed that region-settings in manila add lot's of keys in \overrides, while winmo-settings does it's stuff in \nls (except the LCID in overrides).
(nevermind the "SSDte", that key i use for setting date-format on lockscreen.)
[QUOTE
[HKEY_LOCAL_MACHINE\NLS]
"DefaultLCID"=dword:00000809
"SystemLCID"=dword:00000409 - I assume this points to your region?
"LegacyLocaleMode"=dword:00000001
[/QUOTE]
Hello mate,
just to correct you:
"DefaultLCID" points to the region, not "SystemLCID"
Best Regards!
Skyguar