Related
Hi all,
This thread will contain several posts where I'll add some tips & tricks for SASHIMI. These will be tips like what registry keys to export for keeping the keys of certain programs, using Mortscript to make some advanced changes to the device, using XML-provisioning to supply wifi and e-mail settings, and some default registry keys I use and others may provide. Please let me reserve the first threads for each of the before mentioned tips & tricks
For downloading SASHIMI and instructions (video & readme!), please refer to Bengalih's original thread:
http://forum.xda-developers.com/showthread.php?t=392983
Please do not use this thread for any questions or responses. Only use the Sashimi thread!
If you provide tips, please use the code tags, [ code ] and ending with [ /code ], around your registry keys and Mortscript Code...
Regards,
Nika.
Application registration keys
Thanks to Moe558 (see this post), here's some keys for saving registration information of many tools:
WebIS Pocket Informant 8
WebIS FlexMail
WebIS Toolbox
SBSH Pocket Weather
SPB Mobile Shell
SPB WALLET
SPB Traveller
SPB FINANCE
SPB PHONE SUITE
SPB POCKET PLUS
SPB MATCHES
SPB MINE SWEEPER II
SPB QUADRONICA
SKTOOLS
START MENU PROGRAMS MANAGER
All of the reg-files are in attached zip (Registration-keys-20080807.zip). Download the zip and take out the registry keys of the programs you use. Make sure to check the registry on your device (use dotFred's TaskManager) to check and replace XXXX with the key displayed in your registry (this may sometimes not be your actual registration key!). If you have more of these, let me know and I will add them to the zip (and rename it ).
Make sure to add the file to your SASHIMI\Auto\REG folder and your application will be automatically registered when hard-resetting your device !
Regards,
Nika.
Attached zip-file contains several registry files that enable automatic configuration of most of my application. Hopefully it helps you to figure out what keys to look at, and export using dotFred's TaskManager.
Please make sure you do not simply use my files as a guidline to configure your device. They're all setup to my preference and also depend on the applications you install!
The following list explains what each file does:
Associations.reg
This file contains done through KaiserTweak and AdvancedConfig to save files to my Storage Card locations instead of my device.
BackLight.reg
This contains my backlight settings.
Beejive.reg
This contains my default Beejive settings (make sure to read the section about file backup in one of my next posts!)
BlueTooth.reg
In this file I've only added the keys that I've exported to add my BlueTooth profiles (for my headset & carkit) automatically. I only have to connect once and enter the password (I think the association-keys cannot be exported, haven't been able to get it to work 100% automatically) instead of running discovery mode...
Calendar.reg
My default calendar settings (enabling the alarm icon and such).
Camera.reg
Setting the capture delay to 0, enabling 6 MP Panorama Shots and setting the correct rotation - all tweaks from KaiserTweak and Advanced Config.
CommManager.reg
I use the 6 button comm-manager and change the bottom two buttons to 3G and ActiveSync. Done using Schap's Advanced Config...
FdcSoft TaskManager.reg
Setting the registry editor as the default registered application for reg-files using this file (first 4 keys), and changing some default settings.
GPRSMonitor.reg
My default GPRS Monitor settings (turning icon off and such).
HTC TaskManager.reg
Turns off the HTC Task Manager (as I use WkTask and QuickMenu).
Internet Explorer.reg
Set my device to use Opera instead of Internet Explorer, change the cleartype setting and change the default Search URL.
Mail.reg
Change the default mail settings so attachments are stored on the Storage Card, the file sizes are correct for download messages, and for instance the account picker is off. Most settings come from the mail application, some are from Advanced Config and KaiserTweak.
Owner.reg
My Owner Information exported using SASHIMI!
Pocket Weather.reg
This is the backup of Pocket Weather, changed a little so it specifies the correct keys and can be automatically imported using dotFred's TaskManager and SASHIMI. Pocket Weather creates a file which contains the correct keys, except it misses HKEY_CURRENT_USER in the key name.
Power.reg
My default Power Settings.
QuickGPS.reg
Setting QuickGPS to auto download...
QuickMenu.reg
My default QuickMenu settings.
Regional Options.reg
My default Regional Settings.
S2U2.reg
My default S2U2 settings (for instance turning the wallpaper off).
SIP.reg
My default Secondary Input Panel (onscreen keyboard) settings.
Soft Keys.reg
Changes my Start Menu key to QuickMenu, my PTT button to the Comm Manager, longpress PTT button to VoiceCommand, my Left Softkey to the NowScreen of SPB Mobile Shell and the Right Softkey to the Menu Launcher of SPB Mobile Shell...
SP TimeSync.reg
Set SP TimeSync to automatically minimize & timesync - see also the later section of automatically loading the timesync at startup.
Spb Mobile Shell.reg
My default Mobile Shell settings (mainly weather location).
Today Items.reg
Turning on (enabled=1) and off (enabled=0) many items on my Today screen and setting the Wireless, HTC Home and SPB Mobile Shell to "movable" (Type=4) as done by KaiserTweak and Advanced Config.
Total Commander.reg
Setting my default Total Commander shortcut folders (double click the folder entry bar) and some other options.
Tweaks.reg
Many, many, tweaks gathered from programs like KaiserTweak and Advanced Config (for instance: changing default ringtone, power management settings, hsdpa on, etc.)
VoiceCommand.reg
Turning off most VoiceCommand automatic notifications.
Volume.reg
Setting my default volume.
Weather.reg
Setting my right HTC Home weather location.
WkTask.reg
Setting up the default launcher shortcuts and settings for WkTask.
Whew.....that was about it - hope it helps
Regards,
Nika.
[reserved]
I'll put the XML Provisioning tips in here...
I have a script (added to Auto\Scripts) that automatically loads my favorite theme (thanks to juju-35, read here):
SetStyle.mscr
Code:
Sleepmessage(3, "This script sets a new style...", "New Style", 1)
Run( "\WINDOWS\cusTSK.exe", "\WINDOWS\Nice.tsk" )
Sleepmessage(3, "Done...")
Regards,
Nika.
As mentioned above some more tips for some of the applications that I have provided default registry entries for.
JiveTalk
Add your JiveTalk.sdf to the Auto\Root folder. I have installed JiveTalk to "\Program Files\JiveTalk" and therefore I have "JiveTalk.sdf" in the "Auto\Root\Program Files\JiveTalk" folder - it then automatically copies my JiveTalk configuration.
I also have a fileset in my "filebackup.ini" that backups the current version of the file:
Code:
[FileSet1]
FileBackupDirMode=Auto
file1=\Program Files\JiveTalk\JiveTalk.sdf
TomTom Navigator
For TomTom I've added the TomTom settings file to my "filebackup.ini" as well. This makes a backup of all my settings and I do not have to click through the default screens anymore (like selecting the language, etc.):
Code:
file2=\Program Files\Navigator\*.dat
file3=\Program Files\Navigator\*.cfg
file4=\Program Files\Navigator\*.bif
SP TimeSync
To automatically start my SP TimeSync after my first reboot of the device, I have added a shortcut (copied from the Windows\Start Menu\Programs folder) to the "Root\Windows\Startup" folder
Today Theme
To automatically load the theme mentioned in the Mortscript section (above) I add the theme (Nice.tsk) by having it added to the "Root\Windows\Startup" folder.
Regards,
Nika.
Awesome work Nikagl - that was really quick! I been searching for the Resco key locations but I can't find a single one...yet!!!
Moe5508 said:
Awesome work Nikagl - that was really quick! I been searching for the Resco key locations but I can't find a single one...yet!!!
Click to expand...
Click to collapse
Don't forget that some application may use files for registration. I always do a before/after export of registry and a search "files changed during last day" using Total Commander...
Hi all,
I might be moving this to a wiki as it looks like the forum doesn't allow more than 10k characters per post and splits up the registry files for some reason... more news soon....
Regards,
Nika.
How about you zip the reg files?
Moe5508 said:
How about you zip the reg files?
Click to expand...
Click to collapse
Yup, will work, but will make explanation a little harder - give me some time (probably tomorrow) and I'll update the thread
Ok, I've added some stuff - more tomorrow
nikagl said:
[reserved]
I'll put the XML Provisioning tips in here...
Click to expand...
Click to collapse
Thanks nikagl.
I think this would be best in the Wiki...with the main SASHIMI thread still as a discussion thread. I was going to suggest it when you first mentioned making this thread.
I just don't want people posting here with feature requests, bugs, etc, instead of the main thread. Also, in the Wiki, this info won't get lost.
Let me know what you are doing and I will try to link it from the main SASHIMI thread.
Also... don't spend too much time on XML provisioning yet... the new version of SASHIMI will be coming with a new app I've written called Makisu which will create XML provisioning files for E-mail and wireless accounts (it runs on the device!). I was going to add it into SASHIMI , but I made it a stand alone that I will release it stand-alone and with SASHIMI .
I think you guys will like it
It keeps on getting better and better - awesome work Bengalih!!!!
I'll convert it soon to Wiki format and add other information too... does one of you have a good wiki converter I can use to change the current html page into wiki-format?
nikagl said:
Don't forget that some application may use files for registration. I always do a before/after export of registry and a search "files changed during last day" using Total Commander...
Click to expand...
Click to collapse
Hmmm, using Total Commander, huh? Let me try this process. I wanna hunt down those illusive Resco reg key locations (Resco Backup, Resco Explorer, Resco Brain Games etc etc)
reg settings
hello Nikagl, great work, this info combined with Sashimi is just awesome.
there are some reg setting that i have searched for but had no luck, one is the setting used with kaiser tweaks for the scroll bar width, i like mine set to 10 and then the setting for image, music and video to the storage card.
thanks
Lupe
Great thread. Personally the SPB registration entries are the most useful to me. Thanks for that.
The first time I configured Sashimi, I used the XML files from Kaisertweak and Advancedconfig to find registry entries. Maybe it's good advice for new users.
The XML files can be found and downloaded here:
http://wiki.xda-developers.com/index.php?pagename=KaiserTweak
http://wiki.xda-developers.com/index.php?pagename=AdvancedConfig
kaiser tweaks xml file
Dr. Strangelove said:
Great thread. Personally the SPB registration entries are the most useful to me. Thanks for that.
The first time I configured Sashimi, I used the XML file from Kaisertweak to find registry entries. Maybe it's good advice for new users.
Click to expand...
Click to collapse
thanks for the info on using the kaiser tweaks xml file, perfect,
thanks
Lupe
Some more reg key locations...
[HKEY_LOCAL_MACHINE\Software\Anton Tomov\Pocket Mechanic Professional]
"License"="xxxx"
[HKEY_LOCAL_MACHINE\Software\Apps\Resco BrainGames]
"RC"=dword:xxxx (format this to hexadecimal data type)
[HKEY_LOCAL_MACHINE\Software\Resco]
The whole string changed after registering Resco Backup, Explorer and BrainGain...
I just can't seem to properly isolate the Resco reg locations...
Fotos from Camera must be in StorageSD\Pictures\100XPRIA
Videos from Camera must be in StorageSD\Video\100XPRIA
And at the same time Media Panel must see pictures and video folder!
I tried to change some values in registry but after reset some values returned to default settings. No one setting had no affect...
I'm going crazy....
first you have to change your language-code to the htcalbum.409.mui.dll (windows folder) in the one for your roms language (without running tf3d)
then restart tf3d and you can choose within the album which folder you prefer
I don't know about tf3d nothing.
I need just change default setting \Storage card\DCIM\100XPRIA to StorageSD\Pictures\100XPRIA etc.
Hi,
As part of my customization process, I would like to disable some icons from the Setting menu's of WM6.5 (not TouchFlo).
I managed to remove a lot of icons through the registry settings in HKEY_LOCAL_MACHINE\Software\Microsoft\Speech, by moving them to a non-existing group (Group=3). This works fine.
However, some of the icons in Settings/System do not appear below this registry key, such as External GPS, Encryption, Remove programs... Is there a way to remove these as well?
Alternatively, removing the entire Settings menu would also be fine. My first approach, deleting the Settings folder from \Windows\StartMenu causes the entire Start Menu to appear empty!
Any suggestions would be greatly appreciated!
UPDATE: I managed to remove the Encryption icon by ADDING an 'Encryption' key to the ControlPanel part of the registry. Other icons I haven't so far. I suppose the key lies in correct names.
How can I obtain the names for:
Managed Programs
External GPS
Error reports
Memory
Info
Country Settings
Regional Settings
Microsoft My PHone
Remove programs
Screen
Task Manager
Connection settings
??
Setting HKEY_LOCAL_MACHINE\Security\Shell\StartInfo:HideSettings to 1 hides the Settings folder from the Start Menu. That fixes my problem for now!
I rather choose to "hide" my icons.
You can do this by changing the registry like this:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Encryption]
"Group"=dword:00000002
"Hide"=dword:00000001
This will hide the Encrption icon in the Settings panel. I use this on the Rhodium, Blackstone, Diamond etc. but it should also work on the HD2 I guess
mccune,
The "hide" could be done for entries that are present in HKLM\ControlPanel like Encryption. For those entries that DO NOT EXIST in ControlPanel but whose icons appear in Settings like "Microsoft My Phone", do you have any idea how to suppress them?
Thanks for your assistance.
Noticed there are also some numbers in that registry key. Guess you'll have to trial and error a little to see what number corresponds to what icon.
I'm still looking for a way to hide the "Managed Programs" icon ;-)
Perhaps this program can help you out.....either hide the icons or put them away in a folder......
This program only applies to WM6.5 and also just to the Start Menu. It's fairly easy to remove icons from the Start Menu, just delete the LNK file in \Windows\Start Menu\
The discussion was about the icons in Settings. Most of these files are CPL files.
mccune,
It's exactly that! The file underlying that icon is Windows\MyPhoneLauncher.cpl for the application "Microsoft My Phone". I tried a number of ways to rename the file, rename the extension CPL in CPL2, move the file to other folder, even delete the file in order to remove it from Settings/System but always failed.
The file appears protected as part of the ROM. This is the 2nd day I'm after this problem and I still see no light...
(I tried to use the tool JWMDIconChanger but it doesn't work. Thanks anyway.)
mccune said:
I'm still looking for a way to hide the "Managed Programs" icon ;-)
Click to expand...
Click to collapse
Does anyone know the name of the .cpl file, or the name of the registry key in \HKey_Local_Machine\ControlPanel\, for "Managed Programs"?
I looked, but can't find anything that even remotely looks like "Managed Programs".
I have looked so if I have missed this one please tell me.
I can't find how to change default folder locations for documents I make. I have used chome configurator to make my own shortcuts bar for my most used progs. I use one note for notes, and a to do list, etc. If I look for options about where to save the docs I create I find nothing to alter the defaults.
I have installed resco reg editor and wondered where I make the changes in the registry to alter the defaults for notes and other stuff to the storage card folders. Shame microsoft saw fit to exclude the choice for us mere mortals. What about if I need to restore a backup.
Anyone please.
... and I need some help....
so... i have an HD2... and i want to get rid of each customization after each new coocked rom that i install....
althoug i searched is still hard to figure it out how to do all the stuff... so i'll just post a small request and if someone has time maybe will give me (and the others) a little help...
i need to automize the following...
install a set of cabs:
cookie home tab
advanced cookie home tab
cookia home tab editor
resco explorer
total commander
1% battery indicator
this is easy through UC
cutomization:
disable my location (registry) - i already found a record in the registry that does that
remove all locations - add my home city
regional settings - my home country
internet default location set to internet (by default it sets itself to wap)
sms: delivery notification ON
camera setings - superfine in pics
manila tabs config - just the order in witch they are and the tabs i don't wanna show... i founded in registry also
font set to smallest
vibration (haptic) disable
phone ringtone set to K.O.
sms/mms set to alert fader high no vibrate
email set to alert shine no vibrate
missed call no alert
ring type set to ring no vibrate
quiet ring se to ON
pocket ring mode set to ON
no charge over USB
set clear type
email account (exchange - google sync)
cookie home tab settings: CookieHomeTabEditor
callendar look forward 31 days
shortcut grid 4x4
1 tab of shortcuts
default page: no1
shortcuts in the home tab... i found those in the registry also
facebook account credentials
and i think that's it...
with the os customization i know i need to insert somehow the registry settings... but i don't know how.... with chteditor settings and facebook i guess is still registry settings but where and how?
I've seen sashimi... but still... I know how to use it... I don't know how to configure it...
So... plz HELP...
lots of cooked roms have an auto instal feature. put all your cabs in a folder called autoinstall on your sd card then when your phone boots after a flash/hard reset will install them.(let the phone sit for 5 mins when it first starts up, thats when it installs them.
as for the settings, build your own cab. I use wince cab manager. takes a little time but once its set up you just run it after everything else has finished (don't auto install it, cos the cabs don't necessarily instal in the right order. so for example you instal an opera tweak then install opera your tweaks are overwritten.)
my tweaks cab installs my custom lock screen, enables htc magnifier, tweaks opera cache and user agent, decreases screen sensitivity, and a few other things.
Even better, heaps better, get sashimi, study the tutorials, then you can choose which cabs to install to internal meme, which to sd, what reg keys to import, what static files to copy where, and if you need it, add scripts, certificates, run EXEs, whatever you ask.
I use mortscript for doing customisation stuff.... I generally run nrg rom's which use XDA_UC, so I can drop .reg files in the folder and it adds them on rebuild.
Code:
#Backup Ringtone Settings
outfile="\storage card\xda_uc\RingTone.Reg"
If (FileExists(outfile) = 1)
Delete(outfile)
endif
key="ControlPanel\Sounds\RingTone0"
Category=RegRead(HKCU,key,"Category")
SavedSound=Regread(HKCU,key,"SavedSound")
Script=Regread(HKCU,key,"Script")
Sound=Regread(HKCU,key,"Sound")
WriteFile(outfile,"REGEDIT4^NL^")
WriteFile(outfile,"^NL^",true)
WriteFile(outfile,"[HKEY_CURRENT_USER" & "\" & key & "]^NL^",true)
WriteFile(outfile,"""Category""=""" & Category & """^NL^",true)
WriteFile(outfile,"""SavedSound""=""" & SavedSound & """^NL^",true)
WriteFile(outfile,"""Script""=""" & Script & """^NL^",true)
WriteFile(outfile,"""Sound""=""" & Sound & """^NL^",true)
That is from my backup script. Creates a .reg file with the settings for the ringtone stuff in to the XDA_UC folder so my last ringtone settings carry across
thanks guys....
use the installation of software i got it... and if the rom isn't UC capable i can do it with sashimi (i have seen the tuto videos and read the doc)... also with sashimi i can do my email settings...
what i didn't understand is how to build my customization.... i just search every registry record... write it down.... and then what?.... sahii says to put it there somewhere... but not exactly how to create it.... and what if a custom thing it is not present only in one place like user or local machine?...
don't understand your question. But to create the file, use the regexport tool. You build an INI describing which registry keys you want. The tool extracts them and creates a backup file for future re-deployment.
Been searching for a topic like this for a while!
Thanks for starting this thread!
I too am a flashaholic and REALLY get frustrated at having to customize EVERY time you flash...
Installing apps is easy, dump them into the UC folder on your SD card and voila.
The tricky part is getting the Regional Settings and Time Zone sorted. I tried exporting these settings from the Registry and putting them into the UC folder, but it still doesn't work...
Just use SASHIMI. This awesome soft does everything you mentioned above!
BTW: SASHIMI has a big help-file/HowTo included and you can find good video-tutorials on youtube as well.
i'll try sashimi more... and get back...
so for sashimi... actually you need a clean install with all programs and customization manually made and after that export the registry settings?
ok.. i've found CeRegEditor... with this I saw that I can export my registry... now I need help in order to localize all settings I need... and to avoid to miss regs that are placed in more than one place...
disable my location, manila tabs config - just the order in witch they are and the tabs i don't wanna show... and cookie settings for home layout - HKEY_LOCAL_MACHINE\Software\HTC\Manila
phone ringtone set to K.O., sms/mms set to alert fader high no vibrate, email set to alert shine no vibrate, missed call no alert, ring type set to ring no vibrate - HKEY_CURRENT_USER\ControlPanel\Notifications
I don't know if it is enough for the mentioned settings or if they appear in other places also.... i found out that ceregeditor only exports folders not single keys...
to export whole paths of registry keys, just go into totalcommander's registry editor, in double folder view, then COPY the selected folder of registry keys to a physical folder on the device, it will transparently create a .reg file
To import the reg file back again, either you use sashimi, or you COPY the .reg file from the memory into the registry with totalcommander
Pretty impressive huh
ok.. my first try was a mess....
i used sashimi... put the cabs all together.... this worked ok... although i have to change some names to install them in the correct order...
i made some reg files with CeRegEditor via activesync on the computer... i've put them into reg folder.... but nothing was imported... i think the format was not ok... at least i know what regs i need for the moment...
and last... i made an xml via sashimi/makisu... but this didn't worked either...
i'll keep trying....
LE: ok... it seems that i managed to make with some of the registry... with the xml file for the active sync i'll try more tomorrow....
does anyone know where I can locate facebook credentials inside registry.... not facebook the app but the sense integration...
and also where can i find the registry for
alarms
removing weather cities
removing timezone cities
setting regional setting to a specific country
thanks