howto remove cube when recooking rom? - Touch Cruise ROM Development

Hi, masters,
Just as the title, can some experts explain how to remove cube when recooking rom? I have tried the thread named as "disable cube in cruise", and I think it didn't work and may damage some scroll function. So maybe some experts in our forum can give us new cookers some tips about these. any reply will be appriciated.
What's more, can someone recommend some kitchen for 20755 or 20931? Nowadays I'm using Polaris Kitchen(19965) from udK to recook c_shehar's 20755(Thanks you both, you both are great cookers, I'm on my way to learning from you guys), just replace some payload and oem, sys... and much stuff in the kitchen. So I'm thinking maybe there are some great kitchens from other excellent cookers can recommend.
Thanks very much.

Hi sc.w
For removing completely the cube you must delete some file from OemApps folder in Oem folder!
Delete all *.brn files minus QD*.brn, and this exe:ApLancher and CustApLauncher.
After you must delete some reg keys in rgu file: all keys which are related to cube.
At the end in OemDrivers folder in rgu file you disable the cube by the key, search into!

Hi,
1 - delete all *.brn files from OEMAPPS
2 - delete APLauncher.exe, MediaHubMini.exe, StratUpBiotouch.exe from same folder.
3 - open 43db884c-927b-4317-9e62-a3bb0a1fbc60.rgu with notepad then :
* replace those value :
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\25]
"Description"="TouchFLO Settings"
.....
.....
.....
.....
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"TouchFlo"="xxxxxxxxxxxxx"
* With :
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\25]
"Description"="TouchFLO Settings"
"Name"="TouchFLO"
"File"="TFSettings.exe"
"CmdLine"=""
[HKEY_LOCAL_MACHINE\ControlPanel\25]
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp]
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp\Album]
"ClassName"="HTCAlbumClass"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp\Camera]
"ClassName"="IACSP20_Main"
[HKEY_LOCAL_MACHINE\Software\HTC\StratUpBiotouch]
"DelayNormalTime"=dword:000003e8
"DelayFirstTime"=dword:00000001
[HKEY_LOCAL_MACHINE\Services\HTCDetectTitleBar]
"Index"=dword:00000000
"Prefix"="DTB"
"Order"=dword:00000009
"Keep"=dword:00000001
"DLL"="DetectTitleBar.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"TouchFlo"="2_0_31936_1"
4 - Open rgu file in OEMDrivers then replace :
Code:
"EnableCube"=dword:1
with :
Code:
"EnableCube"=dword:0
you are done!

M-Amine said:
Hi,
1 - delete all *.brn files from OEMAPPS
2 - delete APLauncher.exe, MediaHubMini.exe, StratUpBiotouch.exe from same folder.
3 - open 43db884c-927b-4317-9e62-a3bb0a1fbc60.rgu with notepad then :
* replace those value :
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\25]
"Description"="TouchFLO Settings"
.....
.....
.....
.....
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"TouchFlo"="xxxxxxxxxxxxx"
* With :
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\25]
"Description"="TouchFLO Settings"
"Name"="TouchFLO"
"File"="TFSettings.exe"
"CmdLine"=""
[HKEY_LOCAL_MACHINE\ControlPanel\25]
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp]
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp\Album]
"ClassName"="HTCAlbumClass"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\Disable4SpecificApp\Camera]
"ClassName"="IACSP20_Main"
[HKEY_LOCAL_MACHINE\Software\HTC\StratUpBiotouch]
"DelayNormalTime"=dword:000003e8
"DelayFirstTime"=dword:00000001
[HKEY_LOCAL_MACHINE\Services\HTCDetectTitleBar]
"Index"=dword:00000000
"Prefix"="DTB"
"Order"=dword:00000009
"Keep"=dword:00000001
"DLL"="DetectTitleBar.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"TouchFlo"="2_0_31936_1"
4 - Open rgu file in OEMDrivers then replace :
Code:
"EnableCube"=dword:1
with :
Code:
"EnableCube"=dword:0
you are done!
Click to expand...
Click to collapse
Thanks, M-Amine, never thought can get a reply from you. You're a great cooker, and your reply is helpful. Now I've successfully remove cube in some cooking rom from xda. Really appreciate your help. Thank very much.

Hi,
Is it working to remove cube from artemis rom also? (BnB 4.3 for instance)
Thanks

Related

XIP 20721 for Polaris.

XIP 20721 for Polaris.
SHAYDER said:
XIP 20721 for Polaris.
Click to expand...
Click to collapse
Call me stupid.... what's XIP?
XIP is kernel of OS.
You can see a version of XIP: Start->Settings->System->About
OS CE 5.2.20721 is current XIP.
To build ROM with new XIP you must: put "MSXIPKernel" folder to "SYS" folder. Then build you new ROM with new XIP.
For Example you can use Polaris Kitchen v1.3 - WM6.1 (Build 19214.1.0.4)
http://forum.xda-developers.com/showthread.php?t=379559
for build ROM.
thanks....
20721 seems have Microsoft touch function
and 20721 XIP seems good , too.
now trying ^^
Brilliant cooked in and working fine
I am a total n00b so took a risk flashing but it went in and reports as 5.2.20721
Shayder,
no more need for your imgfs.bin and os.nb.payload like in the
XIP 20296 you posted?
Olioaglio
German ROM to dump available?
Anyone has a recent (202..) GERMAN Polaris ROM which
is able to recook (with dsm, rgu correct header etc)?
Unfortunately all ROMs I tried (Glass 0.4, UDK R7 GER, bepe) which
are available cannot be dumped and/or repackaged
It's a real pity! Seems the only way is using WWE for getting
the advantages of the new builds....
ANY HELP IS APPRECIATED!!!
Olioaglio
My imgfs.bin and os.nb.payload needed to replace any XIP on any ROM.(It is templates)
My Kichen.
http://rapidshare.com/files/140893825/Kichen.zip.html
To build ROM:
1) Put "OEM" and "SYS" folders to "Build" folder. (dont delete any existing files)
2) Run Rom.bat Then put "1" then "8" then "0"
3) When running "BuildOS" Put 'Play' button.
To Extract ROM:
1) Put "RUU_Signed.nbh" to "Extract" Folder
2) Run Rom.bat Then put "2"
3) When running "Package Tool", File->Open and put way "...\Extract\dump"
Olioaglio said:
Anyone has a recent (202..) GERMAN Polaris ROM which
is able to recook (with dsm, rgu correct header etc)?
Unfortunately all ROMs I tried (Glass 0.4, UDK R7 GER, bepe) which
are available cannot be dumped and/or repackaged
It's a real pity! Seems the only way is using WWE for getting
the advantages of the new builds....
ANY HELP IS APPRECIATED!!!
Olioaglio
Click to expand...
Click to collapse
I cant help you. ((Glass 0.4, UDK R7 GER, bepe) they Specially so have made) You must find needed files in internet.
Good work my friend. Indeed a good help.
kindly post the os.nb.payload as you have posted in the other XIP.
....regards
...c_shekhar
"imgfs.bin" and "os.nb.payload"
First off let me say thankyou for putting this package together.
I have cooked a rom and it boots up fine so I have started to customize it. Run into a few problems that I am hoping someone will be able to fix.
Here goes
I have used the package creator to insert some cabs into the installation. 3 of my cabs went in fine the rest create errors when building the registry.
So I am looking for a way to auto run the cabs. When the OS loads it seems to run a UC application from 2 places.
config_operator.txt
config_PT.txt
These point to cabs in the \windows directory and are installed upon first running of the rom. Brilliant I though. I copied the cabs i wanted into the OEMAPPS folder. Now when the rom is flashed my cabs are 100% copied OK into the windows folder as I can see them and run them.
So I edited the config_operator.txt
CAB: \WINDOWS\googlemaps.cab
CAB: \WINDOWS\coreplayer.cab
CAB: \WINDOWS\3iepatch.cab
CAB: \WINDOWS\opera1938.cab
CAB: \WINDOWS\advancedconfig.cab
CAB: \WINDOWS\keyboard.CAB
EXEC:\WINDOWS\cusTSK.exe \WINDOWS\Htc.tsk
XML: \WINDOWS\Menu_Operation.xml
CAB: \WINDOWS\PP_AKv33-Defau
Now when I re-flashed and the OS boots and I can see it in the install run my cabs and it looks like they are installing. The last one restorepie.cab then resets the device.
Upone reset my cabs have not been installed even though it looked like they were. Why is this?
Also is there a switch I can put to delete the cab after install? something like
CAB: \WINDOWS\opera1938.cab -d
Thanks in advance.
I dont know. I cant help you with this. But i can help you with errors when building the registry.
in "*.rgu"
Usually errors such:
@=""Windows\\cecmd.exe" "%1""
You must correct to
@="Windows\\cecmd.exe %1"
errors in ""
Good luck
SHAYDER said:
I dont know. I cant help you with this. But i can help you with errors when building the registry.
in "*.rgu"
Usually errors such:
@=""Windows\\cecmd.exe" "%1""
You must correct to
@="Windows\\cecmd.exe %1"
errors in ""
Good luck
Click to expand...
Click to collapse
THANK YOU THANK YOU THANK YOU THANK YOU!!!!
I went through the rgu for my opera package and did as you said. Now build perfectly no errors.
Time to get some more cooking done!!
Shayder,
Trying to use your kitchen but got stuck on how to change the automatically splash screen already setup in the BAT file? I was looking for NB file so I could just change the path but didn't understand those files named polarishtcrtproj.....
Thanks a lot and also for sharing this stuff!
SHAYDER said:
My imgfs.bin and os.nb.payload needed to replace any XIP on any ROM.(It is templates)
My Kichen.
http://rapidshare.com/files/140893825/Kichen.zip.html
To build ROM:
1) Put "OEM" and "SYS" folders to "Build" folder. (dont delete any existing files)
2) Run Rom.bat Then put "1" then "8" then "0"
3) When running "BuildOS" Put 'Play' button.
To Extract ROM:
1) Put "RUU_Signed.nbh" to "Extract" Folder
2) Run Rom.bat Then put "2"
3) When running "Package Tool", File->Open and put way "...\Extract\dump"
Click to expand...
Click to collapse
To change main splash screen you must:
1) run ROM.bat
2) put 3
3) in ".nb Image Tool" put "load..."
4) "save .nb" (save as "mainsplash.nb")
5) replace "mainsplash.nb" in "Build" folder to you "mainsplash.nb".
6) in ROM.bat put 1 then 8 then 0
Good luck
Thanks Man!
Cooked already but is showing CE OS 20721 and Build 20275
Things happens
SHAYDER said:
To change main splash screen you must:
1) run ROM.bat
2) put 3
3) in ".nb Image Tool" put "load..."
4) "save .nb" (save as "mainsplash.nb")
5) replace "mainsplash.nb" in "Build" folder to you "mainsplash.nb".
6) in ROM.bat put 1 then 8 then 0
Good luck
Click to expand...
Click to collapse
version of build Depends from "SYS" (not XIP)
XIP is CE OS 5.2.20721
Yep...agreed
I have used Niki's SYS but got stuck on splash screen all the time
SHAYDER said:
version of build Depends from "SYS" (not XIP)
XIP is CE OS 5.2.20721
Click to expand...
Click to collapse
I can help? Just whot do you do?

Reg tweak making BuildOS report error..

Hey there
First of all iam not sure if this is the correct section ! Iam very sorry if its not! Maybe a section just for cooking questions would be good ?
Well.. Heres my question ..
Iam cooking a rom for HD, and i would like to add some reg tweaks.. So i have added a bunch but one of my tweaks makes BuildOS come with an error stating that it couldn't build the registry..
I have made a OEM package containing the following reg key..
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CachedBackgroundPath"=""
"HomeBackgroundPath"="\Windows\Wall.jpg"
The file is named : "1a073e70-e2a0-11dd-ad8b-0800200c9a66.rgu", saved as "Unicode" and with an empty line at the bottom.. And the folder is also containing a file with the same name as above, just with ".dsm" as file extension. This file is empty
I have also added a "option.xml" file with the following inside it:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="Personal Reg tweaks" group="Programs" checked="true">
<Tip></Tip>
<Guid type="p">1a073e70-e2a0-11dd-ad8b-0800200c9a66</Guid>
</Item>
</Items>
and an empty initflashfiles.txt file..
But as soon as i include this package in BuildOS i get the error that it couldn't create the registry ..
What have i done wrong? The package is in the OEM folder..
~D
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CachedBackgroundPath"=""
"HomeBackgroundPath"="\\Windows\\Wall.jpg"
use double \\ in paths
dan-htc-touch said:
[HKEY_CURRENT_USER\Software\HTC\Manila]
"CachedBackgroundPath"=""
"HomeBackgroundPath"="\\Windows\\Wall.jpg"
use double \\ in paths
Click to expand...
Click to collapse
Thanks ! That worked..
I have another question.. If i want to replace the defualt netframework in my rom with the newest 3.5 what do i have to do ?
I have deleted the original NETCF folder in SYS and replaced with one from a cab that i've converted to a OEM using Package Tools 2.7.. But it dosn't work! When i try to start some software that uses netcf 3.5 it comes up with an error..

[ROM CHEFS]Clean Roll UP,Program To Clean Rollup Build

i have developed this app for clean Rollup for Omnia but i have added some features to clean Rollup for every DPI/RES and some Langs
I Post it here If SomeOne Need it:
(Moderators: Sorry if I have Posted in wrong section, Move the 3d in the right place)
Lasts leaked Builds are Rollup..
all the dpi/res/modules in one Directory ...
The Cleaning process il really boring..I was very tired of doing manually everytime the porting!
So I've Opened My visual studio and i have Created this small utility!
Features:
-Select DPI-RES-LangCode
-RecMod of AdobeFlash,Browsing,Browingie(if you want)
-Delete hd.dll and osaxst0.dll from the xip(if you want)
The Steps to have a clean Rollup are very simple:
1)Copy recMod.exe in the rollup folder
2)Drag And Drop the folder of the rollup on the exe
3) now will start the ReadOnly attributes Cleaning
4)Select DPI
5)Select RES
6)Enter LangCode(now supported ITA ENG GER FRA NDL PLK ESP)[ask me for support other langcode...please don't ask to support EA code for now...i'm working on it)
7)Will start the cleaning process
8Aafter this, the program asks if delete JUNK(no usefull lang/dpi/packages) directory
9)Choose if delete hd.dll and osaxst0.dll from the xip or not(necessary step for Omnia ROM)
10)Choose if recmod AdobeFlash,Browsing,Browingie
DONE!
Now in the RollUp Dir we Have 3 new Folder:
XIP: All the Xip Module/Files
SYS: SYS Modules, Selected DPI/LANG
JUNK:no Usefull files/dirs (This folder will be present only if you don't say yes to its deleting)
After the Cleaning Process check the SYS beacouse sometimes in the RollUp there are Other folder/modules added by 3rd part(example in 28230 Build there ìs FingerKeyboard package)
DOWNLOAD v1.4: http://www.megaupload.com/?d=HKBI5BA8
DOWNLOAD v1.5: http://www.megaupload.com/?d=VS9GTCYN
ChangeLog 1.5:
-added multilang selection
ps.Excuse Me for my English
shiner88 said:
i have developed this app for clean Rollup for Omnia but i have added some features to clean Rollup for every DPI/RES and some Langs
I Post it here If SomeOne Need it:
(Moderators: Sorry if I have Posted in wrong section, Move the 3d in the right place)
Lasts leaked Builds are Rollup..
all the dpi/res/modules in one Directory ...
The Cleaning process il really boring..I was very tired of doing manually everytime the porting!
So I've Opened My visual studio and i have Created this small utility!
Features:
-Select DPI-RES-LangCode
-RecMod of AdobeFlash,Browsing,Browingie(if you want)
-Delete hd.dll and osaxst0.dll from the xip(if you want)
The Steps to have a clean Rollup are very simple:
1)Copy recMod.exe in the rollup folder
2)Drag And Drop the folder of the rollup on the exe
3) now will start the ReadOnly attributes Cleaning
4)Select DPI
5)Select RES
6)Enter LangCode(now supported ITA ENG GER FRA NDL PLK ESP)[ask me for support other langcode...please don't ask to support EA code for now...i'm working on it)
7)Will start the cleaning process
8Aafter this, the program asks if delete JUNK(no usefull lang/dpi/packages) directory
9)Choose if delete hd.dll and osaxst0.dll from the xip or not(necessary step for Omnia ROM)
10)Choose if recmod AdobeFlash,Browsing,Browingie
DONE!
Now in the RollUp Dir we Have 3 new Folder:
XIP: All the Xip Module/Files
SYS: SYS Modules, Selected DPI/LANG
JUNK:no Usefull files/dirs (This folder will be present only if you don't say yes to its deleting)
After the Cleaning Process check the SYS beacouse sometimes in the RollUp there are Other folder/modules added by 3rd part(example in 28230 Build there ìs FingerKeyboard package)
DOWNLOAD v1.4: http://www.megaupload.com/?d=HKBI5BA8
ps.Excuse Me for my English
Click to expand...
Click to collapse
great..was searching for this a long time..
Hi,
great tool, but please make a second language possible.
For example:
Code:
Clear RO Attribs
Select DPI:
1=DPI96
2=DPI128
3=DPI192
3
Select Res:
1=480x480
2=480x640
3=480x800
4=480x854
3
Insert Lang Code(4 digits):
0407
[COLOR="Red"]Second Lang Code? (y/n):
y
Insert second Lang Code(4 digits):
0409[/COLOR]
with friendly greet
starbase64
starbase64 said:
Hi,
gret tool, but please make a second language possible.
with friendly greet
starbase64
Click to expand...
Click to collapse
DONE!
version 1.5
Hi,
many thanks.
with friendly greet
starbase64
Looks nice.
Would you please upload somewhere else (a mirror?)
Megaupload is blocked in my country
babak00000 said:
Looks nice.
Would you please upload somewhere else (a mirror?)
Megaupload is blocked in my country
Click to expand...
Click to collapse
here you are...
http://www.mediafire.com/?zgjynnnb1my
Thanks,
Going to test...

[Solved]Double start menu settings icon

I've modified the settings_improvement app.reg to include:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000000
But now I get 2 settings icons in the start menu; 1 points to WM 6.5 settings (which I want) and the other takes me to the manila settings tab. I've scoured my .dat, .rgu and provxml files but can't find any references to the settings icon except the dir setup in initflashes.dat (removing that seems to remove settings altogether). Any ideas where I should be looking?
Thanks
millski said:
I've modified the settings_improvement app.reg to include:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000000
But now I get 2 settings icons in the start menu; 1 points to WM 6.5 settings (which I want) and the other takes me to the manila settings tab. I've scoured my .dat, .rgu and provxml files but can't find any references to the settings icon except the dir setup in initflashes.dat (removing that seems to remove settings altogether). Any ideas where I should be looking?
Thanks
Click to expand...
Click to collapse
open your app.reg in settings improvement pkg you will find the reg there and it should be like this
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000001
twopumpchump said:
open your app.reg in settings improvement pkg you will find the reg there and it should be like this
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000001
Click to expand...
Click to collapse
Thanks, but that just gives me the manila settings icon
You need to delete settings.lnk from your manila files.
Found it. The correct settings are:
Settings_Improvement app.reg:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000000
And Settings_Improvement\0409 app.reg:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings.lnk]
"HTCLauncher.Exclusive"=dword:00000001
It was this second setting, in the 0409 subdir that I was missing (by default it's set to '0')
Hmm, spoke too soon - the problem still exists for me *sigh*. Does anyone know of anywhere in the provxml's or dat files that this setting icon is being forced to go to manila instead of wm other than the settings_improvement app.reg??? Using a Leo 2.13 dump on 23568 btw.
twopumpchump said:
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo]
"HideSettings"=dword:00000001
Click to expand...
Click to collapse
ai6908 said:
You need to delete settings.lnk from your manila files.
Click to expand...
Click to collapse
This is all you need to do
ai6908 said:
You need to delete settings.lnk from your manila files.
Click to expand...
Click to collapse
In Settings Improvement to be precise...
And check up your initflashfiles.dat for sure...
Found a settings.lnk in my manila_settings dir. Some idiot must have copied it there...
Sorry!

[TOOL][22/Nov/10]One Simple Package Sorter|OSPS v1.4.0.0[ONLINE]

There are quite enough applications out there that sort packages, but
I wrote this simple console application and even though it's not as good as the other package sorters I'm here to share it with anyone interested...
I have written it having in mind the outcome of bepe's xidump:
Code:
dump
|_IMGFS
| |___OEM
| |___RESERVED
| |___SYS
| |___.ROM (file)
| |___.VM (file)
|
|_XIP
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_OEMXIPKernel
|_WinCENLS_%locale%
so I always run it after xidump in order to get the most out of it...And so should you
Usage :
Code:
OSPS.exe /t:<Target (OEM) Folder> [COLOR="blue"]/n[/COLOR] [COLOR="red"]/r[/COLOR] [COLOR="green"]/d[/COLOR] [COLOR="Magenta"]/s[/COLOR] [COLOR="Sienna"]/k[/COLOR]
/n <Optional switch to sort packages into EXT>
/r <Optional switch to sort registry files>
/d <optional switch to delete empty packages>
/s <Optional Switch to sort SYS,XIP packages>
/k <Optional Switch to keep all original comments>
If /r is given the application will rewrite each registry file removing duplicate values and making it more readable.
If /r is omitted no registry files will be touched.
If /n is given the application will:
a) Convert every OEM package which name starts with "PACKAGE_*" to EXT Package named after the package's MASD.
b) Move the corresponding localization files ("PACKAGE_...wait for it..._%locale%") to the EXT Package's %locale% subdir.
c) Read initflashfiles.dat and if there are any entries about any EXT Package it will split initflashfiles.dat, rewrite it and create an app.dat for each of those EXT Packages, converting the hexstrings to readable strings.
If /n is omitted the application will:
a) Copy every OEM package which name starts with "PACKAGE_*" to a new folder - Pkgs\Common - and it will rename them after each package's MASD.
b) Move each corresponding localization Package ("PACKAGE_...wait for it..._%locale%") to a new folder - Pkgs\Locale - and it will rename them after each package's MASD and (%locale%).
c) Read initflashfiles.dat and if there are any entries about any Package it will split initflashfiles.dat, rewrite it and create an initflashfiles.txt for each of those Packages, converting the hexstrings to readable strings.
The application will sort all *manila files found according to language.
If /s is given the application will:
a) Sort OEM into 3 subfolders : (i) %locale%, (ii) COMMON, (iii) dpi_%dpi%
b) Sort SYS to VK style.
c) Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
If /s is omitted the application will not make any further changes to the dump.
If /d is given the application will remove any empty Packages (like X1,X2,L1,etc),
If /d is omitted no packages will be deleted.
If /k is given the application will keep all the original comments in initflashfiles.dat and app.dat/initflashfiles.txt.
If /k is omitted the application will just keep some basic comments.
Change Log:
07/July/10 - v1.0.0.0
Initial Release
10/July/10 - v1.0.0.1
Added /s and /k switches
11/July/10 - v1.1.0.0
Added conversion of hexstrings to readable strings for ALL LCIDs
20/July/10 - v1.2.0.0
Bug-Fix: Some files from the locale packages weren't moved as they should
Changed how /k switch works(read more...)
20/July/10 - v1.2.1.0
Increased stability
22/Sep/10 - v1.2.2.0
Bug-Fix: Some PACKAGE_2DManila* folders were left inside OEM
17/Nov/10 - v1.3.0.0
Bug-Fix: Registry sorting wasn't working 100%
22/Nov/10 - v1.4.0.0
Bug-Fix: Manila lcid sorting
To Do:
Any suggestions are welcomed!
Any bug reports are appreciated!
Regards!
kokotas said:
4. Sort SYS to VK style.
5. Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
Click to expand...
Click to collapse
Can I skip these steps?
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
- initflashfiles.dat, app.dat hexstring convert
- don't edit app.dat header for easier edit and view
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
It's very good app, thank you so much.
Epson said:
Can I skip these steps?
4...
5...
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
Click to expand...
Click to collapse
I could add a switch for all of the above. Let me check it...
Epson said:
- initflashfiles.dat, app.dat hexstring convert
Click to expand...
Click to collapse
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
Epson said:
- don't edit app.dat header for easier edit and view
Click to expand...
Click to collapse
What exactly do you mean? Give me an example if it's not difficult.
Epson said:
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
Click to expand...
Click to collapse
Well I don't like those useless comments, so no for this one.
Epson said:
It's very good app, thank you so much.
Click to expand...
Click to collapse
Thank you for trying it and leaving your comments!
Regards!
kokotas said:
I could add a switch for all of the above. Let me check it...
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
What exactly do you mean? Give me an example if it's not difficult.
Well I don't like those useless comments, so no for this one.
Thank you for trying it and leaving your comments!
Regards!
Click to expand...
Click to collapse
I like those suggestion too because I don't use VK kitchen
I think he means the "FF FE" header of app.dat (you removed it), some text viewer can't display correct and think it's an binary file.
About the hexstring convert, maybe you should work with airxtreme as he did it very well here: http://forum.xda-developers.com/showthread.php?t=692314
Oh, and thank you for your app. It's great.
Ok guys!
I uploaded a version which doesn't remove the header "FF FE" from each app.dat,
and has 2 new switches to control whether to:
(i) sort SYS,XIP and OEM according to VK style and
(ii) remove comments from initflashfiles.dat and app.dat
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Regards!
kokotas said:
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Click to expand...
Click to collapse
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
kokotas said:
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
Click to expand...
Click to collapse
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Cloudyfa said:
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Click to expand...
Click to collapse
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
kokotas said:
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
Click to expand...
Click to collapse
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
v1.2.1.0
An updated version is up @ 1st post.
Cloudyfa said:
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Click to expand...
Click to collapse
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
Cloudyfa said:
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
Click to expand...
Click to collapse
I changed a little how the application handles comments:
If /k is given the application will keep all the original comments.
If /k is omitted the application will keep only some basic comments. For example:
initflashfiles.dat
Code:
root:-Directory("My Documents")
root:-Directory("Program Files")
Directory("My Documents"):-Directory("我的图片")
Directory("\My Documents\我的图片"):-File("春天.jpg","\Windows\Spring.jpg")
Directory("\My Documents\我的图片"):-File("青草.jpg","\Windows\Grass.jpg")
Directory("\My Documents\我的图片"):-File("绿叶.jpg","\Windows\Leaf.jpg")
Directory("\My Documents\我的图片"):-File("水纹.jpg","\Windows\Water.jpg")
Directory("My Documents"):-PermDir("模板")
Directory("Program Files"):-Directory("连接")
Directory("\Windows"):-Directory("Help")
Directory("\Windows"):-Directory("Fonts")
Directory("\Windows"):-Directory("程序")
Directory("\Windows"):-Directory("StartUp")
Directory("\Windows"):-PermDir("“开始”菜单")
Directory("\Windows"):-Directory("Temporary Internet Files")
Directory("\Windows"):-Directory("AppButtons")
Directory("\Windows"):-Directory("收藏夹")
Directory("\Windows"):-Directory("Rings")
Directory("\Windows"):-Directory("AppMgr")
Directory("\Windows"):-PermDir("System")
Directory("\Windows\System"):-PermDir("ConfigMgr")
Directory("\Windows\System"):-PermDir("CertDtls")
Directory("\Windows\System"):-PermDir("DumpFiles")
Directory("\Windows\System"):-PermDir("CabQueue")
; Start Menu contents
Directory("\Windows\“开始”菜单"):-PermDir("程序")
Directory("\Windows\“开始”菜单"):-PermDir("设置")
Directory("\Windows\“开始”菜单\程序"):-File("帮助.lnk","\Windows\help.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("搜索手机.lnk","\Windows\search.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电话.lnk","\Windows\cprog.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("调制解调器链接.lnk","\Windows\ATCIUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet 共享.lnk","\Windows\IntShrUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务管理器.lnk","\Windows\TaskMgr.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("ActiveSync.lnk","\Windows\sync.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet Explorer.lnk","\Windows\pie.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("PerfMan.lnk","\Windows\perfman.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电子邮件.lnk","\Windows\tmailpicker.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("短信.lnk","\Windows\tmailsms.lnk")
Directory("\Windows"):-File("设置电子邮件.lnk","\Windows\acctwiz.lnk")
; turn off the OLD inbox later
; put the OLD inbox to the program floder (temporary)
Directory("\Windows\“开始”菜单\程序"):-File("便笺.lnk","\Windows\notetake.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("图片和视频.lnk","\Windows\pimg.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("SimTkUI.lnk","\Windows\SimTkUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("计算器.lnk","\Windows\calc.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("资源管理器.lnk","\Windows\fexplore.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("入门.lnk","\Windows\WelcomeCenter.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("闹钟.lnk","\Windows\MSAlarms.lnk")
Directory("\Windows\“开始”菜单\程序"):-Directory("游戏")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("纸牌.lnk","\Windows\solitare.lnk")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("icon.lnk","\Windows\gamesico.lnk")
; App Button default links
Directory("\Windows\AppButtons"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\AppButtons"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\AppButtons"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\AppButtons"):-File("录音.lnk","\Windows\voice.lnk")
Directory("\Windows\StartUp"):-File("bugtrap.lnk","\Windows\bugtrap.lnk");
Directory("\Windows\StartUp"):-File("poutlook.lnk","\Windows\poutlook.lnk")
Directory("\Windows\StartUp"):-File("欢迎使用.lnk","\Windows\welcome.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("远程桌面 Mobile.lnk", "\Windows\wpctsc.lnk")
Directory("Program Files"):-Directory("Windows Media Player")
Directory("\Windows\“开始”菜单\程序"):-File("Windows Media.lnk","\Windows\WMPlayer.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(纵向).skn","\Windows\wmp_WPC_portrait.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(横向).skn","\Windows\wmp_WPC_landscape.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(方格).skn","\Windows\wmp_WPC_square.lnk")
Directory("\Program Files\Windows Media Player"):-File("欢迎使用 Windows Media.wma","\Windows\wm_start.lnk")
; Help .LNK files
Directory("\Windows\Help"):-File("ActiveSync.lnk","\Windows\h_sync.lnk")
; Transcriber available for USA, FRA & GER
Directory("\My Documents\模板"):-File("空白文档.pwi","\Windows\blank.pwi")
Directory("\My Documents\模板"):-File("会议记录.pwi","\Windows\meeting.pwi")
Directory("\My Documents\模板"):-File("备忘录.pwi","\Windows\memo.pwi")
Directory("\My Documents\模板"):-File("电话备忘录.pwi","\Windows\phone.pwi")
Directory("\My Documents\模板"):-File("示例文档.pwi","\Windows\sample.pwi")
Directory("\My Documents\模板"):-File("待办事宜.pwi","\Windows\todo.pwi")
Directory("My Documents"):-Directory("个人")
Directory("My Documents"):-Directory("商务")
Directory("My Documents"):-Directory("我的音乐")
Directory("My Documents"):-Directory("我的铃声")
Directory("\Windows"):-File("cmclient.exe","\Windows\HTC_cmclient.exe")
app.dat
Code:
;ALBUM
Directory("\Windows\“开始”菜单\程序"):-File("相册.lnk","\Windows\Album.lnk")
Directory("\Windows\Help"):-File("相册.lnk","\Windows\Help_Album.lnk")
Directory("\My Documents\我的图片"):-File("Albums Sample_01.jpg","\Windows\Albums Sample_01.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_02.jpg","\Windows\Albums Sample_02.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_03.jpg","\Windows\Albums Sample_03.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_04.jpg","\Windows\Albums Sample_04.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_05.jpg","\Windows\Albums Sample_05.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_06.jpg","\Windows\Albums Sample_06.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_07.jpg","\Windows\Albums Sample_07.jpg")
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Great work!!!
kokotas said:
An updated version is up @ 1st post.
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
I changed a little how the application handles comments:...
Click to expand...
Click to collapse
Ya, I've tested and it works very well now.
lol, you really did it exactly what I want again (about those basic comment lines) You know, it's a mess without them.
kokotas said:
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Click to expand...
Click to collapse
I've never faced that issue because I use this code in my kitchen:
Code:
if exist IMGFS\OEM\PACKAGE_* "%path_exe%OTHER\PkgSorter" /t:IMGFS\OEM /n /d
but it's great that you improve the stability.

Categories

Resources