Sashimi Help - Touch Pro2, Tilt 2 Themes and Apps

Ok, so I've read through this tutorial (http://forum.xda-developers.com/showthread.php?t=538513) which is AWESOME, and also viewed the Videos at winmo.
Here's where I'm at: I think I've succesfully got all my cabs over and my email settings via Makisu and XML done.
I used sashimi's backupregistry option and backed up registry to the sashimi backup folder.
by backing up the registry I've backed up all my tweaks from rhodium tweaks app right?
Also, by backing up the registry have I already backed up button settings like PTT remap, turn on when slide disabled, etc?
Here's where I need help: I read through the article but since I'm not as proficient as some, it's a bit confusing and I'm lost as to how to back up my background and manila tabs organization, settings, people, ringtones, programs in the programs tabs, etc.
I read about putting keys into the .ini but two issues: 1) I don't know how to open or edit the ini and 2) if I'm running an energy ROM, are all these keys still in thes same subfolders as the OP for the tutorial labeled the code?
And where can I file registration files? for example, I installed and registered my dictionary but looked through the app folder and am not sure which file is my registration file?
appreciate the help so I can start flashing MORE often....I'm 14 days behind on the Photon series!!

ini can be edited by notepad, if you want, you can use super notepad2 too. Not sure where the registration info will be.

Related

Hide all Programs, Customize Start Menu

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.

Removing Icons from Settings wm6

Hey
I was checking around for any specifc ways to remove or hide icons from the settings area. As i understood it right the settings is just like windows control panel with CPL files. Basically in wm5 you just enter HKLM\Controlpanel add a d-word HIDe = 0 to hide the icon.
But with these new Wm6 feature i cannot find the encryption. Anyone know where the cpl is stored for teh encryption?
Or know any other way of hiding that icon in the settings area.
-Abxi-
Ok. I was looking for it on wm 6.1, and no find an exact answer.
Anyway, I delete the WmTsk: delete the exe and ink (maybe dll) and edit
mxip_Oem_Translation_0409.provxml
You have to delete the strings and correct the number of applications.
Hope this help you
humrod said:
Ok. I was looking for it on wm 6.1, and no find an exact answer.
Anyway, I delete the WmTsk: delete the exe and ink (maybe dll) and edit
mxip_Oem_Translation_0409.provxml
You have to delete the strings and correct the number of applications.
Hope this help you
Click to expand...
Click to collapse
Where you found the WmTsk file? And how u actully remove the ink from settings. Trying to find the locations of where they store the ink files for settings havent found it.
On the XML i dont have quite the same view of xml files but i look see if any provision xml is for the encryption. So far only found for certificates.
-Abxi-
well, i make all this changes when cook and modify my roms....in fact i delete the clear storage files (ClearStorage.exe, ClearStorage.exe.0409.mui, ClearStorage.htm and ClearStorage.lnk), and work in the mxip_Oem_Translation_0409.provxml file.(modify the Nº of applets, and delete the lines of clear storage), all with Neokit (cook tool located in prophet links)
As I know is the only way, because the config is in the rom, and you can't delete the files, either modify the provxml

[APP]Apps\Scripts to backup Personal info(and AutoRestore) |"FlashBack 0.6"| 10-23-09

[APP]Apps\Scripts to backup Personal info(and AutoRestore) |"FlashBack 0.6"| 10-23-09
UPDATE: 10-22-09 FlashBack 0.6
-Added program tab backup and autorestore
-Added MySpace profile(Microsoft MySpace)
-Added some more Game and Software items
-Added Zensor autorestore and autoload(autoload still needs some work)
UPDATE: 8-27-09 FlashBack 0.5
Uploading latest package from my kitchen. I will put together a cab soon, but for now you can use the flashback script from the package and overwrite original
Changelog:
Made some minor modifications as well as some optimization to reduce errors when restoring.
-Added Wifi Locations backup under software
-Added double check for manila autorestore. This way if you have non manila ROM It will not try to load manila.
For this to work correctly you need to add the following lines to your manila app.reg:
Code:
;FlashBack support
[HKEY_LOCAL_MACHINE\Software\FlashBack]
"ManilaExists"=dword:1
NOTE: Make sure to disable weather restore or delete the database when switching manila builds
Still taking further requests and hoping for some help from the real mort pros
UPDATE: 8-3-09
-Some fixes for missed lines
-Fixed G-Alarm(misspelled something causing no backup)
-added Facebook backup(not fully tested)
-added world clock cities
-Changed backup of manila files to use INI
-If you have cooked an older version into your ROM, be sure to use the newest FlashBack to backup Manila data again. The new AutoRestore script relies on the new INI files.
-Any more software requests?
UPDATE: Huge update.
Added:
-more personal settings(Buttons)
-Tools*
-Manila Wallpaper and Weather(tested .png and .jpg wallpapers)
-Made a package which will restore all saved settings when cooked into ROM.
-Added option to Auto restore. Auto is enabled by default. Look under tools.
-Added support for some builds of Opera
-Added option to Auto load Manila after Flash as oposed to "Windows Default" AKA Titanium. I prefer Manila, so if you enable the option and its cooked in you can have it right after flash.
-Prepared for adding program registrations
Check it out and let me know if it is all working for you. Please note that I will not be held responsible for any loss of data(should that somehow occur, but dont know how it would). Attaching Visual Package and cab. Legacy package will come soon. Edit: Legacy is here, but not sure if it works as I dont use legacy. Please report back for others.
jmckeejr
EDIT: The "RestoreAll" mortscrpt in packages has an extra quotation mark on line 29. Remove the first one before cooking. Should look like this:
Code:
regwritedword("HKLM","Software\FlashBack","Finished",1)
as opposed to this:
Code:
regwritedword([B]"[/B]"HKLM","Software\FlashBack","Finished",1)
This is not a needed step, but it is to double check that Restoreall does not run more than once. There is provision in the script for it to delete the link from startup as well.
Another note: Some features still need some more work to function properly. This is all trial and error as I have to find all the appropriate keys for each item. Some have more than one key which needs backed up. Thanks for trying FlashBack
UPDATE: 7-27-09
After some more work with mortscript(and some help from Noonski, thanks bud) I have put together another backup script which backs up personal info such as :
-Bluetooth Partners
-Wifi Networks
-Owner Info
-Volume
-Rings and Alerts
-Backlight settings
It is still a work in progress, but figured I would put it out there for testing and also feedback on what else to add. Noonski showed me the command lines needed to export and import reg, so now it is just a matter of adding the correct keys. I am learning as I go, so bear with me here. Feel free to test this script and add feedback here. If you are skilled with mortscript feel free to take what I have and make it better. Here is the zip with a cab(which has the script, an exe with icon and dotfred's taskmanager to import the keys). I also included the script and exe to make it easier for others to add or change things. Thanks for trying it By the way I call it Flash Back because I flash so manyt ROMs and I just want my info back in an easy way
LINK RIGHT HERE
I am very new to mortscript, so this may not be as pretty as some of the pro's might be able to do. I am hoping that someone would be interested in this and develop it further. Basically, this will copy the saved game files from teeter(labrynth) and Resco Bubbles. I started out with teeter, then found the save file for Resco, and I am thinking of adding other games/Apps to the backup list. If you know where the program data is saved, should be pretty easy to add to the list.
This script is not as advanced as it could be, but does the job required. It copies only to a specific location. Which is "\storage card\phone backup\*"
it will create the needed folders, and have separate folder for each program. I wanted it this way because I can then make a script to run in SASHIMI and restore everything on auto.
Attatched are 2 cabs. One is only for Teeter backup, the second is for both games. Includes shortcut and icons.
This is one of my first mortscript applications, so go easy on me. Just thought I would share. I know I am flashing so many ROMs that I could never get to the end of any games, so it sounded pretty handy to me. Once I get things commented out and cleaned up a bit, I will share the script for mort-pro's to fix up and optimize(hopefully). I will also share my autorestore script for SASHIMI or UC when I get it done and checked.
This seems handy dandy! I play Teeter and Resco Bubbles often! Now if only it had a cool interface with two big fancy buttons haha.
Edit: Never mind. Opened the cab and found your script.
Can you tell me where the Resco Bubbles data is stored? I had to do a hard reset and lost my saved games. I have my backups. Would love to recover the files.
Thanks!
Jason
This could become a usefull script - I for one have backed up my GAlarm reg keys because it is so annoying entering my alarm settings everytime I flash or hard reset.
Other things i'd like to be included for back up / restore...
Device Name
bluetooth pairings
WIFI settings
Game High scores & level achieved
threaded messaging ON
basically all the things I re-enter when I flash the phone!
Still learning about mort, so hopefully someone an step up to help. We would need to find a way to copy the registry entries for some of these things or somehow export and import. I know SASHIMI uses sktools, or used to at least to import export registry entries. I'll have a look at the script when I get some time off. Going to be busy for at least a few days with work, but this sounds interesting to me. I'd like to be able to hard reset or flash a ROM and have everything set up the way I want and everything restored. Although most of the registry tweaks I do in my build process, but the saved data really helps.
Lol, how to cheat at solitaire:
HKLM\Software\Microsoft\Solitaire.
Not that I've ever done it before.
I was thinking we could also make it so you could select a level to start at by keeping individual file from each level progression. This might not be the best way, but it might be an option. Would have to have a copy of the userdata.dat from each level. ie: complete level 1, copy userdata, complete 2 copy userdata, etc. Anyone interested? not sure how big the app would become this way, but I think it would be nice to choose level to begin. Anyone interested in helping get all the files? I could write a script to copy the file, and maybe rename each one as userdata_1.dat, ....2.dat, etc. Or maybe someone could figure out how to edit the data file correctly. Looks like there is only this:
Code:
6>
inside of the dat file for level 16.
Code:
 Ӧ 
level 18. Seems random to me, but maybe someone can understand if there is something to understand.
Added a new script. See first post
Updated Flash Back script. See first post
UPDATED. See first post
Just a little trick that I use that might be helpful... SKTracker is priceless! So - for example - if you have a setting you would like to save, start up SKTracker and take a snapshot, then change the setting, then take another snapshot. Then compare the two in SKTracker. It will show you all the registry entries that changed.
Uploaded lates FlashBack version 0.5. See first post
I want to make this into an actual program. Would any developer like to help? I am a total newb trying to learn VB or similar. Could someone share some sample code to :
-copy mutiple files(or make compressed backup in a centralized .zip)
-import/export registry
I know these sound like simple things, but as a newb it would be nice to see sample code I have figured out the UI part and navigating forms, but still dont know these basic commands
Thanks for any help or if a developer would like to help with an open source files/registry backup software
Updated to FlashBack 0.6. See first post for details
Hello, does that backup Manila's Facebook-Contacts link?
Gday - i have tried using FlashBack to backup the following items
Personal Data -> Rings and Alerts
Personal Data -> Wifi Networks
Software -> Resco Explorer
Manila -> Weather
All of them say they were succesful, but on restoring only the Manila weather worked - everything else did not restore. And when i look in the Phone Bakup folder on my storage card I have a Manila subfolder wih Manila.ini and Weather folder with a manila file in it (which is obviuosly the weather backup) and the only other folder is called RegKeys but it is completely empty. So evidently the Rings/Alerts, Reso Explorer and Wifi Networks are not creating any reg files or other files in the backup area
Any ideas?
amazing!!!! i'll cook it in my next rom compilation to give it a try!
thank you
Yeah gotta try this out. Awesome idea. But has DEV stopped?
Martinhdk said:
Yeah gotta try this out. Awesome idea. But has DEV stopped?
Click to expand...
Click to collapse
Yeah seems to gave stopped... i never had a response to my queries in november (about 3 posts up). Most of the items i tried to backup with this script didnt actually seem to create any backup files and thus werent restored.
I just researched and discovered myself the various files and registry items that need to be backed up for the various things i wanted to maintain between flashes, and use SASHIMI to do it. It is brilliant and saved me hours of customising after a flash. I strongly reccomend to check out SASHIMI

ROM flashers - do you cab your personal info?

I'm toying with the idea of putting together a cab with my owner info, local area code, alerts and notifications settings, etc. Has anyone else done this? And if so, which keys did you grab? What are your thoughts? How well did it work? I'm using CERegistryEditor and WinCE Cab Manager - any better tools for the job?
I know this can be done with Sashimi, in fact that's what gave me the idea to do some provisioning... I just thought a cab in the UC folder would be quick and painless.
~Eric
I made provXMLs/cabs of my email accounts, power saving settings, and auto light sensor settings, which get installed by XDA User Customization on the first boot. The easiest way to do this is to use the XML maker in sashami (makisu), then save the .xml file onto your SD card. For any settings found in Schapps' Advanced Configuration Tool, you can export them as .XML files which are usable with UC. Then, in your SDConfig.txt file, use the XML: command (as opposed to CAB:) and specify its file path as you would with any .cab file. For any settings found in Schapps' Advanced Configuration Tool, you can export them as .XML files which are usable with UC. Then, UC will import the registry entries from the provXML on the first boot.
Or if you really want .cab files, I believe you can import provXMLs as registry settings with WinCE Cab Manager since your provxml is identical to _setup.xml (which contains registry settings) found in the root of any modern .cab. Then, you can create the .cab file, and it'll install all your registry settings. If that fails, you can still use the official Microsoft .cab SDK and cab up the XML, as detailed here. It may seem like a lot of work, but it'll be completely worth it once you've automated everything.

Frequent Rom Flashing.. Backup email settings and restore..

Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
prudviraj said:
Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
Click to expand...
Click to collapse
Same here, what is best method to backup & restore phone settings regardless of what ROM we are using.
What about Microsoft my phone?
get makisu from HERE
(its a plugin to sashimi, but it will run standalone too)
run it, (it may take a few moments to start, be patient) enter your account details, add as many as you like, including wifi settings
tutorial video HERE
copy the xml file it creates (created mine as program files/makisu/makisu.xml)
get the microsoft cabinet sdk from HERE
extract it, and in the BIN folder is an .exe file called makecab.exe
I coppied that file out to its own folder, i dont use anuthing else in the sdk.
put makecab.exe and makisu.xml in a folder together, rename the xml to _setup.xml
open a command line window, and browse to that folder.
(Useful tip for vista/7, with the folder open on screen, hold shift and right click, you will get the option to 'open command window here')
issue the command
makecab /D COMPRESS=OFF _setup.xml mail.cab
(set mail.cab to whatever.cab name you want)
Thats it, copy the cab to your phone and run it when you need to set up your email accounts (and wifi if you set that too, very handy, i've automated 5 email accounts and 3 wifi networks)
(You could also just stop at the xml stage, and next time you hard reset, instal makisu and then choose 'provision xml' and browse to the makisu.xml file and it will install the settings.)
@samsamuel - I've just found this post (after searching for "rename email account"!!) and it's awesome.....just what I've been looking for!! Now I can reload my mail settings whenever I flash....assuming I can find a way to rename the current (incorrect) mail account I just added, otherwise I'll have to go for the delete/re-create option
Thanks again for posting about "makisu" - shame I have to register on yet another forum I'll never use just to get it....unless it's hidden on XDA somewhere?
Mark.
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
leepriestenator said:
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
Click to expand...
Click to collapse
After you make the xml with the program, how do you access it on the phone for restoration of settings? I don't need it right now but I am making xml's since I have had to hard reset my phone 4x already (and not because I was flashing a ROM) and re-creating all the settings is such a pain. I read into the sashimi and makisu but those apps make my head spin. There has to be a simpler way. Thanks in advance.
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
k8sh said:
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
Click to expand...
Click to collapse
it doesnt install any files anywhere, not in teh way you mean, its just setting/changing/applying settings. Think of the xml file as a script that makes changes as it runs.
For me, i have makisu in my autoinstall folder, so it gets installed at hard reset, and i run teh xml file (also on my sd card) manually when i am ready to apply it. (I flash a lot, so sometimes i dont want email setting up, because i am gonna flash again in a few minutes).
I no longer bother creating the cab, because with the xml file you can just open it in notepad and add anotehr email account, make other small adjustments, whatever, which you cant do with a cab, you have to rebuild the whole thing from scratch. (for some reason wince cab manager cant open that cab.)
Well if you are on a custom rom, every chef support some form of UC or the other (User Customization).
In addition to Sashimi / Makisu you can also use SDConfig.txt & XDA_UC if your ROM supports it.
Google them and you'll find more info.
This looked like it would do the trick. When I run it I get a visual basic error. I have netcf v4 installed. Is there another file required to make this run?

Categories

Resources