Home | Forum
 |
|
 |
Posted: Mon Apr 02, 2007 1:36 pm |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
| dmart123 wrote: | 20100TLSE_AppStartupSec.exe is an earlier unlock designed for the iCN530 (my model). It looks for SD card and if found will launch the any exe file(s) placed in startup folder (eg. Taskbar.exe or wolftoolbar.exe/WolfNCU.exe).
If no SD card it runs NavcarCE.exe (which on 530 starts Navman gps software)
Did this method work for you? |
It works for me on N40i - but I am sure there is no NavcarCE.exe on this one. Please have a look at attached TestAppCe.cpp file
http://www.fast-files.com/getfile.aspx?file=770
.. extracts....
hF = FindFirstFile (_T("/Storage Card/Startup/*.exe"),&FindFileData );
if (AppCard) {
// launch above exe
} else {
...
ShExecInfo.lpFile = _T("/My Flash Disk/Navman/Lightning/AppStartupSec.exe");
..
}
.... |
|
|
|
|
 |
|
 |
Posted: Sun Apr 08, 2007 5:05 pm |
|
|
| Homer |
| New Member |
|
| |
| Joined: 01 Apr 2007 |
| Posts: 4 |
|
|
|
 |
 |
 |
|
Hello all!
Can I use this method (or any other method) on my icn750, it has different file structure?
I found appstartupsec.exe from \diskonchip\navman\appstartupsec.exe.
Also I tried to do a shortcut from smartST_CE.exe which is located in \diskonchip\navman\smartST_CE\ and it says Unable to create shortcut. It makes a shortcut but the size is 0 bytes.
Any help appreciated |
|
|
|
|
 |
 | | New AppStartup especially for slower cards ! |
|
 |
Posted: Tue Apr 10, 2007 9:49 pm |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
I managed to compile AppStartup executable for N40i.
I have also added a 2 sec delay - This ensures slower SD Cards are setup correctly(Worked on my Crucial 2GB)
With SD Card : Launches any *.exe in /Storage Card/Start/
If no application is found (i.e, no SD Card)
Launches the /Program Files/Navman/SmartST_CE/SmartST_CE.exe
Works great on N40i
http://www.fast-files.com/getfile.aspx?file=1406 |
|
|
|
|
 |
 | | Re: New AppStartup especially for slower cards ! |
|
 |
Posted: Tue Apr 10, 2007 9:50 pm |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
| uday_chi wrote: | I managed to compile AppStartup executable for N40i.
I have also added a 2 sec delay - This ensures slower SD Cards are setup correctly(Worked on my Crucial 2GB)
With SD Card : Launches any *.exe in /Storage Card/Start/
If no application is found (i.e, no SD Card)
Launches the /Program Files/Navman/SmartST_CE/SmartST_CE.exe
Works great on N40i
http://www.fast-files.com/getfile.aspx?file=1406 |
If someone is interested in source file
http://www.fast-files.com/getfile.aspx?file=1407 |
|
|
|
|
 |
|
 |
Posted: Wed Apr 18, 2007 1:56 pm |
|
|
| maxxchip |
| New Member |
|
| |
| Joined: 18 Apr 2007 |
| Posts: 1 |
|
|
|
 |
 |
 |
|
maybe it helps, NavMan F20 has built in 512MByte MicroSD Storage Card, if you take it apart, can take it out, or remove Navman sticker at the back of the unit below there is a small door, there can be the card removed too.
On the MicroSD, there is a System directory, i think there must be the -iCN410.bm and iCN410.elf file modified to run other Nav software.
I'm not sure that it has WinCE 4.2 core, but it has some special OS. |
|
|
|
|
 |
 | | Re: New AppStartup especially for slower cards ! |
|
 |
Posted: Wed Apr 18, 2007 9:41 pm |
|
|
| pmill |
| Super Member |
 |
| |
| Joined: 30 Jan 2007 |
| Posts: 78 |
|
|
|
 |
 |
 |
|
| uday_chi wrote: | I managed to compile AppStartup executable for N40i.
I have also added a 2 sec delay - This ensures slower SD Cards are setup correctly(Worked on my Crucial 2GB)
With SD Card : Launches any *.exe in /Storage Card/Start/
If no application is found (i.e, no SD Card)
Launches the /Program Files/Navman/SmartST_CE/SmartST_CE.exe
Works great on N40i
http://www.fast-files.com/getfile.aspx?file=1406 |
Awesome, this will come in handy! |
|
|
|
|
Posted: Thu Apr 19, 2007 10:38 am |
|
|
| dmart123 |
| Site Admin |
 |
| |
| Joined: 14 Nov 2006 |
| Posts: 396 |
|
|
|
 |
 |
 |
|
| uday_chi wrote: | It works for me on N40i - but I am sure there is no NavcarCE.exe on this one.
.. extracts....
} else {
...
ShExecInfo.lpFile = _T("/My Flash Disk/Navman/Lightning/AppStartupSec.exe");
..
}
.... |
Nice work.
My mistake Uday_chi. Hadn't actally looked at source code just assumed that was how it functioned. Now I think about it I recall copying original Appstartupsec to the Lightning directory (now I understand why)
| uday_chi wrote: | | With SD Card : Launches any *.exe in /Storage Card/Start/ .... |
Did you make it storage card\start (not 'startup'?)
Could you upload the compiled file (I don't have compiler) and others may like to use your modded file  |
|
Last edited by dmart123 on Tue May 08, 2007 8:33 am; edited 1 time in total |
|
|
|
Posted: Thu Apr 19, 2007 11:45 am |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
| uday_chi wrote: | | With SD Card : Launches any *.exe in /Storage Card/Start/ .... |
Did you make it storage card\start (not 'startup'?)
Could you upload the compiled file (I don't have compiler) and others may like to use your modded file [/quote]
I wrote it wrong in my earlier post it is /Storage Card/Startup/*.exe)
I shall compile a fresh one and upload tonight.
Order:
1) 2 sec sleep
2) /Storage Card/Startup/*.exe
3) /Program Files/Navman/AppStartupSec.nav.exe
File in step "3" Is renamed original AppStartupSec.exe I assume this program does more than just starting SmartST_CE.exe |
|
|
|
|
 |
 | | unlock navman n40i "a filename must be specified" |
|
 |
Posted: Thu Apr 19, 2007 11:58 am |
|
|
| mikmik |
| New Member |
|
| |
| Joined: 19 Apr 2007 |
| Posts: 3 |
|
|
|
 |
 |
 |
|
I have followed the procedure fully checking the correctness of links.
However the error on startup is persistent.
"A filename must be specified" is shown and the hypotesis is that the new Navman has changed something in addressing.
The n40i version is 4.000.016.
Please, tell where to download the PRZ24 source code in order to debug and rebuild the stube file.
I understand the new startup file is pointing to the directory on secure digital card, where the default link is the Taskman. SO Taskman,exe should be loaded, but this chain apears wrongly executed by Navman PDA.
Thank you for any help and might be another option will be available instead?
2)
I would appreciate to read how to play MP3 and which games can be found and where. Thank you. |
|
|
|
|
 |
|
 |
Posted: Thu Apr 19, 2007 12:23 pm |
|
|
| dmart123 |
| Site Admin |
 |
| |
| Joined: 14 Nov 2006 |
| Posts: 396 |
|
|
|
 |
 |
 |
|
Hi uday_chi
AppStartupSec.exe seems to be common to many models (maybe all). I suspect it does different things on different units but really not know.
i'm no programmer but many adding more 'else' statements, each with modded Appstartup paths of the other units would make this a "universal" unlock for Navmans? The unlock would run exe from startup or if no SD/CF card would run original Appstartupsec to launch as per normal.
To unlock would just need to copy original Appstartup to new location below and place your compiled Appstartupsec file in old location - should work
Paths required as else statements are probably:
For 510:\My Flash Disk\Backup\Ficino
For 520:\My Flash Disk\Backup\Shackleton
For 530:\My Flash Disk\Navman\Lightning
For 550:\cf disk\navman\Socrates
For 750:\diskonchip\navman\smartST_CE\
For n20i, n40i,n60i: dirs??
Is this possible? |
|
|
|
|
Posted: Thu Apr 19, 2007 1:21 pm |
|
|
| mikmik |
| New Member |
|
| |
| Joined: 19 Apr 2007 |
| Posts: 3 |
|
|
|
 |
 |
 |
|
Yes, the 'soft hack' consists in the replacement of the 'hardcoded' OEM's Startup sequence with the slightly changed and compiled example of the startup stube provided by Microsoft SDK.
The 'universal' solution should simply implement the "CASE" switch with the list of all possible different options (models).
A better alternative will be the compiled EXE stube with an INI file supplying the correct directory and file name, which might be changed by user...
I have no right compiler to rebuild the code for WIN CE, but in the code:
// TestAppCe.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
SHELLEXECUTEINFO ShExecInfo;
WIN32_FIND_DATA FindFileData;
TCHAR AppPath[MAX_PATH];
HANDLE hF;
BOOL AppCard = FALSE;
hF = FindFirstFile (_T("/Storage Card/Startup/*.exe"),&FindFileData );
if (hF != INVALID_HANDLE_VALUE)
{
AppCard = TRUE;
}
FindClose (hF);
ZeroMemory(&ShExecInfo,sizeof(SHELLEXECUTEINFO));
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
if (AppCard)
{
_tcscpy (AppPath, _T("/Storage Card/Startup/"));
_tcscat (AppPath, FindFileData.cFileName);
ShExecInfo.lpFile = AppPath;
ShExecInfo.nShow = SW_SHOW;
}
else
{
ShExecInfo.lpFile = _T("/My Flash Disk/Navman/Lightning/AppStartupSec.exe");
ShExecInfo.lpParameters = lpCmdLine;
ShExecInfo.nShow = nCmdShow;
}
ShellExecuteEx(&ShExecInfo);
return 0;
}
I see the only possibility of missing file name in INVALID_HANDLE_VALUE clause because EXE file is absent.
Cannot understand how this error might be generated, being the Taskman.exe physically available there.
The "else clause" should be replaced with all possible locations, model by model, but maybe after the reading of the file in the root directory saying which model is used:
/My Flash Disk/Navman/Lightning/AppStartupSec.exe
...
I would appreciate the availability online of a comprehensive list of differences between physical structures of different models:
- root, which files, which content
- startup directory, which file
- main file, where, the name
- ... |
|
|
|
|
 |
|
 |
Posted: Thu Apr 19, 2007 2:06 pm |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
RE: dmart123 & mikmik
AppStartupSec.ini file where one can specify alternative paths (in order) is not a bad idea at all. It is indeed possible. |
|
|
|
|
Posted: Thu Apr 19, 2007 5:18 pm |
|
|
| scoobydoo |
| Member |
|
| |
| Joined: 05 Mar 2007 |
| Posts: 10 |
|
|
|
 |
 |
 |
|
| uday_chi wrote: | | uday_chi wrote: | | With SD Card : Launches any *.exe in /Storage Card/Start/ .... |
Did you make it storage card\start (not 'startup'?)
Could you upload the compiled file (I don't have compiler) and others may like to use your modded file
I wrote it wrong in my earlier post it is /Storage Card/Startup/*.exe)
I shall compile a fresh one and upload tonight.
Order:
1) 2 sec sleep
2) /Storage Card/Startup/*.exe
3) /Program Files/Navman/AppStartupSec.nav.exe
File in step "3" Is renamed original AppStartupSec.exe I assume this program does more than just starting SmartST_CE.exe |
Uday_chi,
first of all, many thanks for your Appstartupsec.exe file : the unlocking works great on my N60i. no more issue with slow SD card thanks to your 2 sec sleep time.
I think the point 3/ of your previous message is a good idea : the original navman AppStartupSec.exe file is not only used to start SmartST_CE.exe : for example I have observed some synchronization issue with smart ST desktop , ie the N60 is no more recognized by navman soft and you have to switch with active sync to the original Appstartupsec.
have a nice day
Scooby |
|
|
|
|
Posted: Thu Apr 19, 2007 8:24 pm |
|
|
| uday_chi |
| Super Member |
|
| |
| Joined: 23 Mar 2007 |
| Posts: 36 |
|
|
|
 |
 |
 |
|
Uploading the application I am using (copy from my Navman N40i)
AppStartupSec.exe (http://www.fast-files.com/getfile.aspx?file=2555)
Sequence:
1. 2 sec sleep
2. Execute: /Storage Card/Startup/*.exe
3. Alternative: /Program Files/Navman/AppStartupSecNav.exe
Above AppStartupSecNav.exe is renamed original AppStartupSec.exe
I can enhance the program to read things from Startup.ini file ... if someone really asks for it  |
|
Last edited by uday_chi on Fri Apr 20, 2007 7:39 am; edited 1 time in total |
|
|
|
Posted: Thu Apr 19, 2007 8:50 pm |
|
|
| mikmik |
| New Member |
|
| |
| Joined: 19 Apr 2007 |
| Posts: 3 |
|
|
|
 |
 |
 |
|
N40i identification
In the root the file "Source.txt" exists with the following text inside:
Created: 2006-08-31 11:40:38:0843
Software: N40i 4_10_0025
Map Detail: Detail maps, World Outline
Map Data: EU 4_02_015
Map Region: ..
Part Num: ...
In
\Mobile Device\Program Files\Navman
the file named AppStartupSec.exe will be launching the
\Mobile Device\Program Files\Navman\SmartST_CE\SmartST_CE.exe
The last published file is working. Thank you.
1)
Could you post the source code and "howto" compile for WinCE please?
2)
Could you explain how to extend the unlocked NavMan with mp3 player on/from SD, divx player, and maybe some games please? |
|
|
|
|
Powered by phpBB © 2001-2003 phpBB Group
|