Assistant
REPLY |
Build Android kernel for MTK processors |
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 downloadDevelopment 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
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 ... MTK Android 4.2 Sources MT8389 MTK Android 4.4 Sources MT6571 MT6572 MT6575 MT6582 mt6577 MT6589 MT6592 mt6595 MTK Android 5.x Sources mt6735 mt6580 mt6582 mt6795 MTK Android 6.x Sources MTK Android 7.x Sources mt6580 MTK Android 8.x Sources 8.1 for 6735/6737/6753/6755/6757 on the 3.18 core and 6739/6757/6758 / mt6761 / mt6762 / 6763/6771/6775 on the 4.4 core MTK Android 9.x Sources Modem sources Useful of the discussions. Instructions Hyde, for those who want to get the firmware of the GSLXXXX Assembly InstructionscoresAndroid (best onsavagemessiahzine.com)| or downloadKernel_building.docx.zip(90.32 KB) Manual for the assembly of the kernel. Build a separatemodule / lib / bin. Explanation toAndroid version 5.x Kernel Assembly Instructionswithout using a PC Ignoring build errors Manual on porting kernel source 4.2.x ->4.4.x | Headset Button Operationplatform /../../ drivers / accdet DisconnectEncryption in Android 5.x Instructions for addinggovernors & schedulers Little bymistakesassembly Build AOSP withbusybox Compile Android 6.0 underWindows in bash shell Stock transferdtbon the example of mtk67xx Add supportOtain its firmware How to fasten a cameracustom from stock 6 to the nougat Instructions for restoring the Synctics touchscreen firmware Instructions for raising the touchscreen Codegen and GPIO Drivers Adapt LCM driver from 3.10.x to run on 3.18.x How to replacemt65xx_eintonmt_eint, for example tacha. How to get aroundTP-UPGRADE Mirrortouchscreen sweep2wakeon the example of the driver ft5x06 Recover controller firmwaretacha. How to fix a touchgt9xx_2in 3.10.xx CustomizationGoodix tacha Driver Offset CorrectionLCM. How to run bothcameras What to do if you lost the sourcelibcameracustom? Permissionscameras in ALPSmtk Solution to the problemmirrorcameras in exits MTK How to make the main workthe camera. Lampandflash Repairaudioat MTC How I startedsound, For exampleamp_aw8145 Aboutlednotifications Maybe someone from beginners will help (LEDS) BatteryLi-pol OTG support without additional power Correctionblack frameson candy A little bit about the driverLCM fine-tuningALSPS driversFor exampleLTR559(mt6582) If not loadedgpu mali. Reset8 second holdpower buttons: 1 / 2 / 3 Focaltech driver withDouble Tap to Wake Logging IDA Utilities and scripts Battery calibration [/ b] Convert preloader *, (bin | img) toMemoryDeviceList_MTxxxx.xls ProgramDevice info Utility DeviceInfoMTK_01.apk DeviceInfoMTK_1.1.apk Scriptfirmware build (Android>=5.0) Script to decode binary data into view forLCM tables Scriptassemblycores(VERSION = 3.10 +) MultiGPIOUtil 13000 LK.BIN parser Kernel patches Other If Android 9 does not work If someone needs an alps (where the vendor is separate), Android 9 does not work (CANNOT LINK EXECUTABLE "/ system / bin / sh": library "libdirect-coredump.so" not found) If leds are controlled via shim (PWM) (Something in the bush is {"lcd-backlight", MT65XX_LED_MODE_PWM, 0, {1, 1, 3, 3, 0}}) Engineer forCM13 Multi-volume archives| Orcat *. * | tar zxf - Aboutsepolice AboutTWRP 3.0.x-x MediatekAndroidDevelopers 6.0.1 for mt6752 and mt6735 CM, PA, AICP CM12.1_6582 CM 12.1for mt6753 ProjectCM13 / AICP11for mt6582 Docks byMTKLinux-3.10.XX Font size inBoot mode menu solution of coups and green / red in the front camera driver Ability to disable SIM cards AjlekcaHgp MejlbHukoB, Sources onpan.baidu.com, lot. Developer Tools Instructions: Packages forkernel compilations Compilation with a lack of resources on the computer.redirect ->another topic FAQ on ADB and FastBoot redirect ->another topic Cross Compiler Toolchains: Linaro gcc| Homepage:http://www.linaro.org | Linaro releases Toolchain-4.7 (Google) dsixda's Android Kitchen v0.224 | Android Kitchen on our forum | Carliv Image Kitchen Script for unpacking Android 5.x.x firmware - 6.x Script for automatically building the kernel and packing it in a zip file for twrp firmware 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 buttonunder the messages to which you want to add links. Post has been editedderak1129 - 10.05.19, 21:16 Reason for editing: go to 8389 |
Message#22 28.06.14, 08:08 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | rex_xxx oh what I'll see ... check it out. I do not understand why I have a roll off assembly on the tableclothhyperion70not. The sources are the same. Post has been editedCheshkin - 28.06.14, 08:09 -------------------- |
Message#23 28.06.14, 08:25 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | Cheshkinconfigs should be compared. What error in the logs gives? |
Message#24 28.06.14, 08:27 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | rex_xxx make: *** There is no rule for building an out / target / product / wiko / MT6589_Android_scatter_emmc.txt 'target required for `mediatek / misc / ota_scatter.txt'. Stop And the tablecloth is ready to go. And ebr and mbr. Those. he gets it and stops for some reason also crashes when I run the 6592 kernel build Post has been editedCheshkin - 28.06.14, 08:35 -------------------- |
Message#25 28.06.14, 09:00 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | Cheshkintry to compare makemtk.mk |
Message#26 28.06.14, 09:09 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | |
Message#27 28.06.14, 09:24 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | CheshkinI just had a difference in the output of the scatter not in the misc but somewhere else |
Message#28 28.06.14, 09:40 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | |
Message#29 28.06.14, 11:19 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | CheshkinThis is my place in makemtk.mk in comparison. Left jb right kk Post has been editedrex_xxx - 28.06.14, 11:23 |
Message#30 28.06.14, 14:10 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | In my jb source code, the platform description in mediatek / kernel / Kconfig lay, now it was transferred to the Platform The problem is now in this file. I do not have it upd. All fixed went to build the kernel. upd not a fig not polshla. What is it that way from kernels spawn on: <command-line>: 0: 1: error: macro names must be identifiers HOSTCC scripts / selinux / genheaders / genheaders make [2]: *** [scripts / mod / empty.o] Error 1 make [1]: *** [scripts / mod] Error 2 make [1]: *** Waiting for task completion ... with makeMtk on cp: failed to execute stat for "out / target / product / wiko / obj / KERNEL_OBJ / kernel_wiko.bin": No such file or directory ==>[FAIL] 2014/06/28 15:40:39 here guys explain to me noob. What's the difference between: .config .config.old / mediatek / config / mt6589 / kconfig / platform Yes, that's how they differ among themselves. ? Why when I compile when I answer a couple of questions, it saves it in .config But when I do make clean, .config overwrites previously saved questions? Why when I answer these questions in / mediatek / config / mt6589 / kconfig / platform, by make clean it no longer cleans it .. why? and getting a makemtk kernel is very important. See stub from logs [CUSTOM] copy mediatek / custom / common / resource_overlay / tablet / packages / providers / DownloadProvider / ui / res / values-zh-rCN / mtk_strings.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / tablet / packages / providers / DownloadProvider / ui / res / values-zh-rTW / mtk_strings.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / tablet / packages / providers / DownloadProvider / ui / res / values-zh-rCN / mtk_strings.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / generic_nand / frameworks / base / core / res / res / xml / storage_list.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / frameworks / base / core / res / res / values ​​/ dimens.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / generic_nand / frameworks / base / core / res / res / xml / storage_list.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / frameworks / base / core / res / res / values ​​/ dimens.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / frameworks / base / packages / Keyguard / res / values-hdpi / dimens.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / frameworks / base / packages / Keyguard / res / values-hdpi / dimens.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / text_last_update.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / image_shadow.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / text_last_update.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / container_3d_model.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / container_3d_model.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / xml-port-hdpi / image_shadow.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / values-port-hdpi / values.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / mediatek / packages / apps / Weather3D / res / values-port-hdpi / values.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / packages / apps / DeskClock / res / values ​​/ dimens.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / packages / apps / DeskClock / res / values ​​/ dimens.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / packages / apps / DeskClock / res / layout / time_setup_view.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / packages / apps / Launcher2 / res / values-hdpi / dimens.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / packages / apps / DeskClock / res / layout / time_setup_view.xml [CUSTOM] copy mediatek / custom / common / resource_overlay / FWVGA / packages / apps / Phone / res / values-hdpi / dimens.xml to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / packages / apps / Launcher2 / res / values-hdpi / dimens.xml [CUSTOM] copy mediatek / custom / common / factory / res / matv / matv_pattern.jpg to out / target / product / wiko / obj / CUSTGEN / custom / resource_overlay / FWVGA / packages / apps / Phone / res / values-hdpi / dimens.xml [CUSTOM] copy mediatek / custom / common / factory / inc / cust_ftm_matv_comm.h to out / target / product / wiko / obj / CUSTGEN / custom / factory / res / matv / matv_pattern.jpg [CUSTOM] copy mediatek / custom / common / factory / inc / cust_font.h to out / target / product / wiko / obj / CUSTGEN / custom / factory / inc / cust_ftm_matv_comm.h to out / target / product / wiko / obj / CUSTGEN / custom / factory / inc / cust_font.h In general, here is a mistake. CC scripts / mod / empty.o <command-line>: 0: 1: error: macro names must be identifiers make [5]: *** [scripts / mod / empty.o] Error 1 make [4]: ​​*** [scripts / mod] Error 2 make [4]: ​​*** Waiting for task completion ... HOSTCC scripts / selinux / genheaders / genheaders SHIPPED scripts / genksyms / lex.lex.c SHIPPED scripts / genksyms / keywords.hash.c SHIPPED scripts / genksyms / parse.tab.h SHIPPED scripts / genksyms / parse.tab.c HOSTCC scripts / genksyms / lex.lex.o HOSTCC scripts / selinux / mdp / mdp HOSTCC scripts / genksyms / parse.tab.o Generating include / generated / mach-types.h CC kernel / bounds.s <command-line>: 0: 1: error: macro names must be identifiers make [4]: ​​*** [kernel / bounds.s] Error 1 make [3]: *** [prepare0] Error 2 make [3]: *** Waiting for task completion ... HOSTLD scripts / genksyms / genksyms make [3]: *** [scripts] Error 2 make [2]: *** [sub-make] Error 2 Post has been editedCheshkin - 28.06.14, 17:07 -------------------- |
Message#31 29.06.14, 05:37 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | On the contrary, I’ll make compilation run with make. When using makeMtk, everything is reassembled each time, and make collects from the stop, plus modified files, so you have to reassemble everything from one line each time. And make stops right at the beginning - it cannot find auto.conf. By the way, thankshyperion70I found the KK source for my 6572. It turned out to build the kernel, I just had to disable most of the drivers - only the screen and the touchscreen left my family for my device. What is good is that in the recovery the kernel started up and worked, only when it started on the screen for a couple of seconds, the artifacts came out. The system tried to run, but did not start the schedule. Post has been editedrex_xxx - 29.06.14, 05:43 |
Message#32 29.06.14, 08:44 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | rex_xxx makeMtk is enough once to work. Then it’s just through make. I have the same garbage on auto.conf. The inludk folder should be conf. She is not going to. And not going to 6592 or 6582 Huperion70 as it collected the core 6592) and some sort of garbage with python on minte it just suddenly stopped working Traceback (most recent call last): File "/ usr / lib / command-not-found", line 21, in<module> os.execvp ("python3", [sys.argv [0]] + sys.argv) File "/usr/lib/python2.7/os.py", line 344, in execvp _execvpe (file, args) File "/usr/lib/python2.7/os.py", line 380, in _execvpe func (fullname, * argrest) OSError: [Errno 2] No such file or directory Post has been editedCheshkin - 29.06.14, 09:47 -------------------- |
Message#33 29.06.14, 09:53 | |
Zhuikoved [offline] Group: Honorary Gameday Messages 3907 Check in: 29.10.11 Xiaomi Redmi Note 3 Pro Standard Reputation: 1676 | CheshkinDuck can take down the top three, put 2.7? I had something similar on the arch. Post has been editeda - x93-07 - 29.06.14, 09:55 |
Message#34 29.06.14, 09:55 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | -------------------- |
Message#35 29.06.14, 10:08 | |
User [offline] Group: Banned Messages 2059 Check in: 13.10.12 Reputation: 2186 | but you yourself wrote: Cheshkin $ mkdir -p ~ / python / src / && cd ~ / python / src / $ wget http://www.python.org/….6/Python-2.7.6.tar.xz $ tar -xf ~ / python / src / Python-2.7.6.tar.xz && cd ./Python-2.7.6 $ ./configure --prefix = $ HOME / python / 2.7.6 / $ make && make install I then corrected you: $ ./configure --prefix = $ HOME / python / 2.7.6 / $ sudo make && sudo make install Why then version three? -------------------- All animals are more equal than others. - George Orwell - |
Message#36 29.06.14, 10:29 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | hyperion70, time Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> two File "/ usr / lib / command-not-found", line 21, in<module> os.execvp ("python3", [sys.argv [0]] + sys.argv) File "/usr/lib/python2.7/os.py", line 344, in execvp _execvpe (file, args) File "/usr/lib/python2.7/os.py", line 380, in _execvpe func (fullname, * argrest) OSError: [Errno 2] No such file or directory -------------------- |
Message#37 29.06.14, 12:01 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | |
Message#38 29.06.14, 12:11 | |
Guru [offline] Group: Friendssavagemessiahzine.com Messages 3167 Check in: 25.06.12 MSI WindPad 110W Reputation: 656 | rex_xxx well no. I worked on ./makeMtk n k. upd deleted python, mint 17 glitched. moved python - didn't help conclusion: - do not put more mint - do not remove the python upd. demolished the mine 17. put ubuntu 14.04 gnome .. demolished It was painfully not convenient. put mint 17. Immediately he glanced. Neither reads sim links. Archives of old backup does not unpack. Painted on unpacking. put ubuntu 14,04 Again did not like it - demolished)) put the mint 17 KDE release from 26.06 .. we will see. Previously, the "broken" archives unpacked, Simlink sees. Now project 4.2 to restore and fix the links. I know 5 symlinks in ikshah. kernel / mediatek / .... 4 pieces. mediatek / custom / common / lk..lcm I created. .... where else do we have symlinks remind pzhl? Post has been editedCheshkin - 30.06.14, 12:45 -------------------- |
Message#39 02.07.14, 09:28 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | It was possible to run KK on a freshly assembled kernel, added only the most necessary drivers — the screen with that. The system has started. Now the "most interesting" begins - adding your drivers to the project. CheshkinI didn’t manage to start the assembly either by make, or continue from the stop. ./makeMtk project n k Post has been editedrex_xxx - 02.07.14, 09:28 |
Message#40 02.07.14, 09:46 | |
Good luck ... [offline] Group: Banned Messages 3506 Check in: 14.02.11 Newman n2 Reputation: 898 | What is so special about ITC? You have the JB source as I understand it. Official, workers. The simplest thing is not to float your mock and transfer from 3.4.67 (or whatever you have under 4.4) ... / drivers / gpu / * (Essno 3.4.67 sources should be under a device with the same GPU). This update will tighten a few edits related to ion, mm, asm and the board-config device (ion). Even without Binder edits, with only one update of the GPU Kitkat firewood, it will already start. At least it works fine on the Exynos platform and the GPU Mali. I do not think that for the rest this process is different. If you take 3.4.67 as a basis - you need to have an iron ass and not less iron nerves to drag all the firewood from the office. kernels and fix them under the new code. Post has been editedscorpio92 - 02.07.14, 09:46 -------------------- |
Message#41 02.07.14, 10:35 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1116 Check in: 16.12.12 Fly Spark IQ4404 Reputation: 226 | [email protected], 13:46 on the Exynos platform It is precisely what is not the MTC, I would advise at least to look at what the source tree from Mediatek is. [email protected], 13:46 you need to have an iron ass and no less iron nerves to drag all the wood from the office. kernels and fix them under the new code. However, I can be proud of my ass - the core works, so far I haven’t started the combo-board, cameras and ALS / PS. Before the mediatekovo kernel, I worked a bit with a kvalkom. The difference is huge. Starting with the fact that all specific drivers are moved outside the main tree and ending with codegen. |
mobile version | Now: 20.05.19, 07:42 |