Home | History | Annotate | Download | only in porting

Lines Matching full:code

1 page.title=Getting Source Code
14 <a href="#androidSourceSetupGetCode">Downloading Code</a><br/>
39 <p>Each developer must have a unique RSA key in order to access Android source code. To generate an RSA key: </p>
45 <li>When prompted, indicate the file to which you wish to write your key (<code>id_rsa</code> in this example).</li>
49 <li><code>id_rsa</code>: This file contains the private half of your RSA key. You shouldn't share this file with anyone. </li>
50 <li><code>id_rsa.pub</code>: This is the public half or your RSA key and you should send it to your Google technical account manager.</li>
74 <code>fatal: What do you think I am? A shell?<BR>
75 Connection to android-git closed.</code>
89 <code>
92 </code></td>
97 <a name="androidSourceSetupGetCode"></a><h2>Downloading Code</h2>
99 <p>Android source code is maintained in two repositories: <code>device</code> and <code>kernel</code>. The <code>device</code> repository includes the Android framework (things like the Activity Manager, Window Manager, Telephony Manager, View System, etc.). The <code>kernel</code> repository includes the core code necessary to run the operating system (things like the Display Driver, Camera Driver, Keypad Driver, Power Management, etc.). (Please see <a href="http://code.google.com/android/what-is-android.html">What is Android?</a> for details.)</p>
101 <p>Save device and kernel code at the same directory level, for example:</p>
103 <ul><li><code>/home/joe/android/device</code></li>
104 <li><code>/home/joe/android/kernel</code></li>
106 <p><b>Device Code</b></p>
107 <p>To download device code, you need your username and a unique <code>&lt;path&gt;</code> string supplied by Google to execute the following:</p>
112 <p><b>Kernel Code</b></p>
113 <p>To download kernel code, you need your username and a unique <code>&lt;path&gt;</code> string supplied by Google to execute the following:</p>
124 <li>Download a generic version of the Linux kernel that matches the Linux version downloaded with the Android Kernel code.</li>
125 <li>Run <code>diff</code> on the two kernel packages to get Android-specific changes.</li>