yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ShaDrac:
Well maybe I did something wrong :D

I wrote that script from head, but didn't test it.

Maybe UnzipAll doesn't create the target folder, or it could be also it fails because the \Extendir\WinDir folder didn't exist yet and UnzipAll doesn't create multiple folder levels at once.

Try something like this:

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

and if that one doesn't work use the next one:

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

And if that doesn't work the problem is probably in the following line:

UnzipAll(zipFile, "\Extendir\WinDir" \ FileBase(zipFile) \ "\")

Change it into:

UnzipAll(zipFile, "\Extendir\WinDir" \ FileBase(zipFile))

I think that we're all the possibilities :D

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
thanks shadrak, i have it working now :D so far i have 32 zip files on storage card that run from the mortscript at end of rom and they unzip FAST :cool: also believe it or not everything actually works when i do it this way lol. ive taken about 20mb off of my nbh file, and over 2000 files out of windows directory so far....so here is my question. why is it that without extendir with full rom i can open my windows folder in file explorer in say 2 seconds, but with extendir and all of these files removed from windows directory it takes 3-4 seconds to open windows from file explorer :confused: i remember your first version even without making zip files would make windows open in a split second....why wont it with newer version from xip and less files in windows? i guess i can go back and try the original version and compare, maybe its just me lol.

here is the mscr script that worked for me...

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

update....seems like the more i install from zip the slower the rom is getting :( i think ill stop where im at lol
[Windows Mobile Apps and Games] chriscsh:
Hi spocky12

can you help to explain more, how to get the imageinfo.txt file and where to put into?
[Windows Mobile Apps and Games] bobsbbq:
Maybe I'm wrong here and just guessing, but I think the thing that speeds things up is not only having them in Extendir\Windir directory but also having a alias for each file in windows which is what the cabs did. I wait for the master to really answer this.
[Windows Mobile Apps and Games] farahbolsey:
Hi

just drag and drop the file "extendir.dll (not the folder) on "reversmode.exe"

Franck
[Windows Mobile Apps and Games] twopumpchump:
yep you are right, its the alias files in windows that makes it slower to open. shadrak, is there a way to give hidden attribute to all alias files created in windows?
[Windows Mobile Apps and Games] RoryB:
I copied a changed HTCHomeSettings.xml into windows and realized it should have been into the Extendir folder. I deleted it from windows and went into the Extendir folder and saw the xml was missing. I copied my xml into the Extendir folder and then looked in the windows folder and saw it there automatically. So I think the dll automatically creates the alias files.
[Windows Mobile Apps and Games] spocky12:
@chriscsh : I've attached my own extendir.imageinfo.txt, just drop it in the same folder where you put extendir.dll in xip (assuming you're using xipport, it's in out\files).
[Windows Mobile Apps and Games] chriscsh:
Thanks spocky12! that work :D

but after that , my device can't boot :(

still need more work to get it work
[Windows Mobile Apps and Games] kidoucorp:
Hi ShaDrac,

I was wondering how did you managed to convert Module files to Cab files ? (I saw in your config_operator.txt that you have some Base_Files made on cab). I think it's would be a good way to provide end-users to completely choose what they want on their rom : (Example : MyPhone, WLM, etc), and choosing which language they want for their rom : We could just make a cab with a specific language that would copy localized files to Windows dir, and adding specific registry keys to make the rom specific language.

I'm working on a highly customizable ROM with your great Visual UC, and so on, if I manage to get this completly done, I will post a tutorial if there are some people interested. :rolleyes:

Also, I'm impatient to get your new Visual UC with Mandatory Installs, that would be nice :D

Cheers, and keep-up your (so) good work !!! ;)
[Windows Mobile Apps and Games] RoryB:
I will try putting in sys today, but it has not worked in xip or oem. Did not work.

I think I already tried as a module in xip, but will try again. I notice two txt files in module folder. I deleted the imageinfo_pe.txt file and will cook this way first. Did not work.

I dumped a previous rom I built and the extendir.dll is in the xip.

Tried version 1.05 in the xip. Did not work.

I have tried every which way I can. Poor old wizard just does not like version 1.06
[Windows Mobile Apps and Games] l3v5y:
Using Extendir with 0mb cache causes a load of errors (both 1.05 and 1.06) but using it with 2mb cache seems fine (with 1.05 at least).
[Windows Mobile Apps and Games] twopumpchump:
yep i got the same with 0mb cache with 1.06 in xip as well....2mb was usable but 4mb seemed to be the most stable and best for me :)
[Windows Mobile Apps and Games] bgcngm:
Let me see if I understood...

This means that we can delete everything that is in the ExtROM, replacing the normal customization by Preset Installer, which is a Visual UC? Can't it be started right after flashing, in the frist boot?

P.S.: ETEN device here, so things are a bit different.
[Windows Mobile Apps and Games] ShaDrac:
Hi bgcngm,

Preset Installer is just an Visual way of User Customization, giving the end user the option what to install on his phone (this can be provided by the rom chef and by the end user himself).

It is no problem to start Preset Installer right after flashing, in the first boot, BUT if Preset Installer was started through the normal customization (for example through the config_operator.txt), the normal customization times out (and reboots) while Preset Installer is installing the different setups/tweaks/etc.

So if a rom chef also wants to use the normal customization, it is best to start Preset Installer at second boot so they don't bite each other.

BUT another option (since Preset Installer v1.01) is to remove the RESET command from the normal customization, start Preset Installer as last in the list through normal customization and let Preset Installer do the rebooting. :)

Personally I think this last option is the best way to do it. :cool:

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] bgcngm:
First of all, thank you for the fast reply! ;)

That's why I told you that I have an ETEN device... :p

I don't have the "normal" User Customization, as ETEN uses a self installer... and because of that I had those doubts. My goal is to delete completely that stupid installer and remove all the files from the ExtROM, of course (without the installer I can't access ExtROM). That way I can only use Preset Installer, right? I'm my example, it's like a replacement to ETEN installer.
[Windows Mobile Apps and Games] RoryB:
Darn Wizards versus version 1.06 XIP

I have been looking at the various boot.rgu files.

I have noticed the ones that have FLASHDRV have more registry values under HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd than our Wizards.

We have only

"MountFlags"=dword:1 ; hides the release directory from enumeration

Where they have under a few locations what totals to be

"Dll"="relfsd.dll"

"Paging"=dword:0

"LoadFlags"=dword:1

"mount"="Release"

"secure"=dword:0

"MountFlags"=dword:1 ; hides the release directory from enumeration

Do you think this could have anything to do with XIP version not working in our Wizards?

I confirmed relfsd.dll does exist in phone.
[Windows Mobile Apps and Games] tinni:
It looks very nice,thank you very much
[Windows Mobile Apps and Games] ShaDrac:
Hi kidoucorp,

To change modules to files (so you can use them with cabs) use recmod or nuerecmod. Just drag and drop the module folder on recmod.exe or nuerecmod.exe.

If you are using Ervius Visual Kitchen there is already the option to change from modules to files.

Just one tip: If your rom (nk.exe) isn't cert patched, you've got to sign the dll's/exe's.

But if you are using Ervius Visual Kitchen, Cert patched is already the default. :)

Enjoy!

ShaDrac

ps. It will be at least 2 weeks before the release of the new version of Preset Installer
[Windows Mobile Apps and Games] kwbr:
Any news on excluding \My Documents hence the activesync fix?
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

As far as I know the relfsd (Release File System Drive) is only used by the rom/application developers of the releasing company (HTC :D) that are using the MS Platform builder.

So on our phone's it's just garbage which eats storage space and ram memory since it's autoloaded!

Rom chefs would do best to remove those settings from the boot.rgu

When you convert the Extendir v1.06 to a module and don't put it in the XIP but just add it to your OEM, does it work?
[Windows Mobile Apps and Games] RoryB:
I have tried it every which way. Module or file in XIP\OEMXIPKERNEL; in XIP\MSXIPKernel; in OEMDrivers with and without the provisional file.

So should I also remove the one line I have regarding relfsd?

"MountFlags"=dword:1 ; hides the release directory from enumeration

Should I remove the module from my kitchen?

Actually found it gets autoloaded in default.hv. So would I edit that out too?
[Windows Mobile Apps and Games] ShaDrac:
Next release of Extendir will include this fix so we also can sync the notes. :)

But the workaround, how big was the performance impact?

I didn't had time yet to test it.

For the people that don't know the workaround:

Set the order of Extendir to 999

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

And make sure you use !Aman!'s fsreplxfilt tweak found here !!!

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
You can savely remove everything concerning relfsd.

Three questions:

Did I remember correct that Extendir v1.05 did work as a module and Extendir v1.06 did not work as a module?

Which cache size you're using, for some people the 0MB didn't work and for others the 16MB (ran out of vm)

Which kitchen are you using? Because I can borrow the wizard of my brother in law :)
[Windows Mobile Apps and Games] kidoucorp:
Thanks for your answer ShaDrac, didn't noticed that EVK was able to do this :D

Will try it as soon as I can.

Best regards ;)
[Windows Mobile Apps and Games] RoryB:
I noticed a lot of settings for FLASHDRV in default.hv, but my phone does not have FLASHDRV.dll

Should all of this be pulled out or is my phone supposed to have FLASHDRV.dll in it?

I noticed FLASHDRV.dll gets loaded as "XIP"=dword:0 and nothing else in default.hv or boot.rgu does.

Also, FLASHDRV.dll gets loaded as "MountAsBootable"=dword:1 and "MountAsRoot"=dword:1. Only TRUEFFS2 gets this, but it does not get mounted as xip. hmmmm
[Windows Mobile Apps and Games] RoryB:
1. Ver 1.05 as a module works. Placed in XIP did not work. Ver 1.06 as a file or module did not work.

2. 4MB cache

3. CRBuilder2
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

Could you try attached version of Extendir and add it to your OEM (just do it the same way you did the v1.05 version)

Thanks,

ShaDrac
[Windows Mobile Apps and Games] RoryB:
This version of 1.06 worked on the Wizard in OEM\Extendir

The RAM is about 20 after a soft reset versus about 24 with non Extendir ROM.
[Windows Mobile Apps and Games] chriscsh:
Same Here, work on OEM
[Windows Mobile Apps and Games] Bxsteez:
Tried this on my TP2 and I get stuck at the initial boot screen. Any ideas?
[Windows Mobile Apps and Games] phatagnus:
Try this:

"Phone hangs on first or second boot, solution:

Change "BootPhase" from 0 to 1 and you'll need to add back wince_nls in your xip!"

It worked for me.
[Windows Mobile Apps and Games] Bxsteez:
Tried that and still the same result.
[Windows Mobile Apps and Games] malrok37:
You may try the version given by ShaDrac a few posts ago.

It worked for me just by putting it in th OEMDrivers.
[Windows Mobile Apps and Games] phatagnus:
My Results

I just did a benchmark on my Blackstone. The ROM used in this case was Panosha's Black Pearl v3.4.

a) Extendir Off:

- SPB Benchmark Index: 501.13

- CPU Index: 2257.15

- File System Index: 210.09

- Graphics Index: 1596.69

b) Extendir On:

- SPB Benchmark Index: 606.21

- CPU Index: 2309.53

- File System Index: 264.85

- Graphics Index: 1598.44

c) Extendir On AND a "proper" order in boot.rgu (inspired by the ShaDrac Touch-HD file posted in this thread)

- SPB Benchmark Index: 1271.65

- CPU Index: 2297.46

- File System Index: 751.01

- Graphics Index: 1770.61

* The attachment shows a few more internals from test c.

* With manila and radio off the File System Index score will jump above 800.

I'll try to understand what should i do next in order to optimize things around by converting modules to files (for some reason EVK throws in some error right now) and post the result.

The thing that i really like so far is the "browsing speed" of heavy populated folders, even the vanilla file explorer feels snappy.

Thank you for Extendir ShaDrac!
[Windows Mobile Apps and Games] bobsbbq:
It sounds like you have not got Extendir enabled or the order is wrong. On my blackstone the without Extendir values are about the same as yours but with Extendir my index and file system are much higher. Can't remember off the top of my head but index around 1100 after optimization 1350+ File system is about 780-800

you should see a better difference than this. Actually I think I posted my before and after in this thread somewhere.
[Windows Mobile Apps and Games] phatagnus:
Thanks for the heads up!

It was enabled, i checked, but i guess the order in boot.rgu was a mess, as you suggested. This is why I tweaked my rgu a little bit (inspired by a file posted in this thread) and... surprise, the File System score jumped from 264 to 751 :)

Thanks for the heads-up!
[Windows Mobile Apps and Games] Bxsteez:
My ROM actually booted so that is a good sign. I'm not sure if its actually working. I can't see any noticable performance increase.
[Windows Mobile Apps and Games] RoryB:
place preinstaller in \storage card\extendir and run it. If it sees it as an extendir rom you got it.
[Windows Mobile Apps and Games] Bxsteez:
Thanks. Tried this and apparently its not installed. I'm thinking i can't just copy that folder into OEM. I think i'm gonna have to make the boot.rgu changes. Everytime i do that though the device doesn't boot.
[Windows Mobile Apps and Games] bobsbbq:
If your using a blackstone there is no reason it should not work. Now tell me which version of Extendir you are trying to install. And when you say OEM is the OEM drivers or OEMXIPKernel? Also send me your boot rgu and I will help you.

If you are using 1.06 and placing it in OEMXIPKernel then you do not use the folder only the file Extendir.dll inside the folder. Don't convert it to a module.

I hope this helps ans I will check yout boot.rgu when I get it.
[Windows Mobile Apps and Games] Bxsteez:
I'm on the Rhodium.. I placed that OEM package that was posted a few pots ago and placed that in the OEMXIPKernal folder. It will boot if i don't add the registry changes to the boot.rgu but if i do it will just hang at the TP2 screen. I'll send you my boot.rgu file once i get back to my kitchen.
[Windows Mobile Apps and Games] RoryB:
Place it as an OEM package just like OEMDrivers, etc.
[Windows Mobile Apps and Games] bgcngm:
I'm also having some troubles adding Extendir to my ROM...

I've created the new XIP with Extendir.dll (v1.06 original) included, inside OEMXIPKernel folder and boot.rgu changed according to ShaDrac's instructions in post #2. The phone boots properly, but in order to test if everything is working fine, I run Preset Installer and it tells me that my device "is not an Extendir enabled device".

I've looked into Windows folder and Extendir.dll is there, aswell as the correct boot.rgu.

Any ideias?
[Windows Mobile Apps and Games] l3v5y:
You need to rebuild your boot.hv from the boot.rgu file.
[Windows Mobile Apps and Games] RoryB:
I went ahead and tried the same 1.06 module in OEMXIPKERNEL, but it did not work. I then converted the module to a file and tried again. Still no good.

So, currently we are up to a version 1.06 that works in OEM as a package for our Wizards.
[Windows Mobile Apps and Games] bgcngm:
Yeap, I've done that using HV Tools. Still doesn't work. :confused:
[Windows Mobile Apps and Games] try:
I try it in my Raphael (Ervius Visual Kitchen)

1.05 in EXT worked (rgu change to order=0, etc), but instable, sometime hang during application installation.

1.06 in XIP or XIP do work also (rgu setting still the same), stable, but ActiveSync do not fully work. It is throwing error message after sometime. I do notice some items were synchronized.

Changing the rgu to order=999 (using Aman mod in rgu) did not solve the problem with activesync.

Anyone can enlight me?

TIA,

Edit:

I am not sure that Extendir run in my ROM, the Preset Installer says that Extendir Enable, but when I install cab files, nothing appear in \Extendir\Windir directory. I do not notice any speed improvement either.

Can someone confirm how to make sure that Extendir succesfully installed.
[Windows Mobile Apps and Games] straydog128:
Cab problem

i am trying install HTC album 3.2 by preset install

but it did not succee

anyone know how to slove it
[Windows Mobile Apps and Games] RoryB:
I'll ask the obvious, but did you rewrite the cab files to be Extendir-ized? They must be set to install into \Extendir\Windir subfolders. See cab creator on first page if you did not.
[Windows Mobile Apps and Games] bobsbbq:
It will in some cases not install properly if the dll, and exe files are not signed and also any reg\rgu file must not contain any";" or it will not work. So what you do is cook a seperate package with the effected rgu lines and unsigned drivers and then it will install. I had the same problem with manilla after cfc.
[Windows Mobile Apps and Games] bgcngm:
As I said in my previous post, I've also changed boot.hv in order to match my boot.rgu, using HV Tools.

I tried once again and I thought it was working because the memory in use was in fact higher than with a ROM without Extendir... However, I tried Preset Installer and got the same message telling that my device "is not an Extendir enabled device".

Don't know what's wrong. :(
[Windows Mobile Apps and Games] twopumpchump:
make sure preset installer is in correct place on your sd card...

Extendir/PresetInstaller
[Windows Mobile Apps and Games] try:
@RoryB

Thank you for reminding me. Yes, I already cabbed using tool provided here.

@bobsbbq

Thank you for hint. I will double check my reg/rgu

Apparently, I went to fast yesterday. I cooked in 1.06 in XIP and using Activesync workaround suggested by ShaDrac (order=999 in boot.rgu).

Result: Activesync going really slow, and timeout sometime. Performance wise, no noticeable different in speed.

I cooked in 1.05 in OEM and this give me the best result. ActiveSync work eventhough some time its time out ( I can live with it). Performance is noticeable. I can feel the difference.
[Windows Mobile Apps and Games] EvgeniX:
Sorry but its really hard to understand right way to install it... :confused::confused::confused:

Maybe some one can help (I think not only me...) and make TUT with sep-by-step how to install it with Ervius Visual Kitchen...

and ShaDrac will post it on first page?

Thx
[Windows Mobile Apps and Games] bgcngm:
You mean "\Storage Card\Extendir\PresetInstaller.exe", right?
[Windows Mobile Apps and Games] twopumpchump:
yep, just checking :)
[Windows Mobile Apps and Games] netson99:
testing on O2 Atom life with wm 6.5 release 23041 ...

extendir is 1.0.6 as files on xip

kitchen : ervius visual kitchen version 1.8.1

working fine and it's look have better response than without extendir ...
[Windows Mobile Apps and Games] ShaDrac:
Good to hear!

Enjoy!:)

ShaDrac
[Windows Mobile Apps and Games] RoryB:
@ShaDrac any hopes of converting the 1.06 you made work in OEM for my Wizard converted to the one that works in XIP?
[Windows Mobile Apps and Games] netson99:
Hi ShaDarc,

I want to test another extendir feature (installing program to extdir directories),

I can build the cabs using "Extendir Cabs" utilities;

but If I try to installed on my devices via Preset Installer always error;

And if I try install the cabs directly the program installed in the /Extendir/Windir/<PROGRAM SUBDIR> as define on the "Extendir Cabs", but I cannot find any shortcut / Link in /windows/start menu/programs ... so I have to put shortcut manually to make it work.

Can you give me a pointer the right way to do it?
[Windows Mobile Apps and Games] twopumpchump:
the way i do it is to take everything BESIDES the registry and shortcuts for a package and make an extendir cab with it, then cook the registry and shortcut in rom as you normally would :) then at end of rom you can run the cabs...and the shortcuts and registry will all be where they are supposed to be.
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

Did you already tried to use Ervius visual kitchen to get Extendir in the XIP?

If that works (got a booting wizard etc.), use that XIP for your kitchen (CRBuilder2?).

If that also fails... :(

Just one question, your XIP, the OEM part, was that from a wm6.0 or 6.1 rom?
[Windows Mobile Apps and Games] ShaDrac:
Hi netson99,

Was Preset Installer installed at \Storage Card\Extendir\PresetInstaller.exe? (instructions at post 3)

If it was, what was the error Preset Installer gave?

For the shortcuts with Extendir Cabs,

if the shortcut is already in the source folder, do it like this:

Click with your mouse on the text: 'Click to add an installation folder'

Remove all the text from that new installation folder (%InstallDir%\etc.)

Keep your cursor in that text box and go to the menu: Help->Special folder variables->%CE11%. Your new installation folder is now named %CE11%.

Now lookup the existing shortcut below 'File name' and change its target installation folder by selecting %CE11% from the list.

The way it's described above is the correct and clean way.

The reason that for most people it worked is because HTC install most of there shortcuts (based on registry entries) with a small app (autoshortcut) that runs on boot.

Let me know if you succeed! :)

ShaDrac
[Windows Mobile Apps and Games] RoryB:
In the past I could not get visual kitchen to work and had used hypercore. I switched to CRBuilder 2 and it has worked for me for a while now.

The OEMXIPKernel is from CRBuilder 2 Wizard base source folder. Not sure what it is.

I do not think there ever was anything higher than WM 5 on this phone as standard. Could it still be WM6 or 6.1?
[Windows Mobile Apps and Games] ShaDrac:
Hmmm...

Maybe if you use visual kitchen only for the rebuilding of the XIP, maybe it works?

Other wise, use the OEM version of Extendir until Extendir v2.00 :)
[Windows Mobile Apps and Games] RoryB:
I will download latest visual kitchen and do some reading.
[Windows Mobile Apps and Games] Diceyus:
Do we have a CAB available

Hi,

Can you please point me to a CAB for Extendir that I can use on a Asus P835.

This phone ca really use it due to its low available space on main storage.

Thanks a ton.
[Windows Mobile Apps and Games] muckelmaus:
No cab for this

Nope - this is for rom cooks only!