I've tried to build JB for VirtualBox (vbox_x86). Build completed successfuly.
But Unable to launch Android. I select "Android startup from /dev/sda" and after android logo shows and screen splashes... During splashes I can see that Zygote process has died with segmentation fault.
Do anyone know how to solve this problem?
Here is my lunch configuration:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=vbox_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-24-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
Also this issue reproduces on RHEL system:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=vbox_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-131.0.15.el6.x86_64-x86_64-with-redhat-6.1-Santiago
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
Search build android ics virtualbox on intel.com and you will find a very good note.
Choose Android 4.0.4 intel virtualbox kernel and rebuild the kernel.
And then I manged to make JB work on Virtualbox.
You need to modify the init.vbox_x86.rc for the filesystem/network work before
on boot
setprop ARGH ARGH
setprop net.eth0.gw 192.168.56.1
setprop net.eth0.dns1 192.168.1.1
# setprop net.gprs.local-ip 192.168.56.101
...
on fs
# mount sda (system) and sdb (data) partitions
mount ext4 /dev/block/sda6 /system
mount ext4 /dev/block/sda6 /system ro remount
mount ext4 /dev/block/sda8 /data nosuid nodev
mount ext3 /dev/block/sda5 /cache nosuid nodev
ilya.kryukov said:
I've tried to build JB for VirtualBox (vbox_x86). Build completed successfuly.
But Unable to launch Android. I select "Android startup from /dev/sda" and after android logo shows and screen splashes... During splashes I can see that Zygote process has died with segmentation fault.
Do anyone know how to solve this problem?
Here is my lunch configuration:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=vbox_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-24-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
Also this issue reproduces on RHEL system:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=vbox_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-2.6.32-131.0.15.el6.x86_64-x86_64-with-redhat-6.1-Santiago
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
Click to expand...
Click to collapse
Related
hi i've setted up my pc for building but when i give the command
Code:
make -j3 recoveryimage
give me this error:
Code:
[email protected]:~/rom/cm7$ make -j3 recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=cyanogen_tass
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
build/core/base_rules.mk:162: *** device/tass: MODULE.TARGET.EXECUTABLES.setup_fs already defined by device/samsung/tass. Arresto.
thanks at all for help!
Alright so I am running Ubuntu 13.10 and I have synced the Cyanogenmod source and Im trying to port it to the TegraNote7. Problem is I'm a complete noob at this...anyway I got all the source code e.g the kernel and device folder loaded, but I'm stuck at the "Extracting Proprietary Blobs" stage of the wiki. I have absolutely no idea how to make a extract-files.sh or a proprietary-files.txt So, it may be a lost cause for me...BUT when i try to build with "lunch cm_tegratab-userdebug" i get this:
Code:
[email protected]:~/android/system$ lunch
You're building on Linux
Breakfast menu... pick a combo:
1. full-eng 2. cm_tegratab-userdebug
... and don't forget the bacon!
Which would you like? [aosp_arm-eng] 2
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
[email protected]:~/android/system$
When I do "lunch cm_tegratab-userdebug && mka bacon" I get this:
Code:
[email protected]:~/android/system$ lunch cm_tegratab-userdebug && mka bacon
Looking for dependencies
Dependencies file not found, bailing out.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140401-UNOFFICIAL-tegratab
TARGET_PRODUCT=cm_tegratab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/wolfstar/android/system/out
============================================
/home/wolfstar/android/system/out/target/product/tegratab/obj/APPS/SignatureTest_intermediates
build/core/shared_library.mk:17: *** device/nvidia/tegratab/sensors: Illegal use of OVERRIDE_BUILT_MODULE_PATH. Stop.
[email protected]:~/android/system$
So what do I do
So no one can help me? Im willing to start fresh as well but this time with Xubuntu.
Please I need serious help
I am trying to build lollipop for oneplus one.
I have followed multiple guides to get this correct.
However I am stuck at [email protected]:~/bin/WORKING_DIRECTORY$ make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=aosp_bacon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
Checking build tools versions...
build/core/dex_preopt.mk:47: *** target pattern contains no '%'. Stop.
However if i use "sudo make -j 16"
I get this
Which would you like? [aosp_arm-eng] 15
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=aosp_bacon
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
[email protected]:~/bin/WORKING_DIRECTORY$ sudo make -j16
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-25-generic-x86_64-with-Ubuntu-14.10-utopic
HOST_BUILD_TYPE=release
BUILD_ID=LRX21M
OUT_DIR=out
============================================
Checking build tools versions...
What happens is the target product and everything changes so the output is a generic build.
Please help
Thanks
I'm trying to enable audio debugging as described here: https//source.android.com/devices/audio/debugging.html . Got it working in stock emulator, but replacing libaudioflinger.so on device - Samsung i9190 causes mediaserver segfaults and renders it unbootable.
The build and CPU of the phone matches build configuration below afaik. What I did wrong? Or it needs some Samsung-specific patch?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aosp_flo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.17.8-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=out
============================================
I'm afraid that it's only available in custom builds only.
How about use custom ROM for your device with known device tree, then modify its audioflinger?
including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/xiaomi/sagit
Looking for dependencies in device/xiaomi/msm8998-common
Looking for dependencies in kernel/xiaomi/msm8998
kernel/xiaomi/msm8998 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190706-UNOFFICIAL-sagit
TARGET_PRODUCT=lineage_sagit
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-148-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190605.003
OUT_DIR=/aout/lin16
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190706-UNOFFICIAL-sagit
TARGET_PRODUCT=lineage_sagit
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-148-generic-x86_64-Ubuntu-14.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190605.003
OUT_DIR=/aout/lin16
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
============================================
ninja: no work to do.
[1/1] /aout/lin16/soong/.bootstrap/bin/soong_build /aout/lin16/soong/build.ninja
FAILED: /aout/lin16/soong/build.ninja
/aout/lin16/soong/.bootstrap/bin/soong_build -t -l /aout/lin16/.module_paths/Android.bp.list -b /aout/lin16/soong -n /aout/lin16 -d /aout/lin16/soong/build.ninja.d -o /aout/lin16/soong/build.ninja Android.bp
error: vendor/lineage/build/soong/Android.bp:27:1: module "generated_kernel_includes": unable to glob kernel/xiaomi/msm8998/include/**/*: IsDir(kernel/xiaomi/msm8998/include/linux/in6.h): unexpected error after glob: stat kernel/xiaomi/msm8998/include/linux/in6.h: file name too long
ninja: build stopped: subcommand failed.
[0;31m#### failed to build some targets (10 seconds) ####[00m
Newbie - Have downloaded the lineageos 16 officially supported image . For fun wanted to build the image for my new device. Need community help / support .(Have run breakfast sagit and downloaded the files from github/themuppets for sagit)
Thanks