<?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>Nienhouse &#187; backup</title>
	<atom:link href="http://tan-com.com/blog/posts/tag/backup/feed" rel="self" type="application/rss+xml" />
	<link>http://tan-com.com/blog</link>
	<description>Tyler Nienhouse&#039;s Blog</description>
	<lastBuildDate>Thu, 02 Feb 2012 04:56:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Root and Backup on your Droid</title>
		<link>http://tan-com.com/blog/posts/technology/how-to-root-and-backup-on-your-droid</link>
		<comments>http://tan-com.com/blog/posts/technology/how-to-root-and-backup-on-your-droid#comments</comments>
		<pubDate>Tue, 29 Dec 2009 08:45:08 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Motorola]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[Sholes]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Verizon]]></category>

		<guid isPermaLink="false">http://tan-com.com/?p=605</guid>
		<description><![CDATA[*Both Rooting and setting up the backup are potentially hazardous to your  Droid. You are responsible for everything that happens to your phone while following this tutorial, NOT ME. If you have problems while doing this, I may be able to help you if you email me at tyler@tan-com.com or PM me on Freenode IRC [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-628 alignleft" title="Droid" src="http://tan-com.com/blog/wp-content/uploads/2009/12/doid-300x239.jpg" alt="The Motorola Droid" width="300" height="239" /></p>
<p><span style="color: #800000;">*Both Rooting and setting up the backup are potentially hazardous to your  Droid. You are responsible for everything that happens to your phone while following this tutorial, NOT ME. If you have problems while doing this, I may be able to help you if you email me at tyler@tan-com.com or PM me on Freenode IRC network (nick: Flakeparadigm). ONLY continue if you are confident in what you are doing. -Continue at your own risk-*</span></p>
<p>(EDIT 01/08/2010: I will keep this tutorial updated with the latest version if SPRecovery. Rooting for different versions of Android will be in a separate post.)<br />
(Edit 04/05/2010: No longer wil I update the version on this server. Use DroidMod Updater from droidmod.com)</p>
<p>After having a bit of a hard time doing this myself, I figured I&#8217;d write up a post on how I ended up doing this so that it would be easier for everyone else.<br />
<span id="more-605"></span></p>
<p><strong>Rooting the Droid</strong></p>
<blockquote><p>To get root on the Verizon Droid, first download <em><a title="droid-root.zip" href="http://www.michaelpurcell.info/droid-root.zip">droid-root.zip</a><span style="font-style: normal;"> and copy it to your SD card as </span>update.zip</em> and follow the steps below.</p>
<ul>
<li>Reboot your phone.</li>
<li>Press <em>x</em> on the hardware keyboard while booting until you see the white Motorola logo, then release.</li>
<li>Press <em>Volume Up </em>+ <em>Camera</em> when you see a picture of an exclamation point and a phone.</li>
<li>Navigate through the menu using the arrows on the hardware keyboard (portrait mode) to <em>Apply sdcard update</em>.</li>
<li>Apply the update and reboot.</li>
<li>You now have root.</li>
</ul>
<p>This is not a traditional Android “rooting”, root access is presently only available through the <em>adb</em> shell. Install the <em>Android Debug Bridge</em> to your PC and enable USB debugging in your phone by going to <em>Settings -&gt; Applications -&gt; Development</em> and selecting <em>USB debugging</em>. In your systems shell (or command prompt for windows) type <em>adb shell</em> (assuming your paths are correct setup) and you will be connected to your Verizon Droid. Type <em>su</em> and you are root. Be very careful with this as you can do damage to your phone when in a root shell.</p>
<p>It should now only be a matter of time before a custom firmware is available for the Motorola Sholes. <strong>Do not flash any other firmware updates as this may patch the vulnerability used by droid-root.zip</strong>.</p>
<address><a title="Dereferencing zero" href="http://www.michaelpurcell.info/2009/12/08/motorola-droid-rooted/">From Michael&#8217;s &#8220;Dereferencing zero&#8221; blog.</a></address>
</blockquote>
<p><strong>Backing up your ROM</strong></p>
<p>*This tutorial requires the Android SDK which can be downloaded from here: http://developer.android.com/sdk/index.html*</p>
<p>Download these three files and place them in the tools folder of the SDK:</p>
<ul>
<li><a title="flash_image" href="http://tan-com.com/blog/wp-content/uploads/2009/12/flash_image">http://tan-com.com/blog/wp-content/uploads/2009/12/flash_image</a></li>
<li><a title="ramdisk_extras.tar" href="http://tan-com.com/blog/wp-content/uploads/2009/12/ramdisk_extras.tar">http://tan-com.com/blog/wp-content/uploads/2009/12/ramdisk_extras.tar</a></li>
<li><a title="recovery-0.99.2b.img" href="http://tan-com.com/blog/wp-content/uploads/2009/12/recovery-0.99.2b.img">http://tan-com.com/blog/wp-content/uploads/2009/12/recovery-0.99.2b.img</a></li>
</ul>
<p>Open up a terminal/command prompt and navigate to the tools folder of the SDK (Example, in Linux &#8220;cd ~/android-sdk-linux_86/tools&#8221; if you extracted the SDK to your home directory). Now move the downloaded files to the phone using these commands:</p>
<blockquote><p>./adb push recovery-0.99.2b.img /sdcard/<br />
./adb push ramdisk_extras.tar /sdcard/<br />
./adb push flash_image /sdcard/</p></blockquote>
<p>Then, move the flash_image binary from the sdcard into /data/local:</p>
<blockquote><p>./adb shell<br />
su<br />
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system<br />
mkdir /system/xbin<br />
dd if=/sdcard/flash_image of=/system/xbin/flash_image<br />
chmod 755 /system/xbin/flash_image<br />
rm /sdcard/flash_image</p></blockquote>
<p>Now it’s time to flash the image to the recovery partition:</p>
<blockquote><p>/system/xbin/flash_image recovery /sdcard/recovery-0.99.2b.img</p></blockquote>
<p>Now, if you want to keep this recovery image installed, you must follow a few extra steps, as Android normally generates and reflashes the recovery image based on the boot image every time you turn on the phone.  To change this, run:</p>
<blockquote><p>mount -o remount,rw /dev/null /system<br />
mv /system/recovery-from-boot.p /system/recovery-from-boot.p.bak<br />
mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak</p></blockquote>
<p>Now, you can reboot your phone into recovery mode.  You have two options: either turn off the phone normally, then hold the ‘x’ button while turning it back on, releasing it only after the Motorola logo appears, or using ADB to reboot the phone (make sure you have exited out of the shell first. Running the &#8220;exit&#8221; command twice will work):</p>
<blockquote><p>./adb reboot recovery</p></blockquote>
<p>If the image was not flashed correctly, you will see an icon that looks like “/!\” (you will have to fix this problem by your own means). However, if the image was flashed correctly, you will see a golden Android logo with a few options in blue near the top of the screen.</p>
<p>To backup, use the D-pad to navigate the selection down to “backup/restore” and press the center button to select it. Then navigate to and select “Simple Nandroid backup” and let Nandroid do the work.</p>
<p>To restore, use the D-pad to navigate the selection down to “backup/restore” and press the center button to select it. Then navigate to and select “Simple Nandroid restore” and let Nandroid do the work.</p>
<p>Once everything is done, use the Power button as a back button to get to the main menu and reboot the device using the menu option. The device will then boot up normally.</p>
<p>The recovery tutorial was created with the help of my friend Scott.</p>
]]></content:encoded>
			<wfw:commentRss>http://tan-com.com/blog/posts/technology/how-to-root-and-backup-on-your-droid/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

