yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ShaDrac:
@RoryB:

Does Extendir v2.00 Preview/Beta 1.05 solves your problem?

@twopumpchump:

I'm trying to isolate it, could you test 2 thing for me?

Replacing the app.dat (in the package) with an mxipupdate_icons_100.provxml, does that works?

And renaming the icons package (with the original app.dat) to zzzicons, does that works?

@selyb:

Attached the boot.hv that the kitchen has created after building a rom.

@all:

Thanks for all the testing/feedback/support!

It really helps me to improve Extendir. :)

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
This is what I do. it Gives the users more flexibility, and with many of the manila mods being uninstallable they can just reinstall manila in just 2 min in preset installer with a click of a button.
[Windows Mobile Apps and Games] zenkinz:
I am trying to cook extendir into my Leo ROM, but has some problem. The device hangs at the first time prepare/setup screen, after the progress bar has complete.

What I did was package the extendir.dll into module, and copy the module (extendir.dll) into the ROM\21895\MSXIPKernel folder (I'm using vistang kitchen)

then, I update the boot.rgu in ROM\XIP\OEMXIPKernel

[HKEY_LOCAL_MACHINE\System\StorageManager\filters\Extendir]
"Order"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\filters\Extendir]
"Dll"="Extendir.dll"
"Order"=dword:0

and rebuilt it using make_hv.dat in one of the post. I copy both boot.rgu and boot.hv back to the ROM\XIP\OEMXIPKernel folder.

Then I edit boot_ms.rgu in ROM\21895\MSXIPKernel, again, with the above registry.

Then I make sure that the there's all the filter under FATFS\filters has order other than 0. (only HTCFSFilter has order=0, which I've renamed it to 1)

Then I cook and flash the ROM, and got stuck at the first boot screen. I checked the bootphase is already set to 1.

I'm cooking ROM for Leo, if that makes any difference. Please advise.

PS: I attached my boot.rgu and boot.hv
[Windows Mobile Apps and Games] RoryB:
Here is my boot.hv from cooking beta 1.05 this morning.
[Windows Mobile Apps and Games] sunsetdk:
As far as what I have read elsewhere in this thread, you are not allowed to module the file. You have to add it as a file extendir.dll.

But the rest of what you wrote looks fine.
[Windows Mobile Apps and Games] zenkinz:
thanks! that explains the "hang"!

thought it needs to be cooked as a module because the instruction said the file be copied in XIP.
[Windows Mobile Apps and Games] bgcngm:
No. You have to place it in the XIP, but as a file, not as a module.
[Windows Mobile Apps and Games] RoryB:
Sorry, I had to wait until I was back to the office. No change though.

The zip files happen after the first boot so I still do not know why some work and some do not. The best I can tell only these two link files are what ends up missing. I had already tried removing the reset to verify if the files get installed before the reset and then lost after. They do not show up.

The manila today setting happens after the reset. I went back and added a 15 second sleepmessage for the second boot before making the today settings change and I did not see it. I went into \windows\startup and the script was gone.

I went back and cooked in a bigmessage, so it won't go away until I select ok. Basically added a pause to the script. Still no message and the script file is deleted.

I tried again without the delete script command line so it should not / will not be deleted by the script. Yet, the script is gone. So I guess something with Extendir is deleting the script from \windows\startup folder, but not the link files that are there.
[Windows Mobile Apps and Games] bobsbbq:
In EVK it needs to be a File in OEMXIPKernel, Or you can make it a module and place it in OEM drivers.
[Windows Mobile Apps and Games] RoryB:
@ShaDrac For S&G's I tried as file in OEMDrivers and as module, but no change.
[Windows Mobile Apps and Games] ShaDrac:
@ RoryB & twopumpchump

Could you do me a favor and test both attached test versions of Extendir?

They both got some functionality dissabled, so I can isolate what's happening...

Thanks! :)

@RoryB:

The script that you are testing, does it get into the startup folder in the first place?

Is this done with help of an app.dat?

@all:

Is there anybody else who doesn't get it's shortcuts placed in the startmenu, or in the \Windows\Startup folder?

Could you please test both attached versions since I failed to reproduce this.

Thanks!

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
test 001----shortcuts work :)

test 002----shortcuts dont work

test 3 was me cooking without extendir to make sure im not crazy, and the shortcuts worked that way also ;) so does this test result also confirm im not crazy :p
[Windows Mobile Apps and Games] RoryB:
test 001

: Very long pause after reset. Screen timed out so I powered back up. Sat so long I almost decided to reset again. Finally came alive. Shortcuts did show up. Could not get file explorer to open. Phone kept hanging on trying to open start menu. M2D today settings did not take. I suspect the script got deleted again.

test 002

: Shortcuts did not show up, but the phone started up fine. Still no M2D today settings. Also, the script was gone. I suspect the script got deleted before it could run again.

I use app.dat to copy RoryB.mscr.txt to \windows\startup\RoryB.mscr and it works fine. It just seems to go away after the reset before it gets a chance to run.

Hey TPC, can you run across the border and see if it works in Tennessee:confused:
[Windows Mobile Apps and Games] ShaDrac:
Thanks!

@ RoryB & twopumpchump

Thanks for the feedback! :)

Will be back soon with some other test versions.

Thanks again! :)

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
@ RoryB & twopumpchump

Could you do me again :D a favor and test both attached test versions of Extendir?

They both got some functionality dissabled, so I can isolate what's happening...

Thanks! :)

@all:

Is there anybody else who doesn't get it's shortcuts placed in the startmenu, or in the \Windows\Startup folder?

Could you please test both attached versions since I failed to reproduce this.

Thanks!

ShaDrac
[Windows Mobile Apps and Games] RoryB:
As soon as I can tomorrow morning
[Windows Mobile Apps and Games] ShaDrac:
Thanks! :)
[Windows Mobile Apps and Games] twopumpchump:
test 003----shortcuts didnt work

test 004----shortcuts work

hope this helps :D
[Windows Mobile Apps and Games] selyb:
@ShaDrac: Well, what I had in mind was to analyze those hives to see what differences I could find. It looks as though you may be on the right track, but if you like, I will still see if I can find anything. So far I have yours and RoryB's. Your knowledge of winmo overwhelms me but I understand that sometimes these things just need a new set of eyes.

@Everyone else: The more boot hives I can analyze, the better analysis I can provide ShaDrac. What I need is the boot.hv from your cooked, Extendir enabled rom, and tell me whether you have the missing shortcuts/scripts bug.
[Windows Mobile Apps and Games] ShaDrac:
Thanks!!!

This is good news! :)

Will be back soon with some other test versions. :D

ShaDrac
[Windows Mobile Apps and Games] selyb:
Ok, looks like you don't need my help after all. Glad to see it's coming along.
[Windows Mobile Apps and Games] ShaDrac:
It seems, but nevertheless I appreciate your help!

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
@ RoryB & twopumpchump

Could you do me again :D a favor and test both attached test versions of Extendir? :)

They both got some functionality dissabled, so I can isolate what's happening...

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
any benefit of making it as a module and place it in OEM folder, since it'll not be in XIP?

Anyway, I've the file copied to EXT folder, and it works very well now. Performance appears to have improved although I do not have benchmark statistic to prove it. But certainly the lag that I experienced with htc music player is no longer there.
[Windows Mobile Apps and Games] twopumpchump:
test 005-----shortcuts dont work

test 006-----the two shortcuts that normally werent showing up were missing, and also the icon pic for office mobile 2010 :p

i hope this doesnt mean we are heading the wrong direction lol
[Windows Mobile Apps and Games] ShaDrac:
Hmmm... :( :confused:

Atleast I know what I will be doing tomorrow. :D

Thanks!

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
oh btw, I'm using extendir v2 beta 1.06. Other than adding the few registry line to enable extendir, I did not modify cache setting or any sort, do I've to do it? Because I just did a benchmark, it's nowhere near what bobsbbq has posted in post a few pages before.
[Windows Mobile Apps and Games] ShaDrac:
Hi zenkinz, :)

I don't know how big the performance gain/loss is when you convert Extendir to a module.

At the moment the only way that I test is Extendir as an file, placed in OEMXipKernel or MSXipKernel with an Order of 0 in boot.rgu.

The results of bobsbbq are partially because an tweaked boot.rgu and partially because of good cooking skills. bobsbbq does a lot of research. :)

Attached my boot.rgu that I apply on a HD2 stock rom. With it I get (on a stock rom) almost the same results a bobsbbq, except for the write and copy results.

I hope it can help!

btw. I hope you ment you're using Extendir V2 beta 1.05, since everything after 1.05 are test builds with some functionality disabled to isolate a bug (doesn't appear on our HD2).

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
does it matter if I place it in EXT instead of OEMXIPKernel or MSXIPKernel?

I will try your boot.rgu and see if there's any difference. and yes I was referring to v2 beta 1.05...

Thanks for your help!
[Windows Mobile Apps and Games] zenkinz:
turns out it's my pagepool setting that's creating the problem.

I see that (from bobsbbq benchmark report) that in v1.3 has better performance than v1.6 ... I''m confused with the version of the extendir, plus it looks like the older version has better performance?
[Windows Mobile Apps and Games] selyb:
Extendir must be loaded before any file system drivers. If you put Extendir.dll in extended storage or main storage (EXT, OEM, SYS) which are FATFS, IIRC, then the fatfs driver and filters must load in order for winmo to find Extendir.dll. That would mean Extender gets loaded after FATFS driver and filters and cannot be used as a FATFS driver filter.
[Windows Mobile Apps and Games] bobsbbq:
Well the 1.6 was the Last release version. And it was available in different cache sizes. The new on you saw in the screen shots is V 2 beta 1.3 but without any cache. The new version when release with all functionality will be V2.

In some test the older version may have better results but this is only do to the cache which is not enabled in V2 yet.
[Windows Mobile Apps and Games] ShaDrac:
@ RoryB & twopumpchump

Could you test attached test version of Extendir?

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
very strange, after I add the registry entries to boot.rgu to address the document tab problem (that reports missing sd card) my device hangs at the customization screen.
[Windows Mobile Apps and Games] zenkinz:
here's what my experiement (not sure if it's documented)

1. add the sd card filter registry in the boot.rgu (to solve the missing sd card in the document tab problem), place extendir.dll in ext folder, the device hangs at customization screen

2. remove the registry, keep the extendir.dll in ext folder, the device boot properly

3. remove the registry, move the extendir.dll to rom\xip\oemxipkernel folder, the device hangs at the customization

4. add back the registry, copy the old version of extendir.dll to rom\xip\oemxipkernel (i use v1.06), and the device boots properly.

I'm going to stick to v1.06 for now..
[Windows Mobile Apps and Games] bobsbbq:
Did you remove the other entry for Cachefilt? Send me your boot.rgu and I will look at it.
[Windows Mobile Apps and Games] twopumpchump:
sorry to say this, but this one doenst work right either :(
[Windows Mobile Apps and Games] ParkBom:
im facing a problem with cachefilt.dll, when i add these entries

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS\Filters\CacheFilt]
"Dll"="CacheFilt.dll"
"Order"=dword:12

my blackstone hangs on a white screen before "tap the screen..."

as bob said blackstone boot.rgu doesnt have these entries,

anyone have solutions?

thanks bob..
[Windows Mobile Apps and Games] zenkinz:
here's the boot.rgu..
[Windows Mobile Apps and Games] ParkBom:
i think we should put the entries

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS\Filters\CacheFilt]
"Dll"="CacheFilt.dll"
"Order"=dword:12

into oemdrivers .rgu file folder together with the cachefilt.dll? is it worth trying ShaDrac? or is it the same even if its on boot.rgu?
[Windows Mobile Apps and Games] RoryB:
Playing catch up

Here are my test results:

Test3

: Same missing shortcuts. No M2D today settings. Sluggish. Script gone from startup.

Test4

: Shortcuts show up. I noticed I had also been missing WiFiInit.lnk all along and just did not realize it until I saw it show up this time. It gets created by the mortscript from registry data. M2D started fine too.

Test5

: No shortcuts. No M2D today settings.

Test6

: No shortcuts. No M2D today settings.

Test7

: No shortcuts. No M2D today settings.

Test4 worked the best for me.
[Windows Mobile Apps and Games] ShaDrac:
;)

While TPC is really fast, if you spin up that engine you're really flying! :D ;)

Thanks guys for the feedback! :)

I've got another two test versions...:D

I really appreciate your help!

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
Strange, I don't see anything strange. :D

The boot.rgu looks ok, can you post your boot_ms.rgu (MSXIPKernel)?

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

It's enough to place that entry only in the boot.rgu.

If you need any help, please post your boot.rgu and boot_ms.rgu.

bobsbbq is an real blackstone expert, he probably spot the problem in a second. :D

ShaDrac
[Windows Mobile Apps and Games] RoryB:
I have my kitchen set up for drag and drop. As I am flashing one of your tests I drag and drop to start cooking the next one. Its done about the time the first one is finished setting up.

Test8

: No shortcuts. No M2D today settings.

Test9

: No shortcuts. No M2D today settings.

Test4 is still the best
[Windows Mobile Apps and Games] bobsbbq:
I looked at his blackstone boot.rgu but the HD does not have a profile named SDMemory, so it will not work as it is on the HD2. Actually I see a CD profile but not one for storage. But maybe I have been looking at the HD 2 for too long. lol

Zenkins I sent you your modified boot.rgu. I can't remember exactly what I changed but I know your CertMod was opposite from mine.
[Windows Mobile Apps and Games] twopumpchump:
test 8----missing shortcuts

test 9----missing shortcuts
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, is there any chance you can let us others without any problems test a version with some cache?

I know it is important to try to fix all the issues you can in beta but It seems most of the problems are due to start menu or startup issues that can be worked around. Just thinking that some of the rest of us could be testing further development while at the same time trying to fix these issues.
[Windows Mobile Apps and Games] zenkinz:
here you go. strange that the beta version of extendir.dll can't reside in the XIP, but the older version (i.e. 1.06) could.
[Windows Mobile Apps and Games] zenkinz:
thanks I will try this weekend. Need to get on to my work ;)
[Windows Mobile Apps and Games] bobsbbq:
V2 can also. I always found you could only use a file inside OEMXIPKernel. I have tried both OEMXIPKernel and OEMDrivers both will work. OEMDrivers will take a module of Extendir but I have not done extensive test on the results but it seemed maybe a touch faster as a module.
[Windows Mobile Apps and Games] bgcngm:
Maybe ShaDrac can implement the possibility to run Extendir in XIP, as a module. That would certainly make system even faster.

By the way, the need of setting bootphase to 1 (having to place WinCENLS under XIP) is it device related or Extendir related?
[Windows Mobile Apps and Games] bobsbbq:
The setting the boot-phase to 1 was in the beginning on Blackstone and some other devices I think, was needed to boot. On my Leo now this does not have to be changed. WinCE.nls can go in the XIP or in sys, or EXT. I keep mine in XIP
[Windows Mobile Apps and Games] ParkBom:
yeah bob has been very helpful to me.. thats why i thank him :)

btw if i add

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS\Filters\CacheFilt]

"Dll"="CacheFilt.dll"

"Order"=dword:12

and this line too

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]

"Dll"="CacheFilt.dll"

"Order"=dword:2

my HD is ok after flash.. but if i delete the second entry using Total commander i cant get manila to start.. i think its not for HD this trick :)
[Windows Mobile Apps and Games] zenkinz:
then I really need to try your boot.rgu, because with my boot.rgu I cannot place the v2 extendir.dll in oemxipkernel.

crossing my finger...
[Windows Mobile Apps and Games] zenkinz:
I'm facing problem with Google Maps 4.0 and I'm using the version 1.06 extendir, and assume this is the cause.

Does the beta version works well with Google Maps 4.0? Hopefully I can solve the boot.rgu problem.
[Windows Mobile Apps and Games] ParkBom:
u having internal problems?
[Windows Mobile Apps and Games] bobsbbq:
It works with V2, doesn't work on 1.6
[Windows Mobile Apps and Games] bobsbbq:
Shadrac I found a new bug related to Extendir. I'm not sure if it was in V1.6 or not. In manila contact tab when you try to save a contact and a photo picture for the contact the photo will not save. If you take a new picture it will save. I verified this by removing Extendir and it works without Extendir. I assume it might have to due with the pictures on the SD card and saving back to the device.

Here is the key I think is partially related:

HKEY_LOCAL_MACHINE\Software\HTC\HTCPhotoPicker\Manila\ReturnValue

"FilePath"="\Application Data\HTC\HTC PhotoPicker\Manila_tmp0.jpg

Manila_tmp0.jpg is the picture location and When done without Extendir I checked in this directory and this file is the Picture copied from Storage card.

Do you have any ideas about it?

PS. Above Key may not be 100% correct as I took it from CeRegEditor from off the device.
[Windows Mobile Apps and Games] the_scotsman:
I'm having a go at cooking this into my ROM.

I've borrowed a boot.rgu that shadrac posted a few pages back for the HD2 and based it on that. Wasn't sure which size cache to use so I just chose 8MB and cooked it.

I'm wondering what the best benchmark software is to see if it has actually worked the way it should :o

And it looks like something needs changed as my documents tab doesn't see my SD card, related to cachefilt.dll I'm guessing.
[Windows Mobile Apps and Games] bobsbbq:
I would suggest going back 6-8 pages and read up on the new version as well as the first page of course. For the document tab see a few pages back where we discussed this. For benchmark you can use spb benchmark. It's old and out dated but as long as you use the same one all the time as a reference it is ok..

Be careful running 8mb of cache I assume you are referring to the older 1.6 version as the new version has no cache. With 8 mb of cache in 1.6 the virtual memory is running really low.
[Windows Mobile Apps and Games] RoryB:
I went to spbBenchmark and left my email for the free copy, but there has been no response for a couple days. Do you have a package of it somewhere? Or know somewhere else to get it for free?
[Windows Mobile Apps and Games] bobsbbq:
Try this one.

http://handheld.softpedia.com/progDownload/Spb-Benchmark-Download-36366.html
[Windows Mobile Apps and Games] zenkinz:
very strange, I decided to use the original boot.rgu and modify from scratch. This time round, I only add the two registry entries that enable extendir, not the registry entries that supposedly fix the document tab problem. Put the v2 beta 1.05 extendir.dll into xip\oemxipkernel folder, cook it and flash, surprisingly it works, no hang at customization screen, and best of all, the document tab problem disappear.

then i did some testing, and decided that I'm happy with the build, and so I do a hard reset. This time round, the device hangs at the customiztaion screen!

Flash it again via customruu, and this time round, the device hangs at the customization!

what's wrong?
[Windows Mobile Apps and Games] RoryB:
Thank you very much
[Windows Mobile Apps and Games] zenkinz:
it looks like the cause is that the Extendir.dll file resides in xip folder. but it doesn't make sense since many of you have no problem with that, and I had one (out of many attempt though, without sucess to replicate again).

had no success when I put it as module in oemdriver or sys folder. but once I put it back into ext, no problem!

and now, it works without me adding the reg to fix the document tab problem, although the boot.rgu is modified from scratch.
[Windows Mobile Apps and Games] bobsbbq:
If you use the boot.rgu I sent you it should work. V2 1.05
[Windows Mobile Apps and Games] zenkinz:
didn't work for me unfortunately, in fact, it hangs at the white screen (after the red rom version font shows up), instead of the customization screen.
[Windows Mobile Apps and Games] bobsbbq:
Did you remove the filters that are not used from the OEMXIPKernel and MSXIPKernel? htcfsfilter.dll etc etc?
[Windows Mobile Apps and Games] zenkinz:
boot_ms.rgu in msxipkernel has encfilter, should I remove it off?

Otherwise, I didn't remove anything from the modified rgu you have sent to me.

So what I did was use the stock boot.rgu from leo rom 2.10, change all the order for storagemanager\filter and storagemanager\fatfs\filter, put the extendir.dll in EXT folder, and it works.

interestingly, as I said earlier, I didn't need to add in registry FileCacheWritebackPriority256 to enable document tab in manila. There's an filecachewritebacktimeout registry though.
[Windows Mobile Apps and Games] ShaDrac:
Hi zenkinz,

I had exactly similar problems,

An reflash with a stock rom solved all my instabilities. :)

Since then I only flashed through SD-Card or task29 and an official RomUpdateUtility, NOT customruu since you need task28!

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
I didn't try stock reflash, as I have tried with mtty and it didn't work, so I have assume that stock reflash won't make any difference (mtty had previously solved instability problem that stock reflash couldn't)

now that I can enable extendir by putting it in EXT folder (instead of XIP or OEM drivers), and still have document tab support, I'm going to stick it this way. IS your driver designed to be running as XIP, or do you think that cooking it as an EXT file, is good enough?

When are you going to come out with RC with the cache support?
[Windows Mobile Apps and Games] ShaDrac:
Hi zenkinz,

encfilter has it uses only on a storage card, so if you really want to add encfilter, do it only on your storage card.

BUT if somebody enables encryption and after that flashes another rom they risk losing all their encrypted data (can't be decrypted)!!!

This risk is also exists with normal shipped rom.

Since most end-users here at XDA flashes their phones more then 1 time... ;)

Those two reg enties aren't necessary for getting it to work, they are only for tweaking the default values a little.

Enjoy

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
I don't know, I don't have test results with Extendir not in XIP.

There is still a minor bug in Extendir V2 Preview/Beta 1.05, but I think I've found it. :)

Probably within 24 hours there will be Extendir V2 Preview/Beta 1.06 (without cache).

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
I also delete mencfilt.dll, hd.dll, osaxst0.dll from MSXIPKernel and I edit the ms.boot.rgu and put a - in front of this Key to disable.

[-HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\ENCFilt]

"Dll"="mencfilt.dll"

"Order"=dword:5