yashsingh1/xdaforums huggingface dataset:
[HD2 General] weareborg:
while I know for many this is gratingly simple.. I too would like to be de-mystified.. There are a lot of people who have moved to winmo for this device and consequently a lot of people are clueless about the inner workings of the platform.

Your patience, and advice is much appreciated!
[HD2 General] DAMIEN123_666:
great post matey, i hope we get the winmo techies on ower side and help us, with this little problem
[HD2 General] grapefruitstudio:
An answer for you :)

Nothing to see here...
[HD2 General] DAMIEN123_666:
@grapefruitstudio

emm thank you that explain alot in one post, i understand now,
[HD2 General] grapefruitstudio:
No worries

No worries mate, loads of this stuff is baffling the first time round. Happy to help :)
[HD2 General] DAMIEN123_666:
another question if you don't mind, storage memory is simple it stores my data / installed apps, but what does the program memory do exactly?
[HD2 General] grapefruitstudio:
I'll get my coat...

Hi Damien,

Well this I decided to look up on the web to get the confirmation for you and it made me realise my last post was, in fact, utter tosh!! Soz :(

It appears it was not you who was misunderstanding this, It was me. As such I eat humble pie and turn to google.... ;)

So to put the record straight this is how it is:

The Program Memory is in fact your RAM. This figure your getting is normal, having done some digging on leo forums, it appears the Leo has some of the advertised 448M RAM dedicated to the GPU. As such you wont see the whole 448MB, however what the hell it's going to do with over 100MB of video memory I don't know.

On the old Windows mobile devices the ROM and RAM used to be the same thing (When old device specs included 'XXMB ROM' both those figures I showed you combined was the ROM size) things have changed!!

So where has the rest of your 512MB of ROM gone?

When your device is flashed with it's operating system that takes up XXMB of your 512MB and the remaining ammount for space (your 181MB) is whats left over from the OS install and any software/reservations HTC have put on.

Again my appologies for the misleading post, I'll make sure I check my stuff before posting... ;)

If your interested in reading up on the whole ROM RAM thing you can check out these:

http://www.pocketpccentral.net/help/ipaq/pmem_explained.htm

http://blogs.msdn.com/windowsmobile/archive/2005/08/19/453784.aspx

They are both for WM 5 but persistant storage is the same for 6
[HD2 General] DAMIEN123_666:
wow thansk for the info and the links will read up on them now, great posts
[HD2 General] .::EmreE::.:
My HD2 is the same. Says 448 MB Ram on hardware info page but 336MB on task manager.. Annoying. So this is normal then?
[myTouch 3G, Magic General] Cryptomnesia:
I've been trying to get a new rom on my phone, as I have a cyanogen right now. But everytime I download the zip files they're not zip files. The icon is a java icon, and I can still extract. When I push the files to my sdcard and try to flash the rom, the phone doesn't recognize it as a zip or any file at all.

Edit: They are downloading as jar files. What do I need to do to make them zip files?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] eras2r:
For all of you AT&T users that are using Cooked ROMs based off of HTC builds, I created some cabs to get AGPS working with the AT&T SUPL Servers. You need to pick the correct cab for whatever data plan you are using and your phone is set to. I for instance use AT&T ISP and the isp.cingular APN. This is the Business class tethering data plan. Most of you will be using the MediaNet and wap.cingular APN.

These cabs will:

install the SuplRootCert for AT&T into the \Windows dir

Set the HKLM\Software\HTC\SUPL AGPS registry entries for AT&T

Set the HKLM\Drivers\BuiltIn\RIL\AGPSNVSetting to 1

Aside from these settings, the Cooked ROMs will need to have the QuickGPS and RESProxy services loading on startup. (Most ROMs will have this, but you may need to check). Cooked ROMs will also need a recent rilphone.dll as well as gps*.dll from OEMDrivers. Most Cooked ROMs will have all of these things, but if not you'll be able to ask the Chefs in their thread about them if you are having issues getting AGPS to work.

How to use these cabs:

Install the cab

soft-reset

Load up HTCGPSTool.exe

Set Mode to Cold Start

Set Log NMEA (default is \My Documents)

Open Port

This will start the HTC GPS Tool and try to use AGPS

Exit the HTCGPSTool and check the log file in \My Documents for the $GPSCELL line

If $GPSCELL is not there, you may need to soft-reset once more and perform the HTCGPSTool process again. (This has been the case for me for all cooked ROMs.)

For some reason 2x soft resets is required. Maybe because of proper auth/cert process to the AT&T servers. In any case, after the second soft-reset, the AGPS works great and I am getting a lock in under 30 seconds.

Thanks to Da_G for explaining this all to me.

-e
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] hchavarria:
Thanks a lot for this, it'll be good to have a fast locking GPS again. Now I just need to figure out how to port the AT&T phone canvas over and I will have a great rom.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] beejers:
hey eras2r. I have a question please. I see your using 4.48.25.20. is there any particular reason/benefit to this on At&t? (search shows up that its a topaz radio)

I ask because I'm trying to get my ATT TP2 GPS problems resolved.

I flashed a couple of roms before i realized that I never get any bars in GPStest. The last two roms i've tried have been your 2.1 rom and then your stock image you created (from 4 dump files?). Currently, i have the stock Rom, the 4.49.25.17 radio and no GPS.

So... I was then going to try flashing 4.47.25.24 (ATT), but i see you are using something different also, and you seem to know quite a bit about the GPS on the tilt2, so i thought i would ask about your radio and if you have any suggestions.

I've been reading that I may have the wrong version of rilphone.dll (or gps*.dll?), but i'm not sure how to check the version, whether they get replaced when you flash the radio and if not, where to get them.

I've done quite a few rhodium gps searches and am currently feeling pretty moronic...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] eras2r:
beejers,

The radio is not really going to matter all that much. On AT&T what matters is QuickGPS, ResourceProxy, Suplrootcert, *.gps.dll and correct registry settings. This will give you AGPS functionality. That means that your phone will first get a general location from the Cell Towers, and then try to lock GPS. When using AGPS correctly you should get a lock in ~30seconds. Most 6.5 ROMs will have everything you need except the Suplrootcert and registry settings, which come out of the AT&T ROM.

In my ROM I am using the rilphone.dll from AT&T that matches the 4.48.25.20 radio. But really, any of the 4.4X radios along with a recent rilphone.dll will work. You seem to be using GPSTest. I recommend using HTC GPS Tool instead. You want to set the mode to "Cold Start" and log that datastream. When you do this you should get a lock rather quickly. To verify that AGPS is working, you need to look at the log file and look for the $GPSCELL entry. If this entry exists, then AGPS is working correctly. As I stated above, since the cab above adds the "EnableCertAuth" parameter to the registry, you may need to try a "Cold Start" in HTC GPS Tool, and then soft reset. That registry entry will disappear after that, and you should be able to get location data from the AT&T towers.

Hope that helps,

-e
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] beejers:
thanks for the tips. On your 2.1 rom, i played with HTC GPS tool a bit, but wasn't exactly sure at that time what i should be looking for. every bit of clarification helps. thx again
[Touch Diamond2, Pure ROM Development] prabhat:
Good and Clear :)

Thanks for including some missing points which some of our members missed/or/got questions during flshing (first flash ;) ).

Thanks.
[Touch Diamond2, Pure ROM Development] abzza:
great job. it will be very helpful for the first time flashers

Sorry for the double post dont know what hapend!

great job. it will be very helpful for the first time flashers
[Touch Diamond2, Pure ROM Development] Niczo:
Another tip fort first-time flashers:

Do not forget your silk underwear and trenchcoat! :D

Seriously though, this is a great simple guide for newbies like me. I'm still in the process of exploring the standard WinMo 6.5 as well as Manila, trying to decide what I want as it is and what I want differently.
[Touch Diamond2, Pure ROM Development] Drag-On:
Hey guys, if you are having trouble with some of the content in this guide, please check out my other "pre-guide guide" over here: http://xdaforums.com/showthread.php?p=4963913#post4963913

also, if you have any questions, you can post them THERE (above link) as i would like to use that post as a Q and A place (and not my inbox :P )
[Touch Diamond2, Pure ROM Development] htcdiamond8:
Thanks for all the help, ive sucessfully installed my first ROM :D

Very helpful, The pre-guide and this.. both helped a LOT.

Thanks :)

One more thing, do i have to do the HardSPL 1.83 flashing part everytime i want to install a new ROM, or is that enough if its done once, and then only do the RUU.exe from the pc?
[Touch Diamond2, Pure ROM Development] rspillo:
Only one thing, the SD must be formatted in FAT 32
[Touch Diamond2, Pure ROM Development] Drag-On:
I am very glad you managed to get it all working!

the answer to your question: NO HardSPL is done and over with, you only have to do it once. I will update this in the guide, to reflect the once off HardSPL'ing.

Also, thanks rspillo:

i will update this too.
[Touch Diamond2, Pure ROM Development] gkai:
Excellent guide, I wish I have seen it before flashing my first ROM, it is always comforting to have a step-by-step guide to follow even if the process is quite simple.

After some research on xda, I have followed the same steps you mention, and the ROMS are working perfectly, so I guess I have done it right....still there was some anxiousness at the end of the flash that is not mentioned in your guide: HardSPL stop telling flashing the ROM went OK, but never reboot....basically, to reboot it i am forced to use the soft reset button behind the back cover, all the hardware buttons including power button are not responsive. This is worrying for a first timer and should be mentioned somewhere (or is it just me, the normal behavior is auto-reboot?)

Other thing worth mentioning in your guide is the hard reset after a flash: you may add that it s advisable to do, and explain how to do it (power off, then power up while holding volume-up AND volume-down pressed simultaneously). This has taken me 2 customs ROM to figure out ;-)
[Touch Diamond2, Pure ROM Development] prabhat:
I did not know this :( thanks for this ;)
[Touch Diamond2, Pure ROM Development] Drag-On:
not all custom ROMs require a hard reset. i've almost never had to do it.

but i digress. i will update as recommend by all :)
[Touch Diamond2, Pure ROM Development] NotATreoFan:
Performing an immediate hard reset upon completing the initial flash is something I almost never do. However, I continue to recommend it to people who flash my ROMs since I have had it solve some issues in the past.

-Edit-

I'm gonna move this thread to ROM Development since it centers around flashing ROMs. I have "stuck" your roll-up thread leading here.
[Touch Diamond2, Pure ROM Development] darkmessiah:
Successfully Flashed my First ROM

Drag-on.. thank you so much for ur guide that helped me out in successfully flashing Dutty holy grail R3 ROM on my HTC Touch Diamond2..
[Touch Diamond2, Pure ROM Development] DaveShaw:
Thread Stuck.

P.S.

You requested this thread sticking also : http://xdaforums.com/showthread.php?t=585457

I suggest it might be easier to add this to the first line of the first post - as a "If you are very new to this - read here" sort of thing.

Regards,

Dave
[Touch Diamond2, Pure ROM Development] Zimaia:
Hi all,

I will be a new htc owner next week and i'm trying to enter this htc world to be ready as soon as i get my toy (topaz)

My topaz is not blocked to any operator and my question is: Do i need to use Hard SPL 1.83 to flash for the first time considering the device is unlocked???

Thanks

PS: i'm sorry for this questions but i really didn't find any docs for beginners!!
[Touch Diamond2, Pure ROM Development] Pisca:
Have a device blocked to an operator means that you only can use a SIM from that operator, it's not related with unlock to flash cooked roms, or HTC roms not provided thru Serial Number download from HTC Site

HardSPl is allways required to flash any other rom, please read the 1st posts where an explanation is stated, and as no relation at all with SIM Block

Happy flashing
[Touch Diamond2, Pure ROM Development] Zimaia:
Thank you for your answer, i was confused with so many threads and information. It is in fact a little bit difficult to enter in a world like this. I own an Asus P750 and in related websites of Asus sometimes after a mouth no new posts if you now what i mean :)

So here it is the opposite, it's good but i have some years in disadvantage to update.

If i will post some stupid questions, so be it!! It's my beginning!!

Again thanks to reply.
[Touch Diamond2, Pure ROM Development] Pisca:
There are no stupid questions, only stupid answers, feel free and enjoy your new device ;);)
[Touch Diamond2, Pure ROM Development] h9922293:
Thanks bros for your introduction on flashing a ROM (this is particularly useful for newbie like me in reducing the problem encounter~)

1 more question..i knew that hardreset will rest all the things and revert my phone like it is released from the factory, so what is the initiative to have it hardreset after i flash a new ROM? will my newly flashed ROM got "flushed" away after this hardreset?

Thanks again!!
[Touch Diamond2, Pure ROM Development] Drag-On:
h9922293, doing a Hard Reset will only reset the ROM you currently have installed. It doesn't (and can't) reset to your original ROM that the phone came with, because that ROM is long gone.

Think of it as switching your pc off, then turning it on again, to find all your programs and settings have gone back to original, but your modified windows xp/vista/7 is still there.

that make sense?
[Touch Diamond2, Pure ROM Development] h9922293:
Yea got it 100%!!

thanks very much
[Touch Diamond2, Pure ROM Development] msc8127:
I did a search on a problem I am having and did not find a solution.

I did the HardSPL and now when I go to the bootloader screen it shows olinex as it is supposed to.

However, after putting a new ROM on my SD card, powering off the phone and going back to the bootloader I get "USB" or "Serial" in the white section at the bottom of the screen, but no option to install my new ROM....it just hangs there.

The phone is an AT&T / HTC pure. I thought I had followed all the directions, but I cannot figure out what the hang up is at this point.

thanks for any guidance you all can provide
[Touch Diamond2, Pure ROM Development] BeeGee_Tokyo:
a) is your SD-Card FAT32 formatted?

b) is the ROM on the SD-Card named TOPAIMG.nbh? (upper/lower case sensitive!)

c) stop pressing the down button as soon as you see the bootscreen. IF you continue to press the down button, the bootloader will skip the ROM on the SD-card

d) did you try to flash from your PC?
[Touch Diamond2, Pure ROM Development] msc8127:
I re-formatted the SD card to FAT32 and tried again. At the bootloader is searches for a couple of seconds and then displays the following numbers in red at the top of the screen.

00058002

If I try to use blackstoneRUUwrapper I get error [244] Invalid Model ID.

Thank you!
[Touch Diamond2, Pure ROM Development] BeeGee_Tokyo:
BlackstoneRUUWrapper is the wrong program. Get the Topaz CustomRUU.

What ROM are you trying to flash? You cannot flash Blackstone ROM to Topaz.
[Touch Diamond2, Pure ROM Development] msc8127:
trying to flash Dutty's R7.

I'll give the CustomRUU app a try.

Thank you again!
[Touch Diamond2, Pure ROM Development] msc8127:
still getting the invalid model ID error.
[Touch Diamond2, Pure ROM Development] BeeGee_Tokyo:
Dutty R7 :confused::confused::confused:

Latest Dutty ROM for Topaz that I know is R5 :eek:

The R7 is for HTC HD phone, not working on the HTC Topaz aka Diamond2
[Touch Diamond2, Pure ROM Development] msc8127:
i'm an absolute dummy....sorry, just figured out the whole mess.

process works incredibly well when you have a ROM that is for the phone you own!.

Thanks again for all your patience and help!

Shane
[Touch Diamond2, Pure ROM Development] BumAround:
HELP: Screw up my SD card, and/or my Topaz sd card slot!?

Any of your genius(es) would be kind enough to help me out?

My sd card (8gig Sandisk, SDHC, Class 2) ceased to work :eek::eek::eek:. Yes, it was OK, FAT32-formatted, now even another working sd card won't be detected by my Topaz (the card is ok, it's working on my PC with a card reader/adapter to USB slot, it's also working on my wife's Raphael). :rolleyes:

Detailed story HERE.

Please help.
[Touch Diamond2, Pure ROM Development] Robot-d:
A good guide mate, thank you a lot !
[Touch Diamond2, Pure ROM Development] Drag-On:
Sounds like your Topaz is being a bit iffy with SD cards...i would try a complete hard reset (without the card in) and then try again.

worst case, flash your phone with a new ROM via the .exe method, without a SD card inside.

if it doesnt work then...faulty/broken SD card reader :(
[Touch Diamond2, Pure ROM Development] BumAround:
Thanks, Drag-on, I will try.

What you mean but flashing via the .exe method is by Activesync, USB cable, and TopazRUUWrapper, correct?

EDIT/UPDATE: (10 mins later)

Thanks!

(1) I hard-resetted and right after, first time I did was putting in the functional SD(HC) card. IT IS readable!

(2) Trying the defunct SD(HC) card, it's screwed, but putting back in the functional one, it became undetected as well.

(3) Repeated step (1), it's OK again! So, I leave it as it for now until I get a new SD(HC) card this afternoon.

QUESTION OF THE DAY: DOES MMTY1.42 PRE-FLASH CLEANING UP WILL ACTUALLY SCREW THINGS UP A BIT !?

LESSON LEARNED: DO NOT EVER FLASH A ROM WITH YOUR SD(HC) CARD PLUGGED IN!!!:eek:
[Touch Diamond2, Pure ROM Development] Drag-On:
Firstly, it's a pleasure :)

secondly, i don't know why you are so keen to use this MMTY1.42 thing, whatever it may be...i quite honestly think that's where 99,9% of your problems came from.

thirdly, ACTUALLY it is 100% safe (and infact a good idea) to leave your SD Card in while flashing (flashing with SD has proved more reliable for me in the past, as if you're using USB cable + Activesync, your pc might freeze, the cable might slip out, etc...)

in closing, i think that if you stick to the guides i've outlined here, you'll be okay :)
[Touch Diamond2, Pure ROM Development] BumAround:
hi Drag-On,

Silly me I was experimenting with the mmty1.42, which on the second careful reading it's intended for folks with Kaiser and Diamond not Topaz etc. So, nope, I was not keen, that's a side effect of a compulsive rom flasher reading too many stuffs on a weekday at 3AM in the morning.:eek::eek:

Again, I'll stick to the old ritual (HR >stock ROM >HR >new ROM >HR), cumbersome but error free 99.9% of the times.
[Touch Diamond2, Pure ROM Development] Pisca:
Hi

Mtty is something to use as the last resource to fix your device, and it's a bit tricky

One suggestion, as I use even from my Kaiser days

- Get a small sdcard format FAT32 and use it only for flashing, and keep the other to your day by day use, I even suggest to keep in the Flash/SDCArd more than one ROM just in case you want to go back :)

With that you allways take out your normal card to flash, as you can imagine cooking means flash several times ;)
[Touch Diamond2, Pure ROM Development] davonhui:
i have a problem..

when i just updating the rom

when it's just began

and error called Invalid Model ID occur

can someone give me a solution

i come from hong kong and my english is bad

maybe you feel rude..and i sorry about that

thz for anyone to help
[Touch Diamond2, Pure ROM Development] BumAround:
Superb idea, thanks!

Now if that perfect ROM will one day arrives, so we won't have to flash so often anymore.

(Too bad this forum doesn't have a smilie with eyeballs almost popped up with all of blood veins in the eyes showing) :eek::eek::eek:
[Touch Diamond2, Pure ROM Development] Drag-On:
did you install HardSPL 1.83 BEFORE you tried to install the ROM?
[Touch Diamond2, Pure ROM Development] darkmessiah:
A doubt?

Drag-on soon after ur guide was released i've been confident enough to start flashing my doamond2 but now i hav flashed bout 5 different rom's till date..

now my question is is there any limitation for the number of times i can flash different rom's on my diamond2 ?

will many flashings give some problem?
[Touch Diamond2, Pure ROM Development] Drag-On:
Well, if this guide helped even just you, it was worth it and i'm glad! :)

The answer to the question: you can theoretically flash as much as you want to, just make sure to use pre-tested ROMs and follow the basic instructions.

Happy flashing!

(here a little tip for people like Darkmessiah who are getting into flashing: Use PIM Backup (pre-installed on Dutty ROMs i think) to backup contacts, etc.

then you can even flash without being at your pc!!! (BUT REMEMBER THE MIN. 50% BATTERY!!!!)
[Touch Diamond2, Pure ROM Development] darkmessiah:
Thank you

thankyou so much drag-on ..
[Touch Diamond2, Pure ROM Development] chilean03n:
Thank you so much!!!! It works perfectly now! The AT&T ROM is terrible compared to this one. :)
[Touch Diamond2, Pure ROM Development] BlankSpott:
hi Drag-on. i'm very thankfull for your guide. but i still have a few questions before i flash my diamond.

when i go to bootloader mode it says:

TOPA100 32M

SPL-1.83.000

MicroP-Topaz(LED) v10

TURBO HW/TURBO SW

i've upgraded my diamond with the rom that i've download from htc to wm 6.5, and i think it upgraded the SPL too. now that i have the SPL 1.8.3, can i skip HardSPL installation and just go for the roms? or i still have to install Olinex's spl in order for me to install the cooked rom?

thanks again in advance Drag-on..
[Touch Diamond2, Pure ROM Development] Drag-On:
this is interesting...i think your assumption about the stock wm6.5 "changing" HardSPL is accurate.

I would just re-install HardSPL again, just to make sure. You want to see the name Onlinex with the numbers 1.83...not JUST the numbers.

good luck and ask if you need anything else.
[Touch Diamond2, Pure ROM Development] MeAndRe:
Name and case of nbh-file must be TOPAIMG.nbh

Thanks for this helpfull guide.

It took me two tries to get my phone flashed. Because the first time I only read your first post. Then after no succes i read until post #24 where you write that the name and case of the nbh-file must be TOPAIMG.nbh, and mine wasn't :(

Maybe you can add this remark to the the guide in the first post to make it even better?
[Touch Diamond2, Pure ROM Development] BlankSpott:
hmm.. i think i know why i still have to flash with OliNex's HardSPL. i've just read this in OliNex's Post:

NOTE 2: this is unsigned Hard-SPL. no limitations on flashing ROMs. also, this has overwrite protection against HTC RUU's overwriting HSPL with a stock one... and so on... :D

okay.. time to flash then...^_^ thanks Drag-On...
[Touch Diamond2, Pure ROM Development] Aramis7:
overwriting protection ?

Mmmm... isn’t the overwriting protection kind of dangerous? With Olinex’s version, we can’t ever go back to fully stock standard even if you wanted to....is that right? You’ll be stuck with Olinex’s HardSPL