yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] Premananda_laishram:
To Shadrac

ShaDrac

Can you please provide steps for using extendir with Barin's OsBuilder? OsBuilder is located here

http://www.mobileunderground.info/showthread.php?t=12348&p=39112#post39112
[Windows Mobile Apps and Games] RobinOtten:
Extendir V2 108

On my Diamond with new 23563 l3v5y rom/kitchen:

-When copying large files from PC to storagecard, it begins fine, then it slows/pauzes the transfer regularly when in writeback performance mode.

With quick removal mode the copy speed crawls to a few 100KB/s ?!

...I have 32K clustersize internal storage, no backup fat btw. - trying different sizes now.

-It seems that when I removed the cachefilt.dll loaded on movinand profile, int storage disappeared. And via the /FATFS or profile I couldn't get it back loading on startup. Is this a problem with cachefilt and extendir or the diskcache?

BTW MS says, when using cachfilters cachemanager, to leave enabled metadata cache and disable diskcache (set datacachesize to 2 sectors) or disable all disk caching.

If flash media is used nowadays for caching in HDD's, why use a flash diskcache on flash media itself? Isn't this only introducing extra intermediate caching (increasing query's to flash, reducing FS access performance) and fooling the buffered benchmarks with datacache out of RAM? Diskcache is not a read ahead cache, like with cachemanagers cachefilter. Does cachefilt.dll read ahead work well in WM6.5 ?

Do I then, need to enable updateaccess for cachefilt and or FSreplX filter cache?

When I benchmark my movinand (un+)buffered, it is reading way faster without writeback caching enabled 28,3MB/s (latest Pocket Mechanic trial) But SKTools uses different benching and still gives high R/W speeds 4MBs/7MBs or double, when writeback is on, but read speed does fall a bit.

And I can see with P.M. the filesystem driver is not that good with files bigger than 256/512/1024KB until I set big 8MB cache for int storage, but the ratio is absurd, coz with 4x as much cache I'm not getting 4x as higher speed index.

So for most significant speed boost ratio the sweetspot is 2MB cache and 128KB filesize according to Pocket Mechanic.
[Windows Mobile Apps and Games] Premananda_laishram:
Dismayed

It seems either there is no one here that knows the solution to my problem, or all the experts are so selfish they don't want to share their knowledge. I finally give up trying to add extendir to my rom. Might as well stick to my old rom with bullock cart speed.:(:(:(
[Windows Mobile Apps and Games] Premananda_laishram:
xip

Can anyone post an xip with extendir 1.06 already included in it. I have gone all the way just to put extendir into xip with no success. I will just port the xip to my kitchen
[Windows Mobile Apps and Games] Premananda_laishram:
help

I do not have any key with data "Bootphase" in my rgu. What do I do? Can anyone suggest what I should change? My phone is stuck at first boot screen. Attached is my boot.rgu
[Windows Mobile Apps and Games] Premananda_laishram:
dead

:( I think this thread is dead.
[Windows Mobile Apps and Games] lexoon:
Maybe he needs a big donation to continue working on this? xD
[Windows Mobile Apps and Games] Premananda_laishram:
confused

Do I need to change the order(to 0) of every entry or just the entries for file system filter driver. Just changing the order of file system filter drivers does not work for me. My device is still not extendir enabled.
[Windows Mobile Apps and Games] RoryB:
You have order 3 for both [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt] and [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC1\FATFS\Filters\SFDRV]

I do not know why you do not have a bootphase in your file, but you probably do not have a Wizard
[Windows Mobile Apps and Games] Premananda_laishram:
because

Its because both of them were 2 originally. I just increased them both by 1. Does that have any significance? Also there are two bootphase data under autoload. only it is not showing in boot.rgu. I have tried changing them to1 and adding wince_nls back to xip. it still doesn't boot
[Windows Mobile Apps and Games] RoryB:
I am not sure about both being 2 or 3, but look at previousy posted boot.rgu files to see how they look. I think there has been quite a few. I cannot get to mine right now to post it.

So you have bootphase in your registry, but not in your boot.rgu? Sounds like it is getting set some where else. You may have to find that file and edit it.

Have you tried pausing in your cooking just before creating the dumptoimgfs and looking in the boot.hv to see how the settings actually look?
[Windows Mobile Apps and Games] Premananda_laishram:
Still nothing

It seems my kitchen is doing some tricks to the boot.rgu and so I cannot see any bootphase in it. Attached is my original boot.rgu. Is there any rgu expert that can make suitable modifications so that I can use extendir. I have tried everything possible and still end up with useless extendir. If anyone is successful please post two versions. One with wince_nls in xip and one without it in xip.
[Windows Mobile Apps and Games] RoryB:
Here are just the parts of my boot.rgu that have bootphase in them, BUT BEWARE, this is for my Wizard

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\TRUEFFS_DOC]
"Name"="DiskOnChip M-Systems"
"Folder"="imgfs"
"MountFlags"=dword:11
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS]
"Flags"=dword:1000
"Index"=dword:1
"Profile"="TRUEFFS_DOC"
"Dll"="TrueFFS.dll"
"Prefix"="DSK"
"Order"=dword:0
"WindowBase"=dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"BootPhase"=dword:0
"AutoDPDMode"=dword:1
"SoftwareWriteProtect"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\TrueFFS]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS"
"LoadFlags"=dword:1
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\TRUEFFS_DOC1]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS1"
"LoadFlags"=dword:1
"Order"=dword:1
"Bootphase"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\TrueFFS2]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS2"
"LoadFlags"=dword:1
"Order"=dword:0
"BootPhase"=dword:1
[Windows Mobile Apps and Games] Premananda_laishram:
????

Does Shadrac ever come online these days?
[Windows Mobile Apps and Games] bgcngm:
Have you made any progress? Are you still using OSBuilder?

I have recently changed my kitchen to OSBuilder, and I was having problems adding Extendir again to my ROM's. It was making me mad because Extendir.dll was in the XIP, boot.hv was being built the right way, but Preset Installer was always saying that my device wasn't Extendir enabled. Then, I finally remembered that in my previous kitchen I always cert patched my NK.

Maybe that's your problem.
[Windows Mobile Apps and Games] Premananda_laishram:
I am still having the problem. How do I cert patch nk. I have never done that before. Did your ROM work after cert patching nk.exe
[Windows Mobile Apps and Games] bgcngm:
My ROM was working before cert patching my NK, but Extendir was not being loaded.

In order to patch your NK, you can use AutoPatcher to patch NK.exe\S000.
[Windows Mobile Apps and Games] Premananda_laishram:
ok will try it out today at home and report tomorrow. I am so excited. I just hope it works for me.

BTW do we need to cert patch nk.exe if we use extendir 1.05?
[Windows Mobile Apps and Games] coolsac32:
which version of extendirs would be best to use? i have a touch pro 2 and i was using them on my touch pro 1 before and i cant remember which one was the best
[Windows Mobile Apps and Games] coolsac32:
i also use os builder, and i got extendirs working by puting it in the oemdrivers folder, and editing the boot.rgu in the xip. so my advice is put the extendirs in both oemdrivers folder and oemxip folder then edit the xip that should work for you. it has always worked for me, and i never patched my nk.exe btw
[Windows Mobile Apps and Games] tigr72:
Faced exactly the same problem as described above.

at AcerS200.

Explain what we are doing wrong?
[Windows Mobile Apps and Games] Premananda_laishram:
I have extendir working after patching nk.exe. But I have tons of problem using extendir cab. Some of them are listed below.

1. Some of the cabs fail to instal.

2. All the installed cabs cannot be used. The program cannot be launched.

3. Some of the cabs do not have any shortcut in the program folder.

Can anyone explain this.
[Windows Mobile Apps and Games] bgcngm:
That's not exactly the best approach, in my opinion... You are basically saying to put Extendir in both OEMDrivers and OEMXIPKernel and wait to see if it works... I prefer to know what I'm doing and to know the reason why it works / doesn't works.

Just one question... Are you sure that when you run Preset Installer, it tells you that your device is Extendir enabled?

You can try not to use .cabs. I found that mortscript + zip are the best and fastest solution to install Extendir packages. The only downside is that they can't be uninstalled.
[Windows Mobile Apps and Games] Premananda_laishram:
Yes

Yes it is extendir enabled on running preset installer. About mortscript+zip method, I am not a programmer and right now I am mortscript challenged. I would appreciate if you can make one for me.

Edit: I am using Ervius package creator to obtain packages from cab files and then I applied Extendir cabs on the packages.

It also appears that the file system response has become slugish although overall benchmark has improved. Can you suggest anything to improve file system response
[Windows Mobile Apps and Games] Premananda_laishram:
Has Shadrac left XDA or has he been banned? We could do with a new build. By the way, using v2 1.08 on Asus P525, every Program takes more time to open (everytime) and the hardware buttons(read left and right softkeys) are wee bit unresponsive(3 to 5 secs-Which eventually becomes faster on second and subsequent use).Hope it gets corrected in future builds.
[Windows Mobile Apps and Games] Premananda_laishram:
How to we obtain a package from a cab file for making a zip or extendir cab? Everytime I try to make a cab file from a standard cab file, the resulting program does not work.

Edit: Solved. I use wince cab manager to change the installation target to extendir\windir\appname.
[Windows Mobile Apps and Games] Premananda_laishram:
Depressed with sluggish program launch time and slow softkeys response, I fooled around with my registry (Asus P525-extendir enabled). My rom boots faster and my cpu index climbed from 207 moves/25 usec to 227 moves/25 usec.

Here's what I was doing

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ExtenDir]

"Key"="Drivers\\BuiltIn\\ExtenDir"

"Dll"="Extendir.dll"

"Order"=dword:00000000

"Prefix"="FLT"

"Profile"="Extendir"

and

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Extendir]

"DriverPath"="Drivers\\BuiltIn\\ExtenDir"

"Order"=dword:00000000

"LoadFlags"=dword:00000001

"BootPhase"=dword:00000000

I hope there are some gurus out there that can explain this.
[Windows Mobile Apps and Games] RoryB:
For S&G I cooked a ROM adding these settings and got stuck in IPL/SPL splash screen.
[Windows Mobile Apps and Games] kwill:
Man, added those to my reg and I have to say (unless it's just in my mind), that those settings definitely increased the speed of the rom responsiveness and my boot time is A LOT better! Thanks for the reg entries.

Not sure what happened as it looks like you're also using a different device. Reg entries should impact too much though. Maybe check to see if one of them was off or something or not cooking the settings in and see if the rom behaves the same.
[Windows Mobile Apps and Games] bobsbbq:
Well if you can confirm these then I will try them in the NEw ROM I'm currently working ON. Yes I'm finally getting back to cooking again.

One question are these reg changes in place of the original Extendir reg location or in addition to them.

PS Qwill I have not started posting in my XDA threads yet but you can find the information first on my site.
[Windows Mobile Apps and Games] bobsbbq:
Never mind I got it sorted out. And I can definitely say that the speed seems to have increased.

Good find and thank you for sharing.
[Windows Mobile Apps and Games] RoryB:
Did you replace original Extendir reg settings? I tried adding them and had my problems.
[Windows Mobile Apps and Games] bobsbbq:
Yes I replaced the old settings, and used these instead.
[Windows Mobile Apps and Games] RoryB:
I tried on my Wizard and still stuck at IPL/SPL splash. Went back and removed "Key"="Drivers\\BuiltIn\\ExtenDir" and added index=dword:0 and no good either. Guess these tweaks won't work on the Wizard.
[Windows Mobile Apps and Games] Premananda_laishram:
confused

Its good to hear that some of us are benefiting from the messing up of the registry. But honestly I have no idea what those setting did. All I tried was to make extendir autoload. If only Shadrac was around and can shed some light to it. May be he can provide us the correct settings to autoload extendir.
[Windows Mobile Apps and Games] Premananda_laishram:
Try it out

I don't know about adding the settings to the boot.rgu(honestly I added those settings with regedit. not cooked), but try benching 5 to 10 minutes after softreset and see if your performance index rises.
[Windows Mobile Apps and Games] bobsbbq:
I really think these values have to be cooked in order to work properly. There are some things you can change in registry but the driver needs to be loaded before others to enable the benefits of the extendir performance.
[Windows Mobile Apps and Games] BlackFriar:
FWIW, Shadrac was always pretty adamant on this fact.

Has anyone had a problem when trying to extend a significant number of files (>1000)? I find the base ROM is stable, it's stable with extendir added but no files aliased; I add the aliased files and then blah!

PS. My brother has a TMOUS|HD2 and I pointed him in your direction, he's really impressed so far.
[Windows Mobile Apps and Games] Premananda_laishram:
too bad

Too bad. I think only shadrac can provide us the proper way to autoload it. Sorry
[Windows Mobile Apps and Games] bobsbbq:
I have never had a problem. But as has always been the case certain files don't like to be aliased. So you have to try them to see.

For Example I never alias manila drivers, reg, xml, or .exe files. All the regular manila files I found can be aliased without problem. Just don't put to many files in one directory. I use zip files in about 15 folders. I also remove all language files from the Manila leaving only WWE files. If you leave the language file in you might need 30 zipped folders instead of 15.
[Windows Mobile Apps and Games] RoryB:
So on my Wizard I am out of luck. Summary:

Original ShaDrac setting based ROM: works great

Add Premananda_laishram settings to ROM and cook: Stuck at IPL/SPL splash

Only Premananda_laishramsettings in ROM and cook: Stuck at IPL/SPL splash

Add Premananda_laishram settings after flash ShaDrac based ROM: mixed performance
[Windows Mobile Apps and Games] bobsbbq:
Ok I need some help. I'm using the Oskitchen Zero latest beta10. I was using the New reg entries to Autoload Extendir driver and it was working. I really saw a improvement in boot time. My bootime between the end of animation until the sound of the active sync connection is 24-25 sec. with the old setting. With the new autoload setting is was about 15-17 sec, so a noticeable difference.

But then I had not checked Extendir in a while as I was working on other stuff. But later I find out it had stopped recognizing Extendir.

Now I wonder what could have changed?

I placed these settings right at the bottom of the reg file where all the other built in drivers were at. When I did this the document tab would not work. So I moved the second line down to the bottom of the page so it was after Cachefilt and then the documents tab was working.

Now no matter where I place them it will not work. :(

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ExtenDir]

"Key"="Drivers\\BuiltIn\\ExtenDir"

"Dll"="Extendir.dll"

"Order"=dword:00000000

"Prefix"="FLT"

"Profile"="Extendir"

and

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ Extendir]

"DriverPath"="Drivers\\BuiltIn\\ExtenDir"

"Order"=dword:00000000

"LoadFlags"=dword:00000001

"BootPhase"=dword:00000000

Is there any certain order this would have to follow?

I hope maybe shadrac will be around soon to maybe take a look at this.
[Windows Mobile Apps and Games] :
Try this

Try cooking with the old settings and add my settings elsewhere(not in boot.rgu). See if it works. At present I am using it this way.
[Windows Mobile Apps and Games] bobsbbq:
I can certainly try. But with drivers and XIP loading it really has to be done when the Rom is compiled during cooking.

I will test and report back.

EDIT: I applied these reg entries through my final tweak file. The reg entries are in the reg alright but I did not see any difference in the speed or boot time. As I said before I think to really benefit they have to be applied during the XIP compilation.
[Windows Mobile Apps and Games] Premananda_laishram:
maybe

Maybe. Lets just wait for Shadrac or some other expert to visit this thread.
[Windows Mobile Apps and Games] d-two:
Hi,

your Extendir driver is absolutely great!!!

But nevertheless I have a little problem and I hope that you can help me!

I use your driver in combination with a RamDisk - unfortenatly it doesn't work right - using the 1.06 driver the files are in the windows folder immediatly (after soft reset), but they weren't to be read (reading error). Using the 2.08 driver the files arn't immediatly there - I've to wait several seconds (as you described it concerning the storage card), but I really need them immediatly after the soft reset - can you do something concerning the waiting time, so it's like the 1.06 driver? Would be great if you can help me, so I can go on with my new Rom!

Thank you very much!! I'm counting on you!!

D-Two
[Windows Mobile Apps and Games] d-two:
Hy,

chance the Bootphase from 0 to 1 and test it. This can help ;)
[Windows Mobile Apps and Games] RoryB:
Okay, it only worked if I keep all of the original Extendir settings and add your with bootphase=1, otherwise the ROM boots without Extendir being activated. Benchmark results:

[FONT=Verdana] original tweak[/FONT]
[FONT=Verdana][B][COLOR=red][U]Spb Benchmark index[/U][/COLOR][/B] [/FONT][FONT=Times New Roman][SIZE=3]--- ---[/SIZE][/FONT]
[FONT=Verdana][B][U][COLOR=#0000ff]CPU index[/COLOR][/U][/B] --- ---[/FONT]
[FONT=Verdana][B][U][COLOR=#0000ff]File system index[/COLOR][/U][/B] [B][COLOR=#202078]306[/COLOR][/B] 304.71[/FONT]
[FONT=Verdana][B][U][COLOR=#0000ff]Graphics index[/COLOR][/U][/B] [/FONT][FONT=Times New Roman][SIZE=3]--- ---[/SIZE][/FONT]
[FONT=Verdana][B][U][COLOR=#0000ff]ActiveSync index[/COLOR][/U][/B] [/FONT][FONT=Times New Roman][SIZE=3]--- ---[/SIZE][/FONT]
[FONT=Verdana][B][U][COLOR=#0000ff]Platform index[/COLOR][/U][/B] [/FONT][FONT=Times New Roman][SIZE=3]--- ---[/SIZE][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Write 1 MB file (KB/sec)[/COLOR][/U] [B][COLOR=#202078]605[/COLOR][/B] 580[/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Read 1 MB file (MB/sec)[/COLOR][/U] [B][COLOR=#202078]3.18[/COLOR][/B] 3.13[/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Copy 1 MB file (KB/sec)[/COLOR][/U] [B][COLOR=#202078]688[/COLOR][/B] 678[/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Write 10 KB x 100 files (KB/sec)[/COLOR][/U] [B][COLOR=#202078]142[/COLOR][/B] [B][COLOR=#202078]142[/COLOR][/B][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Read 10 KB x 100 files (MB/sec)[/COLOR][/U] 1.77 [B][COLOR=#202078]1.78[/COLOR][/B][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Copy 10 KB x 100 files (KB/sec)[/COLOR][/U] 299 [B][COLOR=#202078]307[/COLOR][/B][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Directory list of 2000 files (thousands of files/sec)[/COLOR][/U] [COLOR=#202078]13.5[/COLOR] [B][COLOR=#202078]13.6[/COLOR][/B][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Internal database read (records/sec)[/COLOR][/U] [COLOR=#202078]593[/COLOR] [B]604[/B][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Graphics test: DDB BitBlt (frames/sec)[/COLOR][/U] [COLOR=red]error [/COLOR] [COLOR=red]error [/COLOR][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Graphics test: DIB BitBlt (frames/sec)[/COLOR][/U] [COLOR=red]error [/COLOR] [COLOR=red]error [/COLOR][/FONT]
[FONT=Verdana][U][COLOR=#0000ff]Graphics test: GAPI BitBlt (frames/sec)[/COLOR][/U] [COLOR=red]error [/COLOR] [COLOR=red]error [/COLOR][/FONT]

It crashed every time at the game so I unchecked it. Had to stop it early to go home. BUT this gives an idea of performance.
[Windows Mobile Apps and Games] d-two:
I have a Blue Angel and use the Old reg too and it works very good i post today a benchmark result of my new ROM.
[Windows Mobile Apps and Games] d-two:
Sorry for the late post :D

Here my result
[Windows Mobile Apps and Games] bgcngm:
Does anyone have news from ShaDrac?

It's a real pity if this project dies... :(
[Windows Mobile Apps and Games] talha936:
Help please!

This doesn't work on my Wizard. The phone boots properly and everything works fine but when the preset installer opens, it shows that my phone is not extendir enabled. I made a folder named "Extendir" in OEM folder and placed the Extendir.dll file there. I modified the boot.rgu but still no luck. Here's my boot.rgu, if someone could please tell me what I'm missing, I'd be very grateful. I've also provided the boot_ms.rgu in case there could be something wrong with that.

btw I'm using Extendir v2 beta 1.08.
[Windows Mobile Apps and Games] sokran:
is there a change to use it in WM standard (non touch screen)?

Now, i cooked c6625 WM 6.5 standard......
[Windows Mobile Apps and Games] nurps:
Can i install this onto a working windows mobile, or does it need to be cooked into a rom?
[Windows Mobile Apps and Games] Pauldimar:
Very nice :)
[Windows Mobile Apps and Games] selyb:
ShaDrac please come back...
[Windows Mobile Apps and Games] spannernick:
When you make the cab with this dose it give you a option to install to sd card on the phone..??
[Windows Mobile Apps and Games] ShaDrac:
Hi spocky12,

You could try to set your fatcachesize and datacachesize to very low this would free up some memory.

At the moment the datacache is only used for the lazy write back but this will be build in in a future version of Extendir.

I don't have exact numbers because every device is different and has different apps installed, but just try different cache settings and bench.

btw did you make sure the order of Extendir = 0 (in boot.rgu) and all other files system filters have an higher number?
[Windows Mobile Apps and Games] bobsbbq:
Sorry Wrong thread
[Windows Mobile Apps and Games] spocky12:
@ShaDrac, thanks for the answer (I've set extendir order to 0 and all other filters to higher number, but I'll double check).

@everybody : if you have a non booting device with bootphase set to 1, you'll need to add back wince_nls in your xip (more info here)
[Windows Mobile Apps and Games] chriscsh:
wow, finally i got it work :D

another question, after this enable

the Titanium Photo panel, can't find the Picture Folder

and the Window Media Player can't search the MP3 in storage card

is i miss anything or need another tweaks? :confused:
[Windows Mobile Apps and Games] ghettofreeryder:
Its doesn't boot at all is boot phase is set to 1.

Could it be an order issue, or does that look right?
[Windows Mobile Apps and Games] spocky12:
@ghettofreeryder : Check my previous post
[Windows Mobile Apps and Games] ghettofreeryder:
Ok, sounds easy, I will try that, but how do I add it back? Just put the wince_nls folder back into the dumped bin, the realloc > map > build?
[Windows Mobile Apps and Games] Atze001:
I have the same.
[Windows Mobile Apps and Games] pyrorob:
Ok, quick question, how does preset installer know that the roms extendir enabled? does it read the info from the dsm that was loaded? or does it detect the filter in memory? or the xml file? just curious.