.RGU skipped during compilation (PkgToolsBuildOs 6.x-5.3) - Touch Pro, Fuze ROM Development

I know most chefs have moved on to the Visual Kitchen, but I would greatly appreciate some insight on a problem I'm having with the old'style kitchen.
I moved the GSensorCalibrator & GSensor SDK from the OEM folder to the PACKAGES folder. I added a supporting OPTION.XML (Unicode, like the others) and collapsed the contents of 0409 folder to the respective package folder, removed the 0409 folders, and then renamed the packages as follows:
.\Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
.\Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
The ROM loads up fine from the BuilOS tab of PkgToolsBuildOs 6.x-5.3 and the output of the log pertaining to the package above shows the following:
Code:
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0\9f517713-bb2d-4e77-8de8-e0638bf94c40.dsm
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
The Cabinet Tool section of the log shows this:
Code:
-- adding packages\9f517713-bb2d-4e77-8de8-e0638bf94c40.rgu
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu
Notice that the .DSM for the GSensorCalibrator is missing - not sure why. I've even tried recreating the file and using BUILDDSM.
The RGU Comp section of the log shows this:
Code:
package "02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0" does not contain .rgu file "8f517713-bb2d-4e77-8de8-e0638bf94c40.rgu"
importing registry file ".\Registry\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu"...
I checked the usual stuff: .RGU file format (Unicode, like others), .PROVXML format (same like others, although irrelevant at this point), duplicate .DSM/.RGU, multiple .RGU/.DSM in the package folder.
I'm completely stumped; I'm sure it's something I'm overlooking but for the life of me, I can't figure out why PkgToolsBuildOs 6.x-5.3 is not "picking" up the GSensorCalibrator .RGU file.

* UPDATE *
Deleting the .DSM files and creating blank empty ones seem to solve the problem ... which still has me confused as I started off with empty .DSM to begin with.
As I suspected, if the Cabinet Tool section does not show a .DSM for an .RGU expect problem with the package in question.

Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.

That's how I assumed it was supposed to function - the .DSM essentially provided a folder contents list of sorts.
That said, it appears that the version of PkgToolsBuildOs I'm using will search for the .RGU file in the folder ... when the .DSM file is empty (0 byte).
Cheers,

GSLEON3 said:
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
Click to expand...
Click to collapse
The RGU does NOT need to be read only...

Is that the extent of YOUR helpful commentary?

Related

Jiggs ATOM WM6 Kitchen

Dear all
Where can download ATOM WM6 Kitchen software,thanks!
sanjian said:
Dear all
Where can download ATOM WM6 Kitchen software,thanks!
Click to expand...
Click to collapse
jiggs dont release a kitchen, sorry for my mistake, he have explained to someone about this,.
i'll upload in the sticky thread the kitchen,. (to mediafire)
please wait, thanks,.
kumara
Thanks reply!
I use ATOM LIFE kitchen software,and i changer same command,but problem which default.hv and user.hv file,this file is empty,can you help me,thanks!
Note:
I think this problem which software XIP folder file,but i copy all file from my rom XIP file same problem.please help ,thanks!
Look this picture:
default.hv file only 44Kb,but right is 688Kb
user.hv file only 28Kb,but right is 72Kb
sanjian said:
Look this picture:
default.hv file only 44Kb,but right is 688Kb
user.hv file only 28Kb,but right is 72Kb
Click to expand...
Click to collapse
try to looak at temp folder (inside your kitchen, beside OEM and SYS folder) then read the log.txt
find in below the error, ususally in the last paragraph, thats mean you have an error with one of your rgu,.
default and user hv, can be build by reading the rgu,.
now, which base rom did you use??
This is log.txt :
Completed successfully
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
package "MSXIPKernelLTK" does not contain .rgu file "d92a4f0a-378a-4482-8fd3-bd127a05e4de.rgu"
package "SMIME" does not contain .rgu file "8cb4ac12-6bc5-4bda-ab45-539988c36a95.rgu"
package "Bth_A2DP" does not contain .rgu file "6b4ed31c-5ced-41b2-b917-2c006f046a5e.rgu"
package "MediaOS" does not contain .rgu file "ae879543-c73e-4888-812b-d8177c404612.rgu"
package "RUNTIMES" does not contain .rgu file "e658c544-26bf-45ac-a458-2044a5d1e698.rgu"
package "FWUPDATE" does not contain .rgu file "23ba5346-78b8-4436-b7d2-f30712c3cef4.rgu"
package "GPSID" does not contain .rgu file "d13b7447-0248-462a-bba4-d868f31642ed.rgu"
package "WWAN" does not contain .rgu file "77f38251-db87-4e5d-96d9-9e8e35b6dc1d.rgu"
importing registry file ".\Registry\723fb954-d931-4348-b672-82a188e587b5.rgu"...
package "SMS_Providers" does not contain .rgu file "582f7a58-3c50-4301-970a-ed5ec8947692.rgu"
package "BaseAppsFiles" does not contain .rgu file "b04e8c7f-f0f6-4201-83c6-4876404128c9.rgu"
package "MediaOSFiles" does not contain .rgu file "da5e9e89-c2c4-4ff9-ae88-c90a50ec09c9.rgu"
package "Bth_HID" does not contain .rgu file "a492bb92-210b-4933-9a65-272cc8ad9a5b.rgu"
package "NetCF" does not contain .rgu file "38f43c9f-bc38-430e-81d1-a2e6c650f225.rgu"
package "Entertainment" does not contain .rgu file "0cfc3dc0-5fbc-4153-9ce9-72df4d8c2922.rgu"
package "SQLCE" does not contain .rgu file "8a1287c3-da0a-4eb8-8ba7-b70019890abb.rgu"
package "BROWSINGCORE" does not contain .rgu file "d81b11e0-3299-4b65-8305-78f1fa03dc07.rgu"
package "Redist" does not contain .rgu file "208f8be6-1362-45b3-ae17-95d4ab426c11.rgu"
package "Metadata" does not contain .rgu file "034e7cf6-8a37-40ad-85bd-6851b921866a.rgu"
package "Entertainment_DPI_96" does not contain .rgu file "6327354b-cf17-4539-92f4-c590558d3b46.rgu"
package "Redist_dpi_96_resh_240_resv_320" does not contain .rgu file "7a3fc055-392b-4846-acc1-55a34a80db5b.rgu"
package "OS" does not contain .rgu file "d0b41563-b345-4444-aa15-986e7c7fff99.rgu"
package "BROWSING" does not contain .rgu file "b183f2a7-06c3-4f27-9679-7baf97e94efa.rgu"
package "Redist_DPI_96" does not contain .rgu file "a15620ee-f541-454c-99d4-ee268d67e74a.rgu"
package "Browsing_DPI_96" does not contain .rgu file "4091ab29-ebdf-4f28-9f58-a3f3e7495372.rgu"
package "Bluetooth" does not contain .rgu file "25c125d4-0a18-487d-a709-9b4242bbf4c3.rgu"
That's mean do you have based rom without rgu inside...
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
sanjian said:
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
Click to expand...
Click to collapse
Do u have .rgu file on your SYS and OEM folder? If yes u must download any others rom. Try jiggs rom 0.7.0a
sanjian said:
I only have diskimage_Ver.nb0 file,after dumpfiles can get OEM and SYS and DUMP folder,i'm no changer any thing,direct buildOS,is this problem default and user hv file,thanks!
Click to expand...
Click to collapse
whose diskimage did you use?
you could try my HTC-Atom diskimage as your base ROM, it have a RGU,.
aLL yo've done is right, so try to work with other diskimage_Ver.nb0,.
gud luck,.
Regards
Kumara
Hi
I use " ATOM WM6 0.7a.0 WWE "this rom try,same problem,after update rom to mobile,stop at "driver default factory......",please help,thanks!
sanjian said:
Hi
I use " ATOM WM6 0.7a.0 WWE "this rom try,same problem,after update rom to mobile,stop at "driver default factory......",please help,thanks!
Click to expand...
Click to collapse
did you add something to your kitchen? OEM? new program? .dll files?
if you had, try to perform g'reloc,.
and tell me, what have you done?
and, please move to Atom WM6 ROM cooking tutorial, so, anybody can learn it,.
thanks,.
mods, i think you could close this thread,.

3.2.0 VoiceCommand provisioning for BT?

This is a question for DCD or anyone who's cooked VoiceCommand into their 3.2.0 ROM and has tried it with Bluetooth. In version 3.1.6, BTAGExtModule in registry key HKLM\Software\Microsoft\Bluetooth\AudioGateway was not properly set to \Windows\vcbthag.dll during the installation, requiring a registry edit later. If this is still the case with 3.2.0, I want to know in order to edit this into the kitchen provisioning so that I can forget about it and not worry about fixing the registry upon future hard reset (UC or Sashimi makes this a non-issue for me, but I am also flashing my fiancee's phone and want her to retain BT VC dialing functionality even if she needs to hard reset "in the field" without my being around to help her).
Thanks!
I'd look for the following entry in the *.rgu file
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\AudioGateway]
"BTAGExtModule" = "\\windows\\vcbthag.dll"
"Capability" = dword:00000065
Click to expand...
Click to collapse
Should be in something like the:
KITCHEN\SYS\Voice Command\410788f1-acd5-457b-b9ea-df86ac7f990e.rgu
file ...
boggsie said:
I'd look for the following entry in the *.rgu file
Click to expand...
Click to collapse
Thanks for the hints. I'd tried looking around a bit before posting but was encouraged to look again. Unfortunately, I find only a few .rgu files in the SYS subfolder of the kitchen and none contain the right key. The Voice Command folders (base program and language) don't even contain an .rgu file at all. At the same time, I've discovered the .rgu file that DCD uses to set up basic phone parameters, which may be a good place to transfer some registry tweaks instead of doing them in my UC provisioning. This .rgu file sets a "Capabilities" value in the AudioGateway key and might be the place to add the VC tweak, too (assuming it's not already in another, undiscovered .rgu file).

[Question] Cooking a personal Rom

Is it possible for me to cook a personal ROM? I have tried alot of ROMs here but ever since HTC's new official ROM was out (asia) , I find it really good for me. One thing i hate from the ROM compared to cooked roms are that everything is disorganised. Everything is in 1 program file. In cooked Roms, the chefs have already taken the liberty to assign each app to their appropriate folders (apps,connection,multimedia, etc)
I would like to do the same , however it takes alot of time for me to do so but I can manage that. What i really want to do is, after organising the apps to their respected folders, and installing all of my needed softwares on the phone, how do i make a complete backup of the ROM, and then save it on my computer perhaps. So then i could flash my phone with the backup ROM and the next time i were to flash my phone, everything would be there (my apps, my organised folder).
Will it be possible (i'm sure it's possible, i just need the right software / app to do it)
You're going to need a Kitchen to cook your own ROM; assuming you have a Raphael device, have a look at this thread:
Useful Links Thread
http://forum.xda-developers.com/showthread.php?t=439783
Many folks use Da_G's Kitchen ... but there are other great Chefs that have made their Kitchens avalaible.
HTH,
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
arvin2212 said:
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
Click to expand...
Click to collapse
You need to have NBHextract Tool it will be in include in kitchen...me too trying to cook on same build with no results. It's no easy try try that's it...
krish_nank, Is this your first time building a ROM?
If so, we're on the same boat...
I tried using NBHextract Tool but when i run the .exe a pop up cmd window comes out and then dissappears. I added the program manually in cmd, and here is what it says , but it doesn't do anything although i have place my .nbh file in the same folder with it.
"
C:\Users\xda>C:\Users\xda\NBHextract.exe
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Usage: C:\Users\xda\NBHextract.exe <nbh file> [-v]
C:\Users\xda>
"
arvin2212 said:
organising the apps to their respected folders, and installing all of my needed softwares on the phone
Click to expand...
Click to collapse
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
nnkumar73 said:
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
Click to expand...
Click to collapse
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
okay, my bad. Then I am sure you have seen the ROM reconstruct thread. Hope that thread helps you.
Have a look at the first three posts in the following thread:
[TUT] Sous-Chef's Guide to Da_G's Simple Kitchen
http://forum.xda-developers.com/showthread.php?t=490787
Essentially, once you unpack the "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_R aphael_52.58.25.30_1.11.25.01_Ship" executable, you run a script that performs the actions required to prepare the NBH file for custom cooking.
That should get you started.
HTH,
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
With my kitchen do this...
Backup the OEM and SYS folder...
If you have the NBH file already place it in the BaseROM folder
If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Once NBH is in the baserom folder start my kitchen
Select 2, 1, 1 and let it do its thing
When extraction is completed and you are back at main menu select option 8, move dumped OEM/SYS from Temp
When that is done select option 6 Copy Extracted ROM XIP from Temp
When that is done your new dumped ROM is ready to be built.
Delete or do not select any duplicate packages
Clean out the new OEM/SYS folders. There is a lot of junk in there that can be removed, welcome folder, do a search in the OEM/SYS folders for *.3gp and remove the welcome movie and blah blah blah...
If you take the time to look at the folder structure of the OEM and SYS folder you should be able to figure it out pretty quickly.
If you need further help you may ask in my kitchen thread.
Hope this is a start for you guys...
nnkumar73, Thank you for your suggestion but i already known about manually doing it from the start menu folder. However it's not practical as , i would have to do it everytime i reflash my phone. If there is a new rom available, and i were to try it and somehow wanted to go back with my older ROM, i would have to do all the moving etc all again.
hilaireg once again, thank you for the link..
At0mAng, Thank you very much as well. I will follow your steps and see how it goes. I appreciate your effort of posting the right steps for it. Thank you.
DELETED.......................
Just an addition to previous posts
arvin2212 said:
C:\Users\xda>C:\Users\xda\NBHextract.exe
Click to expand...
Click to collapse
I can see u missed out the command : nbhextract ruu_signed.nbh
arvin2212 said:
3.If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Click to expand...
Click to collapse
The easiest way is to use any packer apps like winrar. u can extract the nbh directly. if u r using total commander will be a lot easier. just press ctrl+pg dn & u can extract the file instantly.
Thanks to everyone's help especially At0mAng,
I finally extracted the ROM. I can see aloto of files in SYS and OEM folder.
What i would like to know now is, how do i create folders (icons are not neccessary for the folders) so that i can group installed apps in them according to category? Example is, A multimedia, navigation and games folder is created and , my apps are stored in the folders according to their functions. Like GPS tool goes into navigation and so on..
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
eras2r said:
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")​2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
Click to expand...
Click to collapse
Somehow, i am not able to find this file , initflashfiles.dat in my OEM_Lang_0409 folder. :?
Do you have Windows Explorer setup to view all system/hidden files? (Tools->Folder Options-->View)
If using a kitchen that supports it (mine does for sure) you can create a new, blank text file in a package folder, initflashfiles.txt
it uses the same format eras2r posted above, but gets appended to initflashfiles.dat during the cooking process
in this manner you can have initflashfiles.dat changed on a per-package basis, it's also easier because you don't have to worry about the first 2 bytes etc.
e.g. \Packages\beer\initflashfiles.txt
When cooking rom check box next to package "beer"
now the contents of \Packages\beer\initflashfiles.txt get appended to initflashfiles.dat automatically during cooking, don't get applied if box is not checked
similarly this initflashfiles.txt can go in any folder in \OEM and \SYS as well
eras2r, yes , it has already been configured to show hidden files & folders
Da_G, i get what you mean, roughly. What you're saying basically is that i can manually create a txt file for initflashfiles and leave it in the packages folder?
Also i am not sure about the syntax that eras2r posted. I find it alittle well above my level of knowledge. Maybe someone can guide / explain to me regarding this?
Right right, an initflashfiles.txt can go in any subfolder under \OEM \SYS or \Packages
You can create the file with notepad, no need to worry about removing things with a hex editor or otherwise using anything other than notepad.
The syntax is as follows:
using this example to create a directory:
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
Directory("\Path\to\create\directory\in\goes\here"):-Directory("Name_Of_Directory_To_create_in_path") - essentially you're saying "Switch to the folder named \Path\to\create\directory\in\goes\here and create a new folder named Name_Of_Directory_To_create_in_path inside of it.
similar syntax to copy a file from one directory to another:
Code:
Directory("\Windows\Start Menu\Programs\Tools\"):-File("Fieldtest.lnk","\Windows\Fieldtest.lnk")
Directory("\Path\to\copy\file\in\goes\here"):-File("destination_file_name.ext","\source\path\to\filename.ext") - here you're saying "navigate to \Path\to\copy\file\in\goes\here, copy file from source \source\path\to\filename.ext, rename it to destination_file_name.ext when copying (you can use the same filename here if you don't want it renamed, renaming is useful for files that might be indexed by windows media player, or the windows help system, etc.
That should clear it up a bit, let me know if it doesnt

Guide To Modifying SPB Mobile Shell 3.5

This thread will serve as a bottom-up guide to modifying SPB Mobile Shell 3.5. Any help and links is appreciated and will be incorporated.
Last updated: 10/24/09
*Basics of SPB Mobile Shell 3.5*
Areas of the program that can be modified are based on an XML architecture.
Entering the Program Files folder, one finds many files named *.dat. Many of these correspond to concepts or widgets that are easily familiar: clocks and etc., and several of them are responsible for the larger structure and feel (qa_layouts, for example). A more comprehensive listing of all the include files is:
[To come]
*.DAT Structure*
.dat files that can be modified are actually standard .zip archives. Simply copying them over to your PC, changing the file extension from .dat to .zip, then opening the archive and extracting the files inside, shows you all that comprises a given widget or layout.
assword: In extracting files from the .zip, one will be prompted for a password, which is universally b0fm18zq .
The files contained in an archive are generally a mix of .xml files (determination layout, composition and functionality) and .bmp (image files that correspond to the different looks a widget may have). The .xml files may be viewed and edited in any standard text editor, like Notepad++, and the .bmp files can be viewed and edited in anything from Photoshop to Microsoft Paint (though, for exactitude, Photoshop or similar is best).
*What Goes Into a Widget*
A widget is defined by three specific files (with filename containing the three prefixes qa_, va_, and ma_), as well as by XML references in files like qa_layouts.dat and qa_layouts_bup.dat.
*Simple Widget Appearance Modification*
Luiggi's 9 Icon Build Guide: http://rapidshare.com/files/101365258/9_Icon_Build_Guide.zip
Just making a quick link here to another forum thread for Vostradamus Mobile Shell Manager. Besides the app there's also a lot of information there on how to modify widgets:
http://forum.xda-developers.com/showthread.php?t=689087

[Q] can someone help me in configuring XDA_UC?

i have create the folder '\Storage Card\XDA_UC'
now, i dont know how to do with the following instructions.
can someone guide me with this?
maesus said:
XDA_UC installation tips are generally similar as listed here. http://forum.xda-developers.com/showthread.php?p=3611692
I made some modifications so that the sequence of the installation will be like this:
My.tsk file from "\Storage Card\XDA_UC"
and if not present Cook.tsk from Windows Folder.
import *wifi*.*xml and *mail*.*xml provisional registry settings for WiFi and Email setup.
Copy Over User Files.
Check for "\Storage Card\XDA_UC\Copy2Root" if present, Disable Manila from Homescreen then Copy files from "\Storage Card\XDA_UC\Copy2Root" to the root of the device, Then checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg in "\Storage Card\XDA_UC\Copy2Root\Windows" and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3D.jp g"
Import registry files from "\Storage Card\XDA_UC\Copy2Root\Windows\manila.reg" If present
Re-enable Manila on Homescreen and redraw it. Now also works for the Sense 2.1 and up versions.
.xdas files in "\Storage Card\XDA_UC"
Silently run Legacy SDConfig.txt from Storage Card
(If your using RunCC.exe or Autorun you do not need to point to or use SDAutorun.exe or SDConfig.txt) Thanks to RoryB
Commands for SDConfig.txt can be found here....
.cab files in "\Storage Card\autoinstall"
This makes it compatible with your storage card's setup for Tom's Autoinstall.
.cab files in "\Storage Card\XDA_UC"
.cab files in "\Storage Card\XDA_UC\Storage", These cab files will be tempted to install to Storage Location. Not recommend using this method. Please use Manual instead.
.cab files in "\Storage Card\XDA_UC\Manual",These cab files will start with Full User interaction capabilities to choose where to install to.
.reg files in "\Storage Card\XDA_UC"
.xml files in "\Storage Card\XDA_UC"
.mscr files in "\Storage Card\XDA_UC"
.cer files in "\Storage Card\XDA_UC"
Create Shortcuts and more from Registry Keys
More information here....
Copy over welcomehead.192.01.png & welcomehead.192.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Copy over welcomehead.96.01.png & welcomehead.96.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Actually everything is copied over from Copy2Root folder to root, but the above Splashcreens get their file atributes removed before this happens.
Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
Well, I hope this is good enough to explain everything. Good luck with setting up your XDA_UC!
Click to expand...
Click to collapse
or is that i need to follow this? http://forum.xda-developers.com/showthread.php?t=684865 or http://forum.xda-developers.com/showthread.php?t=366337
i'm a newbie, so, can someone explain more easily?
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
thanks for reply
joooe said:
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
Click to expand...
Click to collapse
then no need to use these software?
* DoeDoe's SDConfig.txt creator.
* .reg -> xml conversion tool
* XML Notepad 2007
* CeRegEditor (can find registry changes)
* DaveShaw's Folder Copy utility
* Registry capture Logger
and, is that i need to locate those reg file from where the application folder in the device then straight away copy them to XDA_UC folder?
Stick with the basics, for now.
Here's what I do: I customize the phone to my needs in every option needed. Then, I grab a registry editor, and search for the entries that correspond to the changes I've made.
Once I find them, I export that registry key to the XDA_UC folder as a .reg file. Then I repeat for all the entries that matter to me.
When hard resetting, XDA_UC will enter those registry files into the wm registry to activate your options.
So, in teory, you will only need a registry editor.
ok...
i will try
thanks again..

Categories

Resources