<?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>Sysadmin Ramblings &#187; droid</title>
	<atom:link href="http://ramblings.narrabilis.com/wp/category/linux/droid/feed/" rel="self" type="application/rss+xml" />
	<link>http://ramblings.narrabilis.com/wp</link>
	<description>Scripts, settings, and fixes...</description>
	<lastBuildDate>Thu, 29 Jul 2010 13:29:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>rooting the droid (Motorola A855) rooted</title>
		<link>http://ramblings.narrabilis.com/wp/rooting-the-droid/</link>
		<comments>http://ramblings.narrabilis.com/wp/rooting-the-droid/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 15:56:40 +0000</pubDate>
		<dc:creator>uphill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[droid]]></category>

		<guid isPermaLink="false">http://ramblings.narrabilis.com/wp/?p=253</guid>
		<description><![CDATA[This is my first android phone, so I thought I&#8217;d share my experience of rooting the phone.
All credit to Zinx Verituse over on Alldroid.org

Note: I just updated to the update released December 10th for the droid and was able to reapply the update.zip.

The instructions are here


Download this file and rename it update.zip on the sdcard.
turn [...]]]></description>
			<content:encoded><![CDATA[This is my first android phone, so I thought I&#8217;d share my experience of rooting the phone.
<b>All credit to Zinx Verituse over on Alldroid.org</b>
<p>
Note: I just updated to the update released December 10th for the droid and was able to reapply the update.zip.
<p>
The instructions are <a href="http://phandroid.com/2009/12/08/motorola-droid-rooted/">here</a>
<p>
<ul>
<li>Download this <a href="/droid/update.zip">file</a> and rename it update.zip on the sdcard.
<li>turn off the phone
<li>turn on the phone holding down the x key on the keyboard
<li>When you see the Motorola symbol, press Vol+ and Camera buttons together.
<li>An onscreen menu will appear, use the d-pad to navigate to update.zip and type return to apply
<li>After the phone reboots, Go to Settings -> Applications -> Development and enable USB Debugging
<li>Connect the droid to your desktop, download the <a href="http://developer.android.com/sdk/index.html">sdk</a>
<li>unpack the sdk and navigate to tools directory
<li>as root/administrator run <tt>adb start-server</tt>
<li>next run <tt>adb shell</tt>
<li>su to root <tt>/system/bin/su</tt>
<li>remount the root filesystem rw
<blockquote><code><br />
# mount<br />
rootfs / rootfs ro 0 0<br />
tmpfs /dev tmpfs rw,mode=755 0 0<br />
devpts /dev/pts devpts rw,mode=600 0 0<br />
proc /proc proc rw 0 0<br />
sysfs /sys sysfs rw 0 0<br />
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0<br />
none /dev/cpuctl cgroup rw,cpu 0 0<br />
/dev/block/mtdblock4 /system yaffs2 ro 0 0<br />
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev 0 0<br />
/dev/block/mtdblock5 /cache yaffs2 rw,nosuid,nodev 0 0<br />
/dev/block/mtdblock0 /config yaffs2 ro 0 0<br />
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0<br />
# mount -o remount -o rw -t yaffs2 /dev/block/mtdblock4 /system<br />
</code></blockquote>
I don&#8217;t know if the device will always be the same (/dev/block/mtdblock4), best to check first.
<li>now make a copy of sh and call it su-something or replace su
<blockquote><code><br />
# cd /system/bin<br />
# cat sh &gt; su<br />
or<br />
# cat sh &gt;su-fake<br />
# chmod 4775 su<br />
or<br />
# chmod 4775 su-fake<br />
# exit<br />
</code></blockquote>
</ul>
You now have either su or su-fake that you can run from terminal emulator on the phone and become root.  To start using your new privileges, install <a href="/droid/busybox.zip">busybox</a> and symlink to it for all the tools that are missing&#8230;]]></content:encoded>
			<wfw:commentRss>http://ramblings.narrabilis.com/wp/rooting-the-droid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
