[SOLVED] Cooking Reg Tweaks: Some Keys Rom Does Not Work - Windows Mobile

I've spent the entire day trying to get this to work. For the most part I've gotten it mostly to work, but still can't understand why it doesn't work fully.
So in my custom rom, I created/imported a package called ZZ_MyPackageCustomization. All that is in there is an "app.reg" where I have my registry tweaks to apply / overwrite.
To my understanding from what I've read on other forums, this is the method that makes the most sense to me and is easiest. The rom is flashed, and my custom package gets run last applying and overwriting the reg.
Some of the reg tweaks work. Some don't. Below is what I have in my app.reg (spaced so you can see each section).
The first two sections work fine; first hiding Sense tabs, second changing my long end key press to set phone to vibrate.
the next two sections don't work: one removing all quicklinks in my Sense to blank, and the next setting the default volume for both system and ringer to max.
Any advice would be nice. Thanks!
I am using OSKitchen Zero.
HTML:
REGEDIT4
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Manila://album.page.hidden"=dword:00000002
"Manila://calendar.page.hidden"=dword:00000000
"Manila://email.page.hidden"=dword:00000002
"Manila://home.page.hidden"=dword:00000000
"Manila://inforwidget.page.hidden"=dword:00000002
"Manila://internet.page.hidden"=dword:00000000
"Manila://messaging.page.hidden"=dword:00000000
"Manila://music.page.hidden"=dword:00000002
"Manila://people.page.hidden"=dword:00000000
"Manila://settings.page.hidden"=dword:00000000
"Manila://SprintNavi.page.hidden"=dword:00000002
"Manila://tv.page.hidden"=dword:00000002
"Manila://twitter.page.hidden"=dword:00000002
"Manila://weather.page.hidden"=dword:00000002
[HKEY_CURRENT_USER\Software\HTC\LongPressEndKey]
"AutoExecute"=dword:00000003
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\0]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\1]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\2]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\3]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\4]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\5]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\6]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\7]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\8]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=-
"IconPath"=-
"ExePath"=-
"ContactOid"=-
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"HomeServiceType"=dword:0
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:4294967295
"Volume"=dword:4294967295

Some are working and some not you say? You better try using provxml's instead.
You are right, your package is probably executet as last. But all provxml's are executed after REG/RGU and it seems that some tweaks get overwritten by a random provxml.
There are easy tools like rgu-2-xml-v2 (attached) to do that.

Rgu-2-xml-v2 is pretty bad tool for me as provxml files generated by it are useless, they have lots of errors. Even if you use this tool, you'll still have to fix broken lines on your own but using provxml is best choice.

OK, didn't now that. Do you have another tool that is better?
Anyway, provxml's should help avoiding this problem, right?

Your reg keys are being over-written by provxml's. Don't create more provxml's to over-write others; that's just a band-aid, and it slows down boot-up a ton. Find the provxml (probably an oem), edit it (or better, delete the entries in the provxml and leave them in the app.dat for faster 1st boot), then put the edited provxml in your zzz-ext and have it over-write the stock one during cooking. Leave the stock one alone in case you eff up.
Just look through the provxml's in your dump or using the provxml editor in your kitchen.
Edit: Also, check your build-log to see if there are any parsing errors. Depending on how you dump reg keys, sometimes they won't parse. I run into trouble when I use total commander occasionally. It will eff up paths. Sometimes, you'll need as many as 5 \'s at a time, and total commander won't get them all, whereas dotfred's task manager always dumps them properly. You can also use ceregeditor (or mregedit) to look in the .hv files in your dump to see if your reg keys are at least being built into the hives

Awesome guys! now that I know provxml's also cause tweaks into the reg, I did a search for all provxml's and manually went through each one to look for the Manila quicklinks issue, and found it as the following in the Operator Pkg in EXT packages:
mxipupdate_oemoperators_102
I am trying not to edit anything stock and just apply my customizations afterwards, so I will try the provxml first in my custom package. if that doesn't work than I will be forced to edit the original provxml.
Thanks so much!

unfortunately, my own provxml did not work at all for any of the reg tweaks. it was named "app.reg.provxml" so maybe the duplicate period might have caused a problem. or maybe the manner of import caused it to not work; all I did was place the provxml file into my custom package folder, and took out the "app.reg" and cooked.
comparing the mark up language to the stock, and it looks like it was converted fine by reg2xml2.
will edit the stock to see what happens.

I said screw it, edit the original provxml. that totally got it working!
as for the volume reg, I troubleshooted it by making a cab of the reg tweak, and that didn't work either. I guess you can't edit the volume by reg in this manner, or I'm targeting the wrong key.
Thanks to all, this is officially solved in my book.

Good that you fixed . And editing original provxml is best choice as you don't duplicated keys and other errors .
Forgot to add, when you make your own provxml file, you need a little different name than "app.reg.provxml", for example "mxip_tweaks.provxml" .

Related

Making a registry script to import keys

Hi, I tried to make a .reg to import three keyboard layout changing keys, like so:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\keyboard layout\Preload]
"Default"="e0010414"
[HKEY_CURRENT_USER\keyboard layout\Preload\1]
"Default"="e0010414"
[HKEY_LOCAL_MACHINE\Software\Oem\Qwerty]
"Layout"="132116"
But the values didn't changed and I had to do it manually. (I did in both cases soft reset).
How to fix? And a .reg for tweaks etc would be very usefull.
grkn said:
Hi, I tried to make a .reg to import three keyboard layout changing keys, like so:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\keyboard layout\Preload]
"Default"="e0010414"
[HKEY_CURRENT_USER\keyboard layout\Preload\1]
"Default"="e0010414"
[HKEY_LOCAL_MACHINE\Software\Oem\Qwerty]
"Layout"="132116"
But the values didn't changed and I had to do it manually. (I did in both cases soft reset).
How to fix? And a .reg for tweaks etc would be very usefull.
Click to expand...
Click to collapse
Are you using hive or file based registry?
see here:
http://forum.xda-developers.com/showthread.php?p=767833
A suitable programme to change from "hive" to "file" based registry is Tweaks2k2 under its system tricks collection 5 setting. This will allow you to reset the device without the soft reset always discarding your changes and going back to default settings via the "hive"
Mike
But is the format of the keys correcT?
grkn said:
But is the format of the keys correcT?
Click to expand...
Click to collapse
Nope. They all miss the DWORD type declaration and all have an unneeded " as in
"Flags"=dword:00000000

Reg entries messed up again, Please help with my iPaQ 6945

Good morning all,
Trying to look inside files, once again messing around I have associated the EXE files with a text editor and now I can't open any of my Programs. Can someone please help me out and give me a few answers from your registry? Here are a few of the entries I need in order to at least back up somethings before I have to hard reset.
If I'm missing something under these please add it also. Thanking you in advance for any and all help.
Donna
HKEY_CLASSES_ROOT\.exe
"Content Type"=
"Default"=
HKEY_CLASSES_ROOT\.ini
"Content Type"=
"Default"=
HKEY_CLASSES_ROOT\exefile
"Content Type"=
"Default"=
HKEY_CLASSES_ROOT\exefile\DefaultIcon
"Default"=
HKEY_CLASSES_ROOT\exefile\shell\open\command
"Default"=
HKEY_LOCAL_MACHINE\System\State\Power

[TOOL][22/Nov/10]One Simple Package Sorter|OSPS v1.4.0.0[ONLINE]

There are quite enough applications out there that sort packages, but
I wrote this simple console application and even though it's not as good as the other package sorters I'm here to share it with anyone interested...
I have written it having in mind the outcome of bepe's xidump:
Code:
dump
|_IMGFS
| |___OEM
| |___RESERVED
| |___SYS
| |___.ROM (file)
| |___.VM (file)
|
|_XIP
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_OEMXIPKernel
|_WinCENLS_%locale%
so I always run it after xidump in order to get the most out of it...And so should you
Usage :
Code:
OSPS.exe /t:<Target (OEM) Folder> [COLOR="blue"]/n[/COLOR] [COLOR="red"]/r[/COLOR] [COLOR="green"]/d[/COLOR] [COLOR="Magenta"]/s[/COLOR] [COLOR="Sienna"]/k[/COLOR]
/n <Optional switch to sort packages into EXT>
/r <Optional switch to sort registry files>
/d <optional switch to delete empty packages>
/s <Optional Switch to sort SYS,XIP packages>
/k <Optional Switch to keep all original comments>
If /r is given the application will rewrite each registry file removing duplicate values and making it more readable.
If /r is omitted no registry files will be touched.
If /n is given the application will:
a) Convert every OEM package which name starts with "PACKAGE_*" to EXT Package named after the package's MASD.
b) Move the corresponding localization files ("PACKAGE_...wait for it..._%locale%") to the EXT Package's %locale% subdir.
c) Read initflashfiles.dat and if there are any entries about any EXT Package it will split initflashfiles.dat, rewrite it and create an app.dat for each of those EXT Packages, converting the hexstrings to readable strings.
If /n is omitted the application will:
a) Copy every OEM package which name starts with "PACKAGE_*" to a new folder - Pkgs\Common - and it will rename them after each package's MASD.
b) Move each corresponding localization Package ("PACKAGE_...wait for it..._%locale%") to a new folder - Pkgs\Locale - and it will rename them after each package's MASD and (%locale%).
c) Read initflashfiles.dat and if there are any entries about any Package it will split initflashfiles.dat, rewrite it and create an initflashfiles.txt for each of those Packages, converting the hexstrings to readable strings.
The application will sort all *manila files found according to language.
If /s is given the application will:
a) Sort OEM into 3 subfolders : (i) %locale%, (ii) COMMON, (iii) dpi_%dpi%
b) Sort SYS to VK style.
c) Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
If /s is omitted the application will not make any further changes to the dump.
If /d is given the application will remove any empty Packages (like X1,X2,L1,etc),
If /d is omitted no packages will be deleted.
If /k is given the application will keep all the original comments in initflashfiles.dat and app.dat/initflashfiles.txt.
If /k is omitted the application will just keep some basic comments.
Change Log:
07/July/10 - v1.0.0.0
Initial Release
10/July/10 - v1.0.0.1
Added /s and /k switches
11/July/10 - v1.1.0.0
Added conversion of hexstrings to readable strings for ALL LCIDs
20/July/10 - v1.2.0.0
Bug-Fix: Some files from the locale packages weren't moved as they should
Changed how /k switch works(read more...)
20/July/10 - v1.2.1.0
Increased stability
22/Sep/10 - v1.2.2.0
Bug-Fix: Some PACKAGE_2DManila* folders were left inside OEM
17/Nov/10 - v1.3.0.0
Bug-Fix: Registry sorting wasn't working 100%
22/Nov/10 - v1.4.0.0
Bug-Fix: Manila lcid sorting
To Do:
Any suggestions are welcomed!
Any bug reports are appreciated!
Regards!
kokotas said:
4. Sort SYS to VK style.
5. Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
Click to expand...
Click to collapse
Can I skip these steps?
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
- initflashfiles.dat, app.dat hexstring convert
- don't edit app.dat header for easier edit and view
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
It's very good app, thank you so much.
Epson said:
Can I skip these steps?
4...
5...
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
Click to expand...
Click to collapse
I could add a switch for all of the above. Let me check it...
Epson said:
- initflashfiles.dat, app.dat hexstring convert
Click to expand...
Click to collapse
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
Epson said:
- don't edit app.dat header for easier edit and view
Click to expand...
Click to collapse
What exactly do you mean? Give me an example if it's not difficult.
Epson said:
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
Click to expand...
Click to collapse
Well I don't like those useless comments, so no for this one.
Epson said:
It's very good app, thank you so much.
Click to expand...
Click to collapse
Thank you for trying it and leaving your comments!
Regards!
kokotas said:
I could add a switch for all of the above. Let me check it...
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
What exactly do you mean? Give me an example if it's not difficult.
Well I don't like those useless comments, so no for this one.
Thank you for trying it and leaving your comments!
Regards!
Click to expand...
Click to collapse
I like those suggestion too because I don't use VK kitchen
I think he means the "FF FE" header of app.dat (you removed it), some text viewer can't display correct and think it's an binary file.
About the hexstring convert, maybe you should work with airxtreme as he did it very well here: http://forum.xda-developers.com/showthread.php?t=692314
Oh, and thank you for your app. It's great.
Ok guys!
I uploaded a version which doesn't remove the header "FF FE" from each app.dat,
and has 2 new switches to control whether to:
(i) sort SYS,XIP and OEM according to VK style and
(ii) remove comments from initflashfiles.dat and app.dat
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Regards!
kokotas said:
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Click to expand...
Click to collapse
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
kokotas said:
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
Click to expand...
Click to collapse
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Cloudyfa said:
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Click to expand...
Click to collapse
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
kokotas said:
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
Click to expand...
Click to collapse
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
v1.2.1.0
An updated version is up @ 1st post.
Cloudyfa said:
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Click to expand...
Click to collapse
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
Cloudyfa said:
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
Click to expand...
Click to collapse
I changed a little how the application handles comments:
If /k is given the application will keep all the original comments.
If /k is omitted the application will keep only some basic comments. For example:
initflashfiles.dat
Code:
root:-Directory("My Documents")
root:-Directory("Program Files")
Directory("My Documents"):-Directory("我的图片")
Directory("\My Documents\我的图片"):-File("春天.jpg","\Windows\Spring.jpg")
Directory("\My Documents\我的图片"):-File("青草.jpg","\Windows\Grass.jpg")
Directory("\My Documents\我的图片"):-File("绿叶.jpg","\Windows\Leaf.jpg")
Directory("\My Documents\我的图片"):-File("水纹.jpg","\Windows\Water.jpg")
Directory("My Documents"):-PermDir("模板")
Directory("Program Files"):-Directory("连接")
Directory("\Windows"):-Directory("Help")
Directory("\Windows"):-Directory("Fonts")
Directory("\Windows"):-Directory("程序")
Directory("\Windows"):-Directory("StartUp")
Directory("\Windows"):-PermDir("“开始”菜单")
Directory("\Windows"):-Directory("Temporary Internet Files")
Directory("\Windows"):-Directory("AppButtons")
Directory("\Windows"):-Directory("收藏夹")
Directory("\Windows"):-Directory("Rings")
Directory("\Windows"):-Directory("AppMgr")
Directory("\Windows"):-PermDir("System")
Directory("\Windows\System"):-PermDir("ConfigMgr")
Directory("\Windows\System"):-PermDir("CertDtls")
Directory("\Windows\System"):-PermDir("DumpFiles")
Directory("\Windows\System"):-PermDir("CabQueue")
; Start Menu contents
Directory("\Windows\“开始”菜单"):-PermDir("程序")
Directory("\Windows\“开始”菜单"):-PermDir("设置")
Directory("\Windows\“开始”菜单\程序"):-File("帮助.lnk","\Windows\help.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("搜索手机.lnk","\Windows\search.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电话.lnk","\Windows\cprog.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("调制解调器链接.lnk","\Windows\ATCIUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet 共享.lnk","\Windows\IntShrUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务管理器.lnk","\Windows\TaskMgr.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("ActiveSync.lnk","\Windows\sync.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet Explorer.lnk","\Windows\pie.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("PerfMan.lnk","\Windows\perfman.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电子邮件.lnk","\Windows\tmailpicker.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("短信.lnk","\Windows\tmailsms.lnk")
Directory("\Windows"):-File("设置电子邮件.lnk","\Windows\acctwiz.lnk")
; turn off the OLD inbox later
; put the OLD inbox to the program floder (temporary)
Directory("\Windows\“开始”菜单\程序"):-File("便笺.lnk","\Windows\notetake.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("图片和视频.lnk","\Windows\pimg.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("SimTkUI.lnk","\Windows\SimTkUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("计算器.lnk","\Windows\calc.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("资源管理器.lnk","\Windows\fexplore.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("入门.lnk","\Windows\WelcomeCenter.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("闹钟.lnk","\Windows\MSAlarms.lnk")
Directory("\Windows\“开始”菜单\程序"):-Directory("游戏")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("纸牌.lnk","\Windows\solitare.lnk")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("icon.lnk","\Windows\gamesico.lnk")
; App Button default links
Directory("\Windows\AppButtons"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\AppButtons"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\AppButtons"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\AppButtons"):-File("录音.lnk","\Windows\voice.lnk")
Directory("\Windows\StartUp"):-File("bugtrap.lnk","\Windows\bugtrap.lnk");
Directory("\Windows\StartUp"):-File("poutlook.lnk","\Windows\poutlook.lnk")
Directory("\Windows\StartUp"):-File("欢迎使用.lnk","\Windows\welcome.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("远程桌面 Mobile.lnk", "\Windows\wpctsc.lnk")
Directory("Program Files"):-Directory("Windows Media Player")
Directory("\Windows\“开始”菜单\程序"):-File("Windows Media.lnk","\Windows\WMPlayer.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(纵向).skn","\Windows\wmp_WPC_portrait.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(横向).skn","\Windows\wmp_WPC_landscape.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(方格).skn","\Windows\wmp_WPC_square.lnk")
Directory("\Program Files\Windows Media Player"):-File("欢迎使用 Windows Media.wma","\Windows\wm_start.lnk")
; Help .LNK files
Directory("\Windows\Help"):-File("ActiveSync.lnk","\Windows\h_sync.lnk")
; Transcriber available for USA, FRA & GER
Directory("\My Documents\模板"):-File("空白文档.pwi","\Windows\blank.pwi")
Directory("\My Documents\模板"):-File("会议记录.pwi","\Windows\meeting.pwi")
Directory("\My Documents\模板"):-File("备忘录.pwi","\Windows\memo.pwi")
Directory("\My Documents\模板"):-File("电话备忘录.pwi","\Windows\phone.pwi")
Directory("\My Documents\模板"):-File("示例文档.pwi","\Windows\sample.pwi")
Directory("\My Documents\模板"):-File("待办事宜.pwi","\Windows\todo.pwi")
Directory("My Documents"):-Directory("个人")
Directory("My Documents"):-Directory("商务")
Directory("My Documents"):-Directory("我的音乐")
Directory("My Documents"):-Directory("我的铃声")
Directory("\Windows"):-File("cmclient.exe","\Windows\HTC_cmclient.exe")
app.dat
Code:
;ALBUM
Directory("\Windows\“开始”菜单\程序"):-File("相册.lnk","\Windows\Album.lnk")
Directory("\Windows\Help"):-File("相册.lnk","\Windows\Help_Album.lnk")
Directory("\My Documents\我的图片"):-File("Albums Sample_01.jpg","\Windows\Albums Sample_01.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_02.jpg","\Windows\Albums Sample_02.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_03.jpg","\Windows\Albums Sample_03.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_04.jpg","\Windows\Albums Sample_04.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_05.jpg","\Windows\Albums Sample_05.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_06.jpg","\Windows\Albums Sample_06.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_07.jpg","\Windows\Albums Sample_07.jpg")
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Great work!!!
kokotas said:
An updated version is up @ 1st post.
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
I changed a little how the application handles comments:...
Click to expand...
Click to collapse
Ya, I've tested and it works very well now.
lol, you really did it exactly what I want again (about those basic comment lines) You know, it's a mess without them.
kokotas said:
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Click to expand...
Click to collapse
I've never faced that issue because I use this code in my kitchen:
Code:
if exist IMGFS\OEM\PACKAGE_* "%path_exe%OTHER\PkgSorter" /t:IMGFS\OEM /n /d
but it's great that you improve the stability.

[Solved] How to edit the quick link Icons sense 2.5

When I use oskitchen I can successfully build a rom with 6.5.5 and sense 2_5_2012. The rom compiles and builds successfully, I then rom'd the image on to my HD2 which also worked fine.
One thing I did notice, when I first turned on the phone there was three icons in the quick links. How do I remove these? The three links are: Camera, Market Place, and You tube.
Any assistance would be appreciated
Ta!
**Thanks guys, I have now been able to find the reg files after disabling the security on my laptop. I have now successfully built a stable ROM WIN - 23569 with Sense 2016 - Thank you both for your help!**
awsome101 said:
When I use oskitchen I can successfully build a rom with 6.5.5 and sense 2_5_2012. The rom compiles and builds successfully, I then rom'd the image on to my HD2 which also worked fine.
One thing I did notice, when I first turned on the phone there was three icons in the quick links. How do I remove these? The three links are: Camera, Market Place, and You tube.
Any assistance would be appreciated
Ta!
Click to expand...
Click to collapse
You look in your manila Home or Core reg.
Hi,
I have tried searching but cant find anyting refrencing the 3 quick links. Anybody got any futher suggestions?
I found the reg keys for the quick links. Created a cab which removes them. Installed the cab and it worked ok. I then cooked the cab in my rom but it did not remove the links.
awsome101 said:
I found the reg keys for the quick links. Created a cab which removes them. Installed the cab and it worked ok. I then cooked the cab in my rom but it did not remove the links.
Click to expand...
Click to collapse
same experience...
awsome101 said:
I found the reg keys for the quick links. Created a cab which removes them. Installed the cab and it worked ok. I then cooked the cab in my rom but it did not remove the links.
Click to expand...
Click to collapse
Maybe sense has to full loaded before you can change the reg entries via cab.
Change the entries in your kitchen and leave them blank.
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\1]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=""
"IconPath"=""
"ExePath"=""
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:0
Yes those were the registery keys I have found. I agree that sense seems to need to be fully loaded when you install the file. How do I edit the registery before I cook the rom? I am using osKitchen 1.30
Hi, in your manila/home, you have a app.reg, edit and search this:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\0]
"IsNeedRefresh"=dword:0
"IsSet"=dword:1
"DispName"="[[IDS_CAMERA]]"
"IconPath"="\\Windows\\HTC\\Home\\Assets\\Images\\Home\\VGA\\HTC_camera.qtc"
"ExePath"="\\Windows\\Camera.exe"
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:1
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\1]
"IsNeedRefresh"=dword:0
"IsSet"=dword:1
"DispName"="[[IDS_MARKETPLACE]]"
"IconPath"="\\Windows\\HTC\\Home\\Assets\\Images\\Home\\VGA\\HTC_Marketplace.qtc"
"ExePath"="\\Windows\\WMMarketplace.exe"
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:1
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\2]
"IsNeedRefresh"=dword:0
"IsSet"=dword:1
"DispName"="YouTube"
"IconPath"="\\Windows\\HTC\\Home\\Assets\\Images\\Home\\VGA\\HTC_youtube.qtc"
"ExePath"="\\Windows\\Youtube.exe"
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:1
And replace by this:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\0]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=""
"IconPath"=""
"ExePath"=""
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\1]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=""
"IconPath"=""
"ExePath"=""
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:0
[HKEY_LOCAL_MACHINE\Software\HTC\Manila\Home\2]
"IsNeedRefresh"=dword:0
"IsSet"=dword:0
"DispName"=""
"IconPath"=""
"ExePath"=""
"ContactOid"=""
"ContactFavorType"=dword:0
"Index"=dword:0
"IsReadOnly"=dword:0
"IsFixedIcon"=dword:0
"HomeServiceType"=dword:0
Do the same in rgu file, if you have one in same dir.
Cumps
Hi,
I have done a search in my kitchen folder and cant find any app.reg files. Thats what I was looking for, but there arn't any there.
sometimes they aren't visible, you must use a editor like total commander to see all files, but you can do this, whith you notepad, go to directory manila/home and write app.reg
Or if you use VK, just edit seaching all app.reg.
awsome101 said:
Hi,
I have done a search in my kitchen folder and cant find any app.reg files. Thats what I was looking for, but there arn't any there.
Click to expand...
Click to collapse
Ok, I am happy I know how to create a registery file. Just to confim I am putting it in the correct folder, I can see the following path: c:\kitchen\sources\devices\htc leo\ext packages\packages_htc leo\Manila_Home_2_5_20161714_0\ - inside this there are a series of numbered folders assuming this is language folders eg 0408 and 0409. There is also then a folder called "files" - Do I put the reg file in here?
Sorry to be a pain but I have only been cooking for a week and still completly new to all this
Stephen
You don't need to create new reg file because the reg file already exists in c:\kitchen\sources\devices\htc leo\ext packages\packages_htc leo\Manila_Home_2_5_20161714_0\app.reg
awsome101 said:
Ok, I am happy I know how to create a registery file. Just to confim I am putting it in the correct folder, I can see the following path: c:\kitchen\sources\devices\htc leo\ext packages\packages_htc leo\Manila_Home_2_5_20161714_0\ - inside this there are a series of numbered folders assuming this is language folders eg 0408 and 0409. There is also then a folder called "files" - Do I put the reg file in here?
Sorry to be a pain but I have only been cooking for a week and still completly new to all this
Stephen
Click to expand...
Click to collapse
I have had a look. I am using the wvga version of sense 2.16, it does not have any reg files at all. I then had a look at the vga version and it does have the reg file, very odd!
Yo...it's caused on that wvga packages are dumped from an original rom and by default the .reg's, .rgu's, .dsm's and so on are invisible in win-explorer and write-protected. In vga port the files are allready modified and due to that they are visible and file-protection is disabled.
Simply load total commander, install it and in settings make unvisible files visible and disable write-protection...that's all!

[SOLVED] Can i import a reg file using RunCC?

There is a key which i need to apply after the first boot. I was just wondering if i can do that using RunCC?
If no, what would be an alternative?
any help is much appreciated
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
Many thanks Solved
quick question. are your reg files starting with: "REGEDIT4" or just normal reg dumps?
EDIT: Tried both and my RunCC does not import the reg entries.
it's normal... all my reg files start with "REGEDIT4"... (i think it's a key word that identify the reg code!)
Not working
l2tp said:
config.txt:
Code:
REG: \Storage Card\Install\Reg1.reg
REG: \Storage Card\Install\Reg2.reg
REG: \Storage Card\Install\Reg3.reg
Create the corresponding .reg file(s) and write to them anything you want in usual reg format and RunCC will apply it.
Click to expand...
Click to collapse
I tried the same in my SDConfig.txt but it didnot load the desired registry file. I am using the RunCC with modified runcc.lua .
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
mwalt2 said:
If that method doesn't work, you can either convert the registry values to a provxml (which should work 100% if there isn't a provxml that overwrites it which is processed after yours) or just put the values in a cab and have the cab run. I think the provxml should be processed without having to add anything to config.txt, you would have to add CAB: \path\to\your.cab if using the cab method.
Click to expand...
Click to collapse
Ya I am presently doing thatway only. I use XML instead of ProvXML and run it through Runcc and SDConfig.txt.
Since a new method was suggested by OP, I felt trying that. But, without success.

Categories

Resources