<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fwrnando.com &#187; symbian</title>
	<atom:link href="http://www.fwrnando.com/tag/symbian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fwrnando.com</link>
	<description>was sick of the &#34;blag&#34; thing</description>
	<lastBuildDate>Thu, 01 Jul 2010 23:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to edit files that are currently in use by Symbian</title>
		<link>http://www.fwrnando.com/2009/06/how-to-edit-files-that-are-currently-in-use-by-symbian/</link>
		<comments>http://www.fwrnando.com/2009/06/how-to-edit-files-that-are-currently-in-use-by-symbian/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 17:32:09 +0000</pubDate>
		<dc:creator>fernando</dc:creator>
				<category><![CDATA[Bloggan]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[h4x]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://www.fwrnando.com/?p=553</guid>
		<description><![CDATA[If you scroll down the main page a little, you&#8217;ll see I was away from this blog for quite a while, I didn&#8217;t even post nothing in May. And so, I wasn&#8217;t paying much attention to the comments (sorry guys, just finished replying to them :P). Two comments in my first post about hacking the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_555" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0027.png"><img class="size-medium wp-image-555 " title="SuperScreenshot0027" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0027-168x300.png" alt="SuperScreenshot0027" width="168" height="300" /></a><p class="wp-caption-text">Notice there&#39;s no Bookmarks db</p></div>
<p>If you scroll down the main page a little, you&#8217;ll see I was away from this blog for quite a while, I didn&#8217;t even post nothing in May. And so, I wasn&#8217;t paying much attention to the comments (sorry guys, just finished replying to them :P). Two comments in my <a href="http://www.fwrnando.com/2009/02/5800-hacking-shenanigans/">first post about hacking the 5800</a> were asking how to modify files that are already in use by the system (most databases, font files (when in C: or E:), resource files, etc), I had already said just to &#8220;look around&#8221;. Well, that&#8217;s no good! In this post I&#8217;ll make a guide on how.</p>
<p>First, get a file manager that has an option to ask &#8220;Are you sure you want to exit?&#8221;. I hate UIs that do that, but they&#8217;re useful here (lol). My choice would be the <a href="http://alietan.com/index.php?option=com_content&amp;view=article&amp;id=2&amp;Itemid=2">manufacturer capabilities enabled ActiveFile</a> (signing/hacking required), the UI is glitchy on 5th edition (supposedly a fix is coming soon), but I prefer ActiveFile over any other manager on 3rd edition. (right now I use Y-Browser for everyday tasks and ActiveFile for stuff like this, on my 5800)</p>
<div id="attachment_556" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0028.png"><img class="size-medium wp-image-556" title="SuperScreenshot0028" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0028-168x300.png" alt="SuperScreenshot0028" width="168" height="300" /></a><p class="wp-caption-text">Activate on Settings &gt; General</p></div>
<p>Now for the part where the magic happens. Ever since 2nd edition (or even first, don&#8217;t remember) S60 had this backup function on the memory card app/built-in file browser, it makes a copy of modified files from C:/ to a hidden folder on E:/. It was incredibly useful on 2nd edition for making app backups, it got kinda broken on 3rd because of security (lol), and it&#8217;s back in a refreshed form in 5th. But how does it copy files from C: without the OS complaining? That&#8217;s right, it lowers (momentarily) the security!</p>
<div id="attachment_557" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0029.png"><img class="size-medium wp-image-557" title="SuperScreenshot0029" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/SuperScreenshot0029-168x300.png" alt="SuperScreenshot0029" width="168" height="300" /></a><p class="wp-caption-text">woo</p></div>
<p>The thing is, this backup function closes every other app open on the phone, and stops the menu from being able to launch apps while the backup is on progress, in order to protect those files. That&#8217;s where the &#8220;Ask on exit&#8221; option comes to play! The backup app can&#8217;t close ActiveFile because it can&#8217;t answer Yes for the question. (lol)</p>
<p>So switch to ActiveFile using the menu key, answer No to the &#8220;Do you want to exit?&#8221; and you&#8217;re left with an unprotected file system and an open file manager with all files capability. Yay.</p>
<p>Now for a couple tips:</p>
<ul>
<li>On the backup contents part, I suggest just selecting Contacts, Calendar and Messages, as selecting all will give you a lot of time to mess with files, but increases the chances of a crash/wrong file to mess up something on your phone.</li>
<li>Speaking of time, you only have from when it says &#8220;Creating backup&#8221; to when it says &#8220;Backup complete&#8221; to modify files. This won&#8217;t work while the message reads &#8220;Preparing for backup&#8221;. Do a backup once and just look at how much time it is.</li>
<li>If you want to copy something to C:\Private\100012a5, don&#8217;t leave the source file in E:\, copy it first so C:\Private, or leave it on the clipboard before starting the backup. Again, for speed reasons.</li>
<li>Keep in mind that system files are case sensitive, if you&#8217;re using this method to copy over the bookmarks files as I showed in that other post, rename the file to have the exact same capitalization. Lol.db isn&#8217;t the same as LOL.db.</li>
</ul>
<p>And there you go, huge wall of text, but I tried to explain every aspect of this trick throughly. If you want a tl;dr version of the post, I&#8217;ll add it here:</p>
<ol>
<li>Get ActiveFile 1.42, activate ask on exit.</li>
<li>Use the built in file manager to start a backup.</li>
<li>While the phone is backuping, switch back to ActiveFile. All files are fair game to copy/delete.</li>
</ol>
<p><strong>Update:</strong> The new ActiveFile V1.43RC1 quits on backuping, breaking this method. Keep a V1.42 sis around to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fwrnando.com/2009/06/how-to-edit-files-that-are-currently-in-use-by-symbian/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Merging fonts, S60 specific glyphs and other stories</title>
		<link>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/</link>
		<comments>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 23:59:19 +0000</pubDate>
		<dc:creator>fernando</dc:creator>
				<category><![CDATA[Bloggan]]></category>
		<category><![CDATA[fontforge]]></category>
		<category><![CDATA[fontrouter]]></category>
		<category><![CDATA[heisei kaku gothic s60]]></category>
		<category><![CDATA[japanese]]></category>
		<category><![CDATA[s60]]></category>
		<category><![CDATA[symbian]]></category>

		<guid isPermaLink="false">http://www.fwrnando.com/?p=526</guid>
		<description><![CDATA[Fonts! Yes, one of S60&#8242;s oldest mysteries. Why Euro1 firmware phones don&#8217;t support asian fonts? It made sense back in the S60v2 times, where memory was scarce. But now there&#8217;s plenty of space for just a couple more megabytes that a full unicode font would occupy. For that, there are alternative fonts, pretty much any [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_528" class="wp-caption alignnone" style="width: 370px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0018.png"><img class="size-full wp-image-528" title="superscreenshot0018" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0018.png" alt="superscreenshot0018" width="360" height="258" /></a><p class="wp-caption-text">Droid Sans with a cut musical note!</p></div>
<p>Fonts! Yes, one of S60&#8242;s oldest mysteries. Why Euro1 firmware phones don&#8217;t support asian fonts? It made sense back in the S60v2 times, where memory was scarce. But now there&#8217;s plenty of space for just a couple more megabytes that a full unicode font would occupy.</p>
<p>For that, there are alternative fonts, pretty much any .ttf you find, with a little magic, it can be used as a system font. If you want a wider range of characters, you have two options:</p>
<div id="attachment_532" class="wp-caption alignnone" style="width: 228px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heisei.png"><img class="size-full wp-image-532" title="heisei" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heisei.png" alt="heisei" width="218" height="93" /></a><p class="wp-caption-text">Nokia&#39;s own Heisei Kaku Gothic S60</p></div>
<p>or</p>
<div id="attachment_530" class="wp-caption alignnone" style="width: 230px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/arial.png"><img class="size-full wp-image-530" title="arial" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/arial.png" alt="arial" width="220" height="103" /></a><p class="wp-caption-text">Any other unicode font you find, for example, Arial MS Unicode</p></div>
<p>Thing is, the latin letters from Heisei Kaku are quite ugly, in my opinion. (and I&#8217;m not the only one, I&#8217;ll add some quotes here later :P). And regular fonts are just too big/wide  for mobile phones, they&#8217;re not designed with small UIs in mind. Compare with regular Series S60 Sans.</p>
<div id="attachment_531" class="wp-caption alignnone" style="width: 239px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/s60sans.png"><img class="size-full wp-image-531" title="s60sans" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/s60sans.png" alt="s60sans" width="229" height="87" /></a><p class="wp-caption-text">lol blocks</p></div>
<p>So what could I do to fix that? Enter <a href="http://fontforge.sourceforge.net/">FontForge</a>! An free multiplatform font editing application. I finally figured out how to &#8220;merge&#8221; fonts using it.</p>
<p>You can take s60snr.ttf from Z:/System/Fonts and use FontForge to merge any font with japanese characters to it, fontforge will import the characters the original font does not have, so you keep the regular S60 latin letters, adding Japanese support to it.</p>
<p>Open both fonts on fontforge. (it asks me if I want to import bitmap fonts for heisei, I just answered no.)<br />
On the s60***.ttf window, on the menubar, Element &gt; Merge fonts. I get this:</p>
<div class="wp-caption alignnone" style="width: 320px"><img src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.03.29.png" alt="asd" width="310" height="157" /><p class="wp-caption-text">Found on Element &gt; Merge</p></div>
<p>After it merges (practically instantly), on the S60***.ttf window I go Files &gt; Generate fonts. Uncheck the Validate Before Saving option or else fontforge will complain.</p>
<div class="wp-caption alignnone" style="width: 438px"><img src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.05.57.png" alt="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/Screen-shot-2009-08-02-at-13.05.57.png" width="428" height="507" /><p class="wp-caption-text">Even the font that comes with S60 won&#39;t properly validate, so uncheck that.</p></div>
<p>On the screenshot on the top of the post, however, you see a different font than the standard S60 font. That is <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=39b04dd27e6d20809f8ff26920d1e761a0005252;sf=tgz">Droid Sans</a> (download link), the font used on Google&#8217;s Android platform. I got it because I thought it looked kinda neat, as an example for this post. But one thing you don&#8217;t have in other fonts, are the characters specific to S60. For example, the space bar symbol, the line break symbol, the cut musical note that indicates the phone&#8217;s on silent profile, etc.</p>
<div id="attachment_527" class="wp-caption alignnone" style="width: 460px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/picture-1.png"><img class="size-full wp-image-527" title="picture-1" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/picture-1.png" alt="picture-1" width="450" height="267" /></a><p class="wp-caption-text">There they are, hidden in U+F800</p></div>
<p>Again, you can import those characters with FontForge, so now you can add those UI elements to every font you want to use on your phone.</p>
<p>Now to apply those fonts to your font, you need an application called FontRouter LT to avoid doing the whole renaming and copying procedure font changing used to take, and to make it even more simple, there&#8217;s an application called FontRouter Man, so you can turn it on and off with a single menu option.</p>
<div id="attachment_536" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0020.png"><img class="size-medium wp-image-536 " title="superscreenshot0020" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0020-168x300.png" alt="superscreenshot0020" width="168" height="300" /></a><p class="wp-caption-text">FontRouter Man&#39;s default settings</p></div>
<p>Now, for the downloads:</p>
<ul>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=103338&amp;package_id=111040">FontForge</a> (pick your OS)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/heiseigoths60.ttf">HeiseiGothS60.ttf</a> (the original Nokia japanese font, I&#8217;m not sure if I can host it here, but it&#8217;s easily available around if you search.)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/font-router-build-20071109.sis ">FontRouter LT</a> (the latest version)</li>
<li><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/fontroutermanv105beta.sisx">FontRouter Man</a> (the version that worked on my 5800)</li>
</ul>
<p>Take this post as 10% tip in adding Nokia characters to other fonts, 90% report of my &#8220;research&#8221;. I&#8217;ll try to update it in case I figure out how to add different variants of S60 Sans in FontRouter for the closest default UI look. That or if I figure how to make a lighter mix of the Droid Fonts in order not to crash the phone with arabic.</p>
<p><strong>Update!</strong></p>
<p>So I figured out why modifiying the three variations of S60 Sans wouldn&#8217;t please FontRouter.</p>
<div id="attachment_549" class="wp-caption alignnone" style="width: 494px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/serifsareforsuckers.png"><img class="size-full wp-image-549" title="serifsareforsuckers" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/serifsareforsuckers.png" alt="serifsareforsuckers" width="484" height="215" /></a><p class="wp-caption-text">Tricky.</p></div>
<p>Both the regular and the SemiBold version have the same name! That&#8217;s why when adding s60snr, s60ssb, and s60tsb to FontRouter, just the regular and the title font would be added.</p>
<div id="attachment_546" class="wp-caption alignnone" style="width: 178px"><a href="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0021.png"><img class="size-medium wp-image-546" title="superscreenshot0021" src="http://www.fwrnando.com/blog/wp-content/uploads/2009/06/superscreenshot0021-168x300.png" alt="superscreenshot0021" width="168" height="300" /></a><p class="wp-caption-text">Notice all three variants: Red uses s60tsb, blue uses s60snr and the list uses s60ssb.</p></div>
<p>So this puts a conclusion to why I couldn&#8217;t use FontRouter to get the closest default UI look. I had to change the fonts the old school way, copying all three modified .ttfs to E:/Resources/Fonts and rebooting. Now I&#8217;m considering moving those files to C: (as leaving them on E: breaks mass storage mode (files in use, y&#8217;know)). Keep in mind deleting fonts after you added them on E:/Resources/Fonts requires you to boot up without the memory card (to free the files). Hopefully nothing will break, and I&#8217;ll be able to have the same fonts as I used to have, with nothing broken, just with added Japanese support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fwrnando.com/2009/06/merging-fonts-s60-specific-glyphs-and-other-stories/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
