yashsingh1/xdaforums huggingface dataset:
[P3400 ROM Development] Duron23:
@ Krazy,

I have a old GENE too, let me know if I can help you in getting the XIP's for it.
[P3400 ROM Development] ankit360:
actuly there is lots of changes in xip from wm 5 to wm 6.5 lots of module has been removed or replace , like enflit.dll replased with menflit.dll there is no initvmmap.exe in my orignal rom but in latest aku of wm6.1 and 6.5 u get it

sorry for spelling mistake i m writing from my mobile
[P3400 ROM Development] ankit360:
forget to tell u that initvmmap.exe is not device related its part of sys build you get it from doner xip

also tell me what actuly happen if you change memory address in nk.exe to get more ram

i think if we change address we reduse video memory in my calculation default video memory is 9mb

and reduction in video ram is not good for wp 6.5

64 - 9 = 50 - pagepool = total free ram

correct me if i m wrong
[P3400 ROM Development] krazy_about_technology:
Oh, initvmmap.exe is SYS related file, my god. then what should we do yaar, i think we shouldn't put it in XIP na? But how come some XIPs for old gene (fully ported) have this file?

Also what do you think, changing encfilt.dll with mencflt.dll and then relocing it to the address of the encfilt.dll will work or not? coz all new phone, elf, viva, all these use this new file.

And about the calculations, yes you are right. I think the ROMs which have more ram is doing blunder with Video memory. Your calculation seems absolutely fine. So on my phone i am getting total 50 MB, and doing this calculation i have 5 MB PP so 50+5=55-64=9MB so i dont have video memory cut on this emulator extracted ROM, right?
[P3400 ROM Development] ankit360:
actually all above post are written by me is not told by anyone its my logic so plz correct me if i m wrong

ok first thing about initvmmap.exe and encflit.dll

all xip hast two part one is & OEMXIPKERNEL and MSXIPKEREL

MSXIPKEREL is related to SYS or BUILD and OEMXIPkernel is device related

encflit.dll and initvmmap.exe is in MSXIPkernel folder so you can put initvmmap.exe from emulator xip.

regarding how to reloc this file i don't know because i use xipporterex to port xip

first let me clear you i m not taking about your rom i m talking about tweak you done with nk.exe end memory addresses to get increased RAM

how much free ram you get after done this tweak ?
[P3400 ROM Development] BesFen:
I have the problem like it when i use helgee's xip address, so i don't use it again.

Here is my 21234 Xip and original WM 6 Old Gene's Xip, there are minor different address in that both of xip, and for this time i use address in 21234 xip.

http://www.mediafire.com/?zjygnzymmzc

http://www.mediafire.com/?qwyged2emze
[P3400 ROM Development] BesFen:
Sorry Double Post...
[P3400 ROM Development] haree:
@krazy feed back reg my problem

hi

now that i have moved to ur 21222 build i have not faced the problem of my phone restarting while using the charger so im sure that my phone is giving this problem with some specific ROms and that it is not a problem with my phone this is just for ur info :D
[P3400 ROM Development] ankit360:
try this http://www.mediafire.com/?mtnim5t1nyn
[P3400 ROM Development] krazy_about_technology:
Hey thanks ankit. I will try that. In the meanwhile, i reported the xip for my phone, for the emulator rom using my original WM 6 XIP as base and i have got good result. I removed the encfilt.dll and replaced it with mencfilt.dll, it relocd to the same address without problem and its working perfect. I tried enabling the storage card encryption (that uses the mencfilt.dll or encfilt.dll) and it works nicely. So that part is done.

Initvmmap.exe is not present in our XIP, the reason is, our xips are for WM 6 while this file has been introduced in WM 6.1 when the virtual memory mapping technique was changed and dlls greater than 64kb in size are loaded into slot 64 instead of slot 0. In 6.1 this applies to the module dlls but not compiled ones. In 6.5, this applies to both module as well as compiled dlls. This process saves RAM for a process as slot 0 is the slot used for loading dlls for a process's use. For more details, you can see the Windows Mobile Team blog, they have a 2 part article on it titled "Slaying the virtual memory moster part 1 and 2".

So what i did, i included it in the SYS inside a package. This is also working now and result of that is that with my own xip, which use to give 21 MB of memory on start, its now giving 24 MB of memory with no problems at all related to performance, battery or hangs. I disabled automatic startup of windows live as well as My phone services using Task Manager and now the ram is 26.90 MB. Memory management is also working a bit better, although GWES.exe still eats memory after 1 day of usage, but it eats less. Helgee's XIP although was not giving me battery or performance problems but my phone use to hang randomly even with a 5 MB page pool. Now the same config is working perfectly well.

So i guess initvmmmap.exe is a required file and removing it will give you low performance in terms of RAM. Also mencfilt can replace encfilt.dll perfectly well, just use the same addresses as it is in encfilt and do not forget to put boot_ms.rgu in the XIP as well.

EDIT: I found this information valuable too : http://hi.baidu.com/donghaozheng/blog/item/1a0f37db4798196ed1164e56.html
[P3400 ROM Development] ankit360:
can you give me your new XIP.bin plz also don't forget to add this entry in boot.rgu

[HKEY_LOCAL_MACHINE\SYSTEM\Loader\DeviceStacks]
"LoadHigh"=dword:1
[HKEY_LOCAL_MACHINE\init]
"Launch19"="initvmmap.exe"
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\bthlink.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\sbc.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\bta2dp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ethman.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\eapol.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\wzcsvc.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ipv6hlp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ndisuio.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\dhcpv6l.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ws2instl.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\redir.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\irdastk.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\tcpip6.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ipnat.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\netbios.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\dhcp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\tcpstk.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\ppp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\afd.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\l2tp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\pptp.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\bthuniv.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\btd.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\asyncmac.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\unimodem.dll]
"device.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\ModuleInfo\sqlcese30.sys.dll]
"filesys.exe"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader\LoadModuleLow]
"rsaEnh.dll"=dword:1
[HKEY_LOCAL_MACHINE\System\Loader]
"EnableUpperModules"=dword:1

off-topic

windows structure is not memory friendly it load driver at boot like Camera , ErrorReport, SQM , even you don't use it, at this linux manage this thing better loading module as per there requirement now don't start liux vs windows war here
[P3400 ROM Development] krazy_about_technology:
Well, i will add these things later on when i flash again, right now i just added this registry using a reg file to my phone. I think these will affect the working of initvmmap.exe as well. Lets see what effect we get. I am attaching here my xip, with your registry changes. initvmmap.exe is also attached, insert it somewhere in your sys.

UPDATE:

BTW, about the loading structure, yes its not that much optimized. But i think developers too have to do somethings in it. Like the Camera DLL, if it is known that this dll will remain in memory all the time, the developers should have made a small stub dll that would call functions in the original DLL and unload it when done. Although this will require double function calls, Camera doesn't do anything that requires realtime processing or anything like that, so a 10-100 milisecond of delay wont matter. But it would have saved a lot of RAM. Like in case of google maps, using such an approach saved me about 1.2 MB of phone memory. But writing a driver dll is something i cant do right now. As for SQM, Error Reporting etc, we almost always remove them from our ROMs so that is not much of my concern. I think the developers could do a lot of things in order to make this existing structure of WinMo do well.
[P3400 ROM Development] BesFen:
----Deleted----
[P3400 ROM Development] krazy_about_technology:
Besfen dear, there is no need to give me this attitude. If you dont want to share then dont share. And for the matter of the fact, ankit posted something which gave me an idea so i worked on that before. Old gene is important for me as far as my friends of this forum is concerned but its not my first priority. I first do anything that make my device more functional for me. As you can see, i backed off from your post to do research for new gene which will benefit old gene in future too. After i finish on that, i was going to download and see your XIP. So if you removed it, i dont have any problem. It will just keep the people with old gene away for some more time from the innovations that i am doing.

And by the way, once you upload, you dont have to pay anything to keep it there. So you removed it for satisfying your ego thats it.

Calm down, read the posts after your post, think and then tell me, am i talking something wrong? You and Ankit are both my dear friends, there is no question about it :)
[P3400 ROM Development] sso:
hiiiii

:) good work krazy but there is something (bubble breaker) is not working

and (connection setup) is not included and im not able to connect to the internet but after all nice work and thx man :D
[P3400 ROM Development] krazy_about_technology:
Connection Setup is not there in the roms but if you go to connections, you will get a link called Automatically Setup Connection. Click this, and it will do the needful. WM 6.5 includes ADC (Automatic Data Connection) utility which does the job of connection manager.

About bubble breaker, i didn't knew about it and i am not using this ROM currently so cant do anything right now. When i'll release another version, i'll fix this. Thanks for reporting.
[P3400 ROM Development] BesFen:
Hi krazy,

I am sorry for that, You right. :D :D :D

I put the link again, I hope it can help you.
[P3400 ROM Development] tendulkardr:
Excellent rom

Sumit is the king of gene

only the active sync problem still persist

anyway but an excellent rom

thanks a ton
[P3400 ROM Development] Duron23:
@Krazy

I have been trying to cooking a ROM using your Pro 6.5 v3 ROM as a base ROM.

The issue I am facing is IE and windows widgets are not working. IE won't open at all, though Icon is there in programs menu. No error's, it just doesn't open.

Windows widgets through error "riahost.dll not found or not signed properly....." something like that.

This happens even if I just dump it and rebuild it without any modifications.

I am following ramersonw cooking tut.
[P3400 ROM Development] krazy_about_technology:
@Besfen: Thanks dear for understanding. I will download and try the XIPs as soon as i get time. I am a little busy due to a project deadline.

@tendulkardr: Sorry, i forgot, what problem are you getting with activesync?

@Duron: There must be some problem with the DSM of these packages in the SYS. I am giving a link to the packages for PIE and Widgets here. Replace these folders and see if it helps.

http://www.mediafire.com/file/zykmiizt12d/PIE_Widgets_21728.zip
[P3400 ROM Development] Kamlesh1978:
Just an Idea

hi

I download all of your roms & have used all of them so was just curious to know whether there is something new coming up shortly

Are you working on something ?

Also i had an idea can you use the poorduckly vista suite in one of your newer roms & see if you can come up with something new

regards

Kamlesh
[P3400 ROM Development] krazy_about_technology:
Well, you never know :D Sometimes, some idea just clicks, just like that! and i make a rom around it :D So cant tell you really. About the poorlyduck vista suit, i will see if i can consider it. Thanks for the suggestion :)
[P3400 ROM Development] Duron23:
Thanks a lot krazy, downloading it striaght way.
[P3400 ROM Development] tendulkardr:
sorry sumit

but after using it for 2 days i am not having a single problem

gr8 stability and excellent speed with a fantastic battery life

u r gr8

this rom rocks like you
[P3400 ROM Development] haree:
saying godbye to this Great forum

Dear all

Friend as of today i have disposed my gene and got a new HTC touch 3G

it has been a great experience for me here and i have made many nice friends as i dont have a gene any more i would like to say goodbye to all my great friends here and thanks u all for all the great help and guidance given to me

a special thanks to all the great ROM gurus here
[P3400 ROM Development] imblfmstr:
Hey Haree

are you really leaving this thread....

njoy ur new phone buddy....

how much u paid for the new phone....

I bet u will really miss this forum

no other forum has this kind of support & excellent ROMs

People like Krazy, Ankit, Ramersonw, Besfen & many more have made this forum a real pleasure....
[P3400 ROM Development] vaibhav_batra_the_techguy:
My deepest sympathy with Haree....Haree can u pls tell us wht happend in those last momemnts? What was in ur heart when u took this cruel decision.......

One more GENE died because of fast developing technology...
[P3400 ROM Development] BesFen:
Why did you say "GOOD BYE"? Although you don't have GENE anymore, you still can come to this Forum, Friend is not determine that you have same PDA/device or not.

If you visit touch 3G forum don't forget to go here just to say "Hello" and that is what friend do.

Remember....you have friend here......:D:D:D

Hi Haree....

Can you share your experience with touch 3G?

1. How long is the battery life?

2. How long is the battery life with exchange mail?

3. What is the OS Build? If it have the newer Build of OS, you must port it for us :D:D:D
[P3400 ROM Development] haree:
to all again

First

sorry Krazy for using ur thread i did not want to create a new thread for this info

and to all

Yes it was very very hard for me to give up my gene as u had mentioned its people like Krazy,ankit,ramersonw, helgee, & besfen who have made this site so interesting its that im a mobile crazy guy and i could not kill the itch to buy a new phone and i did not have the finance to keep my gene and also buy a new one so with great sorrow im my heart i had to give up my gene for my new phone :(:D

and cost :

New touch 3g at Bangalore india cost INR.20k with 4Gb mem

i got 5K for my old gene so i paid 15k for new phone

And my reason for keeping u posted is that i have seen in the past that many very active people in this forum just vanish without any info i did not want to be such a person as i value all u guys i met here as my very good friend and i wanted to keep u posted :D:D
[P3400 ROM Development] techmate:
@Haree: Enjoy the newly acquired gadget:D. We will miss an active member from this forum. But life moves on;). Do keep in touch:). Do drop in here to say hi! and share some tips & tricks!:)

@Guys: I am sure the GENE will live long:D. I am sure our ROM gurus would continue dish out a new ROMs ( latest being based 21812) to keep pace with window mobile's development:):)
[P3400 ROM Development] krazy_about_technology:
Yeah, Gene will go on till there are phones out there in the market as this phone is still one of the cheapest available. As for me, i may switch to a Touch Pro later this year, but till then, Gene forum is gonna rock like ever. And I may not sell my gene, if some money issue doesn't arises at that time.

I have decided for touch pro as this is the cheapest available Windows Mobile phone with hardware keyboard, Manila 3D, now its indian model is also coming with 3G and most importantly, this is one old phone for which native windows phone 6.5 kernel is available. Its about 24K right now, and will drop more once WM 6.5 phones start to come out. :)

As for 21812, only that the build number is new doesn't means that the OS is actually new. Builds started by different companies have different first 3 digits in build number, but what matters is around which WinMo 6.5 official MS buid its built around and how stable it is. The official microsoft series is 212xx. 218xx series has just started by some company and previous versions of this series were not very stable. I will wait for Ankit and other people's response on this build before moving on to it.

@Haree: No problem buddy, its good that you didn't started a new thread uselessly. These ROM threads are visited by almost everyone everyday so its fine to post the message here. I will miss your feedbacks on ROMs, but i am happy for your decision to move on to a better device. I wish you find good chefs there too and you keep rocking your windows mobile. BTW, do keep in mind the things i said on call yesterday, ok.
[P3400 ROM Development] ankit360:
20k for Touch 3g is too much here in mumbai i m getting new HTC Touch Diamond - for 19-20k :D

5k for old gene is good ;)

http://xdaforums.com/showpost.php?p=3964333&postcount=206
[P3400 ROM Development] krazy_about_technology:
Oh, Thanks Ankit for providing me details on the new build, i will upgrade this rom shortly. Is the XIP you provided is already ported to new Gene?

Anyways, As for Haree's phone, no he has got at a nice price, although in Delhi its 1K less. But dont compare it to diamond yaar, diamond model that comes in India doesn't have 3G, its just edge. Otherwise i would have buyed it long time back. Also the battery of diamond is less in capacity, 900 mah, and no expansion slot. He got his Touch 3G with 4 GB card, and there is possibility to upgrade upto 32GB. So i think its a bargain against diamond, atleast in India.
[P3400 ROM Development] ankit360:
yes xip is for new gene

thanks for your comment i m not going to buy new phone any soon so it doesn't matter also i miss some features on HTC device, HTC - windows mobile has good software support but HTC hardware is really lag, eg i has cool software like HTC Album but phone produce mediocre images :mad:

also no 3.5mm audio jack :mad:
[P3400 ROM Development] krazy_about_technology:
Ya thats true. I also feel that. HTC should work out on hardware. Once you get a high end phone like a Touch Pro, you will feel bad if you upgrade again, coz you get almost same hardware and paying that much for software doesn't feel that great. Anyways, still the support for HTC devices is far greater than any other device.
[P3400 ROM Development] haree:
for ur info a@ ankit

hi

ankit touch diamond is available at bangalore at 18.5k :D

but i wanted a 500Mhz proc and wanted 3G so i decided to buy the touch 3g and the price included 4Gb mem also or the phone is only around 19500 at bangalore extra 500 i paid for the 4GB mem card
[P3400 ROM Development] ankit360:
ohh i never know touch 3g has 500Mhz proc i just see full hardware Specs now

@ this specs 20k is right

See Xip has Two Part One is MSXIPKernel another is OEMXIPKERNEL

OEMXIPKERNEL is device related it change device to device even ie OEMXIPKERNEL's file and modules are different in old and new gene or gene ,elf, topaz.

MSXIPKernel is SYS or Build related ie. it change Build to build not device to device menace if you even has two different device with same build MSXIPKernel's file and modules remain same

so address or MSXIPKernel's file and modules doesn't matter only take care of address do not overlap :)

but address of OEMXIPKERNEL's file and modules does matter, because in IPL, it's mention so if you change it device don't boot

here is the list of file and modules in MSXIPKernel

723fb954-d931-4348-b672-82a188e587b5.dsm
723fb954-d931-4348-b672-82a188e587b5.rgu
sysroots.p7b
boot_ms.rgu
mxip_lang.vol
busenum.dll
cachefilt.dll
certmod.dll
coredll.dll
crypt32.dll
device.exe
devmgr.dll
diskcache.dll
fatfsd.dll
fatutil.dll
filesys.exe
fsdmgr.dll
fsreplxfilt.dll
hd.dll
imgfs.dll
initvmmap.exe
mencfilt.dll
mspart.dll
osaxst0.dll
pm.dll
regenum.dll

i hope i clear my point if you still confuse tell me ....
[P3400 ROM Development] krazy_about_technology:
@Ankit360:

Thanks for all this info man, this really solved my one doubt. I know MSXIPKERNEL is part of the SYS and its always kept of same build as of rest of the SYS. OEMXIPKERNEL is from the Manufacuturer of the phone that includes the nk.exe kernel too. These are driver and other files specific to the device so these should not be changed.

What i didn't knew was that the addresses of MSXIPKernel need not to be exact, if they just dont overlap, its fine. Thanks for this info buddy. But i also came to know after reading that the base address of busenum.dll is important. This defines the starting address of the files for a device and this address differs in both new and old gene also. Also there are about 5-6 different base addresses of this file that work on gene. Also the files hd.dll as osaxst0.dll can be removed from XIP as these are used with kernel debugging by developers of Windows Mobile. These are not needed for normal operations.

SO how can i make sure that address of initvmmap.exe doesn't overlap, what technique you used?

The XIP you gave me didn't worked on my New Gene. It booted upto the WIndows Mobile Splash and then halted, where initvmmap.exe is executed, i think. The phone hanged becuase virtual memory map didn't got initialized. I re-ported the XIP using the original WM 6 XIP as base and didn't touched the address of initvmmap.exe, it worked.

So i think the overlapping problem is not there in this XIP, but for future, please let me know how can i make sure that the addresses dont overlap. And yaar dont send me to the Amit Babrekar's thread, coz i didn't got the idea even after reading many times. So I would highly appreciate if you can make things a bit simple for me :)

BTW, the build 21812 is good, giving me good performance and stability although i dont think much has changed in it since 21324. You noticed any changes?
[P3400 ROM Development] salim1001:
Do we have 21812 ROM for old Gene?

I noticed that everyone here is talking about it...sounds good...can we have the link to the ROM please?
[P3400 ROM Development] krazy_about_technology:
Its in progress. Will post it by tomorrow eve most probably :)
[P3400 ROM Development] krazy_about_technology:
Pro Users Rom WM 6.5 Edition version 4 (build 21812.5.0.50) is Online!

I have cut many windows mobile default features including Remote Desktop, WIndows Live, MS My Phone, Marketplace and SQL Server. My personal version that i am running has all these and the difference in phone memory is 4 MB. RAM is same.

If anybody likes to have a complete ROM like my personal version then please tell. I will only upload that version if i get enough demands.

Enjoy this version! Its quiet fast and stable. WM 6.5 is getting up to the speed of 6.1 slowly with all these builds. Lets see what the future holds :)
[P3400 ROM Development] Duron23:
Hey Krazy,

I have been requesting you for the your personal version. Can you please provide me ???
[P3400 ROM Development] Addicted2xda:
@krazy : Hoorray! Yeah please upload the version you are using :).
[P3400 ROM Development] danny7837:
Count me in for the personal version of this rom..:)

And thanks so much for this new build...!!!