Help downloading source - G1 Android Development

can anyone help me download the source??? i want to download the release 1.0 source, the pre cupcake source... i followed this instructions
http://source.android.com/download
and when it comes to initializing the repo, i added -b release-1.0
then i did repo sync.. everything works fine..
but when i run make, i get errorss...
[email protected]:~/mydroid$ make
build/core/product_config.mk:229: WARNING: adding test OTA key
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: No such file or directory
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: No such file or directory
host C: acp <= build/tools/acp/acp.c
cc1: error: system/core/include/arch/linux-x86/AndroidConfig.h: No such file or directory
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
i have local manifeest in my ~/home/mydroid/.repo dir...
help please...
what am i doing wrong?

The same problem to you
T.T
T.T
T.T
ToT

If you want to flash it on your g1 search dreaimg.nbh in google, put on sd card and power + camera and it should go back to 1.0

Related

build errors on XDANDROID eclair

I'm getting a build error with the latest repo sync of XDANDROID as follows:
# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.1-update1
TARGET_PRODUCT=xdandroid_msm_us
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ECLAIR
============================================
No private recovery resources for TARGET_DEVICE msm
Install: out/host/linux-x86/bin/vm-tests
Install: out/target/product/msm/system/app/Mms.apk
target thumb C: libbluetoothd <= external/bluetooth/bluez/src/plugin.c
external/bluetooth/bluez/src/plugin.c:109:21: error: builtin.h: No such file or directory
external/bluetooth/bluez/src/plugin.c: In function 'plugin_init':
external/bluetooth/bluez/src/plugin.c:135: error: '__bluetooth_builtin' undeclared (first use in this function)
external/bluetooth/bluez/src/plugin.c:135: error: (Each undeclared identifier is reported only once
external/bluetooth/bluez/src/plugin.c:135: error: for each function it appears in.)
make: *** [out/target/product/msm/obj/SHARED_LIBRARIES/libbluetoothd_intermediates/plugin.o] Error 1
I checked the external/bluetooth/bluez/src/plugin.c:109
Definitely shows an include of builtin.h here, but I can't seem to find it in the source.
# find . -name builtin.h
#
I checked the vendor/xdandroid/msm/BoardConfig.mk file and verified that BOARD_HAVE_BLUETOOTH is set.
I'm not sure where to go at this point. Any advice is appreciated.
mrqu1cky said:
I'm getting a build error with the latest repo sync of XDANDROID as follows:
external/bluetooth/bluez/src/plugin.c:109:21: error: builtin.h: No such file or directory
Click to expand...
Click to collapse
Have you been mucking around in the source for that package? It's definitely in the repository that we pull from: http://android.git.kernel.org/?p=platform/external/bluetooth/bluez.git;a=tree;f=plugins;h=3628b0da9cda67649bc957f7b9c832326371915e;hb=HEAD.
Anyway, you can restore the file (and anything else that somehow got changed) by:
Code:
(from your AOSP source root)
$ cd external/bluetooth/bluez
$ git reset --hard HEAD
If the file still isn't there at that point, do...
Code:
$ git pull korg master
SOLVED
I'm not sure why repo sync didn't pull the file, but it is resolved. Thank you very much
hi, im try to compile xdandroid from xandroid wiki...
as kernel.org is down i cant use the repo curl android.git.kernel.org/repo >~/bin/repo and i tried with other.
the problem is when i want unzip the files from 'signed-dream_devphone_userdebug-ota-14721.zip' i dont find device/xdandroid/msm directory to run this script, why?
maybe because may be because I'm using a different repository: 'repo init -u git://codeaurora.org/platform/manifest.git -b froyo'
if i use this repo: 'repo init -u git://gitorious.org/xdandroid/manifest.git -b froyo' i have problems like 'unable to connect to kernel.org bla bla bla....' and dont download anything...
what can i do?
which repo can i use?
where is device/xdandroid/msm directory?
Thanks for all, regards....
euki said:
hi, im try to compile xdandroid from xandroid wiki...
as kernel.org is down i cant use the repo curl android.git.kernel.org/repo >~/bin/repo and i tried with other.
the problem is when i want unzip the files from 'signed-dream_devphone_userdebug-ota-14721.zip' i dont find device/xdandroid/msm directory to run this script, why?
maybe because may be because I'm using a different repository: 'repo init -u git://codeaurora.org/platform/manifest.git -b froyo'
if i use this repo: 'repo init -u git://gitorious.org/xdandroid/manifest.git -b froyo' i have problems like 'unable to connect to kernel.org bla bla bla....' and dont download anything...
what can i do?
which repo can i use?
where is device/xdandroid/msm directory?
Thanks for all, regards....
Click to expand...
Click to collapse
If kernel.org is down, you won't be able to sync the repo correctly.
Stine is looking at moving to bitbucket. Dunno when it'll actually happen, or if it will.
arrrghhh said:
If kernel.org is down, you won't be able to sync the repo correctly.
Stine is looking at moving to bitbucket. Dunno when it'll actually happen, or if it will.
Click to expand...
Click to collapse
I edited default.xml file from .repo/manifiest directory and changed a couple lines. Now i can sync xdandroid repo but i have a doubt when i have to create a product and a board directory as say in xdandroid wiki. These directories (board and product) are in ~/xdandroid/build/target/ do i have to create these directories into ~/xdandroid/device/xdandroid/msm/ directory? Or i can edit mk files to inherit them from ~/xdandroid/build/target/
Thanks, regards.

[Q] N1(Passion) building CM7 Invalid or corrupt jarfile

Hi,
I'm building CM7 for N1 and I am following: http://forum.xda-developers.com/showthread.php?t=775505
My OS is Ubuntu 11.04 VB.
when I run the following command . build/envsetup.sh && brunch passion, I get the following error:
Install: out/host/linux-x86/framework/dumpkey.jar
DumpPublicKey: out/target/product/passion/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > out/target/product/passion/obj/PACKAGING/ota_keys_intermediates/keys
Invalid or corrupt jarfile out/host/linux-x86/framework/dumpkey.jar
make: *** [out/target/product/passion/obj/PACKAGING/ota_keys_intermediates/keys] Error 1
make: *** Deleting file `out/target/product/passion/obj/PACKAGING/ota_keys_intermediates/keys'
Help please...
Thank you.
I resolved the error. I deleted the /out file, repo sync, and recompiled. I now have a CM7 build for my N1. I haven't tried it on the phone yet but hopefully it works.

Cyanogenmod 10 libz error[HELP]

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1

{CyanogenMod} Karbonn A9+ (Compiling Errors and solutions)

Please post your errors here. We (I and other esteemed devs) will try to solve them.
reserved for future.
reserved for future. 2222
reserved for future. another one...
By chrgegdoc
Code:
Before I get that error, I encountered these first:
building with
Code:
make -j4
gives me the following error:
Code:
make: *** No rule to make target `device/karbonn/a9plus/prebuilt/system/lib/lib/system/libcamera_client.so', needed by `out/target/product/a9plus/system/lib/libcamera_client.so'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: external/icu4c/common/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libicuuc.so.txt
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override 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.
retyping
Code:
make
without
Code:
-j4
"solves" that but I encounter the following error:
Code:
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:135: error: Resource does not already exist in overlay at 'config_tether_upstream_regexs'; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:136: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:137: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:149: error: Resource at config_tether_dun_required appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
So I deleted the overlay folder from device/karbonn/a9plus and it would go through until I get the error at my previous PM
Another one by chrgegdoc
checked out your new device tree and tried building from it using
Code:
make
I get the following error:
Code:
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
By the way, I am building CM9, haven't tried CM10 though.
arunmcops said:
Another one by chrgegdoc
checked out your new device tree and tried building from it using
Code:
make
I get the following error:
Code:
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
By the way, I am building CM9, haven't tried CM10 though.
Click to expand...
Click to collapse
Try to start with make -j1
arunmcops said:
Another one by chrgegdoc
checked out your new device tree and tried building from it using
Code:
make
I get the following error:
Code:
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
By the way, I am building CM9, haven't tried CM10 though.
Click to expand...
Click to collapse
arunmcops said:
By chrgegdoc
Code:
Before I get that error, I encountered these first:
building with
Code:
make -j4
gives me the following error:
Code:
make: *** No rule to make target `device/karbonn/a9plus/prebuilt/system/lib/lib/system/libcamera_client.so', needed by `out/target/product/a9plus/system/lib/libcamera_client.so'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: external/icu4c/common/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libicuuc.so.txt
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override 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.
retyping
Code:
make
without
Code:
-j4
"solves" that but I encounter the following error:
Code:
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:135: error: Resource does not already exist in overlay at 'config_tether_upstream_regexs'; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:136: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:137: error: Resource at config_tether_upstream_regexs appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:149: error: Resource at config_tether_dun_required appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
So I deleted the overlay folder from device/karbonn/a9plus and it would go through until I get the error at my previous PM
Click to expand...
Click to collapse
Overlay packages changed...
I incorporated your changes and it seems that error is gone while using
Code:
make -j1
However, I encountered an new error
Code:
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:199: error: Resource at config_networkLocationProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/karbonn/a9plus/overlay/frameworks/base/core/res/res/values/config.xml:202: error: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
EDIT:
So I tried deleting line 199 and 202 from the config.xml at the build went through.
But, I encountered the previous error
Code:
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
I don't know if they are connected with each other. I conclude that building with make -j1 doesn't solve the EOF error.
Compile Error
I also confirm the same error...
build with make -j1
Code:
<command-line>: warning: "REFRESH_RATE" redefined
<command-line>: warning: this is the location of the previous definition
system/core/libpixelflinger/codeflinger/disassem.c:710: warning: initialization from incompatible pointer type
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
I used a different device tree (my own) and now I am getting this error:
Code:
make: *** No rule to make target `vendor/qcom/s100/proprietary/lib/libaudioalsa.so', needed by `out/target/product/s100/obj/lib/libaudioalsa.so'. Stop.
What I did is add some lines in device.mk and it seems to compile (hopefully)
EDIT:
Still getting the same error. I have no idea on how to fix this
Plz post ur device tree ...
Sent from my Karbonn A9+ using Tapatalk HD
chrgegdoc said:
I used a different device tree (my own) and now I am getting this error:
Code:
make: *** No rule to make target `vendor/qcom/s100/proprietary/lib/libaudioalsa.so', needed by `out/target/product/s100/obj/lib/libaudioalsa.so'. Stop.
What I did is add some lines in device.mk and it seems to compile (hopefully)
EDIT:
Still getting the same error. I have no idea on how to fix this
Click to expand...
Click to collapse
U need to copy proprietary files of your device to vendor/qcom/s100 by either running command from your device folder or just download the files and put it to vendor/qcom/s100 .
Edit : I think this is the files u need . confirm that is it the one and if that is the one CD to vendor/qcom dir and issue following command
Code:
git clone https://github.com/liquid-moto/android_vendor_qcom_proprietary s100
It will clone those files to vendor/qcom/
Than go to vendor/qcom/s100 and rename system to proprietary and than start the build....
Hope u got it fixed
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Use libaudioalsa.so from /system/lib and modify mk files. Also mail me device folder.
Sent from my Karbonn A9+ using Tapatalk HD
Will Try
Arun will you modify your device tree.. I will try to compile again..
Will try for qcom/s100 also.. Both are same build.. Any way.. Device can be changed on .prop later..!!
---------- Post added at 07:04 PM ---------- Previous post was at 06:56 PM ----------
chrgegdoc said:
I used a different device tree (my own) and now I am getting this error:
Code:
make: *** No rule to make target `vendor/qcom/s100/proprietary/lib/libaudioalsa.so', needed by `out/target/product/s100/obj/lib/libaudioalsa.so'. Stop.
What I did is add some lines in device.mk and it seems to compile (hopefully)
EDIT:
Still getting the same error. I have no idea on how to fix this
Click to expand...
Click to collapse
Will share your device tree..??
I'll post my device tree after I try x10forevers' suggestion.
UPDATE:
So I tried x10forevers' suggestion. I modified proprietary-files.txt and extracted the files. However, some files were not found, namely:
Code:
libmm-color-convertor.so
libmmparser_divxdrmlib.so
a225_pfp.fw
a225_pm4.fw
a225p5_pm4.fw
a300_pfp.fw
a300_pm4.fw
leia_pfp_470.fw
leia_pm4_470.fw
libC2D2.so
UPDATE1:
what should be the value for TARGET_ARCH_VARIANT?
UPDATE 2:
arunmcops, you might want to edit out the '6' from your device.mk
See this line:
Code:
frameworks/base/data/etc/android.soft6ware.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
Prince.Paul.K said:
Arun will you modify your device tree.. I will try to compile again..
Will try for qcom/s100 also.. Both are same build.. Any way.. Device can be changed on .prop later..!!
---------- Post added at 07:04 PM ---------- Previous post was at 06:56 PM ----------
Will share your device tree..??
Click to expand...
Click to collapse
GITHUB
Your github id ?
chrgegdoc said:
I'll post my device tree after I try x10forevers' suggestion.
UPDATE:
So I tried x10forevers' suggestion. I modified proprietary-files.txt and extracted the files. However, some files were not found, namely:
Code:
libmm-color-convertor.so
libmmparser_divxdrmlib.so
a225_pfp.fw
a225_pm4.fw
a225p5_pm4.fw
a300_pfp.fw
a300_pm4.fw
leia_pfp_470.fw
leia_pm4_470.fw
libC2D2.so
UPDATE1:
what should be the value for TARGET_ARCH_VARIANT?
UPDATE 2:
arunmcops, you might want to edit out the '6' from your device.mk
See this line:
Code:
frameworks/base/data/etc/android.soft6ware.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \
Click to expand...
Click to collapse
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_ARCH_VARIANT_CPU := cortex-a5
TARGET_ARCH_VARIANT_FPU := neon
@Chargegdoc
I think that fw files are in the clone files I have told you in earlier post
Check it
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Here is my GitHub
Please check for errors. I just copied all the folders from karbonna9plus and made a few changes.
EDIT:
@x10forevers
Indeed it is there.
I got another error:
Code:
make: *** No rule to make target `device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflashvold.fstab_use_emmc', needed by `out/target/product/s100/system/etc/vold.fstab_use_tflash'. Stop.
Edited the device.mk and changed the following lines:
Code:
device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflashvold.fstab_use_emmc:system/etc/vold.fstab_use_tflash
to
Code:
device/qcom/s100/prebuilt/system/etc/vold.fstab_use_tflash:system/etc/vold.fstab_use_tflash
I'll sleep for now and continue working on this the next day.
---------- Post added at 01:23 AM ---------- Previous post was at 12:50 AM ----------
There's a LOT of make: *** No rule to make target errors. I'll try to fix these tomorrow.

[Q] [Q&A]problems when build android-5.1.1_r2

Hello, everyone,
I'm using Ubuntu14.0.4 virtualbox virtual machine, the memory size is set as 2G. I set two more virtual disks(/disk_2nd for source code download, /disk_3rd for build output and the directory is android_out).
Java version is openjdk7 as required by android official website.
Git was rebuilt for openssl because of gnutls_handshake error during downloading source code.
I had met the problem caused by small swap so that I already set a new 8G swap partion(not swapfile).
Now I meet two problems during build the android-5.1.1_r2. I searched from web but can't find answer(looks someone met same problem but no answer). If someone can help, it will be very great. Thank you very much.
--------------------------------------------------------------------------------------------------------
1.
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: /disk_3rd/android_out/androidsource/host/linux-x86/obj32/SHARED_LIBRARIES/libjavacore_intermediates/luni/src/main/native/android_system_OsConstants.o: file is empty
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
2.
target Strip: libwebviewchromium (/disk_3rd/android_out/androidsource/target/product/generic/obj/lib/libwebviewchromium.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-strip:/disk_3rd/android_out/androidsource/target/product/generic/symbols/system/lib/libwebviewchromium.so: File format not recognized
make: *** [/disk_3rd/android_out/androidsource/target/product/generic/obj/lib/libwebviewchromium.so] error 1
make: *** Waiting for unfinished work .....( It could be not exact the same words because I translate it from Chinese)

Categories

Resources