yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] bobsbbq:
This is great. I have been using Extendir in almost every version of my ROM now with good stability. Added a shortcut to my Applications folder to Preset installer for easy customization.

I have had good luck using morscript and zip files instead of cab files. Manila with 3000 files loads in 3 min during customization on first boot. But I find I'm having problems with the new manila 2.5 being installed through Extendir. I don't know if it is trying to change some of the files or what but it will work in the begining but after a while or installing other things Manila will no longer boot and lockups occur causing a hard reset.

Would really eventually like to have a script that would copy all known compatible sys files to a directory, zip them and have a script to install them during first boot. This way when we change to a new sys there is not so much work to optimize a new version.

Look forward to the new version.
[Windows Mobile Apps and Games] ShaDrac:
New features in upcoming Extendir V2

In the next version of Extendir (V2) there will be some new features, the most noteworthy are:

The end-user can configure Extendir through a configuration program. Changes to the configuration will be applied on the fly (read: without a soft reset).

Dynamic cache automatically shrinks the cache size if your phone is in danger of running out of free memory. When there is enough free memory again it automatically grows the cache size.

The implementation of lazy write back cache makes it possible to disable the (default) Windows Mobile cache so you can gain that valuable memory! (For example 4-8 MB more free memory!)

The new configuration program makes it possible to configure the following values:

Enable/disable Extendir functionality globally

Enable/disable Extendir functionality on selected folders

Enable/disable Extendir functionality on selected files

Enable/disable caching

Enable/disable caching on memory mapped files

Minimum dynamic cache size (2-64 MB)

Maximum dynamic cache size (2-64 MB)

Minimum free amount of memory before shrinking the dynamic cache

There also will be some other configuration options but that depends on my final test results.

A (simplified) example how dynamic cache works:

Let’s say an end-user configures Extendir with the following values:

Minimum dynamic cache size: 4MB

Maximum dynamic cache size: 32MB

Minimum free memory: 16MB

After a hard reset his phone has normally without Extendir 60MB free memory.

With Extendir it has only 28MB free memory. This is because of the 32MB cache size.

He browses the internet with Opera which uses (for example) 8MB and only has 20MB free memory left.

Then he started Album which uses (for example) 12 MB and only has 8MB free memory left.

Extendir notices this and shrinks the cache size from 32MB to 24MB and there will be (a minimum of) 16MB free memory on his phone.

After he closes Album there will be 12MB of memory freed so there is a total of 28MB free memory.

Extendir notices this and grows the cache size from 24MB to 32MB and still there will be more than the minimum amount of 16MB free memory free (20MB).

I hope you’ll get the idea.

And now I hear you think: is it also faster?

Well, Extendir V1 was just a proof of concept release, while Extendir V2 is close to what I initially had in mind.

There are a lot of speed improvements in Extendir V2 and so far the separate test results (of the isolated pieces) are astonishing, but I don’t have any test results yet of all the pieces combined.

I’ll try to keep you guys updated on the progress of Extendir V2.

Enjoy :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
cant wait to test shadrak :)
[Windows Mobile Apps and Games] kidoucorp:
Wow, great, can't wait to test this new version !!!

Any ETA ?? (no accurate ETA, just to know if we have to wait some days, weeks or months :D)

Thought this project was dead, happy to see it's not the case :D
[Windows Mobile Apps and Games] ShaDrac:
ETA Extendir V2

Good to know I can count on you! :)

Well I hope to release 2 preview/beta versions of Extendir V2

The first will be a version with caching disabled (This makes it easier for me to pinpoint bugs I’ve overlooked). :D

I hope to release that one within 2 weeks.

The second will be a version with caching enabled which will be released a week later.

And if nothing strange happens than a week later Extendir V2 will be released, including the configuration program.

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
You know I will be around to test. V1 is finally working good for me, it took some time but I finally got the right setup. And I can't wait to test the new version.
[Windows Mobile Apps and Games] ShaDrac:
It's good to have you around!!! :)

btw. Congrats with the 3 fastest WM6.5 Blackstone roms! :cool:
[Windows Mobile Apps and Games] selyb:
Feature Request

Feature Request: some kind of feedback feature (startup log maybe?)

I think it would be really helpful to cooks and you alike if Extendir would give some kind of startup feedback like logging to a file or logging to a registry key. Would be great even if you could do this as maybe a debug version of the current v1 release. Sometimes it is very difficult to determine what is preventing it from working.
[Windows Mobile Apps and Games] ShaDrac:
Great idea!

Hey selyb, great idea! :)

I'm gonna try to also release versions of Extendir with logging.

That's going to give cooks a way better insight on what's happening on their devices (not only Extendir related!).

So they could see which program does what, where and when. Optimizing roms would be a much easier job! :cool:

It would be possible to make it an option of the configuration program, but I won't do that since I want to minimize the branch predictions. Keeps the performance at maximum for non logging versions. :D

Enjoy! :)

ShaDrac
[Windows Mobile Apps and Games] DeadMan2k:
Another idea for Preset installer, if i have in setups folder's file's with some name (i.e. manila.mscr manila.cab) preset installer show manila only one time, and if i select it, execute all files with name manila (i use mscr for unpack application file from zip, and cab file for add registry setting (is very hard to add many registry setting with mscr file)
[Windows Mobile Apps and Games] ShaDrac:
Hi DeadMan2k,

If I we're you I would use the mortscript to unpack a zip file and install a cab file located in a sub folder like the example in post 3.

That way Preset Installer would only run Manila.mscr and this Manila.mscr will unzip Manila.zip located in a sub folder and install Manila.cab also located in that sub folder.

Enjoy! :)

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

I have cooked enxtendir into my 28005 rom for blackstone, the device did boot up successfully

but after I launch

\Storage Card\Extendir\PresetInstaller.exe:

I see that my device "is not Extendir enabled..."

Looking at the modules running in filesys.exe I can see that there is extendir.dll present so I assume it is running.

both boot.rgu and ms-boot.rgu are tweaked.

What can be wrong?
[Windows Mobile Apps and Games] ShaDrac:
Hi vipa,

Could it be that Extendir is only active on your storage card, not on your main storage?

If you look at the modules running in filesys.exe (under details with task manager) there is a column 'Proc Count' if it says 2, Extendir is active on your main storage and your storage card. If it says 1, Extendir is probably only active on your storage card.

If you could attach your boot.rgu and ms-boot.rgu, I could take a look at it.

btw. which kitchen do you use?

ShaDrac
[Windows Mobile Apps and Games] vipa:
Thank you ShaDrac,

My bad - I was flashing too quick (I use ervius visual kitchen btw).

I have actually extendir running fine (proc count = 2) when I cook it located as you advised in ROM\Shared\BUILD_N\Extendir\

But when I have put it into EXT\SHARED\MY_Packages\Extendir\

it did not work (this package had also your provxml file).

I also came across a problem with presetinstaller giving error.

The reason was some error with time (date/time zone) settings.

Which could be caused by some wrong settings in my customized settings files (regs/xmls) - I try to predefine time and date in the cooked rom and it seems that something that I do is wrong.

Anyway I will look into this and now will get busy with setting up programs in extendir.

Thanks again.
[Windows Mobile Apps and Games] mondilv:
Tester

Do you still need the testers?

I'm ready.

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

Curiosity is not the defect, isn't it?

:p
[Windows Mobile Apps and Games] ShaDrac:
Hi mondilv,

Thanks for willing to test Extendir V2! :)

I hope to release this weekend the first preview/beta of Extendir V2!

ShaDrac
[Windows Mobile Apps and Games] l3v5y:
I'm up for testing it! I love the current version of Extendir on my Diamond! :)
[Windows Mobile Apps and Games] selyb:
I have a retired Kaiser that would love to help out with testing ;)
[Windows Mobile Apps and Games] makuu:
Hi Shadrac,

Thanks for this great feature and the suite of tools coming with it.

I've been cooking several extendir rom for x51v and here is my results and feedback.

I did some benchmark here.

I have been mainly using your Imgfs V1.06 4 Mo driver, because for some reason I can't have the XIP version working on my device.

Maybe you can help me on using the xip version? Actually When I put the extendir in xip it looks like the OS uses a part of it as it tooks some ram from the device but the still the feature is not working.

The main bug I had is that I noticed that an extendir rom is not able to recognize a SD Card if it has multiple directories and sub-directories. If such a case the OS simply doesn't recognize the card. To be able to use the card I had to put most of my directories in a zip archive and then the extendir rom would "see" the card (note: on a regular rom the card is "seen" correctly).

I also had sometime difficulties of having presetinstaller lauch automatically at second boot, so I changed the mrotscript with this one:

i = 1

While( NOT DirExists( "\SD Card" ) && ( i < 16 ) )

Sleep( 500)

i += 1

EndWhile

if NOT ( i < 16 )

Message( "Could not start PresetInstaller.", "Abort" )

Endif

Run ("\SD Card\Extendir\PresetInstaller.exe", "")

Delete("\Windows\StartUp\2bootPresetInstaller.mscr")

and now it works perfect all the time.

I am looking forward to test your V2.

Regards.

makuu.
[Windows Mobile Apps and Games] ShaDrac:
Superb guys! :):):)
[Windows Mobile Apps and Games] RoryB:
I'll keep trying for the old Wizard
[Windows Mobile Apps and Games] bobsbbq:
Shadrac Just before I forget. In Preset Installer when installing apps sometimes the graphic in the window cuts off part of the text and is not showing installation finished and rebooting. I may have to do with longer file names.

Also I have one cab that During normal installation without Preset Installer has a message that says HTC Messaging has been successfully disabled and you have to select Ok. After pressing the Ok button another window comes up and ask if you want to restart. This does not show up with preset installer and it just hangs the phone and you have to do a soft reset.

EDIT: The second issue is resolved by using the grayed check mark which prompts user.
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, I have tried using a new kitchen. The extendir.dll in not being included in the build. Not sure why I'm waiting on a reply. Is there any other locations it can be placed and have the same benefit?
[Windows Mobile Apps and Games] mwelch16:
Is anyone building Extendir roms for the TP2?
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, another request for V2 if possible. Now that Manila is running well from the installation from Preset installer we are having some issues when people add mods to the Manila.

If someone add a mod which overwrites the manila it is no problem. But if they try to uninstall a mod like Bkg4AllTabs etc then it removes this file from windows and Manila will not start anymore.

Is there a way to have a check done after every soft reset that check to see if any of the Alias files are missing and if so replace them? This would make installing and removing mods much better.
[Windows Mobile Apps and Games] mondilv:
For D2 works fine.

But Acrsoft mms picture compression didn't work for me.
[Windows Mobile Apps and Games] nu00me:
please help me!

I flashed LIA Extendir Rom from Bobsbbq

and I've tried to convert extendir cabs

but it is not working

what have I done wrong?

1. extract a CAB file

e.g. Skyfire PPC.CAB extract to Skyfire PPC Folder

2. click Extendir Cabs.exe

3. click Browse to "White Bird Solutions Extendir Cabs windows

4. Select Skyfire PPC folder

5. click Generate in "White Bird Solutions Extendir Cabs windows

then finished

I have done right?

so sorry for my bad english
[Windows Mobile Apps and Games] bobsbbq:
You have to be careful when making cabs. Not just with Extendir but any cab. You have to make sure if there are any provxml files they have to be converted to xml. Also in Registry there are some issues, for example if you have a reg file with a ";" without quotes it will not work. Also some unsigned .dll or .exe files will not work. See first post for more information about this. When I made some cab in the past I had to cook part of it in the ROM and part through the cab. This is still what I do with HTC Sense.
[Windows Mobile Apps and Games] ShaDrac:
Hi bobsbbq,

If the mod is installed in the windows folder then it will overwrites the original manila files, even if they are located somewhere in \Extendir\WinDir.

BUT, if the mod is installed somewhere in \Extendir\WinDir, it can be uninstalled and the original (previous) files will reappear. :)

@all:

It took me a bit longer then I hoped for, but the first preview/beta of Extendir V2 is going to take a few more days.

ShaDrac
[Windows Mobile Apps and Games] darkhalf520:
With version 2 coming in some days, can we hope for a lil more detailed step by step on usage..... I have an old style kitchen and failed miserably at cooking in ur latest dll.....would help if someobody made a step by step for current version 2.
[Windows Mobile Apps and Games] YYYYY:
First of all, great job, this driver is amazing!

The driver is wokring well for me except one thing. I´m trying to use the storage card feature, e.g I put a file into "\Storage Card\Extendir\WinDir\Test\Test.exe"

If I go to "\Windows", Ican see that file that I put into my storage card but it won´t run, there´s a message saying that the file is not signed etc. but if I put that into \Extendir\WinDir\Test\Test.exe everything is working fine, so fileson the phone memory wokr well but files on the storage card does not.

\Storage Card\Extendir\WinDir\Test\Test.exe-->Doesn´t work

\Extendir\WinDir\Test\Test.exe-->Does work

XPeria with Extendir V1.6

Anyone can help me?
[Windows Mobile Apps and Games] qq108108108:
successfully implement in my X1 rom and found out the file system index have climbed up 782,really a significant improvement.thanks for this great driver!!!
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Your welcome :)

Enjoy!
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Your boot.rgu looks ok, but personally i would give the order of fsreplxfilt a higher number then htcfsfilter.

Rebuild your boot.hv, port it and the boot.rgu to your XIP, add the Extendir package to your OEM folder in your kitchen and start enjoying the performance increase! :)
[Windows Mobile Apps and Games] indagroove:
So, I redid my config_operator.tsk, so it looks like this:

LOCK:Enabled
LOCK:Disabled
RST: Reset

[/QUOTE]

And still it doesn't get past the first splash screen on 2nd boot. I have patched my XIP with nueSpinLock, would that make any difference? Also, your provxml looked a little odd to me with strange characters when I looked at it with notepad. Is it supposed to look like this:

<?xml version="1.0" encoding="utf-8" ?>
<wap-provisioningdoc>

<characteristic type="CertificateStore">
<characteristic type="Privileged Execution Trust Authorities">
<characteristic type="c042ec4482307489b49f2cb210cdc64a1fb617e6">
<parm name="EncodedCertificate" value="MIICFzCCAYCgAwIBAgIQL47uCGZUB7dOcN7h4vGRWzANBgkqhkiG9w0BAQQFADAfMR0wGwYDVQQDExRXaGl0ZSBCaXJkIFNvbHV0aW9uczAeFw0wODEyMzEyMjAwMDBaFw0yOTEyMzEyMjAwMDBaMB8xHTAbBgNVBAMTFFdoaXRlIEJpcmQgU29sdXRpb25zMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCulAE+EKeAHYBPwKAx8L3qPu7AVu+bp0dEvRlIeCb+6SuvbC2Sh7h4htULR4Mwmw37mscev2DcexJlqkuORYt69ooq4yKlqb1D9/buHE7uE3YSf/VHQvcmvpOOHhC9c+HlIlKbOXRY1A3r5c+urUBrrgvPx1mSKHclzAh023KrVwIDAQABo1QwUjBQBgNVHQEESTBHgBAixAPxfhdnEyJlrr24458DoSEwHzEdMBsGA1UEAxMUV2hpdGUgQmlyZCBTb2x1dGlvbnOCEC+O7ghmVAe3TnDe4eLxkVswDQYJKoZIhvcNAQEEBQADgYEAi5EpnF5053E03BT1ttQN/4jBRgIQqubdVDbz44UibijndOImfRgsmBepkMCJEw/E4mFnZEhj2t/S3wJL43iy9WNZIpSyC1e6J2PPVCP40LJVoyqWhsIsUAS/bdrElky34iUmq+HgwPjKWV+D40Qvv+bKn5ORSGDjOV2NBgPJKv4=" />
</characteristic>
</characteristic>
</characteristic>

<characteristic type="CertificateStore">
<characteristic type="SPC">
<characteristic type="c042ec4482307489b49f2cb210cdc64a1fb617e6">
<parm name="EncodedCertificate" value="MIICFzCCAYCgAwIBAgIQL47uCGZUB7dOcN7h4vGRWzANBgkqhkiG9w0BAQQFADAfMR0wGwYDVQQDExRXaGl0ZSBCaXJkIFNvbHV0aW9uczAeFw0wODEyMzEyMjAwMDBaFw0yOTEyMzEyMjAwMDBaMB8xHTAbBgNVBAMTFFdoaXRlIEJpcmQgU29sdXRpb25zMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCulAE+EKeAHYBPwKAx8L3qPu7AVu+bp0dEvRlIeCb+6SuvbC2Sh7h4htULR4Mwmw37mscev2DcexJlqkuORYt69ooq4yKlqb1D9/buHE7uE3YSf/VHQvcmvpOOHhC9c+HlIlKbOXRY1A3r5c+urUBrrgvPx1mSKHclzAh023KrVwIDAQABo1QwUjBQBgNVHQEESTBHgBAixAPxfhdnEyJlrr24458DoSEwHzEdMBsGA1UEAxMUV2hpdGUgQmlyZCBTb2x1dGlvbnOCEC+O7ghmVAe3TnDe4eLxkVswDQYJKoZIhvcNAQEEBQADgYEAi5EpnF5053E03BT1ttQN/4jBRgIQqubdVDbz44UibijndOImfRgsmBepkMCJEw/E4mFnZEhj2t/S3wJL43iy9WNZIpSyC1e6J2PPVCP40LJVoyqWhsIsUAS/bdrElky34iUmq+HgwPjKWV+D40Qvv+bKn5ORSGDjOV2NBgPJKv4=" />
<parm name="Role" value="222" />
</characteristic>
</characteristic>
</characteristic>

</wap-provisioningdoc>
[Windows Mobile Apps and Games] THE GRIZZ:
any xperia x1 cookers willing to cook a public full ROM with this. the x1 suffers badly from performance issues (especially when you compare it to HD or TD2). hope we can bridge some performance gaps with this.

also, any body can coment on "real world" performance increases. file system index numbers are good and everything but they are just synthetic numbers
[Windows Mobile Apps and Games] bobsbbq:
Ok I'm fairly new to cooking. I can edit the boot.rgu no problem, for the boot.hv (which to me looks just like the boot.rgu) I'm not sure the best way to edit and rebuild. I think the Ervius Visual kitchen will automatically port it during the build but not sure. I like this concept and would like to try this as soon as I understand it more. I read that boot.hv can be edited directly without conversion to rgu with CERegEditor. Has anyone used this and would this be a better way to edit the boot.hv rather than having to rebuild it?
[Windows Mobile Apps and Games] indagroove:
http://xdaforums.com/showpost.php?p=4041488&postcount=39
[Windows Mobile Apps and Games] Atze001:
Help Please

I try it again with ervius kitchen 1.5. I put the Boot.rgu in OEMXIPKERNAL Folder and make the Boot.hv.

The Extendir Folder it put in SYS Folder. In the kitchen it set the Extendir to TRUE.

The os is booting up and stuck in bootscreen and after a while the screen get´s darker.

Edit: Try without modifying the rgu to see if Extendir.dll is located in windows folder and yes it is.
[Windows Mobile Apps and Games] CRACING:
Hmm, I just edited boot.rgu and wrote :

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

Placed Extendir oem in oem dir and cooked the ROM.

Preset Installer detects and works fine but only the ram draining issue.

BTW; I haven't touched boot.hv. I'm use my own kitchen which is based on bepe's platform rebuilder. I think visual kitchen is also same...

Best Regards
[Windows Mobile Apps and Games] bobsbbq:
I just don't understand what to change the order of in the boot.rgu

I have not added the additional lines yet. I want to get the ordering right first.

Can you tell me which lines to change and to what? I have several whith 0 now.

Attatched boot.rgu
[Windows Mobile Apps and Games] Atze001:
Thank you. I will try it in a few hours.
[Windows Mobile Apps and Games] indagroove:
If DataCacheSize is 4 in our boot.rgu, do we need to change it to 8?
[Windows Mobile Apps and Games] bobsbbq:
Ok let me know if it works.
[Windows Mobile Apps and Games] oaa8:
These are my boot.rgu and boot.hv for Da_G's latest 6.5 (23001) kitchen. I successfully got PresetInstaller to show the screens on the first post and recognize my device as "Enabled". I have yet to figure out how to successfully build and install an optimized cab. The ones that I have tried to make and install so far have no shortcut inside the start menu.

The thing that I noticed is that PresetInstaller.exe needs to be on the storagecard in the Extendir directory or else it won't say that your device is "Enabled". I tried just cooking it in and that didn't work.

I didn't read the instructional posts very carefully so these first mistakes and my inability to install a cab may be because of that but here are the boot.rgu and boot.hv files for Da_G's 23001. I didn't do anything to the XIP.
[Windows Mobile Apps and Games] bobsbbq:
I finally got past the dim screen and lock up and now I get a error Cannot find PresetInstaller.exe in the path to the storage card. I know when my computer is connect to the device the name is Storage Card. I have tried twice with movinand and SDMemory but neither one is working. Going to flash back to a working ROM to see if I can find out what to use. I have both movinand and SDMemory entries in the reg.
[Windows Mobile Apps and Games] Atze001:
Don´t work again

Now I correct all and now I stuck earlier. On smart mobility screen. I think I am too stupid to get this to work.:(

@ bobsbbq: Can you post your Boot.rgu that we can see what is the difference?
[Windows Mobile Apps and Games] bobsbbq:
I guess I'm with you I'm either going to have to have more instructions or something as I have spent a whole day and still never got my Blackstone to boot or get the Preset installer to work.
[Windows Mobile Apps and Games] Angelusz:
Very nice! Surely going to look into all this new goodness!
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

To bad you still didn't find out why, but I still think the problem is somewhere an application that that can't work with Extendir. Try to find out which. Strip down your rom or try with stock version and then rebuild your rom one by one.

I hope you will succeed!
[Windows Mobile Apps and Games] oaa8:
In my experiences, some programs do not work when "extended" to the storage card. Usually when I decide to make an extendir rom, I have my extended files in the phones memory so \Extendir\WinDir\***. That also stops any problems if the storage card is removed. Something else that I have tried doing is when I tried using Sense UI 2.5 with extendir which has about 2500+ files, I had them in the folders on the storage card and then copied them from storage to the \Extendir\WinDir\ directory instead of using cab or zip files since opening that many files into that many directories will take an enormous amount of time and the Sense UI would not work in \Storage Card\Extendir\WinDir\***.