yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] zenkinz:
thanks, I saw this in another thread, and I'm going to do this in the next build of my ROM. You can't imagine how happy I was when I finally managed to get the device boot beyond the user customization screen :D
[Windows Mobile Apps and Games] twopumpchump:
yeah i just cooked another rom(with beta 1.05) and noticed i dont have any shortcuts for my camera now lol...when you get it ready ill give the new one a try hopefully it will work this time :)
[Windows Mobile Apps and Games] cnzqy1:
If I write this instead the original one, after I move a LNK in Start Menu, the LNK doesn't update at once but after reboot, and the icon is broken. I'm not using Extendir.

Any ideas? Thanks!
[Windows Mobile Apps and Games] ShaDrac:
Extendir V2 Preview/Beta 1.06

Attached Extendir V2 Preview/Beta 1.06.

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:
.06 beta test------shortcuts DONT work :(
[Windows Mobile Apps and Games] bobsbbq:
Is yours and RoryB issues only related to morstcript?

I mean if you assign the shortcuts through the registry they will work right?

I think that the development progress has halted because of only 2 people and maybe a issue that can be worked around.
[Windows Mobile Apps and Games] zenkinz:
is the bug have to do with the problem I faced (where I can't cook the driver in XIP/SYS/OEM except EXT)? I wonder if it has to do with the kitchen I'm using, I'm using vistang's visual kitchen.

also, I noted that with beta v1.05, my ROM will 'hang' at the 2nd customization screen. However, a reboot will resume the 2nd customization, or I can avoid the whole 'hang' by hard reset my device immediately after a flash. what's the likely explanation behind this?
[Windows Mobile Apps and Games] selyb:
It's much better to fix the bug now than wait till later and find out it causes more serious problems. I maybe could agree with you if the problem had been present since v1, but this is something introduced with v2.

AFAIK, you are supposed to hard reset every time you flash
[Windows Mobile Apps and Games] zenkinz:
well, it's a good practice, but I've never encountered the need until I started to cook extendir into the ROM.

I'm not suggesting that it's a problem on extendir, just that I think in the process of cooking it there might be some incompatible setting that I should be aware of.
[Windows Mobile Apps and Games] cnzqy1:
I can't get this to work, neither 1.06 nor 2.0 Beta. The phone boots fine, but after I put files in /Extendir/WinDir, they won't appear in /Windows. Preset Installer also says my phone doesn't support Extendir.

I cooked it in OEMXIPKernel as a file, tried both signed by myself and original file, also different cache versions. I tried different orders for other filters and rebuilt boot.hv, also applying cachefilt.dll only on SD Card. But it just wouldn't work, it's truly frustrating...

I have uploaded my boot.rgu, I'm using Touch Pro. I have removed the mencfilt.dll and modified boot_ms.rgu.

Hope someone can help out, thanks!
[Windows Mobile Apps and Games] zenkinz:
cooked v2.0 beta 1.06 and it solves a few of my problem

1. can now cook with the driver in xip folder

2. can now boot up properly w/o hanging at the 2nd customization screen
[Windows Mobile Apps and Games] twopumpchump:
bob, if you will go back and read my posts you will see that my issue has nothing to do with mortscript. i posted the package, its the normal way of putting shortcuts into the start menu(app.dat). i also posted that yes i can work around this problem by using a cab to install the shortcuts during customization. i am sorry that you feel me and rory are holding up development progress, but honestly it doesnt matter what you think...this is shadrak's project and he can release the cached version whenever he feels it is ready. you have already posted on this issue once, i see no need to do it again.
[Windows Mobile Apps and Games] cnzqy1:
Hmm... You can try to replace the cachefilt.dll registry keys in boot.rgu by the original ones, it has something to do with it.
[Windows Mobile Apps and Games] twopumpchump:
im not using cachefilt.dll at all, or the tweak :)
[Windows Mobile Apps and Games] bobsbbq:
Ok my apologies I did not look at your packages, so your problems are not just based on mortscript then. I retract my statement then.
[Windows Mobile Apps and Games] bobsbbq:
Glad you got it working. I know before I had a problem with 1.06 and Easy Visual Kitchen and the same thing it would not work in OEMXIPKernel. He has since fixed the problem and I have never had the problem again.
[Windows Mobile Apps and Games] bobsbbq:
I wonder if it is device related? I'm using LEO as well as Zenkins and I use app.dat files for shortcuts and have no problem. I understand it is still a problem and has to be fixed but just trying to understand why some devices are working and some not. Are you and RoryB using the same device?
[Windows Mobile Apps and Games] twopumpchump:
i think rory is using a wizzard. all i can tell you is this...i only have this problem when i cook the latest versions of extendir. i can go back and cook the 1.6, original, or cook a normal rom without extendir at all and never have a problem with missing shortcuts in the exact same kitchen. shadrak has released some limited function test versions which fixed the problem, just give him some time im sure he will figure it out.
[Windows Mobile Apps and Games] selyb:
@bob & TPC, if you two would kindly send me your boot.hv, I would like to analyze the working ones from non-working ones and possibly help ShaDrac narrow this down
[Windows Mobile Apps and Games] zenkinz:
I did noticed this in v2 beta 1.06 (not sure if it exists in previous beta ver), that when I installed some app, the shortcut are created (as verified by going to start menu folder in the file explorer), but the start menu does not show it.

However, once I soft reset, the shortcut appears on the start menu again. I think this 'bug' occurs in beta 1.05 as well (but I can't be sure) as I had once installed an app but didn't see any shortcut. I thought it was the app installer problem so I didn't pay too much attention but now, I think it's the same problem I'm describing here.

not sure if this is what twopumpchump and roryb are experiencing.
[Windows Mobile Apps and Games] cnzqy1:
Try re-add it in and apply Official settings, then see whether it will be solved.

Also zenkinz should try.
[Windows Mobile Apps and Games] zenkinz:
I think I've enabled cachefilt when I was using beta v1.05. Now, I'm still using cachefilt, except that I only use it on sd card, not all storage.

So in your case, once you have installed the app, the shortcut appear immediately on your start menu (not referring to file explorer)?
[Windows Mobile Apps and Games] ShaDrac:
Hi guys,

Thanks for the feedback! :)

@ RoryB & twopumpchump

Could you test attached test version of Extendir?

Thanks! :)

@ selyb

Nice avatar :D

btw. I don't think the problem is boot.hv related, but still thanks! :)

@ zenkinz

Which app are you installing?

Maybe I could try to reproduce it. :)

Thanks.

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
yes post it and I will try also.
[Windows Mobile Apps and Games] cnzqy1:
Once I apply only to SD Card, I get this issue, try applying on all partitions(the Official setting).
[Windows Mobile Apps and Games] zenkinz:
almost any app, not specifically to just one or two. A soft reset will ensure that the start menu shows the new shortcuts. if you want to inspect the app cab that I'm using, here's one that didn't have the shortcut shown in the start menu until reset.
[Windows Mobile Apps and Games] RoryB:
Unfortunately it will be Monday before I can cook.

I have a Wizard.

The shortcuts do not show up, but some do. So some get created and some do not.

They are not there so they do not show up after a reset.

The script is in the startup folder and does follow up actions after customization reset, but it is deleted instead of running.

I have removed the reset from my customization, to check and the shortcuts do not show up at all.

So I have two things happening.

Some shortcuts that are in various zip files do not get created even though other parts of the file do.

My script that gets copied to startup by an app.dat works after the flash, but gets deleted after the reset.
[Windows Mobile Apps and Games] cnzqy1:
Well, I can quite confirm it's related to cachefilt.dll, because without Extendir, this issue can also be present.
[Windows Mobile Apps and Games] zenkinz:
thanks you are right. Once I enable cachfilt to all the storage (instead of just SD card), the shortcut problem is gone for me.

Looks like I will have the cachefilt turned on for the time being, which brings the spb benchmark performance by 300 pts (used to be 3500++ pts, now with the cachefilt, it's now 3200)

I managed to get pretty good performance with v2 beta 1.06, although I think part of it is due to my lack of optimization in previous build. At least, it's now closer to bobsbbq's benchmark :D :D
[Windows Mobile Apps and Games] twopumpchump:
test 11----shortcuts didnt work, also sdcard didnt show on first boot

edit. my benchmark is about 50pts higher than ever before, this is by far the fastest version yet...what did you disable? also my free ram is alot higher :)
[Windows Mobile Apps and Games] cnzqy1:
Nobody can help me solve this: http://xdaforums.com/showpost.php?p=5877088&postcount=1095 ?
[Windows Mobile Apps and Games] zenkinz:
did you make your boot.hv after editing?

are the extendir registry entries appearing in your touchpro registry?
[Windows Mobile Apps and Games] cnzqy1:
Yes to both questions
[Windows Mobile Apps and Games] selyb:
I understand that, I was going to compare everything within. I was thinking maybe there was some driver both of them are or are not using or maybe something similar in the init key. I only thought that maybe I could find something else to trigger a change and get you one step closer to knowing what's causing it.

@TPC and Bob, one of you wanna try cooking with cachefilt on all storage?
[Windows Mobile Apps and Games] bobsbbq:
I have used both. I have cooked with cachefilt on all storage and also with only on Storage card. And I have no issues. Later tonight I'm going to send you my boot.hv to look at. Right now I'm using the V2 beta 1.05 with cachefilt.dll applied to only storage card in my Latest released ROM, and I only have one know issue with Extendir and that is the contacts tab in Manila when assigning a picture to the contact it will not save. However you can use other programs to assign the picture so it's not a big issue.
[Windows Mobile Apps and Games] selyb:
sorry, I meant that at TPC and RoryB
[Windows Mobile Apps and Games] bobsbbq:
I have tried this cab and the start menu shortcut is not visible until soft reset but I don't have a folder called tools. After soft reset it shows the tools folder and the shortcut inside.
[Windows Mobile Apps and Games] twopumpchump:
i have tried cooking with cachefilt.dll and normal reg, as well as the new reg shadrak told us about for only sdcard. when i am missing .lnk files in start menu has nothing to do with cachefilt.dll, it happens if its in there or isnt. but if i remove extendir, or use old version, i have all .lnk files in start menu like they are supposed to be.
[Windows Mobile Apps and Games] ShaDrac:
Hi cnzqy1,

I think the problem could be your flashdriver, it's autoloaded.

Did you already tried to set bootphase to 1 with [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FLASHDRV]

and with [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV]

Instructions are on post 2 (don't forget wince_nls in xip).

With some kitchen you need an empty line at the end of your .rgu, try adding one at your boot.rgu.

If you use Ervius visual kitchen you don't need manually rebuild the boot.hv, this is automatically done by the kitchen. :)

Let me know if you succeed! :)

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
Thanks for the feedback! :)

I'll post another testbuild in 3 hours.
[Windows Mobile Apps and Games] zenkinz:
ok, so we all have the same problem (was worried that my case is unique).

I have resolved it by enabling cachefilt to all the storage.
[Windows Mobile Apps and Games] selyb:
Your problem is not the same. You had a problem with shorcuts being installed from a cab. They have a problem with shortcuts being copied during UC after a hard reset.
[Windows Mobile Apps and Games] zenkinz:
I was referring to bobsbbq.
[Windows Mobile Apps and Games] makuu:
Hi ShaDrac,

I've been trying to use your Extendir V2 but I cannot use it in xip (I also have this problem with 1.06). I've tried to use it in imgfs with no success either.

The latest version I can use is the 1.06 special build that you made for imfgs.

Is there a chance that you also make a V2 special build for imgfs?
[Windows Mobile Apps and Games] ShaDrac:
More test builds

@ RoryB & twopumpchump

Could you test attached test versions of Extendir?

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
test 12---shortcuts didnt work

test 13---shortcuts didnt work....im starting to get depressed :(
[Windows Mobile Apps and Games] ShaDrac:
:D :D :D I'm not, :)

We actualy excluded that much while test 004 works, I think I know where the problem is. :)

Thanks for all the testing, be back soon! :)

ShaDrac
[Windows Mobile Apps and Games] Strepsils:
I cook in my XIP driver v 2.06, but didn't see any increase of my FS.

Maybe i do something wrong? I see great promise in your work, continue in the same direction. Good work
[Windows Mobile Apps and Games] ShaDrac:
Hi makuu,

If you place v2 as an file (not module) in oemdrivers, does it work?

If not can you post your boot.rgu?

Thanks!

ShaDrac
[Windows Mobile Apps and Games] ShaDrac:
Hi Strepsils, :)

Did you placed Extendir in MSXipKernel or OEMXipKernel?

If so, did you do the following?

If you did all that and it still doesn't work, :(

then please post your boot.rgu. :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
sounds awesome....we gotta be narrowing it down after 14 test flashes :D post it up and i will test it.
[Windows Mobile Apps and Games] bobsbbq:
Shadrac with V2 1.06 the problem with the Contacts picture in manila is solved.

One user on V2 1.05 reported problem with igo GPS was causing a problem

See This Post

It maybe resolved in V2 1.06, but I don't have anyway to test it myself.
[Windows Mobile Apps and Games] RoryB:
Test results. Beta 1.06 did not work, and neither did isolate versions 11, 12 or 13. Tried beta 1.06 with cachfilt back in by commenting out

;[-HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]

Did not make a difference.
[Windows Mobile Apps and Games] bobsbbq:
Did you also try with it normal? With Cachefilt.dll applied to All:

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Filters\CacheFilt]
[Windows Mobile Apps and Games] cnzqy1:
Yes, I tried with both 0 and 1, no difference, will try add an empty line, and yes, I'm using EVK.

Well, as I can't flash on weekdays, I will try again in the weekends.

Thanks for your help!
[Windows Mobile Apps and Games] zenkinz:
I've a user who reported a bug in the manila photo/video tab, where when you take a photo and then subsequently delete it, the thumbnail photo remains there until the next soft reset.

I think it's due to the extendir but to be sure, if cook here can replicate the problem that'll be better.
[Windows Mobile Apps and Games] bobsbbq:
I have heard about this before. But I just tried and I don't have this problem.
[Windows Mobile Apps and Games] zenkinz:
damn...

did you apply the cachefilt to all or just sd card? Just wanting to know if this is a 'side effect' of applying to all (Which I did to overcome the 'missing' shortcuts)
[Windows Mobile Apps and Games] makuu:
No, If I place V2 as file in oemdrivers it doesn't work. The last version that works for me is the one you posted here.

I've attached my boot.rgu.
[Windows Mobile Apps and Games] bobsbbq:
Cachefilt.dll is applied to only Storage card. I don't think there is anything to worry about with the shortcuts and installation from cab file. There are many programs that require a soft reset after installation but when we build the cab without a setup.dll sometimes it will not soft reset.

And finally it is not really a problem because after soft reset the link is there. Also remember any reg setting will not take effect until after a soft reset.
[Windows Mobile Apps and Games] ShaDrac:
Hi makuu,

Could you try attached version?

Thanks.

ShaDrac
[Windows Mobile Apps and Games] zenkinz:
it's true that the shortcut problem (that I face, not what RoryB and folks are facing) is less critical than the album thumbnail bug. But the point is the problem is nothing about the reg, but the shortcut created in the folder but not read by the start menu until a soft reset.

I'm trying out now a ROM w/o the cachefilt on the main storage, and see if it works.
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB,

Thanks for the feedback! :)

It looks we've narrowed it down pretty well.

One of the next two testbuilds will have the problem solved. :cool:

ShaDrac
[Windows Mobile Apps and Games] bobsbbq:
Yes but what I'm saying is anytime you edit the registry either manually or by a cab registry changes usually don't take effect until after a soft reset.

In your cab you have this registry key:

HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Tools\Back FavPeople Up!.lnk

I hope the photo tab issue is corrected by the changing cachefilt.dll to only Storage.
[Windows Mobile Apps and Games] zenkinz:
unfortunately, it does not :(

back to drawing board again..
[Windows Mobile Apps and Games] ShaDrac:
+1

Photo tab on HD2 works correct.
[Windows Mobile Apps and Games] RoryB:
Yes, that is what I meant by comment out the remove key I showed. Sometime back ShaDrac said it should be removed [-] so I had only just recently added that to my boot.rgu file. So either way does not make a difference.
[Windows Mobile Apps and Games] jagan2:
Hello all from many days i have been trying to configure this to run in my device, but unable.

So i request you all someone please modify my boot.rgu attached

note: If you cant see anything in zip that means you havent enabled the option to see hiden file system.
[Windows Mobile Apps and Games] zenkinz:
found out that the photo tab issue can be resolved by changing the order of the dll/driver in the registry

hklm\system\storagemanager\fatfs\filters\extendir

change order from 0 to 999 (or a number that's bigger than the order of the last driver). In my case, I only have two drivers, htcfsfilter and cachefilt. I have to place it after the two drivers.

the question is, how does this impact the performance?
[Windows Mobile Apps and Games] ShaDrac:
The last test build?

@ RoryB & twopumpchump

Could you test attached test version of Extendir?

I think this one fix your problems.

If not, the next one will. :D

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
test 14----shortcuts didnt work

waiting for #15, crossing my fingers hoping it works :)
[Windows Mobile Apps and Games] RoryB:
Did not fix it. I did go back to having cachfilt removed with the [-]
[Windows Mobile Apps and Games] jagan2:
shadrac or anyother please modify boot.rgu please.
[Windows Mobile Apps and Games] makuu:
Hi Shadrac,

It doesn't work the device won't boot. I believe I tried that already. You used reversmode to build module from your Extendir.dll. But in V2 the reversmode doesn't work properly. For example the Extendir.dll is about 47 Ko, but the module you get from reversmode are more than 180 Ko. If you perform a recmode from the module you get an Estendir.dll of more than 180 Ko. Something is wrong there.

makuu.
[Windows Mobile Apps and Games] bobsbbq:
You must have a bad tool I have made a working module from V2 although now I have moved back to a file in XIP. The benchmarks don't really show much difference but other programs seem to open faster and run smoother with it in XIP.

Try this one, just rename to .exe
[Windows Mobile Apps and Games] makuu:
Thanks but I have the same tool (I made a diff and it's the same).

I made a screen shot of the result using reversmode, I got 12 modules for a total of 189 Ko when the original dll in file mode is only 47.

Can you try to convert the last V2 1.06 and check how many module and the total size you get?
[Windows Mobile Apps and Games] bobsbbq:
I get the same 12, but it works for me.
[Windows Mobile Apps and Games] bgcngm:
That was only in the beginning? Was is the solution now?

Extendir V2 is working great for me (with bootphase=1 and WinCE.nls in XIP), but I wanted to get rid of WinCE.nls in XIP and place it under SYS to get more RAM. The problem is that I have to set bootphase back to 0 (default value). With the stripped ROM it boots fine after 2 or 3 sequential resets, but right after installing my Extendir packages the device stops booting.
[Windows Mobile Apps and Games] bobsbbq:
Why would you want to move the Wince.nls to sys on a LEO with all the RAM we have? On our Leo you Don't need to change the bootphase at all. If iti's not working then it is likely the order of your Filters or some of your Extendir Packages.
[Windows Mobile Apps and Games] bgcngm:
I don't have a Leo, so every gain on RAM is a big achievement. Basically, my question was if there's any new solution to get device booting without setting bootphase to 1.
[Windows Mobile Apps and Games] RoryB:
I have not tried this on my Wizard. Are you saying I would get more RAM without taking an operational hit on my Wizard?
[Windows Mobile Apps and Games] bobsbbq:
Ok my misunderstanding, sorry. I thought you were using a LEO. On the blackstone I never did get mine to boot without the bootphase changed. But saying that I only had Version 1.06 not the new V2. What device do you have?
[Windows Mobile Apps and Games] bgcngm:
If you remove WinCE.nls from XIP and place it under SYS, ulRAMStart will begin first, so yeah... In the end you'll get more memory.

I have an ETEN/ACER DX900. The first Windows Mobile device with dual SIM support.

When you had your Blackstone, at which point did your device stopped booting? It's strange because, as I said, with a stripped ROM I tried to reset the device several times and never stopped booting. As soon as I installed my Extendir packages, it stopped booting.
[Windows Mobile Apps and Games] bobsbbq:
It would not boot at all with Extendir.dll and the Extendir rgu changes in boot.rgu. It would just hang at the beginning or some part in the first boot. Sorry it's been a while and my memory is not that good to remember.

When I would change the bootphase then it worked all the time.
[Windows Mobile Apps and Games] RoryB:
Sorry, brain fart. Already have this done. Fighting a cold today.
[Windows Mobile Apps and Games] ShaDrac:
Hi RoryB & twopumpchump,

At the moment I'm also crossing my fingers so hard that it starts to hurt! :D

Let's hope attached testbuild does the trick. :)

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

The size and 12 modules is correct.

That's part of the V2 optimizations. :)

The V1.06 with 4MB cache I reversmoded once, was done with another tool, not reversmode.

When I find that one somewhere in my very old backups, I'll post a new one (including the tool).

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

I see that your phone has some unknown drivers for me. :confused:

Could you check if the filesys.exe has loaded imgfs.dll and ONDisk.dll with for example FdcSoft Task manager (Processes->filesys.exe->details) and what the Proc Count is?

Thanks! :)

ShaDrac
[Windows Mobile Apps and Games] twopumpchump:
test 15----shortcuts didnt work :( now what do we do....use cabs i guess lol.