|
|
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
I was playing with a bunch of registry edits before reading this post. Ironically, I went to test it for ya but my phone now won't boot up... ... I'm sure it was unrelated to the gps photo though. Active sync locked it up when I went to retrieve it from the flash.As you've seen my UC, my hard reset usually takes about 15 minutes plus with all the software it installs so after it's done I'll report if it does work after all. UPDATE: No good news. All gps photos turned up 0,0. (FYI Which comes out to around the Gulf of Guinea on the west coast of Africa. So... Only dead ends. Turning off agps didn't do anything. playing with grace periods didn't work. I've primed her. Here's a small thread that reflects on the inconvenience. There were plenty of these on the internet as well that claimed it worked but didn't go past that... I guess some are lucky enough to have the magic configuration but I can't narrow it down. And with that, I finished my weekend and I go back to bed.
__________________
Amp'd Mobile
Moto V3m -> Moto E816 -> Moto Q Sprint HTC Mogul -> HTC Touch Pro -> Evo 4G Last edited by FatFrosty; 03-17-2009 at 12:39 AM. Reason: Update |
| This post has been thanked 1 times. |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
The problem I've seen others have is that all the shortcuts in the start menu are checked 'System Files'. This script goes through each of the Start Menu folders and removes all file attributes, then deletes it, one by one. Here's the Mortscript Code: Code:
# First delete the Start Menu's original contents
SrcDir = "\Storage Card\Cabs\Start Menu"
aDir = "\Windows\Start Menu"
ForEach bDir in directories ( aDir & "\*" )
If ( bdir ne "\Windows\Start Menu\Settings" )
if ( ElementCount( DirContents( bDir, DC_FILES ) ) > 0 )
ForEach tbdFile in files ( bDir & "\*" )
SetFileAttribs( tbdFile , 0 , 0 , 0 )
delete( tbdFile )
EndForEach
endif
if ( ElementCount( DirContents( bDir, DC_DIRS ) ) > 0 )
ForEach cDir in directories ( bDir & "\*")
if ( ElementCount( DirContents( cDir, DC_FILES ) ) > 0 )
ForEach tbdFile in files ( cDir & "\*" )
SetFileAttribs( tbdFile , 0 , 0 , 0 )
delete( tbdFile )
EndForEach
Endif
if (ElementCount( DirContents( cDir, DC_DIRS ) ) > 0 )
ForEach dDir in directories (cDir & "\*")
if ( ElementCount( DirContents( dDir, DC_FILES ) ) > 0 )
ForEach tbdFile in files ( dDir & "\*" )
SetFileAttribs( tbdFile , 0 , 0 , 0 )
delete( tbdFile )
EndForEach
Endif
if ( ElementCount( DirContents( dDir, DC_DIRS ) ) > 0 )
ForEach eDir in directories (dDir & "\*")
if ( ElementCount( DirContents( eDir, DC_FILES ) ) > 0 )
ForEach tbdFile in files ( eDir & "\*" )
SetFileAttribs( tbdFile , 0 , 0 , 0 )
delete( tbdFile )
EndForEach
Endif
if ( ElementCount( DirContents( eDir, DC_DIRS ) ) > 0 )
message ( "Some folders are too deep. May require manual deletion.", "Error - fDir" )
Endif
Deltree ( eDir )
EndForEach
Endif
Deltree ( dDir )
EndForEach
EndIf
DelTree ( cDir )
EndForEach
endif
Deltree( bDir )
Endif
EndForEach
ForEach tbdFile in files ( aDir & "\*" )
SetFileAttribs( tbdFile , 0 , 0 , 0 )
Delete( tbdFile )
EndForEach
# Then Recreate from a premade source
Foreach tbcDir in directories ( SrcDir & "\*" )
Xcopy( SrcDir & "\*", aDir, 1, 1 )
Endforeach
Foreach tbcFile in files ( SrcDir & "\*" )
Xcopy( SrcDir & "\*", aDir, 1, 1 )
Endforeach
# Lastly, delete the script copied to the Memory.
Delete ( "\CustomStartMenu.mscr" )
Code:
CAB: \Storage Card\Cabs\MortScript-4.2-PPC.cab CPY1:\Storage Card\Cabs\CustomStartMenu.txt CPY2:\CustomStartMenu.mscr EXEC:\CustomStartMenu.mscr My replacement Start Menu was already set up on my SD card. The easiest way I found was to organize the real start menu however I liked it, then just copied all of the contents over to my SD. I copied the Settings folder to my SD card (which is apparently empty) for backup, but the script is supposed to skip over the settings folder when deleting. It's partially because Mortscript doesn't want to automatically copy over the settings folder for some reason. But the reason could easily be poor coding on my part. Limitations: The deletion portion of this script is limited to about five levels deep into the start menu. So if you originally have this folder -> \Start Menu\Programs\Utilities\Internet\IM\, it'll prolly throw up an error. I've never seen a rom that organized the start menu for you so I think 3 levels is overkill. I haven't seen and don't think there will be any limitation on how deep of folders you can copy. If there are any problems I'll help as much as I can. |
| This post has been thanked 3 times. |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
|
| This post has been thanked 2 times. |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
|
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
|
| This post has been thanked 1 times. |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Anyone know of a way to just delete shortcuts in the start menu using sdconfig or an xml file? figure sdconfig might have something but according to the xda wiki that doesnt seem to be the case
![]() Quote:
__________________
If someone (like me) helps you out, press
!! only takes a second... !![]() Mogul -> Vogue -> TP -> TP2 -> Snap -> Evo -> 3D |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
<characteristic type="FileOperation"> <characteristic type="%CE5%\My Pictures\Grass.jpg" translation="install"> <characteristic type="Delete"> <parm name="ForceDelete"/> </characteristic> </characteristic> You can change the DIR to any thing u want i presume. try it out! |
| This post has been thanked 2 times. |
|
||||
|
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!
Quote:
I think what Mike showed you works just becareful with the %5% that equals the My Documents folder. here's a list for you and the % shortcuts %CE1% \Program Files %CE2% \Windows %CE4% \Windows\Startup %CE5% \My Documents %CE6% \Program Files\Accessories %CE7% \Program Files\Communication %CE8% \Program Files\Games %CE11% \Windows\Start Menu\Programs %CE12% \Windows\Start Menu\Programs\Accessories %CE13% \Windows\Start Menu\Programs\Communication %CE14% \Windows\Start Menu\Programs\Games %CE15% \Windows\Fonts %CE17% \Windows\Start Menu |
![]() |
|
|
|