how to build Android with recovery.img

by fanday » Wed, 19 May 2010 13:48:39 GMT


Sponsored Links
 Hi all:
    I  built Android 1.6 (Donut) without any error,but there is no
revcovery.img residing in out/target/generic DIR .And my BoardConfig.mk is:
# config.mk
#
# Product-specific compile-time definitions.
#

# The generic product target doesn't have any hardware-specific pieces.
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := true
TARGET_NO_RADIOIMAGE := true
TARGET_CPU_ABI := armeabi
HAVE_HTC_AUDIO_DRIVER := false
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
#BOARD_USES_GENERIC_AUDIO := true
#BOARD_USES_GENERIC_OSSAUDIO := true
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true

How to change the BoardConfig.mk to build  revcovery.img.
Any help will be appreciate.

Best regards!
Fanday Dai
2010-05-19

-- 



how to build Android with recovery.img

by zu » Tue, 15 Jun 2010 00:24:56 GMT


 Hi,

There is the following test in build/core/Makefile :
# If neither TARGET_NO_KERNEL nor TARGET_NO_RECOVERY are true
ifeq (,$(filter true, $(TARGET_NO_KERNEL) $(TARGET_NO_RECOVERY) $
(BUILD_TINY_ANDROID)))

Replace "TARGET_NO_KERNEL := true" with "TARGET_NO_KERNEL := false".

You also need a kernel image in out/target/product/generic/kernel (as
a test you can put the one from the sdk).

It worked for me.




-- 


Sponsored Links


Other Threads

1. downloading an image

How do I download an image? Is there an easy way, given a URL, to
download a .jpg into res/drawable?
I'm trying to download an image and then display it. I'm using a class
that I've tested (but not on android) that downloads an image to a
specified path. When I run it in android, the image doesn't download.
Any help would be SUPER.
Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. Just learning to write apps

So, unfortunately i have no exp whatsoever with writing software.
Just html, xhtml, php, sql basically  just web experience. I'm looking
for a guide on writing a simple app using eclipse, i just installed
the android SDK to it.  Something simple i'd like to learn to do is
just build an app that encases a web page similar to the bank of
america app or the Fbook app. Can somone point me at a guide?

--~--~---------~--~----~------------~-------~--~----~

3. JKS or PKCS12 Keystores

4. Detect shaking

5. Need Official HOW-TO: Upgrade from Original ADP1 firmware to RC33

6. Easy Eclipse Help?

7. Regarding installation of application in memory card in G1