[SOLVED] Programs "Start Menu" from imported ROM - Windows Mobile

I hate to ask on here because I feel like the answer should be obvious but it hasnt been.
I imported the latest AT&T ROM for the Tilt 2 in to OSKitchen and have been customizing/modding the heck out of it. Added my own software, removed most of the AT&T crap. Changed SYS to 21916 and even 2019 Manila without difficulty.
What is stumping me? The stupid default shortcuts for things like ActiveSync or email setup , remote destop Windows Live etc...
Most apps I have changed the app.dat to modify location for most things that I kept. However I have searched in both sys and EXT for prov.xml files, reg files basically ALL file contents looking for the likes of the apps above and just CANT find reference to them.
Is there some default behavior that says if a .lnk file exists in windows make a shortcut in the root of "Programs" ? or what am I missing. (Even that doesnt hold water though because activesync is actually async.lnk.
I know I can use something like mortscript to just move them around but this is more about wanting to know what the heck I seem to be missing. Thanks in advance and hopefully this isnt a stupid question.

hx4700 Killer said:
I hate to ask on here because I feel like the answer should be obvious but it hasnt been.
I imported the latest AT&T ROM for the Tilt 2 in to OSKitchen and have been customizing/modding the heck out of it. Added my own software, removed most of the AT&T crap. Changed SYS to 21916 and even 2019 Manila without difficulty.
What is stumping me? The stupid default shortcuts for things like ActiveSync or email setup , remote destop Windows Live etc...
Most apps I have changed the app.dat to modify location for most things that I kept. However I have searched in both sys and EXT for prov.xml files, reg files basically ALL file contents looking for the likes of the apps above and just CANT find reference to them.
Is there some default behavior that says if a .lnk file exists in windows make a shortcut in the root of "Programs" ? or what am I missing. (Even that doesnt hold water though because activesync is actually async.lnk.
I know I can use something like mortscript to just move them around but this is more about wanting to know what the heck I seem to be missing. Thanks in advance and hopefully this isnt a stupid question.
Click to expand...
Click to collapse
Try look in the initflashfiles.dat file.

Lol sure enough. More proof positive that Win7 search is garbage. I had it search file contents but for whatever reason it didnt find those shortcuts because it didnt search that file and it is indexed.

You can change the name of the actual .lnk then using an app.dat rename it and place it in where you'd like. I was having this problem with WM Live so I renamed the actual "WLMLauncher.lnk" to "_WLMLauncher.lnk" and then added this line:
Code:
Directory("\Windows\Start Menu\Programs\Internet"):-File("Windows Live.lnk","\Windows\_WLMLauncher.lnk")
to an app.dat in the Start Menu section of my kitchen.
This way whatever is natively calling that link won't be able to recognize it anymore.
If you're simply having trouble finding all the .lnks, just search your SYS XXXXX directory for ".lnk" and that should pull up all the async and email links that you're having trouble with.

Related

New App Idea

I was wondering if anyone knew of or could assist in writing an application that makes sense to me:
I spend half my life updating software on my Kaiser (and apps like apptodate, etc are very helpful), and I am constantly rearranging the icons after an update of a program. Icons are placed in the Start Menu generally in the main Start Menu/Programs Folder or in the Games folder, but virtually never anyplace else.
I would love a program that would allow you to select a cab for installation, search for an existing link to that program and move (or overwrite as necessary) the new .lnk file that the program update installs into the identical location of the old .lnk file. If it were a brand new installation, perhaps it could ask where you wanted the icons/links created so they wouldn't have to be moved later.
Does this exist and/or does this sound useful to others? It sounds like a lot of the functionality that is in Sashimi (which I also use and love), but not quite.
Thanks
RK
BTW I spend the other half my life updating the ROM

Which Landscape program is the best - Tilt 2 user

Hey folks...
I know, I know...too many random threads about the same questions...
I've searched and searched but I found a few programs that look like they do the same.
I brought an AT&T Tilt 2. I love the TF3D and I'm looking to download a quick program that allows me to use the phone in landscape or portrait when ever I feel in any menu or screen.
I've found a few choices:
Project Pulse - http://forum.xda-developers.com/showthread.php?t=588476
Gyrator - http://forum.xda-developers.com/showthread.php?t=550973
Change Screen - http://forum.xda-developers.com/showthread.php?t=550973
I'm not sure which version is best or right for me...
To be honest...I dont' even know what version of Manilla I have...or what it is just yet.
I'm also looking for a way to remove a few of the standard programs AT&T added to this phone. When my phone is idle and I'm not touching it...it's operating at 70%. It's hurting the performance of the phone and I'm looking to lower the percentage.
I know you guys are probably going to screen: LOCK...but I've honesly searched a ton for answers.
Thank you much,
Manila is TouchFLO 3D aka HTC Sense aka TF3D, the thing with the flippy clock and the different tabs. If you're rockin' the AT&T default ROM, then you definitely have Manila 2.1. Project Pulse is only useful for people using Manila 2.5, since it doesn't have landscape, unlike 2.1. Project Pulse essentially is a "hacked" landscape mode for a landscape lacking Manila 2.5.
I personally use Changescreen, since it is compatible with almost any program and supports Manila. Apparently, Gyrator will work with regular programs, but won't properly rotate Manila into landscape mode. The only thing you need to remember is to remove "Manila" from the Changescreen exceptions tab, or otherwise it won't work when rotating Manila on the homescreen.
Though I haven't done any of this myself (since I'm not on the AT&T ROM anymore), there's an XDA-Wiki article (here) which details which files and registry keys should be deleted. Hope that clarifies things for you
Ahhh... I see...
So the only folks with Manilla 2.5 are those with flashed ROM's...since Manilla 2.1 is on the stock ROM?
I guess I will be downloading Changescreen and playing around with it.
I still have no idea how to remove the programs that came on the phone. I saw the link you posted...but it doesn't say how to access that screen. Do I simply plug my laptop via usb cord go through the files?
If I have to do this via computer...do I simply "delete" the files/folders?
Thanks again,
You can do it from a computer, but it's a lot easier to use File Explorer Mobile (included on your device) and navigate to the listed file locations and delete the files and folders.
For the registry entries, you can use CERegEdit (from the computer while the device is connected via USB), and there are tons of registry editors for exclusive use on the device (no computer needed). I personally use Dotfred's free multipurpose task manager for that, but there are other free options besides that, like PHM Regedit.
Thanks Dave...
I just saw that I can access all of those files with File Explorer (neat little program).
-----------------------------------------------------------------
I have 1 more question now:
On the XDA/WIKI for each program there are only 2 files. Example is below:
Glu Diner Dash 2
Files
\Program Files\Glu\Diner Dash 2 (1.5mb)
\Windows\Start Menu\Programs\Games\Diner Dash 2.lnk
------------------------------------------------------------------
Am I deleting both of those files in those two locations? Or can I just go into \Program Files\Glu\Diner Dash 2 and delete the entire folder?
When I use File Explorer, I see about 6 files in that folder...not just one.
Thanks,
You'd want to delete the whole "Diner Dash 2" folder, since you don't want that program, then you'd want to browse to \Windows\Start Menu\ and delete the appropriate .lnk file associated with the program. This will pretty much remove the program from the device, and deleting the .lnk will remove it from the start menu.

[REQ]How to create a Quick Link to "Games"

Hi,
I'm new in Manila... and the HD2.
How to create a Quick Link to a subfolder like "Office Mobile" or "Games".
I was able to Create a Name and an Icon by changing HKLM/software/htc/manila/Home, but don't find how to create a path to a subfolder like "Office Mobile" or "Games".
I try to modify "exePath" registry key (\Windows\Menu Démarrer\Programmes\Jeux ), but it doesn't work...
any idea?
hum hum, it seems to be difficult to find a good way
Perhaps it's possible to do it using Morscript...
On my old Omnia, I created a file called Games.mscr, where we find :
Run \Windows\SamsungPrograms.exe,\Windows\Menu Démarrer\Programmes\Jeux
my problem is that I don't find the "SamsungPrograms.exe" equivalent in the new HD2 !!!
please, any idea ?
for the moment, I create a shorcut to "Games" with RescoExplorer...
but it opens with RescoExplorer
I'm sure we can find better way to open directly the "Games" (or "Office" or "Multimedia" or ...) directory with a Quicklink.
I'm sure you have the answer , please, share it
I think I found something impossible to do with Leo !!!
or you don't want to share your solution?
fredcom2 please share your solution. so Want to have this.
sorry for my bad english...
in my previous message, I'd like to say that I probably find something impossible to do with Leo.
I'd love to have a solution for a Quicklink to a folder, but I don't have...
My previous phone was an Omnia and it was possible to create a Morscript shortcut with something like that :
"Run \Windows\SamsungPrograms.exe,\Windows\Menu Démarrer\Programmes\Jeux"
but I don't find the equivalent of "SamsungPrograms.exe" in our Leo ... so no solution for the moment.
sad
This should give us a clue... http://forum.xda-developers.com/showpost.php?p=4922420&postcount=33
Another clue... seems like we need a string value saying Command http://forum.xda-developers.com/showthread.php?t=518217
Hi tboy2000,
thanks for your time.
you pinpoint what is NOT working for our HD2.
in "old" manila, we had to change something like "HKLM\Software\HTC\Manila\ProgramLauncher\18"...
but we have no more "Manila\ProgramLauncher" key.
in fact we have something close : "HKLM\software\htc\manila\Home\18" and we have "exepath" instead of "Command"... but it's not working for me as my folder is always open by RescoExplorer or FileExplorer and NOT with the StartMenu Launcher.
I probably do something wrong, but I'm not able to find what's wrong
http://forum.xda-developers.com/showthread.php?t=607682 (post# 9)
Hi,
any news about this subject?
I'm allready working with a shortcut opening the "Game" folder with FileExplorer (or RescoExplorer), but not directly in the StartMenu...
any idea?
I had this question too but then found an alternative solution which involves 1 extra press:
move the games folder [which you see when you press the windows hardbutton] to the top of that screen; then all you do is press windows button; press "games" and Robert is your Uncle
Hi,
many month later, same question : is there any clean solution to open a subfolder like "Office Mobile" or "Games".
It was possible with my older phone (Omnia), I saw video where it's possible with Iphone... so is there a way to do it with our HD2?
fredcom2 said:
Hi,
many month later, same question : is there any clean solution to open a subfolder like "Office Mobile" or "Games".
It was possible with my older phone (Omnia), I saw video where it's possible with Iphone... so is there a way to do it with our HD2?
Click to expand...
Click to collapse
pm watcher64. maybe if you are nice to him, he will explain it to you. Yes there are ways, he made a shortcut for me for my movies folder.
edit: here is his post explaining how to do it:
http://forum.xda-developers.com/showpost.php?p=7276404&postcount=15
@nrfitchett4
thanks for your answer...
BUT this shortcut only opens a FileExplorer directory...
what I mean, and what I want, is to open directly the Windows Program windows in the good directory (say Multimedia or Games or Tools).
Again, it was possible with my old WM Samsung Omnia, ant it's possible with Iphone.
edit: in RescoExplorer, it's possible to create a shortcut of a directory with "Files/SendTo/asAShortcut"... but, as fileExplorer, it just open RescoExplorer and not the Windows Program windows
works for me with normal file explorer of windows.
i just make a shortcut with the file explorer and copy it to windows/startmenu.
DN41
I'm sorry for my bad english...
I know that it's possible to have a shortcut who opens FileExplorer or RescoExplorer in a directory like Windows/StartMenu/Programs/Games ... BUT it's completly different that opening the "Games" directory by Start/Games... this is not the same screen.
So my question is : is it possible to open directly the Start/Games?
on the 2 pictures below, we can see the difference between the 2 possibles open...
im not sure it does shortcuts to folders on the homescreen, if it was s simple and easy method im sure you would have been directed to it already

Trying to customize Start Menu

My Start Menu is really crowded. The Custom ROM I had on my TP2 had the icons sorted into folders -- which I really liked -- so I'm trying to do that on my HD2.
Doing that through File Explorer seems tedious, however, whenever I navigate to the Start Menu folder on my PC with the phone hooked up via USB, I can't move icons into folders, I'm told I don't have the permissions.
Any fix?
Also, is there any way to get the Start Menu (and it's folders) to sort themselves like Windows Explorer typically sorts files -- folders first, files second, and after that alphabetically?
I'm using Windows Mobile 6.5.5 if it makes any difference.
Back to the top...
Would appreciate help.
I'm not aware of any editor for the start menu I'm afraid, but I'm happy to be proven wrong.
I've tidied mine before now, but just using the method you suggested and using totaly commander. At least I could multi-select links, rather than move them 1-by-1.
Sorry mate.
Maybe i'm missing something, but I can't replicate the problem? I have just tested this, and I can quite happily browse to the windows/start menu/programs folder of my mobile from my pc, (it takes quite a while to open the windows folder, maybe 2 minutes) , then create folders and move links around without a problem. Is that what you are trying to do?
<Edit>Using windows 7 ultra, and i have the allow all programs tweak from bsb tweaks, doesn't that set the permissions in teh registry to something less controlling?
I´m looking for a tool that not only sorts the icons but also changes the registry settings for the links. That means that if you uninstall the program the start menu icon is also removed and so on...

Can you extract a single-file app from another WM OS?

Here is what I'd like to do: I'd like to use Samsung Omnia 2's default Contact Manager with my other WM phone. So I copied the Omnia 2's contact manager program in the \Windows folder (SECContact.exe) to my other WM phone and tried to run it. But it only gives me a black screen.
I know you probably should install an app rather than copy the .exe file, but since it's only a single-file program, I was hoping this would work.
Is there any way to make this work? I really like Samsung Omnia 2's contact manager and calendar apps.
i dont know what wm phone youre trying but there are extracted samsung app in cab files floating around on modaco forum. that calendar is called touch calendar.. google search it
screwdriv said:
i dont know what wm phone youre trying but there are extracted samsung app in cab files floating around on modaco forum. that calendar is called touch calendar.. google search it
Click to expand...
Click to collapse
I'm trying to extract the calendar and contact apps.
Yes, I've seen them at Modaco.
But the problem is, they are not in CAB format. They are in just zipped files to be used when creating a custom ROM.
Is there an easy way to create an installable CAB file from these extracted files?
You got a black screen cos You didn't copy the corresponding DLL file(s) also. The ZIP files are not always for ROM creation, sometimes they are just for copying. And if You didn't find i8000 contact manager and calendar CABs, You didn't search enough, sorry.
For CAB file creation search for WinCECabManager.
If you have a PC with a Microsoft development environment on it, you can use the command DUMPBIN /ALL SECContact.exe to dump out the program's import table, which contains a list of the DLLs the program requires.
If you use a Borland/Embarcadero development setup, Rad Studio, Delphi, C++ Cuilder etc., TDUMP does a similar job.
If it has been written in .NET use Red Gate's .NET Reflector to open it up and see the address spaces it requires.
aiiro said:
You got a black screen cos You didn't copy the corresponding DLL file(s) also. The ZIP files are not always for ROM creation, sometimes they are just for copying. And if You didn't find i8000 contact manager and calendar CABs, You didn't search enough, sorry.
For CAB file creation search for WinCECabManager.
Click to expand...
Click to collapse
Well, I did get the i8000 contact manager and calendar apps from Modaco, but they result in the same black screen also.
http://windows.modaco.com/topic/298414-cabs-repository/
Is it possible that these apps are supposed to work only on Samsung phones from the beginning? It's conceivable that these apps check the device first and decide to operate or not based on the device.
stephj said:
If you have a PC with a Microsoft development environment on it, you can use the command DUMPBIN /ALL SECContact.exe to dump out the program's import table, which contains a list of the DLLs the program requires.
If you use a Borland/Embarcadero development setup, Rad Studio, Delphi, C++ Cuilder etc., TDUMP does a similar job.
Click to expand...
Click to collapse
You do NOT need these development environments to examine native apps, you simply need CFF Explorer, and the best is, it costs nothing because it is freeware!
Why do low-level actions on .exe analysis if probably the packaging on the donor device has done already all you need? A rough workflow could be:
Get the .nbh from the donor device
dump it with e.g. OS Builder
identify the package with the application you need
You could also pick it from a kitchen for the donor device.
It will require effort to analyze the dependencies (.rgu, .provxml) and linked .dll.
In general there are apps that are easy to get and others are difficult, no simple rule here.
@jwoegerbauer Good point!
CFF Explorer is a nifty bit of work for a freeware program.
Click on the Dependency Walker tree entry to see what the program requires.
My view of the things
tobbbie said:
Why do low-level actions on .exe analysis if probably the packaging on the donor device has done already all you need?
Click to expand...
Click to collapse
An .EXE (always by default) relies on COREDLL.DLL, regardless the .EXE is written either in managed or in native code, but COREDLL.DLL is not COREDLL.DLL. It is alone OEM's decision what functionality to pack into device's COREDLL.DLL . Means which API-functions COREDLL.DLL exports.
This also is known as OS's license level. For a core version, i.e small function range, OEM (actually) has to pay Microsoft a license fee of $3 USD, a pro version, i.e full function range, (actually) costs $16 USD.
This in mind, you first of all always have to compare the unit's COREDLL.DLL's export table and the .EXE's import table, if an .EXE will not run, hereby mostly reporting an error like "components missing".
Resume: Only if you find the APIs imported by .EXE in COREDLL.DLL's export table, the .EXE runs.

Categories

Resources