PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #201 (permalink)  
Old 03-26-2009, 12:14 PM
ryangruhn's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Spring
Threadstarter
 
Join Date: Nov 2007
Posts: 136
Reputation: 105
ryangruhn is keeping up the good workryangruhn is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by redd214 View Post
man this worked like a charm. thanx man, just one more piece of the sdconfig puzzle for me!!! i will have this damn thing down soon enuff. no onto email accounts!
Make sure you guys post your WORKING .XML files as well and note in the post that it works so we can reference working .xml files! It' awesome we're getting things working, let's share it with the world!
Reply With Quote
  #202 (permalink)  
Old 03-26-2009, 12:17 PM
redd214's Avatar
Back
Offline
Pocket PC: Droid X
Carrier: VZW
Location: _
 
Join Date: Nov 2008
Posts: 2,717
Reputation: 6395
redd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the communityredd214 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

i didnt use an xml file i used mortscript based on the instructions that fatfrosty gave above for the start menu. i def. want to contribute but what i post wont really be diff from what he did, not sure if thats what u want or not?
Reply With Quote
  #203 (permalink)  
Old 03-26-2009, 01:31 PM
FatFrosty's Avatar
N00b
Offline
Pocket PC: Evo 4g
Carrier: Sprint
Location: Cincinnati
 
Join Date: Nov 2007
Posts: 30
Reputation: 85
FatFrosty is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by redd214 View Post
man this worked like a charm. thanx man, just one more piece of the sdconfig puzzle for me!!! i will have this damn thing down soon enuff. no onto email accounts!
It's a relief to hear it worked.
Good luck with email accounts, post any problems.
Reply With Quote
  #204 (permalink)  
Old 03-26-2009, 09:35 PM
No1ustad's Avatar
VIP Member
Offline
Pocket PC: Temp TP2 until the 3D
Carrier: Sprint
Location: Seattle, WA
 
Join Date: Jul 2007
Posts: 1,647
Reputation: 2451
No1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIPNo1ustad is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to No1ustad
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:
Originally Posted by FatFrosty View Post
I think I've done it so I'll go ahead and share. This solution requires Mortscript. It's the most lightweight program I've seen but one of the most powerful.

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" )
And here's how I implemented it inside SDConfig.txt:
Code:
CAB: \Storage Card\Cabs\MortScript-4.2-PPC.cab
CPY1:\Storage Card\Cabs\CustomStartMenu.txt
CPY2:\CustomStartMenu.mscr
EXEC:\CustomStartMenu.mscr
SET UP: Take note, it's stored as a txt file in my storage card to prevent any misfirings. The only things I believe that need to be changed from device to device is the directory of the cab in SDConfig, and the first variable in the script, 'SrcDir'. I wouldn't really mess with 'aDir', it can potentially be a Mortscript Virus.

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.
__________________
If someone (like me) helps you out, press !! only takes a second... !

Mogul -> Vogue -> TP -> TP2 -> Snap -> Evo -> 3D
Reply With Quote
  #205 (permalink)  
Old 03-26-2009, 09:39 PM
MightyMike's Avatar
Retired Staff
Offline
Pocket PC: HTC Desire
Carrier: Telus Mobility
 
Join Date: Aug 2008
Posts: 6,519
Reputation: 78921
MightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation levelMightyMike can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by No1ustad View Post
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
Here is an example from a .provxml

<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!
__________________
Reply With Quote
This post has been thanked 2 times.
  #206 (permalink)  
Old 03-26-2009, 10:18 PM
reigndropz's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo
Carrier: Sprint
Location: VA
 
Join Date: Feb 2009
Posts: 550
Reputation: 805
reigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by FatFrosty View Post
It's all pretty easy, you just need to change the directory to your backup directory.

1) Go to \Windows\Start Menu\ and make your perfect start menu. Then back it up somewhere on your Storage Card. My backup folder is \Storage Card\Cabs\ so I just dropped an entire copy of my start menu to \Storage Card\Cabs\Start Menu.

2) Add the following code to your SDConfig.txt. Of course change the first two lines to the correct paths.
Code:
CAB: \Storage Card\Cabs\MortScript-4.2-PPC.cab
CPY1:\Storage Card\Cabs\CustomStartMenu.txt
CPY2:\CustomStartMenu.mscr
EXEC:\CustomStartMenu.mscr
3) Download the Mortscript CAB and the txt file in my other post and place them in the backup folder.

4) Inside the txt folder, you need to change the second line that sets the variable 'SrcDir'. Set it to the path of your backuped Start Menu. Mine was \Storage Card\Cabs\Start Menu.


I can't think of anything else. It will automatically delete the Start Menu and copy from the directory you set. If that doesn't help, just tell me where you get stuck and I'll try to break it down some more.
Just wanted to say thanks again man. This worked perfectly.
Reply With Quote
This post has been thanked 1 times.
  #207 (permalink)  
Old 03-26-2009, 10:41 PM
LunaticSerenade's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon Wireles
Location: Columbus, OH
 
Join Date: Nov 2008
Posts: 176
Reputation: 155
LunaticSerenade is keeping up the good workLunaticSerenade is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

So I'm still getting the File Not Found error, here is my current SDConfig:

Code:
LOCK:Enabled
CAB: \Storage Card\Software\HTC-Touch-Pro\Advanced_Configuration_Tool_v3.3.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Battery-Related\BatteryAndPerformanceHack.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Battery-Related\increasebattery.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\FInixNOverBatteryIconsOnly.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\Darkness231 Opera default remover(beta).cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\MightyMike Stock AudioPara.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\scorpio16v4icons_in_a_row.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\galarm_1[1-.4.6.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Dark-Diamond-en.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\HTC_GPS_Tool_1[1].2.2.11vga.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\dcd VZW Arcsoft MMS 5.0.31.19.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Diamond Tweak 0.5.3_English.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Diamondconfig.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\htcAddicts cleanRAM v1[1].06.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\regedit.Mrln_ARM.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\nuePowerCPL-152-v1[1].52-cab.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\sms160.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Black Dialer.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Full S2A with New Skin.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Touch_InCall_Screen_Tweak v1[1].0.8.cab
LOCK:Disabled
RST: Reset
__________________
Current: HTC Droid Incredible [MikMik]Droid Incredible HD-1.0.3[sense 3.5 GB 2.3.5]
Previous: HTC Touch Pro (VZW)||ROM: MightyROM 6 (Final)
Lets go out west and bask/in the overcast/walking in the rain/we'll see the beauty in life again/ -Darkest Hour
Search is your best friend.
Reply With Quote
  #208 (permalink)  
Old 03-26-2009, 10:43 PM
reigndropz's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo
Carrier: Sprint
Location: VA
 
Join Date: Feb 2009
Posts: 550
Reputation: 805
reigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by No1ustad View Post
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

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
Reply With Quote
  #209 (permalink)  
Old 03-26-2009, 10:47 PM
reigndropz's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo
Carrier: Sprint
Location: VA
 
Join Date: Feb 2009
Posts: 550
Reputation: 805
reigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuffreigndropz knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Quote:
Originally Posted by LunaticSerenade View Post
So I'm still getting the File Not Found error, here is my current SDConfig:

Code:
LOCK:Enabled
CAB: \Storage Card\Software\HTC-Touch-Pro\Advanced_Configuration_Tool_v3.3.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Battery-Related\BatteryAndPerformanceHack.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Battery-Related\increasebattery.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\FInixNOverBatteryIconsOnly.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\Darkness231 Opera default remover(beta).cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\MightyMike Stock AudioPara.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Config\scorpio16v4icons_in_a_row.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\galarm_1[1-.4.6.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Dark-Diamond-en.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\HTC_GPS_Tool_1[1].2.2.11vga.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\dcd VZW Arcsoft MMS 5.0.31.19.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Diamond Tweak 0.5.3_English.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\Diamondconfig.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\htcAddicts cleanRAM v1[1].06.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\regedit.Mrln_ARM.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\nuePowerCPL-152-v1[1].52-cab.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Software\sms160.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Black Dialer.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Full S2A with New Skin.cab
CAB: \Storage Card\Software\HTC-Touch-Pro\Dialer-Files\Touch_InCall_Screen_Tweak v1[1].0.8.cab
LOCK:Disabled
RST: Reset
Take the spaces out. SDConifg doesnt like spaces in the file name.
Reply With Quote
  #210 (permalink)  
Old 03-27-2009, 04:50 PM
supdawg's Avatar
Almost a VIP
Offline
Pocket PC: EVO
Carrier: Sprint
 
Join Date: Nov 2007
Posts: 764
Reputation: 1162
supdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on repsupdawg is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Post Your SDconfig.txt, provisioning.xml, etc. Files Here!

Anyone have an XML for setting up their comcast mail? I found one for gmail, but I havent for comcast.

Or does anyone know the directory I can get the info from to convert to xml?
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:51 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com