yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] hilaireg:
Changing the Unsigned Themes Policies

Security policies are used for configuring security settings that are then enforced with the help of security roles and certificates. They provide the flexibility to control the level of security on the device. The policies are defined globally and enforced locally in their respective components. The security policy is set during boot by executing a .provxml configuration file. This provisioning file is in ROM and contains the default setting specified by the OEM. The provisioning document is an Extensible Markup Language (XML) file that is assigns security settings to the device.

Typically, the mxipupdate_oemoperators_100.provxml file contains the default security policies that will be applied to the device. If a signed theme file does not have a matching root certificate in the Software Publisher Certificate (SPC) store, the file is unsigned and is therefore not executed. To allow execution of unsigned Theme files, we need to change the default security policy settings that pertain to Theme files.

For the purposes of this guide, we will add or change the following unsigned policy setting ID’s:

ID 4103: Unsigned CABS Policy = 16

* IMPORTANT *

Policy settings may appear in other files. You may wish to perform a search through .TXT, .RGU, and other .PROVXML files using the keywords such as: security, policies, policy.

Tools Required

The following tools are required to edit .PROVXML files.

UTF-8 Text Editor

Procedure

The following procedure will add/change the unsigned policy settings to permit the installation of unsigned .CAB files.

Navigate to the C:\XDA\MY_KITCHEN\OEM\OperatorPkg\ folder.

Verify that the mxipupdate_oemoperators_100.provxml is not set as Read Only.

Launch your UTF-8 Text Editor.

Use the Search feature to find the following section:

<!--337.01_SecurityPolicy-->

Ensure that the following lines are present in the section:

<!--337.01_SecurityPolicy-->

<characteristic type="SecurityPolicy">

...

<parm name="4103" value="16" />

...​

</characteristic>

Save the changes to the mxipupdate_oemoperators_100.provxml; ensure that the file is saved in UTF-8 format.

Exit your UTF-8 Text Editor.

Verify that the mxipupdate_oemoperators_100.provxml is set to Read Only.

Tip

Make a backup copy of the mxipupdate_oemoperators_100.provxml file before editing; delete the backup file when done.

Observe the line formatting and spacing in the mxipupdate_oemoperators_100.provxml file.

When saving the file, select the Save As menu option and put quotes ["] around the file name so as to avoid additional file extensions.

References

Security Policy Settings for Windows 6.x Mobile-Based Devices

http://msdn.microsoft.com/en-us/library/bb416355.aspx

Security Policy Settings for Windows 5.x Mobile-Based Devices

http://msdn.microsoft.com/en-us/library/ms889564.aspx

What Do The SmartPhone Policy ID's Mean

http://www.xs4all.nl/~itsme/projects/xda/smartphone-policies.html

Customizing the User Interface of Windows Mobile Powered Devices

http://msdn.microsoft.com/en-us/library/bb416487.aspx
[Windows Mobile] hilaireg:
Compiling the New RUU_SIGNED.NBH File

Brief Review

At this point, we have consolidated the contents of various .RGU files found in the Dump_XIP folder to the BOOT.RGU file to ensure that all necessary registry entries will be added during the ROM compilation activities. We have increased the Data Cache size, unlocked the Paging Pool, disabled Certificate checking, reduced the ULDR, changed the Unsigned .CAB policy, changed the Theme policy, changed the Remote API (RAPI) policy, and reduced the .PAYLOAD file.

This guide did not go into details about adding, changing, or removing ROM packages to/from the OEM and SYS folders. Additionally, the guide did not cover the steps required to port an XIP from a different ROM version or device – you'll eventually want to learn how to do these types of activities.

Compiling the ROM

We now need to assemble all of these changes into a new RUU_SIGNED.NBH file – this process if often referred to as ROM compilation. We are going to use the Ervius PkgToolsBuildOS-5.3 tool to perform this process – there are newer versions of the Ervius PkgToolsBuildOS available.

Tools Required

The following tools are required for the RUU_SIGNED.NBH file creation activities.

PkgToolsBuildOS-5.3

ImgfsFromDump

NBMerge

Procedure

The following procedure initiates the ROM creation activity via a script that is included in the Generic Simple Kitchen. The creation process can take a significant amount of time to complete and requires user interaction at various stages.

Navigate to the C:\XDA\MY_KITCHEN\ folder.

Launch RaphaelKitchen.cmd.

Select C, press ENTER.

The Ervius PkgToolsBuildOs application will be launched.

Click the BuildOS tab.

Click the Load ROM button.

Select the All Packages In One check box.

In the Name box, type in the title: All Packages In One ROM

Select the Create_ROM_***.bat check box.

In the ROM Date Updater boxes, enter the desired date. Alternatively, click the Today button.

Click the Update Date button.

At the ROM Date On Flash Updated Successfully... message, click OK.

Click the Go button; allow the process to complete.

Wait for the Done message to appear in the Top Status bar.

Exit the Ervius PkgToolsBuildOs application to allow the process to continue.

The HTC ROM TOOL Process Log will appear.

Click the OK button on the Process Log window or allow it to auto exit.

At the Press Any Key To Continue... message, press ENTER.

Select X, press ENTER.

Copy the RaphaelCustomRUU.exe file from the C:\XDA\MY_KITCHEN\Tools\ folder to the C:\XDA\MY_KITCHEN\RUU\ folder.

Move the RUU_SIGNED.NBH file from the C:\XDA\MY_KITCHEN\ folder to the C:\XDA\MY_KITCHEN\RUU\ folder.

Tip

If the compilation is successful, the last three (3) lines in the Report window of the Ervius PkgToolsBuildOs application will display: Checking os-new.nb for bad NAND block marker. Checked 0x### sectors successfully! Done.

References

Ervius: Visual Multilang Kitchen For Last Bepe ROM-Tools

http://xdaforums.com/showthread.php?t=469420
[Windows Mobile] hilaireg:
Flashing the RUU_SIGNED.NBH File

If you are reading this, you must have successfully compiled your RUU_SIGNED.NBH file and are now ready to flash it to your device … congratulations! Now for the disclaimer bit; I take no responsibility and will not be held liable for any problems you encounter with your device before and after following this guide … flashing a ROM is done at your own risk.

Also keep in mind that you'll need to unlock your device before venturing into the world of ROM flashing. If you haven’t unlocked your device and applied the Hard SPL, you need to complete these tasks before you can proceed.

The ROM Flashing process is relatively straight forward. You need to ensure that you can connect to your device via the ActiveSync application. Once you have connected to the device, launch the RaphaelCustomRUU tool to flash your cooked ROM to your device – I suggest temporarily disabling your anti-virus software to avoid unforeseen problems.

Tools Required

The following tools are required to flash the RUU_SIGNED.NBH file to your device.

RaphaelCustomRUU

Procedure

The following procedure initiates the ROM Flashing activity. The flashing process can take a significant amount of time to complete and requires user interaction at various stages.

Navigate to the C:\XDA\MY_KITCHEN\RUU\ folder.

Launch RaphaelCustomRUU.exe.

At the Welcome To The ROM Update Utility window, select the I Understand The Caution Indicated check box.

Click the Next button.

At the Follow The Instructions Below window, select the I Completed The Steps Indicated Above check box.

Click the Next button.

At the Current Information About Your PDA Phone window, click the Update button.

At the Verify That You Want To Update The ROM Version window, click the Next button.

At the You Are Now Ready To Update Your ROM Image window, click the Next button - allow the flashing process to complete.

Click the Finish button.

Tip

The current version of the PDA Phone ROM Update Utility 3.27.4.3 we are using has been modified to not format the device when only flashing a Radio, Startup Screen, or Operating System.

Your anti-virus will warn you that the RaphaelCustomRUU.exe contains the "Generic Dropper (Trojan)" – this is a false-positive indication; the .EXE is safe to use.

You can usually recover from a failed flash by copying a known "working" .NBH file to a MicroSD Card and starting your device in the Tricolour bootloader.

References

CustomRUU for Raphael

http://xdaforums.com/showthread.php?t=410761

[Resources] Flashing your First GSM Raphael Rom (For Noobs)

http://xdaforums.com/showthread.php?t=448008
[Windows Mobile] hilaireg:
Advanced Topic: XIP Porting

This guide is intended to help you learn how to port the Execute-In-Place (XIP) region from a new (donor) device for use in your kitchen; it will walk you through the process of extracting the contents of an Official ROM, obtaining the new (donor) device XIP, and porting the new (donor) device XIP into your kitchen.

[TUT] Sous-Chef's Guide to Aruppenthal’s XIP Porting Kitchen

http://xdaforums.com/showthread.php?t=526804
[Windows Mobile] hilaireg:
Sous-Chef's TIPs

Tips and techniques passed down from the senior chefs in the business.

Love .PROVXML's? Hate Not Knowing If It Worked?

http://xdaforums.com/showthread.php?t=519548

[WinXP Script] Extend Search Companion

http://xdaforums.com/showthread.php?t=490216

[Guide] How to create .LNK files and use parameters

http://xdaforums.com/showthread.php?t=490447
[Windows Mobile] hilaireg:
13/02/2010: Tutorial Statistics

Views: 8,744

Guide Downloads: 96

Kitchen Downloads: 118
[Windows Mobile] X2D:
Thank you very much for putting this together this will help newbs like me cook my own ROM instead of rely on others. Very great contribution.
[Windows Mobile] Da_G:
hilaireg for the win! :) Great guide he put together!
[Windows Mobile] m.carroll:
Wow, truly an amazing guide. Awesome job, hilaireg! Can I call for a sticky?
[Windows Mobile] mano90:
Very very good job!!!

it's possible to made a "guide" like a pdf file?

for read offline...

ty for your work!!
[Windows Mobile] NRGZ28:
Definitely make this a sticky! This is good info and a great reference, even for an experienced chef! :) Congrats on putting this together, I'm sure it took you a while.
[Windows Mobile] hilaireg:
Least I could do ... and Da_G was patient enough to put up with my volley of PM's :)

mrvanx added this thread to the Useful links thread (http://xdaforums.com/showthread.php?t=439783) and I just uploaded the .DOC/.PDF from the Generic Simple Kitchen RAR to the first post in the thread.

Cheers,
[Windows Mobile] warenbe:
very interesting!

clear and understandable even for noobs :)

sticky!
[Windows Mobile] rbin:
Just what I was looking for.

Thank you, this is just what I was searching for. I would love to create and contribute. So hopefully this will set me on my way.
[Windows Mobile] TAEL:
WoW! It's really amazing! Thanks a lot

!
[Windows Mobile] efrant:
Job well done!! This is very much appreciated.
[Windows Mobile] xboomer55:
Excellent work! Thanks alot!
[Windows Mobile] overjjrk:
Thank you, thank you, thank you!
[Windows Mobile] johnstown:
Awesome guide. Best thread I have read so far. I came to this board a couple of years back while searching on google. That was when I had a HERMES device, thought about cooking my own ROM but for whatever reason, just decided to stick to stock ROM. When I got my FUZE 2 months ago, I burned a custom rom the following week, the device was sluggish, so I came back to this forum and started to read, I knew it could be alot faster, so I started off with ROMeOS for FUZE rom (that was a great ROM), then moved on to RRE (another great ROM). Now, for whatever reason, I feel the need to learn to create my own ROMs. I have been reading about UC and Sashimi, but I kinda like the idea of tweaking my device and installing various interesting software, and if anything goes wrong, I can Hard Reset, and all my settings and installed programs and their settings will be there when HR finishes. Your guide is the best guide that I have read so far in this forum, thanks so much for sharing your knowledge and putting down in a thread, so anybody can read it. Guide is thorough, detailed (and yet concise), and even though the topic is advanced (at least for me), your guide is not confusing.
[Windows Mobile] gopzzz:
hi i am always getting this message when i finally consolidate to form os-new.nb

"Error building default.hv and user.hv!( see into "build OsX-log.txt")"

i get this in Ervius pkg toolsbuilder....

can u help me out in this.....
[Windows Mobile] Farmer Ted:
I get that error whenever I have a bad package. Try doing a build just using the packages that came with the kitchen (you don't have to flash it). Then add in your packages 1 or 2 at a time and cook(2 if you're feeling bold). If there's a problem with a package, you get that message, and in the text file it seems to sort of all spin out of control, so you see a lot more errors, some in places where you won't have a problem.
[Windows Mobile] hilaireg:
Ensure that the .RGU file has a blank line as the last line of the file. Also verify the encoding of the .RGU file; for example, you may get errors if the .RGU is encoded as ANSI ... changing the encoding to Unicode often helps.
[Windows Mobile] sylvezter:
I wish I had come across this excellent tutorial sooner. I would vote to make this a sticky. I found your tutorial to be very useful. Thank you very much!
[Windows Mobile] hilaireg:
26/04/2009: Kitchen Update

List of updates:

Updated utensils in the kitchen to permit creation of ROM images larger than 128MB.

Fixed typos discovered in .DOC/.PDF.
[Windows Mobile] hilaireg:
02/06/2009: Kitchen Update

List of updates:

Moved .DOC/.PDF file to post #2, same place as tutorial kitchen.

Updated formatting on forum version of tutorial.
[Windows Mobile] rvt1000:
awesome thread.... lot's to learn.... thanks for taking the time to do this! :)
[Windows Mobile] gtrab:
.

Mods Please STICK it with CRAZY GLUE !! :D :D​

hilaireg rulez !!
[Windows Mobile] SOHKis:
great writeup, thanks for sharing!
[Windows Mobile] hilaireg:
19/08/2009: Tutorial Update

Had a few requests for this now.

Added .ZIP which contains each thread post of the tutorial for folks who want to create a similar tutorial format in other device forums. All I ask is that folks

not blindly copy

the contents of each post file - please proof-read your final product to ensure that it applies to the device in question.

Cheers,
[G1 Android Development] charnsingh_online:
Can anybody tell a way to replace my faves and contacts. in us version with the contact in UK version. Really needed. Costed me $100 already. Sent 100 messages in one day. If not that change my faves phone number to null or maybe change my faves in update.zip with the one in RC9 update.zip Then sign it. Maybe also tell me how to sign an update.zip so that i can do it myself.
[G1 Android Development] hetaldp:
Why don't you use RC9 UK Version rather then going for USA.
[G1 Android Development] charnsingh_online:
how

I don't know how to. Moreover I can't for a month coz it's my board paper going on.I have to format my phone and I can't do it with nandroid. Don't you have a problem.
[General Questions and Answers] drunkenduck3230:
ok im trying to change the font color on my today screen (tf3d) for my sprint htc touch pro. i have tryed editing the manila files but it will not let me save to the windows folder on the device. please help me i have spent hours trying to get this to work.
[General Questions and Answers] -PiLoT-:
try total comander to copy the files, file in the windows directory a readonly but total commander will overwrite them

make sure to back up the original file in your pc
[General Questions and Answers] drunkenduck3230:
the device doesnt show up on total commander if i switch the device to read as disk drive insted of active sync i cant access the windows folder when i try to drag files into the devices windows folder it say file could not be placed on device. You do not have permission to create this item how do i change my permission on the device
[General Questions and Answers] -PiLoT-:
total commander is an app thats ran on the phone. its like file explorer but more funcions

you do not thave to use the phone as storage

basically use total commander to highlight the files u need to be placed and then itll give aprompt about overwriting read only files
[General Questions and Answers] drunkenduck3230:
i think i may be making some progress i will let you know if i have any more question or how it turn out ty
[General Questions and Answers] drunkenduck3230:
you wouldnt happen to know what manila file the tf3d today font is in would you i beleive it is in 1c684cd8 but im not sure
[General Questions and Answers] -PiLoT-:
i have no idea, im just started using th eHTC after using the omnia for a good whikle
[General Questions and Answers] drunkenduck3230:
no progress i lied if someone could plz give me detailed information of what manile file the tf3d today font color is in what and how to change this would be much appreciated
[General Questions and Answers] -PiLoT-:
well try th diamond section there is an app that ll do it possibly a guide
[General Topics] tylast:
Yahoo has changed their page. I just signed up for the beta. Hopefully the more that sign up, the higher priority they'll give to the WM6 version over their Blackberry version.

Also, Yahoo oneSearch finally works on my X1.
[Touch Diamond, MDA Compact IV Accessories] bl801127:
Is there extend battery with a flat back cover?

Think extend battery with a diamond back is so ugly.

A flat back cover is like a htc touch pro. It looks better.
[G1 Android Development] Zappza:
Hi!

I am planning to upload a script that does all that tiresome work of using your SD Card for app storage, and I was wondering what files are required to be able to use adb shell, adb push and adb pull?

Thanks!

Zappza

edit: to clearify. Which files/folders in the tools folder in the Android SDK is required?
[G1 Android Development] unrafa:
You need adb which is an executable file who is inside android SDK
[General Questions and Answers] SilverMerlin:
I have recently bought a touch HD, overall an excellent phone/PDA. I have just used the phone with the run.GPS software (track and records training runs). One problem I am having is that when I unlock the phone on run.gps it triggers the volume control as the armband holder presses on the side volume buttons.

Just wondering if anyone knows how to permanently lock the side volume buttons without actually locking the phone totally itself (i.e. with slide to unlock). I have spent hours looking generally on the net but can't find anything!

Thanks
[General Questions and Answers] -PiLoT-:
there is a app called aebuttons or something try searching for that
[General Questions and Answers] Spiderm@n_:
Ok, here's the problem.

How to configure my connection, so when I connect my device to Windows Mobile Device Center it can connect to the internet. When I set the Internet Connection Sharing, my phone stops syncing, it's as if I haven't connected it, and it continues, until I remove the ICS. Bridge isn't working aswell. I need it, so I can download QuickGPS and Weather info.
[General Questions and Answers] timmymarsh:
right i think i know what you mean. You want to access the internet on ur device when it is synced yes?

DOnt use internet connection sharing on the device, that is if you want to use your device as a modem (so to speak) using the phone network as an internet connection for your computer.

What you need to do is in WMDC (active sync in my case as i have xp) settings, ensure that in the connection settings "this computer connects to the internet" is selected. You should then be able to get internet thru your computer on your device whilst still syncing.

Let me know how it goes as i dont have WMDC (i dont like vista.... yet)
[General Questions and Answers] Spiderm@n_:
I meant I used Internet Connection Sharing on my PC nework adapter, sharing with the "Mobile Device Network".

WMDC is configured as "This computer is connected to: The Internet", but it still doesn't connect.
[General Questions and Answers] vbtam0211:
it doesn't work for me too; WMDC is configured as "This computer is connected to: The Internet"
[Touch Diamond, MDA Compact IV Accessories] v88p:
Guys im looking for a backup battery, without having to replace the original back cover.

Im looking for one which does not affect GPS, and is not as expensive as the one on Expansys (around £55) looking to sepnd less the £10.

Thanks!!
[Touch Diamond, MDA Compact IV Accessories] bl801127:
To solve the Gps problem with a think extend battery, you need to stick an aluminum on the upper right corner [a thread said]
[Touch Diamond, MDA Compact IV Accessories] v88p:
thanks for the info, but i like the slim size of the diamond, so looking to keep the original size..

what battery do you guys recommend?

I was looking at something like this:

http://cgi.ebay.co.uk/2x-900mAh-Battery-Charger-fit-HTC-Touch-Diamond-P3700_W0QQitemZ300298539265QQcmdZViewItemQQptZPDA_Accessories?hash=item300298539265&_trksid=p3286.m63.l1177

or

http://cgi.ebay.co.uk/GENUINE-HTC-BATTERY-FOR-Touch-Diamond-XDA-Ignito-MDA_W0QQitemZ200309299688QQcmdZViewItemQQptZUK_MobilePhones_MobilePhoneAccessories_MobilePhoneBatteries?hash=item200309299688&_trksid=p3286.c0.m14&_trkparms=72%3A1690|66%3A2|65%3A12|39%3A1|240%3A1318

or

http://cgi.ebay.co.uk/Li-ion-Battery-900mAh-for-HTC-Touch-Phone-Diamond-P3700_W0QQitemZ170308240031QQcmdZViewItemQQptZLH_DefaultDomain_3?hash=item170308240031&_trksid=p3286.c0.m14&_trkparms=72%3A1690|66%3A2|65%3A12|39%3A1|240%3A1318

is it better to buy the original (middle link) or is the replica (last link) okay? would it damage the diamond?
[Touch Diamond, MDA Compact IV Accessories] v88p:
im thinking i should go with the original battery?

unless there is a battery with more power, but same size??

hoping you guys can help!

Thanks
[Touch Diamond, MDA Compact IV Accessories] stefano909:
hi

i use this external accupack:

http://cgi.ebay.at/externer-Akku-f-...photoQQcmdZViewItemQQ_trksidZp1713.m153.l1262

i can fully charging my diamond two times
[Touch Diamond, MDA Compact IV Accessories] Codeaction:
there is a battery that gives you a extra 100 mah but don't know where to find it anymore however.

I'm using the officiele batterypack from htc it self.

2600 mah. it's not so much as other ones but thisone gives you de double amp, the same as your phone adaptor. Most of them give only 500 like a usb port.

http://www.expansys.com/p.aspx?i=171883

i've it fully charged in my backpack and if i'm gona use gps or watch movies in de train (i'm a student) i plug it in with a middium length cable
[Touch Diamond, MDA Compact IV Accessories] mastabog:
MugenPower 1000mAh for Touch Diamond: same size as the 900mAh, no need for special cover ... MugenPower are known for high quality batteries -- I for one have their 3000mAh version for the Diamond. I don't trust no-name batts, especially off ebay (and I do a lot of ebay shopping).

www.mugenpowerbatteries.com

http://www.mugenpowerbatteries.info.../es109514_es120302495377/Products/HLI-P3700SL

(free worldwide shipping)

or try some of your local shops somewhere or google products search for your country
[Touch Diamond, MDA Compact IV Accessories] v88p:
thanks for your help everyone

i ended up buying an original HTC battery as a back up, from ebay for £7
[General Questions and Answers] Spiderm@n_:
Ok, my operator uses 2 different connection, one for data, and another for MMS. The problem is that when I receive new MMS, my device connects the data connection, and the MMS can't be downloaded through it. How can I configure my device to use the MMS connection for new MMS, and the other one for everything else.
[General Questions and Answers] -PiLoT-:
i dont think it possible as this is set by the operator so you can be priced correctly