trouble building cm13 - Android Q&A, Help & Troubleshooting

I've hit a bit of a brick wall while trying to do my first CyanogenMod build (cm13 on trltespr). Not sure if this should be put on the device board itself but I figured I'd try here first. I've extracted proprietary files from the device, followed the guide on the CM wiki, and while trying to build I'm getting the following error from make:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/javalib.jar', needed by '/home/cmbuild/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar'. Stop.
From what I've gathered I absolutely do not want to skip building either of these libraries, so I'm kind of at an impasse here. Does anyone have any thoughts on what my options may be here?

Actually, i'm starting to get a different error now, quite similar though:
make: *** No rule to make target '/home/cmbuild/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by '/home/cmbuild/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp'. Stop.

^regarding above error message, first one comes from simply running 'make', second one comes from running brunch trltespr

Make Clobber your folder
Do a repo sync..
How about try to use mka..

Related

[ISSUE] Compile cyanoboot: No rule to make target

Hi,
I'm trying to compile the cyanoboot project found at: github.com/CMNookTablet/acclaim_cyanoboot. I have no experience with c++ compiling but I've followed the read-me and seem to have hit a brick wall. I've extracted the downloaded source files and navigated to them in cygwin, I then run the command:
make clean
which looks like it is successful. After that I run
make omap4430sdp_config
which also seems to work but doesn't create any files(not sure if it should?). Then, when I run the final make command I get the error:
makefile:98: /cygdrive/c/cyanoboot/config.mk: No such file or directory
make: *** No rule to make target `/cygdrive/c/cyanoboot/config.mk'. Stop.
This config.mk file definitely does exist, you can see it at the git hub link above and I haven't changed any files. I've been struggling with this for a few hours now and I just cant figure it out. Any help is much appreciated. Thanks.

[Q] Errors Building CyanogenMod 10.2

Here is the Error i get. cant seem to figure out where (copy) is coming from.
make: *** No rule to make target `packages/apps/Settings/res/(copy)/strings.xml', needed by `/home/kevin/android/system/out/target/product/i605/obj/APPS/Settings_intermediates/package.apk'. Stop.
should be packages/apps/Settings/res/values/strings.xml
i even did a repo sync packages/apps/Settings and same Error.
can anyone enlighten me on the error? thanks.

Error on building my ROM

Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
erioho said:
Hi all,
I own an Japanese version of S3 (SC-06D) and I try to build my CM12.1 rom, but I had a problem at the very beginning, see the log below:
make: *** No rule to make target `/home/erio/android/aojp/out/target/product/d2dcm/obj/STATIC_LIBRARIES/libminui_intermediates/export_includes', needed by `/home/erio/android/aojp/out/target/product/d2dcm/obj/EXECUTABLES/healthd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Install: /home/erio/android/aojp/out/target/product/d2dcm/root/sbin/felica_init.sh
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/erio/android/aojp/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 26) to /home/erio/android/aojp/out/target/product/d2dcm/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit
GEN /home/erio/android/aojp/out/target/product/d2dcm/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
make[1]: Entering directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
CHK include/linux/version.h
make[1]: Leaving directory `/home/erio/android/aojp/kernel/samsung/d2dcm'
#### make failed to build some targets (04:37 (mm:ss)) ####
I couldn't found "/libminui_intermediates/export_includes" and "healthd_intermediates/import_includes" and it halt there. I done repo sync perfectly and no ideas on why there is such a problem. Please help.
Click to expand...
Click to collapse
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
zelendel said:
Your issue is that the device is not supported by cm. So you will have to do all the legwork of getting the device trees and all the proper files. You can't use the same files for other s3 on your device.
Click to expand...
Click to collapse
Thanks.
Once I successfully build CM12.1 on 9 July, but afterward, never success and prompt that error.
I reviewed a page on how to build for SC06D: http://lawnfield.blog.fc2.com/blog-entry-61.html
I had done all the things listed there, but finally got that error.
So, what exactly that error means and what should I do to resolve?
It seems (maybe) I solved the problem, now building but not yet complete.
From the source it use CWM as default recovery but now the code is using TWRP, so it halted. And I change it to TWRP and now running. For sure I have not much ideas on why such change in code, may be the KBC-developer intended to do, but not fully.
Another question is, If I would like to build the rom, but not all apks in /system/app, what should I do? As I would like to slim down the rom as some of the files are unnecessary to me, e.g. bootnanimation.zip and the default browser.

Custom OS Build Failure ( no rule to make target for kernel )

I have a ROM that I am trying to build and it is based off of CyanogenMod 12.1, but I am having trouble getting an initial build working. I keep running into the following error.
Code:
No private recovery resources for TARGET_DEVICE hammerhead
make: *** No rule to make target 'out/target/product/hammerhead/kernel', needed by 'out/target/product/hammerhead/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
It seems pretty obvious that it can't figure out how to build the kernel, but I am uncertain how that is hooked into the build system. Is there any good resources I can look at to find out how to build the kernel or integrate it into the build process. So many makefiles and python scripts, I am a little lost
I have the "CyanogenMod/android_kernel_lge_hammerhead" synced to "kernel/lge/hammerhead" but all the resources I have found so far don't provide much insight after that.
Thank you in advance for your help

Troubles while building custom CM(13) for kccat6xx

Ok so I searched for quite a while now and fixed few issues but I don't seem to be able to fix this one.
I'm trying to build a custom CM for kccat6xx(roughly a Samsung Galaxy S5+), beeing my first time I'd assume I'll run into some problems but I think I got more than enough to post here.
Lil' summary:
I followed normal CM guide for klte(since those devices works more or less the same way I'd assume the guide would be more or less the same), I synced and all, got android SDK, OpenJDK(which was quite annoying since first sync was detecting my computer as a MAC while running Gentoo Linux, got fixed in a sync the day after tho) made custom local manifest and made the pre-build thingies
I ran into a first issue at that point, considering libinit_msm or so that was removed from qcom_common in latest commits, had to reverse it to make the build works(dirty but eh, works at least) and after that got several issues that I won't list here that I, for the most fixed.
Then I ran on the issue I'm stuck in for about a day now
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp*»
I tried to edit out BasicDreams, just in case, but then Bluetooth would block. Knowing it is just after BasicDreams in the alphabet I figured out it'll do it for all packages. So then I tried to manually build vendor/cmsdk/cm/res and got this issue:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/acp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*»
I continued then by trying to compile frameworks/base, but of course:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/aidl*», needed for «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/accessibilityservice/IAccessibilityServiceConnection.java*»
So I finally tried to build aidl manually, but then again:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/obj/lib/libc++.so*», needed for «*/home/govanify/android/system/out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl*»
I figured out it'll be endless so I stopped here and tried to do a global make of Cyanogen, maybe it'll integrate dependencies after all
But as you already imagined:
Code:
make: *** Aucune règle pour fabriquer la cible «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar*», nécessaire pour «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar*». Arrêt.
So yeah, help would be very much appreciated, if you want to replicate the issue grab my manifest here: githubDOTcom/GovanifY/main_kccat6xx/blob/master/kccat6xx.xml (I have less than 10 post so unfortunatelly no link) repo sync and a brunch kccat6xx should do the work. You don't need afaik vendor bins since the bin step is not even started at that point, so I guess build should run into the issue smoothly.
Thanks a lot for any help once again, I'm really running out of ideas on that one
Seems like this got fixed by a mma -B in res folder, thanks ciwrl and Decad3nce from #cyanogen-dev for pointing me out!
Edit: res builds correctly but build still fails so issue still open
Last answer to this post: Issue was with a multi-thread error of CyanogenMod build system itself. Getting on a clean ubuntu install fixed this issue(got others in the meanwhile but I was able to build the ROM at the end, still having major issues tho)
I have cyanogen 13 on samsung s5 i have these problems..Help me to fix them
1.When i unistall a app it reboots with out permision or anything and the app is not deleted
2. When i press security settings it says'Unfortunately,Settings has stopped.'

Categories

Resources