Error when building rom for 810 - Galaxy Tab S2 Q&A, Help & Troubleshooting

I'm trying to build a 6.0.1 rom for 810 tablet and I'm running into this error:
Code:
make: *** No rule to make target '/home/anks329/broken/out/target/product/gts210wifi/obj/SHARED_LIBRARIES/libexynosv4l2_intermediates/export_includes', needed by '/home/anks329/broken/out/target/product/gts210wifi/obj/SHARED_LIBRARIES/libExynosHWCService_intermediates/import_includes'. Stop.
Any suggestions on how I can approach fixing this issue? I've tried everything that I can think of, and I don't know what might be causing the problem. My git sources are: https://github.com/anks329
Thank!

Related

Help Inserting Multi Touch Patch Into Kernel

I've combined different features from Cyanogen's and JesusFreke's kernel .config files (from /proc/config.gz) into a git clone of android-msm-2.6.29 from android.git.kernel.org. The reason is that for some reason suid does not work properly when running debian as a non-root user on my G1 with Cyanogen's kernels. However it does with JesusFreke's. While I was able to fix that problem, and keep Cyanogens optimizations, I also unfortunately lost Cyanogen's kernel support for multitouch. I assumed this is because he is using a patched version of the synaptics touchpad driver, whereas I was not. So, I tried to download this Kernel Patch (http://web.mit.edu/~luke_h/www/MultiTouchV4/src/KernelPatch.zip), which is what I believe Cyanogen used. However, after replacing the target file with the included one, the make fails with the following:
...
CC drivers/input/touchscreen/synaptics_i2c_rmi.o
drivers/input/touchscreen/synaptics_i2c_rmi.c:31:1: warning: "swap" redefined
In file included from include/linux/cache.h:4,
from include/linux/time.h:7,
from include/linux/stat.h:60,
from include/linux/module.h:10,
from drivers/input/touchscreen/synaptics_i2c_rmi.c:18:
include/linux/kernel.h:483:1: warning: this is the location of the previous definition
drivers/input/touchscreen/synaptics_i2c_rmi.c: In function 'synaptics_ts_probe':
drivers/input/touchscreen/synaptics_i2c_rmi.c:513: error: 'struct i2c_client' has no member named 'driver_name'
drivers/input/touchscreen/synaptics_i2c_rmi.c: At top level:
drivers/input/touchscreen/synaptics_i2c_rmi.c:639: warning: initialization from incompatible pointer type
make[3]: *** [drivers/input/touchscreen/synaptics_i2c_rmi.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
...
Any thoughts on where to proceed from here?

[Q] Building CM11 for i9295

Hey.
I was trying to build CM11 for i9295 following the recipe http://forum.xda-developers.com/showthread.php?t=2658534
I installed fresh ubuntu 14.04, added all the build environment, installed updated java and then executed 'brunch jactiveltexx'.
Unfortunately my build didn't succeed. after few hours of compilation it failed complaining about some emtpy zip file. Could you advise me on what could be wrong? It is a fresh sync.
Here comes my build crash-log.
cheers
- M.
UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.zip.ZipFile.<init>(ZipFile.java:159)
at com.android.dx.cf.direct.ClassPathOpener.processAr chive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOn e(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(C lassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main. java:596)
at com.android.dx.command.dexer.Main.processAllFiles( Main.java:498)
at com.android.dx.command.dexer.Main.runMonoDex(Main. java:264)
at com.android.dx.command.dexer.Main.run(Main.java:23 0)
at com.android.dx.command.dexer.Main.main(Main.java:1 99)
at com.android.dx.command.Main.main(Main.java:103)
1 error; aborting
make: *** [/home/marcin/android/system/out/target/common/obj/APPS/Mms_intermediates/classes-with-local.dex] Error 1
make: *** Waiting for unfinished jobs....
Use Java from Oracle, not openJDK
Hi
I have partially overcome problem with compilation.
I realized that I'm using wrong JDK.
After following this (ubuntuhandbook.org/index.php/2014/02/install-oracle-java-6-7-or-8-ubuntu-14-04/) I got the right one.
Unfortunately build still fails. This time I fail to figure what actually went wrong. Repo is synced, everything is updated. Could somebody have a look on this:
gist.github.com/anonymous/f98c0c948c5dbf857160
cheers
- M.

[DEV][DISCUSSION][GT-I9192][S4 mini Duos][AOSP/CAF 6.0.1] Bringing up AOSP roms

I am starting this thread to bring up AOSP/CAF based roms to our device gt-i9192 s4 mini duos.
This thread is for developers only and only rom building and rom bring up questions and discussions are allowed in this thread.
Best way is post the building errors, logcats, source code tree links here so that we all can help each other to fix the errors while building or rom booting.
For those who are keen to learn fixing bugs should read following article by great developer pawitp
https://medium.com/@pawitp/investigating-and-fixing-an-android-rom-bug-685f3e2e3806
Generally for aosp rom bring up - you need 2 files in your device trees
Code:
aosp_serranodsdd.mk
AndroidProducts.mk
like in other devices
See following commit to make your tree compatible with aosp
Code:
https://github.com/pawitp/android_device_samsung_i9082/commit/e5bf34bdfb42394e562ae66e068367dec38a6459
like this i have created one for us
Code:
https://github.com/i9192/android_device_samsung_serranodsdd/blob/n/aosp_serranodsdd.mk
https://github.com/i9192/android_device_samsung_serranodsdd/blob/n/AndroidProducts.mk
some of aosp roms need special files for their bring up like
for cm - cm.mk
for omni - omni_device.mk
for broken - broken.mk
for tipsy - tipsy.mk
for PA - pa_device.mk
for krexus - krexus_device.mk
for purenexus - pure_device.mk
All those who are building can post their questions, queries , bugs on this thread...we will fix them together
some one else working on n preview other than me???? or someone is willing to build and work on it ????
if yes post your questions ..i will try to answer that here
k2wl said:
some one else working on n preview other than me???? or someone is willing to build and work on it ????
if yes post your questions ..i will try to answer that here
Click to expand...
Click to collapse
yes i was working on it but its now in the queue , display was blank but i was getting the logcat.
now i m working to build AOSP 6.0 , i got a sepolicy denial so i fixed it with this commit https://github.com/FaArIsH/platform...mmit/e35f718c7939b0f178bd1869396a472daa404075
but now i m getting this error
Code:
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for qtitetherservice.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.seemp.health.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.auth.securesampleauthdaemon.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.qseeproxysample.
i have removed the line vendor/aosp/sepolicy from msm8930-common and its now finished building but i don't think it will boot becasue i skipped the sepolicy error
DarkFrenzy said:
yes i was working on it but its now in the queue , display was blank but i was getting the logcat.
now i m working to build AOSP 6.0 , i got a sepolicy denial so i fixed it with this commit https://github.com/FaArIsH/platform...mmit/e35f718c7939b0f178bd1869396a472daa404075
but now i m getting this error
Code:
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for qtitetherservice.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.seemp.health.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.auth.securesampleauthdaemon.
/home/farish_priv/ap/out/target/product/serranodsdd/obj/ETC/service_contexts_intermediates/service_contexts: Mult
iple same specifications for com.qualcomm.qti.qseeproxysample.
i have removed the line vendor/aosp/sepolicy from msm8930-common and its now finished building but i don't think it will boot becasue i skipped the sepolicy error
Click to expand...
Click to collapse
use permissive mode for now and use sonyaosp sepolicy for time being...it builds fine and as we use permissive mode you get rid of major denials for boot.
post your logcat here
k2wl said:
some one else working on n preview other than me???? or someone is willing to build and work on it ????
if yes post your questions ..i will try to answer that here
Click to expand...
Click to collapse
My device is defective, I will be sending him to repair and as soon as pick it back I'll get to work with n preview (to help).
tioguda said:
My device is defective, I will be sending him to repair and as soon as pick it back I'll get to work with n preview (to help).
Click to expand...
Click to collapse
great
aosp-caf
For CAF sources, should I use the regular CM device tree or AOSP? I am trying CM tree except for the aosp_serranodsdd and AndroidProducts..mk files.
How do you fix this properly?
Code:
build/core/Makefile:46: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/serrano-common/prebuilt/Eleven.apk:system/app/Eleven/Eleven.apk, use BUILD_PREBUILT instead!. Stop.
I deleted the line in serrano-common.mk because I can't figure out how to use build_prebuilt
I am also getting stuck at this error:
Code:
*** No rule to make target `/home/endre/aosp-caf/out/target/product/serranodsdd/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by `/home/endre/aosp-caf/out/target/product/serranodsdd/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes'. Stop.
One more question. Is there a general guide on how to troubleshoot these "No rule to make target" errors? It drives me crazy that usually both files the error message is referring to are in the "out" folder and I have no idea where the original command line is or what to do. I am also trying a PA build and that one keeps dying on me as well with this type of error just on a different file.
csendre said:
For CAF sources, should I use the regular CM device tree or AOSP? I am trying CM tree except for the aosp_serranodsdd and AndroidProducts..mk files.
How do you fix this properly?
Code:
build/core/Makefile:46: *** Prebuilt apk found in PRODUCT_COPY_FILES: device/samsung/serrano-common/prebuilt/Eleven.apk:system/app/Eleven/Eleven.apk, use BUILD_PREBUILT instead!. Stop.
I deleted the line in serrano-common.mk because I can't figure out how to use build_prebuilt
I am also getting stuck at this error:
Code:
*** No rule to make target `/home/endre/aosp-caf/out/target/product/serranodsdd/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by `/home/endre/aosp-caf/out/target/product/serranodsdd/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes'. Stop.
One more question. Is there a general guide on how to troubleshoot these "No rule to make target" errors? It drives me crazy that usually both files the error message is referring to are in the "out" folder and I have no idea where the original command line is or what to do. I am also trying a PA build and that one keeps dying on me as well with this type of error just on a different file.
Click to expand...
Click to collapse
for caf or aosp build use cm tree...you need to fix your tree for errors.
for prebuilt apk error use following commit in build folder. Apply this commmit and it should build prebuild apks copies properly during build
https://github.com/i9192/platform_build/commit/6ceb823426e5f8b20fd39862013c909d37b415e9
Click to expand...
Click to collapse
for libaudiopolicyservice_intermediates error you need to set
BOARD_USES_GENERIC_AUDIO := false
Click to expand...
Click to collapse
flag in your boardconfig.mk
No rule to make target means something is missing on your device tree to build that particular thing.YOu need to search for it.
Like for audiopolicyservice error i search github for
SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes
Click to expand...
Click to collapse
and in issues i found a thread disccussing something...there someone told that you need to set that flag to get rid of error.
https://github.com/hak86/android_device_huawei_p8litekirin/issues/7
Click to expand...
Click to collapse
you need to search on google,xda,github, for this ...sometimes you need to ask cm team on their developer channel on irc, sometimes you need to discuss things with developers of that particular rom over their official community page like on google plus or something else...most of the time you will get the answer...and look for commits from good developers...like cm team, pawitp, purenexus, krexus, screwdaosp. Their commits most of the time show us the way.
k2wl said:
some one else working on n preview other than me???? or someone is willing to build and work on it ????
if yes post your questions ..i will try to answer that here
Click to expand...
Click to collapse
Sorry for the intrusion on the topic (I'm not developer), but wish you good luck in your intention. Remember that we have a device that is the last of its class: Good and Compact.
I could buy another model, but I opted for a new battery. Two years using S4 Mini. And I will continue. Until all give up it.
While there are developers, S4 Mini will remain alive.
ADR USR said:
Sorry for the intrusion on the topic (I'm not developer), but wish you good luck in your intention. Remember that we have a device that is the last of its class: Good and Compact.
I could buy another model, but I opted for a new battery. Two years using S4 Mini. And I will continue. Until all give up it.
While there are developers, S4 Mini will remain alive.
Click to expand...
Click to collapse
yes... last of it's class really...i am willing to go beyond to keep this device alive.
after iphone se i thought android oems will introduce smaller devices but still nothing...
and if i can boot up aosp 7.0 then i think ...arco and others who are working on cm14 afterwords will support this device too.
why these libs are not building (there are not in the zip file nor in the our dir) does android N doesnt need them ?
libOmx*
liboverlay.so
libstagefrighthw.so
and few others
DarkFrenzy said:
why these libs are not building (there are not in the zip file nor in the our dir) does android N doesnt need them ?
libOmx*
liboverlay.so
libstagefrighthw.so
and few others
Click to expand...
Click to collapse
as i can see new n preview build system somehow does not build libstagefrighthw.so but it build libstagefright.so only..but all zips for preview builds for all devices have libstagefrighthw.so...i am working on that since last two days to build libstagefrighthw.so from source..but i guess we have to use it as prebuild file from cm 13 roms.
as i have compared...audio,media,display folders are not changed much in n preview so i guess we can safely use that prebuilt binary from cm 13 tree
UPDATE_
found the issue...it looks like cm repos we use does not build libstagefrighthw lib...i will fix this issue soon
Trying to build tipsy rom and the build dies when it gets to the kernel with the following error
Code:
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
make[4]: *** [scripts/mod/empty.o] Error 2
make[3]: *** [scripts/mod] Error 2
make[3]: *** Waiting for unfinished jobs....
SHIPPED scripts/genksyms/parse.tab.c
I checked the staging area and build tools are present in the usual /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin folder, so probably the path is not set right, but where is this set, how do I check it?
csendre said:
Trying to build tipsy rom and the build dies when it gets to the kernel with the following error
Code:
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
make[4]: *** [scripts/mod/empty.o] Error 2
make[3]: *** [scripts/mod] Error 2
make[3]: *** Waiting for unfinished jobs....
SHIPPED scripts/genksyms/parse.tab.c
I checked the staging area and build tools are present in the usual /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin folder, so probably the path is not set right, but where is this set, how do I check it?
Click to expand...
Click to collapse
add this line to BoardConfigCommon.mk or BoardConfig.mk
Code:
# Kernel Toolchain
KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
KERNEL_TOOLCHAIN_PREFIX := arm-eabi-
@DarkFrenzy thanks, this worked! This seems to be a workaround though, shouldn't this path be defined somewhere in the build directory?
This reminds me, does anyone know a guide/list with commands/parameters that can be set in boardconfig and device make files? Also, how do you decide if a configuration should be set in boardconfig.mk, device.mk or another make file?
I am stuck again. Should I remove fileutils completely considering it is part of CM and not aosp? If so, how? If i just delete it, I get "no rule to make file" type errors.
Code:
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/KeyDisabler.java:19: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/KeyDisabler.java:35: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/KeyDisabler.java:39: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/KeyDisabler.java:43: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:21: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:48: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:49: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:50: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:84: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/TouchscreenHovering.java:95: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/SerialNumber.java:20: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../device/samsung/serrano-common/cmhw/org/cyanogenmod/hardware/SerialNumber.java:46: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:19: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:30: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:31: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:32: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:33: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:34: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:35: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:40: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:48: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:56: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:64: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:72: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/VibratorHW.java:79: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java:21: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java:38: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java:39: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java:49: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java:60: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:21: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:48: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:49: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:50: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:83: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/HighTouchSensitivity.java:94: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:19: The import cyanogenmod cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:20: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:51: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:53: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:64: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:65: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:66: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:67: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:79: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:85: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:102: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:120: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:122: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/DisplayModeControl.java:134: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/SunlightEnhancement.java:21: The import org.cyanogenmod.internal cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/SunlightEnhancement.java:40: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/SunlightEnhancement.java:41: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/SunlightEnhancement.java:51: FileUtils cannot be resolved
ERROR: /home/endre/tipsy/frameworks/opt/hardware/../../../hardware/samsung/cmhw/org/cyanogenmod/hardware/SunlightEnhancement.java:62: FileUtils cannot be resolved
make: *** [/home/endre/tipsy/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/with-local/classes.dex] Error 41
make: *** Waiting for unfinished jobs....
csendre said:
I am stuck again. Should I remove fileutils completely considering it is part of CM and not aosp? If so, how? If i just delete it, I get "no rule to make file" type errors.
Click to expand...
Click to collapse
Revert that commit https://github.com/CyanogenMod/andr...mmit/afc6bd83906e04b939a1ed8c35b31d02cd631c48
Sent from my SM-T217S using Tapatalk
DarkFrenzy said:
Revert that commit https://github.com/CyanogenMod/andr...mmit/afc6bd83906e04b939a1ed8c35b31d02cd631c48
Sent from my SM-T217S using Tapatalk
Click to expand...
Click to collapse
That was the first thing I tried because I remembered I had the same errors with AOKP when it was merged, but here for some reason it didn't help
csendre said:
That was the first thing I tried because I remembered I had the same errors with AOKP when it was merged, but here for some reason it didn't help
Click to expand...
Click to collapse
U should delete this file if it's there in cmhw DisplayColorCalibration.java
Edit: now I remembered u should revert this commit
https://github.com/CyanogenMod/andr...mmit/d8a7052baa47785c616774f8e2e9acea6246b23a
Sent from my SM-T217S using Tapatalk
DarkFrenzy said:
U should delete this file if it's there in cmhw DisplayColorCalibration.java
Edit: now I remembered u should revert this commit
https://github.com/CyanogenMod/andr...mmit/d8a7052baa47785c616774f8e2e9acea6246b23a
Sent from my SM-T217S using Tapatalk
Click to expand...
Click to collapse
Yes, this looks to be the one. I'll try this evening.

msm_fb kernel error

Hi,
I'm trying to compile my first kernel, more specifically for nethunter on cm13. I've grabbed (what I think is) the source files from github: https://github.com/CyanogenMod/android_kernel_htc_m7/tree/cm-13.0
I've then applied the mac802 patch from the nethuner wiki and have just managed to place the HID patch. When i tried to compile I get the below error, I had a quick Google and it seems to be related to video drivers which seem pretty important to me. Anyone have any ideas how to fix please or point me in the right direction? I've tried searching for the specific warning: info may blah blah blah but that didn't retrieve anything useful.
Code:
drivers/video/msm/msm_fb.c: In function 'msm_fb_commit_thread':
drivers/video/msm/msm_fb.c:2637: warning: 'info' may be used uninitialized in this function
error, forbidden warning: msm_fb.c:2637
scripts/Makefile.build:307: recipe for target 'drivers/video/msm/msm_fb.o' failed
make[3]: *** [drivers/video/msm/msm_fb.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/video/msm' failed
make[2]: *** [drivers/video/msm] Error 2
scripts/Makefile.build:443: recipe for target 'drivers/video' failed
make[1]: *** [drivers/video] Error 2
Makefile:951: recipe for target 'drivers' failed
make: *** [drivers] Error 2
EDIT: Worked it out, 'info' was a variable that wasn't being assigned in the source.

Building OxygenOS Oreo (5.0.1)

Hi! I am trying to build OnePlusOSS (CAF) Oreo for my OP3T (not OxygenOS mixed up the title sorry) but I'm running into errors. I already had some bluetooth errors that I fixed with this commit: https://github.com/AOSPA/android_system_bt/commit/c78c34cdbd6d7163ad93454b5909a04a201117a1
but I now have a new issue, and I can't find a solution. The error I get is this:
Code:
[ 50% 1/2] glob device/*/*/Android.bp
ninja: error: 'out/target/common/obj/JAVA_LIBRARIES/com.qualcomm.qti.camera_intermediates/javalib.jar', needed by 'out/target/product/msm8996/dex_bootjars/system/framework/arm64/boot.art', missing and no known rule to make it
12:30:26 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
Someone had a similar error and the fix was this: https://developer.qualcomm.com/download/sdllvm/snapdragon-llvm-compiler-android-linux64.tar.gz I don't use the toolchain in that post, but there was an error there similar to the one I got. You can visit that link and see the reply and the error that the other person got if you want.
Code:
Hello Fenil, you should see the product package here https://source.codeaurora.org/quic/la/device/qcom/common/tree/base.mk?h=LA.UM.6.7.r1-04900-8x09.0#n1066 in your environment (line 1066) and the QTIC_EXTENSION flag should be enabled here https://source.codeaurora.org/quic/la/platform/vendor/qcom/msm8909go/tree/msm8909go.mk?h=qcom-devices.lnx.1.9.r4-rel#n34(line 34). Can you confirm that? If it is all set up correctly, check vendor/qcom/proprietary. If you need more help with this, you can email me at [email protected]
but that is a different chipset and won't work for my device.
Any help would be awesome! Also, where can I get vendor/qcom/proprietary? Or is that not given out lol.
Sorry, full link for that reply is https://source.codeaurora.org/quic/...ree/base.mk?h=LA.UM.6.7.r1-04900-8x09.0#n1066 and https://source.codeaurora.org/quic/...sm8909go.mk?h=qcom-devices.lnx.1.9.r4-rel#n34

Categories

Resources