custom hal/kernel image senor/lens i think. 3.4.0 kernel ??
Sent from my XOLO A700 using Tapatalk
Img sensor or lens sensor are responsible for camera??....yes 3.4 kernel
Sent from my A110 using Tapatalk
Last edited:
custom hal/kernel image senor/lens i think. 3.4.0 kernel ??
Sent from my XOLO A700 using Tapatalk
Img sensor or lens sensor are responsible for camera??....yes 3.4 kernel
Sent from my A110 using Tapatalk
i think lens sensor cause this....what you say broyup .. sometimes 3.4.0 kernel getting the same error on 4.2.x
Sent from my XOLO A700 using Tapatalk
i think lens sensor cause this....what you say bro
i tried with both acer img sensor and lens sensor no screen full black
i think lens sensor cause this....what you say bro
i tried with both acer img sensor and lens sensor no screen full black
Hi Khan
Yeah, must be either the lens_sensor, or camera #AF50F, etc.
Can you post your compiled kernel error (if any) ?
Maybe we can help you
B.Regards
thanks bro.....
actually i m very noobin kernel compiling but for trying some time i able to compile kernel everything works perfect except camera on 4.2 rom
i think because we port 5mp phone rom
now again trying with aquila-dev kernel source project.config as this give camera on 4.2 rom to c2 and its different as compared to both acer and wiko configs.....
Hope this time i get it Camera :fingers-crossed:
that the thing I m too finding bro.....if I get working I will let you...Hi,
Were you able to fix camera?
I'm having the same problem with wiko cink 5 sources. I've tried many things like setting correct sensors in ProjectConfig.mk but that didn't work.
If you are able to fix it then please share how to do it.
Thanks.
that the thing I m too finding bro.....if I get working I will let you...
/home/khantastic/Desktop/Kernel/google/kernel/mediatek/custom/out/s9081/kernel/magnetometer/bmm050.c:49:30: fatal error: mach/mt6577_devs.h: No such file or directory
/home/khantastic/Desktop/Kernel/google/kernel/drivers/usb/gadget/android.c:
make[4]: *** [mediatek/custom/out/s9081/kernel/magnetometer/bmm050.o] Error 1
make[3]: *** [mediatek/custom/out/s9081/kernel] Error 2
make[2]: *** [sub-make] Error 2
anyone any idea about this error.....i search the whole kernel source but didnt find it
Code:/home/khantastic/Desktop/Kernel/google/kernel/mediatek/custom/out/s9081/kernel/magnetometer/bmm050.c:49:30: fatal error: mach/mt6577_devs.h: No such file or directory /home/khantastic/Desktop/Kernel/google/kernel/drivers/usb/gadget/android.c: make[4]: *** [mediatek/custom/out/s9081/kernel/magnetometer/bmm050.o] Error 1 make[3]: *** [mediatek/custom/out/s9081/kernel] Error 2 make[2]: *** [sub-make] Error 2
Open your <source_vendor>/mediatek/custom/common/magnetometer and <source_vendor>/kernel/mediatek/custom/out/s9081/kernel/magnetometer/bmm050.c
search line 49
#include <mach/mt6577_devs.h>
#include <mach/mt6577_typedefs.h>
#include <mach/mt6577_gpio.h>
#include <mach/mt6577_pm_ldo.h>
remove 6577 each line, to be
#include <mach/mt_devs.h>
#include <mach/mt_typedefs.h>
#include <mach/mt_gpio.h>
#include <mach/mt_pm_ldo.h>
Compiled again...
LD arch/arm/mm/built-in.o
LD arch/arm/kernel/built-in.o
CC arch/arm/common/gic.o
LD arch/arm/net/built-in.o
CC mediatek/platform/mt6577/kernel/core/core.o
In file included from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:10:
/home/opick/IQ440/kernel/../mediatek/platform/mt6577/kernel/core/include/mach/io.h:4:1: warning: "IO_SPACE_LIMIT" redefined
In file included from /home/opick/IQ440/kernel/arch/arm/include/asm/mach/map.h:12,
from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:4:
/home/opick/IQ440/kernel/arch/arm/include/asm/io.h:142:1: warning: this is the location of the previous definition
In file included from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:10:
/home/opick/IQ440/kernel/../mediatek/platform/mt6577/kernel/core/include/mach/io.h:6:1: warning: "__io" redefined
In file included from /home/opick/IQ440/kernel/arch/arm/include/asm/mach/map.h:12,
from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:4:
/home/opick/IQ440/kernel/arch/arm/include/asm/io.h:122:1: warning: this is the location of the previous definition
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: In function 'mt6577_init':
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:18: warning: unused variable 'tmp'
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: At top level:
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:47: error: implicit declaration of function 'IO_VIRT_TO_PHYS'
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:47: error: 'PAGE_SHIFT' undeclared here (not in a function)
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:71: error: implicit declaration of function 'IO_ABB_MDSYS_VIRT_TO_PHYS'
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:89: error: implicit declaration of function 'IO_VER_VIRT_TO_PHYS'
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: In function 'mt6577_map_io':
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:103: error: implicit declaration of function 'BUILD_BUG_ON_ZERO'
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: At top level:
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:107: error: unknown field 'boot_params' specified in initializer
/home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:113: warning: initialization from incompatible pointer type
make[4]: *** [mediatek/platform/mt6577/kernel/core/core.o] Error 1
make[3]: *** [mediatek/platform/mt6577/kernel/core] Error 2
make[3]: *** Waiting for unfinished jobs....
AS arch/arm/common/fiq_glue.o
CC arch/arm/common/fiq_glue_setup.o
CC arch/arm/common/fiq_debugger.o
LD arch/arm/common/built-in.o
make[2]: *** [sub-make] Error 2
that core error make me sick too.....it due to corrupted/bad sourceHi all can you help me about this error message,
Code:LD arch/arm/mm/built-in.o LD arch/arm/kernel/built-in.o CC arch/arm/common/gic.o LD arch/arm/net/built-in.o CC mediatek/platform/mt6577/kernel/core/core.o In file included from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:10: /home/opick/IQ440/kernel/../mediatek/platform/mt6577/kernel/core/include/mach/io.h:4:1: warning: "IO_SPACE_LIMIT" redefined In file included from /home/opick/IQ440/kernel/arch/arm/include/asm/mach/map.h:12, from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:4: /home/opick/IQ440/kernel/arch/arm/include/asm/io.h:142:1: warning: this is the location of the previous definition In file included from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:10: /home/opick/IQ440/kernel/../mediatek/platform/mt6577/kernel/core/include/mach/io.h:6:1: warning: "__io" redefined In file included from /home/opick/IQ440/kernel/arch/arm/include/asm/mach/map.h:12, from /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:4: /home/opick/IQ440/kernel/arch/arm/include/asm/io.h:122:1: warning: this is the location of the previous definition /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: In function 'mt6577_init': /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:18: warning: unused variable 'tmp' /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: At top level: /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:47: error: implicit declaration of function 'IO_VIRT_TO_PHYS' /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:47: error: 'PAGE_SHIFT' undeclared here (not in a function) /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:71: error: implicit declaration of function 'IO_ABB_MDSYS_VIRT_TO_PHYS' /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:89: error: implicit declaration of function 'IO_VER_VIRT_TO_PHYS' /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: In function 'mt6577_map_io': /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:103: error: implicit declaration of function 'BUILD_BUG_ON_ZERO' /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c: At top level: /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:107: error: unknown field 'boot_params' specified in initializer /home/opick/IQ440/kernel/mediatek/platform/mt6577/kernel/core/core.c:113: warning: initialization from incompatible pointer type make[4]: *** [mediatek/platform/mt6577/kernel/core/core.o] Error 1 make[3]: *** [mediatek/platform/mt6577/kernel/core] Error 2 make[3]: *** Waiting for unfinished jobs.... AS arch/arm/common/fiq_glue.o CC arch/arm/common/fiq_glue_setup.o CC arch/arm/common/fiq_debugger.o LD arch/arm/common/built-in.o make[2]: *** [sub-make] Error 2
i try to build JB for MTK6577 devices, this is source actually take from IQ fly 440 devices
i'm using Ubuntu 10.04 LTS
sorry for my bad english
that core error make me sick too.....it due to corrupted/bad source
from where did you get the source.....github one are always corrupted for me
Donwload wiko Cink king one Or Acer Liquid E1 From There Websiteyes I take sorce from github, is there another source for the device MTK 6577?
Hi crocdanser.... i am on a plan to compile a kernel for my device...could i know which def_config u took for ur device for compiling kernel??Welcome![]()
Hi crocdanser.... i am on a plan to compile a kernel for my device...could i know which def_config u took for ur device for compiling kernel??
Thanks in Advance...
Bro I m getting this Error......any idea about thisThere is no defconfig for MTK devices
Please read posts and do you have source of your device ?
Bro I m getting this Error......any idea about this
/home/khantastic/Desktop/Kernel/google/kernel/mediatek/custom/out/s9081/kernel/alsps/cust_alsps.c:41:5: error: unknown field 'polling_mode' specified in initializer
make[3]: *** [mediatek/custom/out/s9081/kernel] Error 2
make[2]: *** [sub-make] Error 2
Will give this method a try, thanks for sharing it
Sent from my H100 using xda app-developers app
0x41 0xD0 0x02 0x00 0x05 0x05 0x35 0x01
0x01 0x0F 0x28 0x06 0x50 0x37 0x03 0x04
0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x0B
0x0D 0x11 0x0A 0x8B 0x0A 0x0B 0x52 0x50
0x7F 0x08 0x00 0x00 0x00 0x9A 0x03 0x1D
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x2E 0x5C 0x94 0xD5 0x01
0x05 0x00 0x00 0x04 0xBB 0x31 0x00 0xA6
0x38 0x00 0x91 0x41 0x00 0x81 0x4A 0x00
0x71 0x56 0x00 0x71 0x10 0x30 0x50 0x00
0x56 0x50 0x35 0x99 0x99 0x37 0x00 0x00
0x00 0x00 0x0A 0x01 0x02 0x14 0x0A 0x14
0xE8 0x03 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10
0x12 0x14 0x16 0xFF 0xFF 0xFF 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x24 0x22
0x21 0x20 0x1F 0x1E 0x1D 0x1C 0x18 0x16
0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0F
0x10 0x12 0x13 0xFF 0xFF 0xFF 0xFF 0xFF
0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF
0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
0x84 0x01
0x46,0xD0,0x02,0x00,0x05,0x05,0x34,0x06,\
0x02,0xCC,0x19,0x05,0x64,0x3C,0x05,0x04,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,\
0x1A,0x1E,0x14,0x94,0x00,0x0C,0x58,0x2C,\
0x6F,0x13,0x00,0x00,0x00,0x02,0x02,0x2D,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x64,0xE1,0x99,0x85,0x02,\
0x05,0x00,0x00,0x28,0x0A,0x53,0x80,0x0C,\
0x50,0x9F,0x0F,0x4D,0xF8,0x11,0x50,0x50,\
0x14,0x54,0x00,0x00,0x00,0x00,0x00,0x00,\
0x57,0x50,0x30,0xFF,0xFF,0x06,0x00,0x00,\
0x00,0x00,0x00,0x01,0x0F,0x19,0x0F,0x1E,\
0x0A,0x00,0x02,0x00,0x00,0x00,0x00,0x00,\
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\
0x16,0x18,0x12,0x14,0x0E,0x10,0x0A,0x0C,\
0x06,0x08,0x02,0x04,0xFF,0xFF,0xFF,0xFF,\
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,\
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x28,0x25,\
0x22,0x1F,0x1D,0x0E,0x1E,0x20,0x24,0x26,\
0x0A,0x08,0x06,0x02,0x00,0x01,0x04,0x07,\
0x09,0x0C,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,\
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,\
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,\
0xD0,0x01,\
OKJust One More Question... is There Any Way To Find Driver Names Used in Stock Kernel?
i Saw a Guy @vizhigal... Here Knows How To Extract Details From Stock Kernel... i Also Wanted To Learn How To Extract Hardware Related Details From Stock Kernel... if Anyone Knows Then Please Share With Us... Thank You
od -Ad -x -w2 boot.img-kernel.img | grep 8b1f | head
0018984 8b1f
0031590 8b1f
0209574 8b1f
0587924 8b1f
0744032 8b1f
0883498 8b1f
0910136 8b1f
0914160 8b1f
0965692 8b1f
1001240 8b1f
dd if=boot.img-kernel.img of=piggy.gz bs=1 skip=18984
gunzip piggy.gz
strings piggy
ov12830mipiraw
s5k4e1gamipiraw
ov5648mipi
0x01:139:108:1006:40:40:0x01:172:216:1006:40:40:0x01:158:324:1006:40:40:0x01:217:432:1006:40:40
0x01:139: - key1 code
108:1006:40:40: - key1 coordinates:width:height
0x01:172: - key2 code
216:1006:40:40: - key2 coordinates:width:height
0x01:158: - key3 code
324:1006:40:40: - key3 coordinates:width:height
0x01:217: - key4 code
432:1006:40:40 - key4 coordinates:width:height
==== GT818 config init value====
0x12,0x10,0x0E,0x0C,0x0A,0x08,0x06,0x04,
0x02,0x00,0x03,0x33,0x13,0x33,0x23,0x33,
0x33,0x33,0x43,0x33,0x53,0x33,0x63,0x33,
0x73,0x33,0x83,0x33,0x93,0x33,0xA3,0x33,
0xB3,0x33,0xC3,0x33,0xD3,0x33,0xE3,0x33,
0xF3,0x33,0x17,0x13,0xB0,0xB0,0xB0,0x2A,
0x2A,0x2A,0x10,0x0F,0x0A,0x50,0x40,0x4D,
0x03,0x00,0x05,0x1C,0x02,0xC0,0x03,0x00,
0x00,0x5C,0x56,0x60,0x59,0x00,0x00,0x26,
0x14,0x25,0x08,0x00,0x00,0x00,0x00,0x00,
0x18,0x14,0xC3,0x03,0x00,0x00,0x00,0x00,
0x00,0x00,0x1D,0x45,0x6B,0x93,0x0D,0x50,
0x40,0x35,0x25,0x00,0x00,0x00,0x00,0x00,
0x00,0x01