Start Menu - Windows Mobile Development and Hacking General

I'm looking for a way to change the - "Programs" and "Settings" on the Start menu on the PPC, I would like to change the text but I can't find where it is stored, I've looked in any file \ DB \ Reg key... anything that I thought of but I couldn't find where it is stored, anyone has ANY idea how \ where I can find it?

No one from the experts know how?

I don't think you can change them, as of them being hard-coded into the binaries! You can't even change the folder names of the \WINDOWS\START MENU\PROGRAMS or \WINDOWS\START MENU\SETTINGS !! :!:

thats what my messing also showed
i could put a new dir in the menu if i made a dir in the
start menu dir in windows but it would not get the
right icon and i could not rename the programs dir

Maybe it's possible, when you cook your own rom. The Folder is created in the initobj.txt - File.
But i never tried it......
HTH
Stefan

I was looking at the prog - ProgramMenuPlus and it changes the Start menu, I think it uses hook of some kind to the start button event ?! could it be the way?

Related

Deletin icons on the programs list

hi,
I am having problem deleting an icon from the promgrams section of o2 XDA2.
I downloaded one program and later deleted the program through romeove program. The actual program has been deleted but has left behind an icon on the programs list. I cannot figure out a way how to delete it. Can anyone help
Manoj
Deleting items in program list
Look in "\Windows\Start Menu\Programs" - they are all there.
use explore or what ever file browsing tool that you use to get your kicks
go into the dir called windows
go into the dir called start menu
go into the dir called programs or something like that
it's just like on a pc
Use File Explorer. Go to \Windows then \Start Menu. Open \Programs and do whatever you want.

Remap Today left soft-key

If anyone is interested in changing the left soft key on the Today page, the registry key is as follows:
KEY: HKEY_CURRENT_USER/Software/Microsoft/Today/Keys/112
String Value: Default -> Name to Display
String Value: Open -> "Path to exe"
For example, I changed Calendar to "Comm Manager" as follows:
Value: Default set to Comm Mgr
Value: Open set to "\Windows\CommManagerLink.exe"
No need to restart phone.
hey, how about the weather icon ? i got no use for it...can that also be remapped ? and which registry editor do you recommend ?..thank you
How about adding the New SMS function
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
davehutch said:
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
Click to expand...
Click to collapse
Yup, just do not use the 49#.
Can't get it to work.
Name changes fine but application is always Calendar that opens.
On a soft-reset it reverts back to Calendar as per default.
Would you mind checking that it works on your device please?
thanks,
use "softkey aplet" it can change both soft key to any application installed in your device.
Copy softkey.apl into Windows folder an you will find program icon in the setting page. Start-setting-system-soft key
I use this file since WM5 and really not remember who is create this great applet but BIG thanks to them.
and a BIG thanks to you too...works fine
Add that one to my list of indispensibles
I can't fin the windows directory when i'm browsing with windows vista (even by showing hidden files and folders) :/
So i put it into my memory card and tried to move it directly by my Touch but it's like the .CPL file is hidden too.
Any help ? (i'm sorry i'm a rookie at this).
Just tried it on mine with XP
The Show hidden files/folders works fine here.
Maybe Vista?
Can anyone else using vista confirm?
Failing that, copy it to you My Documents folder, then hold your cursor on the screen underneath the last file. You'll get an option to "Show all files"
Can you delete Softkey Applet after you apply the changes?
Thanks, actually i forgot to show systems files into my Touch, i could install it and it worked Great little program !
this is freak'n great thanks!!!
davehutch said:
Maybe Vista? Can anyone else using vista confirm?
Click to expand...
Click to collapse
Yes. With Vista you cannot browse the Windows directory.
Ginex said:
Yes. With Vista you cannot browse the Windows directory.
Click to expand...
Click to collapse
Yep, this really sucks
davehutch said:
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
Click to expand...
Click to collapse
where u got the new sms?
Here are the files
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Valentin.H said:
Yep, this really sucks
Click to expand...
Click to collapse
The \Windows folder on your Touch is a system folder, and Vista doesnt display them. Go to folder options, and check the "Show system files" option. No open your Touch on Vista, go to \ and there you go \Windows
davehutch said:
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Click to expand...
Click to collapse
Thx works great
davehutch said:
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Click to expand...
Click to collapse
erm... how to get to \Windows\Start menu\programs directory? but before save the .ink file, do i need to install any program to support this newsms?
No new prog required to support it lunarken
It's a shortcut to open the sms prog and start with a new, blank message.
If you can't find your Windows folder on the Touch, hold your stylus below the last file in File Explorer and select "Show all files".
If you're running Vista, you apparently ned to make sure you have "Show System files" selected.
It only needs to go in the Windows/Start Menu/Programs folder so that the Soft Key Applet can find it.

change programs folder path

what the registry path of programs folder ???
want to change it to a software botton
like when i press program folder it go to .EXE files
up up

[Problem] Set icons in start menu

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

[Solved] How can i make an EXT Package create a shortcut in the start menu?

The file i want to add to the start menu is /windows/ProFuze KB Settings.lnk
The folder inside the start menu is /Windows/Start Menu/Programs/Tools/ProFuze KB Settings.lnk
I cant seem to get the .lnk file to copy into the Start menu folder
How can i edit this? What file should i go to to edit this? (isnt it initflashfiles.txt?)
EcoROMchef said:
The file i want to add to the start menu is /windows/ProFuze KB Settings.lnk
The folder inside the start menu is /Windows/Start Menu/Programs/Tools/ProFuze KB Settings.lnk
I cant seem to get the .lnk file to copy into the Start menu folder
How can i edit this? What file should i go to to edit this? (isnt it initflashfiles.txt?)
Click to expand...
Click to collapse
You can either put it in initflashfiles.dat, or in an app.dat inside the EXT itself
It should like this in both cases:
Directory("\Windows\Start Menu\Programs\Tools"):-File("ProFuze KB Settings.lnk","\Windows\ProFuze KB Settings.lnk")
Look at initflashfiles.dat, and see how the shortcuts are copied to the start menu (and other places, like startup). Then, do the same thing with your shortcut. If you want to put it in an EXT, then put the command into an app.dat file.
Just copy/paste a random shortcut command from the initflashfiles.dat, and change the link name as well as the folder you want to send it to. If it's a new start menu sub-folder, you need to create the directory. Look in initflashfiles again, and you'll see how to do it. I could tell you exactly what to write, but I'm not going to. You need to figure it out yourself (someone else is probably just going to write it for you, anyway, but I'm not, lol).
Farmer Ted said:
(someone else is probably just going to write it for you).
Click to expand...
Click to collapse
Wow Jedi Master, have the lotto numbers perhaps?

Categories

Resources