<?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>Some More Bytes</title>
	<atom:link href="http://somemorebytes.com/wp/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://somemorebytes.com/wp</link>
	<description>in the binary maze...</description>
	<lastBuildDate>Fri, 27 Aug 2010 18:45:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Back Online!</title>
		<link>http://somemorebytes.com/wp/index.php/2010/08/back-online/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/08/back-online/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 18:45:05 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=631</guid>
		<description><![CDATA[Online after a host change!]]></description>
			<content:encoded><![CDATA[<p>Running away from my old host, which probably was the worst host EVER, I landed in this new server.</p>
<p>Let see if they can cope with a single blog!!.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/08/back-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powermizer Manager 0.99 Released</title>
		<link>http://somemorebytes.com/wp/index.php/2010/08/powermizer-manager-0-98-released/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/08/powermizer-manager-0-98-released/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 00:04:30 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[Powermizer]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=614</guid>
		<description><![CDATA[Powermizer Manager Update]]></description>
			<content:encoded><![CDATA[<p>I just released a new version of Powermizer Manager.</p>
<p>More details and downloads <a href="http://somemorebytes.com/wp/index.php/software/nvpmmanager/" target="_blank">HERE</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/08/powermizer-manager-0-98-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sleep timer for Windows Media Player (Mobile)</title>
		<link>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:39:57 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=590</guid>
		<description><![CDATA[Sleep timer for Windows Media Player (Windows Mobile)]]></description>
			<content:encoded><![CDATA[<p>Now that I am using a <a href="http://somemorebytes.com/wp/index.php/2010/07/hacking-a-lg-gm750-layla/" target="_blank">Windows Mobile based device</a>, it is really annoying that the media player does not have a sleep timer included.  I noticed that many years ago in an iPaq PDA, and I see that nothing has changed.</p>
<p>When I go to sleep, I start the Windows Media Player usually with a large playlist, or even the loop function activated. I do not want, however, the device playing all night long wasting my battery&#8230; Well, it&#8217;s the very definition of Sleep Timer, ain&#8217;t it?</p>
<p>I put together a couple of lines of code, and made this **extremely basic** sleep timer. I did something similar many years ago for the iPaq, and now I&#8217;ve don it again. I spent more time trying to make the cab installer that the code itself:D. The code is almost worthless to put here, but I&#8217;ll do it just in case someone wants to modify it to start a different process other than the Media Player.</p>
<p>The &#8220;Suspend the device&#8221; function, calls the SetSystemPowerState API which according to the MSDN its effect may vary on each device, as it relies on some OEM power management implementation. It will not be necessary in most of modern devices, but I included it just in case.</p>
<a href="http://somemorebytes.com/wp/wp-content/plugins/download-monitor/download.php?id=9" title="Sleep Timer Installer">Sleep Timer Installer</a> </br></p>
<p><a href="http://somemorebytes.com/wp/wp-content/plugins/download-monitor/download.php?id=10" title="Sleep Timer Source Code">Sleep Timer Source Code</a>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/07/sleep-timer-for-windows-media-player-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking a LG GM750 Layla Phone</title>
		<link>http://somemorebytes.com/wp/index.php/2010/07/hacking-a-lg-gm750-layla/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/07/hacking-a-lg-gm750-layla/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 02:15:11 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Gm750]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[layla]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[S-Class]]></category>
		<category><![CDATA[Vodafone]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=567</guid>
		<description><![CDATA[My iPhone recently died due to a sudden deceleration against the floor. Needing another phone while I decide which will be my next acquisition, I borrowed from my girlfriend a LG GM750 phone that she had lying around. This is a Windows Mobile 6.5 terminal and comes with the (sometimes annoying) S-Class interface from LG. It is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_570" class="wp-caption alignleft" style="width: 310px"><a href="http://somemorebytes.com/wp/wp-content/uploads/2010/07/GM750.jpg" rel="lightbox[567]"><img class="size-medium wp-image-570" title="GM750" src="http://somemorebytes.com/wp/wp-content/uploads/2010/07/GM750-300x274.jpg" alt="GM750" width="300" height="274" /></a><p class="wp-caption-text">GM750</p></div>
<p>My iPhone recently died due to a sudden deceleration against the floor.</p>
<p>Needing another phone while I decide which will be my next acquisition, I borrowed from my girlfriend a LG GM750 phone that she had lying around. This is a Windows Mobile 6.5 terminal and comes with the (sometimes annoying) S-Class interface from LG. It is not a super modern, super advance terminal, but it has the features I need: 3G which means web and mail, GPS and a nice battery. Add to this a couple of useful apps, and a GPS offline navigator and now you&#8217;re talking.And the best part, it was free!!.</p>
<p>Unfortunately there are not stable alternative roms for this model yet, so I had to change manually a couple of things that were making me unconfortable.</p>
<p><span id="more-567"></span></p>
<p>The idea behind the S-Class is nice: Use your finger (even with resistive screens) instead of the stylus (for which windows mobile is designed). The implementation however, is not so good. It refuses to blend seamlessly with the rest of the windows mobile OS. Click on the wrong option, and you will find yourself in the true Windows Mobile screen where either you have pen-point sized nails, or you will need to take the stylus out.</p>
<p>So after play with the S-Class interface a little bit, my first attempt was to completely disable the S-Class layer, and rely on the Windows Mobile interface, even if that meant use the stylus everywhere. However that&#8217;s not easy, as some events, notifications, and applications  are handled by default by the S-Class layer, and there&#8217;s no setting to get rid of it.</p>
<h2>Eliminate the S-Class almost completely.</h2>
<p>Here are the necessary steps :</p>
<ol>
<li>Of course, Go to Start-&gt;Config-&gt;Personal-&gt;Boot Screen and disable LG-Smart Boot Screen. That one is pretty obvious.</li>
<li>Now you would like to disable the Message (SMS &amp; MMS) and email notification system, which by default triggers the LG S-Class one. To do so first go to Start-&gt;LG S-Class-&gt;Messaging-&gt;Settings-&gt;Notifications and here select for &#8220;New Text Message&#8221; and &#8220;New MMS Message&#8221; MS Notification instead LG Notification.</li>
<li>No you&#8217;ll realize that when a message arrives the S-Class interface is not fired up, but it starts when you&#8217;re composing a message. To disable the S-Class message composer, you&#8217;ll need a registry editor. You can try <a href="http://www.freewareppc.com/utilities/phmregistryeditor.shtml" target="_blank">PHM registry Editor</a>, <a href="http://alex-software.com/downloads.html" target="_blank">Alex&#8217;s Software Simple Regedit </a>or any other. DO A REGISTRY BACKUP BEFORE!!!</br><br />
Navigate to:</br><code>HKCU\Software\Microsoft\Inbox\MsgTypes\IPM</code>And change the following keys:</p>
<p><code>Change SMStext\Dll  from LGEUMS.dll to htmlnote.dll</code><br />
<code>Change LGESMS\Dll  from LGEUMS.dll to htmlnote.dll</code><br />
<code>Change SI\Dll  from LGEUMS.dll to htmlnote.dll</code><br />
<code>Change MMS\Dll  from LGEUMS.dll to htmlnote.dll</code></li>
<li>Now delete the following key so the notifier itself isn&#8217;t launched as a service:<code>HKLM\Software\LGE\Apps\InitApp\Launch\Launch01  (It will contain the value LGNoti.exe)</code></li>
<li>Disable the LG Skin changing the key value from 1 to 0<code>HKLM\Security\Phone\Skin\Enabled</code></li>
</ol>
<p>Now of course disabling completely the S-Class has its drawbacks. You loose the widgets, you loose the horizontal keyboard autorotation in the SMS and email composer, the cute alarm that the S-Class has, and well, you will end up wanting to kill someone with the damn stylus.</p>
<p>To solve the auto rotation feature, which I think is the only real loss, you can install <a href="http://ae.inc.ru/aebplus.php" target="_blank">AE Button Plus</a>. This small application will allow you to assign a button double click to the rotate function, so you can see *almost* any application in landscape mode. Simple, neat, fast.</p>
<p>At this point I decided, that maybe I could just ignore the things I didn&#8217;t like about the S-Class, and cope with it. However, what I could&#8217;t stand was the crap that vodafone (this terminal was vodafone exclusive where my girlfriend bought it) installs in the phone. Having unlocked the phone, it triggered errors about non-existent websites being accessed, non available applications and other sort of misbehaviour.</p>
<p>You can eliminate the Vodafone things even if you decide to have disabled the S-Class. It is not so annoying with the default windows mobile interface though (you do not have the Vodafone shortcuts in the main screen).</p>
<h2>Getting rid of Vodafone Stuff</h2>
<p>First thing you want to do is to install <a href="http://www.ghisler.com/download.htm" target="_blank">Total Commander</a> for Windows Mobile. This will allow us to overwrite some files that otherwise would be impossible either from the pocket explorer or ActiveSync.</p>
<p>Let&#8217;s start:</p>
<ol>
<li>With the pocket explorer (or the Total Commander) navigate to My Device\Windows\Start Menu\Programs and delete the folder Services. This folder is absolutely useless if you&#8217;re not of vodafone.</li>
<li>Now the other annoying thing about Vodafone is the &#8220;My Web&#8221; icon that will start Internet Explorer with the default vodafone site, and can&#8217;t be changed anywhere. So the best solution is get rid of the icons and every shortcut to it.With Total Commander, navigate to My Device\Windows and delete the Vodafone_Live application.</li>
<li>Here&#8217;s a tricky part: S-Class comes with 2 main screens. The Idle, and the HelloUI. The Idle is the S-Class Cube itself and it has a launcher on the Today screen. The HelloUI is the 4 rows icon menu that appears when you touch the menu icon in the above mentioned launcher.To get rid of the vodafone icons in the TopMenu (communications in the HelloUI) you need to navigate to  the following registry key:<code>HKCU\Software\LGE\TopMenu</code>Here you can edit which icons will appear in each menu. Each number represents an icon. The order represents the order that you have in you mobile phone. The vodafone ones are the m151 and the m153. If you delete them, they will not appear in the communications row. I couldn&#8217;t find where are those images to avoid test and try in further customizations but they should be anywhere of course.</li>
<li>The only thing that remains is the main screen (today) launcher icons. Here you have several options. At first, I just created the Services folder where I deleted it in the first step, and put some shortcuts to some useful applications. This way You have everything at hand&#8230; with the vodafone icon though.If you want to remove it, you have to get your hands dirty. Every S-Class screen is a *.swf file. The file corresponding to the launcher My Device\Windows\launcher.swf.I decompiled it using <a href="http://www.sothink.com/product/swfquicker/" target="_blank">Sothink SWF Quicker</a> and took a look to the action script code on it. You&#8217;ll find the following line:<code>var arIcon = [id_contacts, id_message, id_vodafoneSuite, id_myweb, id_topmenu, id_dialer, id_email, id_calendar, id_alarm, id_music];</code>As you can see this is the array that organizes the launcher icons. You just need to remove from there <strong>id_vodafoneSuite </strong>and <strong>id_myweb </strong>and you&#8217;re good to go. I reordered as well my icons to a more logical position. Once you have finished, you just need to republish the swf file. Adjust the jpg quality to 100  to make it look the same as the original.Take into account that the Sothink SWF decompiler is not free. It adds a watermark to the resulting published swf that will appear on the phone later. <a href="http://somemorebytes.com/wp/wp-content/uploads/2010/07/Modified_launcher.swf" target="_blank">Here</a> you can download my version, so you won&#8217;t need to decompile and modify it yourself. Jusr rename it to <strong>launcher.swf</strong> and copy it to your SD card, and then to your My Device\Windows directory using Total Commander.
<p>To take a look at the code, maybe the<a href="http://www.flash-decompiler.com/" target="_blank"> Trillix Flash Decompiler</a> is more user friendly, but I couldn&#8217;t recompile the swf with it, so I used it only to read code.</p>
<p>Remember to copy the  launcher.swf file again to the My Device\Windows directory with the Total Commander. <strong>Explorer or active Sync wouldn&#8217;t let you overwrite this file</strong>.</li>
<li>Last but not least, you can get rid of your operator&#8217;s picture when you turn on and off your phone. The shutdown animation would be this one:<code>HKLM\System\Startup\1\StartUpAni.dll</code>Removing this entry will suffice.The Log-in picture is referred by this registry entry:<code>HKEY_LOCAL_MACHINE\Software\Microsoft\Splash Screen\MSBitmap</code>By default it points to the picture <strong>\Windows\StartUpImg_DMDO_000.bmp</strong>. You can either remove the registry entry or change the picture itself.</li>
<li>If you plan to use the GPRS connection as a USB modem, you should change the default APN for the DUN connecion. Of course, I assume you would have changed by now the normal connection settings to fit your operator. The default DUN APN can be found here:<br />
<code>HKLM\Software\LGE\Data\APNforDUN</code><br />
Just change this value to fit your operator&#8217;s APN and you should be ready to go.</li>
</ol>
<p>And that&#8217;s it. The S-Class interface can be modded much more. Flash design is not among my skills, but I bet that I designer would take all the *.swf files in the Windows directory and would be able to modify a bunch of things without needing to recompile a custom ROM.</p>
<p>Every information I&#8217;ve found about cracking the S-Class speaks about extracting the firmware, and then cook a custom ROM with the S-Class modified. I guess there must be a reason why nobody is just modifying (maybe I didn&#8217;t find it) the *.swf files and making a installer, but hey, it worked for what I needed. And at the end, it is seems to me as the safest option, as if you break something, you just hard reset and everything would revert to a safe state.</p>
<p><strong>Proof of concept</strong>: In my opinion, the third and fifth (and probably the fourth) screens of the S-Class interface present an absolutely lack of usability. It would be great that anyone with more actionscript knowledge would disable them in a more stylish way, changing the images of the white dots that mark the cube face index somehow. Here I have two tests. I just modify a couple of lines in the action script code in the file idle_manager.swf.</p>
<p>At the beggining of the action script frame, you&#8217;ll find:<br />
<code>var MAIN_STATE_NONE = -1;<br />
var MAIN_STATE_TODAY = 0;<br />
var MAIN_STATE_WIDGET = 1;<br />
var MAIN_STATE_MMIDLE = 2;<br />
var MAIN_STATE_HELLO = 3;<br />
var MAIN_STATE_SHORTCUT = 4;<br />
var TOTAL_CNT_IDLE = 5;</code></p>
<p>To enable only the two first screens, would be enough to modify the total screen counter (which later in the code is used with a module operator (%) to change from state to state)  this way:</p>
<p><code>var TOTAL_CNT_IDLE = 2;</code></p>
<p>Enable 3 screens selectively is easy just reordering the indexes of each state, and modifying the total counter. For example, if we want to enable only the first, second, and fourth screens (today, widgets, and favourite contacts) we could modify the code this way:</p>
<p><code>var MAIN_STATE_NONE = -1;<br />
var MAIN_STATE_TODAY = 0;<br />
var MAIN_STATE_WIDGET = 1;<br />
var MAIN_STATE_MMIDLE = 3;<br />
var MAIN_STATE_HELLO = 2;<br />
var MAIN_STATE_SHORTCUT = 4;<br />
var TOTAL_CNT_IDLE = 3;</code></p>
<p>The two modified files are <a href="http://somemorebytes.com/wp/wp-content/uploads/2010/07/idle_manager2Screens.swf" target="_blank">here</a> and <a href="http://somemorebytes.com/wp/wp-content/uploads/2010/07/idle_manager3screens.swf" target="_blank">here</a>. Just rename them to idle_manager.swf and copy it to your Sd card, and from there to the My Device\Windows directory using Total Comander.</p>
<p>Both files are  just tests. Maybe someone finds interesting to play with those files and make a more usable S-Class interface.</p>
<p>Some information extracted from <a href="http://www.clublgmobile.com" target="_blank">clublgmobile</a> and <a href="http://forum.xda-developers.com" target="_blank">xda-devs</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/07/hacking-a-lg-gm750-layla/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Medion Akoya / Msi Wind OsX Snow Leopard 10.6.4 Update</title>
		<link>http://somemorebytes.com/wp/index.php/2010/07/medion-akoya-msi-wind-osx-snow-leopard-10-6-4-update/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/07/medion-akoya-msi-wind-osx-snow-leopard-10-6-4-update/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 13:07:16 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[OsX]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=511</guid>
		<description><![CDATA[Well, actually this is not a post about how to update your netbook. It&#8217;s more about how to recover from a reboot when you shouldn&#8217;t have rebooted. Instructions to update  are pretty clear in this post. However, avoid a reboot is not so simple as it seems. Every tutorial to update to 10.6.4 starts saying [...]]]></description>
			<content:encoded><![CDATA[<p>Well, actually this is not a post about how to update your netbook. It&#8217;s more about how to recover from a reboot when you shouldn&#8217;t have rebooted.</p>
<p>Instructions to update  are pretty clear in <a href="http://insanelywind.com/forum/viewtopic.php?f=11&amp;t=3225" target="_blank">this post</a>. However, avoid a reboot is not so simple as it seems. Every tutorial to update to 10.6.4 starts saying &#8220;Install 10.6.4 update, an before reboot&#8230;&#8221;. My problem is that I did it through the software updates, and it installed the actual update WHILE rebooting, so once installed and automatically rebooted, you&#8217;re sold.  Probably with the combo update you are more lucky.<br />
<span id="more-511"></span><br />
So basically, what you should do is:</p>
<ul>
<li>Install 10.6.4 update.</li>
<li>Without reboot you&#8217;ll need to change some boot files on your efi partition as well as patch DSDT if you didn&#8217;t in previous updates. You can forget about the sleepenabler kext there found as you will be using the native power management kexts (see the links above).
</li>
</ul>
<p>Now you installed the update, and your computer rebooted, and Snow Leopard won&#8217;t start. How do you complete the process??</p>
<p>You need your USB Key/USB Hard drive you used to make the vanilla install. Remember?</p>
<ul>
<li>Connect your drive to you netbook, and reboot. Select the USB device as boot device in you BIOS/Start menu. Chameleon will start. If you select your main hard drive to boot from chameleon, it will not work. ou have to boot from the Install DVD image partitio that you made.</li>
<li>Once the installation starts, go to the upper menu and open a Terminal from Utilities menu.</li>
<li>The main hard drive (the partition where you installed Snow Leopard) should be already mounted by now at /Volumes/hackintosh (or whatever you named your partition).</li>
</li>
<p>To change the EFI partition boot file, you can manually mount the EFI partition in /Volumes and just copy it over, assuming you have the boot file somewhere. However, if you need to mess around with the kexts, patch the DSDT and rebuild the cache like I had to,  the safest way is to chroot the the new disk and do it using the typical update scripts.</p>
<p><code>chroot /Volumes/hackintosh</code>
</li>
<li>From here, the process is as always. Go to your Vanilla folder. To patch DSDT copy the DSDT.aml file and run the update.sh script.  -Run the 27ae.sh script to patch video kexts.</li>
<li>To change the kexts, remove sleepenabler, add the new ones and run update.sh to copy them and rebuild the kext cache. (follow the instructions to modify the SMSBIOS in the linked post).</li>
</ul>
<p>Now reboot, and you should be ready to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/07/medion-akoya-msi-wind-osx-snow-leopard-10-6-4-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard and Virtualbox under Linux&#8230;</title>
		<link>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:01:27 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OsX]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[iphone sdk]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=540</guid>
		<description><![CDATA[Install Snow Leopard under Linux Virtualbox to use the Iphone SDK.]]></description>
			<content:encoded><![CDATA[<h3>Or &#8220;How to develop for the iPhone under linux&#8221;.</h3>
<p>If you have been looking for imformation about virtualizing LEopard or Snow Leopard, you&#8217;ll probably stumble upon this <a href="http://www.insanelymac.com/forum/index.php?showtopic=207334" target="_blank">two</a> <a href="http://www.taranfx.com/install-snow-leopard-virtualbox" target="_blank">sites</a>, which contain most of the useful information. However, when it comes to Snow Leopard, information is spread across hundreds of posts, and most of it is for MS Windows only.</p>
<p>There&#8217;s another attempt using empire-efi <a href="http://forums.virtualbox.org/viewtopic.php?f=4&amp;t=2076&amp;start=270#p126761" target="_blank">here</a>, which didn&#8217;t worked for me.</p>
<p>I just wrote a guide myself about how to get Snow Leopard working under Ubuntu 9.10 and Virtualbox 3.1.6r59338 and I was about to post it. However, I found another guide, for windows, which will work flawlessly under Linux with some minor tweaks, and has step-by-step screenshots, so I guess there&#8217;s no need to duplicate the content there.</p>
<p>Here&#8217;s exactly what I did to get things working:<br />
<span id="more-540"></span><br />
First you need, a Leopard OsX86 working virtualbox machine. To get Leopard working, download any OsX86 distro and install it following <a href="http://www.takwing.idv.hk/tech/virtual/virutal_leopard/index.html" target="_blank">this guide</a>. I used iDeneb 1.6 and worked fine.</p>
<p>You DO NOT need to patch the VirtualBox files in order to get Leopard working, so just create the VM without applying any patch.</p>
<p>The only difference you&#8217;ll find is that under Linux, the required file to edit will be(assuming you named the virtual machine LeoVM) :<br />
<code>/home/your_user_name/.Virtualbox/Machines/LeoVM/LeoVM.xml</code></p>
<p>Then, there you can add the required line:</p>
<p><code>&lt;ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/&gt;</code></p>
<p>The Leopard installation should go without a problem, and boot fine. Everything you need to know is on the guide I linked before.</p>
<p>Now the tricky part. Install Snow Leopard.</p>
<p>You should use <a href="http://www.takwing.idv.hk/tech/virtual/virtual_snowl/index.html" target="_blank">this guide</a>. It is really detailed and easy to follow. I used a retail SnowLeopard 10.6.3 image, and worked perfect for me. However, since the guide is for windows, you&#8217;ll need to take into account the following changes:</p>
<p>When you create the machine for Snow Leopard (page 13 of the guide), you need to edit the file (assuming you named the VM SnowLeoVM) :</p>
<p><code>/home/your_user_name/.Virtualbox/Machines/SnowLeoVM/SnowLeoVM.xml</code></p>
<p>and add ONLY the following lines:</p>
<p><code>&lt;ExtraDataItem name="VBoxInternal2/Devices/e1000f/0/Trusted" value="integer:1"/&gt;<br />
&lt;ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/&gt;</code></p>
<p>Now we need to patch the Virtual Machine files. The thing is that we need support for SS3 instructions, and ACPI v.14 which is not supported by default in Virtualbox 3.1.x. If you&#8217;re using the OSE edition, you can patch the source and recompile the whole thing. However, if you&#8217;re using the standard edition, you&#8217;ll need to binary-patch the files.</p>
<p>You can find more information about the patches in the comments section in this <a href="http://www.taranfx.com/install-snow-leopard-virtualbox" target="_blank">post</a>. SOME of the info is not correct, and some other is incomplete, so be careful and read everything before doing any patch. I am using the GHex to patch them.</p>
<p>The files to patch are:<br />
<code>/usr/lib/virtualbox/VBoxDD2.so<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxDD2GC.gc<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxDD2R0.r0<br />
Every occurence of : 11 00 05 00<br />
Changed for : 14 00 05 00<br />
</code><br />
<code>/usr/lib/virtualbox/VBoxVMM.so<br />
Every occurence of: 04 C5 01 00 00 00 31 C9<br />
Changed for: 04 C5 01 02 00 00 31 C9<br />
</code></p>
<p>I am providing the files for <strong>VirtualBox 3.1.6.r59338</strong> <a href="http://somemorebytes.com/wp/wp-content/uploads/2010/06/vb3.1.6_x86_64_patch.tar.gz" target="_blank">HERE</a>. Just run the patch or unpatch scripts to do the job, or open them to take a look at the files that will be copied and do it manually.</p>
<p>And that&#8217;s it.  You should have a Snow Leopard VM working fine. In the guide I provided you have explained how to solve the video resolution problem, which is pretty straightforward.</p>
<p>The network works fine, but you need to set up the static ip address for the interface, and connect/disconnect cable from the Virtualbox menu to get it working. The rest works fine. Of course it will not fly, but it is enough to try the iphone SDK under linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/06/snow-leopard-and-virtualbox-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anatomy of a Null derreference in the Kernel (Linux)</title>
		<link>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 11:41:12 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[derreference]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[pointer]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=515</guid>
		<description><![CDATA[Anatomy of a Null derreference in the Kernel (Linux)]]></description>
			<content:encoded><![CDATA[<p>This week KSplice published in his blog the second part of a interesting article, explaining the effect of a dangerus NULL derreference in the Linux Kernel. In the last year many of those holes were fixed in the kernel, so finding a true exploit wouldn&#8217;t be easy. It is still nice to understand how this kind of exploit works.</p>
<p>Here the <a href="http://blog.ksplice.com/2010/03/null-pointers-part-i/" target="_blank">first </a>and <a href="http://blog.ksplice.com/2010/04/exploiting-kernel-null-dereferences/" target="_blank">second </a>parts of the article.</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/04/anatomy-of-a-null-derreference-in-the-kernel-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 + Eclipse + Subclipse = JavaHL problems?</title>
		<link>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 18:40:25 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javahl]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=508</guid>
		<description><![CDATA[Fixing javaHL missing libraries]]></description>
			<content:encoded><![CDATA[<p>Are you experiencing problems with the Subclipse plugin for eclipse? Well, I am too. The solution however, is pretty straighforward.</p>
<p>I&#8217;m using  a custom eclipse installation. The ubuntu repositories package is too old, so I always update my eclipse installation from the eclipse <a href="http://eclipse.org" target="_blank">website</a>. I install it to /opt/eclipse. If you&#8217;re using the default installation package, just look for yor install forlder, probably somewhere near /usr/share.</p>
<p>Now, I assume you installed the subclipse plugin, a nice SVN client. This client uses JavaHL libraries to communicate to the svn program istelf, and  unfortunately, this libraries installation is up to you. If you do not have them, subclipse will complain about missing libraries each time you need to do somthing svn-related. So, to fix if:</p>
<ol>
<li>Install the javaHL libraries:<br />
<code>sudo apt-get install libsvn-java</code></li>
<li>Tell eclipse where to look for them. Edit the file /opt/eclipse/eclipse.ini (or /your-eclipse-path/eclipse.ini), and locate the line:<br />
<code>-vmargs</code><br />
Now just below this line, add the following one:<br />
<code>-Djava.library.path=/usr/lib/jni</code></li>
<li>Happy coding!.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/04/ubuntu-9-10-eclipse-subclipse-javahl-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>13 great software devs quotes</title>
		<link>http://somemorebytes.com/wp/index.php/2010/04/13-great-software-devs-quotes/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/04/13-great-software-devs-quotes/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 23:52:43 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Software Dev]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=467</guid>
		<description><![CDATA[13 great software devs quotes]]></description>
			<content:encoded><![CDATA[<p>Browsing around I came across <a href="http://paultiseo.wordpress.com/2009/02/18/top-13-funny-software-development-quotes/" target="_blank">this post</a> and loved it. This deserves as many copy-paste backups as possible, so here is one more:</p>
<ul>
<li>“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill</li>
<li>“In order to understand recursion, one must first understand recursion.” – Author Unknown</li>
<li>“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.” – Bjarne Stroustrup</li>
<li>“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila.” – Mitch Ratcliffe</li>
<li>“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -C.A.R. Hoare</li>
<li>“The gap between theory and practice is not as wide in theory as it is in practice.” – Author Unknown</li>
<li>“If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.” – Gerald Weinberg</li>
<li>“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” – Edsger Dijkstra</li>
<li>“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.” – Bill Gates</li>
<li>“Nine people can’t make a baby in a month.” – Fred Brooks</li>
<li>“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” – Rich Cook</li>
<li>“There are two major products that come out of Berkeley: LSD and UNIX. We don’t believe this to be a coincidence.” – Jeremy S. Anderson</li>
<li>“Before software can be reusable it first has to be usable.” – Ralph Johnson</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/04/13-great-software-devs-quotes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Bubbles</title>
		<link>http://somemorebytes.com/wp/index.php/2010/03/code-bubbles/</link>
		<comments>http://somemorebytes.com/wp/index.php/2010/03/code-bubbles/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 18:23:29 +0000</pubDate>
		<dc:creator>somemorebytes</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Code Bubbles]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Paper]]></category>

		<guid isPermaLink="false">http://somemorebytes.com/wp/?p=273</guid>
		<description><![CDATA[Rethinking IDE interface paradigm.]]></description>
			<content:encoded><![CDATA[<p>People at Brown University have made some thought about redisigning the paradigm of modern IDEs. They came up with an interesting idea called Code Bubbles.</p>
<p>You can see Code Bubbles in action <a href="http://www.cs.brown.edu/people/acb/codebubbles_site.htm" target="_blank">here</a>. I think it&#8217;s an interesting approach, but I&#8217;m not sure how will this system behave while debuggin complex code. Maybe the cursor starts to move all over the virtual space&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://somemorebytes.com/wp/index.php/2010/03/code-bubbles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  somemorebytes.com/wp/index.php/feed/ ) in 0.58367 seconds, on Sep 5th, 2010 at 3:07 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Sep 5th, 2010 at 4:07 pm UTC -->