yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ShaDrac:
Tips and Tricks:

Remember that files cooked in to your rom have minimal benefit of Extendir!

Files / Programs installed afterwards will benefit fully of performance delivered by Extendir.

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

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.

Optimize your files for the pagepool, or not! (You did know that only read only type of files that are memory mapped end up in the pagepool). So lots of pictures would be better off not marked as read only and others the opposite!

To automatically start Preset Installer on second boot use the added zip file 'Preset Installer Config.zip'. It contains a package and a sample config_operator.txt.

Basically it names your Storage Card: 'StorageCard' so you can install cabs from you storage card during customization, then it renames your storage card back to 'Storage Card'.

An mortscript is added at your \Windows\StartUp and this will run at reboot (second boot)

This mortscript will run Preset Installer and it deletes its self.

Have fun!

(… Only 2734 tips and tricks to go… Well, another day…)
[Windows Mobile Apps and Games] ShaDrac:
Reserved... 5
[Windows Mobile Apps and Games] ShaDrac:
Reserved... 6
[Windows Mobile Apps and Games] ShaDrac:
reserved 7
[Windows Mobile Apps and Games] wapvirus:
Thanks so much just what i need playing with this now thanks again ;)
[Windows Mobile Apps and Games] S.V.I:
looks very interesting. Will try as soon as I can.
[Windows Mobile Apps and Games] THE GRIZZ:
what do you know. its not Aprils fools after all

hope we see real tangible benefits of this
[Windows Mobile Apps and Games] THE GRIZZ:
this related to this? http://xdaforums.com/showthread.php?t=499679
[Windows Mobile Apps and Games] CRACING:
WOW, wonderful.

Cannot wait to try.

Thank a lot for your hard work. :)

Best Regards
[Windows Mobile Apps and Games] ShaDrac:
No, but that looks interesting.
[Windows Mobile Apps and Games] + Que PPC:
Mmmmm

lets see...

If we add this "as FILE" in our kitchen to install direct to windows folder thats all?!!!! i think the files must be mapped again... to this directory. so please xplain exactly what do to do with this dll.

Sounds awsome!
[Windows Mobile Apps and Games] THE GRIZZ:
you will need to show some real world performance benchmarks to get much more attention. chefs are looking to implement anything that will result in a performance increase.

something like:

-time it takes to boot the rom with and without this

-time it takes to launch an applications with or without this

-time it takes to to navigate though a list of various windows mobile tasks.

-....etc. im sure others can help me in coming up with other senarios where we can test the real world performance of this

i guess to test the above, two full-featured roms need to be cooked (one with this and one without) to test
[Windows Mobile Apps and Games] THE GRIZZ:
question:

do we expect to see a noticeable performance increase in cooked lite roms?
[Windows Mobile Apps and Games] Kraize:
Very interesting! But I have a few requests. Is it possible to do this with EXT's? I don't see an option for app.dat or app.reg. And what happens if I try to make a oem out of the cab I just made? Will it still be installed where it should be? Or is it possible for you to make something like this that will install a package when cooking instead of a rom. Those are my requests :) Oh, and allowing us to start with a normal cab as well to modify it if you can because it'll take a lot of time for me to convert 100 + OEMs.
[Windows Mobile Apps and Games] ShaDrac:
Tomorow or the day after i will post a rom in the Diamond forum.

But to give you guys an idea:

First stock Diamond rom witout Extendir, then same stock rom with Extendir.

Stock Diamond rom without Extendir:

Stock Diamond rom with Extendir:

But i think it would be better if you do your own benchmarking ;)
[Windows Mobile Apps and Games] viper8u2:
wow, great timing and nice job

I was looking for a program to grab OEM's to make a cab

I have been fiddling around with your "Extendir Cabs" utility. Is creates the cab and defaults to the Extendir folder.

I change it to goto Program Files on my device for the traditional install.

Is there a way to have it create the shortcut link in the windows/start menu/programs folder like a normal install or is this only meant to be used with your other programs?

I assume we are not suppose to change any of the info starting with the target installation folder and below? (btw you have it mispelled Tartget)

Thanks
[Windows Mobile Apps and Games] anryl:
now we need new thread in diamond software for safe full cab packages and half-coocked-cabed packages or zipped storage packages :cool:

(ps: i dont have time for 2mnths now :( got my son for holidays :D )
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, do you have any advise on getting manila to work as a cab? The Program stalls while trying to load the cab at about 90% in the progress bar. There is 2185 files in this Manila 2.1 from the Rhodium ROM.

EDIT: I have now tried to make and install the Album as a cab through Preset installer and it has failed to install. I have yet to get a cab to install from a package. Anyone have any ideas? My regular cabs install without issue.
[Windows Mobile Apps and Games] ShaDrac:
Hi bobsbbq,

Could you zip the original package from your kitchen and upload it?

And do it also with the phonecanvas?

I will take a look in it.

btw what was the reason that made your rom freeze at second boot?
[Windows Mobile Apps and Games] Noonski:
Cool Beans, and here I thought everyone thought I was just paranoid and full of ****.

I have learned from previous efforts that providing a flashing user, some stuff that they need to drop on the SD doesn't fall well with the more regular user (a bit to complicated). So i'm mainly interested in the parts that really need to be in Rom from the go.

At the moment i already have 6 apps fully installed to Program Files after flash using just a few .xdas zip files, so i will surely be implementing this and test it.

As for Benchmarking I'm an old guy that rather feels performance increase, a little bit like a big gussling American car.

It takes more space, eats more fuel, but you can hear and feel the performance just letting the engine purr or roar ;)

(usually i'm more for the Soccer Metaphors)
[Windows Mobile Apps and Games] bobsbbq:
Ok here are the packages:

For the second boot I never was able to get around it, so I changed the bootphase to a value of 1 and it works but with some issues as I have stated.

http://rapidshare.com/files/253035570/BobsPackages.zip
[Windows Mobile Apps and Games] bobsbbq:
That brings up a good question, is it possible to have a set of packages installed to the Storage Card before Preset installer Starts? This would make it easier for the User. Also a way to have certain packages that are required mandatory and can not be unchecked on first install.
[Windows Mobile Apps and Games] Noonski:
You could copy over the cabs using Mortscript.

But writing actuall files to someone's SD card without Consent should be off limit.

You could just as well have the cab's in rom or supply them as an add on.
[Windows Mobile Apps and Games] spocky12:
Apart from Extendir, I also really like your Preset Installer.

One thing I'd like to see in a future release of Preset installer is unattended install, so that it can fully replace sdautorun (it takes 10min to flash a rom and it may take a lot of time to install cabs, that would be great if no user input was required inbetween).

I'd see it this way : when Preset installer is started, if it finds a preset called, let's say, "unattended", and after a timeout of 10s (so that user can still cancel installation if he wants), it installs it automatically.
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, any thing on the packages I sent you?
[Windows Mobile Apps and Games] chriscsh:
Hi ShaDrac

after flash the rom with Extendir, i can't copy file to my device from computer, for now i need copy file to the storage card via card reader. any idea :confused:
[Windows Mobile Apps and Games] ShaDrac:
Hi spocky12,

I thought of that, an unattended install, for example the cook sets the presets that need to be installed in the registry, but on the other way, a cook could get the same results by do those things from the config_operator.txt.

BUT, now with your idea of the time out of 10s (so that user can still cancel installation if he wants), this will add something really useful! :)

Maybe it's a good idea to add a folder 'Default' in the 'Presets' folder. This way the cooks default presets and the end users personal presets can be installed unattended.

spocky12, GREAT idea! :)
[Windows Mobile Apps and Games] ShaDrac:
Hi bobsbbq,

Thanks to you I learned something new! :)

Manila's 2185 files is too much for Extendir Cabs to handle, well actually too much for .NET to handle.

But I think it's also to much for an end user to handle...

I've made the cab manually and I had it installed with a mortscript so I could time how long it would take.

An Manila cab (from the diamond) with 900+ files takes 10 minutes to install.

Your Manila with 2185 files takes 1 hour and 20 minutes to install.

It seems that our phones don't like big setup cabs.

So I've split up your manila in 10 folders and created 10 setup cabs for them with Extendir Cabs. I had it installed with a mortscript so I could time how long it would take and... it took only 10 minutes! :)

I've attached everything you need and those other packages to this and the next posts.

As for manila, unzip Manila.zip and place the contents in the category folder (in your \Storage Card\Extendir\Setups).

The mortscript (that installs the 10 setup cabs) shows up in Preset Installer and the 10 setup cabs in the folder 'Manila setups' don't :)

Enjoy!

Edit: xda doesn't like all the uploads, links posted.

http://www.whitebirdsolutions.com/Files/PPC/Bobbbq/PhoneCanvas.cab

http://www.whitebirdsolutions.com/Files/PPC/Bobbbq/Manila.zip
[Windows Mobile Apps and Games] bobsbbq:
Thanks I'm flashing now and will let you know how it comes out. Sounds like you had a lot of work for this. Sorry but I guess it will help us in the end to move forward.
[Windows Mobile Apps and Games] bobsbbq:
Ok I tried and I have a problem where the Welcome Screen Times out I guess and the preset installer screen goes behind the screen calibration and the problem is after I go through the screen calibration etc and then it soft resets rendering the installation not complete.

Does someone know how to Change the delay time or disable for testing?
[Windows Mobile Apps and Games] twopumpchump:
seems to me that for testing the pkgs he made it would be best to not run preset installer at flash, but rather to run it manually after you have flashed. try taking out preset installer from your config in kitchen and just run it manually from storage card and see if the pkgs install then.
[Windows Mobile Apps and Games] bobsbbq:
Ok shardac, They are all working. I had to install them from after first setup do to timeout delay in Welcome or connection setup. Now the bad news, I sent you the wrong manila package lol. When I was having problems I tried a stock uncustomized or compressed cfc version. That is the one I sent you. So May I ask for a tutorial in seting up the manila. I also need to learn myself for the next time. All the others are ok.
[Windows Mobile Apps and Games] ShaDrac:
Updated post no. 5 Tips and Tricks

Preset Installer will automatically start at second boot :cool:

Enjoy
[Windows Mobile Apps and Games] raywaldo:
license

@ ShaDrac : Thanks for all the work that you have put into this. It sounds fantastic! I see that others are including the Extendir, etc in their published roms. I am trying to learn to cook so I also downloaded your files. However, I see in the license.txt that it APPEARS that I cannot use this in a cooked rom without your permission.:eek: I have read the thread and I don't see anything related there.:confused:

Do we (collectively) have your permission to include these programs in cooked roms? Or, do we need to ask for permission individually? If so, I am hereby asking <grin>... Please. :):)

Ray
[Windows Mobile Apps and Games] Noonski:
Well i just cooked it.

But i don't have any public Rom's anymore at the moment.

If something new goes of and starts being used by a lot of people.

You'll find that only a handful will actually go back to the original thread and report experiences.

By knowing who's using it, it's easier to track threads for user experiences.

At least that's what i'm doing, by using a very unique name for something that Google did not know a month ago ;)

Today i Flashed My Raphael with a rom based on the Stock 5.04 version.

I use an old style Kitchen that has the MXIP & OEMXIP kernel's as seperata folders oposed to insice the payload.

The rom booted and it was also able to reboot. I premade the Exendir and windir folders using initflashfiles. But i did not setup any files to go there.

My phone became very sluggish (even froze on acces to Windows Folder) so i'm not sure i got it all set up right.

I will try again when the time is less pressed so i can test it with the Extendir app on SD card.
[Windows Mobile Apps and Games] ShaDrac:
Extendir Cabs:

There is a small bug in Extendir Cabs:

If there is in a value ';' (it's for comments) it doesn't goes right. If it's after a value, used for comments everything goes ok.

For now, cook these values in your rom.

Updated post no. 4 Extendir Cabs
[Windows Mobile Apps and Games] ShaDrac:
Hi Ray,

The main purpose of that license agreement is that nobody steals my months of hard work and start making money of it (direct or indirect) or let anybody else do so.

So if that not the case, enjoy the cooking!

ShaDrac
[Windows Mobile Apps and Games] corepda:
I agree with shardac, thank him if he is asking for share. Permission is something he is surely entitled to. :) Good Work buddy.
[Windows Mobile Apps and Games] bobsbbq:
Just a little clarification, In the Preset Installer Pkg you put on the 5th post do we cook this in as a package? Or does the contents need to go in OperatorPkg? I see in your Operator_Config.txt that it calls for Rename_Storage.xml. Does this file have to be in OperatorPkg?

Also all the SYS cabs you are installing through Operator_Config.txt are these 100% in cabs on the storage card or are the part ROM and part Storage?

EDIT: I got it working, I forgot to convert the package for use in Visual Kitchen.
[Windows Mobile Apps and Games] ShaDrac:
Extendir:

Hi bobsbbq,

The example Operator_Config.txt comes from my demo rom but I lack the time to finish it.

But the SYS cabs they don’t install the complete SYS package, it's only installing the .bmp/.png/.htm/ etc. Except those needed at boot time such as the splash screen, the ones needed during aligning, etc. I leave the .exe/.dll/modules cooked in. But remember not every app likes this so try it carefully, one app at a time and bench! For example don't do it with taskmanager.

This way you could easily cook your rom with less than 1500 files and if you really take your time, fewer than 500 files. The responsiveness you receive for this can't be benched but you will notice it big-time! :)

Good luck!
[Windows Mobile Apps and Games] raywaldo:
license

Thanks Shadrac! I figured that was the case. (I have a lot of materials that I offer for download on my website and I use a similar "copyright" on those. As long as it is NOT for commercial use, I allow it.)

BTW, your "donation" line is really great. Not that I am just cheap :D:D - but a smile can be MUCH more valuable than a buck! :):):):) So, I will make a "donation" or two today! :D:D:D:D Again, thanks for a fantastic concept (both for encouraging smiles - and for ExtenDir) and for the potentially dramatic power-boost to my device!

Ray
[Windows Mobile Apps and Games] Noonski:
I for one will build in a Copy SD Card\XDA_UC tp Extendir\WindDir into XDA_UC.

Using Copy to should be faster then installing Cab files.

And you should look into the speed boost of installing.xdas/ mortzip files with installation scripts.

If so much cabs are being installed, cabs are just to slow.

And didn't you mention that Files from Storage Card\Extendir\Windir could also be mirrored to Windows? (Screw Cab files and Copying over files :D)

Or was that a Future functionality?

Re Flashing with Extendir now, i forgot to change the boot_ms.rgu before.

(Nope still Buggy, Device Freezes on USB connect)
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, it seems the manila cabs you put together for me is installing to the Windows? After install I look at the WinDir directory and there are no files in there. I used Total commander so I could set view all files but there is none visable. Actually there are no files at all and I do have arcsoft, phone canvas, and album installed now.

BTW here are my new spb benchmarks.
[Windows Mobile Apps and Games] bobsbbq:
Well I'm confused, I have a folder on my device not Storage card called Extendir. In this folder I have all my apps that were installed from storage card. Is this correct? I thought they were supposed to be on the storage card.

Also could you send me a quick how to to get my correct manila package converted.
[Windows Mobile Apps and Games] ShaDrac:
Hi bobsbbq,

An setup cab defaults to your device not your storage card. If you want this different you can select (if you install with Preset Installer) a grey check when selecting a package. Then the user will be prompted during install and could choose a different location to install. But some apps don't like it to be installed on the storage card, the (uncached) performance is also lower.

For as creating a new manila setup cab, that easy.

First do all your modifications and optimizations.

Then split up your manila over 10 folders and created 10 setup cabs for them with Extendir Cabs. Best to name these folders Manila01, Manila02, etc.

Then use the mortscript you already have to install them.

Make sure that if the mortscript I gave you is located at '\Storage Card\Extendir\Setups\UI\'

That the setup cabs are located at located at '\Storage Card\Extendir\Setups\UI\Manila setups\'

Enjoy!

ps. Extendir v1.01 is a few tests away :)
[Windows Mobile Apps and Games] spocky12:
Great ! Can't wait to test it :)

Btw, Is there a way to tell Preset Installer to parse both "Storage Card\\Extendir\\" and "Device\\Extendir\\" for "Preset" and "Setup" folders. This way, users can add anything they want to the storage card, but roms chefs can also add some presets that will for sure be presented to the user at first boot (for now, it will depend on the user will to copy things to the sdcard).

This would be great for reg tweaks packed in cabs, like "Disable Camera To gain a few mb.Cab", "Lower extendir cache to 4mb.cab" (whenever it's available ;)), "Disable threaded Sms"...

Most of these things can be done through Advanced Configuration Tool, but :

1- this way, chefs are sure users won't ask for that "how can you change..."

2- we can also use it to directly bundle cabs to install a few files too (even if I agree that most of the cabs would be better of sdCard so that users can update them whenever a new version is available)

Edit:

It would also be great to have a "Reboot atfer installation" below "Close after installation" in step 3.
[Windows Mobile Apps and Games] bobsbbq:
+1 for the reset option check bow after install. This is important for Arcsoft as the task bar icons will not update until you soft reset.

Thanks, Shadrac for clarifying the install locations and the info for the Manila.

We do still have or at least I have the issues with accessing the storage card through Active sync connection. You have to access through disk drive. There is also the flash from RUU_Wrapper from PC through USB Connection, it can't find the device even though connected.

I also have the issue with my storage card AutoRun for Garmin runs after every soft reset.

Just wonder if you have any ideas about these issues.
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, I have a problem getting Manila to work. I created 10 Folder with the exact names of the ones you made. I separated the files about 242 files per folder except the last one it has less. I used the Extendir cabs to make all 10 cabs and put them and the mortscript in the same name folder and They installed successfully. But there was no TouchFlo 3D in today items. Upon further investigation the Manila10 folder on the device has nothing in it. This is the folder with all the exe, dll, and other files rgu etc. So I don't know what happened and why the files did not install.

EDIT: Here are the files I'm having trouble with. I moved the system and rgu files to folder 1 and some of the files in folder 1 to folder 10. Now In Extendir\Windir\Manila\Manila01001 and the other folders I have no files inside them. Folder 10 now has files in it.

http://rapidshare.com/files/254591917/Manila01.cab

http://rapidshare.com/files/254592333/Manila01.zip
[Windows Mobile Apps and Games] bobsbbq:
I also have a problem with the album.cab, it does not create a Startmenu shortcut. Could someone who knows mort script give me a example of how to create the shortcut and how to activate it? Do I have to put the mort script in the cab?
[Windows Mobile Apps and Games] ShaDrac:
Extendir Cabs:

Hi bobsbbq,

To install the existing shortcut in the right folder do the following in Extendir Cabs:

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 (.lnk) below 'File name' and change its target installation folder by selecting %CE11% from the list.

That all. :)

EDIT: But normaly a package add an value to register so autoshortcut would copy the file, maybe check if autoshortcut is running.

Good luck!

ps. in a few minutes I'm going to look at you manila files...
[Windows Mobile Apps and Games] bobsbbq:
Thanks, there was a AutoShortcut in there but it was not working even after soft reset. But it does work with your instructions above.

Will be waiting on the Manila info, trying to get a release out by tomorrow before I go on a Holiday.
[Windows Mobile Apps and Games] ShaDrac:
Hi bobsbbq,

The cab you've created is OK! :)

But you've got a different problem, the .exe/.dll aren't signed, so the cab wouldn't install.

You could solve it like this:

Run Xipporterex (already included in Ervius kitchen) and choose to execute cert patcher on payload/nk.exe

And to make sure you don't get other security related problems I've added SecurityConfiguration.provxml to the post, just cook it in to your rom.

Enjoy! :)
[Windows Mobile Apps and Games] spocky12:
Hi ShaDrac,

I found a small issue with Preset Installer presets : (sub)folders search is case sensitive.

It means that if you made a preset that points to "\\storage card\\Extendir\\Setup\\FOO\\bar.cab" and that your "FOO" folder is in the meantime renamed to "foo", preset installer won't find it (I'm sharing an archive containing a few cabs to install with my rom, and depending on which software the users use to extract it, case is not always keeped, leading in preset not checked).
[Windows Mobile Apps and Games] bobsbbq:
Shadrac, I cert patched in the kitchen, and cooked in the SecuritySettings you provided but the cab still would not install. Well it installs but nothing in the folders of this Manila01.cab

EDIT: Where are the securitysettings located in Registry? I don't see them. Maybe the file did not get cooked in.
[Windows Mobile Apps and Games] bobsbbq:
Just in case here is my whole Manila folder

http://rapidshare.com/files/254905663/Manila_working_folder.zip
[Windows Mobile Apps and Games] l3v5y:
Will do. Thanks a lot.
[Windows Mobile Apps and Games] kittyc4t:
I need to try this :o