Symbian-Developers

Symbian^3, Anna, Belle Forum => General Symbian^3 Discussions => Topic started by: secarica on February 16, 2014, 04:58:13 pm

Title: how does the system manage a same file(name) across different drives ?
Post by: secarica on February 16, 2014, 04:58:13 pm
I know that in some circumstances some custom files with same filename can be put on a different-than-ROM drive and the system will read the files from there instead of ROM. For example, on a N73 device I put some .ttf fonts on /resource/fonts folders created on the miniSD card and after reboot the system used that fonts only (was for extended glyphs on particular language when reading SMS or email).

Recently I have applied the same principle on a N8 with Symbian Belle on it, related to keyboard layout files, where I modified some peninputblahblah files from Z:/resource/plugins and put them to C:/resource/plugins. That also worked perfect.

However I tried to do the same keyboard layout workaround on a Symbian Anna, but didn't worked.

My question is -- is there a system config that tells the OS to look preferentially on one or other drive for a given file ? I mean a general rule (principle). The N73 is rather old and worked, Anna is newer and didn't worked, Belle is even newer and worked again, so I am a bit confuzed here.

(have not tried the microSD font substitution on Anna, though)

Thank you,
Cristi
Title: Re: how does the system manage a same file(name) across different drives ?
Post by: Allstar12345 on February 16, 2014, 05:15:28 pm
I'm not completely sure but I think the components themselves may have their own code written into them, not all extensions will work from c:/
Although the OS default is to read from c:/ then if the file is non existant it reads from z:/, so OTA updates will work without flashing.

You will never get the keyboard layout working from c:/ though.
Title: Re: how does the system manage a same file(name) across different drives ?
Post by: secarica on February 16, 2014, 05:31:53 pm
I'm not completely sure but I think the components themselves may have their own code written into them, not all extensions will work from c:/ [...]
You will never get the keyboard layout working from c:/ though.
Hmm. Fact is, on Belle I applied successfully the method described here (http://forum.dailymobile.net/index.php?topic=95841.0).

I compared (binary) the Z:/resource/plugins/peninput*.* files from Anna and Belle and they are all exactly the same.

Will dig further ...

Cristi
Title: Re: how does the system manage a same file(name) across different drives ?
Post by: matthew on February 16, 2014, 09:36:04 pm
Although the files themselves may be identical, how Anna and Belle handle them is very different.
i, too, am trying to get things to work from C:\ without any crutches, but sometimes you just have to resort to C2Z4bin with a domainsrv auto-start :(
If you don't have these already, here's what you need to make the .dll work from C:\
Move the sys folder to C:\ and the patch to your patches folder. Apply C2Z4bin and add it to Domainsrv auto.

Edit: \resource\? You're talking about .rsc not binary? Nevermind - i didn't read carefully enough =oP