yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] KTamas:
Summary

Also, at these days of hard resets (I'm constantly playing with ROMs now...) I've mastered the technique how to reinstall and configure my BA in 30-40 mintues :lol: But now I have a ROM, that has:

- Camera works by default (the 2003SE app)

- Patches (Album, files, backlight etc... i had a little problem with midi, so it is not working, but i don't use midi ringtones anyways)

- Removed File Explorer, added Total Commander 2.0

- Removed Calculator, added Eval Calculator

- Removed Download Agent (useless...)

- Added couple of freewares i use frequently

- All the registry speed tweaks

- Created shortcuts for custom apps

The last step is now editing the initflashfiles.dat for putting the shortcuts into the start menu, then editing initflashfiles.dat with some hexa editor, cause notepad puts two bytes at the beginning the file, and WM5 does not likes it (i got once a ROM with an edited initflashfiles.dat with notepad, the OS could not recognize it....i got an OS with an almost empty start menu, etc.). The fix is that (according to mamaich, have not tried yet), you have to delete the first two bytes of the file, or modify to be 3B 00 (";" - a comment), using any hex editor. Gonna do that tomorrow i guess. Now I have ROM where i only have to configure the control panel and install like 6 or 7 cabs and configure the apps, and i don't have to apply the patches at all.

Two known bugs:

1. MSN messenger is not working by default. I have to manually copy a .dll to \Windows, then it works.

2. Messaging is not working at all, not sure why. When i press "new", the "X" button changes to "OK" for a sec, but nothing happens, no new window to type in the message etc. If I recive an SMS, i get the notification, i can read it, but if i try to read a message in inbox, i can't. I can read the messages thru pocketBreeze though. I'll try WebIS Mail and see if it works, cause i have it (though not touched it since a while), and it works with SMSes, as far as i know.
[Windows Mobile Software Development] celiruss:
Yeah.. I read that, but if i've edited the .hv and the rgu/dsm that have the entries that I want, they should have the correct reg entries, don't you think?

I'm wondering if there's something else that's pointing to the gsm radio...

I should open up the alpine rom, but i can't find the password for it unfortunately
[Windows Mobile Software Development] celiruss:
Re: Summary

nice... i'm just trying to get wm5 to boot on the cdma blue angel... which is seemingly a bit more difficult than i thought ;)
[Windows Mobile Software Development] celiruss:
since i'm already polluting this thread, do any of you know if ril.dll varies from cdma to gsm?
[Windows Mobile Software Development] buzz_lightyear:
Re: Summary

i guess, you'd need different ril dlls

buzz
[Windows Mobile Software Development] celiruss:
excellent.. i'm going to try that out once i get back from lunch
[Windows Mobile Software Development] buzz_lightyear:
it's not healthy having lunch so late in the night... :o)))))

buzz
[Windows Mobile Software Development] celiruss:
it's only 2:20pm my time :D
[Windows Mobile Software Development] bepe:
found this in default.hv

[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate]
"packages.sof"=hex:C0,D2,F7,B4,41,81,71,EE,4E,4C,5F,9B,18,09,92,54
"dceeb73d-873e-4f6d-a112-5680183f217a.rgu"=hex:9D,97,12,B5,09,95,25,8E,BE,DA,D2,AE,5C,86,24,25
...
"boot.rgu"=hex:1D,A1,1D,65,60,66,B1,0A,E7,70,0F,95,D9,ED,0A,EC
[Windows Mobile Software Development] celiruss:
what exactly does that mean?
[Windows Mobile Software Development] bepe:
All .rgu are listed there.

maybe we will be able to add our own packages.

unless we know what packages are :?
[Windows Mobile Software Development] celiruss:
oh. gotcha.. i've already looked through all of them and edited the needed ones trying to find the file that might be preventing wm5 to boot on cdma..
[Windows Mobile Software Development] bepe:
I dont know what cdma is but preventing wm5 to boot on ... can be found in the default.hv

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\...]

"MountFlags"=dword:6

"Folder"=""

"PartitionDriver"=""

"Name"=""

"DefaultFileSystem"="FATFS"

MountFlags is the interesting part Storage Manager Registry Settings
[Windows Mobile Software Development] celiruss:
What I'm trying to do is load the BA rom on a harrier which is the cdma version of the BA.

It starts booting, then gets an error saying that it cannot find the gsm radio at the bottom of the boot screen... so... yeah.. I'm on the 5th rom i've built today, and am currently at 82% of the flash.

I've replaced about 5 or 6 dll's, mostly the ones that said something about the himalaya in the properties of the file..

oh.. speak of the devil.. the flash is done... let me reboot.

still says no gsm... ugh.. this is frustrating.

I should try to decode the apache rom and see if i can compare contents.. but I don't know the password to the rom :(
[Windows Mobile Software Development] KTamas:
I ran into a problem that i just can't solve and i'm not sure what it is. I just can't read or write messages, including text messages. Of course i can read my messages via PocketBreeze's Mail tab, or when one arrives but i can't read from tmail.exe (Messaging) or write one....and it only happens when i cook a ROM.
[Windows Mobile Software Development] zohaer21:
problems

hi using imate jasjar with o2 rom

these are the two probs im having (note they are the first two steps aswell :)

1) i used xda3nbftool.exe to convert the o2 rom nk.nbf into nk.nba but i got an error : something like doesnt look like header the password maybe wrong but it generates a nk.nba file anyway after that error !!!

i used the command as given by KTamas earlier to my post

2)i use the prepare_imgfs command but it ends by giving an error message IMGFS start NOT FOUND

all the files are in the same directory including the nk.nba

what is going wrong?

thanks
[Windows Mobile Software Development] TofClock:
your nk.nba generated by xda3nbftool is corrupted because the password is bad ....

i don't know the password to decompress universal roms ... sorry
[Windows Mobile Software Development] buzz_lightyear:
you can decrypt Universal ROMs with aplinenbfdecode.pl

no need for a password.

buzz
[Windows Mobile Software Development] buzz_lightyear:
oh well,

for the complete procedure, how to decode and encode Universal OS ROMs, check HERE on buzzdev.net

I've made couple of nice pics there as well... :o)))

So, Merry Christmas friends!

THANX bal666

buzz
[Windows Mobile Software Development] TofClock:
Yeah , great :)

Merry Christmas :)

he he , in a few time , a new rom for XDAII

i've translated the 1.62.07CHS in english TOTALLY , including all help files , including english keyboard , and english block and letter reconizer :)

i'll named this new rom 1.65a.96WWE ... 96 because , of course , 32 Mb Storage folder PERSISTANT integrated ....

a great great innovation .....

Be patient , this rom will be downloadable in a few hours ...
[Windows Mobile Software Development] bepe:
@TofClock: sorry it was a mistake, PM in state of Post a reply

This are the German, English and French Transcriber files V 2.0 !!!!!

Because Microsoft has only published V1.5 I builded them with Platform Builder 5 for my translated ROM.

Perhaps somebody has time to make cab files with the nessasary registry entries...

Tested on a HTC Himalaya (English ROM WM5 + German Transcriber).
[Windows Mobile Software Development] TofClock:
ok , thanks for this files ...

i'll upload the rom during the night , i'll integer the transcriber in a 1.65b.96WWE ...
[Windows Mobile Software Development] bepe:
Small selfmade tool to compare and edit registry files. (for translations)

-input: unicode

-output: unicode

-can hide identical entries (default.hv takes nearly one minute)

-edit entries (only of Device.txt)

CAN NOT add new entries.

REQUIRES Download details: .NET Framework Version 2 !!!!!!!!!!!!!!!

example: How to find and copy the localised entries in default.hv from a German ROM to that of my Himalaya (English ROM)

1. extract the default.hv of the English ROM to Device.txt

2. extract the default.hv of the German ROM to Compare.txt

(both files without something else than [...] and the entries)

3. put both into the same folder as RGUEdit.exe

and run RGUEdit.exe
[Windows Mobile Software Development] KTamas:
Thank you...will you make the source avaible too?
[Windows Mobile Software Development] celiruss:
nice!
[Windows Mobile Software Development] bepe:
please reload the RGUEdit, some changes (input: unicode)
[Windows Mobile Software Development] TofClock:
Wow , RGUEdit ... i'm going to test it :)
[Windows Mobile Software Development] zohaer21:
hi is it uploaded yet????

thanks
[Windows Mobile Software Development] bepe:
How to rename a rom,

and what are the numbers for?

1 :?

65 :?

a :?

96 :?

WWE :that's clear

are there any rules for naming a new rom?
[Windows Mobile Software Development] zohaer21:
hi

i encoded my modded rom by bal666 tool and flashed it to my device...

during the upgrade the maupgradenoid utility showed me the rom version which i changed to 2.22.22 ..but after upgrade i see that the rom version is 1.13.83 and the files i deleted off the dump rom folder were back in the universal? how can i delete files before encoding tthe rom back to nbf so that the files i delete are gone (like i deleted the fileexplorer and all the alarm and other wave files along with guava windows theme) but are all back in the flahsed device???

thanks
[Windows Mobile Software Development] KTamas:
There is a parameter for changing the ROM version in xda3nbftool but i think it is not working, cause after i tried to change the version, I've checked nk.nba, and it still said 5.03.02
[Windows Mobile Software Development] zohaer21:
yeahhhhh i flashed my first custom rom (actuall afterwards flashed like 6 different roms with different things...just messin and seeing)

anyways i noticed the following things

1)the sms doesnt work??? is there anyway to get it to work???

2) i cant seem to get more free os rom space even if i delete major stuff off it and even if i add more apps to it ...it always remains the same( starage memory)

3)i cant seem to get icons to be changed/...like i edit and put my own images (for volume,siganal,message icon, connection and disconnected icons) but after flashing it always shows the default images ....does anyone know which files have to rigged to get my own images ( i can change application icons thats not what im talking about here)

4)ive also modded the welcome screen but dont know how to put my own splash screens????

thanks ...thought id share my experiences...

thanks to all the guru's (mamaich,bal666,buzz and more)
[Windows Mobile Software Development] KTamas:
Only 6? :P

Anyways...

1) Same question here, this is the only reason I went back to the original Himalaya-to-BA ROM...I just can't figure out what goes wrong with sms in the custom ROM.

2) Modifying the CE (OS) ROM won't gain you any free space. Storage space will remain 60 MB, no matter how much do you delete from the OS ROM. You do gain free space by deleting stuff from the OS ROM -- but you can only use it to put in some other stuff.

3) No clue, but i think it is pretty much deep within the OS...

4) No clue either
[Windows Mobile Software Development] TofClock:
i'll upload the today

in france it's 11h00

i'll upload it around 15h or 16h

the rom is 1.65a.96WWE

1.65 because evolution of 1.62 CHS

a because this is my first release

96 because 96 Mb of ram

WWE because is it full english

this rom is a base of 1.62.07CHS with this features :

- No cert patch integrated

- 96 Mb of ram with 32 Mb Storage PERSISTENT integrated

- English keyboard

- English Letyter reconizer

- English Block reconizer

- PsShutXP integrated

- Full Localization of rom (help and templates files , time zone , system language)

There is ONE know bug ...

in every soft or hard reset , the chinese keyboard is activated ... there is just to choose english keyboard , and that's cool :) i'va not found how to completly remove the chinese keyboard ....

Be patient , this is a lot of hard work :)
[Windows Mobile Software Development] zohaer21:
so anyone know why the sms doesnt work in custom roms?

is there any solution for it????

thanks
[Windows Mobile Software Development] KTamas:
I guess it is related to the registry somehow...I might do some test at the next days...
[Windows Mobile Software Development] zohaer21:
i guess its not related to registry only...cos i resotred my old registry (where sms was working) and it still didnt work for me
[Windows Mobile Software Development] TofClock:
YEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSS !!!!!!!

The new rom is here !!!!!

1.65a.96WWE for XDA II

1.65 because evolution of 1.62 CHS

a because this is my first release

96 because 96 Mb of ram

WWE because is it full english

this rom is a base of 1.62.07CHS with this features :

- No cert patch integrated

- 96 Mb of ram with 32 Mb Storage Folder PERSISTENT integrated

- English keyboard

- English Letter reconizer

- English Block reconizer

- PsShutXP integrated with trayicon enabled

- Full Localization of rom (help and templates files , time zone , system language and dictionary !!! )

There is ONE know bug ...

in every soft or hard reset , the chinese keyboard is activated ... there is just to choose english keyboard , and that's cool Smile i'va not found how to completly remove the chinese keyboard ....

A BIG BIG THANKS TO :

- BuzzLightyear for a lot of tips and tricks and to

- mamaich for the tools that permit me to make this rom !!

You can download this rom here :

http://tofclok.free.fr/WM2005/new/XDA2_WM2k5_1.65a.96.WWE.rar

Please , report me if you're encountered any bug !!!!!

and post here if you want more stuff ...

a 1.65b.96WWE rom will appears in a few day with transcriber 2.0 and ArcSoft MMS Composer integrated :)
[Windows Mobile Software Development] TofClock:
hey , bepe ...

i'm not able to work with RGUEdit ...

i've downloaded .NET Framework v2.0 Beta2

but whan i run RGUEdti.exe , i've got the error message :

"This application can't start because the configuration is incorrect . Reinstall the application should be solve the problem"

Any idea ?
[Windows Mobile Software Development] KTamas:
There is .NET Framework 2.0 (non-beta, the final) out there too, you should try that...
[Windows Mobile Software Development] ramram:
TofClock,

I wanted to congratulate you about your work, the rom rocks I tested it on my friend HIMA,it's perfect, I guess you missed patching the camera regs, and puting in the Windows>Start Menu>Progams the simupload shortcut.. I didnt check if there's any other thing, I didn't have time to play with it more than 3 minutes..

Donc, gardez le bon travail, j'attends le prochain rom dégagement.

Merci beaucoup.
[Windows Mobile Software Development] TofClock:
Great thanks , i'll put a Simupload shortcut in the next release .....

thanks for your support ... :)
[Windows Mobile Software Development] Asukal:
Help! i tried many times, but following error is comming every time!

and the size of created boot.hv was just 28kb....

Whats wrong,,,,,,,,
[Windows Mobile Software Development] TofClock:
2 things very important ....

you have to respect this :

REGEDIT4 ----> no blank line after this

[HKEY .....

.....

......

BLANK LINE at the end of file

this is very important to verify all double-quote

@="" --> good

@=" --> bad

"ddd"="ddd" ---> Good

"ddd="ddd" ---> bad

run your make_boot_hv in dos prompt , when you have error message , chek the line number and go to your file at this line .... herre is the error
[Windows Mobile Software Development] Asukal:
thanks! id followed your way, and tired many times, still cant.

so i tired to rgucomp -b with boot rgu which has not modified, just add the REGEDIT4 and blank line in bottom.

still have problem, i guess i took wrong way to do.

Now i am blind coz many time,,,,,,

what can you guess what i was wrong???
[Windows Mobile Software Development] bepe:
@Asukal

the boot.rgu has to be in Unicode format
[Windows Mobile Software Development] TofClock:
if you just use rgucomp.exe -b , you may hay an error message that says you a environment variable is not set ...

you should use "make_boot_rgu.bat" in make_hv.rar mamaich archive ....

try to encode this :

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
@="Test Software"
"Version"="0.2.0.0"

[HKEY_LOCAL_MACHINE\Software\Again]
@="Again Software"
"Version"="0.3.0.0"

just write this text in notepad and save it on boot.rgu , in UNICODE mode and then , put the file in same directory as make_boot_rgu.bat and run the .bat

this should be work ...
[Windows Mobile Software Development] Asukal:
thanks a lot, your test TEXT / boot.rgu can be generated to hv.w/o any error,

now i am doing this with Exec ROM. , i couldnt......

this default.hv was taken with Mamaich's ROM editor,,, used imgfsview.exe.(size of default.hv is 676kb)

and also i did try with Dumprom.exe to get another default.hv from same rom.

but it couldnt.....

Dumprom.exe is terminated with error, and dumped just kernel files.

and size of default.hv is very small.....just 60kb.

so i would like to know what kinds of tool you took the default.hv?

also did someone tried to make defaul.hv with Universal ROM?

my proccedure....

@default.hv to default.rgu

@add REDIEDIT4 on the 1st line on default.rgu,then remame it to

Boot.rgu.(follow your instruction)--nothing add the line for the test

@proceed to rgucomp -b, then error comes.

all of them were in same directry with Mamaich hv tool.

Am i so stupid?????

asking bymyself :oops:

I tried anotherway to edit another RGU files, but no effect....some like rgu files

d0a2c4be-04e0-4754-bf71-a62d5278d34d.rgu
[Windows Mobile Software Development] TofClock:
default.hv , ok , but if your default.hv come from chinese rom , it contains specials caracters

i give you an example ...

- english rom default.hv :

[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"

To rgu :

[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"

That's good to reconvert to .hv

- chinese rom default.hv :

[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet CHINESE CARACHTERS"

chinese carachters are not translated by rgucomp , so

To rgu :

[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet

The double quote are not present so ,

That's bad to reconvert to .hv

you have to verify all line in your rgu files to correct the quotes ....[/code]
[Windows Mobile Software Development] Asukal:
So kind you are! but ,,,i am editing Exec english ROM, not chinese or japanes,

i want just add follows

[HKEY_CURRENT_USER\keyboard layout\Preload]

@="e0010411"

[HKEY_CURRENT_USER\keyboard layout\Preload\1]

@="e0010411"

[HKEY_LOCAL_MACHINE\nls]

"DefaultLCID"=dword:411

"DefaultACP"=dword:3a4

"DefaultOCP"=dword:3a4

"SystemLCID"=dword:411

"LegacyLocaleMode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\International]

"ACP"=dword:3a4

"LCID"=dword:411

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]

"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"

"Courier New"="005c"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]

"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"

"Arial"="\Windows\mUnifontM.ttf,mUnifontM"

"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"

"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"

"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"
[Windows Mobile Software Development] TofClock:
ok , so , try to do this ....

you have to add HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT to default.hv and HKEY_CURRENT_USER to user.hv

after , add your registry like this in default.rgu :

REGEDIT4
[HKEY_LOCAL_MACHINE\nls]
"DefaultLCID"=dword:411
"DefaultACP"=dword:3a4
"DefaultOCP"=dword:3a4
"SystemLCID"=dword:411
"LegacyLocaleMode"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\International]
"ACP"=dword:3a4
"LCID"=dword:411

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Courier New"="005c"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"
"Arial"="\Windows\mUnifontM.ttf,mUnifontM"
"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"
"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"

in user.rgu

REGEDIT4
[HKEY_CURRENT_USER\keyboard layout\Preload]
@="e0010411"

[HKEY_CURRENT_USER\keyboard layout\Preload\1]
@="e0010411"

every keys lines start without space ... every value line start with 2 spaces

don't forget the blank line at the end of file

save your file in unicode mode , name it boot.rgu

open a dos prompt and run make_boot_hv.bat

if it gives you an error , check the line number and go to the boot.rgu at this line to correct the error ...
[Windows Mobile Software Development] Asukal:
Thanks so many times!

But sorry still cant.

Fo r tes with boot.rgu in mamaich tool,

it wa no error and generate to the boot.hv

but for my defalt.hv can not......

this is my default.hv and my registry i want to add.

would you help me to test, if you have a time......
[Windows Mobile Software Development] TofClock:
i test that directly :)
[Windows Mobile Software Development] bepe:
\ -> \\

"Symbol"="\\Windows\\mUnifontM.ttf,mUnifontM"

"Arial"="Windows\\mUnifontM.ttf,mUnifontM"

"Courier New"="\\Windows\\mUnifontM.ttf,mUnifontM"

"Tahoma"="\\Windows\\mUnifontM.ttf,mUnifontM"

"Times New Roman"="\\Windows\\mUnifontM.ttf,mUnifontM"
[Windows Mobile Software Development] TofClock:
yes bepe , yes yes yes ...

i've not seen that ... this is your error asukal ...

to define a path in the registry , you have to spcify "\\" instead of "\"

i give en archive ... contains your original default.hv , your regs , and a boot.rgu file ...

this your file already modified :)
[Windows Mobile Software Development] buzz_lightyear:
hi guys,

cool stuff is happening here...

I wish I have that much time as you do... :o(

buzz
[Windows Mobile Software Development] Asukal:
@Bebe and TofClock! you save my life! thanks!

and i got flash it on my universal! and got it! :D :D

But,,,,,,,,,, regostry of [nls] and [international] were active in my registry,

the font link is not registered!

should i add the line of

[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink]

before follows?? any way, i am trying this now! almost 4 oclock morning here!!! but i cant stop!

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SkipTable]

"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"

"Courier New"="005c"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]

"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"

"Arial"="\Windows\mUnifontM.ttf,mUnifontM"

"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"

"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"

"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"

thanks thanks!
[Windows Mobile Software Development] Asukal:
i got the reason! i got!

just one blank,,, i will repot lator!
[Windows Mobile Software Development] bepe:
BETA!

-open, save and convert *.rgu and *.hv files

-hide identical entries

-edit entries (No input check!!)

-copy entries from one file to another

REQUIRES .NET Framework Version 2!!

CAN NOT open *.hv with chinese carachters!!

CAN NOT add new entries!!

(rgucomp.exe implemented)
[Windows Mobile Software Development] buzz_lightyear:
@bepe

c# || c++ ?

buzz
[Windows Mobile Software Development] bepe:
c++
[Windows Mobile Software Development] Asukal:
Thanks all guys!

i did convert rgu to hv file according to your lectures......

now i can do much more modify,,,to localize the Universal!

thanks so much! :D
[Windows Mobile Software Development] bepe:
knows somebody how to get the arguments from the exports of a dll?

The dll of the first post in the 'make_hv.rar' -> cereg400.dll

can't find something in Google or MSDN

the exports are:

CEREG_RegCloseKey

CEREG_RegCompactHive

CEREG_RegCreateKeyEx

CEREG_RegDeleteKey

CEREG_RegDeleteValue

CEREG_RegEnumKeyEx

...

RegSetValueEx

RegTrimHive

RegUnmountHive

@mamaich Where is this file from? in Platform Builder 5 is one but not the same size (did not work with rgucomp.exe). And I cant find the rgucomp.exe.