yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze ROM Development] ForgetfulGuru:
Yes so worth the learning

Thanks for the link to Khebs tool. I tried a forum search for this after the first mention of it here, came up a blank. will be adding this to my install and making regular use of it.

You are so right about the learning curve being VERY worth it. don't think I could be bothered with updates and trying new ROMs if it were not for this fantastic set of tools.
[Touch Pro, Fuze ROM Development] powinmo:
Hello. Are you using any of the updates I posted for S4X? Release 1.61 fixed a typo (see the updates for my changelog posting) in his PIM subroutine that would have prevented the pim.vol from being restored. If you are, I did a cursory look at the source again, and from what I can tell it should process both correctly now.

I can see why you would need to do both and nothing should be preventing that now... if you are using my updates, enable the debugging/logging and post the logs for me (here or via PM is fine) to help me narrow down the issue.

Glad you find these tools to be a nice extension to XDA_UC and/or your automated flashing toolset. If possible, just post around when possible to let people know this tool is still actively supported on all devices, not just the Touch Pro... eg, maybe a review in a neutral device forum here.

*EDIT*

General info for all late to this thread, I am helping to maintain S4X now. Please see Post #1 updates to links to my changelog and downloads for the most current script updates. Most recent version is 1.62 for S4X_Auto.mscr as of this post.
[Touch Pro, Fuze ROM Development] motisu:
I know about the typo, I was the first to find it :).

http://xdaforums.com/showpost.php?p=7853379&postcount=216

I am using 1.6.2

How does one turn on debugging mode?

My exact problem is that for some reason, the script doesn't find the PIM.VOL file even though it is there in the proper directory.

One more thing: I saw in the changelog that Pimbackup can be run with a MSCR file to automate the restore. Could you please upload and example of this file?
[Touch Pro, Fuze ROM Development] powinmo:
Noted about you finding the typo. Much appreciated.

Sorry, I thought I put in debugging in to these scripts, but it was for another project. The log you attached is a sufficient starting point for now.

Where exactly are you putting the PIM.VOL file? The script has it currently (I never modified it) hard coded for something like "[storage card]\xda_uc\s4x\_Mod_\PIM.VOL" where [storage card] is your local sd card location, eg "\Storage Card". It would make more sense to put it in "...\_Mod_\filesPIM" right?

Also, if you've used ".auto" files to install .cab files with custom prompts... same concept for the .mscr for automating PIMBackup.
[Touch Pro, Fuze ROM Development] motisu:
I am an IDIOT!!! " none so blind as those who will not see" IN the original version of 1.6, I found that error and corrected it to point to filesPIM, but in your updated version, because you corrected the typo, I wrongly assumed that the path was also corrected. What is missing is simply to add \filesPIM to the path and it works. Thanks for the memory jog!!!

As to the auto script, I have worked before with them, but I never used it to check/uncheck boxes, only to tab and press enter. Can you drop me an example of one and I'll modify it accordingly?
[Touch Pro, Fuze ROM Development] powinmo:
No worries, just glad I could help. On the next update to S4X, I'll set it up so PIM.VOL is searched in both locations, the original for compatibility:

(1=original) _Mod_\PIM.VOL

(2=should be the proper location) _Mod_\filesPIM\PIM.VOL

I'll notate in the changelog when I get a chance to make the changes. If there's anything else anyone would like to see added/fixed/modified... now's your chance...

As for the .mscr/.auto automation of PIMBackup, I'll have to check if mine do something with the checkboxes. I may have given up due to the involvement of how much I had to the "send" commands, etc.

I think on the next update, I may do a revamp of a possible .cab installer that will include the last mortscript released (4.3b15).
[Touch Pro, Fuze ROM Development] blast0id:
there is a script that comes with SASHIMI, called "makisu" that can do that... I was thinking about trying to write my own version of it... but as of yet I haven't even opened that script file to see just how complicated that task may be... at any rate, I used makisu to build my activsync_email_wifi.xml and it works perfectly every time =)
[Touch Pro, Fuze ROM Development] ceesheim:
ok next question :

I have a .cab that I want to install and after it is installed I want to change some manila files .

so what I need is , first install the .cab and than copy over some manila files

at this point it first copy the files and than install the .cab and that is wrong ( the copied files are over written by the .cab .)
[Touch Pro, Fuze ROM Development] blast0id:
If (DirExists( "\Storage Card\XDA_UC\Manual\manMOD" ))
RegWriteDword("HKLM","\Software\Microsoft\Today\Items\" & ManilaName,"Enabled","0")
Sleep(500)
RedrawToday
Sleep(500)
While(ProcExists("manila.exe")=TRUE)
Kill("Manila.exe")
Sleep(1000)
EndWhile
ForEach CABfile in files ( "\Storage Card\XDA_UC\Manual\manMOD\*.cab" )
Runwait( "\Windows\wceload.exe", "/nodelete /silent " & """" & CABfile & """" )
EndForEach
XCopy( "\Storage Card\XDA_UC\Manual\manMOD\manila\*.*", "\Windows", TRUE, TRUE )
Sleep( 10000 )
RegWriteDword("HKLM","\Software\Microsoft\Today\Items\" & ManilaName,"Enabled","1")
Sleep( 500 )
RedrawToday
Else
SleepMessage( 5, "There was an error...", "Error:" )
EndIf

see if that does it.

1. stick cab files in \Storage Card\XDA_UC\Manual\manMOD

2. stick manila files in \Storage Card\XDA_UC\Manual\manMOD\manila
[Touch Pro, Fuze ROM Development] ceesheim:
hi , what is the extension (mscr )

edit : thanks man that worked:D
[Touch Pro, Fuze ROM Development] ceesheim:
can someone confirm that if you use this:

" it will copy a custom Sense background found in \Storage Card\XDA_UC\sense\wallpaper_sense.png to the device and set that wallpaper as default in Sense. So rename your wallpaper as "wallpaper_sense.png" and drop it in \Storage Card\XDA_UC\sense\ and on the next ROM flash that wallpaper will become your wallpaper in Sense. "

xda_uc will crash .
[Touch Pro, Fuze ROM Development] blast0id:
really? hmmmm... can you confirm after hard reset? maybe something to do with it already being applied? I dunno... shouldn't matter, let me take a look at that part of the XDAUC script and see what's going on...

edit: well, the only thing I can see that I might do different, is he starts copying everything from the sense folder to the windows folder, before he disables sense... try this:

If (DirExists( "\Storage Card\XDA_UC" ))
RegWriteDword( "HKLM","\Software\Microsoft\Today\Items\HTC Sense","Enabled","0" )
RedrawToday
Sleep("3000")
Copy( "\Storage Card\XDA_UC\wallpaper_sense.png", "\Windows\wallpaper_sense.png", TRUE )
If ( FileExists( "\Storage Card\XDA_UC\wallpaper_sense.png" ) )
RegWriteString( "HKCU", "Software\HTC\Manila", "HomeBackgroundPath", "\Windows\wallpaper_sense.png" )
RegWriteString( "HKCU", "Software\HTC\Manila", "DefaultHomeBackgroundPath", "\Windows\wallpaper_sense.png" )
Copy("\Storage Card\XDA_UC\wallpaper_sense.png","\Windows\HomeBackground.img", TRUE)
Else
Endif
Sleep("15000")
RegWriteDword( "HKLM","\Software\Microsoft\Today\Items\HTC Sense","Enabled","1" )
RedrawToday
Else
SleepMessage( 10, "There was an error...", "Error:" )
Endif

I just noticed as I was editing this part of his XDAUC script that he had two double quotes at the beginning and end of the first parameter for the last Copy() command... maybe that's what caused it, just try this script and see if it works for you, if it does, then it was the two double quotes in the last Copy() command I'm pretty sure and I'll notify him of this...

you need to place your wallpaper_sense.png in the root of XDA_UC folder instead of the \sense\ folder... for my script to work...
[Touch Pro, Fuze ROM Development] ceesheim:
lol 8 times hardreset took it for me to know it was that .
[Touch Pro, Fuze ROM Development] ceesheim:
ok I will try it later on the day .

ps the bug : it reset sense (don't start it again ) and then do nothing .
[Touch Pro, Fuze ROM Development] blast0id:
yeah, he sets ErrorLevel("off") at the beginning of the script, so if it runs across an error it keeps going, which means it probably skips restarting sense after that error...
[Touch Pro, Fuze ROM Development] ceesheim:
lol, nothing better to do with my live , hard reset as we speak .

only to test if it works :D .
[Touch Pro, Fuze ROM Development] ceesheim:
OK your script works :D .
[Touch Pro, Fuze ROM Development] blast0id:
OK, I'll let him know about it...
[Touch Pro, Fuze ROM Development] Ralt:
PIM Back up & Exchange Sync??

are there any known issues with backing up pim and syncing with an exchange server?

I don't know why there would be..but I've always just synced up after a flash vs. backing up and restoring, but that seems to be one of the most time consuming parts of the flash.

Thanks

Ral
[Touch Pro, Fuze ROM Development] rmanaka:
Same here! I've used Exchange for several years through a few different phones and ROMs (although it's really more of a restore of info from the exchange server as opposed to the traditional "backup"). Changes made on the phone sync to Exchange a they are occur, at least within a connection cycle. SMS/MMS saved and restored with MS My Phone service.

Great when you flash a ROM away from home or your phone breaks and you have to start from scratch! This has happened to me when traveling and it was really great to recover on the road.
[Touch Pro, Fuze ROM Development] Ralt:
So have you used a back up AND exchange without any problems? I'm trying to decide if I can do it...I know I don't have to. but thought it may save time.

thanks
[Touch Pro, Fuze ROM Development] rmanaka:
ONLY use MS My Phone, as it will detect the Exchange server and NOT back up your contacts, appointments (calendar), emails and tasks. It will back up your MSM/SMS messages, documents, photos, etc.

DO NOT use another backup program for contacts, etc. EXCEPT for a fail-safe! If you restore from another backup program the contacts, etc. will be DUPLICATED when you re-sync with Exchange server.

I sync about 1400 contacts and it was a real pain when I discovered that any contacts I restored with PIM backup or Sprite Backup were duplicated in Exchange...fortunately I use a pretty good duplicate finder (Cardscan) to remove them, but I then discovered that many of my business card images (from both Cardscan and Neat Office) had been lost in the process.

The one thing I have NOT been able to backup are the contact specific ringtones. I think they are saved in PIM.vol and the Exchange server does not sync the ringtone field. Perhaps others have had more success with contact ringtones. If so, I'm all ears (or eyes)!!!

I have been about 50% successful in restoring Sense Favorites in the correct order when I restore that area from registry. Sometimes the contact pointers get changed when restoring from Exchange and then the wrong people get added to favorites.

About 75% successful in restoring the "favorite" contacts in spb Mobile Shell 3.5.3.

Don't get the wrong idea, ALL of the contacts are correctly restored from Exchange, it's just the "favorite" ones that you choose to display on a Sense or MShell page that may need to be adjusted!

HTH
[Touch Pro, Fuze ROM Development] slinkygn:
Awesome. Worked great. Thank you!
[Touch Pro, Fuze ROM Development] Ralt:
Thanks...that's kinda what I thought but had hoped there was a better way to flash and restore quickly.
[Touch Pro, Fuze ROM Development] Mark5:
This is great! What a fab mod :)

Quick question - one of the killer functions of Sashimi (in my opinion) is the ability to silently install cabs onto the SD.

I know XDA_UC can do this for the device and can offer you an assisted install in the XDA_UC/SD directory which allows you to manually choose the SD as a destination - but do you know how Sashimi allows for a silent install on the SD card?

If so, it would great to stick some cabs in say, XDA_UC/SDAuto or something like that for those cabs that we know we just want to plain vanilla install on the SD card.

Any thoughts? :)
[Touch Pro, Fuze ROM Development] :
you asked, more eloquently, what i would also like.
[Touch Pro, Fuze ROM Development] salehjs:
Can you guys tell me how to copy my PIM.vol from SD Backup directory to device root using XDA_UC directory after ROM Upgrade?

I really appreciate your assistance

Best Regards
[Touch Pro, Fuze ROM Development] blast0id:
I could add a couple lines to make that possible with my mod... I think the safe way to do it is to shutdown cprog first...
[Touch Pro, Fuze ROM Development] blast0id:
First, thanks... I hope it helps people have an easier after flash customization (near complete auto)

I've been thinking about looking into that, so now that there is some interest, I will do just that... I will gladly add that functionality if I can figure it out! really shouldn't be too difficult though... the dynamic menu for the tsk files took me almost 3 days to figure out... that involved writing to a file and then calling that file as a script... this shouldn't be too aweful involved, so if it's not I'll have an update in the next few days to make that possible...
[Touch Pro, Fuze ROM Development] Mark5:
Your welcome :)

There has been a LOT of interest in this feature on the HD2 Energy thread, although with nearly 11,000 posts it can look a bit swamped ;)

Anyway, if you figure it out - you will get a lot of q-dos over there, at least....

Thanks for the response - and I will keep an eye on how you get on :)
[Touch Pro, Fuze ROM Development] TesseractE:
Long time listener, first time caller....

I didn't see anything in this thread about a scheduler that would back up my settings and chosen files at x:xx AM/PM every day. Is this already a feature, or scheduled for a future version?

I'd love to switch over to XDA_UC from PIMBackup, but I just need to make sure that I can backup everything that needs to be backed up.

Haven't looked around for info on backing up MMS/SMS using XDA_UC yet, but that'd be the only other thing I'd need to regularly backup since E-Mail and Contacts are safely on Google's Exchange Server.
[Touch Pro, Fuze ROM Development] blast0id:
well, this is simply a straight rip, hence the filename, of SASHIMI's sdauto feature... all I did was add/change some variables so it would work as a stand-alone...

I am keeping it separate, because it is not my code... and until I can figure out how to optimize it or write my own "stripped" down version of it, it will stay separate... what I will do is add a check in my other copy2root_dialer script to call this script if it is present in the SDAuto folder of XDA_UC... for those that don't want to use my mod, but want this, just place it XDA_UC folder and place the cabs you want installed to SD card in XDA_UC\SDAuto... hope this helps some of you out =)
[Touch Pro, Fuze ROM Development] blast0id:
there is no way to "automatically" backup SMS/MMS/Email except via MyPhone or PIMBackup... XDA_UC is not so much meant for backing up as it is for restoring...

I could make my script call the customFRE (filebackup & regexport) every so often after the initial XDA_UC customization if using my mod during the customization process... but it won't automatically backup any PIM data, just files and reg settings... you can set up PIMBackup to automatically backup at certain intervals and also to save the backup to your XDA_UC folder... I could add a second script to customFRE for "pre-flash" that would check for the most recent version of your PIMbackup and copy the older ones to the XDA_UC\Manual\PIMolder, so that when XDA_UC runs it has the most recent already selected (it checks alphabetic first then alphanumeric and would end up choosing the older one first, if not first moved out of the folder)... if this would help you out I could implement it quite easily...

so let's see, current requests for next version would be:

1. timed autobackup of file/reg settings via customFRE

2. backup of PIM.vol

3. integrate a check and call of the sashimi_sdauto script

anything else I could easily add, that would help you guys out in your quest for perfect XDA_UC customization?
[Touch Pro, Fuze ROM Development] TesseractE:
Thanks for the effort!

In regards to your comment about XDA_UC not being a backup utility, it kinda felt like it was designed to ease the passage from one ROM flash to another. Making it a one-stop-shop for backing up everything one could want to carry over during an update seems to me like it'd be a natural evolution.

PIMBackup has been the standard for years, but I think this has the potential to succeed the throne. ^^d
[Touch Pro, Fuze ROM Development] blast0id:
Again, XDA_UC, both Energy's version AND Noonski's original version are NOT backup utilities, they are utilities for RESTORING what you have already backed up via reg/xml/PIM...etc...

Energy's settings exporter, SASHIMI's backup features...etc are great for backing things up...

My mod, most of which is cut/paste of already existing code, also which I am in the process of optimizing and rewriting to be as much my own as possible, save for the idea itself... is attempting to ADD the "backup" functionality of the already available options, to make XDA_UC that much more user friendly... I hope it helps XDA_UC become what you are dreaming it already should be!
[Touch Pro, Fuze ROM Development] Mark5:
Fantastic! I will give it a go as soon as I get home later this week....thanks so much for your speedy work on this - it is much appreciated! :D
[Touch Pro, Fuze ROM Development] :
so just to double check. All i need do is flash my new rom. then install this file to the device place all my apps that i want to auto install to the sd card into a folder called 'xda_uc\sdauto' and it will install them?
[Touch Pro, Fuze ROM Development] blast0id:
I would place the apps you want installed to sd card automatically in xda_uc\sdauto, and copy this file to xda_uc before flashing, but I guess you could do it after as well... but if you do it before then on first boot you can just hit "yes" when xda_uc starts...
[Touch Pro, Fuze ROM Development] :
oh i see! so when i hit 'yes' it would install the stuff from the 'xda_uc' folder first then continue onto the 'auto' folder? I like it many, many thanks!

edit- one other thing do you know if doing this method it would 'force' an install of an app/game onto the sd card?
[Touch Pro, Fuze ROM Development] blast0id:
I apologize... I re-read this again, and apparently I didn't pay close enough attention the first time I read it. I thought you were saying that you thought it was a backup utility, when you were just stating that making it capable of backup AS WELL AS restoration duties would be the natural progression... so I totally agree and I'm sorry if I came across as a babbling idiot... hehe... please let me know of any further suggestions you (everyone reading this) may have!

exactly...

as far as "forcing" the only way it's going to be able to "force" it to install to SD card is if you are given the option to install to SD card during a normal setup... if when you manually install the cab it doesn't give you a choice and just installs it right to your device, then no, this will not be able to "force" that to work any differently... only way would be to unpack the cab and try editing the cab manually to have the option of where to install... but that's not exactly simple...
[Touch Pro, Fuze ROM Development] brekfist:
How do you backup wifi settings?

When checking the Tutorials i get error Forbidden

/energy/Addons/XDA_UC%20Related/Tutorials/
[Touch Pro, Fuze ROM Development] blast0id:
wifi settings you would need to use SASHIMI's "makisu" tool to build yourself an xml file... those settings can't be backed up via registry...
[Touch Pro, Fuze ROM Development] :
I know this is not your code so you may not know. But.

I re-flashed my rom today and did this as you advised. all appeared great and the installs ran thru xda and completed. However, less than half of the games/apps in the 'sdauto' folder actually installed? Any ideas, please?
[Touch Pro, Fuze ROM Development] blast0id:
I'm not sure... maybe you can PM me links to the cabs that didn't install and I will take a look at them and see if maybe the SDAuto function can/can't handle them and why/why not... sorry about that...

without having the cabs the only thing I can tell you is that the function does check to see if the available space on SD is at least 4x the size of the cab... I doubt this is the issue, but that is one check that I know COULD cause problems if there wasn't enough free space available...
[Touch Pro, Fuze ROM Development] :
space would not be an issue i have a 16gb card and the files are manually installing ok. most of them are games but one for example was adobe flashlite. the link i got it from was from this page post #6 http://xdaforums.com/showthread.php?t=668465&highlight=flashlite+dp

thanks again.
[Touch Pro, Fuze ROM Development] Mark5:
What you can do is run WiFi Monster and use that to configure all your wireless settings. When you exit WiFi Monster, you get an auto ticked option to copy all those settings to the Windows ZC (ie the normal windows wireless). You only need to do this once and never run WiFi monster again (unless you add a new wireless network).

Anyway, that creates a file called networks.dat in Program Files\Wifi Monster that you can use this mod to automatically copy back on a reflash and all your settings are copied back. Run Wifi Monster once after a reflash and immediately exit and all your networks are copied back to Windows ZC. :)
[Touch Pro, Fuze ROM Development] blast0id:
please see 1st post for update, new version makes the fix obsolete... thanks!
[Touch Pro, Fuze ROM Development] oluwaponmile:
Backup ET9 / Custom words

Hello People,

Would anyone know how to backup and restore the eT9 words / dictionary so that I don't loose my customs words after a flash irrespective of the rom I am using.

I have a mortscript that I have once used but it doesn't seem to do the job.

I hate losing my customs words after each flash or hard reset

Any help will be appreciated.....
[Touch Pro, Fuze ROM Development] blast0id:
the answer is in the 2nd and 3rd posts... look for lines mentioning ET9... hope that helps =)
[Touch Pro, Fuze ROM Development] blast0id:
updated 1st post... nothing major, just ready for the newest batch of Energy ROMs...
[Touch Pro, Fuze ROM Development] Birger:
I have problems for the XDA_UC

I put some cabs in the XDA_UC dir, they install fine on the main memory.

I put some cabs in the XDA_UC\SC dir, in the XDA_UC\Storage, in the XDA_UC\Manual and they all don't install.

I put some cabs in the XDA_UC_Mod_2.3\SDAuto dir, runned the 001_dialer_copy2root script and ... nothing installed.

I use The GTX 23569 of 28 mai.

What's wrong?
[Touch Pro, Fuze ROM Development] blast0id:
the "manual" directory for energy's XDA_UC is XDA_UC\SD (not "SC" or "Manual")

it should be XDA_UC\SDAuto -- NOT XDA_UC_Mod_2.3\SDAuto, that is probably why that didn't work...

the contents of XDA_UC_Mod_2.3.zip should be unzipped to XDA_UC

folder structure should be:

\Storage Card\XDA_UC\
\Storage Card\XDA_UC\customFRE
\Storage Card\XDA_UC\Dialer
\Storage Card\XDA_UC\Manual
\Storage Card\XDA_UC\Manual\ManilaXML
\Storage Card\XDA_UC\Manual\PIM
\Storage Card\XDA_UC\Manual\REG
\Storage Card\XDA_UC\Root
\Storage Card\XDA_UC\SDAuto\0002_sashimi_sdauto.mscr
[Touch Pro, Fuze ROM Development] zee750s:
how do i automatically install everything to sd card on first run?

tried in sd folder but i have to select each time.
[Touch Pro, Fuze ROM Development] blast0id:
if you use my mod, you can place UC compatible (ie: don't have any prompts during install) cabs in XDA_UC\SDAuto and they will automatically install to sd card...