<?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>Droid Hacks &#187; hacks</title>
	<atom:link href="http://droidhacks.com/tag/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://droidhacks.com</link>
	<description>Tips and Tricks for Android Users</description>
	<lastBuildDate>Fri, 27 Aug 2010 18:44:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Pirate Boot Logo</title>
		<link>http://droidhacks.com/2010/07/pirate-boot-logo/</link>
		<comments>http://droidhacks.com/2010/07/pirate-boot-logo/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 19:23:52 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[nexusone]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=137</guid>
		<description><![CDATA[Every proper hacked device needs to boot up with a pirate theme. Fortunately the boot animation is trivial to replace on a Nexus one. I&#8217;m currently running CyanogenMod6, but I believe this will work other places. I replaced the boot animation with just a single image of a skull and crossed swords: There&#8217;s plenty of]]></description>
			<content:encoded><![CDATA[<p>Every proper hacked device needs to boot up with a pirate theme. Fortunately the boot animation is trivial to replace on a Nexus one. I&#8217;m currently running CyanogenMod6, but I believe this will work other places. I replaced the boot animation with just a single image of a skull and crossed swords:</p>
<p><a href="http://droidhacks.com/2010/07/pirate-boot-logo/boot_00003/" rel="attachment wp-att-138"><img src="http://droidhacks.com/wp-content/uploads/2010/07/boot_00003.png" alt="" title="Pirate boot logo" width="256" height="512" class="aligncenter size-full wp-image-138" /></a></p>
<p>There&#8217;s plenty of info out there about replacing the boot logo and what the files do. Here&#8217;s how to get it up and running through:</p>
<ol>
<li>Download the <a href="http://droidhacks.com/wp-content/uploads/2010/07/pirate_bootanimation.zip">pirate boot animation zip file</a> to your system</li>
<li>Remount the system partition read-write: adb shell mount -o rw,remount /dev/block/mtdblock3 /system</li>
<li>Push the file across to your device: adb push pirate_bootanimation.zip /system/media/bootanimation.zip</li>
</ol>
<p>That&#8217;s it, reboot and enjoy! If you want to poke around and change it, it should be pretty easy. There&#8217;s a <a href="http://www.droidforums.net/forum/droid-hacks/33932-bootanimation-zip-file-explained.html">writeup of what the contents of the bootanimation.zip are</a>, which is very useful. Supposedly, also, the zip needs to be uncompressed to work. But that just means setting compression level to 0 when you run zip. This is the command I use on my OS X machine: zip -0 pirate_bootanimation.zip desc.txt part0/boot_00003.png&#8221;. That should make it easy to swap in any other picture to customize.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/pirate-boot-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commodore 64 Emulation</title>
		<link>http://droidhacks.com/2010/07/commodore-64-emulation/</link>
		<comments>http://droidhacks.com/2010/07/commodore-64-emulation/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 08:43:10 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=134</guid>
		<description><![CDATA[I was happy to see there&#8217;s a Commodore 64 emulator in the Marketplace for Android, the Frodo emulator. I played around with a bit, but what I really wanted to do was hack around a bit with some old school basic. This is one of the computers I grew up with, and I get nostalgic]]></description>
			<content:encoded><![CDATA[<p>I was happy to see there&#8217;s a Commodore 64 emulator in the Marketplace for Android, the Frodo emulator. I played around with a bit, but what I really wanted to do was hack around a bit with some old school basic. This is one of the computers I grew up with, and I get nostalgic for the old days every once in a while. However, I was having a really hard time figuring out how to get the version of Frodo under Android to create a new disk for me to save stuff to. If you can&#8217;t save the stuff you&#8217;re playing with what&#8217;s the use? I could save out the whole state, but I figured there had to be a better way.</p>
<p>So I downloaded a version of <a href="http://www.viceteam.org/">VICE</a> for my desktop system. That has a much richer set of controls, one of which is creating and attaching a fresh image (it&#8217;s a &#8216;file&#8217; menu item). I figured if I was lucky the image created with VICE would work to at least get me started on Frodo on my device. And lucky me, yes it does! Actually, now I can push the d64 images back and forth, use the emulator on my desktop to do a little poking around and push the file over to my device to take with me. Very nice! Just remember, save with replace is &#8216;SAVE &#8220;@0:FILENAME&#8221;,8&#8242;. Otherwise an attempt to overwrite a file will just silently fail. Ahhh, nostalgic.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/commodore-64-emulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshot on a Rooted Device</title>
		<link>http://droidhacks.com/2010/07/screenshot-on-a-rooted-device/</link>
		<comments>http://droidhacks.com/2010/07/screenshot-on-a-rooted-device/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 17:34:40 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[screenshot]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=86</guid>
		<description><![CDATA[In addition to capturing a screenshot with a computer using the Android SDK there&#8217;s also a screenshot application (available on the market, called simple &#8216;screenshot&#8217;, I&#8217;m not sure how to find out the package name to create a market link for it. It only works on rooted devices, but all of mine are. One nice]]></description>
			<content:encoded><![CDATA[<p>In addition to <a href="http://www.mobilecrunch.com/2008/10/31/how-to-capture-the-screen-of-an-android-device/">capturing a screenshot with a computer using the Android SDK</a> there&#8217;s also a screenshot application (available on the market, called simple &#8216;screenshot&#8217;, I&#8217;m not sure how to find out the package name to create a market link for it</a>. It only works on rooted devices, but all of mine are. One nice feature is the &#8220;shake to capture a screenshot&#8221; option. So that instead of having to keep hopping into the screenshot app to setup a shot, back to the app, wait, hop back to setup another time delayed shot, back to the app, etc. Just setup screenshot to capture when you shake and go through whatever set of screens you want.<a href="http://droidhacks.com/2010/07/screenshot-on-a-rooted-device/screenshot/" rel="attachment wp-att-88"><img src="http://droidhacks.com/wp-content/uploads/2010/07/screenshot.png" alt="" title="Screenshot App" width="240" height="400" class="aligncenter size-full wp-image-88" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/screenshot-on-a-rooted-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Graph Application</title>
		<link>http://droidhacks.com/2010/07/battery-graph-application/</link>
		<comments>http://droidhacks.com/2010/07/battery-graph-application/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 14:53:49 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[market]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=75</guid>
		<description><![CDATA[I&#8217;ve started using an app called Battery Graph (marketplace link) by Morgan H to try to monitor changes in my battery drain. It&#8217;s a background app that collects battery charge info over time and displays a graph on device. That makes it easy to spot major changes to discharge rate. Say if you install a]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started using an app called Battery Graph (<a href="market://search?q=pname:com.modroid.battery">marketplace link</a>) by Morgan H to try to monitor changes in my battery drain. It&#8217;s a background app that collects battery charge info over time and displays a graph on device. That makes it easy to spot major changes to discharge rate. Say if you install a new widget some time early afternoon, and later that evening you see the discharge rate increased some time after lunch, you know the widget is doing something heavy and impacting your total battery life.</p>
<p>In the menu area there&#8217;s even an option to export the set of data to CSV so you can suck it into a spreadsheet or use it to drive some of your own tools. Would be great actually if there was an option to record a list of running processes along with the battery status info, so that it could attempt to spot which processes are sucking up the most resource.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/battery-graph-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping Recovery Image After Reboot</title>
		<link>http://droidhacks.com/2010/07/keeping-recovery-image-after-reboot/</link>
		<comments>http://droidhacks.com/2010/07/keeping-recovery-image-after-reboot/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 20:33:38 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=72</guid>
		<description><![CDATA[I&#8217;ve been trying lots of custom images on my N1 and G1 recently. One minor annoyance was that after installing a custom recovery image like Amon Ra to flash different base images I seemed to revert back to the default recovery image after a reboot. It wasn&#8217;t too annoying cause I kept the recovery.img on]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying lots of custom images on my N1 and G1 recently. One minor annoyance was that after installing a custom recovery image like Amon Ra to flash different base images I seemed to revert back to the default recovery image after a reboot. It wasn&#8217;t too annoying cause I kept the recovery.img on my sdcard and just did a flash_image before rebooting whenever I wanted to apply updates. But still, annoying.</p>
<p>Then I ran across <a href="http://android-dls.com/wiki/index.php?title=Replace_Recovery_Partition">this description of replacing the recovery partition</a>, which explains that part of the boot process is writing the recovery.img from /system/recovery.img. That explains a lot! That page also describes how to replace the /system/recovery.img so that you keep your new recovery image after each boot. Ahh, now I have my full set of menu options whenever I hit recovery.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/keeping-recovery-image-after-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Unlock and Root a Nexus One</title>
		<link>http://droidhacks.com/2010/07/how-to-unlock-and-root-a-nexus-one/</link>
		<comments>http://droidhacks.com/2010/07/how-to-unlock-and-root-a-nexus-one/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 07:44:17 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=64</guid>
		<description><![CDATA[I have a Nexus One that I&#8217;ve been fooling around with. It normally doesn&#8217;t have a SIM in it, I&#8217;m just using it to fool around with. So I&#8217;ve muddled my way through installing Froyo on it manually and taking it through a few updates. Generally I&#8217;ve been brute forcing my way through the processes]]></description>
			<content:encoded><![CDATA[<p>I have a Nexus One that I&#8217;ve been fooling around with. It normally doesn&#8217;t have a SIM in it, I&#8217;m just using it to fool around with. So I&#8217;ve muddled my way through installing Froyo on it manually and taking it through a few updates. Generally I&#8217;ve been brute forcing my way through the processes based on following forum posting after forum posting.</p>
<p>Finally tonight I took some time to actually search around some and try to find &#8220;the right info&#8221; to get a rooted version of a custom firmware onto the device. The <a href="http://wiki.cyanogenmod.com/index.php/Main_Page">wiki area of the Cyanogenmod site</a> is definitely the right place to go. They have some &#8220;Full Update Guides&#8221; linked from the front page which walk through step by step the different processes you need to go through, including a <a href+'http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_Nexus_One_Firmware_to_CyanogenMod">process for installing a Cyanogenmod firmware starting from a stock Nexus One</a>. Exactly what I was looking for. It walks you through all the complementary processes too, like unlocking the bootloader and installing a recovery image.</p>
<p>I went with the stable Cyanogenmod release, so I&#8217;m slightly downgraded in terms of the Google release this bases off of. But there&#8217;s a bunch of capabilities in the new recovery image as well as root access to weigh that against&#8230; and right now root access is definitely winning.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/07/how-to-unlock-and-root-a-nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading Marketplace Info</title>
		<link>http://droidhacks.com/2010/06/downloading-marketplace-info/</link>
		<comments>http://droidhacks.com/2010/06/downloading-marketplace-info/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 10:31:18 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=60</guid>
		<description><![CDATA[One of the annoyances of the Android Marketplace (for developers at least) is that there&#8217;s no easy way to get the info to use in your own applications. Fortunately some folks have reverse engineered the protocol used by the marketplace app to create an open source project that queries the marketplace servers. I&#8217;ve been fooling]]></description>
			<content:encoded><![CDATA[<p>One of the annoyances of the Android Marketplace (for developers at least) is that there&#8217;s no easy way to get the info to use in your own applications. Fortunately some folks have reverse engineered the protocol used by the marketplace app to <a href="http://code.google.com/p/android-market-api/">create an open source project that queries the marketplace servers</a>. I&#8217;ve been fooling around with android-market-api, great project. I actually had issues with the latest latest code from the svn repo. But if I pull from the 0_3 tag I can compile my own programs that do things like run through the categories. Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/06/downloading-marketplace-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding Great Apps</title>
		<link>http://droidhacks.com/2010/05/finding-great-apps/</link>
		<comments>http://droidhacks.com/2010/05/finding-great-apps/#comments</comments>
		<pubDate>Thu, 06 May 2010 05:09:36 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[market]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[recommendation]]></category>
		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=53</guid>
		<description><![CDATA[Now that there are more than 50K apps in the market, there are a bunch of interesting services out there to help you find the best ones. Of course, some of the services are better than others. Here are a few of my favorites: http://www.appolicious.com/ &#8211; has an Android area http://appboy.com/ &#8211; includes Android apps]]></description>
			<content:encoded><![CDATA[<p>Now that there are more than 50K apps in the market, there are a bunch of interesting services out there to help you find the best ones. Of course, some of the services are better than others. Here are a few of my favorites:</p>
<ul>
<li><a href="http://www.appolicious.com/">http://www.appolicious.com/</a> &#8211; has an Android area</li>
<li><a href="http://appboy.com/">http://appboy.com/</a> &#8211; includes Android apps</li>
<li><a href="http://101bestandroidapps.com/">http://101bestandroidapps.com/</a> &#8211; good listing of apps</li>
<li><a href="http://getjar.com">http://getjar.com</a> &#8211; set your phone type to one of the Android handsets</li>
</ul>
<p>Other great places to find apps? Leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2010/05/finding-great-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Scripting Environment</title>
		<link>http://droidhacks.com/2009/06/android-scripting-environment/</link>
		<comments>http://droidhacks.com/2009/06/android-scripting-environment/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 02:39:39 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=49</guid>
		<description><![CDATA[Google has recently released a scripting environment for Android that allows you to write Python, Lua, or BeanShell scripts that interface with Android functionality. From the project page: Handle intents Start activities Make phone calls Send text messages Scan bar codes Poll location and sensor data Use text-to-speech]]></description>
			<content:encoded><![CDATA[<p>Google has recently released a <a href="http://code.google.com/p/android-scripting/">scripting environment for Android</a> that allows you to write Python, Lua, or BeanShell scripts that interface with Android functionality. From the project page:</p>
<ul>
<li>Handle intents</li>
<li>Start activities</li>
<li>Make phone calls</li>
<li>Send text messages</li>
<li>Scan <a rel="nofollow" href="http://code.google.com/p/zxing/">bar codes</a></li>
<li>Poll location and sensor data</li>
<li>Use <a rel="nofollow" href="http://code.google.com/p/eyes-free/">text-to-speech</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2009/06/android-scripting-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Network Traffic Using OS X</title>
		<link>http://droidhacks.com/2009/06/monitoring-network-traffic-using-os-x/</link>
		<comments>http://droidhacks.com/2009/06/monitoring-network-traffic-using-os-x/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 23:19:31 +0000</pubDate>
		<dc:creator>Lead Hacker</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://droidhacks.com/?p=45</guid>
		<description><![CDATA[Here&#8217;s a tip for monitoring network traffic from your Android phone using OS X. The same thing works for iPhone (or any other mobile device you can configure to use a wifi connection). I frequently use it to see how some bit of client/server interaction is done. Install Wireshark Follow the instructions in the readme]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a tip for monitoring network traffic from your Android phone using OS X. The same thing works for iPhone (or any other mobile device you can configure to use a wifi connection). I frequently use it to see how some bit of client/server interaction is done.</p>
<ul>
<li>Install <a href="http://www.wireshark.org/">Wireshark</a></li>
<li>Follow the instructions in the readme to also install the ChmodBPF script</li>
<li>Under Sharing area of the OS X settings app configure your system to use an ethernet connection and share it out to wifi clients</li>
<li>Now configure your device to connect to the wifi network provided by your system, test to make sure it works</li>
<li>Startup Wireshark and set it to capture traffic (wifi is en1 on MacBook Pro systems, what I normally use)</li>
</ul>
<p>And that&#8217;s it, you should now get quite readable dumps of what applications are doing to communicate. Lots of interesting things you can learn digging into how folks structure their client/server interaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://droidhacks.com/2009/06/monitoring-network-traffic-using-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
