yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] CRACING:
Glad to know. Can wait to try. :)

BTW; I cannot understand this ( Sorry for n00b queries ), what is cache and how much cache size I should choice?

I have htc wizard which has limited ram or less ram, however 20MB will be free on fully loaded ROM. So how much cache size you recommend?

Best Regards
[Windows Mobile Apps and Games] ShaDrac:
Extendir version 1.05 released

This release makes everything stable again, no more freezes and no more lockups.

Source of instability was the option to configure settings through registry (this was added in Extendir v1.01).

Well, now it's removed.

Extendir v1.05 is released in a few versions with different cache settings;

a 0MB, 2MB 4MB, 8MB, 12MB, 16MB version.

On request I will compile even versions up to 200GB. :D (but I won't test it for you :D )

I think you will enjoy Extendir v1.05! :)

ShaDrac
[Windows Mobile Apps and Games] moesfeld:
OK I request a 199 TB Version for my TG01:D

(Can´t afford it right now)

NO! I hope spocky does magick
[Windows Mobile Apps and Games] ShaDrac:
Hi CRACING,

In the cache (which is in ram memory) Extendir stores your file data, its function almost as your current (windows mobile) datacache that's found in the registry under:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS]
"Flags"=dword:00600014
"FormatTFAT"=dword:1
"CheckForFormat"=dword:1
"MountAsBootable"=dword:1
"MountAsRoot"=dword:1
"EnableWriteBack"=dword:1
[B][COLOR=red]"DataCacheSize"=dword:00000800 ;2048 sectors(2048*2048=4MB)[/COLOR][/B]
"FatCacheSize"=dword:00000100 ;256 sectors(256*2048=512KB)

If you are really low on memory you could alter your current "DataCacheSize"=dword:00000800 to "DataCacheSize"=dword:00000600 or "DataCacheSize"=dword:00000400

Since this "DataCacheSize" main purpose (now with Extendir) is only for the lazy write back. This should give you 1MB-2MB ram back.

It will drop your write & copy benchmarks, but in daily usage you won't notice it because your phone doesn't write that much to your flash memory (storage memory). It mostly writes a little bit, now and then to your flash memory (storage memory).

Which cache version of Extendir you should choose depends on the programs you run on your phone.

A golden rule is, your phone must not run out of memory if you're starting up an application on your phone.

But everything you could spare, I would give it to Extendir, it gives you more speed and longer battery life! :)

I hope this helps, otherwise let me know!

Enjoy! :)

ShaDrac

EDIT:

It's also possible (for older devices) that your (windows mobile) datacache is found here:

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00000064
"Paging"=dword:1
"EnableCache"=dword:1
[B][COLOR=red]"CacheSize"=dword:4096[/COLOR][/B]
"Util"="fatutil.dll"
"CacheDll"="diskcache.dll"
[Windows Mobile Apps and Games] ShaDrac:
LOL :D

I know Spocky does magic. :)
[Windows Mobile Apps and Games] 1tester01:
Is there any change between Test14 and Extendir v1.05?
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, I just wanted to say thank you again for your hard work, and a donation will be coming soon. Now just experamenting with different values and pagepool. I have the most problem with write speed.
[Windows Mobile Apps and Games] Antubis:
Just to tell 1.05 release seems to work fine on Nike with WM6.5 23009 build.

I flashed 4MB version 7 hours ago and my phone look to be fine...

I've to make Extendir cabs now ;)

[Edit] : back home now, file access via ActiveSync look to be impossible (or very very slow...) :S Let's try to solve it...
[Windows Mobile Apps and Games] CRACING:
@ShaDrac

Thanks a lot for detailed infos.

BTW: in our wizard, FATFS and its Cachesize will be under :

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC2\FATFS]

but it newer device, it will be under :

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS]

as you said. :)

Best Regards
[Windows Mobile Apps and Games] ShaDrac:
Yesterday was a big day for me,

I've become a father. :)

My son Aron:

ShaDrac
[Windows Mobile Apps and Games] qq108108108:
your son is really Q,congratulation!!!
[Windows Mobile Apps and Games] Mandragore:
Congratulations and all the best to your family!
[Windows Mobile Apps and Games] l3v5y:
Congratulations! :)

Now you have a reason if you can't develop this for a while... :)
[Windows Mobile Apps and Games] Noonski:
Congrats, now don't show your face here for a week or you will get a forced vacation to spend with the family ;)
[Windows Mobile Apps and Games] hmota78:
Congratulations !!!
[Windows Mobile Apps and Games] muckelmaus:
Well done, and congratulation to your wife, son and you.

In case you're online here, within the next whole week, your account should be dismissed.
[Windows Mobile Apps and Games] twopumpchump:
congrats shadrak :D your life has now changed forever lol....you will like it ;)
[Windows Mobile Apps and Games] watzone69:
Congratulations ShaDrac!

Don't answer this, let someone else do it!

I have made a cab using Extendir cabs and then installed it with Preset Installer. Now, I get an error (Unable to read configuration file located in blah, blah,etc.) when I try the shortcut. So, my question is, how do we correctly make the cab? I have tried:

1. Not changing anything.

2. Doing the changes described here (but I don't think I am supposed to do this).

Do I just need to edit the shortcut? If so, where should it point to, the windows directory or the Extendir directory?

Thanks.
[Windows Mobile Apps and Games] spocky12:
Congratulations !

Edited : false alarm, everything works well.
[Windows Mobile Apps and Games] bobsbbq:
Congratulation on the new baby. They will consume some of your time and you should enjoy it. I have to girls one 4 and one 2, but one thing I can say it won't be too long and you will be glad to get a break on the keyboard. I use this as my release and relax time. So far my 1.05 is working good.
[Windows Mobile Apps and Games] Antubis:
Congratulations to the new father (and his family) :)

Don't worry about Extendir for a while, it works almost completly fine so you can take care of your son with a free mind
[Windows Mobile Apps and Games] mondilv:
Good idea!

Will be much better, if it possible to use at cooking rom level. When needed files, like *_manila, etc will be in the \Extendir\, not in the \windows\ already.:)

Didn't try to connect to bepe? Is it possible?

............................

Ooops, saw just now.

Congratulations for new status!
[Windows Mobile Apps and Games] pastert33:
Does this work with a CDMA Touch Pro?
[Windows Mobile Apps and Games] fwt:
Well, while you worked on Extendir v1.05 your

wife

successfully published SON 1.0 :D

Congrats and all the best to the whole Family!

Hope all went well!!

regards

fwt
[Windows Mobile Apps and Games] 1tester01:
Congratulations!!!
[Windows Mobile Apps and Games] ShaDrac:
Thanks!

Thanks guys for all the congrats! :)

ShaDrac
[Windows Mobile Apps and Games] spocky12:
As for what I said in previous page about active sync not working well sometimes with extendir, forget it. After a few tests, it turned out to be a problem with my pc at work :o.

Looking forward to new improvements in extendir and preset installer ;)
[Windows Mobile Apps and Games] Daniel001:
Well done!! Another great result! :-)

Congrats!
[Windows Mobile Apps and Games] anryl:
:cool: nicely DONE m8 :cool:
[Windows Mobile Apps and Games] EpiphanyNL:
Hi ShaDrac,

Congratz on the birth of your son!

I have a cooked WM6.1 ROM with extendir now. Currently I'm second place with the ROM on the benchmark thread for blackstone ROMs, pretty nice for a first Beta ROM.

Im using extendir 1.05 with the 12 mb cache setting.
[Windows Mobile Apps and Games] kwbr:
Big THANKS

Hi ShaDrac, first of all Van Harte! Enjoy your son. A big thanks for this driver. I followed the thread for a while and will release a first version of one of my blackstone roms with extendir. Pretty easy to cook, blastering fast and stable so far. I use a 4MB cache, version 1.05 at the moment.

Edit; have some issues with activesync slowing down. Reported earlier in this thread also.
[Windows Mobile Apps and Games] ShaDrac:
Hi kwbr,

Glad you enjoy Extendir. :)

About the activesync, wasn't that already fixed by the one that reported it? Maybe he knows how to fix it. :)

ShaDrac
[Windows Mobile Apps and Games] kwbr:
Can anyone confirm syncing of notes is working? I have a feeling fsreplxfilt.dll is bypassed.

I use these order settings

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS\Filters\fsreplxfilt]

"Order"=dword:11 ; must be loaded before other filters, doesn't this go wrong????

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FLASHDRV]

"Order"=dword:20

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FLASHDRV]

"Order"=dword:0 ; read on the forum this should also be 0?????

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\filters\Extendir]

"Order"=dword:0
[Windows Mobile Apps and Games] ShaDrac:
Help needed for exploring new territories

Ok, I know it's a bit early since most chefs must get a bit of feeling how they should cook a Extendir enabled rom and after that what kind of possibilities there are but ...

There are three areas that need more exploring.

I wish I had the time to take the lead in this but I lack the time at the moment, so I hope our community will pick this up and that maybe YOU think: "Hey, I think I could help with that"!

This would give me the opportunity to focus more on Extendir because besides nice features there are still 41 speed improvements for me to add to Extendir.

The three areas are:

Building Multilanguage roms

Adding Extendir to XIP

Wish list for Preset Installer v1.01

In depth:

Building Multilanguage roms

With Extendir (and Preset Installer) it's now possible to build high performance Multilanguage roms.

The chef cooks up a minimal pretty naked rom, the end user selects after flashing in what language he wants to use his phone, the correct files are installed (for example with Preset Installer) and he's has Windows Mobile and the apps installed in the language of his choice.

Two months ago I did some successful initial tests of this, but I didn't want to explore it further at that moment since I needed to focus myself at Extendir.

So if YOU know somewhat about building Multilanguage roms, share and demonstrate your knowledge!

If YOU think you could use some tools for this to make it easier for most people, let it know! Because I and others can create those tools.

Adding Extendir to XIP

If we could successfully add Extendir to XIP then it would be possible for a future version of Extendir to also boost performance for the files already cooked in the rom and boost overall performance because of the way how Windows Mobile works.

At the moment I succeeded in adding Extendir to the XIP but then Extendir doesn't work anymore.

If I would rename Extendir.dll to cachefilt.dll I would have a none booting device, but at least something happened.

Maybe a lead: In the old days there was a XIP chain but since wm 5.0 I never heard of it again.

So if YOU know somewhat about XIP and XIP porting, share and demonstrate your knowledge!

Wish list for Preset Installer v1.01

At the moment I have:

Optional reboot

Default presets to install (which can be cancelled within 10 seconds)

Mandatory presets to install

Case-insensitive folder/file names (because of manually renaming folders/files)

So if YOU have a request for coming Preset Installer v1.01, let me know!

I hope we, as community, pick this up so we all can benefit!

In the meanwhile, enjoy! :)

ShaDrac
[Windows Mobile Apps and Games] 1tester01:
New possibilities

Wow... :)

End users choose which language his rom is during initial setup / customization?!!

This is a GREAT idea!!! :cool::):cool:

And this is already possible with Extendir 1.05?
[Windows Mobile Apps and Games] Nusferatu:
It's not so difficult i think:

1) first, make some clean ROM (WWE for example)

2) then, make CAB with *.mui for your preffered language , and _setup.xml , that will create *base* initflashfiles folder structure for your lang (xmpl: *Start menu* = *Главное меню* - lang 0419 (RUS) etc.)

3) then we need to copy (or *mirror* or hardlink) all the lang dependant files in to new *base* folders

4) now set MUI varible (in registry) to that you need (xmpl: 0419)

5) Reboot, and try out your new multilang ROM :)

(Only thing - we need an app that can hold installed lang records,and can switch between them )
[Windows Mobile Apps and Games] 1tester01:
Is it that easy? :)

What do you mean with

Or is that for hot switching between languages?
[Windows Mobile Apps and Games] Nusferatu:
I think that is not possible to switch langs witout softreset

(so - no hot switch :) )

And with this:

I mean , that if we made this *multilang* ROM, we would need somebody to write a little app, that will store info from *Lang CABs* (list of *installed* languages) , and can switch registry key, that handle current MUI

([HKEY_LOCAL_MACHINE\MUI]

"SysLang"=dword:419

and

[HKEY_CURRENT_USER\MUI]

"CurLang"=dword:419)
[Windows Mobile Apps and Games] ugumba:
Hey - did you intend to say softreset? That sounds hot enough for me, compared to the current state of affairs... :-)

Maybe Extendir actually can be used to switch languages at the next reboot: run an app to select the language, install the required changes (cabs) into a fresh set of Extendir folders. During reboot, the aliases are updated, and then... "Guten Tag!"
[Windows Mobile Apps and Games] Nusferatu:
...And Here is working multilang CABs for Kaiser :)
[Windows Mobile Apps and Games] farahbolsey:
Hi and first of all, congrats for the baby :)

I'm trying to cook extendir in my KS20 6.5 FB ROM.

what i did was:

put the few lines in the boot.rgu, reorder the drivers and rebuild the boot.hv then complete the xip process. This part is ok.

Then I took the "Extendir" folder (8M cache) and paste it in OEM/KS20/COMMON. This part is ok.

My ROM boots fine, but extendir doesn't launch at first boot. Extendir is in windows so I think this is ok.

What I need to know is:

1-as "menflict" is in my XIP, what am i suppose to edit in the "boot_ms.rgu"?

2-where do I put the Presetinstaller folder of the Presetinstaller config package? OEM/KS20/COMMON?

3-where do I have to put "the config_operator.txt"? Root of my SDcard?

Hope you can clarify this for me.

Thanx in advance.

Franck
[Windows Mobile Apps and Games] ShaDrac:
Hi Franck,

A few questions:

which kitchen do you use? If you use ervius or bepes latest kitchen, you only need the changes in your boot.rgu, you don't have to rebuild your boot.hv and port your XIP. These kitchens do that for you.

which OS build do you use?

can you post your boot.rgu?

You say "Extendir doesn't launch at first boot", what do you mean? You could check if Extendir works if you copy Preset Installer.exe on your storage card in \Storage Card\Extendir and run it. On its welcome screen it tells you if your phone is Extendir enabled

The answers to your 3 questions:

In the "boot_ms.rgu" you can comment every line of it with a " ; ". So if every line starts with a ; your probably OK since (as far as I know) only the menfilt is in the boot_ms.rgu.

Yes, that would work.

Find you existing "config_operator.txt" in your kitchen, it probably will be in OEM\KS20\COMMON\OperatorPkg

Let me know if you succeed!

You could also ask Spocky since he has advanced a lot with Extendir on a KS20. :)

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] kwbr:
Could it be memory allocation? You can contact no2chem about this. He wrote several drivers to include in the xip.
[Windows Mobile Apps and Games] farahbolsey:
thanx ShaDrac for the answer.

I'll get in touch with Spocky for some more informations.

Franck
[Windows Mobile Apps and Games] ShaDrac:
Preset Installer v1.01 (Visual User Customization) Released

Changelog:

02.08.2009 - Preset Installer v1.01

Optional reboot

Case-insensitive folder/file names (because of manually renaming folders/files)

Known issues:

(None) :)

Possible features in future releases:

Default presets to install (which can be cancelled within 10 seconds)

Mandatory presets to install

(Do you have a request?)

I just waited with the last two features, my brain is spinning with ideas :D

Enjoy! :)

ShaDrac
[Windows Mobile Apps and Games] Kev007:
totally awesome!

waiting for a fully tested ROM before i use this.

but i still think this deserves a sticky!
[Windows Mobile Apps and Games] 1tester01:
sticky +1

Thanks,

It helped me getting started.

It's actually quite easy creating multilanguage roms :)
[Windows Mobile Apps and Games] Nusferatu:
So , the only one problem - we need an *lang switch app* :D

Hmm... I'm getting some strange errors with FS :

- Can't create folder or copy files to Storage Card from PC (not always)

- After moving one folder from Internal storage to SC folder dissapeared O_O"

(\test -> \Storage Card\FTP\test , result - \Storage Card\FTP\test doesn't Exist)

SYS 21042 (Wm 6.1), Extendir 1.5 (4mb)
[Windows Mobile Apps and Games] ShaDrac:
Hi Nusferatu,

If you could post specs for a "lang switch app", I or somebody else could take a look at it. :)

Moving a folder from internal storage (Storage memory?) to storage card, makes it disappear? Does this only happens with folders or also files and after a soft reset are those moved folders back again where they should be?

Thanks,

ShaDrac
[Windows Mobile Apps and Games] Nusferatu:
Yes, it happens from time to time , and affect both folders and files

After SR files are not recovered

Base algorithm for *lang switch* app:

- at launch it reads REG key to enumerate installed langs (values in this key would be added by *lang install CABs*), and reads REG key, that points to current app lang file

- app loads it's own lang from file

- then it show to user list of installed langs, and give him (user) ability to select one of them

- then, after press on button *Apply* app would write REG keys that responsable for MUI, change it's own lang (app's lang) to selected, and then perform SoftReset

(If it would be possible to code on WM with Delphi - then i would be able to code this app myself :) )
[Windows Mobile Apps and Games] ShaDrac:
Extendir in XIP working!

I've got some good news!!!

I've got Extendir working when it's added to the XIP!!!

And while the benchmark scores are slightly better, my phone feels much more responsive! (but that's for you to judge ;) )

Probably tonight release Extendir v1.06

But for most I want to say thanks to all of you who helped (and tried to help) me for getting this part working.

This opens up new possibilities like adding Extendir to the IMGFS so files cooked in to a rom can also benefit from Extendir. (this will be possible in a near future :))

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
cant wait to try it :)
[Windows Mobile Apps and Games] qq108108108:
waiting for the new version!!
[Windows Mobile Apps and Games] bobsbbq:
You know I'm on board I've been with you since the beginning so Lets Roll!
[Windows Mobile Apps and Games] kancrutt:
really really good news, event im no a cooker :p
[Windows Mobile Apps and Games] kwbr:
Hi ShaDrac, good news it is! Now the \My Documents fix :D
[Windows Mobile Apps and Games] ShaDrac:
Extendir version 1.06 released

New version of Extendir!

This version you've got to add to your XIP.

While the benchmark scores are slightly better, my phone feels much more responsive! (But that's for you to judge ;))

Just start up an app you've installed afterwards and notice how fast it's loaded! (Even I'm impressed :D)

Remember that files cooked in to your rom have minimal benefit of Extendir!

Files / Programs installed afterwards will benefit fully of performance delivered by Extendir.

A few examples of Files / Programs that fully benefit from Extendir:

Everything during customization

Registry

Temporary internet files

SMS / MMS

Everything you (could) sync with active sync (contact, agenda, mail, etc)

Programs you install

Files / Documents that you create or copied to your phone

Etc.

Enjoy! :)

ShaDrac
[Windows Mobile Apps and Games] CRACING:
Thanks sir.

Today I have plenty of time to play with your extendir.

I will start with 23016 ( My fav ). :D

Edit: BTW; The extendir v1.6 package has dll file inwhich XIP needs module based dll file. :confused:

I guess XIP only supports module. And also where should I place the dll ( MSXIPKernel or MSXIPKernelLTK or OEMXIPKERNEL )?

Edit 2: Just cooked the ROM with extendir placed inside OEMXIPKERNEL. It has successfully cooked/builded; Flashed the ROM; No problem with booting. Future info coming soon...

Edit 3: I have a problem. :( When I run the PresetInstaller.exe from fileexplorer, I get an error msg like "The file 'PresetInstaller' cannot be opened. Either it is not signed with a trusted certificate, or one.........". I cannot understand why I'm getting this error. I had tried few days PresetInstaller days back and it worked fine but the extendir driver was placed into oem ( I guess it was extendir v1.5 ).

Best Regards
[Windows Mobile Apps and Games] kwbr:
- You should place it in OemXipKernel

- The problem is caused by your boot.rgu and this can be a small or many things but probably the order of filters :)
[Windows Mobile Apps and Games] CRACING:
1. I have already placed into OemXipKernel.

2. I have done the same thing as I had done before when it had worked but that time, the extendir was placed into oem.

Best Regards
[Windows Mobile Apps and Games] bobsbbq:
Well I reread the first post and I put my in the Share\23016 folder not in the MSXIPKernel folder and did not module the dll. It shows up in the ervius kitchen under XIP section and just select true. And the ROM was built without problem and is recognized as a Extendit device in preset installer. I hope this helps.
[Windows Mobile Apps and Games] kwbr:
Shadrac, every is running great. The xip with module builds ok. Preset installer also runs fine. I will run some tests today.
[Windows Mobile Apps and Games] kwbr:
First tests, benchmarks faster than previous version. Syncing of notes still does not work when you set extendir order to 0.
[Windows Mobile Apps and Games] Ladislav Molnar:
Hi ShaDrac,

The Preset Installer looks for me as an enduser a pretty helpful tool using it as standalone program. However, I'd need further clarifications. On the first page in the post#5, there are boxes to be ticked. So what is the difference in the choice between Lite Rom and Full Rom or when to tick Previous Installation box.

Also, what is the Mortscript pack for and where copy it to?

It wasn't yet answered, where the Preset Installer installs the cabs of choice, main memory or SD.

P.S.: If I have already installed pkges to a ROM, how do I proceed with Preset Installer to include them? Remove them and reinstall them through PI?
[Windows Mobile Apps and Games] CRACING:
Well, just now tried placing extendir dll into MSXIPKernel folder but had same problem as you had. The presentinstall.exe works fine but doesn't detects extendir driver. :(

So that mean, there isn't any cert... problem with rom itself since presentinstall.exe runs.

Share\23016 folder, mean OEMXIPKERNEL right? Ok tried the samething at first ( As I have post before ), I will get any error when I run the presentinstall.exe. :confused:

Did I missed anything?

Yeah of course, I have added driver ( extendir ) loader into boot.rgu.
[Windows Mobile Apps and Games] Nusferatu:
Actually - NO, ROM\SHARE\<xip num>\ - here is MSXIPKERNEL going...

OEMXIPKERNEL is placed under ROM\<device>\<xip num>

ShaDrac:

Just flashed recreated ROM with Extendir in XIP...

FS seem to work faster... Preset Installer says that this is not Extendir enabled device

(IMGFS can't *see* Extendir 'couse it in XIP, right ?)

Same problem , like with 1.5 - can't normally copy from PC to SC (Storage Card):

files continue to dissapear, but now some files stays at SC , but if i copy them back to PC - they are just *array of bytes*

(can't open .jpg - *Invalid Image*, same with any other file...)