{"id":159,"date":"2006-02-28T23:45:15","date_gmt":"2006-02-28T23:45:15","guid":{"rendered":"http:\/\/www.pete.nu\/blog\/2006\/03\/159\/"},"modified":"2008-05-13T16:36:51","modified_gmt":"2008-05-13T15:36:51","slug":"hacking-moto","status":"publish","type":"post","link":"https:\/\/pete.nu\/blog\/2006\/02\/28\/hacking-moto\/","title":{"rendered":"Hacking Moto"},"content":{"rendered":"<p>So, if you watch my linklog, you&#8217;ll notice that I recently installed [moto4lin][] on [Ubuntu][] so that I could hack my [Razr][].<\/p>\n<p>[moto4lin]: http:\/\/www.ubuntuforums.org\/showthread.php?t=56253&#038;highlight=moto4lin<br \/>\n[ubuntu]: http:\/\/www.ubuntulinux.org\/<br \/>\n[razr]: http:\/\/www.motorola.com\/motoinfo\/product\/details\/0,,69,00.html<\/p>\n<p>The primary reason for doing this was that the external screen would display my service provider&#8217;s icon. This, to me, seemed like a bit of an imposition &#8211; why should I be forced to advertise their product? I&#8217;ve already bought it &#8211; what more do they want? Blood?<\/p>\n<p>So I created a 96&#215;80 <abbr title=\"Graphics Interchange Format\">GIF<\/abbr> image called cl.gif and uploaded it to the phone, overwriting the existing file in \/a\/mobile\/system\/ &#8211; worked a treat.<\/p>\n<p>I then went to town getting rid of all the preinstalled crap that had been marked as read-only, and hence undeletable from within the phone&#8217;s menu.<\/p>\n<p>Here&#8217;s where it gets interesting, because to give the user the impression that this crap isn&#8217;t taking up shedloads of space, the phone has been programmed to subtract the mass of this crap from the total space displayed when you request a memory report.<\/p>\n<p><!--more-->So, when I started out, I had these stats:<\/p>\n<p>> Total: 7731 Kb<br \/>\n> Used: 510 Kb<br \/>\n> Free: 7221 Kb<\/p>\n<p>Bearing in mind that this was clearly dubious anyway, as I know for a fact that my ringtone is a 775 Kb MP3, we&#8217;ll move on.<\/p>\n<p>So, insert noise of much deleting occuring here. I&#8217;ll wait.<\/p>\n<p>Now, the stats are:<\/p>\n<p>> Total: 8969 Kb<br \/>\n> Used: 943 Kb<br \/>\n> Free: 8025 Kb<\/p>\n<p>I must admit, the value for &#8220;Used&#8221; here does seem a bit more realistic now. But most remarkable is the total space &#8211; I&#8217;ve cleared out more than a megabyte of crap!<\/p>\n<p>Another tweak that I&#8217;ve made is to replace the shutdown animation with a single-frame <abbr title=\"Graphics Interchange Format\">GIF<\/abbr>. This greatly reduces the time taken to turn the phone off. I&#8217;ve tried to do the same with the startup animation, but for some reason it is still using the old anim, despite me apparently having overwritten it with a single-frame <abbr title=\"Graphics Interchange Format\">GIF<\/abbr>. The mind boggles.<\/p>\n<p>I&#8217;m reluctant to go crazy deleting files, partly because I&#8217;m not hideously strapped for space, and partly because I&#8217;m aware that by deleting protected files, I might be putting the phone into a state which the developers never anticipated it reaching &#8211; dependencies on certain files might be hardcoded into the software. However, I&#8217;m reasonably confident that with the right precautions, I could free up some more space in the following ways:<\/p>\n<p>> Themes: 171 Kb<br \/>\n> Images: 364 Kb<br \/>\n> MMS Templates: 313 Kb<\/p>\n<p>Bringing the total capacity of the phone to 9817 Kb. The [Wikipedia page][] refers to &#8220;User accessible memory: 5.5MB (10.5MB with some features removed)&#8221; which doesn&#8217;t seem like a far reach from my current limit, though I suspect that this may require removing the Java runtime environment.<\/p>\n<p>[wikipedia page]: http:\/\/en.wikipedia.org\/wiki\/Motorola_RAZR<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, if you watch my linklog, you&#8217;ll notice that I recently installed [moto4lin][] on [Ubuntu][] so that I could hack my [Razr][]. [moto4lin]: http:\/\/www.ubuntuforums.org\/showthread.php?t=56253&#038;highlight=moto4lin [ubuntu]: http:\/\/www.ubuntulinux.org\/ [razr]: http:\/\/www.motorola.com\/motoinfo\/product\/details\/0,,69,00.html The primary reason for doing this was that the external screen would display my service provider&#8217;s icon. This, to me, seemed like a bit of an imposition [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,241],"tags":[92,90,89,87,91,241],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-computing","category-ubuntu-linux","tag-linux","tag-moto4lin","tag-motorola","tag-razr","tag-ubuntu","tag-ubuntu-linux"],"_links":{"self":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":0,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"wp:attachment":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}