yashsingh1/xdaforums huggingface dataset:
[Touch HD Windows Mobile ROM Development] band27:
Hey ClydeB1,

I had a feeling that was going to happen.....lol..:D
[Touch HD Windows Mobile ROM Development] ClydeB1:
Hi m8, we both got trumped though ;)
[Touch HD Windows Mobile ROM Development] Fallen Spartan:
and now thread is closed......

Can I remind all to read & search before creating new threads.
[HTC Tornado] tobbbie:
The selected default settings fill the ROM up to the last few hundred bytes. Adding options will surely jump over the next MB border and your ROM uploading preparations will have to format BINFS with a larger size.

If you have not read it elsewhere yet, the standard sequence to uplad a ROM is:

1.) cook ROM (OS part)

2.) determine size and format BINFS accordingly

more see this thread: http://xdaforums.com/showpost.php?p=3439787&postcount=1

3.) upload ROM
[HTC Tornado] tobbbie:
If you start from scratch - so your device is still "untouched" by any custom ROM, you must prepare your device to allow the loading of a custom ROM. This happens in several steps to overcome the various security levels that try to prevent this:

Application unlock the current operating system. Look for "SDA Application unlock" this runs on the PC and remotely unlocks (via the Active Sync Connection) the security of the Windows Mobile operating system. This allows tools to run that you need for the next step.

Super-CID your device (and check if it worked!). Look for "lokiwiz" ZIP file in the forum here. Despite orginally created for the "Wizard" model, it also works for the Tornado in all respect, so it does the Super-CID and it does the SIM Unlock. I did it myself on a QTEK 8310 with a Nordic ROM and SIM-locked to Telnor.

To check if it worked, connect the device in Bootloader mode to the terminal program and enter "info 2" (without the quotes). It has to show HTCSSuperCID ' HTCE

Do not care about SIM lock yet, you can do that anytime later if necessary.

Good luck!
[HTC Tornado] rajathvsm:
Thanks!

Thanks a lot. Nice work. Very useful. Could you please post one with a PRO rom, preferably the 6.5 version? Or at least the guidelines to make one?
[HTC Tornado] tobbbie:
I will not cook any further - this is why I released the kitchen. The strategies to save space are outlined in detail, so other cooks can take them and incorporate to their ROMs.

For me WM6 is sufficient - I don't need the "goodies" that came after that.
[HTC Tornado] rajathvsm:
Thanks!

Oh fine. Thanks anyway. What is the perceived space saved from this method? And is there any performance hit?

I've seen that UPX'ing has a lot of performance boost so I'm wondering whether it can be made only to the packages or is it applicable to the exe's and large dll's from the CABs too. Since there are a few applications, which even when added later, install to the device memory directly. In these cases, UPX'ing might be highly beneficial in reducing the size as well as giving a speed boost. Any info on this?
[HTC Tornado] tobbbie:
Well, indeed you may think that UPX-ing will decrease performance as the file must be decompressed before running - but the opposite is the case!

you save space (most if installed, a little if in ROM - due to BINFS compression that is there anyway)

you get faster file-read time: This pays for especially well for large files (opera, office, acrobat, TomTom and alike). This will by far gain more than you loose for decompression (which goes directly to memory).

Looking at usual read-speeds of about 1MB/sec and an assumed 10 times faster decompression speed to memory, my feeling is that for speed reasons it will pay best for LARGE files (card and memory installed). Mind that after the file is read and loaded to memory, still the application needs to initialize itself. The last step is the same, no matter if UPX-ed or not.

If you tweak the bits for memory saving on the device it is no harm for anything smaller as well. Usually I stop UPX-ing below 50kB in size, but to have the ROM fit in the MB-frame I wanted to achieve I also had to UPX some smaller files as well. Just compare the directories of Nitrogenious' kitchen release and mine.
[HTC Tornado] AlainL:
Hi,

Thanks for kitchen !

Sorry, I'm a novice in ROM cooking (I just modified a bit a ROM for my HTC Touch, long time ago, but I got no problem with flashing ROMS on HTC devices :) )

So I got a few questions/remarks.

1. I tried to build a custom ROM, but I got an error after selecting options.

I checked log file (a:\Torn\WORK\temp\log.txt) and I found following message :

Failed to parse value name HKEY_LOCAL_MACHINE\Software\hejhej.org\moBlue!!!

InitRegistry FAILED in file ".\Registry\37771312-772c-4ff9-a0a1-b555ad54a025.rgu" within a few lines of line 10.

ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\37771312-772c-4ff9-a0a1-b555ad54a025.rgu"

wmain: (RGUComp) !ERROR failed building DEFAULT hives

If I uncheck "MoBlue", all is OK, so I think MoBlue package is corrupt.

2. When building with default option, what values to put in nb2nbf (CID and start address) ?

I used same as http://xdaforums.com/showpost.php?p=2150690&postcount=1 (82040000 for start adress and ORG_0401 for CID)

Is this OK?

(my phone is an Orange SPV600, CID unlocked, so I think I can put any value for CID)

3. I didn't really understand how to change ROM size. I checked your thread, but I'm still in the dark.

In nb2nbf, in size column, I got "33357824" = "0x13E20248".

So I used "format BINFS 014000000". Is the the way to go ?

Thanks for answers.
[HTC Tornado] rajathvsm:
Answers!

1. Even I'm unsure about that.

2. Yes. Just select the OS option and it will fill the address by itself.

3. Yes. That is the method I follow. AFAIK, convert the bytes into it's hex equivalent and choose the nearest <higher> hex number with 5 0's at last.

And from what I understand from his post, if you have a ROM with 29.1 mb size, either reduce it to (29 mb - 64k) or add some apps and increase it to (30mb - 64k), to make the optimum use of the available space. :)
[HTC Tornado] tobbbie:
Hi AlainL,

...will have to look after the moblue part - strange, possibly the wrong format of the file (not unicode stored). The content should be ok. I fixed it after updating from the old moBlue inside the old kitchen to the 2.1 version copying the Registry content of the moBlue branch.

Regarding the address it is easy: when you select "OS" and click in the address field, the address is selected automatically - this is the right one.

Your assumption on the format BINFS <size> is correct. This is the way to format it. But your calculation is wrong. The Hex size of your value is 1FD0000 and thus you have to format with 2000000 or your device will not boot after flashing.
[HTC Tornado] tobbbie:
The solution to the moBlue problem in the .rgu is very easy.

Edit the .rgu file and add a blank line at the end - that's all.
[HTC Tornado] rajathvsm:
Editing .rgu files

Just to be on the safer side:

Don't forget to save it in the Unicode format too. Turn off word wrapping while editing .rgu files.
[HTC Tornado] tobbbie:
They are all unicode - so if you edit with notepad it should keep this format.

Special attention is required when adding "Multistring" values to the registry. The can be imported as hex - and this hex code must be in unicode format, so 2 bytes per character.

So when exporting the values from the registry to add them to an .rgu package you must take care of this. Took me some tries until I had the .NET CF 3.5 with separated GAC_* package running.
[HTC Tornado] AlainL:
Hi

Thanks all for your answers.

I used the right number.

I just made an error while writing in this thread ("0x13E20248" = "333578824").

This cooking works very well.

I just got a problem, maybe someone can help me.

I added Esmertec Java and installed opera mini 4.2, opera mini 5 beta 2 (latest) and opera mobile 10 beta 2 (latest too).

All is OK with 4.2, but with 5b2 and 10b2, I can't pass license agreement screen, because I can't click on "Accept" button (nor "exit" one), neither with left or right menu button or with cursor.

I thinks it's Opera's fault, but if anyone got a suggestion ...

Finally, I got a question :

Now, I'm using a SPV C600 (Orange), and it doesn't have WiFi.

I plan to buy either a XPA1240 or Qtek 8310 (used, quite cheap), but I need to know if WPA is supported.

I can't check by myself, cause every time I try something related to WiFi, I end with an error "Driver not loaded".
[HTC Tornado] tobbbie:
I do not cook java in the device but have it installed on SD card - along with the midlets it will take later. The package I use is called "JBEDROSE" (20080813.2.1) and comes from the Vox forum. I have no problems using later versions of Opera there (including 5ß2). I suspect the accept requires a network connection to the opera server (WIFI or AS), so maybe this is your problem?

The WLAN support WEP, WPA, WPA2 and should also cover hidden SSIDs (but I don't use it). The Reg-Tweak "optimal performance for WLAN" is actually putting the WLAN in a mode that will NOT do continuous transmission (and drain your battery real fast - like in WM5) but in a mode that saves battery without affecting performance.

The prices for used 1240 or 8310 are rising at ebay currently :-)
[HTC Tornado] AlainL:
I tied both with AS or via EDGE/GPRS connected (when loading EULA, netwok is required).

It looks like Opera 5b2 and 10b2 didn't recognized both menu button.

I will still do some tests.

Thanks, great :)

Because of your excellenet kitchen ? :)
[HTC Tornado] tobbbie:
Opera 5ß2 works on my Jbed (non cooked as I wrote). The opera 10ß2 is native WM - but said to not support smartphones (non-touchscreen) well, so I stick with Opera-mini for the occasional browsing I do there.
[HTC Tornado] tobbbie:
Some updates to the guideline for flashing in the previous and the first post.

be careful with lokiwiz (several hints added)

last resort if you fail to superCID the device: http://imei-check.co.uk/c600_unlock.php

Enjoy - there is no real successor of the Tornado
[HTC Tornado] ruckstande:
Thank you for this. I updated my phone because the previous rom was slow and flawed as I discovered. Phone is working great now.
[HTC Tornado] gutek85:
Battery problem

I cooked my custom ROM and flashed my SPV C600. It works great:) It's fast and has all I need:D But...

I noticed that when SPV isn't used - everything is ok. But when I need to do samething - for example run an application, the battery is running low very quickly...:(

Is it posible that this is associated with unpacking aplications process (UPX compresion) ??
[HTC Tornado] tobbbie:
I doubt that this has any influence. The UPX decompression only takes place when the application is loaded to memory for execution. This is very little CPU consumption and is no longer taking CPU once the application runs. I suspect you simply have a weak battery. See my tagline for a method to measure your battery capacity. With full lights on (no other activity - see the post for more details) the device will allow to stay on for about 10 -14 hours.
[HTC Tornado] gutek85:
Thank you for fast reply:) I'll try Your method. It's true, my batery is weak:( This is not what once...
[HTC Tornado] tobbbie:
I finally found a solution to the problem that WMPlayer has always light on while playing. To fix it just replace the HTCWMPPlug.dll in the \windows directory with the one in the WM6PlatinumSP1.cab from Nitrogens ROM service pack update.

I usually do not use WMP, but it was annoying for those who do. Unfortunately I seem to have missed updating this in my kitchen when taking Nitrogens base (which was before his SP1 update). The other fixes from SP1 cab are in the kitchen. In the kitchen you have to replace the file in the folder C:\Torn\WORK\SYS\MMSCAMCLOCKSTK (and if you like als in C:\Torn\_Changes\SYS\MMSCAMCLOCKSTK where the non-UPX-ed version resides). You can safely UPX it again if you like if you are tight on memory.

To ease access I have put it in a ZIP and attach it here:
[HTC Tornado] kei_ki7:
I will try this after my class.

Btw, is the download link in 1st page is the latest version of this rom?
[HTC Tornado] tobbbie:
All updates are also done to the first post. The kitchen itself did not get an update however (not really needed).

Try the prepared ROM first following the steps outlined (be careful with the lokiwiz) before cooking one yourself.

Good luck and welcome to the few ones with devices that have a real keyboard.
[HTC Tornado] kei_ki7:
How to run BuildOS?

Is there any way to install SMS Threading here?

Like the SMS in this OS -> http://xdaforums.com/showthread.php?t=398957
[HTC Tornado] tobbbie:
You don't know how to run a batch file? Are you sure you want to mess with ROM cooking?
[HTC Tornado] kei_ki7:
"Like the SMS in this ROM" i should say

Btw, I don't know anything about ROM cooking.

A while ago, before I go to this thread, Im searching how to cook ROMs, i saw osKitchen but unfortunately, i didnt found tornado supported.

"Are you sure you want to mess with ROM cooking?"

What a nice question hahah! For now I just want to know how can I insert the SMS Threading to your ROM, coz im busy with php coding.
[HTC Tornado] tobbbie:
The kitchen is quite old as I wrote in the initial post - no fancy GUI, just a batch file linking the cooking part. Other kitchen also have the decompile parts included - but this was the only one for Tornado and it did the job for me.

Regarding threaded SMS I don't know if that would work. If you just want that, why not take another ROM (6.1 or 6.5) - it should be included there. Not sure as well which part is actually handling the threaded SMS. You may have to analyze the difference of the ROMs to find out and then replace the relevant parts. When it comes to changing modules (executables in a special ROM format) you would also have to re-run the relocation by hand (G'reloc.exe).

Good luck trying :-)
[HTC Tornado] kei_ki7:
Im thinking for that too, to change the ROM i used, but i like the tweaks, and other features of this ROM. And also some of key that I often to used is not working (http://xdaforums.com/showthread.php?t=398957)

There is no hold #

There is no ActiveSync and Bluetooth name.

There is no UI/System Tweaks

And... I forgot the others :)

Btw, wanna ask. It is possible to cook ROM without Windows Media Player?
[HTC Tornado] tobbbie:
Yeah - the tweaks have collected over the history of this ROM and contribution from other ROMs in the past. I am just the last one in the history - so in that regard it is not "my" ROM - I just merged the SDHC support and squeezed the bytes.

I think that leaving out WMP will damage more than it may gain. WMP is deeply linked to system tasks as well and the potential gain is small. I believe that a ROM should still contain the basics inside, including the ability to playback music.

I am very happy with this ROM as it is really rock-solid and has never let me down on any task. I will not give this up for some fancy sliding panels or threaded SMS :-)
[HTC Tornado] kei_ki7:
Yes, I like this too. This is what I am using before you post this topic(NiTroGenious last) I dont like the sliding panels i prefered SmartToolkit :). I only want the threaded sms :)
[HTC Tornado] tobbbie:
In my desperate (and still not successful) attempts to port the kitchen to the Hurricane I had to dig into areas that I was not so well aware of yet.

In that context I have discovered that the base-parts that are used in the Nitrogen Kitchen to implant the imgfs are not optimized yet.

The removal of the ULDR part in the partition table gains another 2 MB of the total .nb size and cutting the XIP part to the required space (omitting the reserve of ~500k) another 1/2 MB.

Since gain of storage space is only possible in 1MB steps, the 2.5 MB improvement will immediately give you 2 MB more storage space and 500k of additional space to cook applications in.

If you are lucky and your cooked result was just above a 1MB step you even get 3 MB additional storage space.

You just need to replace the c:\Torn\SOURCE\82040000-OS.nb with the attached one. I have also set the PagePool to 4 MB in that base, so you also get 2 MB more RAM than before (PP was 6 MB).

Don't wonder that the sizes are so different. The file 82040000-OS.nb is just used as a template (holding the partition table and the XIP plus a dummy-imgfs) to insert the new imgfs that the kitchen produces. As such the template needs not hold a full imgfs but can have a minimized one.

For the curious: You can convert the original big 82040000-OS.nb directly with nb2nbf_tornado.exe to a flashable .nbf. So this must have been the base where Nitrogen (or his predecessors) started.

I have also optimized some things in the kitchen packages, but this is not ready for release yet. An updated kitchen will be posted soon...
[HTC Tornado] rajathvsm:
Nice work again! Waiting for your updated kitchen :)
[HTC Tornado] tobbbie:
New kitchen available now :-)
[HTC Tornado] germanyboy85:
Ok i do all the steps but i need a german rom. Where i can find it?
[HD2 Windows Mobile 6.5 Themes and Apps] iobau998:
hi

from today my wm player on my hd2 it won`t start, i don`t know why.

also my ringtones are dead, my phone is not ringing anymore.

someone any ideea?

tx
[HD2 Windows Mobile 6.5 Themes and Apps] Kwasmir:
Hi

I have had the pleasure to crash the sense UI regardig the Media Player.

Short Summary:

If you copy an album form the Laptop/PC (Windows Vista) having a physical directory name including Spcial Char '.' (dot) it will make the Media Player not to show but instead having the Sense UI to restart and then returns to Start Screen.

A lil longer explanation:

ON LAPTOP:

I recorded a LP (Vinyl) Artist 'Phil Collins' Album; '…But Seriously' on my Windows Vista Laptop. Then I created a Directory in my music folder named 'Phil Collins' and a subdirectory '…But Seriously' where I placed the different .mp3's that the album contains.

iTunes is my prefered player on the Laptop and no problems in adding the new LP to my iTune library including album arts - and other comments.

Then, to have it available on the HD2 I copied the 'Phil Collins' directory incl. The Sub-directory '…But Seriously' to my storage card on the HD2. After copying the directory and dismounting the HD2 from the USB connction I scrolled to the 'Media Player' icon via Sense to see if arts and album are in place as expected.

What happens now is that the HD2 hangs a second on the Media Player Icon and then the HD2 decides to restart the Sense UI, as like you just booted the HD2, 'Starting Sense' typed in top of the screen and you end up at the Start Screen.

- This kind of behavior can not be cancled - even if you completely delete the 'wrongly' named directory ('…But Seriously') from the HD2.

Only way to make Senes UI work again for the Media Player is to make a Hard Reset (format it).

The Data connection seems to be broken/corrupted too when you have hit this error. Anything from that the Sense UI in it self works fine as long as you don't use the Media Player Icon.

No error msg. Was shown.

After I made a Hard Reset I made som tests:

And I could trigger the above mentioned bug each time I had a music directory containg the '.' (dot).

Examples:

…But seriously

The best of Spike Jones Vol. 2

If removing the dots from the physical directory but keeping the dots inside iTunes (eg. showing the dots in the album name within iTunes) everything works perfect.

Bottomline: If you wanna copy music albums to your HD2 be aware you might hit an error that only are solved by a hard reset - so think twice before you name your directories.

Kindly

Kwas
[HD2 Windows Mobile 6.5 Themes and Apps] xkaiser:
Solved

SOLUTION : see my thread HERE
[Hero, G2 Touch Q&A, Help & Troubleshooting] code72:
Hi,

Is it possible to make Genie Widget compatible with Cupcake?

I used that app with my G1 with 1.6 and now with my Hero (1.5) doesn't work.

For me it's very useful
[Hero, G2 Touch Q&A, Help & Troubleshooting] code72:
Ok, seems that nobody is able to port this app to android 1.5.

Now, can someone point me to an app similar to Genie Widget (i need only news, no weather) but, important, that shows news related to location (i'm in Italy and i don't need to know US news :) )

Thanks
[Hero, G2 Touch Q&A, Help & Troubleshooting] iloveandroid:
HOW??

How do you port apps to 1.5???
[Hero, G2 Touch Q&A, Help & Troubleshooting] craig0r:
First learn to program in the android SDK.

Second, study the differences between the 1.5 and 1.6 API.

Third, sift through the source code of your 1.6 app and find all the code that doesn't adhere to the 1.5 API, and change the code so it all DOES comply with 1.5 API. :D

Have fun.
[Hero, G2 Touch Q&A, Help & Troubleshooting] code72:
Solved :)

Simply recompiled build.prop in /system and Genie Widget works.
[Hero, G2 Touch Q&A, Help & Troubleshooting] iloveandroid:
Could you post a download link, that would be very helpful
[Hero, G2 Touch Q&A, Help & Troubleshooting] awsy44:
this is great news!, can someone please post a link , this is probibly one if the things i want to go to 2.0 for!. If someone posts a link that would make the best gift ever guys pls!!!

EDIT: ok I got it to work, I changed these items

It works after restart, I installed the Genie widget, It works fine, but when I restart my phone, it goes back to 1.5 genie widget stops working, is their anything else i need to replace?
[Hero, G2 Touch Q&A, Help & Troubleshooting] iloveandroid:
Someone has ported this app!!!!!!!

http://android.modaco.com/content/htc-hero-hero-modaco-com/302211/genie-widget-for-1-5/
[Hero, G2 Touch Q&A, Help & Troubleshooting] mercado79:
Did you guys get this working? It installed fine for me but doesn't seem to refresh after the phone is rebooted.
[Upgrading, Modifying and Unlocking] pwmarquissee:
Hey there,

I am a student in a GUI design class and we are building applications for the Android OS. Well, we were each given an Android Dev phone to experiment with and use to develop our apps. I was messing around with mine and started loading some ROMs and such. Anyway, long story short, I managed to mess something up. I restarted the device, after flashing the new update.zip, and it didn't get past the "Android" load screen... For hours... I had other things to do, so I just left it plugged in with the hope that it would eventually move on. It didn't.

So, I set into motion to restore it to the factory default for the Android Dev phone. Again, long story short... I managed to flash the T-Mobile factory defaults onto my Developer phone... Now I am completely STUCK... I can't get past the Gmail login screen because I don't havea t-mobile SIM card, nor can I get around it to get to the WiFi settings. I found the HTC developer center and have been trying to follow the directions there, but I can't gain access to it through the adb. My computer recognizes the device, but the ADB tool can't seem to find it when I use the "adb devices" command.

I am using a 64bit version of Windows 7. I would love any suggestions and advice you could all give me, as I need this to function as a developer phone for the semester, as well as for when I have to turn the phone back to my prof.

Thanks in advance...