• April 24, 2024, 12:01:58 am

Author Topic: how does the system manage a same file(name) across different drives ?  (Read 2898 times)

0 Members and 1 Guest are viewing this topic.

Offline secarica

  • Viewer
  • *
  • Posts: 3
  • Reputation: 0
  • Symbian Power User
  • Current Phone: : N8
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
« Last Edit: February 16, 2014, 05:01:18 pm by secarica »

Offline Allstar12345

  • Allstar Software Founder
  • Administrator
  • Forum Genius
  • ******
  • Posts: 5,235
  • Reputation: 812
    • Allstar Software
  • Current Phone: : OnePlus 8 Pro, Xperia 10, Nexus 6p, Jolla Phone, Nokia N8, Nokia 808 PureView, BlackBerry Z30
Re: how does the system manage a same file(name) across different drives ?
« Reply #1 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.

Offline secarica

  • Viewer
  • *
  • Posts: 3
  • Reputation: 0
  • Symbian Power User
  • Current Phone: : N8
Re: how does the system manage a same file(name) across different drives ?
« Reply #2 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.

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

Will dig further ...

Cristi

Offline matthew

  • Mass Poster
  • ****
  • Posts: 1,315
  • Reputation: 13
  • SymphonyOS
  • Current Phone: :
    N8-00 (25.007)
    808 (113.010.1508)
    Retired E72, E6-00
Re: how does the system manage a same file(name) across different drives ?
« Reply #3 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
« Last Edit: February 16, 2014, 09:44:18 pm by matthew »