CFG.txt - getting and annoying error! - MDA III, XDA III, PDA2k, 9090 ROM Development

Hi all, (appologies for the typo in the subject should be 'getting an annoying error' ! Doh!)
Wonder if anyone can help me on this little issue I'm having!?
I've set up a CFG.txt file that I want to run with all my apps / games / **** in, but I'm encountering an unusual error at the beginning of the process (luckily I didn't add the Lock at the beginning!! ;-) )
Here are the first lines of the CFG
**************************
SHOW:\Storage Card\CABS\custom.bmp
XML: \Storage Card\CABS\WWE_Vista_Device_Center.xml
XML: \Storage Card\CABS\MMS_Folder.xml
XML: \Storage Card\CABS\MMS_Account.xml
XML: \Storage Card\CABS\WindowsUpdate.xml
CAB: \Storage Card\CABS\A2DPToggle.signed.arm.CAB
**************************
This is then follwed by a list of all the rest of my stuff, which has all been worked on and had all the interaction messages removed (still some little positioning errors with files, but that's something I can eventually work out!)
The following error comes up 4 times when it runs AFTER the custom.bmp is shown:
**************************
This file : \Storage does not exist!
**************************
Any Ideas Folks??? Is it something to do with the XML files - 4 files, 4 errors? - if so, why? and how do I get it to install them? Is it possible to create a *.cab to install them? I've got a trial copy of CE Cab Manager!
I'm using 'Pandora PreConfig Launcher' that I found somewhere in these forums (will also post this query to that forum page, too)
Managed to get rid of all the rest of the interaction in the list - just this stopping me now!! Any and all help MOST appreciated.
Bird

May be you need to change folder everywhere from CABS to EXTROM in your cfg.txt

Though of that, ...but...
April 1 said:
May be you need to change folder everywhere from CABS to EXTROM in your cfg.txt
Click to expand...
Click to collapse
The reason it's in CABS is to do with the Launcher - it has a sample config file with it, and aims the launcher towards the CABS folder and means that I can run this cfg without having to hard reset each time - thought that I could iron out any errors with the config file before having to hard reset.
Think I've got a workround, will try this evening and let all know - it seems that it's possible to insert XML commands at both pre and post stages of a cab using CECABManager, so I'm going to try and embed the XML into some of the cabs that they relate to and see if I can't get it to bypass them - presuming, of course, that they are the things causing the issue!! As I said, I'll let you know.
Bird

Your feedback will definitely enlighten others.

Final solution
OK - first off, adding the XML as pre and post script in the cab files worked a treat! WINCE CAB MANAGER is certainly the way to go on that score, so anyone looking to add XML to the start of a CFG should go look for it - 30 day unrestricted trial
BUT ...
I worked out another solution that suites my needs better really:
two apps:
SPB Backup
SPB Clone
As I install my apps I'm creating a backup each day, then adding some new apps and testing for the day - any problems - use clone to go back a day!
Once I have all working, then I'll be able to use backup to gather the PIM info once a month, use the (clutter free) clone to put my BA back to it's just finished install state and use backup to add any recent PIM back in!
VIOLA! constantly clutter free solution! and no need to keep entering in your passwords n' stuff
Don't know why I didn't think of it before - it's exactly what I do on my PC!! DOH!
Bird!

Related

Need QuickGPS files/install.cab

Hi to all
I had problem with QuickGPs on my Blackstone (it didnt start anymore), so i downloaded quickgps.cab from this post but now quickgps says error after running it so i think this version was not for blackstone intended. Could anyone post for me original files and settings to get up and running QuickGPs without troublesome hard reset ?
Thnx in advance
I've noticed that rom Cookers include quickgps-es in their roms - would someone include one here ?
Ive helped myself and read that i need those files:
\Windows :
CleanGPSData (exe?)
CleanGPSData
GPS-icon (icon)
gpsapi
GPSAux
GPSAux.dll.040C
gpsdriver
gpsid
gpsid_HTC
mxiupdate_PA... (4 files)
QGPS_BUT_L (icon)
QGPS_BUT_L2 (icon)
QGPS_BUT_P (icon)
QGPS_BUT_P2 (icon)
QuickGPS
QuickGPS.Exe
QuickGPS (Htlm file)
QuickGPS
QuickGPS_help
Anyone please zip it from your Blackstone and upload here ??? Pretty please
kremator said:
Anyone please zip it from your Blackstone and upload here ??? Pretty please
Click to expand...
Click to collapse
I have zipped all gps packages from the oem folder of my 1.19 rom. I will attach it here, just tell me if something is missing. Don't worry about the provxml files, just take the files you need and copy them into \Windows.
But I'm wondering whether a hard-reset would a better solution.
Johnpatcher thnx very much it is working now - the quickgps is starting but i get cannot connect try again later if i try to download gps data - so i am thinking could anyone post the registry settings from a working quickgps blackstone and point me what software is the best to registry editing to change it properly ? If it will work ill describe it to help anyone new with problem like me so we will help each other out
I have uploaded the oem package(s), because they already contain all needed registry data. You'll find the data within the rgu file, for QuickGPS it is:
Code:
REGEDIT4
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS]
"RemindTime"="00000000000000"
"authname"="1"
"pwd"="1"
"curIP"=dword:00000000
"curRegion"=dword:00000000
"Bias"=dword:00000000
"EEFile"="xtra.bin"
"path"=""
"INIFile"=""
"NotifyID"=dword:00001960
"auto"=dword:00000000
"actSync"=dword:00000001
"remind"=dword:00000001
"INIDate"="20060531"
"region"="US"
"folder"="\\Windows\\"
"ExpiredTime"=dword:00002760
"MemoryRequired"=dword:00280000
"EnableInitData"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\0]
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\0\0]
"IP"="xtra1.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\0\1]
"IP"="xtra2.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\1]
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\1\0]
"IP"="xtra3.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\1\1]
"IP"="xtra1.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\2]
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\2\0]
"IP"="xtra2.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\2\1]
"IP"="xtra3.gpsonextra.net"
"port"=dword:00000050
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS\SNTP]
"Server1"="xtra1.gpsOneXTRA.net"
"Server2"="xtra2.gpsOneXTRA.net"
"Server3"="xtra3.gpsOneXTRA.net"
"GettingTimeout"=dword:00001388
[HKEY_CURRENT_USER\Software\HTC\BootLauncher\Services\QuickGPS]
"Module"="\\windows\\GPSAux.dll"
"Prefix"="GUX"
"Index"=dword:00000000
"Info"=dword:00000000
"Order"=dword:000000ff
[HKEY_CURRENT_USER\ControlPanel\Notifications\{85ee47b2-57d7-EEFE-8e7a-36480443d084}]
@="QuickGPS"
"Wave"="Alarm2"
[HKEY_CLASSES_ROOT\CLSID\{85ee47b2-57d7-EEFE-8e7a-36480443d084}]
[HKEY_CLASSES_ROOT\CLSID\{85ee47b2-57d7-EEFE-8e7a-36480443d084}\InprocServer32]
@="GPSAux.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"QuickGPS"="1_00_18202228_00"
I'm using Resco Registry Explorer, but thats totally up to you.
However, I'm asking you again: What did you do in order to destroy QuickGPS so massively? Why you don't just hard-reset your device?
1. Quickgps stopped working i thought it was software issue so i downloaded a version mentioned in post #1 - after installing it i finally found that one must delete the xtra.bin but it was already too late.
2. Hard reset will require installing all the software again and for now i got no time for it.
3. I want to invent some workaround method for all the community - for about one year i was only a reader and I got many helpul posts from the forum so if I can help someone - why not
Can i import all the settings to the registry by copy/paste somehow without manually rewriting it ?
p.s. Johnpatcher if you will stop someday in Poland you got a beer for helping out thnx
kremator said:
Can i import all the settings to the registry by copy/paste somehow without manually rewriting it ?
Click to expand...
Click to collapse
With the right editor you can simply import it.
There are really many (free) registry editors out there, just search for them. I think an import function is a basic operation, so it should be included in most of the editors.
All files copied using Resco Explorer - even those he shouted that are in the rom file and registry imported (by the way I recommend ceregedit - one can change registry from desktop Pc - very handy), and still i get quickgps cannot connect try again later - any suggestions - am I missing something ? I switched also the AGPS feature off - should I turn it on ??? What does it do ?
I thought that an original xtra.bin file from windows directory might help - could someone post most recent one ?

xda lls flashing problem

help help help. tried to flash my windows 2003 phone to wm6 using maupgrade tool. didnt work propely now phone has dim display saying serial at the top and v.2.03 at bottom! pc wont recognise it, whwt have i done wrong!!! rga
Dude, did you follow the steps in the wiki? or did you just flash it using the tool without setting it up first?
read wiki, tell u what happened i was upgrading using baupdate tool and took phone out of dock b4 it had finished! so now at stuck in bootloader mode( serial at top, and v2.07 bottom), so when try and flash again same as it doesnt detect old system, to overide with wm6 software. i cant figure out how to sort it now as cant get off bootloader. connects to pc with usb link, but cant see phone in pc because it as if phone is empty at the moments, connects as an unknown device. just trying to find out how i would flash the phone from the start now! rga
ive done it. the problem i was having was finding the replacement driver for usb connection when i wanted to use mmty and baupgrade tools. sweet now , using wm 6.5 now its classsssss! RGA
so the question is...... Did you figure it out already or not?
@markanthonypr
i guess he's happy now man. he will love flashing his BA from now on hehehe...
@reggaedave
Congrats man!
reggaedave said:
help help help. tried to flash my windows 2003 phone to wm6 using maupgrade tool. didnt work propely now phone has dim display saying serial at the top and v.2.03 at bottom! pc wont recognise it, whwt have i done wrong!!! rga
Click to expand...
Click to collapse
You seem to be new to the forums. Thank you for joining XDA-Developers.
Please take a minute to go over the Rules and Regulations of the forum.
Also, it seems that you are a Blue Angel owner, in which case I will encourage you to go over the BA forum regulations here
For questions, please use the search function in the site or simply Google for an answer. More than likely, your question has probably been answered before and the answer is floating around somewhere in the site. That being said, unless you are contributing to the site with either skins, roms, ports, new applications, programs, games, etc., please [highlight]do not[/highlight] open new threads. However, if you do have questions, you can post them either in the BA Q&A section or in the General Q&A section.
Thanks.
ha yeah im happy enuf! i dont know anything about these phones, ive been modding Sony Erricson phones for the past 2 years but this ones all new to me!.
ROM VERSION 6.50.21.WWE
ROM DATE 03/28/09
RADIO VERSION 1.06.00
PRTCL VERSION 1337.38
EXTROM
In another pack i downloaded, nothing to do with what i flashed, it had a file labelled EXTROM, with loads of stuff in it, could this be put on my phone, bear in mind i know almost nothing at the moment? cheers off work 4 a week reggaedave!
the "file" extrom is an archive, which first needs to be unpacked to become the folder extrom. in there you find the following things:
1. Autorun.exe
2. CFG.txt
3. custom.bmp
4. a lot of cab files
there are 3 basic ways to handle the extrom after flashing:
1. you copy the cab files you want to an sd card and install them one by one
pro: fast if you know you don't need much or want to install to ramdisk or storage card
con: slow, when you install a lot of programs that go to the phone memory anyway and you plan to install the same progs every time you hard reset or flash a new rom
2. you customize you extrom by deleting cabs, adding new ones (you have to list them in cfg.txt)
pro: one folder to copy, installation process automated
con: all progs go to phone memory, you need to customize the cfg first
3. you take the extrom as it is
now for the explanation:
the extrom is a folder containing basic system programs that are not included in the rom, so their installation is optional. i don't know whether you worked with your device before, bust most names should ring a bell, if not, refer to the wiki or google the names for detailed descriptions.
what you need to do to install the extrom as it is: copy the folder extrom to an sd card and insert it after hard reset (make sure the cfg.txt lists all the cabs in the folder), a window will appear that tells you that the automated customization begins, you wait, after the next (automatic) soft-reset you have the programs on your device.
(mmh, probably that last part was the answer to your question, should have started with that. )
greetz
Chef_Tony
ok ill have a go now, thanks for the advice! cheers..RGA
Chef_Tony said:
the "file" extrom is an archive, which first needs to be unpacked to become the folder extrom. in there you find the following things:
1. Autorun.exe
2. CFG.txt
3. custom.bmp
4. a lot of cab files
there are 3 basic ways to handle the extrom after flashing:
1. you copy the cab files you want to an sd card and install them one by one
pro: fast if you know you don't need much or want to install to ramdisk or storage card
con: slow, when you install a lot of programs that go to the phone memory anyway and you plan to install the same progs every time you hard reset or flash a new rom
2. you customize you extrom by deleting cabs, adding new ones (you have to list them in cfg.txt)
pro: one folder to copy, installation process automated
con: all progs go to phone memory, you need to customize the cfg first
3. you take the extrom as it is
now for the explanation:
the extrom is a folder containing basic system programs that are not included in the rom, so their installation is optional. i don't know whether you worked with your device before, bust most names should ring a bell, if not, refer to the wiki or google the names for detailed descriptions.
what you need to do to install the extrom as it is: copy the folder extrom to an sd card and insert it after hard reset (make sure the cfg.txt lists all the cabs in the folder), a window will appear that tells you that the automated customization begins, you wait, after the next (automatic) soft-reset you have the programs on your device.
(mmh, probably that last part was the answer to your question, should have started with that. )
greetz
Chef_Tony
Click to expand...
Click to collapse
Excellent description Chef Tony! It should be added to the Wiki/Wizard page as there is no clear description of it there, and I had to search this forum for quite a while to get a definitive answer as to what an extrom was!
okey dokey failed! ha. file extrom contains AUTORUN, CUSTOM, CFG, and many CAB files. Placed it on memory stick. Tried to open cabs one by one none worked, said was unsuccessful. One thing is that the CFG file is blank, do i need to be writing text in there of some sort? This is harder than a sony erricsson phone! what and how do people use the display a deskbar on the main screen, ive disabled the windows default set of icons, is there a better external app to use for it? answer whatever you can i know nothing about ppcz
reggaedave said:
okey dokey failed! ha. file extrom contains AUTORUN, CUSTOM, CFG, and many CAB files. Placed it on memory stick. Tried to open cabs one by one none worked, said was unsuccessful. One thing is that the CFG file is blank, do i need to be writing text in there of some sort? This is harder than a sony erricsson phone! what and how do people use the display a deskbar on the main screen, ive disabled the windows default set of icons, is there a better external app to use for it? answer whatever you can i know nothing about ppcz
Click to expand...
Click to collapse
It sounds to me that you need to go back to suggestions of reading the wiki my friend. You need to downgrade to wm2003, and follow instructions step by step. This is where to start... Choose the proper answers and it will walk you through.
and if your cfg.txt file is really empty (which i don't understand, as many people downloaded the package and had it working), here is a sample extrom, that i wrote for myself:
LOCK:Enabled
SHOW:\Storage Card\EXTROM\Custom.bmp
CAB: \Storage Card\EXTROM\ADC.cab
CAB: \Storage Card\EXTROM\A2DPFix.cab
CAB: \Storage Card\EXTROM\Extrom_version.CAB
CAB: \Storage Card\EXTROM\GoogleMaps.cab
CAB: \Storage Card\EXTROM\HTC Large Title Bar.cab
CAB: \Storage Card\EXTROM\HTC_Task_Manager_2.1_34837.5.cab
CAB: \Storage Card\EXTROM\HTC_Touch_Calculator_Skin.cab
CAB: \Storage Card\EXTROM\HTC_WMP_Touch_Skin.cab
CAB: \Storage Card\EXTROM\Office_6.1.21202.cab
CAB: \Storage Card\EXTROM\PHM Regedit.cab
CAB: \Storage Card\EXTROM\PIE8_Flash3.1_21202.cab
CAB: \Storage Card\EXTROM\pocketrar.cab
CAB: \Storage Card\EXTROM\psShutXP.cab
CAB: \Storage Card\EXTROM\RDM_21202.CAB
CAB: \Storage Card\EXTROM\sipchange.cab
CAB: \Storage Card\EXTROM\skybox.CAB
CAB: \Storage Card\EXTROM\skybox.CAB
CAB: \Storage Card\EXTROM\SMS Delivery Receipt Fix.cab
CAB: \Storage Card\EXTROM\WMWidgets.cab
CAB: \Storage Card\EXTROM\youtubeplay.cab
LOCKisabled
HIDE:Enabled
EXEC: \Windows\DelCDetect.exe
HIDEisabled
RST: Reset
as you can see it is just some basic commands and a list of cab files, so you can do it yourself.
Oh, and where the smileys are, there of course has to be ":" "D" but as they stand without space, they make fun of the HIDE function should have posted it is code
@reggaedave,
How much free storage space do you have after a clean flash?
Everybody more cleverer than me im looking into extrom!
Storage
total: 43.26 MB
in use: 10.80 MB
free: 32.45 MB
program
total: 90.93
in use: 29.86
free: 61.07.
Learning the basics a bit now after getting bollocked! ... silly question but here goes, if i wanted to replaced png in the windows folder, should i just overwrite them with my own pngs, with same dimensions and names, is that how people change the interface graphics? apprentice ppc modder!....
Also trying to get my head around themegen program, because got loads of stock gfx to use so hopefully should be able to create some fantastic themes soon! over and out! Rga
reggaedave said:
Everybody more cleverer than me im looking into extrom!
Storage
total: 43.26 MB
in use: 10.80 MB
free: 32.45 MB
program
total: 90.93
in use: 29.86
free: 61.07.
Learning the basics a bit now after getting bollocked! ... silly question but here goes, if i wanted to replaced png in the windows folder, should i just overwrite them with my own pngs, with same dimensions and names, is that how people change the interface graphics? apprentice ppc modder!....
Also trying to get my head around themegen program, because got loads of stock gfx to use so hopefully should be able to create some fantastic themes soon! over and out! Rga
Click to expand...
Click to collapse
That is exactly what I thought! You should seriously taking a look at the Wizard in the Wiki that markanthonypr pointed to you. I'll put it in simple terms... you did not follow the process completely (didn't unlocked and resized the storage). The reason why you cannot install your cabs for your ExtRom is simply because the old ExtRom still exists in your phone. Also, since all of these files are still there taking up space, instead of having about 60 MB of storage, you have roughly 43 MB. Long story short, you have to start from scratch (and I do mean from scratch... go back to stock 2003). Please follow the Wizard in the Wiki [highlight]step by step by every single step.[/highlight]
After you get an OS installed properly, you can continue modding the phone to your liking, but at this point, it is meaningless since you will have to hard reset your device a few more times.
ERROR!
Oh lord... ok, ive seen a lot of info since i did my first flash, ( seen the formating storage info), ill have a look and see if i can sort it.Originally i was stuffed because i got to the point that my phone was stuck in bootloader mode and paniced so thats why a rushed flash happened, and because it was about 3 in the morning aswell. Ill follow link, when i did my flash i followed a post actually in a thread, not from wiki, suppose that didnt help me much.Ill try again from scratch!
Wowzer what a night. Not done it yet. Had a total nightmare. Flashed my phone back to WM6 again in the end. Followed the instructions but couldnt pull it off, have to have another go.
Got as far as getting Downgrade to wm2003 pack, put the nk.nbf file in folder that had been extracted, but couldnt get maupgrade tool to recognise my phone to reflash it. So phone was stuck in bootloader so flashed it again using maupgrade with the WM6 files in and it come up straight away, so just flashed it to get back to beginning.
Will have to make my own notes and do it myself without having to search pages, also b4 i couldnt get mtty app to get into phone, wouldnt let me type commands so that was doing my head in. Couldnt find any info in any wiki wizzard link about commands for mtty! anyhows im knackered. Work in progress. Am i right in thinking that i need to flash my phone back to a wm2003 rom, do the nessasary formatting of storage, then upgrade to a version of wm6?? is that what i should be looking at? Knackered No time for any REGGAE Dave!
Yes!
Yep Dave, that is correct.
You need to flash back to 2003, install the unlock and unhide cabs as per the Wizard and execute them in the correct order.
Follow all steps! Do not skip anything and you should be ok.
After that continue on through the Wizard instructions to flash your new rom.
Best of luck.

sUC - suiller UC way [9 Feb 2010]

ABOUT
The purpose of this CAB is to reach a sort of UC way but with a very easy & friendly approach
HISTORY
I come from Diamond world, so because this CAB can be adapted for other platform/devices why not preparing a separate sUC.cab to use for enabling ALL the stuff (ramdisk, pimbackup,ram recovery,etc...) included in Dia Duit rom series?
what have I to do with this cab?? simply it will apply these features:
Latest stable MortScript is inscluded & ready to go, so no more needs to install as separate cab
Choose between 3 speed profiles: 1. fast (takes more ram & battery), 2. balanced (not heavy tweaked but not funny) & 3. untouched (default WM6 settings)
GPS profile: TomTom, iGO, Navigator or default WM6
Everyday auto recover RAM feature (at 4.30AM) + automatic sms/contacts/calls backup/fav manila people (trough pre-configured pimbackup app, PimBackup included)
Ramdisk (2Mb) feature (optional)
A new way for a fully automated CAB/REG/EXE/CPY installation/copy after every hard-reset/rom upgrade
UPX executable, compress (fully automated) exe files from fresh installed cabs, this saves space & gives faster app load times
Easy & fast tweaking method without 3rd part software: tweak registry scripts (with comments)
Tips enabled by default to preserve a bit more battery life (for ex 3 secs of led blinking instead 5, increased battery life counter,etc) + increased speaker sound volume + many example for setting automatic alarms, rings, etc...
Moved MAIL + Attachments folders from main memory (My Device) to external one (Storage Card)
3 / 4 rows configuration
This should work on every WM based rom, also because I added the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms (except for CABi installation)
DOWNLOAD sUC.cab HERE
DOWNLOAD sUC_source.zip HERE
BEFORE INSTALL (mandatory)
create in your "Storage" (the BIG one) a folder called "Backup and Restore", then inside it a folder CAB (inside this another folder called CABi), then at the same level of CAB folder create a folder called CPY, then REG, then EXE
so practically your basic structure should be like:
Code:
Storage Card (or whatever name)
=> Backup and Restore (folder)
=> CAB (folder, put here all the cabs you want install on main memory)
=> CABi (folder inside CAB folder, specific for "must go into Storage", see notes)
=> REG (if present all reg files here will be joined to default WM registry)
=> CPY (if present all files here will be copied under their correspondent folders)
=> EXE (if present all .exe & .mscr files will be launched)
all files in the CAB folder will be installed (automatically) into "device", the ones in the CABi folder will be installed into "Internal Storage" (or whatever you have, always automatically), from REG folder all *.reg/*.rgu files will be loaded on the fly, from CPY all files will be copied (with overwrite) into correspondent folders (for ex useful for copying personal dlls, wav/wma/mp3 files or background, etc...), for finish from EXE folder will be launched your executables (personally never needed, but who knows?) & if present all *.mscr scripts... pay attention to exe files that needs user interaction
INSIDE THE CAB (a deeper explanation)
when your sUC cab is installed it simply creates a registry entry under [HKLM\init\]"Launch69"="2ndboot.exe", this permits the script 2ndboot.mscr (launched by 2ndboot.exe) to be loaded upon system reboot (just one time)
this script, if the structure mentioned above isn't found, it will create automatically all the folder & default reg files needed under your storage card, the name isn't important because it should guess itself its correct name, so don't care if your storage is called something like "MyBigStorageCard"
then it will ask you some questions... such as if you use ActiveSync, which GPS performance adopt, etc... all this info, which at 1st you'll pay high attention, will be stored under your storage card in a file called config.txt ...why?? simple... because next time you will flash or hard-reset your phone you wont have to push a button the script will found that previous stored config file & it will take all the info needed for final rom configuration to skip all annoying questions after every upgrade/HR
note: there is also an hidden option that should be used only by experts, to enable this option simply add by hand to your config.txt file the line: FastInstall=1
this will skip all countdown menu & messages... personally I use this option because flashing a lot this saves much time more
next it will look in the CAB folder for installing your CABs into "device" or main memory
next in the CABi folder for installing CABs into your storage card (you need to do this just 1st time, I'll explain later...)
next it will look at a file called upxlist.txt (must filled before), where simply you will specify all the *.exe file you want to compress after every cab installation... for example your upxlist.txt could look like:
Code:
\Program Files\Navigator\TomTom Navigator.exe
\Program Files\9.5 Beta\Opera9.exe
\Internal Storage\Program Files\Binaryfish\All Mobile Mines\All Mobile Mines.exe
note: every line for every EXE file, pay attention that you can compress just EXE files coming from extra CABs, because EXE files present in the rom are read-only
next it will copy a set of basic reg files with many tips/tricks/examples inside, useful for making many customizations
note: of course if you have previously prepared the folder structure & you have copied your REGs files under the REG folder they will be processed together the files above
next it will look in the CPY folder and will replicate the found folder structure (with files too), for example create inside it a folder \windows with some file inside & it will copy all found files under \windows on your device, or create \program files\myapp & it will create that folder structure in your device, of course it works also for Internal Storage even if it has no sense, anyway just a note it doesn't create empty folder, to create an empty folder just use a single .mscr script (something like: MkDir("\mydir") ) & copy it in your EXE folder
next it will look in the EXE folder & will launch all the exe files inside it, if found it will launch also all *.mscr scripts
next if found (you'll understand better upon an HR), it will ask you to restore your backed-up start menu, so you don't have to re-arrange your icons again
next if found, it will ask you to restore your last PIM backup & will reboot
notes:
right now CABi procedure works only on WWE roms (due to translations work to be finished), anyway there is a trick to skip CABi installation, or better make by hand just once (read few lines below)
installing cabs into Storage Card sometimes will fail, this simply because some cabs need confirmation/accept license & so on, so don't expect will work 100%, also many cabs require to be installed into main memory so NOT into Storage Card, for ex I use to install into Storage Card simple cabs such as games
sometimes pim backup restore can fail, try to restore by hand after installation; backup are divided into week days (monday, sunday, etc... "Last" is the last saved backup)
if you put sUC.cab in your CAB folder wont re-processed of course, useful if using sUC together with UC/UC2 installation method (see at bottom)
if you still use the 1st sUC release way your personal scripts still work like before, simply move them under EXE folder, or transport as reg entries directly into your personal reg file & copy it under REG folder, you can find on the same folder some examples (to clean all your old stuff simply empty the REG folder, modded REG files wont be touched on future upgrades)
you don't need to re-install every time your CABi, just install them once, then on next upgrade answer No or simply edit your config.txt & change the correspondent value; after CABi installation on a clean boot go with your explorer under "\windows\start menu" folder & re-organize your start menu structure (cut/past links, create/delete folders, etc...), remember to don't delete "Settings" folder even if empty, then go under sUC menu & backup your StartMenu, on next upgrade sUC will detect start menu backup & it will reinstall automatically... because the content of your storage card isn't erased after a rom upgrade/hard-reset your installed CABs will stay there untouched, so backed-up start menu has inside correct links
is possible to move TomTom, iGO, Navigon, etc... definitively into your storage card, so you don't need to install them every time: copy entire nav software folders from \program files to \internal storage\program folders, re-create icon shortcuts (copy/past as shortcut in your start menu), for iGO you have to edit sys.txt (under iGO folder) & change the path of base installation
in the same way is possible to skip for example FingerKeyboard installation from related cab, simply take a look at this short guide
INSTALLATION
note: to migrate in every new sUC version simply move your reg mods in your Personal.reg file, erase all the rest of reg files because they will be re-generated with the new ones, remember that on upgrades reg files wont be touched so pay attention on what you mod
if the rom is UC compliant simply create a called SDConfig.txt file in the root folder of your Storage Card, for example your SDConfig.txt could look like (pay attention to upper-lower case & no empty lines):
Code:
LOCK:Enabled
CAB :\Internal Storage\Backup and Restore\CAB\sUC.cab
LOCK:Disabled
RST: Reset
in this way at reboot will start standard sUC procedure (remember MortScript is included & also that sUC cab wont be re-processed even if present in CAB folder), instead if the rom isn't UC compliant simply install sUC as any normal cab, then it will ask to restart (or restart manually) & automated procedure will begin on reboot[/b]
bye,
davide
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
GENIAL !!!!!!
aiiro said:
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
Click to expand...
Click to collapse
yep... you right sorry, I'll correct soon...
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
jackkkkk said:
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
Click to expand...
Click to collapse
oh FRIEND! I found you
yep, I'm looking here around to see if my mad projects can be useful
the cab isn't still perfect but should work, of course I haven't a different device from diamond so all you will be a sort of beta tester
I've removed all specific diamond stuff, so it should work
Of course this is just a starting point, I'm dedicating much time to develop this small piece of "software", thx also to many other friends
You know as it works, so you should feel a bit like at home
aiiro said:
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
Click to expand...
Click to collapse
yep you are right... UserConfiguration, the only difference is that you don't need to write any config file, at least not as "normal" user, it's enough to copy under correct folders the CAB plus other stuff you want installed/loaded after every flash/hard-reset
I'll porvide soon a video-guide, so it will be for sure more clear
OK, OK, nuff with making fun of me Or were You seriuous with video guide?
Cos I just had a brilliant idea - I'll install the damn thing and look for myself
I think I should have done that in the first place. But still, I believe screenshots would save some time understanding what's it really about.
Yeah Screwed Up Click for life
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
Hi,
really don't want to be rude or offence, but ... isn't this something like SASHIMI????
If so ... where are sUC's pros?
kind regards
fwt
almost... but it's very very simple... I'm testing an heavy modified version able to run on almost every WM6.x base device
OK the CAB is ready for testing purposes... please re-read 1st post because I'm making a better, I hope easier, description of features... thx
bye,
davide
Mate, this piece of software is plain GENIUS!
So much easier than the UC thing, with all the boring scripting. This way you just place in folders, and you are (mostly) done! Amazing stuff!
I have some questions/requests for you though...
Is there a way to repeat the procedure (restore at 1/2 start up), at a later time? This could be useful, for example, if some files get corrupted, or you just want to revert back to default cabs/settings, etc. So I guess what is needed is a way to manually activate the procedure.
Second thing is regarding mail settings. Is there a way to back this up? My hotmail settings get destroyed after every HR.
Cheers.
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
krale said:
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
Click to expand...
Click to collapse
hmm... it could be a good idea... even if some phases can't be reverted, or better it's very complicated to "go back"... such as for ramdisk
anyway many phases are yet accessible as indipendant scripts just take a look under "\Backup and Restore\scripts" folder, of course other script could be extrapolated but I'll do probably on next version... let's say this is a testing purpose version because I have to "think" that this app must work on many (almost all I hope) wm6.x based devices
As one of the end (l)users who first saw this in Suiller's Dia Duit rom series, I can attest to this resolving one of the major grievances of Windows Mobile rom-upgrades. With some "smart" planning ahead, getting everything back can now be mostly scripted by simply placing the install file in the correct directory. Same with restoring data from your pimbackup, or adding registry settings. Once again we have a case where the xda-developers have surpassed the "offficial" roms in user friendliness.
I have since moved on to WM6.5 (still on my Diamond), but I sorely miss sUC from my later roms.
//Svein
updated sUC, corrected some small issues
I corrected some default/samples reg files, so I suggest to erase all default *.reg files under REG folder to update correctly
move your personalization to something like "MyRegPers.reg"
please reports here bugs/issues/suggestions or whatever... thx

[solved] No Customisation + Welcome.exe [email protected]

Device flashes - Device boots - Device runs the Welcome.exe, but then no Customisation.
Iv recently added some EXT packages into my rom. i made them myself from .cab's with cab2ext. ive tested the .cab's before adding to my rom, they do work. but some programs that did work before adding the new EXT's now dont because of no customisation eg, Task Manager - the one on the today screen and also Windows Live. (iv only noticed these two at the moment but there will be more, to be honest i cant be arsed looking for programs that work or dont work when its quite obvious its because of no Customisation, if i fix that, they will work again.. simples )
Anyway...
I opened the new EXT packages ive added and checked all the files.. eg, .dat .reg and all "FILES" files, i even checked the .lnk's and all seems ok. i then checked them again.. yet everything still looks ok, but something is seriously f*cked!
Also another problem, a wierd one..
When i Soft-Reset/Restart the device, it boots up with the Welcome.exe again? (the Welcome.exe is meant to only run the once and then dissable )
Help? iv almost got my rom the way i want it - ive been working on this rom for 2months and i dont want to start building the rom from scratch...
..again! pmsl
Does anyone have any idea what is wrong, if this has happened to you, how did you fix it?
Thanks!
Rn
Check your runcc.lua, then the conf*.txt files you include in your rom, then all the commands you execute inside them.
One of these commands go wrong in your first boot and so you are stuck on customization.
If you use xda_uc or another user customization method, check those scripts as well.
It may happen, for example, if you try to install a cab and for some reason it fails.
If in your recent packages you overwrite one of your conf*.txt file, this could be the cause.
Ciao
...
cheers dude, thanks for your time and help, i think i understand what you meen..
[1)config*.txt <-- all config files are ok.]
[2)runcc <-- googled and i dont use]
[3)xda_uc <-- googled and i dont use]
raving_nanza said:
iv almost got my rom the way i want it - ive been working on this rom for 2months and i dont want to start building the rom from scratch.....again! pmsl
Click to expand...
Click to collapse
its ok claros, f*ck it dude, its the second time this problem has happened to me, it happened on my first rom too.. (2months ago.lol)
i litteraly started again from scratch (a nice clean slate) ill just start my rom again like i did then which will solve my problem.lol ive got all my programs and setting backed up (*in a messy folder of messy folders )
my new kitchen will basicly be up and running again by the end of the day, its my birthday on wednesday so i may as well set it as the rom date.lol
Raving_1337_Rom_V3 (Alpha)
Cheers anyway dude, muchly appreciated!
Rn
[changed title to solved, @claros]
raving_nanza said:
its ok claros, f*ck it dude, its the second time this problem has happened to me, it happened on my first rom too.. (2months ago.lol)
Click to expand...
Click to collapse
This happened to me at least 20 times, or more
Let's check together what happen at first boot, if I'm wrong anybody else will correct me.
1) files are moved from \windows to other directory according to your app.dat / initflashfiles.dat.
2) .provxml files are parsed to change config values or filesystem
3) welcome is executed, but this command don't stop startup so:
3a) autorun.exe or runcc is executed too to customize rom: these package runs according to the commands inside various config*.txt files in oem packages or sometimes in ext packages
4) user configuration, usually included as a call inside one of conf*.txt files is executed. If you don't use xda_uc, user customization should follow the same syntax as autorun/runcc
5) Last conf*.txt file should include at least a
LOCK: Disabled and a reset
At this point you should have completed the welcome wizard. If not, and your calibration data is not in registry, your are prompted again with welcome wizard at second boot.
Common errors during boot sequence are:
- wince.nls is missing
- app.dat / initflashfiles.dat error, such as creating subfolders inside non existent folders or statements not in unicode format
- registry / provxml errors during setup of welcome.exe itself, for example you disable the whole welcome wizard but don't write calibration data into registry
- chain error inside conf*.txt files, such as config.txt calls config_operator.txt which call config.txt, generating a loop
- a cab or command inside a config*.txt files cannot be installed, for example for lack of space or a missing certificate
What I usually do in these cases is:
- check platformrebuild log file for errors
- save my last tmp/dump folder to check what is really inside the rom and what is really overwritten by what
- If you can connect by activesync to device before reboot, explore the device itself, it's processes and registry
- recompile the rom putting semaphores inside app.reg files, .provxml files, config*.txt file. I usually add an ext package to be included as the last one (ZZZ_Claros_Fix) where I put a special app.reg, a .provxml and a modified copy of config.txt, config_operator.txt, config_end.txt etc etc.. If you don't have a diamond, you can boot without sdcard to avoid any sd_config.txt error
Starting a new kitchen from scratch for me is at least 20 days of work, I'd spend a day more finding a solution
Ciao
claros said:
This happened to me at least 20 times, or more
Click to expand...
Click to collapse
A Mortscript called Autorun.exe
V2 working again, Cheers!
*i started setting up a new kitchen then thought f*ck that!
Rn
Are you saying that you were cooking in mortscript, and the autorun.exe file from the mortscript package over-wrote the one from your OEM package? I think that happened to me once a while ago. I just left out the one from mortscript; I've never needed it before, anyway.
...
yeah a mortscript called Autorun.exe over-wrote my OEM Autorun.exe
i deleted it the mortscript, everythings sound now

[Q] auto delete cab after installation during rom flash ?

Hi,
I've searched through the fora before posting this question : I've found a registry tipp to delete or not cab after installation but that's not what I need, I mean I prefer cabs to not be deleted for daily use.
My question is : I would like to know if there is a tweak to auto-delete cabs after installation ONLY during flash (when cabs are cooked into rom)
I use the classic config.txt with by example :
Code:
LOCK:Enabled
CAB: \windows\DiamondTweak.cab
CAB: \windows\TCPMP.cab
LOCK:Disabled
I tried without the lines "Lock:Enabled/disabled" (I don't know why we add those lines lol) but there is no difference after flashing, cabs are still there into windows dir. Is there a specific command line to add into config.txt to delete cabs after install process ?
You can't delete rom files; you can cook tcpmp in better though; relocate all the files to \windows, and you don't need to install it as a cab. I'm sure diamond tweak would work fine out of rom as well. You really don't need to put many programs in \program files.
The lock enabled/disabled command just locks the screen out from user input. It's pretty effin' annoying, if you ask me. I leave the screen unlocked, in case the customization hangs (although I don't use autorun anymore).
ok, thank you

Categories

Resources