DeprecatedBuildAndroid » History » Version 20
Denis 'GNUtoo' Carikli, 09/29/2009 08:36 PM
| 1 | 16 | Denis 'GNUtoo' Carikli | Edit: |
|---|---|---|---|
| 2 | We have now a temporary git repository at gitorious: |
||
| 3 | http://gitorious.org/replicant |
||
| 4 | |||
| 5 | 18 | Denis 'GNUtoo' Carikli | == Before starting == |
| 6 | 8 | Denis 'GNUtoo' Carikli | * root your phone |
| 7 | 1 | Denis 'GNUtoo' Carikli | * Backup your current system!!! |
| 8 | 18 | Denis 'GNUtoo' Carikli | |
| 9 | == Build system == |
||
| 10 | Let's say that our build directory is ~/replicant |
||
| 11 | |||
| 12 | Check out the Dream Android repository : |
||
| 13 | 15 | Aaron Williamson - | {{{ |
| 14 | 20 | Denis 'GNUtoo' Carikli | mkdir bin |
| 15 | cd bin |
||
| 16 | curl http://android.git.kernel.org/repo >~/bin/repo |
||
| 17 | chmod a+x repo |
||
| 18 | cd .. |
||
| 19 | 1 | Denis 'GNUtoo' Carikli | mkdir replicant |
| 20 | cd replicant |
||
| 21 | 20 | Denis 'GNUtoo' Carikli | ../bin/repo init -u git://gitorious.org/replicant/manifest.git |
| 22 | ../bin/repo sync |
||
| 23 | 1 | Denis 'GNUtoo' Carikli | }}} |
| 24 | 15 | Aaron Williamson - | |
| 25 | 5 | Denis 'GNUtoo' Carikli | Build process: |
| 26 | 18 | Denis 'GNUtoo' Carikli | |
| 27 | 5 | Denis 'GNUtoo' Carikli | * Add that file: |
| 28 | {{{ |
||
| 29 | TARGET_PRODUCT := htc_dream |
||
| 30 | }}} |
||
| 31 | To ~/replicant/buildspec.mk |
||
| 32 | * Then type |
||
| 33 | {{{ |
||
| 34 | cd ~/replicant |
||
| 35 | export ANDROID_JAVA_HOME=$JAVA_HOME |
||
| 36 | make |
||
| 37 | }}} |
||
| 38 | 1 | Denis 'GNUtoo' Carikli | * The files to flash are in ~/replicant/out/target/product/dream,flash them and then clear the cache |
| 39 | * boot and push the wifi firmware if you want it |
||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | == Status == |
||
| 45 | 18 | Denis 'GNUtoo' Carikli | * ril works more or less: |
| 46 | 19 | Denis 'GNUtoo' Carikli | * * calls should work(in/out) |
| 47 | * * sms should work(in/out) |
||
| 48 | * * hearphones not supported |
||
| 49 | 18 | Denis 'GNUtoo' Carikli | |
| 50 | * sound works even with headphones(beware calls's sound don't work with headphones) |