5,597,815 Members 37,419 Now Online
XDA Developers Android and Mobile Development Forum

[XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [DEC.02.2010] XDA_UC Mods & Answers

Tip us?
 
ceesheim
Old
#31  
ceesheim's Avatar
Forum Moderator
Thanks Meter 1861
Posts: 3,067
Join Date: Jun 2009
Location: Germany

 
DONATE TO ME
OK your script works .



the hottest geek girl in the world SassiBoB, SassyBoB, Sassy BoB, sassibob

Iron Fist !!!

XDA-Developers is all about Developers
 
blast0id
Old
#32  
Senior Member - OP
Thanks Meter 591
Posts: 2,764
Join Date: Aug 2007
Location: ap0pka
Quote:
Originally Posted by ceesheim View Post
OK your script works .
OK, I'll let him know about it...

• HTC M7 Viper0ne + ElementalX
• protected by otterb0x defender
•
• [DEV TOOL] EASYapkTOOLcompilerDECOMPILER
• [DEV TOOL] easyFLASHABLEzipBUILDER
•
•┌∩┐(◣◢)┌∩┐• • ! FAH Q H8RZ ! • •┌∩┐(◣◢)┌∩┐
• _ • _ • _ • _ • ! - VOTE FOR FREEDOM - ! • _ • _ • _ • _ •
• _ _ _ Respect existence or expect RESISTANCE!
•
• DiMaggio < Rapheal < Vision < Ruby < M7
• 2005 - - - - - - - - - - - - - - - - - - - >> Today
• CLICK HERE FIRST - BEFORE REPLYING!

 
Ralt
Old
#33  
Senior Member
Thanks Meter 0
Posts: 130
Join Date: Feb 2009
Location: Roseville, CA
Default 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
Fuze (ATT)

Jan 6 - |RAPH| .ธธ.ทดฏ`ท.ธธ.|Energy| |29007- 2.5/Cookie 1.8| Radio: 1.14.25.05
 
rmanaka
Old
#34  
rmanaka's Avatar
Senior Member
Thanks Meter 36
Posts: 495
Join Date: Jul 2005
Quote:
Originally Posted by Ralt View Post
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
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.
Current Phone: SCH-I545 Galaxy S4 DE
ROM: TW4.3 STOCK-INTERNATIONAL XXUENAA OR VZWMK2 BASE-AROMA-LOKI'd (jrkruse)
GAPPS: - Stock
RECOVERY: PhilZ Touch 5 CWM Base 6.0.3.3
RADIO: I545OYUAMDK - I545OYUEMK2 Modem
KERNEL: Stock


Wife's Phone: SCH-I545 Galaxy S4
 
RECOVERY: TWRP 2.2.2.0
ROM: TW - Stock - Rooted
RADIO: I545VRUAMDK


Tablets:
 
ASUS Nexus 7 FHD stock
ASUS Nexus 7 rooted with TOOLKIT by mskip!
Kindle Fire - Stock but sideloaded
 
Ralt
Old
#35  
Senior Member
Thanks Meter 0
Posts: 130
Join Date: Feb 2009
Location: Roseville, CA
Quote:
Originally Posted by rmanaka View Post
Same here! I've used Exchange for several years through a few different phones and ROMs
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
Fuze (ATT)

Jan 6 - |RAPH| .ธธ.ทดฏ`ท.ธธ.|Energy| |29007- 2.5/Cookie 1.8| Radio: 1.14.25.05
 
rmanaka
Old
(Last edited by rmanaka; 22nd May 2010 at 07:42 PM.)
#36  
rmanaka's Avatar
Senior Member
Thanks Meter 36
Posts: 495
Join Date: Jul 2005
Quote:
Originally Posted by Ralt View Post
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
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
Current Phone: SCH-I545 Galaxy S4 DE
ROM: TW4.3 STOCK-INTERNATIONAL XXUENAA OR VZWMK2 BASE-AROMA-LOKI'd (jrkruse)
GAPPS: - Stock
RECOVERY: PhilZ Touch 5 CWM Base 6.0.3.3
RADIO: I545OYUAMDK - I545OYUEMK2 Modem
KERNEL: Stock


Wife's Phone: SCH-I545 Galaxy S4
 
RECOVERY: TWRP 2.2.2.0
ROM: TW - Stock - Rooted
RADIO: I545VRUAMDK


Tablets:
 
ASUS Nexus 7 FHD stock
ASUS Nexus 7 rooted with TOOLKIT by mskip!
Kindle Fire - Stock but sideloaded
 
slinkygn
Old
#37  
Junior Member
Thanks Meter 1
Posts: 29
Join Date: May 2007
Quote:
Originally Posted by benjamminzIS View Post
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 =)
Awesome. Worked great. Thank you!
 
Ralt
Old
#38  
Senior Member
Thanks Meter 0
Posts: 130
Join Date: Feb 2009
Location: Roseville, CA
Quote:
Originally Posted by rmanaka View Post
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.
Thanks...that's kinda what I thought but had hoped there was a better way to flash and restore quickly.
Fuze (ATT)

Jan 6 - |RAPH| .ธธ.ทดฏ`ท.ธธ.|Energy| |29007- 2.5/Cookie 1.8| Radio: 1.14.25.05
 
blast0id
Old
(Last edited by blast0id; 25th May 2010 at 04:23 PM.)
#39  
Senior Member - OP
Thanks Meter 591
Posts: 2,764
Join Date: Aug 2007
Location: ap0pka
O.K. been racking my brain for the past few hours and finally got it figured out, this was a BITCH! (for my small minded self)
Code:
XCopy( XDAUC_FOLDER & "\*.tsk", "\Windows", TRUE, FALSE )
Sleep( 10000 )
tskArray = DirContents( "Windows\*.tsk", DC_FILES )
If ( NOT isEmpty( tskArray ) )
	If ( FileExists( "\Windows\cusTSK.exe" ) = TRUE )
		If ( FileExists( XDAUC_FOLDER & "\choices.mscr" ) = TRUE )
			Delete( XDAUC_FOLDER & "\choices.mscr" )
		Else
		EndIf
		WriteFile( XDAUC_FOLDER & "\choices.mscr", "ChoiceDefault( ""theme picker"", ""choose a theme:"", 0, 30, tskArray ) ^NL^", TRUE )
		ForEach x, file in array( tskArray )
		  write = "    Case(" & x & ") ^NL^      RunWait( ""\Windows\cusTSK.exe"", ""\Windows\" & file & """)^NL^      Sleep( 5000 )^NL^      RedrawToday^NL^"
		  WriteFile( XDAUC_FOLDER & "\choices.mscr", write, TRUE )
		EndForEach
		WriteFile( XDAUC_FOLDER & "\choices.mscr", "EndChoice^NL^", TRUE )
		Sleep( 1000 )
		CallScript( XDAUC_FOLDER & "\choices.mscr" )
	Else
		SleepMessage( 5, "Sorry, cusTSK.exe was ^NL^ not found on device. ^NL^ Please copy cusTSK.exe ^NL^to your \Windows dir ^NL^ and try again.", "Error...", TRUE )
	EndIf
		If ( FileExists( XDAUC_FOLDER & "\choices.mscr" ) )
		  Delete( XDAUC_FOLDER & "\choices.mscr" )
		Else
		EndIf
	SleepMessage( 10, "There were no *.tsk files ^NL^found anywhere on device.", "Error:", TRUE ) 
EndIf
I will be adding this to my script and what it does is copy any *.tsk files you have in XDA_UC root to \Windows then opens a window with choices of all available themes, then it lets you set the theme when you choose OK, if you do nothing, it does nothing... I think I am going to add a couple more lines so that if you want it to be silent you can just name it something like "my.tsk" and it will copy that to \windows and set it as your theme with no interation needed...

hope this will make some of you happy... going to leave the old version of the mod up, and set this one as ver2 or something...

edit: major overhaul... now using autoTSK.ini (if present in XDA_UC folder) to set the theme silently.
Code:
[theme]
file=EnergyROM 2010.tsk NO PATH, JUST FILENAME
if the file is present and a filename is present in the file it will set that theme silently, and skip the choices menu. otherwise it will pull up a menu of all available choices in \Windows
Code:
errorA = DirContents( XDAUC_FOLDER & "\*.tsk", DC_FILES )
fileTSK = IniRead( XDAUC_FOLDER & "\autotsk.ini", "theme", "file" )
tskArray = DirContents( "\Windows\*.tsk", DC_FILES )

###########################################################
# Copy any/all *.tsk Files to \Windows ####################
###########################################################

	If ( NOT isEmpty( errorA ) )
	  XCopy( XDAUC_FOLDER & "\*.tsk", "\Windows", TRUE, FALSE )
	  Sleep( 10000 )
	EndIf

###########################################################
# Set default silent theme ################################
###########################################################

	If ( NOT isEmpty( fileTSK ) )
	  RunWait( "\Windows\cusTSK.exe", "\Windows\" & fileTSK )
	  Sleep( 5000 )
	  tskArray = "AUTO"
	  RedrawToday
	EndIf

###########################################################
# If no "silent" file, give choices #######################
###########################################################

	If ( isEmpty( tskArray ) )
	  SleepMessage( 5, "There were no *.tsk files ^NL^found anywhere on the device", "Error:", TRUE ) 
	ElseIf ( tskArray eq "AUTO" )
	  SleepMessage( 5, "autoTSK.ini was used^NL^to set theme.", "AUTO:", TRUE )
	Else
	  If ( FileExists( XDAUC_FOLDER & "\temp.mscr" ) = TRUE )
	    Delete( XDAUC_FOLDER & "\temp.mscr" )
	  EndIf
	  WriteFile( XDAUC_FOLDER & "\temp.mscr", "ChoiceDefault( ""theme picker"", ""choose a theme:"", 0, 10, tskArray ) ^NL^", TRUE )
	  ForEach x, file in array( tskArray )
	    write = "    Case(" & x & ") ^NL^      RunWait( ""\Windows\cusTSK.exe"", ""\Windows\" & file & """)^NL^      Sleep( 5000 )^NL^      RedrawToday^NL^"
	    writeFile( XDAUC_FOLDER & "\temp.mscr", write, TRUE )
	  EndForEach
	  WriteFile( XDAUC_FOLDER & "\temp.mscr", "EndChoice^NL^", TRUE )
	  Sleep( 1000 )
	  CallScript( XDAUC_FOLDER & "\temp.mscr" )
	EndIf
	If ( FileExists( XDAUC_FOLDER & "\temp.mscr" ) )
	  Delete( XDAUC_FOLDER & "\temp.mscr" )
	EndIf

• HTC M7 Viper0ne + ElementalX
• protected by otterb0x defender
•
• [DEV TOOL] EASYapkTOOLcompilerDECOMPILER
• [DEV TOOL] easyFLASHABLEzipBUILDER
•
•┌∩┐(◣◢)┌∩┐• • ! FAH Q H8RZ ! • •┌∩┐(◣◢)┌∩┐
• _ • _ • _ • _ • ! - VOTE FOR FREEDOM - ! • _ • _ • _ • _ •
• _ _ _ Respect existence or expect RESISTANCE!
•
• DiMaggio < Rapheal < Vision < Ruby < M7
• 2005 - - - - - - - - - - - - - - - - - - - >> Today
• CLICK HERE FIRST - BEFORE REPLYING!

 
Mark5
Old
#40  
Mark5's Avatar
Senior Member
Thanks Meter 127
Posts: 559
Join Date: Jan 2007
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?

Let's see...
First a Wizard, then an Artemis, then a Diamond, then a Leo, then a Sensation and now an S3
Am currently using this ROM (Omega 4.4.2)

...and on my 8010 Galaxy Note this ROM (Omega 4.1.2)

Tags
energy, mod, mods, mortscript, xda_uc
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes