[GUIDE] Remove the BETA watermark from windows start menu and lockscreen - Windows Mobile

Hi guys, this is just a tiny little tutorial to help anybody who doesnt know how to hide this text, it is usually in new SYS's so you may have to do this whenever you upgrade your SYS, however sometimes depending on where you downloading your SYS from, it may already be done for you.
Navigate to:
SYS\SYS Version\shared\COMMON\Shell
Open up the RGU called '1f1aca24-d942-464a-9281-10567741499c' with notepad
using the search feature (CTRL+F) search for the word beta, and you will find a string which looks like this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
Change the today and expiry values like this:
Code:
"Today"=""
"Expiry"=""
so now the whole string looks like this:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"=""
"Expiry"=""
Tip: If you want you can do a little Rom branding by writing anything in those values, for example:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
"Today"="Astraios Rom"
"Expiry"="The Best Rom Around"
Most people would prefer it left blank, but its always an option

Very funny, but to remove Beta watermark (let's call it as it would be called) once and for all - it's enough to do the following:
add to any rgu which is placed in packages.sof list lower than shell rgu (1f1aca24-d942-464a-9281-10567741499c.rgu) the line:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
That's it

AndrewSh said:
Very funny, but to remove Beta watermark (let's call it as it would be called) once and for all - it's enough to do the following:
add to any rgu which is placed in packages.sof list lower than shell (1f1aca24-d942-464a-9281-10567741499c.rgu) rgu the line:
[-HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\DeviceBeta]
That's it
Click to expand...
Click to collapse
Ok sorry :/

This has been discussed a lot of time before. But it is good info, so thanks for bringing this up.
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.

ai6908 said:
This has been discussed a lot of time before. But it is good info, so thanks for bringing this up.
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.
Click to expand...
Click to collapse
Yeah thats another way too

ai6908 said:
I suggest just have the reg settings in EXT, that way dont need to search for the reg key in SYS.
Click to expand...
Click to collapse
I did not offer anyone to search for any shell rgu.
I just said that in order to remove Beta - the sting mentioned should be processed by your kitchen AFTER shell rgu.
So you may add the line wherever you want - as for me - I don't have any EXT in my kitchen - that's why I said about the rgu processing order (packages.sof)

Sorry but this is discussed many times.
You can find it in the sticky.
{{Chef Central}} Guides | Tutorials | Tips & Tricks | Fixes | Stickies [READ FIRST!!]
http://forum.xda-developers.com/showpost.php?p=6283929&postcount=7
I'm closing this thread, please read first a little before you post.

Related

[Problem] Set icons in start menu

Hi,
I´ve got an issue that i can´t set an icon to task manager and messages in start menu/settings/System. See the pic below. I use a cab file to apply these icons.
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
twopumpchump said:
i just make a pkg with my reg entries and pics i want to use at the end of my kitchen. open up your reg with reg editor and see if it looks like this...
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\cplmain.cpl,1]
"Rank"=dword:000002BC
"Icon"="[COLOR="Red"]\\[/COLOR]Windows[COLOR="Red"]\\[/COLOR]Start_Icon_Lock.png"
notice the \\, it must be that way in registry...a single "\" wont work. also you could try assigning rank, but i dont really think that is necessary for the pic to show.
Click to expand...
Click to collapse
Thanks for the tip. I made an OEM of my cab to make it easer. This is what reg i have for the task manager, but it dosnt work.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
EDIT: Btw, how is rank determined? Dont really understand what ""Rank"=dword:000002BC" means..
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
seeM_ZA said:
I'm a noobie so forgive me if I make any mistakes.
But... Try adding some "zzz"s before the package to make it run at the end of the build process. If it still doesn't work, search inside all files (most probably the .provxml files) in your kitchen folder for "Task Manager.lnk" and see if another file is assigning a different icon to it. I use EVK's built in search engine to do jobs like that.
I hope I helped
EDIT: About Rank, icons are ordered from highest to lowest rank values in the start menu. I think "000002BC" is a hex value for the normal integer value that the rank is set to.
EDIT2: WOW! Awesome icons! Did you make them?
Click to expand...
Click to collapse
Thanks for the tip. I have the folder to run last in customization. I understand thats its some sort of hex value or whatever, but i dont understand it so i can place the icons where i want them.
The icons are made by dlink ithink.
2BC = 700. The rankings go from 0-999, and most are higher, which is why that one appears on the low side. The easiest thing is to just arrange everything on the phone (drag and drop), then export the entire start menu registry key and just put that into your start menu EXT. I'm not sure exactly how the values vary left to right and top to down.
I heard somewhere that the built in start menu 'drag n drop' messes with the ranks? I'm probably wrong though
I believe the ranks go in this order.. 1 being highest, 8 being lowest. Please correct me if I'm wrong. I hope NRG doesn't mind me butchering his start menu with my awesome paint skills
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
+ Que PPC said:
Hey... i dont think you are patching and i dont think you are trsut sign the cab... or making the image PNG...
but if you are "cooking" you dont need the cab... just make an EXT PKG with the icons ins the "file" folder... and the REGS in "app.reg" file making the path to the image, if you are patching you must to set the image as "read only" simple slash and be sure that CPL is teh correct one... and for the New TEXTMesage be sure you are using the path to.. tmail.exe i couldnt give you my EXT PKG with the paths cause im not in my home right now
Click to expand...
Click to collapse
Thanks for the help + Que PPC. The PNG is ok as it works in start menu. Btw, i made a package, instead of an cab. Much simpler to edit. What is the correct CPL for task manager in start menu/setting/System?
I have no clue on CPL or how to determine posistion
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
+ Que PPC said:
Ok i have the stock image for Taskmanager in my startmenu in position #24
Hex = 35A4EBEC
DEC = 900000748
So it seems that in the strat menu you can rank the icons as you want... by this 100 to 900 valu but in settings and for CPL icons the thing is.. they are arranged authomatically by name
(look at the attached image)
and this is the reg for cpl 30
Just this string in: Start menu settings system screen[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
String value named Icon
with this: \Windows\Start_Icon_TaskMgr.png
BEsure there is the image in windows folder
so... in your EXT pkg it must be like this:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Rank"=dword:35A4EBEC
"Icon"="\Windows\Start_Icon_TaskMgr.png"
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Click to expand...
Click to collapse
Only need to learn hex editing to position the icons then
I´ve tried theese, but none of them works.
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\Windows\Start_Icon_TaskMgr.png"
Code:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,30]
"Icon"="\\Windows\\Start_Icon_TaskMgr.png"
easyst way - works great in build 23112
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
- I can confirm that this works fine.
- However, this is good for lnk that have direct entry under [HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start]. But how to know which cpl index refers to which setting/program shortcut?
everal said:
hello,
1. hardcodec-items
the easyst way to change the icon, is to going in the sys folder to the directory
\SYS\23112\dpi_192\COMMON\Base_DPI_192\
you find all hardcoded items in this directory (e.g. start_icon_*.png)
give your new icons the same name in your ext directory (oem)
2. customize icons
only what you need to customize icon is the following reg-keys
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Task Manager.lnk]
"Icon"="\\Windows\\Start_Icon_Task Manager.png"
-> this key replace the "task manager.lnk" icon in the root of the startmenue
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Office\Notizen.lnk]
"Icon"="\\Windows\\Start_Icon_Office_Notizen.png"
-> this key replace the "notizen.lnk" (like notice in english) icon in the customize directory "order" in the startmenue
so when you need no ranking is the simplest and fastest wayy i can explain to you...
Click to expand...
Click to collapse
The thing is that i dont get the icon that is in SYS, i get the on in the exe. Would not matter if i change it.
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
+ Que PPC said:
Very true i can confirm that... the CPL images for icons in settings system cant be changed... maybe is due to another reg or .ico or other kind of file in oem
Click to expand...
Click to collapse
Could be.. Probably. I sure hope not
You should convert the rgu files to xml files.
XML always run after the RGU, So its better to use when making custom modification.
http://forum.xda-developers.com/showthread.php?t=369457 (second post)
Th e cpl's are loaded in a provxml in the oem folder (don't remember which one off the top of my head). If it's messing with desired settings, rather than loading another provxml during first boot, and slowing down first boot even more, it's better to either edit or delete the oem provxml. Personally, I'd delete it and then put your start info in an app.reg in an EXT that runs near the end of the build.
Edit: the provxml with all of the cpl's is mxip_HtcApps_translation.provxml, and it's in oem-lang 0409. It's a complete waste to run this thing, imo. Just put it in an app.reg and you'll get a faster first boot.
Sorry but for change icon position in start menu, cant you do it just from start menu moving that icon and then go to the right reg key and export it?
This work for Kaiser dunno if Leo,Tp2 or Topaz has different way.
hi fellow chefs
i post my question here as i thought it would be better then openijng a new thread for it
i keep marketplace in my rom but i cant set it to the internet folder
i have looked in the initflash.dat and there is nothing there about marketplace(at least not that i could find)
i have looked in the sys map from market place and found a provxml
i changed it there the same way i did for taskmanager and it still doesnt work(for taskmaanger it works)
can some one help me out where or what i need to edit to have marketplace in internet folder
i attache my provxml so you can see what i have done

[Part Solved] How to re-arrange / skin / hide the HTC widgets in startmenu

SOLVED : To Hide these shortcuts from the start menu, add the following reg value:
Code:
[HKEY_CURRENT_USER\Software\HTC\Manila]
"IsShortcutEnable"=dword:00000000
Thanks miniterror for the information
Would still like to know how to skin and re-arrange them too, for reference more than anything.
The widget shortcuts are set by the widgetinstaller.exe; they aren't installed like normal shortcuts with either initflashfiles.dat or provxml's or a cab. Basically, all widgets are is a zip file that widgetinstaller unzips to program files. I just made a package of the widgets that consists of a zip file that's unzipped to \program files and I use a mortscript to unzip it and to create the shortcuts where I want them.
If you use the stock packages, you need to move the shortcuts with a mortscript or a provxml.
Edit: I don't know what the hell htc widgets are; I was thinking the crappy MSN widgets. They may install the same way, they may not.
why dont you just hide them
all those things lead to tabs
i think it is easier to unlock youre device and slide to the tab then press start then choose the folder and then select wich tab you want
i believe it whas this
[HKEY_CURRENT_USER\Software\HTC\Manila]
"IsShortcutEnable"=dword:00000000
miniterror said:
why dont you just hide them
all those things lead to tabs
i think it is easier to unlock youre device and slide to the tab then press start then choose the folder and then select wich tab you want
i believe it whas this
[HKEY_CURRENT_USER\Software\HTC\Manila]
"IsShortcutEnable"=dword:00000000
Click to expand...
Click to collapse
Thanks man, just what i needed
I will post your solution in the first post
Edit: done Hopefully people will explain how to do the other two things and we will be set
There's a great Tut in the stickie here:
{{Chef Central}} Guides | Tutorials | Tips & Tricks | Fixes | Stickies [READ FIRST!!]
http://forum.xda-developers.com/showthread.php?t=664109
If you read a few pages you find all the answers you need.
Laurentius26 said:
There's a great Tut in the stickie here:
{{Chef Central}} Guides | Tutorials | Tips & Tricks | Fixes | Stickies [READ FIRST!!]
http://forum.xda-developers.com/showthread.php?t=664109
If you read a few pages you find all the answers you need.
Click to expand...
Click to collapse
yeah I know Ive seen that before, I do actually set my icons like that anyway lol thats what I tried first with these links, but they didnt work

[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.

[PROBLEM] Removing the "Redirect" values wont work

I know there are solved posts about this but I have tried all of those. I've been trying to figure this one out for the past 2 days now.
Remove the "Redirect" value under the following keys:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
The tips from above wont work in my rom. I have checked the registry after flashing my cooked rom and there is no "Redirect" value anymore on the said keys. I dont know why still the problem is there.
Under all settings>Personal>Buttons.. There are no buttons to assign...
When tying and XT9 is activated there are no words on the box of suggested words. Just an empty box.
Anyone who know something about this?
Thanks and Regards,
Pongskie
Have you tried just exporting the entire Startinfo registry key? That works fine for me, and it's the best way to keep your start menu organized.
Farmer Ted said:
Have you tried just exporting the entire Startinfo registry key? That works fine for me, and it's the best way to keep your start menu organized.
Click to expand...
Click to collapse
Hi Farmer Ted thanks, but can you please explain further how the entire startinfo could be related to my problem? I got confused there. I checked the startinfo entries and exported it. I didn't see anything related to my problem.
Startinfo has all the settings reg keys for the start menu. Also, look and see if there's a provxml with the re-direct keys. Delete all of them, and put the provxml in an EXT. I've never had the issue before (just read about it). I have a start menu EXT that is filled with modified (mostly empty) provxml's as well as my startinfo registry in an app.reg file. The modified provxml's over-write the stock ones from any new Sys build, and I never get any surprises in my start menu.
pongskie,
Just for the heck of it, add this to your personal EXT reg since it will be cooked last. This should work for you
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
"Redirect"=-
lioryte said:
pongskie,
Just for the heck of it, add this to your personal EXT reg since it will be cooked last. This should work for you
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Owner]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Buttons]
"Redirect"=-
[HKEY_LOCAL_MACHINE\ControlPanel\Input]
"Redirect"=-
Click to expand...
Click to collapse
Thanks lioryte but even though I added those in my personal EXT reg still the problem exist. I check my phones reg through CeReg Editor and I saw that the redirect was not there but still the problem exist. I really had no idea why this is happening.
All Settings > Personal > Buttons... no buttons to assign..
When typing and XT9 was active, the suggested words box was empty. The words are not there.
pongskie said:
Thanks lioryte but even though I added those in my personal EXT reg still the problem exist. I check my phones reg through CeReg Editor and I saw that the redirect was not there but still the problem exist. I really had no idea why this is happening.
All Settings > Personal > Buttons... no buttons to assign..
When typing and XT9 was active, the suggested words box was empty. The words are not there.
Click to expand...
Click to collapse
That pretty much suggests that a provxml is causing the problem. It's easy enough to fix this: look at all the provxml's in your dump folder, and search for redirect. You'll find it in 10 minutes. Then edit that file and put it in an EXT that runs at the end of your build.

Customizing start menu items

Guys,
Some tips regarding customizing start menu items are solved in this thread. Here you can find the links to them.
Great tutorials pointed by AndrewSH:
Made by bikeandestroyx for a Rom cooking newbies in customizing the start menu items:
http://forum.xda-developers.com/showthread.php?t=664109;
Also for persons who can read in russian:
http://asusmobile.ru/board/viewtopic.php?p=282833#282833;
Also you can check alternative raving_nanza way - put all icons into one DLL.
http://forum.xda-developers.com/showthread.php?p=14665599#post14665599;
The problem in changing bluetooth icon when the link to it is moved from settings to connection menu is solved by AndrewSH :
http://forum.xda-developers.com/showpost.php?p=14769622&postcount=32
Thanks everybody in helping hand!
Skyguar, if you're going to customize the ready rom - you should also modify HKLM/Security/Shell/StartInfo/Start to define the new folders and items of your future StartMenu. All shortcuts made by cplmain.cpl and other cpls should be redefined to MyCpl.cpl to enable custom position (like for example moving Bluetooth to Connections instead of Settings)....
But you should remember that any hardreset will destroy your customization - so better save your registry edits and custom png files into one cab.
If you're going to cook the new rom with your own custom StartMenu order - the story is a bit more sophisticated.
But normally - you should read this before ...
AndrewSh said:
If you're going to cook the new rom with your own custom StartMenu order - the story is a bit more sophisticated.
Click to expand...
Click to collapse
AndrewSh,
Thank you for the answer, yes that what I want - cook it. I know everything about already cooked rom and changing the registry, but I can't find the information on how to cook it
Skyguar
I'm busy now to write detailed howto, but hopefully you still able to read in Russian - it's not so far from my land to your - only 170 km between our cities
So read here and further on in the topic - maybe this helps
http://asusmobile.ru/board/viewtopic.php?p=282833#282833
Yeah, that's fine , this is what I needed but I couldn't find. Thank you very much!
you could just create a .dll with your icons inside and then link your custom .lnk with the icon inside the .dll?
*if you want me to teach you how, just private message me, ill teach you how to do it this way.
eg inside the .lnk would be this:
#\windows\XXXX.exe ?\windows\XXXX.dll,-X
(-X is the number position of the icon inside the .dll)
or
change the icon inside the XXXX.exe (some .exe do not like their icons being changed, eg they stop working )
tbh it is a lot better than the way your trying to do it, it is a lot more "cleaner" to do it this way, you do not need to add registrys or clog up the windows folder with image after image when you can have one single .dll
thanks
Rn
Good thread. I am new to this new icon concept and I liked both the way
The AndrewSh way: http://forum.xda-developers.com/showthread.php?t=664109
And raving_nanza way: DLL to have all images .
Thanks.
if you want ill write a tutorial for the way i do my icons and post it here later, ill also write the tutorial step by step so even a noob cant go wrong
ill also attatch any downloads you will need.
Rn
raving_nanza said:
if you want ill write a tutorial for the way i do my icons and post it here later, ill also write the tutorial step by step so even a noob cant go wrong
ill also attatch any downloads you will need.
Rn
Click to expand...
Click to collapse
That will be great . Looking forward to see that soon .
Thanks.
starting the tutorial now
icon tutorial and tools here
thanks
Rn
Well
Ohhh.. lots of information, only two problems left and I can't find the information...
Like AndrewSH mentioned, moving Bluetooth to Connections instead of Settings and hide Settings (I have two now ) icon, which point to manila settings menu... .
[HKEY_LOCAL_MACHINE\ControlPanel\Bluetooth]
"hide"=dword:00000001
not sure if this is what you will need but if you have two icons maybe you need to make one hide...
Rn
raving_nanza said:
[HKEY_LOCAL_MACHINE\ControlPanel\Bluetooth]
"hide"=dword:00000001
not sure if this is what you will need but if you have two icons maybe you need to make one hide...
Rn
Click to expand...
Click to collapse
Hello raving_nanza,
This is a bit not what I needed. I need to move:
1) Bluetooth to Connections and
2) hide Settings icon, which point to manila settings menu..
Should I edit cpl files? Don't know any editor..
np dude
[HKEY_LOCAL_MACHINE\ControlPanel\Bluetooth]
"group"=dword:00000002
*that will put bluetooth into connections
what do you meen = hide Settings icon, which point to manila settings menu..?
*if you go to "HKEY_LOCAL_MACHINE\ControlPanel\" you should see the one for manila settings.
*it might be listed under "HKEY_LOCAL_MACHINE\ControlPanel\mycpl"
*if it is it will be listed as a number, for example "\mycpl\000"
*search all the strings inside and one should launch the manila settings
when you find it just add
"hide"=dword:00000001
and it should dissapear
Rn
btw i dont know how to edit .cpl files, i dont even know if there is an editor but you wont need to.
check in your windows folders if there is a .cpl file that launches the manila settings
Rn
raving_nanza said:
np dude
[HKEY_LOCAL_MACHINE\ControlPanel\Bluetooth]
"group"=dword:00000002
*that will put bluetooth into connections
Click to expand...
Click to collapse
Thanks mate very much, that registry trick helped, I will just have to cook in that registry key . Will try the same with the settings The problem is that I have two settings icons on start menu: one points to all settings (system, connections, personal). The other points to manila settings menu(that is by default) and that one I need to remove
Sorryzzz for my english, it is not native
lol no problem dude
now i think i undersatnd what you meen about the settings now, correct me if i am wrong:
when you click the start menu and it drops down you have:
programs
settings
settings
and one of these is manila settings?
Rn
BTW what kitchen are you using (fingers crossed for evk )
raving_nanza said:
lol no problem dude
now i think i undersatnd what you meen about the settings now, correct me if i am wrong:
when you click the start menu and it drops down you have:
programs
settings
settings
and one of these is manila settings?
Rn
BTW what kitchen are you using (fingers crossed for evk )
Click to expand...
Click to collapse
Yea, you are right Please see the picture attached. So my aim is to remove the one which point to picture 3
raving_nanza said:
btw i dont know how to edit .cpl files, i dont even know if there is an editor but you wont need to.
check in your windows folders if there is a .cpl file that launches the manila settings
Rn
Click to expand...
Click to collapse
*.cpl is just a renamed *.dll.

Categories

Resources