nethunteros / manifest

Fork of CM for Nethunter ROM ::
https://www.nethunter.com
15 stars 7 forks source link

Problem with manta #2

Open Roatandave opened 7 years ago

Roatandave commented 7 years ago

edit: sorry for the large print. When I enter lunch I select manta and get this.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=
TARGET_PRODUCT=aosp_manta
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
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE69X
OUT_DIR=/home/build/android/out
===========================================
And then this.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=
TARGET_PRODUCT=aosp_arm
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_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE69X
OUT_DIR=/home/build/android/out
============================================

It goes from aosp-manta to aosp-arm during the make process. It keeps wanting to build "device/generic"

Also, will this be available in the lunch menu under nethunter section soon?

Roatandave commented 7 years ago

Perhaps I was not clear, I tried every item in the lunch menu and every combination of make. Every time it wants to compile device/generic

nethunteros commented 7 years ago

I don't think its a misunderstanding.

This is what my output looks like:

root@nh-buildbox:/android/system# . build/envsetup.sh 
including device/asus/grouper/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/huawei/angler/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/oneplus/oneplus2/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including vendor/nethunter/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/nethunter/bash_completion/git.bash
including vendor/nethunter/bash_completion/repo.bash
root@nh-buildbox:/android/system# lunch

You're building on Linux

Lunch menu... pick a combo:
 1. aosp_angler-userdebug        8. cm_oneplus2-userdebug        15. nethunter_flo-userdebug 
 2. aosp_grouper-userdebug       9. m_e_arm-userdebug            16. nethunter_hammerhead-userdebug 
 3. aosp_hammerhead_fp-userdebug     10. mini_emulator_arm64-userdebug   17. nethunter_manta-userdebug 
 4. aosp_hammerhead-userdebug        11. mini_emulator_x86_64-userdebug      18. nethunter_oneplus2-userdebug 
 5. aosp_manta-userdebug         12. mini_emulator_x86-userdebug     19. nethunter_oneplus3-userdebug 
 6. cm_oneplus2-eng              13. nethunter_angler-userdebug 
 7. cm_oneplus2-user             14. nethunter_bacon-userdebug 

Which would you like? [aosp_arm-eng] 17
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1
CM_VERSION=14.0-20170108-UNOFFICIAL-
TARGET_PRODUCT=nethunter_manta
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
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.8.0-32-generic-x86_64-with-Ubuntu-16.10-yakkety
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NDE63X
OUT_DIR=/android/system/out
============================================

Did you repo init this manifest? Do you have vendor/nethunter folder?

Roatandave commented 7 years ago

It gets that far and the the second output above and then crash, showing cannot find anything in device/generic. I changed to ubuntu, installed everything, repo init, lunch, tried make,breakfast,brunch every combo I could find on the net and forums before asking. Just to be sure I removed the repo and redoing now.