yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ShaDrac:
Thanks guys, :)

The lack of sleep did catch up with me :( so I had a bit of shift of priorities.

Coming few weeks I'm very busy (or at least I should :D) for a client of mine. So the most of my spare time goes into my family. But when they're both a sleep... :D:D:D

As for an Extendir version that works for files cooked in,.. it will be months. :(

I need to do a bit more research on the IMGFS and how it hooks, I hoped it would work from the start, but it didn't.

As for now I will try to update post no. 6 with detailed step by step installation (and conversion) instructions for the different kitchens and try to update post no. 5 the tips and tricks.

@RoryB: do you've got Extendir working? The error you've got with PresetInstaller is probably because it wasn't installed at \Storage Card\Extendir\PresetInstaller.exe.

If you get the 1.05 working, then you only have to place the 1.06 in to your XIP. If that doesn't work, you can always replace the Extendir.dll (module) from 1.05 with the dll from 1.06 (or even better, first create a module from it and then replace the 1.05)

@everybody: Don't create a module from the 1.06 and place it in the XIP!

Well... actually DO create a module from the 1.06 and place it in the XIP and if that works, let me know how you did it because I didn't succeed. :D

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] kwbr:
Get some sleep and fix us the nasty fsreplxfilt.dll bug :). Should be prio one because it is a real showstopper. Most problems reported are related to this one, either activesync problems or sd access.
[Windows Mobile Apps and Games] RoryB:
It will be the workweek before I can get back to it. I had preinstaller in storage card root. I will move it to see if that works. I'll update next week. You enjoy your family, we'll just hack around and leave the big stuff for you.

Congratulations.
[Windows Mobile Apps and Games] RoryB:
Thank you for the file. I use CRBuilder2 so I guess I'll put it in OEM as a separate package. Wish me luck on Monday.
[Windows Mobile Apps and Games] bobsbbq:
You can also just drop the Extendir.dll file not in folder in your OEMDrivers. I just do this so I can easily enable or disable it with my kitchen.
[Windows Mobile Apps and Games] RoryB:
Put 1.05 with 8MB in OEMDrivers and it worked, although I noticed some folders opening slowly. Example: I have a folder called manuals in My Documents on my sdcard that has a bunch of pdf files and that folder hangs for a while before the file list shows.

Also, I cannot get the icon for adobe reader to show on the files in explorer. Found it. I got latest Adobe from Mega packages and it points to a non-existent icon in the reg setting. When I fixed this, the slow opening of the folder stopped too.

The presetinstaller error was that I did not have it in the \storage card\extendir folder.

Will try 1.06 again soon. -- Presetinstaller does not recognize it as an Extendir ROM.

Tried putting 1.06 Extendir.dll in place of version 1.05's in the OEMDriver folder. Presetinstaller does not recognize it as an Extendir ROM.

Something with 1.06 that our wizard's do not like.
[Windows Mobile Apps and Games] RoryB:
While trying to make things work I came upon two things.

1) I decided to add Extendir to the exceptions list of fsreplxfilt based on this post and this response. Those of you having whatever the fsreplxfilt problem is might want to try this.

2) Reading over the boot.rgu so many times I noticed that HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad has a key for TRUEFFS and TRUEFFS2, but instead of TRUEFFS1 it has TRUEFFS_DOC1 (Extended_ROM). I decided to change it to be TRUEFFS1 since the values under TRUEFFS2 match TRUEFFS1. It just seemed to me it made more sense that Autoload would load drivers and not profiles. I do not use Extended_ROM, so I do not know if this has made a useful change or not. I am going to try to find an Extended_ROM unlocker and see what happens.
[Windows Mobile Apps and Games] wolframio74:
i dont get it... just the programs installed with Extendir Specifics Cabs or under Extenderdir folder get optimized and work more faster and give me long battery life? xDDD or i just cook this "Driver" on my ROM and i gonna feel magic powers? O_o

Regards! i btw good job!!!
[Windows Mobile Apps and Games] ShaDrac:
Hi wolframio74,

Every file that's not cooked in to the rom benefits fully from Extendir (this includes the files copied to your root files during 1 boot through the .provxml's)

To be more specific, every file that's on one of your FAT filesystems (Root filesystem, Storage Card)

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

Everything that's manipulated during first boot

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.

The \Extendir\WinDir optimization is only an extra optional bonus feature for the Windows folder because our filesystems get slower when there are a lot of files in 1 folder.

But without using this bonus feature you already will have the speed increase. :)

Extendir Cabs is just a tool to create cabs with an optional possibility to optimize your cabs for the \Extendir\WinDir folder since most packages cooked in to a rom are installed in to the \Windows folder.

Enjoy!

ShaDrac

btw, no magic powers, just Extendir :D ;) :D
[Windows Mobile Apps and Games] Strepsils:
In my ROM linkin files from windows folder don't work. Can it depend on deleting cachefilt.dll from my ROM? And also 2 Mb version of 1.05 gain from device 10 Mb RAM or more, and even 0 Mb driver brings a lot of errors.

Device: Samsung i740

WM: 6.1 21052

Sorry for my English, thank's in advance...
[Windows Mobile Apps and Games] RoryB:
I cooked the 1.05 with 8MB in a ROM with Extendir-ized cab files for M2D, M2DC, Adobe Reader, Transcriber, WM5torage, pocketRAR, notepad, smartskey, quickmenu, and qwertymenu. Things seem to work, but I have about 1 to 1.5 MB less free RAM than my typical low, and about 7 MB less than my usual level right after flash.

I tried changing pagepool from 6 to 4 and got about 1MB better. I think the Extendir size will have more of a factor.
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

I've added "Extendir v1.05 all cache versions.zip" at post 2. :)

If you have a low memory device, try the 4MB or 2MB cache versions.

Enjoy,

ShaDrac
[Windows Mobile Apps and Games] malrok37:
Hi all !

I have been trying to cook extendir in a ROM for a few days now, but still no luck.

My last try was, according to what's been said, to put extendir directly in OEMDrivers.

So in this directory, I now have te following :

Extendir.dll\\

imageinfo.bin

imageinfo.txt

S000

S001

S002

S003

S004

S005

I also modified my boot.rgu in order to have extendir pointing in first order.

But when I launch preset installer (placed in \\Storage Card\\Extendir\\), it keeps on saying that my device is not Extendir enabled :(

In any case, I am attaching my boot.rgu file, should anyone have an idea...
[Windows Mobile Apps and Games] bobsbbq:
Not as a module. Just as a file. Extendir.dll What you have above is a module. Just take the Extendir from the package you unziped and in one of the fo;ders there is the Extendir.dll file and another .provxml put these in OEM drivers folder.

NOTE: This was only for the person having trouble with the 1.06 XIP version
[Windows Mobile Apps and Games] RoryB:
1.05 with 4MB cache works well. End up with about 22 MB RAM after flash. Much closer to the 23 to 24 I have without Extendir.

Tried 1.06 with 4MB cache again since 1.05 is working.

No good still.

I tried file in \ROM\XIP\OEMXIPKERNEL, also in OEMDrivers.

I even tried placing file in ROM\XIP\MSXIPKernel with the settings in boot_ms.rgu instead of boot.rgu

It must be something with the Wizard's way of starting the file system.
[Windows Mobile Apps and Games] indagroove:
OK, so not that I've rebuilt boot.hv, my device boots fine and everything, and goes through customizations and then gets stuck on the first boot screen after the re-boot. Any ideas? I didn't modify boot_ms.rgu, if that might make any difference. My boot.rgu is attached.

EDIT: I went ahead and took a second shot, and modified boot_ms.rgu (which I prolly should have done the first time), and it still won't boot past the first splash screen on re-boot following customizations.
[Windows Mobile Apps and Games] |Jason8|:
GREAT IDEA! I've been working on a CAB to OEM/EXT converter that had a GUI and worked well with every CAB out there. Welllll... it's been a pain in the ass. But here, we have a great looking OEM to CAB converter... Now hear me out.

Would it be possible for you to make your CAB making program convert a standard CAB file into your CAB's format? You would just have to parse the CAB's .inf file instead of parsing the initflashfiles.txt.

A program that I've found extremely handy for extracting CABs, no matter what format, was MSCEINF.exe (link to about page). "msceinf.exe extract filename.cab" will extract the cab and maintain the directory structure used. Using the directory structure and parsing the .inf file should be enough to be able to figure out how to convert straight from the standard cab to your cab.

I'm sure it's nothing you don't know already, but it would be a GREAT feature to have, especially since it would most likely open it up to ANY application and not just the ones we currently have OEMs for. And not only that, but I can see this taking the market share over OEMs and EXTs since it would be faster/easier. Besides, from my experience, converting a CAB to OEM is sometimes a hairy experience...

Is there a thread somewhere where people can upload/link to their converted CABs? I'd think a thread with all Extendir compatible cabs would be great! I'd be more than willing to start and maintain one. That is... if there isn't one already.
[Windows Mobile Apps and Games] Atze001:
Extendir for use in own cooked rom

A more datailed description would be better.

I try to use it on my own rom for the touch hd and now my hd stuck in bootscreen and after some minutes the screen gets darker and thats all.

I put the files in my kitchen and modify my boot.rgu and make a boot.hv and it dont work.

Attached the files.
[Windows Mobile Apps and Games] suiller:
dear friend, I've seeked your instructions & consequently integrated your dll in my rom & it works perfectly, I noticed above all a really faster \windows folder browsing... isn't a placebo for sure, does this dll influence also folder browsing speed??

thx,

davide
[Windows Mobile Apps and Games] Atze001:
Can you please post yout Boot.rgu?
[Windows Mobile Apps and Games] jmckeejr:
I am also having the same problem with it going fully through customization and then freezing on second boot at first splash screen.
[Windows Mobile Apps and Games] indagroove:
I'm wondering if it has anything to go with conflicting reg entries that are installed during customizations or provxmls that are loaded during first boot.

I might try with a stripped down oem base.

EDIT: I tried with a super stripped down OEM base, and still the same result.
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

At the moment I'm breaking my head on this.

The only thing I can think of is that something is installed during customization which makes a call to the NETCF function GetDirectories and doesn't have any errorhandling on it.

Could you check your config_operator.txt and everything that follows and if you're using UC, which apps are installed. Possible strip them all down and test it.

Could you also, if you have a folder on your storage card named '\ExtenDir\WinDir' delete its contents?

Good luck!

btw @indagroove, your boot.rgu looks ok.
[Windows Mobile Apps and Games] ShaDrac:
Your last lines of your boot.rgu are

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

While the last line should be

"Order"=dword:0

Let me know if that was the reason why you we're stuck in the bootscreen

Good luck!
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Good to hear you we're successful!

Yes, one of the things Extendir improves is the folder browsing speed, but I must optimize that part further so the apps that request folder information can handle it better and faster.

Did you already (carefully) removed some programs from the (cooked) rom and install them afterward? Then you really start noticing the speed improvements.

Could you do me a favor and post a benchmark result?

Thanks!
[Windows Mobile Apps and Games] indagroove:
OK, I'll mess around with my customizations settings later. Right now, I'm gonna work on this new 23001 build.

My config_operator.txt looks like this, BTW (I don't use UC):

LOCK:Enabled
TSK: \Windows\Ultralite.tsk
CAB: \Windows\groovetweaks.cab
CAB: \Windows\OMC 0.9.917.cab
XML: \WINDOWS\SASHIMIAR.xml
XML: \WINDOWS\Start_Menu.xml
LOCK:Disabled
RST: Reset
[Windows Mobile Apps and Games] Atze001:
Ok, will try this tomorrow.
[Windows Mobile Apps and Games] kushdeck:
ok i went ahead and modified my boot.rgu, added the lines, changed the orders. i then went ahead and rebuilt my boot.hv. cooked in extendir/flashed, and its seems as if it is not working. I then went ahead and created a folder on my storage card, added the preset installer, then i run it, and it gives me an error stating that this is not an extendir enabled device. where did i go wrong? what did i forget to do? i am completely lost. any help would be much appreciated.

-deck
[Windows Mobile Apps and Games] ShaDrac:
Hi kushdeck,

Did you, after you've modified your boot.rgu & rebuild your boot.hv, port them both to your XIP?
[Windows Mobile Apps and Games] anryl:
OK i tried but no luck (DIAMOND)

request - post u'r modified files for comparison pls

boot.rgu hv ....

i edited it included dll into oem but after installing some cabs not working

do i have to use the installer or just run the created cabs ?

redone my roms to use Storage allways

is compatible with nue - patched xip ? (spinlock ,gxdma)

TY
[Windows Mobile Apps and Games] kushdeck:
ok maybe that is where i went wrong. I am using ppck, modified to 23001. I am not really sure how to port them both to my xip tbh. JooJoobee666 was the one that ported da_g's sys and xip to work with ppck. my xip file has a .bin and boot.rgu. Maybe you could point me in the right direction on how i would poort them both to the xip. Thanks in advance.

-deck
[Windows Mobile Apps and Games] corepda:
Really interesting. can all what you said can be done with just that single cab? I appreciate.
[Windows Mobile Apps and Games] ShaDrac:
Well, I also own a Diamond (for which I'm making a demo rom, completely based on a stock 2.03 rom), but attached the files from my kitchen (I think it's called the kaiser kitchen).

In the attachment you will find my boot.rgu, boot.hv and the os.nb.payload. It's all from the stock Diamond 2.03 rom.

Enjoy!
[Windows Mobile Apps and Games] mbarvian:
can someone take a look at my boot.rgu and see if it is alright?

thanks for the driver!! :)

max
[Windows Mobile Apps and Games] udK:
Uh nice tool, Subscribed ;)

Thank you, I'll try it.
[Windows Mobile Apps and Games] kidoucorp:
Would it be possible to delete the cabs after Preset Installer has finished installing ? This could be useful to save space when Visual UC is run from the Device Memory :rolleyes:
[Windows Mobile Apps and Games] RoryB:
What I do is create a folder called cab and put all the cabs in it. I then make a zip file of the folder cab called cabs.zip. I cook that in my ROM. It uses Mortscript to unzipall the file \windows\cabs.zip to \(root). Then the script does a foreach cabfile in \cabs directory install with cab installer. Then it deletes all the cab files and removes the cab directory.
[Windows Mobile Apps and Games] kidoucorp:
Thanks, but it would be nice to let end-users to choose which app they want to install, and after that, all cabs are deleted... :)
[Windows Mobile Apps and Games] RoryB:
I would guess the mortscript would not install the cabs, but run Preset installer and after it runs the mortscript would delete the cabs. Note I believe that preset installer can also install cabs from SDCard.
[Windows Mobile Apps and Games] twopumpchump:
yeah i actually cabbed up over 60mb of stuff from my full rom and ran it all at the end with autoinstall from tom_codon. the problem i see with installing all of these cabs is the time that it takes...took over 30 mins to install all of those cabs. everything worked fine with the cabs, so i ran a benchmark and my score was almost 200 points LOWER than it was if i cooked it all in. i made the cabs with extendir cabs i thought this was supposed to make it faster?
[Windows Mobile Apps and Games] RoryB:
Before starting my studies in Extendir, I had developed scripted Angel. This ROM uses zip files that contains files I do not want a copy of in windows. An example is ManilaGFX folder contents. So I have a M2D.zip I cook in and my script unzips the files into their correct folder. On my SDCard I have some programs installed and I have zip files that my script unzips to put a few files and shortcuts onto the device. It also runs some reg files to get the registry set for these programs.

Maybe the files do not have to be in the form of cabs, but could be zip files that would put the files in the various Extendir subfolders. And have reg files for that part too. I do not know for sure, but I think zip works faster than cab.
[Windows Mobile Apps and Games] kidoucorp:
Also, would it be possible for Extendir Cabs soft, to handle Multi-Lang packages ?

For now, I have a structure similar to this :

MyPackage

MyPackage\0409

MyPackage\040C

MyPackage\files

So if I select "MyPackage" folder, Extendir Cabs doesn't build the cab well (in fact it just compile the regfile)

A Dropdown list on your soft to let you choose in which Lang the cab should be built would be nice, as it would avoid us to make one package for each Language... :D
[Windows Mobile Apps and Games] ShaDrac:
At the moment 'Extendir Cabs' create only cabs from the files in the targeted source folder, neglecting the files in any subfolder.

But I'm playing with the idea to let 'Extendir Cabs' understand the Ervius/Bepe's kitchens folder structure. :)

I'm also playing with the idea to give Preset Installer an extra option for the end user to select for which languages he wants to see the Cabs/Mortscripts. I thought it would be handy for multilanguage roms.

This technique would be far more preferable and is way faster than cabs, as long you don't need the uninstall/rollback features that a cab install has. Personally I use Mortscript to do these things for me.

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] kidoucorp:
This would be so niiiiice ;)

Anyway, thanks for your hard work :)
[Windows Mobile Apps and Games] RoryB:
I was thinking the zip method would be a way to install packages that we do not want to be uninstallable. Most of my Extendir cabs are created from the package in my kitchen. So far I have only done things like Adobe, M2D, etc. that I might want to be removable, but I think some of the basic features could be zipped. Maybe Office Mobile.

JUST thought of something. When we install a cab it shows up in the remove programs list. I assume this is because of a registry setting. Also, there is a files created under \windows\AppMgr that I assume is what the device needs to be able to uninstall the program. Could we just include these in our zip file and reg settings to allow the zip installed program to be removed as if it was cab installed?

Update on version 1.06

:

I have tried all sorts of things with the registry settings and tried the dll in OEMDRIVERS instead of XIP. I cannot get 1.06 to work.
[Windows Mobile Apps and Games] spocky12:
Yes, same here, 1.06 doesn't work at all in xip whatever I try. It works however when I put it in sys.

One other thing : a few people using my latest extendir enabled rom complain about problems when resuming from standby : it sometimes takes 2 to 3 seconds for the phone to be reactive after wakeup. The exact same rom without extendir doesn't show this behaviour (note : this is with an extendir 1.06 module in sys, need to make more tests with older versions).
[Windows Mobile Apps and Games] RoryB:
@spocky12 Where did you put it in sys?
[Windows Mobile Apps and Games] twopumpchump:
im not spocky but untill the latest version i always put in sys :) just place the pkg there just like you do in oem.

spocky if you want to upload your entire ROM folder and send me a link i will take a look at it and see if i can make it work in xip for ya ;) not making any promises but it works great for me in xip maybe i can help.
[Windows Mobile Apps and Games] spocky12:
I put it in \EXT\SHARED\Apps\Extendir_1_06. It works fine here.

Oops, I was about to explanian my tests for xip when I had an idea. I've figured out why it doesn't work : I completely forgot xipport needs a .imageinfo.txt file for each and every file of the xip. Now it works in xip too !

@twopumpchump : thanks for the help

@RoryB : try to dump the xip you've build to see if it really includes extendir.dll
[Windows Mobile Apps and Games] twopumpchump:
@shadrak, i want to try with unzipping files instead of using cabs...can you give me an example of what to do? i mean where the files are supposed to be unzipped to? would be great to unzip about 50mb of stuff from my sd card lol i cant wait to try it :D
[Windows Mobile Apps and Games] ShaDrac:
Using zip files with Extendir

Hi TPC,

Personaly I create zip files for the romfiles I dont' want to uninstall (lots of bmp/gif/jpg from the SYS packages). I dont create one big zipfile, but for each package one and if one gets to big (+50 files) I split them up in multiple zip files.

Then I use something like the following Mortscript at boot to unzip the files in an \Extendir\WinDir\zipFileName folder.

ForEach zipFile in files ("\Storage Card\Extendir\Setups\RomBaseFiles\*.zip")
UnzipAll(zipFile, "\Extendir\WinDir" \ FileBase(zipFile) \ "\")
Delete(zipFile)
EndForEach

If you don't want to delete the zip file after unzipping, remove the line 'Delete(zipFile)'.

Enjoy! :)

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
This is good news! :)
[Windows Mobile Apps and Games] twopumpchump:
thanks shadrak :D you know me im gonna take this thing to the max and zip up as much as possible lol. i have used similar method to unzip files before, but not on that large of a scale...does it take a long time to run all of these smaller zips? im sure its faster than the cabs i tried just wondered how fast it was for you.

also i have alot of chome plugins with my custom titanium, and most of those are set to be copied to program files/plugin name. i have been playing with zipping these already and having mortscript unzip them to program files to clean up the windows directory. with extendir, is there a better way to do these types of files that get copied to other directories from windows? i hope you understand what im saying lol.

thanks for the help :)
[Windows Mobile Apps and Games] RoryB:
Thanks for the info, but I use CRBuilder2 so I am not set up that way in my kitchen. I will have to check about imageinfo.txt getting built automatically or not. If not, I'll try to figure that out. Anyway, I will see if I can dump the XIP to check.
[Windows Mobile Apps and Games] twopumpchump:
@shadrak....i made 23 zip files from 1,123 manila files, put them in the directory on storage card just like you have in your code. i then used your mscr code and placed in rom and had it run on runcc at end of flash.

when rom was booting, it appeared that everything was going to work right...through customization it ran the mscr and took around 4 mins to finish. i checked preset installer and extendir was enabled, and looked in the folder for the zip files they were still there...and code says to delete them. also i checked windows/extendir/windir and it was totally empty :( any ideas what i may have done wrong?