New ROM building error. - Android Q&A, Help & Troubleshooting

I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android

dotmaniac said:
I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android
Click to expand...
Click to collapse
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)

espmartin said:
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)
Click to expand...
Click to collapse
Nope...
Sent from my Nexus 7 using Tapatalk

Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source

Can you post the full log?

SMillerNL said:
Can you post the full log?
Click to expand...
Click to collapse
I'll post on pastbin asap.
FYI: I get this same exact error when I build just the calc module as such:
mmm packages/apps/Calculator
Android 4.2.2/AOKP built from source
---------- Post added at 09:13 PM ---------- Previous post was at 08:55 PM ----------
Here's the full build log:
http://pastebin.com/ScKDbeej
And here's the full error when just building Calc module (pastbin too):
Code:
[LIST=1]
[*][email protected]:~/SchutzhundAOKP$ . build/envsetup.sh && lunch aokp_ace-userdebug && mmm packages/apps/Calculator
including device/htc/ace/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
make: Entering directory `/home/martin/SchutzhundAOKP'
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
PRODUCT_COPY_FILES vendor/aokp/prebuilt/bootanimation/bootanimation_480_800.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE ace
make: *** No rule to make target `/home/martin/SchutzhundAOKP/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/martin/SchutzhundAOKP/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
make: Leaving directory `/home/martin/SchutzhundAOKP'
[email protected]:~/SchutzhundAOKP$
[/LIST]

espmartin said:
Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source
Click to expand...
Click to collapse
I'm also having exactly this error. And it is really frustrating

[email protected] said:
I'm also having exactly this error. And it is really frustrating
Click to expand...
Click to collapse
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build

espmartin said:
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
What do you mean by different repos? Device? Kernel? or Just Packages app?

I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build

espmartin said:
I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
You mean you completely sync an another Rom?

Hey, I just ran into the same issue with no clue yet so resolve this problem. I just wondered if someone came up with a solution in the meantime and could post some information about the issue
UPDATE: I figured out at least what the problem in my case was. Apparently, removing the project "platform/development" from the manifest was not a good idea. Well, I learned my lesson.
This is the line of the local_manifest.xml which should arouse suspection:
Code:
<remove-project path="development" name="platform/development" />

Related

Trying to Build CM10 full-eng

I've successfully built cm10 from source for maguro. (Everything works nicely except the Google Talk app which keeps crashing, but I'll try to find out why later).
I'm building on OS X 10.8 (Mountain Lion), which required some changes in make files.
When trying to brunch full-eng, though, I'm getting the following:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-12.0.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `src': No such file or directory
build/core/tasks/kernel.mk:65: **********************************************************
build/core/tasks/kernel.mk:66: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:67: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:68: * BoardConfig.mk file *
build/core/tasks/kernel.mk:69: **********************************************************
make: *** No rule to make target `bacon'. Stop.
I would appreciate an insight on that.
Also - I'm trying to find a guide on the forums that will allow me to learn how to port CM10 to unsupported devices.
Thank you.
Code:
. build/envsetup.sh
lunch full-eng
mka
^Works fine.
brunch won't work on full-eng, it's intended to be used for cm_* only
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
cdesai said:
brunch won't work on full-eng, it's intended to be used for cm_* only
Click to expand...
Click to collapse
Great. Thank you for the quick response.

[Q] how to compile cyanogenmod for unsupported device

my acer liquid mini e310 is not supported by the team of xda and would like to build a CyanogenMod, how can I do?
pitrazzu said:
my acer liquid mini e310 is not supported by the team of xda and would like to build a CyanogenMod, how can I do?
Click to expand...
Click to collapse
To port Cyanogenmod to your device I would recommend taking a look at the Cyanogenmod teams official guide to porting Cyanogenmod to a new device http://wiki.cyanogenmod.org/w/Doc:_porting_intro.
Sent from my SCH-I535 using xda premium
R: [Q] how to compile cyanogenmod for unsupported device
Thank you so much, but what is the most simple kind of guide? I wont to complete the cyanogenmod 7 for my device because haven' t wifi, bt, gsm and other (sorry for my bad english)
Inviato dal mio E310 con Tapatalk 2
pitrazzu said:
Thank you so much, but what is the most simple kind of guide? I wont to complete the cyanogenmod 7 for my device because haven' t wifi, bt, gsm and other (sorry for my bad english)
Inviato dal mio E310 con Tapatalk 2
Click to expand...
Click to collapse
The guide I previously linked to is the most basic guide for porting Cyanogenmod. As far as getting WiFi, Bluetooth, GSM and other's working that's a matter of modifying drivers in the kernel which requires knowledge of the C programming language. You could also try using your devices existing kernel with Cyanogenmod to get WiFi, Bluetooth, GSM and other things working. I would recommend taking a look at how to use a pre-built kernel in Cyanogenmod here.
I have an explanation
pitrazzu said:
my acer liquid mini e310 is not supported by the team of xda and would like to build a CyanogenMod, how can I do?
Click to expand...
Click to collapse
First you must find a phone with the same hardware and Screen resolution. Size and ppi do not matter. Just the same processor. http://www.gsmarena.com/results.php3?sFreeSearch=yes&sFreeText=qualcomm msm7227-1 These phones have the same chipset but youll have to check which one has the same resolution as yours. Then check if there is any rom for that other device. If there is then download it and follow these instructions: http://forum.xda-developers.com/showthread.php?t=1272270 :laugh:
Hi can some one can help me every time when i compiling i getting this error
[email protected]:~$ cd ~/aokp
[email protected]:~/aokp$ . build/envsetup.sh
including device/lge/p700/vendorsetup.sh
including device/lge/e610/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/aokp$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aokp_p700-userdebug
6. aokp_e610-userdebug
7. aokp_e610-eng
8. mini_armv7a_neon-userdebug
9. aokp_hammerhead-userdebug
10. aokp_mako-userdebug
11. aokp_flo-userdebug
12. aokp_maguro-userdebug
13. aokp_toro-userdebug
14. aokp_manta-userdebug
15. aokp_d2att-userdebug
16. aokp_d2tmo-userdebug
17. aokp_d2usc-userdebug
18. aokp_d2vzw-userdebug
19. aokp_i605-userdebug
20. aokp_jfltecri-userdebug
21. aokp_jfltecsp-userdebug
22. aokp_jfltespr-userdebug
23. aokp_jfltetmo-userdebug
24. aokp_jflteusc-userdebug
25. aokp_jfltevzw-userdebug
26. aokp_l900-userdebug
27. aokp_m7att-userdebug
28. aokp_m7spr-userdebug
29. aokp_m7tmo-userdebug
30. aokp_m7ul-userdebug
31. aokp_m7vzw-userdebug
32. aokp_mint-userdebug
33. aokp_odin-userdebug
34. aokp_pollux-userdebug
35. aokp_t0lte-userdebug
36. aokp_t0lteatt-userdebug
37. aokp_t0ltetmo-userdebug
38. aokp_tsubasa-userdebug
39. aokp_yuga-userdebug
Which would you like? [aosp_arm-eng] 6
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_e610
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-34-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/aidas/aokp/out
============================================
[email protected]:~/aokp$ make -j1 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_e610
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-34-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/aidas/aokp/out
============================================
/home/aidas/aokp/out/target/product/e610/obj/APPS/SignatureTest_intermediates
find: `fmradio/java': No such file or directory
find: `fmradio/java': No such file or directory
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/audio_policy.conf'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/audio_policy.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/lights.msm7x27a.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/lights.msm7x27a.so'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/camera.msm7x27a.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/camera.msm7x27a.so'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/bin/rild'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/bin/rild'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/libril.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/libril.so'
build/core/Makefile:43: warning: overriding commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:532: warning: ignoring old commands for target `/home/aidas/aokp/out/target/product/e610/system/lib/hw/nfc.default.so'
PRODUCT_COPY_FILES vendor/aokp/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES vendor/aokp/prebuilt/bootanimation/bootanimation_480_800.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE e610
make -C kernel/lge/msm7x27a-common O=/home/aidas/aokp/out/target/product/e610/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/aidas/aokp/prebuilts/misc/linux-x86/ccache/ccache /home/aidas/aokp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_m4_defconfig
make[1]: Entering directory `/home/aidas/aokp/kernel/lge/msm7x27a-common'
GEN /home/aidas/aokp/out/target/product/e610/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c:200:24: fatal error: zconf.hash.c: No such file or directory
compilation terminated.
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [cyanogenmod_m4_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/aidas/aokp/kernel/lge/msm7x27a-common'
make: *** [/home/aidas/aokp/out/target/product/e610/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/aokp$
help
plz port for lava xtron plus tab
1.5 ghz dual core rockchip 3066 1gb ram 400 mali gpu 7' tablet
This is a good guide. Good links to.
http://forum.xda-developers.com/showthread.php?p=32750231#post32750231
Anybody help please
Hi, can I install (s3 neo gt i9300) cm 13 ROM on my device (s3 neo gt i9301)? Anybody answer please because camera on cm 12.1 which I've installed isn't working:crying: If my father knew about this, he'll kill me
super ziad said:
Hi, can I install (s3 neo gt i9300) cm 13 ROM on my device (s3 neo gt i9301)? Anybody answer please because camera on cm 12.1 which I've installed isn't working:crying: If my father knew about this, he'll kill me
Click to expand...
Click to collapse
i9301 has two varients with different camera sensors, that is why the camera is not working. to fix it you need to flash this fix
source http://forum.xda-developers.com/showpost.php?p=60506610&postcount=2
if you want to go back to stock this post may help
Is There Any App To Create Cyanogenmod Roms
Abdullaharis said:
Is There Any App To Create Cyanogenmod Roms
Click to expand...
Click to collapse
No there is not but I would recommend taking a look at this very helpful guide https://wiki.cyanogenmod.org/w/Development#Learning_To_Build_CM.
shimp208 said:
No there is not but I would recommend taking a look at this very helpful guide https://wiki.cyanogenmod.org/w/Development#Learning_To_Build_CM.
Click to expand...
Click to collapse
Thanks I Will Try It
Abdullaharis said:
Thanks I Will Try It
Click to expand...
Click to collapse
hey dude, I want build a cyanogenmod 13 for unsupported device, the link is down... can you help me please?
Thank you very much
Milor123 said:
hey dude, I want build a cyanogenmod 13 for unsupported device, the link is down... can you help me please?
Thank you very much
Click to expand...
Click to collapse
It is time to build lineage OS?
Help
Hello every one.
My tablet(lenovo tab s8-50lc)is rooted.
I tried to install a cyanogenmod for it,but it's model doesn't support.
So i'm confused.please tell me what I should do.
If there is a supported device that is similar my device features,introduce it.
Thanks a lot
will this work for j200h

[Q] Help!

I'm trying to build AOSP ICS source for my device, the Samsung Galaxy Ace II X (GT-S7560M and Canadian variant of Galaxy Ace 2. My device comes with ICS 4.0.4 stock with Touchwiz UX), which is similar to the Galaxy S Duos (GT-S7562) for those of you that are having trouble finding specs. I attempted to port the device tree from the Galaxy Tab 7.7 because they have similiar specs (besides the screen size). I'm using Ubuntu 10.04 and I keep on getting this error message (in the terminal) after entering the command 'lunch kylessopen-userdebug'. I found that the device also has similar specs to the Nexus S so I executed the proprietary binary .sh files from https://developers.google.com/android/nexus/drivers#crespoimm76d (sorry having trouble with hyperlink button) because I was unable to collect proprietary files from my device (didn't work). Please help me out, it would be awesome if I could compile at the very least a partially-functional AOSP ICS build. If you need anything as a reference (ie device tree), feel free to ask for it. Thanks! Below is the message that I got in the Ubuntu 10.04 terminal:
[email protected]:~/ICS_SOURCE# lunch kylessopen-user
build/core/product_config.mk:204: *** No matches for product "kylessopen". Stop.
** Don't have a product spec for: 'kylessopen'
** Do you have the right repo manifest?
Read my SOURCE TUT WARPED420 it may help
Warped420 said:
Read my SOURCE TUT WARPED420 it may help
Click to expand...
Click to collapse
I'm getting a different error after fixing up the device tree (a bit). When I initiate the compile process ("make"), I get the following:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
build/core/main.mk:806: *** missing separator. Stop.
Click to expand...
Click to collapse
The line "build/core/main.mk:347: implicitly installing apns-conf_sdk.xml" stays for 15-30 seconds then I get the 'missing separator' message and the compile process stops. I've tried putting a separator (only works with =) at the end of line 806 in my main.mk, but then I get another missing separator message for a different line in main.mk. After putting separators at the end of a dozen or so lines, I get a different message when initiating the 'make' process:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
host Java: jsr305lib (out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/javalib.jar] Error 41
Click to expand...
Click to collapse
Attached is my main.mk (from ICS_SOURCE/build/core/) renamed to main.txt because XDA won't let me upload an .mk file. If anybody is reading this, please help me. You can either tell me what to fix, or you can modify my main.mk for me. Please help!
EDIT - NEW PROBLEM!!!
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `/usr/lib/jvm/jdk1.6.0_45/jre/lib/tools.jar', needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop.
Click to expand...
Click to collapse
I don't have a doc-comment-check-timestamp....somebody help me out?
try using ". build/envsetup.sh && brunch (name of device ) and post your results... and dont run under root #.. run under $
and u may want to check your java version, i use Oracle 6 without issues.. and did you put java and sdk in your path of the build, its all explained in my tutorial

Java Error on compiling

Hello,
I am a noob and i am trying to learn to port make custom Roms etc. I am trying to port CM 10 to Lg L7 2 (p710). I downloaded the original source code from lg website (4.1.2 Jelly Bean) and the corresponding open source android from git with repo sync (the version i needed 4.1.2_r1). Followed Lg instruction to build AOSP and at the last step when i am using the command make -j4 this stupid error blows everything. I searched the Sun Java 1.6 but on Ubuntu forums it says that is discontinued. Please help. You have the log down. Thank you.
[email protected]:~/WORKING_DIRECTORY$ make -j4
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-19-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=out
============================================
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_30".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
build/core/main.mk:141: *** stop. Stop.
@christi9503 http://forum.xda-developers.com/showthread.php?t=2464683 read the bit up until setting up repo which you've already done. Android needs a specific Java version
HTCDreamOn said:
@christi9503 http://forum.xda-developers.com/showthread.php?t=2464683 read the bit up until setting up repo which you've already done. Android needs a specific Java version
Click to expand...
Click to collapse
Amazing man solved pretty fast. I understand i needed a different version but all the infos i found were ambiguous. Thanks a tone really helpfull

ZVA Release Date?

Does anyone know when Sprint is going to release ZVA? LG says they have had the release for some time and will not release it.
its on LG open source site (need to be built) so.... Sprint should (in theory) have it out pretty soon:fingers-crossed:
I'd guess Monday the 22nd or Friday the 26th. But remember not everyone gets the update at once. Could take weeks. Granted it will be here surely.
geeksmurf said:
I'd guess Monday the 22nd or Friday the 26th. But remember not everyone gets the update at once. Could take weeks. Granted it will be here surely.
Click to expand...
Click to collapse
That is oddly specific
Hey, I'm going to try to build ZVA from source. I am currently getting the offical android source (should take a couple of hours) then I will merge the source code with the LG sources as instructed and build. If I don't run into any build errors or any other major problems I might have something ready to upload tomorrow by this time. Does anyone have some free hosting other than dropbox or google drive? I'm going to try androidfilehost.com if it actually builds. Also if I upload this I cannot guarentee that it will work and I'm not going to fix bugs. Also you will need to bumb it as I'm not going to do that either. I'll post an update tomorrow.
l33tlinuxh4x0r said:
Hey, I'm going to try to build ZVA from source. I am currently getting the offical android source (should take a couple of hours) then I will merge the source code with the LG sources as instructed and build. If I don't run into any build errors or any other major problems I might have something ready to upload tomorrow by this time. Does anyone have some free hosting other than dropbox or google drive? I'm going to try androidfilehost.com if it actually builds. Also if I upload this I cannot guarentee that it will work and I'm not going to fix bugs. Also you will need to bumb it as I'm not going to do that either. I'll post an update tomorrow.
Click to expand...
Click to collapse
If you want.... I can help you with hosting, testing and general advice. Send me a PM if you want and I'll send you my hangouts and we can talk about it
1619415 said:
If you want.... I can help you with hosting, testing and general advice. Send me a PM if you want and I'll send you my hangouts and we can talk about it
Click to expand...
Click to collapse
I'm getting build errors but I did find out for sure that it is 5.0.1 and not 5.1. This is probably just a build to patch security holes and make root harder for us.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
TARGET_PRODUCT=aosp_fugu
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=silvermont
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.0.5-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=out
============================================
got past the first error. I was missing gperf also the above is information about the build.
---------- Post added at 12:35 PM ---------- Previous post was at 11:44 AM ----------
Code:
target C++: panorama_bench <= development/perftests/panorama/feature_mos/src/mosaic/ImageUtils.cpp
File "cts/tools/selinux/src/gen_SELinux_CTS.py", line 29
print usage
^
SyntaxError: Missing parentheses in call to 'print'
cts/tests/tests/security/Android.mk:50: recipe for target 'out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml' failed
make: *** [out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (34:22 (mm:ss)) ####
Any ideas on how to get past this error?
l33tlinuxh4x0r said:
I'm getting build errors but I did find out for sure that it is 5.0.1 and not 5.1. This is probably just a build to patch security holes and make root harder for us.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
TARGET_PRODUCT=aosp_fugu
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=silvermont
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.0.5-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=out
============================================
got past the first error. I was missing gperf also the above is information about the build.
---------- Post added at 12:35 PM ---------- Previous post was at 11:44 AM ----------
Code:
target C++: panorama_bench <= development/perftests/panorama/feature_mos/src/mosaic/ImageUtils.cpp
File "cts/tools/selinux/src/gen_SELinux_CTS.py", line 29
print usage
^
SyntaxError: Missing parentheses in call to 'print'
cts/tests/tests/security/Android.mk:50: recipe for target 'out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml' failed
make: *** [out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (34:22 (mm:ss)) ####
Any ideas on how to get past this error?
Click to expand...
Click to collapse
Do you have the right packages?
Hit me up on hangouts: [email protected]
1619415 said:
Do you have the right packages?
Click to expand...
Click to collapse
still having issues.
l33tlinuxh4x0r said:
I'm getting build errors but I did find out for sure that it is 5.0.1 and not 5.1. This is probably just a build to patch security holes and make root harder for us.
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.1
TARGET_PRODUCT=aosp_fugu
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=silvermont
TARGET_CPU_VARIANT=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.0.5-1-ARCH-x86_64-with-glibc2.2.5
HOST_BUILD_TYPE=release
BUILD_ID=LRX22C
OUT_DIR=out
============================================
got past the first error. I was missing gperf also the above is information about the build.
---------- Post added at 12:35 PM ---------- Previous post was at 11:44 AM ----------
Code:
target C++: panorama_bench <= development/perftests/panorama/feature_mos/src/mosaic/ImageUtils.cpp
File "cts/tools/selinux/src/gen_SELinux_CTS.py", line 29
print usage
^
SyntaxError: Missing parentheses in call to 'print'
cts/tests/tests/security/Android.mk:50: recipe for target 'out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml' failed
make: *** [out/target/common/obj/APPS/CtsSecurityTestCases_intermediates/assets/selinux_policy.xml] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (34:22 (mm:ss)) ####
Any ideas on how to get past this error?
Click to expand...
Click to collapse
aosp_fugu? is that build based on the Nexus Player?
Jimmy50941 said:
aosp_fugu? is that build based on the Nexus Player?
Click to expand...
Click to collapse
I thought that that was weird too. But that is what happens when you follow the instructions exactly. Another option that I saw when I was digging around saw hammerhead which iirc is the nexus 5. Please correct me if I'm wrong. I'm busy this weekend but If I get some free time before the official release I will play with it again.
l33tlinuxh4x0r said:
I thought that that was weird too. But that is what happens when you follow the instructions exactly. Another option that I saw when I was digging around saw hammerhead which iirc is the nexus 5. Please correct me if I'm wrong. I'm busy this weekend but If I get some free time before the official release I will play with it again.
Click to expand...
Click to collapse
You won't ever get a working build from lg's open source and aosp combined. Much of what lg puts into it's version of android is closed source. All you have from lg is the few open source bits. I know - their instructions make it seem like you can build a rom from it but you never will. However - the kernel can be built from the instructions they supply because the kernel has to be fully open source.
HPTesla said:
You won't ever get a working build from lg's open source and aosp combined. Much of what lg puts into it's version of android is closed source. All you have from lg is the few open source bits. I know - their instructions make it seem like you can build a rom from it but you never will. However - the kernel can be built from the instructions they supply because the kernel has to be fully open source.
Click to expand...
Click to collapse
Thanks for clearing that up.
l33tlinuxh4x0r said:
Thanks for clearing that up.
Click to expand...
Click to collapse
No problem - I tried myself with earlier versions until I realized it was impossible.
It's out... Factory Reset Protection is only listed change....
wonder if it prevents us from using a tot to go backwards
jcwxguy said:
wonder if it prevents us from using a tot to go backwards
Click to expand...
Click to collapse
looks like it keeps people from factory resetting your phone without your password if they steal it at least that is what it says at the following link. http://www.theandroidsoul.com/sprin...5-1-its-about-factory-reset-protection-80894/
oh and by the way it does not prevent downgrading.

Categories

Resources