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.
Related
Hi all,
It's just been pointed out to me by a user that the Phone Settings icon is missing from my Settings folder in the Start Menu, and pressing Menu>Options from the HTC dialer does nothing (the phone settings are completely missing). I'm cooking 23554 with Sense 2.5 (Rhodium 2.07) for the Blackstone, and I've included PhoneSetting 6_23_0_3 which looks to contain all the right band/pin etc pages. The only thing I can see in the app.reg which may be of use is:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Extensions\Controls Folder\RemoveDefaultPropertySheet]
"Phone"=dword:4
But I have no idea if this value is right or wrong - I've made no edits to PhoneSettings from the original kitchen I downloaded so it ought to be right.
Anybody know why Phone Settings is missing for me?
millski said:
Hi all,
It's just been pointed out to me by a user that the Phone Settings icon is missing from my Settings folder in the Start Menu, and pressing Menu>Options from the HTC dialer does nothing (the phone settings are completely missing). I'm cooking 23554 with Sense 2.5 (Rhodium 2.07) for the Blackstone, and I've included PhoneSetting 6_23_0_3 which looks to contain all the right band/pin etc pages. The only thing I can see in the app.reg which may be of use is:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Extensions\Controls Folder\RemoveDefaultPropertySheet]
"Phone"=dword:4
But I have no idea if this value is right or wrong - I've made no edits to PhoneSettings from the original kitchen I downloaded so it ought to be right.
Anybody know why Phone Settings is missing for me?
Click to expand...
Click to collapse
you have to remove the redirect from reg, here is a pkg you can put in the kitchen that does it for you
twopumpchump said:
you have to remove the redirect from reg, here is a pkg you can put in the kitchen that does it for you
Click to expand...
Click to collapse
Thanks Solved it by deleting the reg key: [HKLM\ControlPanel\Phone\Redirect] (which doesn't seem to be in the package you attached, but it pointed me in the right direction!)
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
So I added MP3 Trimmer to my kitchen, but moved the location of the start icon to a Tools folder. The problem: an MP3 Trimmer icon remains in the initial start page. There is no associated .lnk file in the Start Menu\Programs folder, and the registry HKLM\Security\Shell\Startinfo\Start has the reference to the link in the correct spot.
I have tried placing the link by moving it from the default location with a MortScript, and by changing the app.dat. Same results.
I have done this same move with many other packages, this is the only one causing any problems.
No other references to MP3 Trimmer.lnk exist in the registry or kitchen. Why is it displayed in the start menu when no .lnk is present, and where is that information coming from? Thanks!
Did you check your Initflashfile.dat ?
Also the language folder may contain a app.dat or .provxml file which creates the shortcut
I didn't bothered about two folders that was empty in "\windows\start menu\programs\" until I read this post. I found one of them in Initflashfile.dat, "Outlook" and had deleted the line away. I'm still unable to find the other folder "Start Menu". It's not in Initflashfile.dat, nor any of the xml or proxml files in the "OEM Packages" folder. :-(
Check for some App.dat in EXT folder or a provxml in Project A.
Both OsKitchen and EVK has a search string inside,use it to find your dead folder.
zard said:
I didn't bothered about two folders that was empty in "\windows\start menu\programs\" until I read this post. I found one of them in Initflashfile.dat, "Outlook" and had deleted the line away. I'm still unable to find the other folder "Start Menu". It's not in Initflashfile.dat, nor any of the xml or proxml files in the "OEM Packages" folder. :-(
Click to expand...
Click to collapse
af974 said:
Check for some App.dat in EXT folder or a provxml in Project A.
Both OsKitchen and EVK has a search string inside,use it to find your dead folder.
Click to expand...
Click to collapse
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
zard said:
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Click to expand...
Click to collapse
zard said:
I'm using OSKitchen. It's not in provxml in Project A. I tried using search in OSKitchen to search "Start Menu" and "Start*.*" but can't find it. :-(
Click to expand...
Click to collapse
You probably can't find it because of hexadecimal or html entities values in which the shortcut name is probably encoded into, try looking for the encoded values instead.
Check to make sure autoshortcut isn't doing it (it could be in a reg file). Autoshortcut sucks, but I don't know if it's still used.
airxtreme said:
You probably can't find it because of hexadecimal or html entities values in which the shortcut name is probably encoded into, try looking for the encoded values instead.
Click to expand...
Click to collapse
I did try hexadecimal and html but still couldn't find it. I'm using v1.31. Maybe it is the format of the search that I'm not doing right.
af974 said:
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
Click to expand...
Click to collapse
Thanks for this but unfortunately, my kitchen is screwed up when I tried out your packages. My kitchen was alright before that. Even unchecking the two packages didn't help.
Don't worry, I'm not blaming you for the problem in my kitchen. Will have to find out what went wrong before I can test your packages again and hopefully, it can solve the problem since I can't find the culprit within my packages.
Farmer Ted said:
Check to make sure autoshortcut isn't doing it (it could be in a reg file). Autoshortcut sucks, but I don't know if it's still used.
Click to expand...
Click to collapse
Still very new to cooking so don't know what you meant by "Autoshortcut". :-(
HTC puts a file called autoshortcut.exe in one of the oem folders. It runs during customization, and creates shortcuts for htc apps. There are reg keys in the apps that get the shortcuts.
oooo__OoO__oooo said:
So I added MP3 Trimmer to my kitchen, but moved the location of the start icon to a Tools folder. The problem: an MP3 Trimmer icon remains in the initial start page. There is no associated .lnk file in the Start Menu\Programs folder, and the registry HKLM\Security\Shell\Startinfo\Start has the reference to the link in the correct spot.
I have tried placing the link by moving it from the default location with a MortScript, and by changing the app.dat. Same results.
I have done this same move with many other packages, this is the only one causing any problems.
No other references to MP3 Trimmer.lnk exist in the registry or kitchen. Why is it displayed in the start menu when no .lnk is present, and where is that information coming from? Thanks!
Click to expand...
Click to collapse
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
bobsbbq said:
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
Click to expand...
Click to collapse
What I'm talking about is behavior on the phone itself. Let's assume my kitchen searches have been wrong and it really is an app.dat issue. I have a shortcut that exists in the start menu with no associated link file or reg entry -- so there's nothing to delete to get rid of the shortcut on the actual phone!
Kitchen searches result in only the expected "MP3 Trimmer.lnk" locations and "MP3Trimmer.exe" text.
As far as I can tell, ManilaShortcut.exe only makes shortcuts for HTC People and HTC Calendar (but I have IsShortcutEnable = 0 to keep those from popping up). MP3 Trimmer isn't in the original ROM from which the Manila is based, so it's possible there's something going on there.
It's not a huge issue so I haven't been spending a lot of time trying to find or fix it, but I'm virtually out of bugs to fix. What's bothering me more is something seemingly simple that I don't understand.
oooo__OoO__oooo said:
What I'm talking about is behavior on the phone itself. Let's assume my kitchen searches have been wrong and it really is an app.dat issue. I have a shortcut that exists in the start menu with no associated link file or reg entry -- so there's nothing to delete to get rid of the shortcut on the actual phone!
Kitchen searches result in only the expected "MP3 Trimmer.lnk" locations and "MP3Trimmer.exe" text.
As far as I can tell, ManilaShortcut.exe only makes shortcuts for HTC People and HTC Calendar (but I have IsShortcutEnable = 0 to keep those from popping up). MP3 Trimmer isn't in the original ROM from which the Manila is based, so it's possible there's something going on there.
It's not a huge issue so I haven't been spending a lot of time trying to find or fix it, but I'm virtually out of bugs to fix. What's bothering me more is something seemingly simple that I don't understand.
Click to expand...
Click to collapse
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
af974 said:
Ok, i dunno why you didnt find nothing ...anyway, cook the attached file in your rom, i have set it for deleting any Start Menu.lnk in Start Menu\Programs.
Basically you can use it for deleting any dead links.
If it doesnt work try to leave ".lnk" after Start Menu.
It is a mortscript , i have include also Mortscript package in case you dont have it.
Click to expand...
Click to collapse
bobsbbq said:
It is 100 % a app.dat or initflashfiles.dat issue. Or a reg in the 0409 folder.
Also when looking in you initflashfiles be careful to look for entries that point to Windows\Start Menu
instead of Windows\Start Menu\Programs
Click to expand...
Click to collapse
bobsbbq said:
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
Click to expand...
Click to collapse
Since I was trying to improve on the response of my Contacts in Manila 2018 by mixing and matching 2016 and 2018 tabs, I took the opportunity to continue to search the elusive "Start Menu" folder in my Start Menu.
I was still not able to find it in the initflashfiles, nor dat, app.reg or proxmls. I modified the mortscript that af974 gave me into "Delete("\Windows\Start Menu\Programs\Start Menu.lnk")" and ran it from SD Card. Even after soft reset, the "Start Menu" folder is still there.
What I find strange is that in my \Windows directory, there was no "Start Menu.lnk" - I'm using Resco Explorer and is able to see hidden files. But in \Windows\Start Menu\Programs, I could see "Start Menu" folder. I was able to delete it using Resco Explorer.
bobsbbq said:
I know how frustrating this is and I have had the same in the past. I know this is not what you want to hear but the fact is there is only a few ways for a shortcut to be created. Mainly initflashfiles.dat to move or rename shortcuts, and app.reg or rgu files to create shortcuts, and by way of provxml file. The chances are 99% one of the above. But there is also the possibility of shortcuts to be created by mortscript as well but if it is your kitchen I would think you would know if you created a mortscript. There is also the Older HTC Auto shortcut found in some reg files.
I know it is sometimes hard to find but you will eventually find it.
By the way where did the package from the MP3 trimmer come from? Was it from a chinese ROM?
Click to expand...
Click to collapse
To the best of my ability utilizing search there is no reference to the link or the executable in any initflashfiles.dat/app.dat/.reg/.rgu/.*xml. Even the hex coded .dat entries still refer to a "normal" name.lnk, so my search should uncover those.
I pulled the MP3 Trimmer from the Rhodium 2.07 EXT latest packages, which is from an asian ROM at least judging from the links in the original app.dat.
No autoshortcut.exe exists in the ROM. The MP3 Trimmer and a bunch of other packages create an AutoShortcut key, but there's nothing under that so I'm not sure exactly how it's used (and it would therefore be present even if I deleted it from the trimmer package).
My guess is that it has to be either the start menu initial creation process some Manila initialization process that is creating the initial link. How it gets into a state where it remains in the start menu but no information exists to delete it is the 2nd question -- where is that information??
I've verified if I delete \Windows\Start Menu\Programs, then copy the directory structure back in the link goes away. This could be a solution long term, but I was trying to stick to the automatic creation process as much as possible.
Thanks to those who have responded and provided input so far.
Looking at a stock rom dump for the raphael, the autoshortcut operations are in a .provxml in the 0409 folders, like this:
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\SOFTWARE\HTC\AutoShortcut">
<parm name="\Windows\Start Menu\Programs\Streaming Media.lnk" value="\Windows\Streaming Media.lnk" datatype="string" translation="install"/>
<parm name="\Windows\Help\Streaming Media.lnk" value="\Windows\Help_Streaming Media.lnk" datatype="string" translation="install"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
The autoshortcut.exe is in oemdrivers. I really don't even know what the point of it is; I guess it's for book-keeping, to keep track in the registry of all the shortcuts being moved around. It could just be done by a provxml file operation instead of by autoshortcut during customization, but whatever, that's how it's done. Just try deleting the autoshortcut references. Heck, delete or rename the shortcut in the kitchen and send it to the start menu a different way (like by renaming it while copying it with an app.dat file).
Farmer Ted said:
Heck, delete or rename the shortcut in the kitchen and send it to the start menu a different way (like by renaming it while copying it with an app.dat file).
Click to expand...
Click to collapse
OK, I'm going to modify the orignal post as solved, because this simple idea (which of course didn't occur to me) is the ticket. I renamed the .lnk to .link in the kitchen and it's renamed back to .lnk when copied by the app.dat. Presto change-o, no MP3 Trimmer.lnk file in \Windows. Works like a charm.
I use osKitchen 1.33.5 with an WWE base leo image 3.14 rom for the HD2
In my kitchen I have been able to change all the start menu icons so they can be added purely by clicking a button in oskitchen. There is one icon I have left on the start menu that I can not seem to get.
I am trying to find the entry for the today icon so I can remove it and add as an app.dat entry in the build. I have done some recearch and all I can find is that the reference to the today icon seems to be in the shellres.192.dll file stored in the Base_DPI_192 folder in the OS.
I am not sure how to modify this and remove the entry. I then also need to create an app.dat file that will allow the user to add back in to the rom if necessary.
Any help would be appreciated.
Cheers!
You can't delete "Today" icon from start menu, especially via app.dat/initflashfiles.txt, as it is hardcodded. Perhaps there is a way to hide it via registry, don't know.
Start_Icon_Today.png
I don´t sure what you want. You can use the icon you want and rename it. If you want delete it perhaps you can use a .provxml like the one in HTC Messaging Client. You can delete the link you want usin the formule of the .provxml in the directory of the .xml
Regards
Im actually looking to see if I can have the option of not having the icon there at all? In my kitchen, you can choose the icons you want in the start menu simply by clicking them.
It then copies the .lnk file into the start menu by using an app.dat file. I was looking to see if this could be done for the today icon.
why not just replace the Start_Icon_Today.png ?
What I've done was, I put a folder in EXT (EXT Packages in osKitchen) called Theme, then inside that folder, I have a new folder called "StartMenu_Icons" (Am using Firestorm icons btw)
folder structure was like this:
Sources
--Devices
----HTC <my device>
------EXT Packages
--------Theme
----------StartMenu_Icons
------------files
--------------and all Start_Icon_<name>.png
am not sure if that's what you're trying to do
What I am looking to do is to give the user the option to include the today icon simply by clicking a button with in oskitchen. I have been able to do this with all other start menu icons but it doesn't seem possible to do it with the today icon as it seems to be hard encoded