Theme by nostrich.
Text
Build failed again…
aapt: warning: *** string 'summary_contacts_show_pic' has no default or required localization for 'zh_TW' in packages/apps/Contacts/res packages/apps/Camera/src/com/android/camera/ReviewImage.java:236: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ReviewImage.java:241: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ReviewImage.java:251: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ReviewImage.java:255: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ViewImage.java:276: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ViewImage.java:281: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ViewImage.java:291: method does not override a method from its superclass @Override ^ packages/apps/Camera/src/com/android/camera/ViewImage.java:295: method does not override a method from its superclass @Override ^ target Package: ContactsProvider (out/target/product/dream-open/obj/APPS/ContactsProvider_intermediates/package.apk) Note: packages/apps/Camera/src/com/android/camera/ThumbnailController.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 8 errors make: *** [out/target/common/obj/APPS/Camera_intermediates/classes-full-debug.jar] Error 41 make: *** Waiting for unfinished jobs....
Text
Now following Chris Soyars’ guide on how to build Android OS version 1.6 (donut) ROM with some cyanogen modifications.
$ mkdir donut-build
$ cd donut-build$ repo init -u git://github.com/cyanogen/android.git -b donut
$ repo sync
Then I retrieved the following proprietary HTC files:
Then let’s unpack the files for ADP1:
$ cd vendor/htc/dream-open
$ tar zxf htc-adp1.sfx.tgz
$ ./htc-adp1.sfx
$ ./unzip-files.sh
Then do the same thing for Sapphire/Magic:
$ cd ../sapphire-open
$ ./unzip-files.sh
$ cd ../../../
Then we load all the available targets, pick one of the targets, and start the build:
$ source build/envsetup.sh
$ lunch cyanogen_dream_us-eng
$ make -j2
Now I’m crossing my fingers. Hopefully I’ll get an Android v1.6 ROM with cyanogen’s cool modifications!
Text
Failed my first attempt of building OpenEclair ROM.
Fortunately, I went to the OpenEclair IRC channel and dostra pointed me to Chris Soyars’ blog post on how to build an Android ROM.
So I’m reading it, and trying to master the basics of git while I’m at it. Let’s get ready for round 2.
Text
Okay, I’m not sure how to proceed with the source codes that I got from AOSP. I’m gonna have a look at OpenEclair sources first and try to build it.
mkdir openeclair; cd openeclair
repo init -u git://ctso.me/openeclair2/platform_manifest.git -b eclair
repo sync
source ./build/envsetup.sh
lunch openeclair_dream_sapphire_us-eng
Oh and then …
make
Text
So here we go. I downloaded the Android source codes from the git repository using repo. Next stop, build Android OS from the source.
Text
I have an HTC Magic smartphone and the reason I bought it is to be able to get my hands on writing software for the Android operating system. This blog will be my journal as explore the exciting world of software on Android!