yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] sunsetdk:
RIGHT, finally understood what was meant by replication, took me long enough :) Thanks for the clarification.

My rom does not have a "program files" but a "programmer". Is the path absolute or will it be translated to the "right name" depending on the language? (I'm guessing that it will not be translated).
[Windows Mobile Apps and Games] ShaDrac:
Hi sunsetdk,

The best thing to do is to look with fileexplorer (with option show all files enabled) in the root of your storage and add every file name or folder name to the exclusionlist (except the My Documents folder).

Make sure that the NumDirsToExclude is set to the correct (DWORD)number.

Enjoy!

ShaDrac
[Windows Mobile Apps and Games] Farmer Ted:
Make sure the number of excluded directories isn't 48 or more-I found out the hard way that the rom won't boot if it's 30 (hex) or above.
[Windows Mobile Apps and Games] sunsetdk:
Thanks both of you :)

Just another quick one. I see on your example in post 5, that haft of the stuff you normally put in the rom, is beeing installed as cabs. Now what runs fastest? Modules cooked into rom, or installed after (so they can use extendir optimization?
[Windows Mobile Apps and Games] RoryB:
Still get some shortcuts not unzipping into \windows\startup folder. Everything else went smooth.
[Windows Mobile Apps and Games] Farmer Ted:
You're probably going to have to figure that out yourself, but you can have both. Create a package with moduled dll's, exe's and mui's, then have a zip file (or cab, but zips are better) that sends additional files like png's and what-not to the \extendir directory. Here's an EXT for youtube (VGA-for a raphael) that does this. I'm not saying you want to use it, but it's a way to have the best of both worlds. I actually have about 10 other packages that are loaded into the zip file (for xt9, comm manager, adobe and other crap), but just hacked it down for the youtube package. Depending on how you set stuff up, you can just have one zip file (it's easier that way, but harder to upload). I think mine is about 20 MB uncompressed, and it unloads in less than a minute with the zip file-it would take a half hour with a cab.

Have you checked the attributes of the links that aren't unzipping? Maybe they're tagged as system files, or something like that, and that is causing the problem. And do you have them all in one zip file, or split up into multiple files? I'd just put them in one (the one that works).
[Windows Mobile Apps and Games] RoryB:
They are separate zip files. All links show up as archive attribute. Some unzip and some do not. Crazy thing is that the xTask zip file has two files to go into \windows folder and one to \windows\startup. The two go into \windows fine, it is just the \windows\startup file that does not.

I have created zip files for all my Extendir-ized stuff (no cabs) since zip seems to work faster than cab. I have separate files so I can keep track of what I want in or out of my ROM without having bits and pieces scattered.
[Windows Mobile Apps and Games] Farmer Ted:
That I understand; I sometimes pile everything into one zip file, but it's a PITA to keep track of. Does the mortscript work after customization? If you click it, will it send the shortcuts into startup? I once tried to install my entire start menu with a zip file (not an extendir rom, just a regular one). The mortscript and zip file worked fine after booting up, but it just didn't do anything during customization. I have no idea why it wouldn't work.
[Windows Mobile Apps and Games] twopumpchump:
i still have 2 missing shortcuts from my start menu, and im not using .mscr to install them only normal app.dat...this has to be a problem with extendir. if i cook same rom only without extendir in xip i have all files in the right places.
[Windows Mobile Apps and Games] hystrix65:
I need an help!

I use an Acer DX900, an user from another forum created a nice WM6.5 rom Extendir enabled.

I downloaded the program: 'Preset Installer', I created the folder 'Extendir' in my Storage Card, into that folder i created another folder, 'Setups', and into it I Copied the whole folder i downloaded dx900 apps (mscr files linked to zip programs), prepared by the man who cooked the rom, 'DX900 apps' and renamed it 'Acer'.

Then i started the program Preset Installer, I checked all the files that appeared in the second screen, then when it started to install the programs a window appeared:

'Script file not found: '\Storage Card\Extendir\Setups\Acer\DX900 Camera v2.2.20.46.mscr'

it appeared for all the zip i downloaded.

What's wrong?

Many other users didn't have any problem, for the others the script works well.
[Windows Mobile Apps and Games] RoryB:
Yes that portion of the mortscript pasted into another script worked fine. I did not run the entire customization script, just the unzip command.

What I have is a foreach zip file in extended rom unzip all to the root. Most everything works except these two subfiles. I can run pocketrar to unzip them afterwards.

The other problem is the registry settings I run to start manila2D after the the reset works in v1.06, but not in v2. After the reset I have to go into today settings to check the touchflo box and then it starts. Tried adding run( "\windows\manila2d.exe" ) to the script , but it did not help.
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

Can you post 1 or two of those zip files and scripts, so I can try to reproduce it?

Thanks!

Hi twopumpchump,

Can you also post those 2 missing shortcuts with the app.dat, so I can try to reproduce it?

Thanks!

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
here is the latest pkg that i have tried, still not working :( the two .lnk that i have had trouble with are File Explorer.lnk and SoftReset.lnk, as you know file explorer comes from sys and the soft reset i had a pkg for. as a fix i made a cab(which works), i even tried making a pkg from the cab with new app.dat and still no go.
[Windows Mobile Apps and Games] ShaDrac:
Nice to hear it also works on a 6.5. Didn't test that yet.

Enjoy:)
[Windows Mobile Apps and Games] anryl:
Gona try again hope to see the results :rolleyes:

my xip boot rgu are completely different so lets play again :D
[Windows Mobile Apps and Games] ShaDrac:
Longer battery life!!!

Extendir:

(I almost forgot to mention)

A nice side effect of the architecture of Extendir is that you should have longer battery life!

I don’t have real test results for this yet (I don't have the time for it now) so I don't know how much longer you do with your battery but I would love to hear your experiences.

first post updated
[Windows Mobile Apps and Games] anryl:
TESTED SUCCESFULLY

installed :

OFFICE OK

ONE NOTE OK

EZINPUT+ET9 OK

LABYRINTH - NOT OK no permission ? no more time yet

HTC TASK MANAGER - OK - icon not showing right but WORKING

YOUTUBE - OK

RANDOM ACCESS - NOT OK

VOLUME CONTROLL - OK

but more app - means again slowing down device

KEEP IT UP :cool: nice app anyway
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Superb! :)

But,

My personal experience is that not every app likes to be installed afterward but should be cooked in to the rom, or partially cooked in to the rom.

On a Diamond 2.03 rom I think that

task manager should be completely cooked in a rom

EzInput + XT9 can be cooked partially in the rom and partially installed afterwards

Labyrinth is probably missing mHub and/or sensor SDK

YouTube should be completely cooked in a rom

Manila should be installed afterwards

Album should be installed afterwards

Photo camera should be installed afterwards

The difficult part is to find out which combinations of files/programs should be cooked in and which can be installed afterwards.

It has everything to do with that files cooked in are on a different partition then the files installed afterwards! If a program that’s cooked in needs a file/program that is installed afterwards (or vice versa), big chance (not always) it will slow your device down. I think it’s got something to do with the storagemanager but I can’t pinpoint it yet.

So my advice is: do one package a time, bench it and think really hard about the right combinations!

If you do so, no slown downs (except those because of the type of program that you install)

Good luck!

btw. another tip: lots of bmp/png etc. can be installed afterwards while the rest of the package is cooked in (but not always!)
[Windows Mobile Apps and Games] bobsbbq:
Since you got it working can you share your boot.rgu? Are you using a Blackstone? What did you use to rename the Storage card. Can you share your Config_Operator.txt and Rename_Storage.xml, I could never get these to work. I would love to get it working, but just got really stressed over not getting anywhere and was about to give up. I think many others will fall in to this same feeling and is why I would like the developer to update the first post with the tool to build boot.hv and also copies of working Config_Operator.txt and Rename_Storage.xml, boot.rgu etc. I had to read through the thread to find the tool to rebuild boot.hv. This will make it easier for new people to be successful in getting this tool to work.
[Windows Mobile Apps and Games] bobsbbq:
I have tried with a factory ship ROM and now it gets stuck after 1st boot at Smart Mobility screen.
[Windows Mobile Apps and Games] Kraize:
If anyone got past the align screen can you post your boot.rgu and boot.hv if you have a Touch HD?
[Windows Mobile Apps and Games] qq108108108:
it seem that so many people encouner the problem of getting stuck after 1st boot,including me.but after many trial,I finally figure a way out.the key of this solution is this registry in boot.hv and boot.rgu:

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FLASHDRV]

"DriverPath"="Drivers\\BuiltIn\\FLASHDRV"

"LoadFlags"=dword:1

"Order"=dword:0

"MountAsRoot"=dword:1

"MountAsBootable"=dword:1

"BootPhase"=dword:0

you need to change the value of "BootPhase" form 0 to 1,then this problem will go away.

hope this finding would help someone to solve this 2nd boot stuck problem and enjoy the improvment.
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Now this is strange! :confused:

Normaly (as far as I know) a driver for a local file system would be loaded on request, not on AutoLoad.

Could you guys check the following?

Make sure that the 2 lines:

"MountAsRoot"=dword:1

"MountAsBootable"=dword:1

are also at your:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS]

It probably will look (already) like this:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS]
"Flags"=dword:00600014
"FormatTFAT"=dword:1
"CheckForFormat"=dword:1
"MountAsBootable"=dword:1
"MountAsRoot"=dword:1
"EnableWriteBack"=dword:1
"DataCacheSize"=dword:00000800 ;2048 sectors(2048*2048=4MB)
"FatCacheSize"=dword:00000100 ;256 sectors(256*2048=512KB)

Then remove the complete key (and its values):

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FLASHDRV]

Let me know if this works!
[Windows Mobile Apps and Games] Kraize:
GAH! D: Deleting the FLASHDRV keys makes the phone non-bootable. I can't get past the splash screen...

Btw, here is my original boot.rgu. Think you could edit it yourself and make a boot.hv with it? I'm having no luck...no luck at all ):
[Windows Mobile Apps and Games] ShaDrac:
Hi Kraize,

Which kitchen do you use?

EDIT:

btw you only deleted the following key (and its values)?

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ FLASHDRV]
[Windows Mobile Apps and Games] Kraize:
A visual kitchen. It's located here

Yes. That's all I deleted.
[Windows Mobile Apps and Games] bobsbbq:
You can't delete the whole key, system will hang at smart mobility screen. trying now to change value to 1
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Attached all files needed.

Place them in the correct folders.

(In kitchens based on bepe latest platform rebuilder, you probably don't have to rebuild your boot.hv and your XIP)

The following 3 things can happen:

If the device doesn't boot at all, then it can't load Extendir.

If device boots but hangs somewhere halfway, then there is an app cooked in to the rom that hangs. Figure out which app and remove it.

If device boots completely and everything seems to work, then Extendir works or doesn't work. (you can check with 'Preset Installer')

I hope this will work!

Good luck!
[Windows Mobile Apps and Games] kushdeck:
well, i finally got it to boot! but after a soft reset, it hangs at splash screen :? first build, everything was looking great, then auto customization kicked in, then it would no longer boot after device reset. so i thought, hey, something being installed then was causing the problem. So i just took my autorun package out and rebuilt. Everything booted but manila, but i wanted to make sure extendir was working so i ran the preset installer, and sure enough, this was a extendir enabled device!! so then i thought, maybe it was a problem with manila, so i tried to soft reset, and the phone would no longer boot. So i then cooked a rom without manila, phone booted, once again after a soft reset, hangs at splash screen. i am lost. any 2cents would be appreciated.

-deck
[Windows Mobile Apps and Games] ShaDrac:
This is news in the good direction, Extendir works on our device but there is a blocking app cooked in to your rom.

The reason that it hangs at the splashscreen after your first softreset is probably it had installed the last apps before the first softreset.

Try to find that app! (yes I know it's frustrating)

Good luck
[Windows Mobile Apps and Games] bobsbbq:
Does anyone have this working on Touch HD (Blackstone)? Many of us are banging our heads against the wall so please help us if you have.

I'm having the same problems, when I get it to boot and get past the customization it hangs after soft reset at first splash screen. It is obviously something in the ordering of the boot.rgu as the device boots fine when original boot.rgu is used. I'm using a stock Factory ROM to eliminate any custom ROM problems.
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Hi bobsbbq,

I don't think it is something with the boot.rgu.

There probably an app installed during or before customization that makes the call GetDirectories().

Try to figure out which app by removing as much packages possible from your rom and clean your config_operator.txt.

See if it works after the soft reset and then start adding the packages one by one and test it every time if it works. I know, this is very time consuming but it is the only way to figure out which package/program is the problem.

Good luck!
[Windows Mobile Apps and Games] bobsbbq:
Ok to help some others to get at least to where I am and help here is a working boot.rgu for Blackstone. I only added the bottom 2 lines for the Externdir and changed the order value of to 1

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ FLASHDRV]

Order:1

That's it, it will boot and I got Presetinstaller.exe to work and is recognized as a Exterdir device. But on soft reset it will hang at the first splash screen.
[Windows Mobile Apps and Games] RoryB:
Quickmenu_extendir.zip files unzip fine.

Smartskey_extendir.zip files unzip except for startup folder link.

xTask_dll.zip files unzip except for startup folder link.

Thank you for looking into this.

The way my manila2d is setup is...

I have it as a zip file and a separate reg file. The zip is extracted and then the reg file is executed by dfred task manager. I have the enable setting set to 0 in the today settings of the reg file. After the phone resets at completion of customization, a short script runs to set the today setting to enable m2d. In ver 1.06 and other previous ones, m2d starts after this reg setting change. I tried adding run m2d after setting the reg key, but it did not work either. Right now I go into today settings and select touchflo and it starts.
[Windows Mobile Apps and Games] ShaDrac:
Thanks!

Thanks for the files! :)

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
I knows it's not the answer but I use a cab file to apply the reg to activate manila in today. I use zips only on Manila.

Shadrac I have no problems with the new build so far.
[Windows Mobile Apps and Games] bgcngm:
Why don't you use something like this to apply the reg? I only use this, a app_name.mscr and its "couple" app_name.zip (zip file using store as compression, to unzip even faster). This is way faster than installing .cab's.

UnzipAll ( SystemPath ( "ScriptPath" ) \ SystemPath ( "ScriptName" ) & ".zip", "\\" )
If ( FileExists ( "\app.reg" ) )
{
RunWait ( "\Windows\FS_TaskMgr.exe", "\app.reg" & " /silent" )
Delete ( "\*.reg" )
}
EndIf
If ( FileExists ( "\app.mscr" ) )
{
CallScript ( "\app.mscr" )
Delete ( "\*.mscr" )
}
EndIf

The zip file contains the files in the directory structure you want them to be in the device, app.reg contains the registry entries and app.mscr is the specific application script. And by the way, FS_TaskMgr is DotFred Task Manager. ;)
[Windows Mobile Apps and Games] RoryB:
This is basically what my script does that is not working in version 2, but did in version 1 series.
[Windows Mobile Apps and Games] bgcngm:
And what exactly is not working for you, RoryB? Is it only the shortcuts? Only with Smartskey_extendir.zip and xTask_dll.zip? Or have you more packages that aren't working? I have a package that also unzips one shortcut into \Windows\StartUp without any problem... with Extendir v2 1.03 and now with v2 1.04.
[Windows Mobile Apps and Games] RoryB:
http://xdaforums.com/showthread.php?p=5762388#post5762388

http://xdaforums.com/showthread.php?p=5771621#post5771621

http://xdaforums.com/showthread.php?p=5781158#post5781158

http://xdaforums.com/showthread.php?p=5799439#post5799439

http://xdaforums.com/showthread.php?p=5827064#post5827064

http://xdaforums.com/showthread.php?p=5827735#post5827735

http://xdaforums.com/showthread.php?p=5828256#post5828256

I have a lot of zip files and reg files in Extended_ROM. Everything else works fine.
[Windows Mobile Apps and Games] kokotas:
Hi!

I had a similar problem!

Well... Lets say that the mortscript file is "AutoRunMortScript.mscr" which runs at StartUp.

I used to have that file deleted in this way:

#Start of Script
...
...
Various
Commands
...
...
SetFileAttribute("\Windows\StartUp\AutoRunMortScript.mscr", "readonly", FALSE)
SetFileAttribute("\Windows\StartUp\AutoRunMortScript.mscr", "system", FALSE)
Delete( "\Windows\StartUp\AutoRunMortScript.mscr" )
#End of Script

BUT when I changed it to:

#Start of Script
SetFileAttribute("\Windows\StartUp\AutoRunMortScript.mscr", "readonly", FALSE)
SetFileAttribute("\Windows\StartUp\AutoRunMortScript.mscr", "system", FALSE)
Delete( "\Windows\StartUp\AutoRunMortScript.mscr" )
...
...
Various
Commands
...
...
#End of Script

All worked fine without any unexplained exceptions! I know it sounds irrelevant but I assure you that this little trick worked for me!

Hope this is the case for you too except for other different settings we may have!

Best Regards!
[Windows Mobile Apps and Games] ShaDrac:
I think I found it

@RoryB & @twopumpchump

While I really tried very hard to not getting those files in the startup folder or the startmenu folder, I didn't succeed in reproducing it.

Everything seems to work very well.

But after digging through the code (again and again :D), I think I found it. (Well, I really hope so :D)

At the moment I'm doing some final tests, new version will be up within 2 hours.

Could you let me know if the problems are solved? (when it's released)

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
upload it and i will give it a shot :) if i get fired for flashing at work im blaming it on you :p

ps. i forgot i work for myself hahaha
[Windows Mobile Apps and Games] RoryB:
Maybe it does not work in Kenyucky lol:D
[Windows Mobile Apps and Games] ShaDrac:
And I was under the impression that you boss REALLY was happy with you, since you could get away with all those flashes at work. :D;)
[Windows Mobile Apps and Games] jagan2:
ShaDrac i think you forgot i have earlier told u that my device dont have that flasdvr so i cant change the reg to successfully boot with extendir. Can you plz tell a procedure for those device which dont have that dvr reg entry. I am waiting for your reply.
[Windows Mobile Apps and Games] RoryB:
I do not delete my \windows\startup\roryb.mscr until the second boot. Then it only changes the today registry settings and deletes itself. The zip files, etc. get done during the first boot.
[Windows Mobile Apps and Games] bgcngm:
My device doesn't have flashdrvl.dll either and Extendir works fine. Instead I have nandflash.dll. You just have to change the order of your system filters and add the registry entries for Extendir.
[Windows Mobile Apps and Games] jagan2:
aah there seems a hope to me now. I will try btw can u edit my boot.rgu once so that i can see what r the mistakes that iam doing.
[Windows Mobile Apps and Games] ShaDrac:
Sorry, minor delay not Extendir related.

I'll be back tonight.
[Windows Mobile Apps and Games] bobsbbq:
Has anyone tried 16gb SD card with Extendir? Any problems? I don't have a 16gb card to test I just have a user that claims it works on other ROM's. Since I'm currently one of the only cook releasing ROM's for the LEO I don't know if it is Extendir related or Manila related.. I know it is not related to just this version as the same guy said he has had this problem on all my ROM's with Extendir 1.6
[Windows Mobile Apps and Games] bobsbbq:
On that note I think I will have a glass of good old Kentucky Whiskey. :D

I hope it works for you TPC and RoryB
[Windows Mobile Apps and Games] bjrmd:
I have been using your roms for several versions now on the Leo with a 16 gb card--no issues.

Thanks all for the great software!
[Windows Mobile Apps and Games] bobsbbq:
Ok thanks for the information
[Windows Mobile Apps and Games] bgcngm:
From what I understand, you're only using a script to install the packages during the first boot and not using Preset Installer for UC, right?
[Windows Mobile Apps and Games] dan_kan:
Is it possible to run extendir on Samsung Omnia II WinMo6.5 ?

Regards

Dankan
[Windows Mobile Apps and Games] RoryB:
Yes, I used to create Extendir Cabs, but I found it easier to create zip files with the paths in them. Also, it seems to me zips run faster than cabs. Of course, you cannot uninstall zips.
[Windows Mobile Apps and Games] ShaDrac:
Extendir V2 Preview/Beta 1.05

Is this is going to be the last Preview/Beta without cache? :D

If you do find any bugs, PLEASE let me know!

btw. The order (in boot.rgu) can be set to 0!

For this preview/beta I hardcoded that files/folders in "\My Documents" or it subfolders don't use the Extendir optimizations.

This will make notes sync while the order (in boot.rgu) is set to 0. :)

In the final release this is configurable with help of a configuration program/file.

Enjoy! :)

ShaDrac

fyi:
[Windows Mobile Apps and Games] twopumpchump:
i hate to be the one to break the bad news, but i am still missing the shortcuts :( its not that big of a deal, its easily worked around but it makes me wonder what other files may not be getting to the right places.
[Windows Mobile Apps and Games] bgcngm:
Yes, I have the same opinion. User customization using zip files is much faster than using cab files. I just wanted to know why weren't you using Preset Installer. Because you can also use it to install your mort packages, giving you the possibility to chose what to install or not. Basically you run a script that installs every zip that's found in a certain folder, right?
[Windows Mobile Apps and Games] bgcngm:
I've just tried your files and they unzip fine. I had no problem with the shortcuts.
[Windows Mobile Apps and Games] RoryB:
I am traveling. Read my scripted angel stuff to see what all I do.
[Windows Mobile Apps and Games] selyb:
@TPC: which device(s) are you having these problems with? I could test your UC on my kaiser. Also could you send me your cooked boot.hv

@RoryB: would you send me your cooked boot.hv

@ShaDrac: would you send me the boot.hv with which those same scripts worked for you?

you can either PM me, post here, or mailto:xda

the domain is thefamilycirc.us