901 pagesV  « < 876 877 878 879 880 881 > »  
 
REPLY
> Build Android kernel for MTK processors
rex_xxx
Message#1
25.06.14, 13:34
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1116
Check in: 16.12.12
Fly Spark IQ4404

Reputation:-  226  +

������ ���� Android ��� ����������� MTK download


Development of kernels and firmware for devices on the MTK platform � | Self-compiled kernel from source � | Instructions for building ANDROID from sources. � | Theme on assembling the source code MTK on china-iphone | Build TWRP for Qualcomm platform �


Theme Rules

  • This topic is discussedPorting configs and drivers of your MTxxxx device to the latest version of the kernel.
  • This topic is not discussed. questions that are not directly related to this topic (setting up the working environment, searching for drivers for your device, questions like "What does Undeclared function mean?" errors when compiling)
  • There is no order table in this topic.- here you will be helped by advice, but you will have to do the main work yourself.
  • Messages that are not related to the topic of discussion (offtopic) are deleted without warning.

Important
You are kindly requested not to lay out the source code, manuals, etc. to other resources without the consent of the user who posted them on the forum. If you have received the consent, and the source has already lost relevance, it is desirable to throw out vendor edits and configs.
Frequently asked Questions
AT:Can I build a kernel if the manufacturer has not laid out the sources for my device?
O:The answer to your question was repeatedly discussed, for example "Kernel buildnot havingsource codes"you can build a kernel, but you have to put more effort into it.

AT:I heard that in this branch there are telepaths, fortune-tellers, mediums and clairvoyants who can give a complete and adequate answer to an incompletely formulated question?
O:Oh, to our great regret, all of the above comrades went to TNT and TV3. And we, like you, will also hope for their early return to the ranks of the users of our forum ...
In the meantime, please: if you want an adequate answer to your question, then formulate it accordingly.
For example: device + platform + kernel version / android + problem description + actions that led to it (configuration change, source code change, terminal log and / or logcat) + oh, unintentionally deleted + oh, but I don’t remember what ...


Results of previous surveys
02.03.2016
Attached Image

08.08.2016
Attached Image

21.10.2016
Attached Image

MTK Android 4.2 Sources
MTK Android 4.4 Sources
MTK Android 5.x Sources
MTK Android 6.x Sources

MTK Android 7.x Sources
MTK Android 8.x Sources
MTK Android 9.x Sources
Modem sources
Useful of the discussions.
Instructions
Codegen and GPIO
Drivers
Logging
IDA
Modem
Utilities and scripts
Kernel patches
Github
Other

AjlekcaHgp MejlbHukoB, Sources onpan.baidu.com, lot.
Developer Tools


There is no curator in the subject. If there is a user in the subject who wants to become a Curator and the correspondingRequirements for candidates, he can apply in the topicI want to be curator(after having studied the topic header and all materials for curators).
Prior to the appointment of the curator, on filling caps, please contactmoderatorssection through a buttonPictureunder the messages to which you want to add links.


Post has been editedderak1129 - 10.05.19, 21:16
Reason for editing: go to 8389
Programier
Message#17542
10.03.19, 12:40
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 543
Check in: 01.06.18
Leagoo M8 Pro

Reputation:-  55  +

I collect the core with my LCM. Produces such an error
drivers / misc / mediatek / lcm / rm68200_dsi_H / rm68200_dsi_H.c: 18: 29: fatal error: ../nt50358_dcdc.h: No such file or directory
compilation terminated
make [5]: *** [drivers / misc / mediatek / lcm / rm68200_dsi_H / rm68200_dsi_H.o] Error 1
scripts / Makefile.build: 257: Recipe execution error for driver / misc / mediatek / lcm / rm68200_dsi_H / rm68200_dsi_H.o target
make [4]: ​​*** [drivers / misc / mediatek / lcm / rm68200_dsi_H] Error 2
scripts / Makefile.build: 402: recipe execution error for driver / misc / mediatek / lcm / rm68200_dsi_H target
make [3]: *** [drivers / misc / mediatek / lcm] Error 2
scripts / Makefile.build: 402: recipe execution error for driver / misc / mediatek / lcm target
make [2]: *** [drivers / misc / mediatek] Error 2
scripts / Makefile.build: 402: recipe execution error for driver / misc / mediatek target
make [1]: *** [drivers / misc] Error 2
scripts / Makefile.build: 402: recipe execution error for drivers / misc target
make: *** [drivers] Error 2
Makefile: 954: recipe execution error for drivers target
make: *** Waiting for task completion ...

Tell me how to solve it?

Post has been editedProgramier - 10.03.19, 12:40


--------------------
Not to know is bad.
toshofan
Message#17543
10.03.19, 12:54
業 者
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1091
Check in: 08.02.12
ZTE Blade A520

Reputation:-  97  +

Programier @ 03/10/19, 11:40*
fatal error: ../nt50358_dcdc.h: No such file or directory

in my opinion everything is clear.


--------------------
RR-N-v5.8.8-20190409-ZTE-Blade-A520-Final
Programier
Message#17544
10.03.19, 14:30
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 543
Check in: 01.06.18
Leagoo M8 Pro

Reputation:-  55  +

* toshofanWhere can I find it if there is no such file?


--------------------
Not to know is bad.
NomiVita
Message#17545
10.03.19, 14:42
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 161
Check in: 09.01.16

Reputation:-  9  +

Guys, tell me the manuals for building the kernel. I want to make Android 8 for mtk6580
toshofan
Message#17546
10.03.19, 14:56
業 者
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1091
Check in: 08.02.12
ZTE Blade A520

Reputation:-  97  +

* Programier,
To begin, compile the stock kernel and transfer your stock dtb by this exampleBuild Android kernel for MTK processors
then on the new core it (
Programier @ 03/10/19, 1:30 PM*
where to find it if there is no such file?
)
you may no longer need to.


--------------------
RR-N-v5.8.8-20190409-ZTE-Blade-A520-Final
koskap
Message#17547
10.03.19, 15:46
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 571
Check in: 20.08.12

Reputation:-  28  +

* Dr. Ramm,
I watched get_imgsensor_id on the drain, they are the same on the front and rear drivers, the only difference is that the return_sensor_id back returns real_id, and the front real_id + 1. (did as in stock, it still connects to the back of the camera)

Post has been editedkoskap - 10.03.19, 16:09
mdeejay
Message#17548
10.03.19, 17:58
Guru
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 4231
Check in: 30.06.10
Xiaomi Mi A1 4/32

Reputation:-  2099  +

Has anyone phh GSI collected on Alps pie?


--------------------
Beastroms
itanimi
Message#17549
10.03.19, 18:57
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 78
Check in: 26.01.19
Xiaomi Redmi 6A

Reputation:-  33  +

Has anyone tried adding fast charging? If yes - tell me how to add


--------------------
Kernel development for Redmi6A
Xakep1993
Message#17550
10.03.19, 18:59
Guru
*********
[offline]

Group: Curators
Messages 6485
Check in: 23.11.12
Oukitel K6

Reputation:-  652  +

* itanimi
If you mean all sorts of PUMP Express - then not all phones support it (depends on the controller). But you can raise the charge current - but the point? I have already tried to do this data on the past phone. From 1 ampere to 2 raised<but the capacity was reduced every charge. As a result, stop at 1.3


--------------------
Phones: Sony Ericsson J300i>Amoi N828>Elephone P6000>Oukitel K6
itanimi
Message#17551
10.03.19, 20:03
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 78
Check in: 26.01.19
Xiaomi Redmi 6A

Reputation:-  33  +

Who knows? How to raise the frequency of the CPU, GPU and tires on HELIO A22 mt6765


--------------------
Kernel development for Redmi6A
Dr. Ramm
Message#17552
11.03.19, 08:16
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1842
Check in: 01.11.12
Xiaomi Redmi Note 6 Pro 4/64

Reputation:-  470  +

Koskap @ 03/10/19, 15:46*
, it still connects to the back of the camera

OK, but try to pop up the driver separately. Well, in the sense that at first only for the front, and then only for the back. Well and accordingly compatible field in dts change, if they have the same.


--------------------
It is also sometimes known aspgqta, but prefers to be unknown most of his life.
Xiaomi Mi3w 16gbXiaomi Redmi note 6 pro 4/64 +MiBand 1Lenovo Watch 9
FiiO X1 II +Xiaomi MiPiston2Hybrid Piston 4 Sony XBA-C10Ibasso IT 01

koskap
Message#17553
12.03.19, 19:22
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 571
Check in: 20.08.12

Reputation:-  28  +

* Dr. Ramm,
I collect with the front camera driver (a copy of the back driver with a different name). I open the camera, start the back, and in the log such errors on the front
[30.586687] (7) [460: cameraserver] [name: kd_sensorlist &] [kd_sensorlist] [kdSetDriver] pDrvIndex: 0x00020000 / 0x00000000
[30.586701] (7) [460: cameraserver] [name: kd_sensorlist &] [kdSetDriver] g_invokeSocketIdx [0] = 2
[30.586712] (7) [460: cameraserver] [name: kd_sensorlist &] [kdSetDriver] drvIdx [0] = 0
[30.586727] (7) [460: cameraserver] [name: kd_sensorlist &] [kdSetDriver]: [0] [1] [2] [imx259mipiraw] [32]
[30.586800] (7) [460: cameraserver] [name: kd_sensorlist &] [_ hwPowerOn] powertype: 6 powerId: 1800000
[30.587637] (3) [460: cameraserver] [name: kd_sensorlist &] [_ hwPowerOn] powertype: 4 powerId: 2800000
[30.600609] (3) [460: cameraserver] [name: kd_sensorlist &] [kdModulePowerOn] Profile = 13848
[30.600644] (3) [460: cameraserver] [name: imx259mipiraw_Sensor &] IMX259_camera_sensor [feature_control] feature_id = 3040
[30.601131] (0) [460: cameraserver] [name: i2c &] ERROR, 545: id = 1, addr: 1a, transfer error
[30.601155] (0) [460: cameraserver] [name: i2c &] ERROR, 551: I2C_ACKERR
[30.601191] (0) [460: cameraserver] [name: kd_sensorlist &] [CAMERA SENSOR] I2C send failed addr = 0xa02, data = 0xf !!
Skyrimus
Message#17554
12.03.19, 19:49
Man with straight arms
*********
[online]

Group: Curators
Messages 2729
Check in: 26.12.13
Asus MeMO Pad 7 ME176CX

Reputation:-  761  +

* itanimiwhat for? This will give nothing but artifacts :)

Post has been editedSkyrimus - 12.03.19, 20:34
Reason for editing: Bukavu missed


--------------------
HTC Desire V (Died) ->Asus me176cx(Unlocked + TWRP + ROOT) ->Asus A400CG(Died) ->TCL 5015D(sold) ->Wileyfox Spark +(ALPS 8.1.0 + TWRP + ROOT)
l33tn00b
Message#17555
12.03.19, 20:25
someone
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 6153
Check in: 23.10.12
Samsung Galaxy S9 Plus Exynos

Reputation:-  1734  +

* Skyrimus
Well, I want a person to take iron from well-designed modes, let him take it out.still smarter than development engineers, they waste their salaries


--------------------
"Regression testing"? What's that? If it compiles, it is good, if it boots up it is perfect.
~ Linus Torvalds
"With great technology comes great fuckups" - @ deadmau5
Xakep1993
Message#17556
12.03.19, 20:49
Guru
*********
[offline]

Group: Curators
Messages 6485
Check in: 23.11.12
Oukitel K6

Reputation:-  652  +

* Skyrimus, besides overheating and going to trotting, nothing will come of it)) and thanks to trotting, the performance is lower than the stock one)

I passed it on my 6732/52


--------------------
Phones: Sony Ericsson J300i>Amoi N828>Elephone P6000>Oukitel K6
sunk851
Message#17557
12.03.19, 20:56
Cheburek
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 508
Check in: 06.05.17
Doogee X5 Pro Galicia

Reputation:-  57  +

Hello! How can I make a defconfig for assembly? There are off source codes but developed ...... do not give a defconfig for the assembly (
Dr. Ramm
Message#17558
12.03.19, 21:00
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1842
Check in: 01.11.12
Xiaomi Redmi Note 6 Pro 4/64

Reputation:-  470  +

sunk851 @ 03/12/19 20:56*
How can I make a defconfig for assembly

Take the standard for this process. Disable all sensors and so on. And then potiha include


--------------------
It is also sometimes known aspgqta, but prefers to be unknown most of his life.
Xiaomi Mi3w 16gbXiaomi Redmi note 6 pro 4/64 +MiBand 1Lenovo Watch 9
FiiO X1 II +Xiaomi MiPiston2Hybrid Piston 4 Sony XBA-C10Ibasso IT 01

l33tn00b
Message#17559
12.03.19, 21:03
someone
*********
[offline]

Group: Friendssavagemessiahzine.com
Messages 6153
Check in: 23.10.12
Samsung Galaxy S9 Plus Exynos

Reputation:-  1734  +

* Dr. Ramm,
There is a second way
make menuconfig
cp .config arch / $ ARCH / configs / project_defconfig


--------------------
"Regression testing"? What's that? If it compiles, it is good, if it boots up it is perfect.
~ Linus Torvalds
"With great technology comes great fuckups" - @ deadmau5
alex0014
Message#17560
13.03.19, 00:07
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 80
Check in: 12.12.14
Asus new padfone infinity

Reputation:-  0  +

Good day!
I do not ask for help ...
But for the sake of general education, a list of lcm from lk.bin

s801_siqiangqc_dsi_vdo
s801_oulingxy_dsi_vdo
s801_weizhi_wjwx_dsi_vdo
s801_huazheng_wjwx_dsi_vdo
s801_huazhengqc_dsi_vdo
s801_huachuang_dsi_vdo
s801_siqiang_dsi_vdo
s801_hsxqc_lt_dsi_vdo
s801_zhongshen_dsi_vdo
s801_xinxianboe_wjwx_dsi_vdo
s801_frd_dsi_vdo
s801_feixin_dsi_vdo
s801_hzhsd_dsi_vdo
s801_guoxian_hx8394d_dsi_vdo
s801_linyunboe_dsi_vdo
s801_hlhqc_fhd_dsi_vdo
s801_xinxiancpt_dsi_vdo
s801_wf_xinxiancpt_dsi_vdo
s807_hongnenghai_dsi_vdo
s801_pxjtqc_dsi_vdo
s801_hsxdc_dsi_vdo
s801_zsqc_dsi_vdo
s807_cxd_dsi_vdo
s801_zsdc_dsi_vdo
s801_wf_cptxinxian_dsi_vdo
s801_jiujing_dsi_vdo
s801_pengxin_dsi_vdo
s801_hcqc_dsi_vdo
s801_hsx_lt_dsi_vdo
s960_wxga_34pin_dsi_vdo
s960_pengxin_dsi_vdo
s960_bcdnt35521s_dsi_vdo
s960_huawei_dsi_vdo
s107_hsx_dsi_vdo
s960_weiyao_dsi_vdo
s960_pengxinpx_dsi_vdo
s960_huashengxin_dsi_vdo
s960_wuxga_boe_fhd_dsi_vdo
s960_xinhongdian_dsi_vdo
s960_pengxinjtcpt_dsi_vdo
s960_wyqc_dpbsb_dsi_vdo
s960_pengxinqcxin_dsi_vdo
s960_guoxian_dsi_vdo
s960_yxgd_dsi_vdo
s107_siqiangauo_dsi_vdo
s960_xinpeng45_fhd_dsi_vdo
s960_huazheng_dsi_vdo
s107_siqiangctp_dsi_vdo
s801_pxjtqc_dsi_vdo
s107_feixin_dsi_vdo
s960_hnhlt_dsi_vdo
s960_suotaili_dsi_vdo
s960_zhongxian_dsi_vdo
s960_hnhauo_dsi_vdo
s107_weiyaoauo_dsi_vdo
s960_hnhboe_dsi_vdo
s960_xc_fhd_dsi_vdo
s960_oulingqc_dsi_vdo
s960_suoling_dsi_vdo
s960_xinxian_dsi_vdo
s960_feiyang_dsi_vdo
s107_feixinboe_dsi_vdo
s107_hjcboe_dsi_vdo
s960_xc_boe_fhd_dsi_vdo
s107_fyboe_dsi_vdo
s960_ysd_fhd_dsi_vdo
s960_guoxianjl_dsi_vdo
s107_hnhqc_dsi_vdo
s107_gxcpt_dsi_vdo
s960_xp_fhd_dsi_vdo
s960_huixin_dsi_vdo
s960_baileqi_dsi_vdo
s960_huazhixin_dsi_vdo
s960_sngj_dsi_vdo
s960_wly_boe_fhd_dsi_vdo
s960_huazheng_dsi_vdo
y960_rfy_yds_dsi_vdo
s960_pinbo_dsi_vdo
s960_wxga_default_40pin_dsi_vdo


Interesting such Chinese)))
m4h0n3y
Message#17561
13.03.19, 09:56
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 220
Check in: 08.01.15
HTC Desire 628

Reputation:-  20  +

I continue to torment the camera sensors. Once again, I studied the state of the pins in the drain in different situations and noticed that when the sensor is turned on, the din is turned on on the GPIO_I2C0_SDA_PIN and GPIO_I2C0_SCA_PIN pins. Stoke 3.10. In 3.18 I can not achieve the same. Din is all the time 0. I don’t see anything in the code of the sink that could be responsible for it, by the name I assume that this happens during the work of i2c. It makes sense to register these pins in dts and try to manipulate them in kd_camera_hw? Or maybe with i2c what problem do I have? The first sensor successfully responds to the id request and everything, after that, continuous i2c errors. mt6753

I discovered that in my new kernel a virgin empty kdSensorList is being compiled. I thought it was enough to write my sensors into kernel_defconfig, for example:
CONFIG_CUSTOM_KERNEL_IMGSENSOR = "ov13850v36_mipi_raw s5k3l2xxv36_mipi_raw s5k5e8yxv36_mipi_raw ov5670v36_mipi_raw"

And OV13850V36_MIPI_RAW and other constants will be declared automatic, according to which kdSensorList determines what should be in it.

Is it somewhere else to be declared separately?

Post has been editedm4h0n3y - 14.03.19, 14:11

901 pagesV  « < 876 877 878 879 880 881 > » 


 mobile version    Now: 20.05.19, 07:43