Hi folks,
My first post on the list here. Hopefully I've come to the right place.
I have a M1500 SPV pocket pc device. I would like to customize the Start Menu items by removing two of them -Active Sync and Internet Explorer. I have made a cab file which makes changes to the registry and would like (if possible) to delete the above mentioned items from the start menu via making a change to the registry. I know I can delete the shortcut links from the Start Menu folder but I would prefer to do it via a registry edit if possible. Or if possible, use the same cab to delete the shortcuts from the Start Menu (not sure if this is possible!?)
I'm also looking for a way to hide *all* programs from the Start->Programs screen. Any ideas how to achieve this via a registry hack?
Best Regards and thanks a lot for any help,
dav7
Dan - do you want to delete the start menu ("\windows\start menu" and all subfolders and entry on the start menu?)
Or remove most recently used entries on the start menu?
Or programs in "\windows\start menu"?
Registry isn't really your friend here, other then for the MRU list.
V
Hi vijay555,
Thanks for the quick reply. I only want to remove certain programs from Start Menu, this one...
>Or programs in "\windows\start menu"?
I know if I delete those programs from My Device->Windows->Start Menu then it will remove them from the Start Menu without deleteing the actual program. I was just wondering if there was a way to do that via the registry? i.e. perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
I am also looking to hide all programs from the main Programs page i.e. the Programs screen\page that shows all the actual Programs. I was wondering if there is a way to do that via the registry?
I know for example I am able to hide things that reside in the Control Panel settings i.e. Connections->Beam. I was wondering if there is a similar way to do that in the Programs screen?
Hope that is clear! or clearer!
Cheers,
dav
dAV:
sounds like you want to edit your startmenu.
Get a file explorer like GSFinder/Resco etc.
navigate to \windows\start menu
and delete/move everything you want to clear out.
V
perhaps there is a key in the registry somewhere that lists the items to put in the Start Menu following a hard reset?
Click to expand...
Click to collapse
heh problem is that the registry is reset when you do a hardreset
so it would just go back to default
same thing with the content of your \windows\start menu
all shortcuts would reappear after a hardreset
unless you made a program in the extented rom which removed them when it was run
Hi,
Thats basically what I'm trying to do. I've made a cab file which when run sets a lot of registry settings following a hard reset. As you said, after a hard reset the device is restored to its normal build. My cab runs right after a hard reset to make sure the device is configured the way I want it. Are there any keys in the registry which are responsible for configuring the Start Menu? I cant seem to find one for Start Menu, only the New Menu
An alternative approach is running an exe which deletes the Programs from the Start Menu folder...but I would prefer to parcel it all up in a tiny little cab file if possible...
Thanks again for any suggestions...
Cheers,
dav
i never seen anything like it in the reg
Thats a pity. I cant find anything either. I prefer to do as much as possible in either the CPF or a cab. exe's do the job but there big and more complicated to change. Neverthless seems I'm stuck with an exe for now. Oh well...
Cheers,
Dav
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
levenum said:
Hi, Dav!
Even though there is no registry solution, exe file is not your only option.
Cabs can contain a setup.dll that exports 4 functions which the system calls before and after installation or uninstall (separate function for each event).
Check MSDN for setup.dll specifics.
Click to expand...
Click to collapse
Excellent! Thanks a lot, I'll look into that.
Cheers!
Dav
hanmin said:
Get a cab file that will start up automatically after a hardreset to delete all the fies in the start menu? I think if you delete the files in the start menu, it will be removed in the Programs list. It is basically a short cut file.
Click to expand...
Click to collapse
Hi Hanmin,
I think you are correct...if you delete *all* files and folders from the Start Menu it will remove the files which are directly situated in the Start Menu folder as well as all files in the Program folder which also resides in the Start Menu folder. This will remove items from both the Start menu and the Programs screen. This is ok for me though as luckily I want to also hide all Programs from the Program screen. A lot of the device functionality has to be hidden from the end users, to prevent them from fiddling with anything and to also hide things like Games etc...
Cheers,
Dav
Hi,
I've managed to get the setup.dll working. Its really useful and stops me needing an exe for many things. However, is it possible to get the dll to show a Dialog window? I've tried incorporating a dialog to the dll but it never seems to show up. I need the user to set a value and was considering doing it via the setup dll, but so far not been able to get the dialog, or even a Message Box to show up when called within the dll?
Any ideas?
Thanks,
Dav
Here is a line of code from Install_Init function that's working perfectly for me:
Code:
g_dlg = CreateDialog(g_hInst, MAKEINTRESOURCE(IDD_MSGDLG), hwndParent, MyDlgProc);
I save g_hInst in DllMain.
As for message boxes, just call them as usual, never had a problem there, but you need to make sure you put your code in the correct function or it will not be called at the right time.
Can someone help me?
I don't know if I deleted something or not, the true is that in the start menu, i can't choose "settings", the name is there but the window doesn't open. the only way that i have is mobile shell because the items are there.
thanks in advance
Is there any way to use Reg. edits to change the unlock message "Press center Key to unlock"... I was looking in the Screenlock field but it did not give me the option. It would be great if we could change it to what ever message we want.
Any ideas guys?
best luck read these http://forum.xda-developers.com/showthread.php?t=561959&highlight=keyguard maybe u find something
it is dll imbuilt youd need to decompile
Hi everyone,
Since this morning I decided to find a way to bypass inabilty to set MMS properties.
When I'll completly figure how to modify this settings I will develop an application where you will be able to put all the settings to set correctly the MMS APN.
So, I've started to investigate on my phone this morning, and I already found that.
It seems profiles are stocked in HKCU\Software\Microsoft\ShortMsg\MMS\Profiles\
Active profile is set as String in that key : HKCU\Software\Microsoft\ShortMsg\MMS\Active
Inside this Key, there is a Key for each profiles saved.
For my case, there is a key called "ORG-FR-APP". Inside this key, I can found this value :
TO-NAPID : String (Default Value = MMSAPN in my case)
TO-PROXY : String (Default Value = MMSPROXY in my case)
ADDR : String (Default value = http://mms.orange.fr in my case)
MS : DWORD (Default Value is 300).
I decide to modify value in registry trough MFG and I finally got that :
Before : http://attachments.xda-developers.com/attachment.php?attachmentid=880724&stc=1&d=1328002843
After : http://attachments.xda-developers.com/attachment.php?attachmentid=880725&stc=1&d=1328002843
The TO-NAPID and the TO-PROXY value seems to be linked to something I can see in "View config XML" but I don't know where I can edit them.
In deed, If I can edit them, the problem will be completely solved.
Here, the two screenshots which made me believe that the TO-NAPID and the TO-PROXY value are linked to something else in the file :
http://attachments.xda-developers.com/attachment.php?attachmentid=880724&stc=1&d=1328003211
http://attachments.xda-developers.com/attachment.php?attachmentid=880725&stc=1&d=1328003211
If someone know how to modify the set of values for NAPDEF and PXLOGICAL, I'm ready to do the software .
It's inside a XML File, somewhere in the phone.
I'll posting here if something new happens.
I'm gussing you've read through this already, but if not, I'm sure it could be of some help. http://msdn.microsoft.com/en-us/library/bb737506.aspx
I went trough a similar path trying registry edits through LG's MFG app and using the program DiagProvXML to try and push my own non-registry changes... but to no avail unfortunately. Hopefully, you'll be able to program something that works.
It really is too bad we can not just write to the Windows directory and simply add/edit the carrier __PROV_*.XML files directly.
Just in case anyone is tracking this thread, you can now use HeathCliff's WP7 Root Tools to copy the appropriate XML files to the windows directory and enable MMS on ROMs with Internet Sharing, that lack the correct carrier settings. Let me know if you need specifics on how to make this work.
I am interested in this. Would be useful for others coming from google in future.
yeah, would love to get those informations, too, sonus.
thanks a lot in advance
Sorry, for the delayed response. I had not tracked this thread. Have you guys tried the "LG Network Setup App"? One forum member reports that he was able to select his network from that marketplace app and enable MMS specific to his carrier. That's the easiest way to do this.
Otherwise, the general steps are
1. Unlock your phone using MFG (plenty of threads outline this, so do a search)
2. Install Heathclif''s WP7 Root Tools using "Windows Phone Device Manager", "Windows Phone Power Tools", or any way you can think of to copy the XAP install file for Heathclif's WP7 Root Tools onto your phone.
3. Copy the two relevant to your provider PROV XML files from the attached zip and the Mail Provider XML file to your windows directory using WP7 Root tools on the phone. The files are sorted by carrier_country_MCC or MNC code. There's a wikipedia page with all the providers and their respective MCC/MNC codes, I had linked to it in one of my posts on MCC a while back. If your carrier doesn't have a file, try using one of these files as a template to make a file for your carrier
4. Use MFG to select your XML file (MFG>>Engineer Menu>>Other Settings>>Set network Profiles>> Search for the MNC or MCC for your provider (it searches according to filename)
http://depositfiles.com/files/xebamjoer
http://depositfiles.com/files/a8xl7r9wz
The CM devs are unable to include this functionality for our device (it is against CM design guidelines to enable soft keys, because zenfone's hard keys are not backlit and therefore cannot be hidden), so I thought I'd share my findings on a simple method to do it yourself.
(Disclaimer: while this does not involve anything difficult, you do have to make minor changes to important system files. Please proceed with caution and at your own risk. I cannot be held responsible for any problems that may result in following this guide.)
First, open the CM file manager and if you haven't done so already, give it root access (open the sidebar, press the gear icon at the bottom, then open "general settings" and scroll down to "advanced" and you'll find "Access Mode", which you set to root access).
To enable soft keys:
Use the file manager to navigate to the system folder, where you'll find the build.prop file. Tap it and select to use editor to open it. Then scroll down to the end of the file and add this line:
qemu.hw.mainkeys=0
Then click the disk icon up top to save the edited file. Reboot your device and you should have the soft keys.
If you want to turn them off temporarily just open the build.prop file again and add a # in front of qemu.hw.mainkeys=0 then save and reboot.
Next, how to disable the hard capacitive keys:
Again using file manager, navigate to system-usr-keylayout. Open the ftxxxx_ts.kl file with editor. Add a # to the front of the first three lines. They should look like this:
#key 158 BACK VIRTUAL
#key 102 HOME VIRTUAL
#key 139 APP_SWITCH VIRTUAL
Now save the file and reboot your device, and the hard keys should now be disabled.
If you want to enable them again just go back to the ftxxxx_ts.kl file and remove the three # marks that you added, and as usual save and reboot.
I have not tried this on rooted stock firmware, so don't know if the method is the same. Would be good if someone on stock could try and let us know. Think you need a 3rd party file explorer (something like ES Explorer) to do it in stock?