Hello all,
I am trying to port Cyanogendmod 10.1 to a new device - Hyundai T7S.(smdk4412 based).
I have successfully compiled CWM recovery image and it work good on the tablet.
But when I try to build the whole ROM I receive the following errors:
android-dev/cm10.1/out/target/product/t7s/system/app/Exchange2.apk
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_MMAC" in android.app.admin.DeviceAdminInfo
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_SELINUX" in android.app.admin.DeviceAdminInfo
DroidDoc took 251 sec. to write docs to /home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check
make: *** [/home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check-timestamp] Error 45
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I've tried to find some solutions, but haven't found anything.
Could you please help me to resolve the errors?
Thanks.
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
steals said:
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
Click to expand...
Click to collapse
Hi I'm trying to compile cm 10.1 for another phone, samsung galaxy mini 2, but I get that same error. I used the solution you describe but didn't work. Did you found that solution yourself, or found another forum/thread/whetever that this is discussed? If so, could you poin it to me, because google searching gave me nothing:/
Hi all,
I've been compiling many kernels, but this error is bugging me. I'm compiling a custom kernel for grand 2, using linaro 4.9.2 and I get this error:
Code:
drivers/built-in.o:(.data+0xdbc8): undefined reference to `gpio_event_input_func'
make: *** [.tmp_vmlinux1] Error 1
How can I solve the above error, please help me. Here is my source code:
http://github.com/Ateekujjawal/android_kernel_samsung_ms013g/tree/master
Q&A for [GUIDE]Building a Kernel from source{Mediatek}
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE]Building a Kernel from source{Mediatek}. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
mt6582 config.gz/defconfig
sir can i ask for a config.gz or a defconfig of a device similar to mine .. my device specs below
starmobile up
Mt6582
ips 480x854 screen
mali mp2
8mp back
2mp front
or can i get a config.gz or defconfig with just only mt6582 similar..
please if you got one can i have yours..
thanks in advance
building mt8127 dfo_boot.h error
Hello,
I'm currently trying to compile the mt8127 kernel and I'm mainly using your post as a guide on how to do that.
When I use
Code:
cp ../mediatek/config/mt8127/autoconfig/kconfig/platform .config
I get this error at zImage:
Code:
[B][email protected]:~/source/kernel$ make zImage v=1[/B]
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CC init/main.o
In file included from init/main.c:75:0:
/home/android/source/kernel/arch/arm/include/asm/setup.h:18:27: fatal error: mach/dfo_boot.h: No such file or directory
compilation terminated.
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
If I try to make the configs instead of copying them I get the following error:
Code:
[email protected]:~/source/kernel$ make mediatek-configs
make: *** No rule to make target `../out/target/product/mt8127/obj/CUSTGEN/config/autoconfig/kconfig', needed by `mediatek-configs'. Stop.
My exports:
Code:
TARGET_BUILD_VARIANT=userdebug
TARGET_PRODUCT=mt8127
MTK_ROOT_CUSTOM=../mediatek/custom/
MTK_PLATFORM=mt8127
ARCH_MTK_PLATFORM=mt8127
TARGET_KERNEL_VERSION=mt8127
PATH=~/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin:$PATH
CROSS_COMPILE=arm-linux-androideabi-
ARCH=arm
KERNEL_DIR=~/source/kernel
I think dfo_boot.h should be a file, whicht is automatically generated during "make mediatek-configs" and I haven't had any luck figuring out a fix to the problem since I'm a n00b.
Shold "make mediatek-configs" not be the reason for my missing dfo_boot.h, could you please explain to me where I can get it from or how its generated.
mfg
Moonwolf
Hi Master Awesome. Firstly, I wanna say a big "Thank you!" to you for this guide. However, whenever I install those required packages, they BREAK MY LINUX INSTALLATION. My machine no longer shuts down or boots successfully. WHY? I'm running 64 bit Ubuntu 12.04 LTS. I appreciate your response. Thanks!
ABS or AOSP
Hello.
For bulid a MTK is more ABS or AOSP??
Best Regards
Problem
[email protected]:~/mediatek/custom/Kernels/kernel$ make menuconfig
/home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile:1: *** missing separator. Stop.
[email protected]:~/mediatek/custom/Kernels/kernel$
can you help me
@BlackObyo read this. Basically you've got some spaces in that Makefile where there should be tabs. Did you edit that file manually at all in a text editor? Send me that file, /home/ipul/mediatek/custom/Kernels/kernel/mediatek/Makefile , by attaching it in a post here and I'll have a look, unless you think you can sort it.
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
BlackObyo said:
@HTCDreamOn
I do not change the contents makefile
i dont have access to make attachments
i sent my makefile via PM
Click to expand...
Click to collapse
weird, it looks fine to me, as it should do if you've not touched it. I don't own a MediaTek device, so I can only recommend making sure you've followed the guide exactly. Other than that you could tell me your device and which source you're using and I could have a quick investigation?
help
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$ make zImage
find: `../mediatek/custom/common/kernel/alsps/al3006/al3006.h': File name too long
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
[email protected]:~/mediatek/custom/KK-Kernel-MT6572-master/kernel$
Click to expand...
Click to collapse
help me
MY WHOLE WORK IS
MY DEVICE IS MICROMAX A77 AND MY DEVICE IS CLONNED FROM FLYIQ4404 DEVICE EXPECT TOUCHPANNEL ALL THINGS ARE SAME (MY TOUCHPANNEL IS OF MSG2133 AND FLY IQ4404 IS FT2103)
FLY IQ4404 HAD LOOLIPOP IN ITS DEVICE I ALSO WANT SAME
I USED IT FRIMWARE DIRECTLY FLASHED IT VIA SP FLASH TOOL (REPLACED PRELOADER AND LK.BIN)
IT SUCCESSFULLY BOOTED
BUT TOUCH IS NOT WORKING ?
COMPILED IT SOURCE WITH HELP OF THAT FLYIQ4404 DEVS AND AFTER USING THAT BOOT I GOT WHITE SCREEN AFTER LOGO.BIN HELP NEEDED
MY DEVICE PROPERTIES
LCM= otm8018b_dsi_vdo
TOUCHPANNEL=MSG2133
MORE THINGS NEEDED ASK ME I WILL BE FREE FOR YOU ALWAYS
SOURCE LINK:-
https://github.com/powern/KK_kernel_iq4404_MT6572?files=1
SOME ONE HELP ME TO COMPILE
THIS SOURCE WITH TOUCH DRIVER MSG2133 IT IS A HUMBLE REQUEST
Sent from my Micromax A77 using XDA Free mobile app
anyone here help me to find these imagesensors drivers
i googled it lot but got nothing so someone pls help me
soc5140_mipi_yuv
ov5645_mipi_yuv
gc0329_yuv
hi704_yuv @hyperNeon70 pls help me
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
~cyandrew said:
Hello Master Awesome. I am compiling my kernel using your guide. But I am stuck at "make menuconfig", it says "make: no such command"
Click to expand...
Click to collapse
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
murtaza1326 said:
Hello Buddy read your ReadMe file there will be a speciall command will be there from donor of source
Sent from my m2 using XDA-Developers mobile app
Click to expand...
Click to collapse
There was no readme file along with the source. I was able to compile the kernel but ended up unsuccessful, it says a bunch of errors, such as "make[x]: (net) error" "make[x]: error, cannot find kernel_byd82_wet_kk.bin" where byd82_wet_kk is the Target_project
Sent from my MT6582 using XDA-Developers mobile app
Problem Compiling arm 64 bit CM-13.0 gives me error:
make: *** No rule to make target `/root/Cyanogenmod-13.0/out/target/product/generic/obj/KERNEL_OBJ/usr', needed by `/root/Cyanogenmod-13.0/out/target/product/generic/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/mixer.o'. Stop.
Click to expand...
Click to collapse
@micaiahmorris ,
Try to create manually folder <KERNEL_OBJ> and <usr> in /root/Cyanogenmod-13.0/out/target/product/generic/obj/.
I had this problem, now it's gone for me.
Code:
Assembler messages:
arch/arm64/kernel/entry-fpsimd.S:53: Error: unexpected end of file in irp or irpc
/tmp/cczAQDmw.s: Error: local label `"0" (instance number 1 of a fb label)' is not defined
make[1]: *** [scripts/Makefile.build:344: arch/arm64/kernel/entry-fpsimd.o] Error 1
I got this error, I searched on Google but found nothing about it. I use Google's gcc-4.9 toolchain.
May anyone help me please?
Hi!
This is a preliminary suggestion, the ROM is not made for your phone.
CFCbazar said:
Hi!
This is a preliminary suggestion, the ROM is not made for your phone.
Click to expand...
Click to collapse
But I got this from Samsung OSS, just want to compile my device's kernel :/
Are you sure that you have the floating point configuration correct?
Code:
CONFIG_KERNEL_MODE_NEON
CONFIG_ENABLE_FP_SIMD_SETTINGS
Renate said:
Are you sure that you have the floating point configuration correct?
Code:
CONFIG_KERNEL_MODE_NEON
CONFIG_ENABLE_FP_SIMD_SETTINGS
Click to expand...
Click to collapse
I have CONFIG_KERNEL_MODE_ON as y on my defconfig but I don't have CONFIG_ENABLE_FP_SIMD_SETTINGS on my defconfig.
gorkemoji said:
But I got this from Samsung OSS, just want to compile my device's kernel :/
Click to expand...
Click to collapse
That's not a guarantee. It has happened before. Or you could try the steps from their site. Maybe you missed something.
Maybe the assembler and your FPU type don't agree.