Related
Hi!
Is it possible to create a .cab-file which does not install anything, but only applies a number of registry changes? This way you would be able to "install" changes to the registry along with the other .cab-files running from the extended ROM after a hard-reset. How do I do that?
Any other ideas as to how to auto-apply registry changes are also very welcome Thanks..
/Joe72
No problem, just use WINCE Cab Manager. For learning purposes you should open some of the CAb-Files that came with the original ExtROM. Most providers split the registry settings to different files so that I reduced the size of my ExtROM by merging them (take those files, that just have 46kb, they only contain registry entries).
Open them with the above mentioned CAB Manager and look for a file named "platformxx", extract it, edit it, perform the desired changes (or mergers) and import to CAB Manager. Make sure that you remove the old "platformxx" and change the settings of the imported file so that it matches the settings of the deleted one (most times you have to make sure that the installation paths "hard coded" to the windows folder (edit the properties of the old file before and write them down).
unfortunately not all the flags for modifying the registry are supported by the wince cabloader.
full cab spec: http://msdn.microsoft.com/library/en-us/install/hh/install/inf-format_2v02.asp
wince cab spec:
http://msdn.microsoft.com/library/en-us/wcepb40/html/pbrefaddreg.asp
this is an example minimal cab.inf file:
Code:
[Version]
Signature = "$Windows NT$"
Provider = "testprovider1"
CESignature = "$Windows CE$"
[CEStrings]
AppName = "testappname1"
InstallDir = "%CE1%\installdir"
[Strings]
reg_path= "Software\testregpath"
[CEDevice]
ProcessorType = 2577 ; arm
UnsupportedPlatforms = "HPC","HPC Pro","Pocket PC"
VersionMin = 3.00
VersionMax = 4.99
[DefaultInstall]
Copyfiles=CopyToInstallDir
AddReg=RegSettings
[RegSettings]
HKCU,%reg_path%, "testdword",0x00010001,1
HKCU,%reg_path%, "teststring",0,"teststringvalue"
HKCU,%reg_path%, "testmultistring",0x00010000,"teststringvalue","second string", "third string"
HKCU,%reg_path%, "testbinary",1,44,45,46,47,48,49,4a
[SourceDisksNames]
1 = ,"All Files",,
[SourceDisksFiles]
"mktst.bat"= 1
[DestinationDirs]
CopyToInstallDir= 0, "%InstallDir%"
create the cab with:
Code:
Windows CE Tools\wce420\Pocket PC 2003\tools\cabwiz cab.inf /cpu arm /err caberrors.log
HTC has provided a more extensive install tool, with the CESetup.dll that is in all the cabs, this tool will import a 'platformxxx.reg' file if present in the .cab.
Hi
Thanks for the replies.
It seems like more work than I thought it would be..
In WinCE Cabmanager, there is a "Registry" fold-out in the left side menu similar to the one seen in Regedit.exe on Windows desktop or Remote registry from the Embedded C++ package. My initial plan was to import the registry into a cab-file and use this tool to change the things I want changed. This way, the cab-file would contain no files for installation, but a complete registry, modified to my needs. When running this cab-file on the WinCE device, I was expecting this registry to take the place of the old one.. Or would something else happen?
Thanks,
Joe72
I did it the easy way. I installed all my apps and stuff that I need and then made a backup of the registry, which I then flash installed into the extended ROM section of the phone.
So on a hard reset all my stuff gets installed, including of course a regedit program and hack to view extended rom. All I then do is open the regedit program and restore the registry in one go from the extended rom.
Used PHM Regedit for it.
where can i find the information that it is not visibly in the "remove programs"?
I want generate a programm that is not removable.
Thx for Your help
Snappy
What encoding should I use in platformxxx.reg to make parameters which contain non-latin characters displayed correctly? I tried Windows-1251, UTF-8, Unicode. In all cases russian text is not imported correcty. It is displayed in Western encoding.
P.S. When I use Registry branch in WinCE CAB Manager everything is ok, but if I import large enough .reg file the resulting cab becomes not working.
http://forum.xda-developers.com/viewtopic.php?t=31209
mobify registry
Element said:
http://forum.xda-developers.com/viewtopic.php?t=31209
mobify registry
Click to expand...
Click to collapse
Was it an answer?
My CABs are installed successfully.
Aftef hard reset the following is installed from ExtROM:
1. CAB which changes default codepage to russian (419)
2. CAB which translates some items into russian
So all I see instead of russian items is abracadabra.
But if I install only the first CAB from ExtROM and the second one is installed only from soft reset everething is displayed correctly.
So how to make it without soft reset?
Element said:
http://forum.xda-developers.com/viewtopic.php?t=31209
mobify registry
Click to expand...
Click to collapse
or Restorator
There IS an easy solution: Create .reg files by exporting from TRE, and u can re-apply them later by double clicking the reg file. See this post for doing it on the jasJar (will work on any XDA tho).
http://forum.xda-developers.com/viewtopic.php?t=30460
craigiecraigie4 said:
There IS an easy solution: Create .reg files by exporting from TRE, and u can re-apply them later by double clicking the reg file. See this post for doing it on the jasJar (will work on any XDA tho).
http://forum.xda-developers.com/viewtopic.php?t=30460
Click to expand...
Click to collapse
I do not need "clicking". The aim is to make it installing automaticly from ExtROM after hardreset.
priezz said:
I do not need "clicking". The aim is to make it installing automaticly from ExtROM after hardreset.
Click to expand...
Click to collapse
FYI, although this thread is quite outdated, I use regedit to import registry files from the command line...
Hi,
If you are not familiar with the registry don't do this!!
Better print this before you use it!
!!PLEASE MAKE A FULL BACKUP FIRST!!! I DO
The best REGISTRY editor around is PHM Regedit.
Only one drawback: cannot edit MULTISZ values.
Use Tascal TRE for those MULTISZ values.
I use these settings you 6 months now on my 2003 SE ppc and enjoy the speed since. Some are already mentioned on the internet but some not. It could be that older CE versions don't have the features buildin but you are OK with CE4 and newer.
My keys can differ from yours. You sometimes must find the corresponding keys for your ppc.
THE OS SYSTEM (SEARCH) PATH
[HKLM\Loader]
"SystemPath"=multisz:"\windows","optional DLL or EXE paths"
(remove bogus paths, saves search time, use tascal TRE for editing MULTISZ values in the registry)
[HKLM\Init]
"Launch10"="" (was shell.exe, which doesn't even exist!?)
FLASH MEMORY DRIVES
[HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
"IdlePowerState"=dword:00000002
"IdleTimeout"=dword:000007D0 (2 secs)
"SingleBlockWrites"=dword:00000001
[HKLM\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
(same as above)
[HKLM\System\StorageManager\FATFS]
"BufferSize"=dword:00000040
"CacheSize"=dword:00002000 (at the cost of 2 Mb RAM)
"DLL"="fatfsd.dll" (use strings.exe from sysinternals to see these params)
"EnableCache"=dword:00000001
"EnableCache4Way"=dword:00000001
"EnableCacheWarm"=dword:00000001
"Flags"=dword:00010026 (writethrough bla bla)
"MaxCachedFileSize"=dword:00040000 (don't cache >256Kb files)
"Paging"=dword:00000001 (ALWAYS 1!!)
"PathCacheEntries"=dword:00000064
"UpdateAcces"=dword:00000000 (I don't need access time stamps)
[HKLM\System\StorageManager\Profiles\FlashDrv\FATFS] (could differ)
"CacheSize"=dword:00000200 (at the cost of 256 Kb RAM)
"EnableCache"=dword:00000001
"MaxCachedFileSize"=dword:00010000 (don't cache >64Kb files)
"Flags"=dword:00010026 (writethrough bla bla)
THE GRAPHICS ENGINE
[HKLM\System\GWE]
"Animate"=dword:00000000
"OldAppCheck"=dword:00000001
"UseFastRotation"=dword:00000001 (might upset some taskbar managers)
[HKLM\System\GWE\Animate] (something to play with if Animate=1)
"DelayMilliSeconds"=dword:00000014
"Frames"=dword:0000000A
[HKLM\System\GWE\Menu] (something to play with if Animate=1)
"AniTime"=dword:000000c8 (200 millisecs)
"AniType"=dword:00000000 (default is 6 but >0 enables it)
"Page"=dword:00000003 (number of cascading/overlapping menu's)
"EatDismissEvent"=dword:00000000 (optional, default 1)
[HKLM\System\GWE\Notify]
"Flush"=dword:00000000 (can be 1 to autoflush them)
[HKLM\System\GWE\ThreadPriorities]
"Timer"=dword:000000FA (250)
;others are:
; Cursor,Journal,MainUserInput,NotifyAlarm
; NotifyMain,NotifyUI,OOM,StartupScreen
; Timer, TouchCalibrate
[HKLM\System\GDI\ClearTypeSettings]
"OffOnRotation"=dword:00000000 (NO)
"Quality"=dword:00000001
[HKLM\System\GDI]
"ForceGRAY16"=dword:00000000 (or 1, the way cleartype renders the edges)
[HKLM\System\GDI\Gamma] (=cleartypetuner ;O)
"Gamma Value"=dword:000007d0 (valid hex range:1000-2200, 1500 default)
[HKLM\System\GDI\GYPHCACHE] (everybody knows this)
"limit"=dword:00008000 (32 Kb font cache)
THE TASKBAR CLOCK
[HKLM\nls\overrides]
"SSDte"="dd MMM yy" (short date notation used in OS/clock)
"STFmt"="HH:mm uur" (short time notation in OS/cLock DUTCH here ;O)
[HKLM\Software\Microsoft\Shell]
"TBOpt"=dword:00000003 (taskbar clock with time and date)
LOCAL WORD COMPLETION AND SPELLING CHECKER
[HKLM\Software\Microsoft\Spell Check]
"Main_Dict"="\'whatever location\mssp2_nl.lex" (dutch office 95+ lex file)
"User_Dict"="\'whatever location\user.dct" (will be done for you by OS)
[HKCU\ControlPanel\Sip] (keyb input word completion in your language ;O)
"DictFile"="\whatever location\statdict.dat" (get a hold of one in your language)
"ProbFile"="\whatever location\dictprob.dat" (get a hold of one in your language)
SHELL POLICIES
[HKLM\Security\Policies\Shell]
"NoAutoRun"=dword:00000001 (there goes the mem dump utility)
"NoDownload"=dword:00000001 (that is safe)
"NoExternalExes"=dword:00000001 (cannot start exe from card or \storage, DANGEROUS if regedit is on there: work around: copy regedit to \windows ;O)
SOUNDS AND SOUND SCHEMES
to be continued...
Cheers
Tweakradje
Hello.
I need help to install a different T9 dictionary.
I tried as you told us to do but I can't copy files into my PPC Atom
Any help?
Thank You
Please don't double post
http://forum.xda-developers.com/viewtopic.php?t=45688&highlight=
8)
Sorry.
I saw the link then I referred to that link to get help.
I'll delete the original topic next time if I can do that
Typo
Um, I know this is an old thread, but "UpdateAcces" should actually be "UpdateAccess"
hi all....i copied the help for the bugs from the main thread which is down now....i hope you will find it helpfull ... (this is from the original creator only)..
------------------
* In htc home - add contact, click on weather to change city - need to click on twice - minor bug - appears to be due to wm6.1
* Some report bluetooth not transfering files - fix = switch beam on in settings
* Bug with artemis touch lite - video button on the cube - not working
edit the registry
HKLM\SOFTWARE\HTC\Biotouch\MediaHubMini\App1_3
"Path" value="\Windows\Pimg.exe" (old value player.exe)
"Param" value="-directory:\My Documents\My Videos"
soft reset and go!
.
* Some find battery drain with gsm 3.07.90 higher than normal - try gsm radio 2.98.90
http://forum.xda-developers.com/showthread.php?t=329099
2. SDCONFIG.TXT
I did not use sleuths app - i already had the idea - see my extended rom thread.
I just edited mxipupdate_zzPIED_101.provxml
I chose the name sdconfig.txt as that is the name by others - in fact it could be named anything
SDConfig.txt should read like this
LOCK: Enabled
EXEC:\Windows\cusTSK.exe \Windows\Htc_curve.tsk
CAB: \Storage Card\Cabs\MyOwnApp.cab
LOCK: Disabled
RST: Reset
3.4th side of the cube
At the moment icons cannot be changed via touch customizer
D0.brn in \windows needs to be edited to change the icons
Apps and name changed via registry hklm\software\htc\biotouch\custaplauncher
-------------------
i would appreciate if people can share what they have and if they have found some bugs fixes themselves.....and i am sure THIS is not illegal
cheers !!!
I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE!
EDIT & CHANGE @ YOUR OWN RISK!!!
Personally, the Touch is the best phone I've used to date. But, there is always a way to make it run faster and custom to your needs. I figured I start a thread here with all available and possible system tweaks. I only know of a few, hopefully some of you out there know some more you can post.
*TO ENSURE YOU DO NOT NEED TO DO A HARD RESET AND LOSE ALL DATA, PLEASE MAKE SURE YOU BACKUP ALL YOUR DATA BEFORE CHANGING THE SYSTEM*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Contents
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Post I: The Basics
Code:
[SIZE="3"]1. Thanks!
2. Getting Started
A. Useful Tools
A1. Freeware
1. PHM RegEdit
2. Total Commander
3. schap's Advanced Config Tool
4. dotfred's PIM Backup
A2. Software [NON-FREEWARE]
1. Spb Backup
2. DinarSoft's MemMaid
2. Learning the Registry
A. Links
A1. Registry Explained [xda-wiki]
A2. Registry Editor Bible [xda-wiki]
A3. "How-To" Edit the Registry [WMExperts][/SIZE]
Post II: Simple Tweaks
Code:
[SIZE="3"]1. Disabling Auto-Suggest [xT9]
2. The Original HTC Cube
A. Removing the Cube
B. Disabling the Cube in S2U2
3. Keep the phone on during a call[/SIZE]
Post III: Advanced Tweaks
Code:
[SIZE="3"]1. GPS
A. Basic GPS Settings
B. aGPS Settings [VZW Only!][/SIZE]
Post IV: Additional Tips
Code:
[SIZE="3"]1. [URL="http://forum.xda-developers.com/showthread.php?p=2725830#post2725830"]Sync Album Art to the SD Card[/URL]
2. Commonly used Terms
A. The Basics
B. ROM
C. Extras
3. Button Shortcuts[/SIZE]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
big thanks to the following people for finding and sharing some of the tips & tricks posted here!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[xda!] [Philippe Majerus] [C. Ghisler & Co] [schaps] [dotfred] [Menneisyys] [itsme] [WMExperts] [rstoyguy] [panosha] [Slither2006] [Musicman247] [dharvey4651] [gc14]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Getting Started
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
below is a list of applications I either use or have used, and work great for tweaking your device
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Freeware
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHM RegEdit
A perfect tool for editing your registry.
*CAB file attached below due to some confusion with which file is correct from website
Total Commander
Probably the best file explorer I have used, also includes a directory to your registry for editing.
schap's Advanced Config Tool
Great application for tweaking the system, as well as changing your comm manager, button mapping, file associations, and others.
dotfred's PIM Backup
A great free backup tool to be sure all of your PIM data [contacts, calendar, messages] is safe.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Additional software I recommend [NOT FREE!!!]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Spb Backup
This is a great tool for ensuring your data is backed up! I have it set to automatically backup every morning at 5:00. Works well since I always have a copy no more than 24 hours old. Great software, I completely recommend it. Also, it includes a desktop component which allows you to extract information in the backup file like your text messages and contacts.
DinarSoft's MemMaid
I have found this to be a great tool for managing your system. It includes specific tools to manage the memory in all aspects, as well as some system tweaks.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Learning the Registry
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Quote from our wiki, "The registry is a simple database where settings can be saved by windows applications, services, and the operating system itself."
In other words, the registry holds all of the important and sensitive data that your device uses to function properly, which is why you must BE CAREFUL!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*YOU MOST LIKELY NEED TO WAIT 60 SECONDS, THEN SOFT RESET FOR CHANGES TO TAKE EFFECT*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I highly suggest taking a look at the below articles to better your knowledge.
Even if you already know what it is, you may learn something new!
| Registry Explained [wiki] | Registry Editor Bible [wiki] | "How-To" Edit [WMExperts] |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Disabling Auto-Suggest [xT9]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Not all of you may have this problem, but if you do, you'll know it, and it probably irritates you! Certain ROM's that include the Touch Keyboard are set to xT9 as default, which causes the auto-suggest when typing in certain applications, like text messaging. It's the little black bar that pops up above the keyboard, even if your not using the Touch Keyboard. It slows down the typing speed and makes sending a new text more work than it should be. To rid of it , change the following registry entries.
1. Edit three registry values
1A.
Code:
HKLM>System>CurrentControlSet>Control>Layouts>e0010409>Ime File
String Value: "\Windows\compime.dll"
1B.
Code:
HKLM>System>CurrentControlSet>Control>Layouts>e0010409>Layout Text
String Value: "COMP IME"
1C.
Code:
HKCU>ControlPanel>Sip]>SuggWords
DWORD Value: "0"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Original HTC Cube
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Removing the Cube
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Personally, I hate the original cube! Takes up a good bit of memory, and is almost impossible to change, at least for me. It may be that I'm using a custom ROM, but out of all the available cube sets out there, which includes the cube config app, it's never 100% correct. So I currently disabled it, prevented the use of the four associated apps, and use Slither's Cube. By doing this you can save some memory and prevent the accidental cube swipes in other apps.
1. Disable the cube - This requires one very simple registry edit
Code:
HKLM>Software>OEM>TFLOSettings>EnableCube
Set value from 1 to 0
2. To save memory, the four associated files, QuickDial.exe, MediaHubMini.exe, AppLauncher.exe, and BioTouch.exe have been recreated with a 0kb file size thanks to panosha.
The thread with the attahced files can be found here: http://forum.xda-developers.com/showthread.php?t=368269
All together this will prevent these apps from running in your memory, disable the cube, and still keep the remaining TFlo settings enabled, such as the kinetic scrolling.
*I have installed efrost's FTouchFlo, and it works great, doesn't interfere with anything else
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Disabling the Cube in S2U2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks to Musiman247, there is a registry edit that can prevent the cube from being opened while S2U2 is active (screen locked). There are two ways, manual and automatic.
1. Edit the registry (Manual)
Code:
HKLM>Software>HTC>Biotouch>Disable4SpecificApp
Create new key: "S2U2"
Create new string: "ClassName"
Value: "S2U2"
2. Install Musicman247's cab file (Automatic)
The cab file is found in this post at PPCGeeks, you will need to be registered to download: http://forum.ppcgeeks.com/showpost.php?p=277324&postcount=18
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Keep the phone on during a call
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This has always bugged me to no end, having to turn the phone back on just to hang up.
I have found the best way to do this by using A_C's S2U2, and as xda users, you probably already have this installed.
Just a simple setting, here is how I have it set, basically you'll use S2U2 to control how your device shuts off.
1. System Settings
Code:
Settings>Backlight
Battery Power: Turn off after 30 sec
Code:
Settings>Power
Advanced>Turn off device if not used for: Disabled
2. S2U2 Settings
Code:
Lock when backlight turns off: On
Power Off in: 5 sec
but Blank Screen only: Off
Blank Screen on Talk: Off
Now you can talk all you want and not have to worry about turning the phone back on to enter digits or hang up!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GPS
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*THIS REQUIRES FLASHING A RADIO VERSION OF 3.XX, BEFORE YOU ATTEMPT TO FLASH, PLEASE BE SURE YOU UNDERSTAND WHAT YOU ARE DOING!*
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Basic GPS Settings
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I always see this same question asked over and over again, so here it is, the proper settings of your GPS.
1. Before you can make any adjustments, you must, of course, have the GPS enabled. I will not get into flashing, since it is an entirely different subject. You could probably write a million word essay on how to do it, and there would still be questions. Best place to start is at PPCGeeks.
DHarvey made an awesome how-to guide, found here: http://forum.ppcgeeks.com/showthread.php?t=24979
For those who have already flashed, here are the settings, and one registry edit I've found, and seems to work.
2. System Settings
Code:
Settings>System>External GPS
Programs>GPS program port: COM4
Hardware>GPS hardware port: (None)
Hardware>Baud rate: 4800
Access>Manage GPS automatically: Enabled
3. Personal Settings
Code:
Settings>Personal>Phone
Location Setting>Location On: Enabled
4. Registry change that seems to help
Code:
HKLM>Software>HTC>SUPL AGPS>GPSMode
Change value from 2 to either 4 or 1
After everything is correct, it is best to use a GPS Primer to obtain your initial sat lock, that means only the very first time, unless you are in a completely different area. I currently use GPSViewer, it was included in the ROM I'm using, but there are few others like this floating around. Also, for the first time, it may take a few minutes, just be sure your outside on a fairly clear day, if you don't pick up the sats when your sitting in your basement on a cloudy day, don't be suprised!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
aGPS Settings [VZW Only!]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
After reading about this, I had to try it! By doing this, you will open your device to the aGPS servers. What that means is, you'll have a much faster and more precise GPS device than most stand alone devices available. After doing this, I was able to obtain my position, without using a GPS primer, inside my office building in under seven seconds! Before doing this, I had to stand outside for almost a minute, at least on good days. Still, weeks later, I'm able to get my GPS position when some people have don't even have phone service available!
If you are with VZW, and already have enabled your GPS, this is something I completely recommend doing!
Big thanks to gc14 for posting this on our wiki!
| VZW aGPS "How-To" |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sync Album Art to the SD Card
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have found that you'll always want your album art tagged to your music, especially if you use S2P, here are two ways to sync, EASY and FAST.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To save some space here on this thread,
here is a link to a previous thread of mine with the instructions for this.
| "How-To" Sync Album Art to the SD Card |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commonly used Terms
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
everywhere here in the community, are tons of terms and acronyms used that most likely have you thinking...............huh ?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The complete glossary of terms can be found in our wiki.
| xda-wiki Glossary |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Basics
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
XDA: Wondering how the site got its name?
Code:
"This site is about certain PDA-phones, made by a firm called HTC in Taiwan.
Their makers named them 'Wallaby', 'Himalaya', 'Blue Angel', 'Wizard' and 'TyTN',
but almost nobody knows them by those names.
The mobile provider O2 sells them under the brand-name 'XDA',
and that's what we had in our hands first.
They're also known as Qtek, MDA, SX-56, Hermes and many, many other names."
HTC: High-Tech Corp.
PDA: Personal Digital Assistant
PPC: PocketPC
PIM: Personal Information Manager
SIP: Secondary Input Panel
AS: ActiveSync, the software used on your PC to transfer data to your PDA. Used with XP.
WMDC: Windows Mobile Device Center, same as AS, but for Vista.
CAB: Cabinet file, this is typically file you'll use for installing applications.
GPS: Global Positioning System, I hope you know what this is.
OS: Operating System, such as Windows Vista or Windows Mobile 6.1.
RAM: Random Access Memory, the term RAM is usually used for PC's, for PPC's, it's usually referred to as Program Memory.
Stylus: Worthless! Try to never use this in public, you'll just embarrass yourself!
Soft Reset: The same as restarting your PC, it's good to reset every day to help with system performance. To soft reset, simply press the button located to the right of the USB port on the bottom of the device with your stylus.
Hard Rest: Much like a System Restore for your PC, this will ERASE ALL DATA on your device and return it to factory defaults. You can do this by pressing and holding both the Send (Green) and End (Red) buttons, and performing a soft reset. You will then be given a set of on-screen instructions to continue the deletion of files.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ROM
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ROM: Read-Only Memory, the set of system files, your OS.
Cook: For ROMs, it means to create or build a ROM.
Kitchen: The set of files used to cook a ROM, such as the PPCKitchen.
Chef: Ye who cooks the ROMs, and master of the kitchen!
Flash: Updating your ROM.
RUU: ROM Update Utility, the application used to flash your new ROM. If you've ever done a carrier ROM update, you may be familiar with this tool.
Unlocking: Typicallywhen you purchase your device from your carrier, it's locked, to prevent any system changes. You must unlock your device to allow changes, such as flashing the new ROM.
SPL: Secondary Program Load, is the boot loader of your phone, much like the BIOS is the boot loader for your PC. You'll hear more on this when unlocking your device.
Bootloader: This does the job of booting up the device hardware and loading various items into memory before the ROM starts in the device. You'll access the bootloader when flashing a ROM. To enter bootloader, press and hold the Power and Camera button, and perform a soft reset.
ExtROM: Extended ROM, a dedicated part of the ROM memory that is (by default) hidden to the user. This area typically includes cab files that are loaded upon Hard Reset. This space is frequently used by carriers, or others creating ROMs, to store cabs that load settings onto the phone.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Extras
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CDMA: Code Division Multiple Access, you only really need to know, if you have the CDMA version of the HTC Touch, you have the Vogue.
GSM: Global System for Mobile communications, if your HTC Touch is a GSM model, you have the Elf.
BT: Bluetooth
A2DP: Advanced Audio Distribution Profile
AVRCP: Audio/Video Remote Control Profile
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Button Shortcuts
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
While in the Dialer:
Up/Right: Call History
Down/Left: Speed Dial
Screen Calibration:
Center+Camera
Soft Reset:
Use your stylus to press the small button located to the right of the USB port
Hard Reset:
Hold Send+End, Soft Reset
Boot Loader:
Hold Camera+Power, Soft Reset
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
wow....did you just type this all?
Whosdaman said:
wow....did you just type this all?
Click to expand...
Click to collapse
LOL ! Yeah, took about an hour, but there is still more. I've been wanting to do this for a few days. All I need are some contributions, I only have a few tricks up my sleeve.
thread
Thanks for the great info!
good info! very helpful! thanks.
Great post just one question I have the Bell rom, the new one with 3.50 radio but this doesnt have cube do you recomend the Slither's Cube or where can I get the original one.
Thanks.
This needs to be added!
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Solidus_k said:
Great post just one question I have the Bell rom, the new one with 3.50 radio but this doesnt have cube do you recomend the Slither's Cube or where can I get the original one.
Thanks.
Click to expand...
Click to collapse
Yes! Use Slither's cube, it is without any doubt, much better, and easier to configure!
osurferx said:
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Click to expand...
Click to collapse
I saw your thread on this yesterday, great find! But can anyone else prove this works as well? There is a bit more to this than simple reg changes, and I'd like to stay away from anything too complicated. If this is a proven fix, I'll post some additional instructions on it after I do it.
osurferx said:
This works for the Verizon Vogue! Unbelievable fix!
http://wiki.xda-developers.com/index.php?pagename=VerizonAGPSFix
Thanks GC!
Click to expand...
Click to collapse
Hmmm...When i get a chance i'll check this out
--------------------------------------------------------------------------------
All works well on my HTC Touch Elfin with this patch to disable the Cube, but now when I swipe up while in SPB MS I go back to today screen, kinda the lesser of 2 evils. How can I make the up swipe do nothing?
kbywg said:
--------------------------------------------------------------------------------
All works well on my HTC Touch Elfin with this patch to disable the Cube, but now when I swipe up while in SPB MS I go back to today screen, kinda the lesser of 2 evils. How can I make the up swipe do nothing?
Click to expand...
Click to collapse
If you did everything listed, you basically disable any actions. But, if I'm not mistaken, that is a default from Spb.
PHM Reg editor
Hey guys. Kind of a dumb question...perhaps. How does one exactly install PHM reg editor? I d/l it. I ran the executable. It installed itself in my Program files folder and that's it. Am I to transfer *.cab to my phone and rum them to install this app?
Like I said, probably a dumb question but I had to ask.
UberGolf said:
Hey guys. Kind of a dumb question...perhaps. How does one exactly install PHM reg editor? I d/l it. I ran the executable. It installed itself in my Program files folder and that's it. Am I to transfer *.cab to my phone and rum them to install this app?
Like I said, probably a dumb question but I had to ask.
Click to expand...
Click to collapse
Yes, the .cab file will install itself to your device.
TheChampJT said:
Yes, the .cab file will install itself to your device.
Click to expand...
Click to collapse
Thanks. I know the .cab will extract on my device. The problem is that I have 11 .cab files in the installed "C:\Program Files\PHM\PHM Registry Editor" folder.
Regedit.Jup_ARM.cab
Regedit.Jup_MIPS.cab
Regedit.Jup_SH3.cab
Regedit.Jup_SH4.cab
Regedit.Mrln_ARM.cab
Regedit.Rpr_ARM.cab
Regedit.Rpr_MIPS.cab
Regedit.Rpr_SH3.cab
Regedit.Stngr_ARM.cab
Regedit.Wyv_MIPS.cab
Regedit.Wyv_SH3.cab
Whice one(s) do I transfer to my Bell HTC Touch (Vogue) and unpack?
UberGolf said:
Thanks. I know the .cab will extract on my device. The problem is that I have 11 .cab files in the installed "C:\Program Files\PHM\PHM Registry Editor" folder.
Regedit.Jup_ARM.cab
Regedit.Jup_MIPS.cab
Regedit.Jup_SH3.cab
Regedit.Jup_SH4.cab
Regedit.Mrln_ARM.cab
Regedit.Rpr_ARM.cab
Regedit.Rpr_MIPS.cab
Regedit.Rpr_SH3.cab
Regedit.Stngr_ARM.cab
Regedit.Wyv_MIPS.cab
Regedit.Wyv_SH3.cab
Whice one(s) do I transfer to my Bell HTC Touch (Vogue) and unpack?
Click to expand...
Click to collapse
I don't have a clue what the three letter abbreviation is after "Regedit", check the first post for the correct .cab file, the one I have used in the past.
To properly make any adjustments said:
PHM RegEdit v0.70 [/B]- Obviously an app to edit your registry.
Developer's website: http://www.phm.lu/products/PocketPC/RegEdit/
*CAB file attached below due to some confusion with which file is correct from website
2. Total Commander v2.5 - Probably the best file explorer I have used, also includes a directory to your registry for editing.
Developer's website: http://www.ghisler.com/pocketpc.htm
3. Schap's Advanced Config Tool v2.1 - Great application for tweaking the system, as well as changing your comm manager, button mapping, file associations, and others. Currently open to contributors to add tweaks, there are a few floating around.
Original thread: http://forum.xda-developers.com/showthread.php?t=317070
Contributing thread: http://forum.xda-developers.com/showthread.php?p=1905058
Click to expand...
Click to collapse
This is the link I used to d/l PHM. I clicked the " Download PHM Registry Editor : Pocket PC Edition" link, d/l to .msi and executed it. That's How I got what I got. Any help would be appreciated.
Never mind....I finally saw the green font saying "*CAB file attached below due to some confusion with which file is correct from website"
Sorry for being such a tard.
[UC]XDA_UC V2.RC1, Automated & Silent User & Cook, Configuration Service[14/05/10]
V2.RC1 Update,... New AutoShortcut Commands, new SDConfig.txt Commands, Manual and Storage Card install folders added, Extra parameters for Cooks.
I'll be updating all documentation accordingly later today.
Another (The?) new way to implement User Customization and Cooking.
This Thread is meant for Rom Cooks.
Users should take a look at the User To User Tips, Tricks ideas and issues thread.
What the XDA UC service does, is silently install (or not so silently if needed by User), .cab, .xdas, .xml, .reg, .mscr, copy over user manila files, install files from SDconfig.txt if wanted and then a few extra's for the freaks like copying folders or creating shortcuts from specific registries. This happens either at first or second boot depending on the existence of either RunCC.exe or Autorun.exe in rom.
It's all Mortcsript so it's very easy to get a grasp of it and change the behaviour and or Chip in adjustments/improvements.
But no knowledge of mortscript is needed to implement
It Uses DotFred's Taskmanager to parse and implement the .reg and .xml files. But it can also be used to disable or enable services or register DLL files.
More Information about the XDA Type Files at:
http://wiki.xda-developers.com/index...ename=XDA_file
My Shout out for this Two Year Long Evolving Collaborating Endeavour go to:
Bengalih (that has a very similar UC variant called Sashimi and helped with some of the early scripts I was trying to do with mort while cooking, I wish I could have collaborated more with him, it would have saved time re-inventing the wheel), RoryB for bouncing back ideas, supplying new scripts and perfecting older ones, serfer222 For making the script compacter, jmckeejr, Ameet & the whole Digital XDA SPC Cooking Crew, bbobeckyj, CLHatch, Scinor, Mort, Sleuth255, McCune, DotFred, MrVanx, danny_and_2, Cmonex, utak3r, Laurentius26, Radimus, and the Whole Original SPC Crew for accepting my obsessions.
For Knowingly helping me get the information, unknowingly helping me get the information or motivated me in keep going on in my Quest resulting in this.
If I Forgot you, Forgive me.
If you feel that certain information that has been used originated by you give me a holler and I will credit you if this is so.
Before you consider buying me a beer. Please consider Donating to XDA to help out with the maintenance of the forum and get cool stars next to your Nickname showing your appreciation. Then there are always the people that without their apps this wouldn't have been possible at all that you can consider showing some love. Mort, DotFred & Sleuth255 All of whom made Apps Seemingly simple But oh so useful for the whole XDA and PocketPC community.
Download and Info in next Post
What this version of the XDA UC service does, is silently install and execute (listed in the order the items get installed)
Run the Users customisations of course.
User side information here...
Run Cook.mscr in Windows folder(For Cooks Only)
More Cook info coming.
Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
(Where in "\Storage Card\" is read from HKLM\System\StorageManager\Profiles\SDMemory For MultiLanguage Support)
Requirements
The Rom should have the security relaxed in HKLM\Security\Policies\Polices by setting the value 0000101a to a 1.
So unsigned installations and Mortscript do not give a security error.
If you have a different language then English, don't forget to change the path in the initflashfiles.txt/app.dat file (if your using legacy kitchen )
The rest of the script should dynamcliy get the correct variable for the storage location.
In the end the process it comes down to the device starting after flashing and not needing any reboot while silently installing Cook and User configurations.
On the User end and cook end no SDConfig.txt ort config.txt file is needed.
Attached the OEM Package and a Sample Package for SD.
(Klaxon.Cab, GoogleMaps.xdas, two .reg files, two xml files, my.tsk, and a test mortscript)
The Control factors of the Sample SD Package is that is should install
HKLM\Software\XDA\Test\Reg 1 Parsed=1
HKLM\Software\XDA\Test\Reg 2 Parsed=1
HKLM\Software\XDA\Test\xml1parsed=1
HKLM\Software\XDA\Test\xml2parsed=1
These are the tweaks present in those files.
In addition everything installed will be found under
HKLM\Software\XDA\UC\
And the Morscript in the sample SD Card Package should give a message to confirm it was executed "Mort UC From SD Working"
Cab Files and XDAS files should eventually just be in the startMenu Programs.
G-Alarm is there because it needs User interaction and that will pop up when it needs your attention.
At the end of it all you get a message Installations have finished.
When using SDConfig.txt be sure to add a blank line at the end of it.
Disclaimer:
Please be aware that the XDA_UC script contains a disclaimer, not to post errors with it to the Mortscript forums, and the usual this **** cloud be dangerous to your phones health.
For Standalone version, place XDA_UC folder from "User_Storage Card" on Storage Card.
Then run "\Storage Card\XDA_UC\Install\XDA_UC.exe"
Information about the SDAutorun.exe V2 UC can be found here:
http://forum.xda-developers.com/showthread.php?t=366337
Information about SDConfig.txt & .xml user setup can be found here:
http://forum.xda-developers.com/showthread.php?p=5011285
Changelog:
V 1.0.01
Changed Sleep to start UC to 50 seconds for full device Boot before UC starts.
Changed "XDA UC Service Start" title to "customization" to match the old one.
Changed sleep before completion message to ten second in case the last cab needs user input and the Completion message pops up to early.
Changed Sleep at while for Theme installation to 2 seconds.
V 1.0.02:
Added Copy1 to Copy2 by reading from registry settings
[HKLM\Software\XDA\DirCopy]
"\\Storage Card\\Some Folder"="\\My Documents\\Some Folder"
Added Disabling Manila from Homescreen then Copying files from "\Storage Card\XDA_UC\manila" to Windows, The checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3 D.jp g"
Import registry files from "\Storage Card\XDA_UC\manila\manila.reg"
Re-enable Manila on Homescreen and redraw it.
If not present do nothing.
Added RoryB's Complete SDAutorun.exe replacement/SDConfig.txt parser script.
Check for existence of Autorun.exe or RunCC.exe to automatic determine which method/bootcount to use.
There is no longer the need for two separate XDA_UC versions let alone a third.
.reg and .xml files will no be sent to renamed taskmanager "FS_TaskMgr.exe"
Added checking for cab files in "\Storage Card\XDA_UC\SD\", for those that don't have the luxury of changing the install paths in a cab file to hardcode these to Storage Card. So you get full user input to choose on these cabs.
V 1.0.03:
Todo's
Add Support For Diamond Internal Storage Need Someone with a Diamond to Test.
V 1.0.04:
Added Support for PimPackup files *.pib & .cer files.
Moved Disclaimer to the beginning and added an option to reset ad the end.
V 1.1.00:
Added extra Runs for Diamond and Samsung Internal Storage.
V 1.1.1B2:
Applied script improvements to reduce code used and make script a bit faster.
Removed Manila folder copy and replaced it with more general Copy2Root function/folder.
Added recognition of "REG: " command in SDConfig.txt parsing.
Added recognition of "CER: " command in SDConfig.txt parsing.
Testing:
Code:
If( FileExists( "\" & SDF & "\Cabs\pim.vol" ))
Kill("cprog.exe")
EndIf
During SDConfig.txt just before cpy1, cpy2 function.
V 1.1.1B3:
Mayor overhaul by new script from Serfer222
And then I started adding more crap and messing the new clean code up.
XCP1 & XCP2 commands for SDConfig.txt (Folder Copy with SDConfig.txt)
MCAB command for SDConfig.txt (Cabs that you want manual input for during SDConfig.txt)
SCAB command for SDConfig.txt (Cabs that you want installed to SD SemiAutomaticly during SDConfig.txt)
SC1 & SC2 commands for SDConfig.txt (Shortcut creation with SDConfig.txt)
KILL command for SDConfig.txt (Kill a running .exe/process)
EXEC: command for SDConfig.txt (Was already present but i removed the checking if the file is a .exe so anything can be executed and)
Del: Command for SDConfig.txt
.PROVXML now also get parsed in XDA_UC folder
Changed Serfer222's fix to parse mail xml files before PimBackup to "*mail*.*xml" so now if there's a file containing mail anywhere or is a .provxml get's parsed before PimBackUp.
RESET command for SDConfig.txt
WR1: & WR2: commands to write files using SDConfig.txt
Parse File containing "WiFi in it's name" Early like MyHomeWiFi.xml or MyHomeWiFi.provxml
Add a script to run and add XDA_UC to rom's without it.
"Manual" Folder in XDA_UC folder for Full Manual .cab Installs
"Storage Folder in XDA_UC folder for Semi Silent .cab installs to Storage
Early "*wifi*.*xml" parsing from XDA_UC for quick Wifi connecting.
Eauh maybe i forgot some stuff....
Bug Tracker for last Beta.
Wrong code for the WR1: & WR2: commands (Updated Beta Download with Fixed Script)
WR1: command needs a delete or else the next time it is run it will add text to the file instead of write a new one. Working on Fix. Fix Updated in original Download.
Changed XCP1: XCP2: commands into MOV1: & MOV2: to avoid confusion with CPY1: & CPY2: (TNX RoryB good one) Updated in original Beta Download.
Other Updates I'm looking into All Beta:
Changed Manila/Sense Script so it now Checks for manila.reg @ "\Storage Location\XDA_UC\Copy2Root\Windows\manila.reg" and runs the reg from there.
Test everything again
More optimisation of the code suggested by Serfer222
Call for Sashimi & PresetInstaller, so having Making an XDA UC Rom doesn't force users switching their preferred UC Setup.
Add DELT: command
Config.txt for Cooks (May not be included as it is partly redundant)
SDAutorun replacement without SDAutorun.exe
Information will be added about this in the future.
Some more changes to my method I thought I would share.
Run the items in SDConfig.txt without using SDAutorun. I do not have any tsk to run, but it would work the same. I put copy first since some EXECs like xcopy need to be copied before execution.
Code:
###############################
# SDConfig without SDAutoRun
###############################
; Wait 10 seconds to start to be sure SDCard can be accessed
Sleep( 10000 )
If( FileExists( "\Storage Card\SDConfig.txt" ))
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
While( IsEmpty( xcount ) = FALSE )
If( SubStr( xcount, 1, 5 ) eq "CPY1:" )
xcopy1 = SubStr( xcount, 6 )
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
If( SubStr( xcount, 1, 5 ) eq "CPY2:" )
xcopy2 = SubStr( xcount, 6 )
Copy( xcopy1, xcopy2, TRUE )
EndIf
ElseIf( SubStr( xcount, 1, 5 ) eq "CAB: " )
RunWait( "\windows\wceload.exe", "/nodelete /silent " & [COLOR=blue]"""" & [/COLOR]SubStr( xcount, 6 ) [COLOR=blue]& """" [/COLOR])
While( ProcExists ( "wceload.exe" ))
sleep( 3000 )
endwhile
Else[COLOR=red]if[/COLOR]( SubStr( xcount, 1, 5 ) eq "EXEC:" )
If( SubStr( xcount, -[COLOR=red]3[/COLOR] ) [COLOR=red]eq[/COLOR] [COLOR=black]"[/COLOR][COLOR=red]exe[/COLOR][COLOR=black]"[/COLOR] )
Run( SubStr( xcount, 6 ))
EndIf
[COLOR=red] ElseIf( SubStr( xcount, 1, 5 ) eq "XML: " )[/COLOR]
[COLOR=red] RunWait( "\windows\TaskMgr.exe", "/provxml " & SubStr( xcount, 6 ))[/COLOR]
[COLOR=red] While( ProcExists ( "TaskMgr.exe" ))[/COLOR]
[COLOR=red] sleep( 3000 )[/COLOR]
[COLOR=red] endwhile[/COLOR]
[COLOR=red] ElseIf( SubStr( xcount, 1, 5 ) eq "TSK: " )[/COLOR]
[COLOR=red] RunWait( "\windows\cusTSK.exe", SubStr( xcount, 6 ))[/COLOR]
[COLOR=red] While( ProcExists ( "cusTSK.exe" ))[/COLOR]
[COLOR=red] sleep( 3000 )[/COLOR]
[COLOR=red] endwhile[/COLOR]
[COLOR=red]Else[/COLOR]
EndIf
xcount = ReadLine( "\Storage Card\SDConfig.txt" )
EndWhile
EndIf
I have a mortscript I call user_C.mscr for some customizations that I used EXEC to run, but thought this way people could have multiple scripts.
Code:
If( DirExists( "\Storage Card\SDAUTO" ))
ForEach xscriptfile in Files( "\Storage Card\SDAUTO\*.mscr" )
CallScript( xscriptfile )
sleep( 3000 )
EndForEach
EndIf
Lastly, I have this final folder to hold cab files I want to install with user input. It also has a script to cleanup a few things from the cab install.
Code:
If( DirExists( "\Storage Card\SDAUTO\Final Files" ))
ForEach xcabfile in Files( "\Storage Card\SDAUTO\Final Files\*.cab" )
Runwait( "\Windows\wceload.exe", "/nodelete " & [COLOR=blue]"""" & [/COLOR]xcabfile [COLOR=blue]& """"[/COLOR] )
While( ProcExists ( "wceload.exe" ))
sleep( 3000 )
endwhile
EndForEach
ForEach xscriptfile in Files( "\Storage Card\SDAUTO\Final Files\*.mscr" )
CallScript( xscriptfile )
sleep( 3000 )
EndForEach
EndIf
I had to set config.txt to hide the overlay image and not lock the screen to allow seeing the messages and responding to them. Eventually I see this changing to have the first script copied to start up folder by an initflashfile and not even need AutoRun. Currently config.txt starts the mortscript and does nothing else.
Cook.mscr
If your cooking and want your own mortscript to also be run at first boot just name it cook.mscr and put it into Windows folder.
Update: From Version 1.2.0 Cook.mscr will be executed at the same moment as the rest of XDA_UC, so this is depended on if RunCC or Autorun is used.
Suggestion:
install the cabs in a known order, perhaps alphabetically, so that we can name the files in the order to install like so
10_MSVC.CAB
20_PIMBackup.Cab
etc means we can control the install order.
Reason I chose not to use the known "Cabs" folder is not to screw with that configuration.
(XDA_UC is backwards compatible with SDAutorun v2 SDConfig.txt)
Cabs will be automatically be parsed alphabetically that's a default when more cab's are being processed.
At least I think so
It's using MortScripts ForEach File command.
Almost Everything processed will be written to registry under.
HKLM\Software\XDA\UC
And no more hassle with cabs that need user interaction.
You just interact when they come up.
If it's a good idea I could also make it check for a present Welcomehead.png or the Existence of a TF3D folder to copy over personal TF3D files.
Uploaded the OEM and a Sample SD Test Package.
is there a way this could be done without removing the RUNCC?
Yes there is.
There's a few different solutions.
I have added your request to the first Posts.
It runs at second boot and skips a few things that RunCC takes care of like installing cabs present in the windows folder.
This way you can keep everything is with RunCC and the welcome.lnk in initflashfiles.dat
Personally I prefer the First method with no reboots at all but it does require some extra meddling in the Rom.
Hello,
I have some questions...
Noonski said:
(This Method is under Review as it seems the latest RunCC accepts config.txt files from SD)
Click to expand...
Click to collapse
Noonski said:
This didn't work in earlier versions i had my hands on.
Click to expand...
Click to collapse
Which version is this? 1.0.9.0?
RunCC can execute the same commands in config.txt? (EXEC, TSK, XML, CAB...)
I have yet to get a hold of the version l3v5y's using.
Yes RunCC can but it needs configuration. Now for a cook that isn't any problem. But for Simple users all they need to do is drop some cabs and tweaks they have collected throughout the forum into a folder not be annoyed by.
I posted a rom already that has runcc installing from sdcard's config.txt. Not too difficult at all, wonder why more cooks don't figure it out.
Because Earlier releases of RunCC from leaked roms did not except these commands.
I have just extracted a version of it from an official Rom and it's got the same version i was using before 1_0_9_0
So weird that it is now accepting it.
But looking back i did not use the addrun("RunExtra"
I did try the Run customer, and default tho.
(Slaps in his forehead)
But it's still not the same as i'm trying to offer here.
Noonski said:
Because Earlier release of RunCC from leaked roms did not except these commands.
I have just extracted a version of it from an official Rom and it's got the same version i was using before 1_0_9_0
Click to expand...
Click to collapse
Noonski said:
So weird that it is now accepting it.
But looking back i did not use the addrun("RunExtra"
I did try the Run customer, and default tho.
(Slaps in his forehead)
But it's still not the same as i'm trying to offer here.
Click to expand...
Click to collapse
What you're trying to offer here is IMHO a far better solution!
Sorry for not getting you my tweaked package, though you seem to have managed without...
I think having a complete solution, with automated install of all cabs in a folder would be great.
Well i also needed to Scour the new Roms for some updated OEMS and i needed to know for sure that welcomehead.192.png was named that way to add it to the process.
And maybe even a Copy User Preferred Manilla files from SD to device if present. There must be some other good ideas from people that like flashing, but are tired of installing their preferred skins, settings and Apps.
Unfortunately i found that the newer package of Connectionsetup asks for a reset where my previous VGA reskinned package did not.
All the Regs are te same (Except for two new unrelated ones).
I like the old non rebooting version better.
I know that a reboot isn't needed but i can see users unkowingly agree to that reboot. (But that's another subject)
I think i will change the package this weekend So it is only one method.
By default it is set to run at second boot, but it can easily be changed by the cook to run at first boot if that is the setup that one would prefer.
Also i'm still tinkering out the exact form of the XDA files.
But nice to hear i'm not on an island, l3v5y.
Noonski said:
Well i also needed to Scour the new Roms for some updated OEMS and i needed to know for sure that welcomehead.192.png was named that way to add it to the process.
And maybe even a Copy User Preferred Manilla files from SD to device if present. There must be some other good ideas from people that like flashing, but are tired of installing their preferred skins, settings and Apps.
Click to expand...
Click to collapse
Noonski said:
Unfortunately i found that the newer package of Connectionsetup asks for a reset where my previous VGA reskinned package did not.
All the Regs are te same (Except for two new unrelated ones).
I like the old non rebooting version better.
I know that a reboot isn't needed but i can see users unkowingly agree to that reboot. (But that's another subject)
I think i will change the package this weekend So it is only one method.
By default it is set to run at second boot, but it can easily be changed by the cook to run at first boot if that is the setup that one would prefer.
Also i'm still tinkering out the exact form of the XDA files.
But nice to hear i'm not on an island, l3v5y.
Click to expand...
Click to collapse
I think the "EXEC:" command waits for the process to close? If yes, then an application that runs some mortscripts could wait till all the mortscripts are run before continuing, so it can be run at first boot within RunCC. That saves the issue of an extra reboot...
Welcomehead.192.png is the file for VGA/WVGA devices, welcomehead.96.png is for QVGA devices, though it's actually set in the registry, so that could be checked at load time? (I'll find the registry key at some point...)
Something I've just thought of:
If there were a way for ROM cooks to block things that are known not to function or are included already, that would be quite useful. E.G. I include PIMBackup in ROMs, so why would anyone install an extra cab to do the same?
You could add a check for a specific .Cab name.
And if present change the extension.
Repeat and Rinse a few times.
Then at the end rename all .cabxx back to .cab
I think in general, not a lot of people change their cab names.
Unless like that previous post, someone likes to add numbers to them to control the order.
But in this Silent install method i can see that having one app being installed first could be useful as there's small pauses build into the script so the device isn't slow as hell the first minutes it boots.
I think it might get more error prone if it gets executed through RunCC.
With all the processes that get proccesed through the script.
It's using and starting, cusTSK.exe, TaskMgr.exe, wceload.exe and mortscript. But when Mortscript exitst it should be finished.
I would need to test this style to feel confident it doesn't reboot while there's still work in progress.
I Agree that getting it into the No Reboot style might be some extra work for cooks. And maybe i'm seeing this to much from my own perspective where i always remove and convert OEM configurations to straight forward packages.
Noonski said:
You could add a check for a specific .Cab name.
And if present change the extension.
Repeat and Rinse a few times.
Then at the end rename all .cabxx back to .cab
Click to expand...
Click to collapse
Noonski said:
I think in general, not a lot of people change their cab names.
Unless like that previous post, someone likes to add numbers to them to control the order.
But in this Silent install method i can see that having one app being installed first could be useful as there's small pauses build into the script so the device isn't slow as hell the first minutes it boots.
I think it might get more error prone if it gets executed through RunCC.
With all the processes that get proccesed through the script.
It's using and starting, cusTSK.exe, TaskMgr.exe, wceload.exe and mortscript. But when Mortscript exitst it should be finished.
I would need to test this style to feel confident it doesn't reboot while there's still work in progress.
I Agree that getting it into the No Reboot style might be some extra work for cooks. And maybe i'm seeing this to much from my own perspective where i always remove and convert OEM configurations to straight forward packages.
Click to expand...
Click to collapse
I personally hate having cabs installed, so in theory my ROMs should be good to go without the reset.
Based on what you said, it might be best if the number of complications are minimal, and device compatibility as great as possible. RunCC probably would make things more complex and error prone, so yes, I agree not having it as a dependency makes sense.
A mortscript could always recognise *cabname.cab, so even using an order flag at the front should work.
Silent install sounds like it could be great, although some of the cabs need user intervention... Also, having a flag settable somewhere that makes (or stops) a message box with "auto install is complete" would be useful...
At the moment i have G-Alarm in my SD folder for that User intervention.
It just pops up at the moment after it's install i know at first i waited for it, no i grab a beer and tap it when i arive but the script continues with the rest of the files present so it's not waiting on that user interaction.
The possible Pop up message would in theory come up at the moment the last cab is just starting to install but it should be possible to add a check if wceload is still active before it pops up.
Which reminds me i still need to contact some of the people that actually helped out a lot without knowing.
"Installation has Finished, if your in a good mood and were planning to get beer from the fridge choose yes to reset the device, If your not in the mood and need to actually use your phone right now, press no to reset whenever you feel like it"
Do you think that would fit in the screen