Understanding the links in LSK and RSk - Windows Mobile Software Development

Hi all,
in the Windows directory you got the directorys RSK und LSK. This is the abbreviation for RightSoftKey and LeftSoftKey.
In these directories one find a link to the software which is supposed to start if one presses the left or right softkey.
Somehow my links are broken so I tried to fix them. For example: the left softkey is supposed to start the calendar.
So, this isnt working: couldnt find the directory states the errormessage.
So I look into the Windows directory, found the calendar.lnk and copied it to the directory LSK.
Not working. If I look at the properties of the link in LSK, I see that the file has changed !
Just by copying ...
The properties doesnt contain the necessary information for starting the calendar any longer: shortcut: pooutlook.exe calendar.
Again , these informations get lost just by copying the file into the LSK directory. Editing the link to enter these information isnt possible.
How can I fix this - any idea pleaase ?
regards
Thomas

fischtoeter said:
Hi all,
in the Windows directory you got the directorys RSK und LSK. This is the abbreviation for RightSoftKey and LeftSoftKey.
In these directories one find a link to the software which is supposed to start if one presses the left or right softkey.
Somehow my links are broken so I tried to fix them. For example: the left softkey is supposed to start the calendar.
So, this isnt working: couldnt find the directory states the errormessage.
So I look into the Windows directory, found the calendar.lnk and copied it to the directory LSK.
Not working. If I look at the properties of the link in LSK, I see that the file has changed !
Just by copying ...
The properties doesnt contain the necessary information for starting the calendar any longer: shortcut: pooutlook.exe calendar.
Again , these informations get lost just by copying the file into the LSK directory. Editing the link to enter these information isnt possible.
How can I fix this - any idea pleaase ?
regards
Thomas
Click to expand...
Click to collapse
PS: Interesting is, if I copy th elink to any other place on the phone, e.g. MyDocuments or something like this, the link is always workling ....
Only if I copy it to LSK , not

Ok .. solved, but not understood:
1.) click on directory LSK
2.) chose Property
3.) it says: TYPE: Removable Storage (ROM)
4.) click ok
5.) the direcoty LSK doesnt exist any more - only a new directory with weird combination of figures and letters
5.) renaming this combination to LSK
6.) property says noe: TYPE: FOLDER
7.) copying calendar.lnk into the new LSK folder
8.) pressing left softkey: calendar ist starting
so, its working. Although I really would like to understand why ...

fischtoeter said:
Ok .. solved, but not understood:
1.) click on directory LSK
2.) chose Property
3.) it says: TYPE: Removable Storage (ROM)
4.) click ok
5.) the direcoty LSK doesnt exist any more - only a new directory with weird combination of figures and letters
5.) renaming this combination to LSK
6.) property says noe: TYPE: FOLDER
7.) copying calendar.lnk into the new LSK folder
8.) pressing left softkey: calendar ist starting
so, its working. Although I really would like to understand why ...
Click to expand...
Click to collapse
Well, after a softreset .. same problem: error opening the shortcut or locating ...
Although the properties of the link are ok

Related

Batch cab installer

Is there such thing available that would install a selection of cabs at the "click of a button".
Over my time here, I have managed to build a list of favourite applications, however whenever I reflash a new ROM on my device, I have to manually install these applications one by one.
I was wondering if there is some type of auto installer that would auto install a list of 'given' cab files by itself? (perhaps reading the list from an xml or a txt file), and if it required no user interaction, that'd be even better (well maybe it could ask one question, just once... "Install to Device or Storage Card?"
WizzKidd
yeah.. i would like to hav sthg like tat too...
it is very frustrating to install all the programmes after flashing different ROM...
if someone can make sthg like tat will b nice..
Yes there is! Try out Sashimi, you'll have to google for it, don't have it with me. It will install any CAB you throw at it plus it can also run xml files to configure things like email accounts, power settings, etc, etc. After flashing a new rom it takes me all of about 3 minutes to have everything I want installed and all my setting changed to how I want them.
crankshaft said:
Yes there is! Try out Sashimi, you'll have to google for it, don't have it with me. It will install any CAB you throw at it plus it can also run xml files to configure things like email accounts, power settings, etc, etc. After flashing a new rom it takes me all of about 3 minutes to have everything I want installed and all my setting changed to how I want them.
Click to expand...
Click to collapse
which version is that? only on their site it says that the HD will be supported in V8 but they only seem to be at V7.9
Scrap that V8 is out http://www.winmo-experts.com/viewtopic.php?f=7&t=4
I'll have to check that out. I was using 7.9. It aways gave an error about unsupported screen size but still worked fine!
Not sure why but the guy who developed it was banned from xda-dev I believe!
Any chance you can post the app here? Really can't be arsed to register on another site!!!
Cheers
Don't worry, just realised I'm already registered!
Hey, this is a nice app! I'll have to get that, seems great for fast setting up everything after flashing.
to everyone who uses sashimi:
im very interested in your regkeys you backup! maybe you can post your regexport.ini here so we all can see and use the useful regkeys for different programs and settings!
thanks!
Rozenthal said:
Hey, this is a nice app! I'll have to get that, seems great for fast setting up everything after flashing.
Click to expand...
Click to collapse
for that reason i have written my own "autorun" script which does the following:
install cabs
import provisioning files
import registry files
copy files
and could do lots of more...
this is how it works:
copy the script into a folder of your sd card, e.g. \Install. now copy
all cabs into \Install\Cab
all provisioning files into \Install\Xml
all registry files into \Install\Reg
all other files into \Install\Files
the script checks for files in a specific folder and executes the tasks required.
the script requires that mort script is installed. alternatively copy the mort script files (mortscript.exe, mortscript.dll, autorun.exe) into \Install so that you can immediately start with the autorun script after flashing or a hard reset (attention: in this case the name of autorun.mscr and autorun.exe have to be the same - do not rename the script file) . the script also needs a prog "taskmanager.exe" which is only required for importing xml and registry files. it does not do anything else (unless you intentionally run it)
mortscript is available here
task manager is available here
anyway, i have put together all files required in the zip file attached
here is AutoRun.mscr:
Code:
scriptpath = SystemPath("ScriptPath")
Call("InstallCabs")
Call("CopyFiles")
Call("ImportXML")
Call("ImportReg")
Message("Done. Press OK to Reset...", "AutoInstall")
Reset
Exit
Sub InstallCabs
ForEach file In Files(scriptpath \ "Cabs\*.*")
RunWait("\Windows\wceload.exe", """" & file & """ /nodelete /silent")
EndForEach
EndSub
Sub CopyFiles
XCopy(scriptpath \ "Files\*", "\", TRUE, TRUE)
EndSub
Sub ImportXML
ForEach file In Files(scriptpath \ "Xml\*.*")
RunWait(scriptpath \ "TaskMgr.exe", "/provxml " & file)
EndForEach
EndSub
Sub ImportReg
ForEach file In Files(scriptpath \ "Reg\*.*")
RunWait(scriptpath \ "TaskMgr.exe", file)
EndForEach
EndSub
but why dont you just use sashimi? it does the same plus some more things (email settings, wireless passwords,..)
Another vote for sashimi, my only dislike is the interface its shockingly bad. The window disappears for every menu option you go to!
output is version 8, the bug has been fixed, or you can use the modified version 7.9 for HD.
As you know how to save the settings for various programs to be able to restore automatically with sashimi?
you can automatically record programs that require activation key, how?
Most things can be done with the regexport.ini file in the program/ini folder.
You can define which registrykeys should be backed up. Most programs store there configuration and serial keys in the registry. So you just have to search for the right entry.
Here is my regexport.ini
Code:
[MySettings]
RegExportDirMode=Auto
key1=HKCU\Software\ageye\
key2=HKCU\Software\Conduits\
key3=HKCU\Software\FdcSoft\
key4=HKCU\Software\Ghisler\
key5=HKCU\Software\JBlend\
key6=HKLM\Software\FLIP\
key7=HKLM\Software\HTC\QuickGPS\
key8=HKLM\Software\Spb Software House\
key9=HKLM\Software\HTC\Manila\ProgramLauncher\
key10=HKCU\Software\HTCAddicts\cleanRAM\
key11=HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\
key12=HKCU\Software\DaProfik\pRSSreader\
key13=HKLM\Software\HTC\HTCAlbum\Ignored\
egoist6 said:
for that reason i have written my own "autorun" script which does the following:
install cabs
import provisioning files
import registry files
copy files
and could do lots of more...
this is how it works:
copy the script into a folder of your sd card, e.g. \Install. now copy
all cabs into \Install\Cab
all provisioning files into \Install\Xml
all registry files into \Install\Reg
all other files into \Install\Files
the script checks for files in a specific folder and executes the tasks required.
the script requires that mort script is installed. alternatively copy the mort script files (mortscript.exe, mortscript.dll, autorun.exe) into \Install so that you can immediately start with the autorun script after flashing or a hard reset (attention: in this case the name of autorun.mscr and autorun.exe have to be the same - do not rename the script file) . the script also needs a prog "taskmanager.exe" which is only required for importing xml and registry files. it does not do anything else (unless you intentionally run it)
mortscript is available here
task manager is available here
anyway, i have put together all files required in the zip file attached
here is AutoRun.mscr:
Code:
scriptpath = SystemPath("ScriptPath")
Call("InstallCabs")
Call("CopyFiles")
Call("ImportXML")
Call("ImportReg")
Message("Done. Press OK to Reset...", "AutoInstall")
Reset
Exit
Sub InstallCabs
ForEach file In Files(scriptpath \ "Cabs\*.*")
RunWait("\Windows\wceload.exe", """" & file & """ /nodelete /silent")
EndForEach
EndSub
Sub CopyFiles
XCopy(scriptpath \ "Files\*", "\", TRUE, TRUE)
EndSub
Sub ImportXML
ForEach file In Files(scriptpath \ "Xml\*.*")
RunWait(scriptpath \ "TaskMgr.exe", "/provxml " & file)
EndForEach
EndSub
Sub ImportReg
ForEach file In Files(scriptpath \ "Reg\*.*")
RunWait(scriptpath \ "TaskMgr.exe", file)
EndForEach
EndSub
Click to expand...
Click to collapse
the script not working though I follow your intruction,what's wrong?
str0nz0 said:
Most things can be done with the regexport.ini file in the program/ini folder.
You can define which registrykeys should be backed up. Most programs store there configuration and serial keys in the registry. So you just have to search for the right entry.
Here is my regexport.ini
Code:
[MySettings]
RegExportDirMode=Auto
key1=HKCU\Software\ageye\
key2=HKCU\Software\Conduits\
key3=HKCU\Software\FdcSoft\
key4=HKCU\Software\Ghisler\
key5=HKCU\Software\JBlend\
key6=HKLM\Software\FLIP\
key7=HKLM\Software\HTC\QuickGPS\
key8=HKLM\Software\Spb Software House\
key9=HKLM\Software\HTC\Manila\ProgramLauncher\
key10=HKCU\Software\HTCAddicts\cleanRAM\
key11=HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\
key12=HKCU\Software\DaProfik\pRSSreader\
key13=HKLM\Software\HTC\HTCAlbum\Ignored\
Click to expand...
Click to collapse
Thanks for your reply, I just solved a file.reg
Question
is possible to automatically with SAHIMI select the language for installation
resco explorer (multilingual) select /italiano / ok
resco audio explorer (multilingual) select /italiano / ok
is possible to automatically with SAHIMI select the answer is no when asked to reset to complete the installation of
SPB Wireles monitor select /no
SPB Phone Suite select /no
perhaps with a Mortscript running in tandem, I unfortunately do not have capable people who give me a hand?
Thanks for your reply, sorry my bad English
You can do that with the so called auto files.
it is explained in the manual of sashimi.
i have never tried it but it should work like you want.
str0nz0 said:
You can do that with the so called auto files.
it is explained in the manual of sashimi.
i have never tried it but it should work like you want.
Click to expand...
Click to collapse
unfortunately I do not know how to fill the auto file, could you please make some examples that help me understand
Thanks for the great help
ippoglosso said:
unfortunately I do not know how to fill the auto file, could you please make some examples that help me understand
Thanks for the great help
Click to expand...
Click to collapse
[AutoFile]
InstallLocation=0
WindowTitle="SpbPhoneSuite_it.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="SpbWirelessMonitor3_it.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="audiorec_p.arm.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
[AutoFile]
InstallLocation=0
WindowTitle="rescoexplorer_p.ARM.cab"
[ScriptCommands]
1=SendLeftSoft
2=
3=
4=
I do not know the commands
If you are using a UC capable rom (like miri 6.5) you can make a "SDconfig.txt" and it will install whatever cabs you want as part of the first install process at the windows installing screen.
UC Thread for more info.
SPB BackUp 2.0.2. Clean, simple, fast, easy.
Install once all that You want, make backup (is .exe).

Start bar/Task bar Text

Alright guys, and gals
I hate to bother everyone over such a minute, tiny issue, and I'm sure this has been asked before (although before everyone jumps on me I have already searched the forum), but I was wondering if there is an easy was to change or get rid of the "START" text next to the start menu in WM 6.1?
I have just installed some gorgeous task bar icons by InsecureSpike and feel that I can do without the Start text.
Any ideas?
Cheers,
Orpheus
yeah, how can i change the "start" text into "Go" or whatever?
greets
sid
Follow instructions on this link: http://forum.ppcgeeks.com/showthread.php?t=65911
Excellent, Thanks buddy I will give that a try
thank you, but, oh my god, this is it too much input.
my english is not good enought for too much.
i need a little tutorial how can i change the "start" text in wm6.1
can you help me?
greets
sid
Just did a search. THIS popped up
Its actually not that difficult. Just follow these instructions by tsowens who by the way deserves credit for this.
Change Start Text
1. Unsign your shellres.dll.0409.mui
2. Open it in one of these three Reshack / PE Explorer / Restoratorand go to string value 321 and change the name from Start to whatever you want.
3. Save your modified file
4. Open MssignerorMultiple file Signer
· click Start sign Process (for MFS follow directions in the link)
· a window will pop-up with "Process finished!"
· You will see a that a text file has been create for your shellres on your desktop
· Open the text file, if you see "Warning: This file is signed, but not timestamped, Succeeded" you know the file was signed.
5. Transfer the modified file to your SD card
6. Open TC and navigate to the /Windows and rename your old file to "shellres.dll.0409.mui.bak"
7. Move your modified file from your SD card into the /Windows
8. Soft Reset updated 12/09/08
super, thank you so much
greets
sid
mhmm only i found a shellres.192.dll in the windows folder with total commander...
greets
sid

need help with tool commander

what i wanted to do was delete a file in tool commander from my storage card ....i went to properties then association and i clicked the x for delete ...now all my cabs have that windos flag kinda symbol ...were you cannot open it...any suggestions
You did exactly what you said you did: you deleted the association from the file properties.
If you want to delete a file rather than its associations, you can do this in either File Explorer or in Total Commander (which I recommend over "Tool Commander") by tapping-and-holding on the file you want, then selecting "delete" from the menu that pops up.
In Total Commander, you can also select the file by tapping it once, then tap the "File" softkey in the lower left and select "Delete" from the pop-up menu. That's way less complicated than what you did.
I might be able to help you re-associate the .cab files properly.
First, get a copy of Total Commander and install it if possible. This may not be possible if .cab associations have been deleted.
Then navigate to a cab file. It doesn't matter which one. Tap-and-hold and select "Properties" from the pop-up. Go to the "Associate" tab then click the "Associate..." button.
Fill in the boxes as follows:
Command: wceload.exe
Parameter: "%1" /nodelete
Icon file: shellresapps.dll
Index: -15618
Hit "OK" twice to get out and save the settings and you should be good to go.
YOUR METHOD WORKED FOR SOME CABS..i just tried to inport a cab file from my pc via (wmdc) that also cannot be open ...any fix for this
YOUR METHOD WORKED FOR SOME CABS..i just tried to inport a cab file from my pc via (wmdc) that also cannot be open ...any fix for this

FAQ Firmware Modding... How to use Tools like Wave_Remaker and TriX

PLACEHOLDER.
If I have more time today. I will upload few Videos... Screenshots... etc.
About working with these files:
Code:
ShpApp.[B]app[/B]
rsrc_S8500_Open_Europe_Common.[B]rc1[/B]
FactoryFs_S8500_Open_Europe_Common.[B]ffs[/B]
CSC_S8500_Open_Europe_Common_DBT.[B]csc[/B]
and also...
Code:
apps_compressed.bin
amss.bin
Rsrc2_8500(Low).rc2
Lesson 1...
Working with HEX Editor to find MD5 sum ... See here:
http://forum.xda-developers.com/showthread.php?p=25686868#post25686868
To be continued...
Best Regards
Thank you for helping.I only don't know about amss.bin
Code:
S8[B]6[/B]00 [B]XXLD[/B]1 DBT [B]MD5[/B]
amss.bin 726C9536CDAE7F3A330A539B324B4E09
apps_compressed.bin B13B931FC61386A777340D5C4697DFDC
bplib_S8600OpEuroCommon.fota 70ABC89638959F4760A41118E5414F45
CSC_S8600_DBTLB1.csc 5FA176E8B64B3DEBE6AD6A78AA40D999
PFS_S8600_Open_Europe_Common_XXLA1_XXLD1.pfs 394A8265DFB37978AFC93E5D4B549F61
Rsrc2_S8600(Low).rc2 B06D2E03FC2B3A519BCA52C5B40EF556
Rsrc_S8600_Open_Europe_Common.rc1 6CC6D2E82302036FC910AE3EEC79990F
ShpApp_HD.app 063DD3BF6D00828BEDF25A0955F48D1E
Each file has MD5...
It is 16 Byte...
Here I have written about S8600 XXLD1 Firmware as "reference"...
You can find these MD5 "Values" at end of file...
See Video previous post...
Best Regards
I want to Understand About Social Hub Premium on Wave II
I Made it Custom Firmware with soical hub premium for my Wave I Firmware DXLD1
When I made It for Wave II (DXLD1) It is giving error while Log in Facebook and Twitter
I did everything the same that Wave I.But it stilld isn't working on Wave II
I am facing this problem.What i did wrong ? Exactly I don't know
Best Regards
Tutorial 1: Using TriX to Modify Firmwares. A Beginner's Guide
Tutorial: Using TriX to Modify Firmwares. A Beginner's Guide
1. Create a folder in your pc where you will save the dumped files from TriX. Example, create a folder in Local Disk C, called Test.
2. Keep the Firmware you need to modify at desktop for easy access.
3. Launch TriX
4. Check the box for Input File ==> click on the search icon ==> click desktop from the Explorer window and select the firmware file (e.g. ShpApp.app), then click Open (to load the file).
5. Check the box for Output File (where the modified file will be saved) ==> click on the search icon ==> click Local Disk C from the Explorer window and double-click the folder Test. Then enter the File name for your modified file, e.g. ShpApp.app, then click Save (to save the file).
6. After you have selected the input file, and specified the output file name and location, which are under the General tab of TriX, now click on the Scripts tab of TriX.
7. Under the Scripts tab, click on the search icon (at bottom left of TriX) ==> expand the displayed bada folder ==> select fs_shell.trx ==> Open ==> Add
8. After adding the script file, click Start (on top menu) ==> enter 2 (for Your choice) to dump files, then press ENTER.
9. Write C:/Test (for Enter Destination Directory) i.e. if you have created a folder Test as in nº 1 above, then press ENTER. TriX will now dump the files to the directory C:/Test. Wait till the dumping process completes.
10. Now go to the directory C:/Test, and edit any folder/file you want.
Caution: Do not Close TriX yet. Make sure TriX is still open.
11. After editing the dumped files as you like (in C:/Test), go back to TriX and enter option 3 (Your choice) to upload the files. After uploading, enter option 0 to quit. Now close TriX.
12. Your new modified file will be saved at C:/Test.
That’s all. I hope this basic tutorial will help those just beginning to learn how to use TriX.
See attached files for details and screenshots.
Not much time yet...
Meanwhile you can also watch such Videos.
http://www.youtube.com/watch?v=BRWpJWxnylk&feature=player_embedded
Thanx JabbaIsFat
Best Regards
Tutorial 2: How to reduce files from firmware to improve speed
In this tuotrial, you are guided to the files you can safely remove from your custom firmware to increase memory and speed. These files/folders are in the CSC, SHP and FFS. So use TriX or WaveRemaker to dump the files first.
1. CSC FILES
a. Appex => SysDefault => Java => Games => (delete all the games here).
b. CSC => Customer => (delete all except your preferred CSC)
c. CSC => SW_Configuration.xml => (delete all except your CSC. Also edit <NbCustomer>1</NbCustomer).
d. SystemFS => Settings => PreConfiguration (delete all CSC except yours).
Don't delete neither "PreConfiguration.ini" file nor "Default" folder.
2. ShpApp FILES
Osp => Applications => delete the following folders:
a. 1xd3tvpnc5 (Music Hub)
b. 5zdx8bkb6w (Yahoo)
c. 8c59h50loa (GTalk)
d. 577yx64nrt (Caster)
e. 760n3w3202 (MSN)
f. kfdoqs63to (ChatON)
NB: You can as well delete all the language xml files (except your own language) inside "Res" folder of these application:
i. 0rq06e23py (SevenIM)
ii. 8d7uw8z551 (Kona)
iii. rcz4775900 (Bori)
AppEx => Sys (delete this whole folder "Sys"completely).
The Sys folder contains the subfolders listed below which are not used (and already exist in the ShpApp/Osp/Application).
i. BDAgent ===============> [36cbr89p8t in the ShpApp/Osp/Application (BDAgent)]
ii. SamsungAccount=========> [rcz4775900 in the ShpApp/Osp/Application (Bori)]
iii.SamsungApps============> [8d7uw8z551 in the ShpApp/Osp/Application (kona)]
iv. Z7Engine===============> [2482tqy39g in the ShpApp/Osp/Application (z7clientengine)]
3. FFS FILES
a. AppEx => Sys => Widget => (delete these folders: AccuWeather, GoogleMobileService, Memo).
b. Media => Sounds => (delete the "Over the horizon.mp3" file)
c. SystemFS => Media => (from the folders listed below, delete the specified files):
i. Images => delete all except "Wallpaper 01.jpg" and "Wallpaper 02.jpg"
ii. Others => delete the pdf file.
iii. Sounds => Alert tones => delete all except "Cloud.wav", "Good morning.wav", "Haze.wav", "On Time"
iv. Sounds => Ringtones => delete all except "Samsung tune.mp3"
NOTE: Removal of these items will not affect your phone in any negative way.
Rather it will immensely improve the speed and stability of the phone.
Example, you can conveniently now play the Asphalt6 HD game without problems.
Total Memory of Phone will be approximately as follows:
Free Memory Space:
Application Memory: 838 out of 883 MB
System Memory: 570 out of 575 MB

[BUG] Permanent cursor icon. CM12.1 Bug [FIX]

I've been having a frustrating issue on cm12 based roms and it appears some other users have run into the same problem.
The issue renders itself in the form of a permanent 'circle' mouse cursor that your are forced to move around the screen in order to make your selections (as if a mouse was plugged in), this appears to be an issue with certain M9 devices that were shipped with a different panel type.
This seems to happen as there is a file missing from: DEVICE\SYSTEM\USR\IDC\
Named: 'max1187x_touchscreen_0.idc'
To fix:
Create a new .txt file on your desktop.
Re-name the file to EXACTLY match this: max1187x_touchscreen_0.idc (making sure the extension is .idc not txt)
IF you are unable to change the extension, please make sure 'view file extensions' is turned on in windows.
Edit the .idc file in notepad, paste the following text EXACTLY and save/close:
Code:
touch.deviceType = touchScreentouch.orientationAware = 1
Copy this file to your device and using a file manager place it into: DEVICE\SYSTEM\USR\IDC\, reboot your device and the cursor should be no more.
Please note, due to the location this file needs to go, you will root permissions in order to successfully paste it in place.
voila

Categories

Resources