DeprecatedBuildAndroid » History » Version 22
Denis 'GNUtoo' Carikli, 09/29/2009 08:39 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 | 22 | Denis 'GNUtoo' Carikli | == Setup the build system == |
10 | 18 | Denis 'GNUtoo' Carikli | 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 | 21 | Denis 'GNUtoo' Carikli | wget http://android.git.kernel.org/repo |
17 | 20 | Denis 'GNUtoo' Carikli | 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 | 15 | Aaron Williamson - | }}} |
24 | 22 | Denis 'GNUtoo' Carikli | == Each time you want to build something == |
25 | * open a new console |
||
26 | * Then type: |
||
27 | 5 | Denis 'GNUtoo' Carikli | {{{ |
28 | cd ~/replicant |
||
29 | export ANDROID_JAVA_HOME=$JAVA_HOME |
||
30 | 22 | Denis 'GNUtoo' Carikli | lunch htc_dream-eng |
31 | 5 | Denis 'GNUtoo' Carikli | make |
32 | }}} |
||
33 | 1 | Denis 'GNUtoo' Carikli | * The files to flash are in ~/replicant/out/target/product/dream,flash them and then clear the cache |
34 | * boot and push the wifi firmware if you want it |
||
35 | |||
36 | |||
37 | |||
38 | |||
39 | == Status == |
||
40 | 18 | Denis 'GNUtoo' Carikli | * ril works more or less: |
41 | 19 | Denis 'GNUtoo' Carikli | * * calls should work(in/out) |
42 | * * sms should work(in/out) |
||
43 | * * hearphones not supported |
||
44 | 18 | Denis 'GNUtoo' Carikli | |
45 | * sound works even with headphones(beware calls's sound don't work with headphones) |