Noisedroid/Hacking: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:


== Building ==
== Building ==
Building a system image documented pretty clearly on [http://source.android.com]
Building a system image is documented pretty clearly on [http://source.android.com source.android.com]:
* [http://source.android.com/download#Building-the-code Building the code]
* [http://source.android.com/download#Building-the-code Building the code]
* [http://source.android.com/using-eclipse Using Eclipse to Develop the Platform]
* [http://source.android.com/using-eclipse Using Eclipse to Develop the Platform]
* [http://source.android.com/documentation/building-for-dream Building for Dream]
* [http://source.android.com/documentation/building-for-dream Building for Dream]


When "Building for Dream," make sure to update the provided local_manifest with the following line, instead of the default (2.6.25)
When "Building for Dream," make sure to update the provided local_manifest with the following line, instead of the default (2.6.25):
  <project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-2.6.27"/>
  <project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-2.6.27"/>


Line 20: Line 20:
* [http://www.htc.com/www/support/android/adp.html Flashing original ADP image]
* [http://www.htc.com/www/support/android/adp.html Flashing original ADP image]


== Flashing a custom image
== Flashing a custom image ==
Use fastboot like so:
Use fastboot like so:
  ./fastboot flash system path/to/system.img
  ./fastboot flash system path/to/system.img


[[Category:Cellular]]
[[Category:Cellular]]

Revision as of 22:32, 15 March 2009

Code

  • There is an Android build-environment on pony in /d3/android/ . Clone your own copy - it's all git-based!

Resources

Building

Building a system image is documented pretty clearly on source.android.com:

When "Building for Dream," make sure to update the provided local_manifest with the following line, instead of the default (2.6.25):

<project path="kernel" name="kernel/msm" revision="refs/heads/android-msm-2.6.27"/>

Flashing

Flashing a custom image

Use fastboot like so:

./fastboot flash system path/to/system.img