Probably a noobish question, but despite following the official build guide [1] and later finding out it's broken [2] I still can't flashall:
Code:
(lunch output cut)
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
TARGET_PRODUCT=aosp_xqau52
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-48-generic-x86_64-Ubuntu-22.04.1-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TP1A.220905.004
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/sony/common device/sony/seine vendor/qcom/opensource/core-utils vendor/qcom/opensource/display/sm8250 vendor/qcom/opensource/display-commonsys-intf/sm8250
============================================
❯ j pdx
(...)/XQ-AU52/android/out/target/product/pdx201
❯ fastboot -w flashall
--------------------------------------------
Bootloader Version...: xboot
Baseband Version.....:
Serial Number........: QV7258NJ3A
--------------------------------------------
Checking 'product' FAILED
Device product is 'pdx201'.
Update requires 'XQ-AU52'.
fastboot: error: requirements not met!
[1] https://developer.sony.com/develop/...uctions/build-aosp-android-13#tutorial-step-8
[2] https://github.com/sonyxperiadev/bug_tracker/issues/608
Related
Hey all, I need a little help if you all could. I'm trying to build a Motorola Droid (CDMA Milestone specifically) AOSP rom and I keep running into errors. I have everything done and I'm ready to make my rom. It throws up these errors everytime
Code:
[email protected]:~/froyo/system$ make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=generic_sholes
TARGET_BUILD_VARIANT=user
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
wlan/ti/Android.mk:21: system/wlan/ti/wilink_6_1/Android.mk: No such file or directory
build/core/Makefile:19: warning: overriding commands for target `out/target/product/sholes/system/etc/gps.conf'
build/core/Makefile:19: warning: ignoring old commands for target `out/target/product/sholes/system/etc/gps.conf'
No private recovery resources for TARGET_DEVICE sholes
make: *** No rule to make target `system/wlan/ti/wilink_6_1/Android.mk'. Stop.
[email protected]:~/froyo/system$
I've tried to make clean and make prepare with no avail. Any thoughts or help would be greatly appreciated!
I'm running Ubuntu 10.10 64 bit with Java 5 and 6 (5 is set because the build wouldn't load other wise)
Thank You,
cfultz
Did you by any chance solved this problem?
I have the same when I try to "make otapackage"
when building form only empty folders
[email protected]:/home/administrator# source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/samsung/tass/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:/home/administrator# brunch tass
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20130827-UNOFFICIAL-tass
TARGET_PRODUCT=cm_tass
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/administrator/out
============================================
bash: schedtool: command not found
I'm trying to compile Firefox OS using these files: "https://github.com/b2g-sprout/" . But I am having troubles 'coz there's no really fomal instructions from the Github link. I'm only a Web Developer so I don't know much about ROMs.
What I Did:
1 - Extracted "B2G" and "b2g-manifest" in home folder
2 - Extracted "device-sprout" on "device/google/sprout/"
3 - Backup System
4 - Run ANDROIDFS_DIR=backup_device ./config.sh sprout '../b2g-manifest/default.xml'
5 - Downloaded Files somewhere to get "sprout-vendor.mk" for "vendor" folder that the ./build.sh is looking for in my first run
5 - Run ./build.sh
Got this error after ./build.sh:
HTML:
<code>
./build.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
device/google/sprout/wpa_supplicant/Android.mk:19: Build wpa_supplicant_lib...
device/google/sprout/wpa_supplicant/Android.mk:27: external/wpa_supplicant_8/wpa_supplicant/android.config: No such file or directory
CMake and NDK (/home/zigmund/B2G/prebuilt/ndk/android-ndk-r7) found, will compile apitrace
external/apitrace/Android.mk:77: warning: overriding commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
build/core/shared_library.mk:56: warning: ignoring old commands for target `out/target/product/sprout/obj/SHARED_LIBRARIES/egltrace_intermediates/LINKED/egltrace.so'
external/apitrace/Android.mk:82: warning: overriding commands for target `out/target/product/sprout/system/lib/egltrace.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/lib/egltrace.so'
external/apitrace/Android.mk:96: warning: overriding commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
build/core/executable.mk:22: warning: ignoring old commands for target `out/target/product/sprout/obj/EXECUTABLES/apitrace_intermediates/LINKED/apitrace'
external/screencap-gonk/Android.mk:35: warning: overriding commands for target `out/target/product/sprout/system/bin/screencap-gonk'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/bin/screencap-gonk'
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/apache-http/src/org/apache/http': No such file or directory
find: `../../external/nist-sip/java': No such file or directory
find: `../../external/apache-http/src': No such file or directory
find: `../../external/libphonenumber/java/src': No such file or directory
gaia/Android.mk:53: warning: overriding commands for target `out/target/product/sprout/data/local/gaia'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/data/local/gaia'
gonk-misc/Android.mk:30: warning: overriding commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/ETC/init.rc_intermediates/init.rc'
gonk-misc/Android.mk:137: warning: overriding commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/sources.xml_intermediates/sources.xml'
gonk-misc/Android.mk:359: warning: overriding commands for target `out/target/product/sprout/system/gecko'
build/core/base_rules.mk:532: warning: ignoring old commands for target `out/target/product/sprout/system/gecko'
gonk-misc/Android.mk:447: warning: overriding commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/prebuilt.mk:117: warning: ignoring old commands for target `out/target/product/sprout/obj/DATA/gecko_intermediates/gecko'
build/core/base_rules.mk:82: *** Module name: librilutils
build/core/base_rules.mk:83: *** Makefile location: hardware/ril/librilutils
build/core/base_rules.mk:84: *
build/core/base_rules.mk:85: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:86: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:87: *
build/core/base_rules.mk:88: * optional, debug, eng, tests, samples
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * If the module is expected to be in all builds
build/core/base_rules.mk:91: * of a product, then it should use the
build/core/base_rules.mk:92: * "optional" tag:
build/core/base_rules.mk:93: *
build/core/base_rules.mk:94: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:95: * Android.mk for the affected module, and add
build/core/base_rules.mk:96: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:97: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:98: * makefile(s) where it's necessary, if
build/core/base_rules.mk:99: * appropriate.
build/core/base_rules.mk:100: *
build/core/base_rules.mk:101: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:102: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:103: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:104: * build/target/product/core.mk
build/core/base_rules.mk:105: *
build/core/base_rules.mk:106: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
real 0m42.594s
user 0m4.868s
sys 0m4.684s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
After executing "./build.sh rm -rf out":
HTML:
<code>
./build.sh rm -rf out
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=full_sprout
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-45-generic-x86_64-with-elementary_OS-0.3-freya
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
make: *** out: Is a directory. Stop.
real 0m0.002s
user 0m0.000s
sys 0m0.002s
> Build failed! <
Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and |rm -rf out| to clobber everything else.
</code>
Check this out Sir Firefox OS Build prerequisites
1. Try with newer sources of Firefox. Take nexus 5 as reference.
2. To delete the our folder, use the command "rm rf- out/" or "make clean "
3. Use"-j1" tag for better error messages
make rule issue
Hi there! I'm attempting to compile FFOS but I keep running into this error:
Code:
make: *** No rule to make target `out/target/product/sprout/kernel', needed by `out/target/product/sprout/boot.img'. Stop.
Is there anything that I missed? If it's a file, could I download it? Don't want to do another repo sync since the Internet at my place kinda sucks.
I was doing exactly everything in this site http://developer.sonymobile.com/ope...-devices/#build-aosp-marshmallow-experimental but at the end when I started the building command I get this Error
Code:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=aosp_arm64
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=MOB31E
OUT_DIR=out
============================================
including ./abi/cpp/Android.mk ...
including ./art/Android.mk ...
including ./bionic/Android.mk ...
including ./bootable/recovery/Android.mk ...
including ./build/libs/host/Android.mk ...
including ./build/target/board/Android.mk ...
including ./build/target/product/security/Android.mk ...
including ./build/tools/Android.mk ...
including ./cts/Android.mk ...
including ./dalvik/Android.mk ...
including ./development/apps/BluetoothDebug/Android.mk ...
including ./development/apps/BuildWidget/Android.mk ...
including ./development/apps/CustomLocale/Android.mk ...
Until. . . . .
make: *** No rule to make target '–j'. Stop.
#### make failed to build some targets (03:50 (mm:ss)) ####
What did I do do wrong?, I need help plz.
Hi,
Im trying to build DotOs and after doing all necessities and with local_manifest/dot_pdx203.xml see next post
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:48 dumpvars failed with: exit status 1
Device edo not found. Attempting to retrieve device repository from DotOS-Devices Github (http://github.com/DotOS-Devices).
Repository for edo not found in the DotOS-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/dot_manifest.xml
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:49 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:290:
In file included from build/make/core/envsetup.mk:268:
vendor/sony/pdx203/edo-vendor.mk:195: error: _nic.PRODUCTS.[[device/sony/pdx203/dot_edo.mk]]:
"vendor/dot/config/common_full_phone.mk" does not exist.
18:38:49 dumpvars failed with: exit status 1
** Don't have a product spec for: 'dot_edo'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
Edit: so it seems things are moving forward, but still not there.. at least lunch is picking up the device tree..
Update : local_manifest/dot_pdx203
<remote name="vendor"
fetch="https://github.com"
revision="lineage-18.1" />
<remote name="device"
fetch="https://github.com"
revision="pe_eleven" />
<remote name="common"
fetch="https://github.com"
revision="fluid_11" />
<remote name="kernel"
fetch="https://github.com"
revision="LA.UM.8.12.r1" />
<!-- Vendor folders -->
<project path="vendor/sony/pdx203" name="hellobbn/android_vendor_sony_pdx203" remote="vendor" />
<!--Device Trees-->
<project path="device/sony/pdx203" name="hellobbn/android_device_sony_pdx203" remote="device" />
<project path="device/sony/edo-common" name="SetsunaKiyouraTD/android_device_sony_edo-common" remote="common" />
<!--Kernel-->
<project path="kernel/sony/sm8250" name="hellobbn/android_kernel_sony_sm8250" remote="kernel" />
Click to expand...
Click to collapse
Ah nevermind I figurd it out and learnt something in the process
To those buildmaster out there does this seem correct?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
DOT_VERSION=dotOS-R-v5.2-pdx203-UNOFFICIAL-20211005-1948
TARGET_PRODUCT=dot_pdx203
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.150_1-x86_64-void
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RD2A.210905.003
OUT_DIR=/home/userx/build/dotos/out
PRODUCT_SOONG_NAMESPACES=vendor/sony/pdx203 hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/dataservices vendor/qcom/opensource/data-ipa-cfg-mgr packages/apps/Bluetooth hardware/qcom-caf/common/fwk-detect
============================================
Click to expand...
Click to collapse
Since Im building on voidlinux some issues needed resolve
// Error notes
ERROR: vendor/dot/config/common_full_phone.mk" does not exist.
- Use common.mk instead of common_full_phone.mk (..device/sony/pdx203/dot_pdx203.mk)
ERROR: while loading shared libraries: libncurses.so.5
for f in ncurses form panel menu; do ln -sfr /usr/lib/lib${f}.so.6 /usr/lib/lib${f}.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib/lib${f}w.so.6 /usr/lib/lib${f}w.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib32/lib${f}.so.6 /usr/lib32/lib${f}.so.5; done
for f in ncurses form panel menu; do ln -sfr /usr/lib32/lib${f}w.so.6 /usr/lib32/lib${f}w.so.5; done
ln -sf /usr/bin/ncursesw6-config /usr/bin/ncursesw5-config
ln -sf /usr/bin/ncursesw6-config /usr/bin/ncurses5-config
ERROR: error while loading shared libraries: libtinfo.so.5
ln -sf /usr/lib/libtinfo.so.6 /usr/lib/libtinfo.so.5
Click to expand...
Click to collapse
All be attachii some build logs on finnish; if anyone cares to read and compair..