Need little Help on compiling kernel - Google Pixel 4a Questions & Answers

hello, since there is no support on nethunter kernel for pixel 4a, I decided to compile my own. I'm beginner at this kernel modifying stuff. I used clang to build it. at the end i got an error that i am not able to fix it. see the attached file please. if anyone noob like me wants to contribute in this , dm me

lulz. running root on kali to compile kernel........

xxTECRAxx said:
lulz. running root on kali to compile kernel........
Click to expand...
Click to collapse
i always work with root user

Related

[Request] Need isofs.ko udf.ko for kernel 2.6.36.4 to mount ISO image files

Till now, I still haven't find the isofs.ko and udf.ko for Kernel 2.6.36.4.
I want to mount ISO image files in Android 3.1.
Can anyone compile them for me? Thanks a lot!
My tablet is Samsung P7500
Follow is a detail descriptions of my system kernel.
htt p ://droidbasement.com/db-blog/?p=2395
10.1 3G, Touchwiz UX (HC 3.1 (stock); GT-P7500):
boot-cm_2636.4_p4_ux-oc-xtra-vfpv3-d16_fp-112011.zip
No one can help me
I will try to learn uburtn,....
Johnyea said:
No one can help me
I will try to learn uburtn,....
Click to expand...
Click to collapse
Ubuntu is not that hard to learn, and there are many tutorials for how to compile the Linux kernel, let alone the Android kernel, I would suggest however starting with tutorials to compile a normal linux kernel for your Ubuntu system first, then when you have a good understanding of how to compile it, go ahead and then build an Android kernel with the modules your requesting. Now I'm not sure if the Android kernel configuration supports these modules since Android itself really doesn't use any CD/DVD file systems but nothing is impossible I suppose.
Yes, I got it.
I compiled the modules what I need.
And thery are working fine for my Tablet.
Johnyea said:
Yes, I got it.
I compiled the modules what I need.
And thery are working fine for my Tablet.
Click to expand...
Click to collapse
I'm glad you got it working, congrats
Sent from my LS670 using XDA

building kernel from aosp source

im trying to build the kernel from androids googlesource website, and want to know which defconfig i need to use to start the build
tegra3_android_defconfig
tegra_android_defconfig
tegra3_defconfig
tegra_defconfig
i couldnt find a grouper specific one
azoller1 said:
im trying to build the kernel from androids googlesource website, and want to know which defconfig i need to use to start the build
tegra3_android_defconfig
tegra_android_defconfig
tegra3_defconfig
tegra_defconfig
i couldnt find a grouper specific one
Click to expand...
Click to collapse
tegra3_android_defconfig seems to be the one.
Yes, I am trying to rebuild their from source. But, when I have testing on running. There are found red splash when I click them on screen. May I know what the caused of this ?
Thanks.
Ok, The problem has resolved now .
AOSP's guide to building kernels is quite useful. I actually used it earlier today.
http://source.android.com/source/building-kernels.html
It contains building instructions (obviously) as well as the proper defconfig for all AOSP devices.

What is necessary if I want to compile a ROM?

Hi guys. 2 months ago I've came into Android World deeper than before and now I'm very fascinated. I downloaded linux, all the necessary files to compile a rom but I still don't understand some things.
My device is Redmi Note 2 and I use stock MIUI 7. As we all know mtk and/or xiaomi haven't released kernel sources (6795) so developers have to think hard how to make a rom. And there are my questions. Does kernel source is really necessary? What if I compile rom successfully and then port boot.img from stock? Will it work? However developers made some roms based on LP for this device. And I read that I need device tree and vendor, which doesnt exist for redmi note 2 or I still can't use github.
Second question which I have is: does compiling for 64 bit CPU differ from compiling for 32 bit CPU (like 6592)? If yes, could you give me some tips?
Ohh I think you can understand what I wrote
Thanks in advance and please dont blame me for silly questions
If you are looking to compile roms then you picked the wrong device to do it. They are the worst with kernel source. You can't completely compile a rom but use a patch system that does most of the work.
Yes it is different. There are some Tuts around but they are few as most don't use that type of chip.
If you really want to learn to develop then I would suggest getting a different device. One that respects the copyright and gpl laws.
zelendel said:
If you are looking to compile roms then you picked the wrong device to do it. They are the worst with kernel source. You can't completely compile a rom but use a patch system that does most of the work.
Yes it is different. There are some Tuts around but they are few as most don't use that type of chip.
If you really want to learn to develop then I would suggest getting a different device. One that respects the copyright and gpl laws.
Click to expand...
Click to collapse
Thank you for your advices. I have HTC desire 310 and I found the kernel sources. I know what I'll do in my free time
Monsterlevel said:
Thank you for your advices. I have HTC desire 310 and I found the kernel sources. I know what I'll do in my free time
Click to expand...
Click to collapse
To compile a rom u need kernel source, device tree and proprietary, bye

Compile an Android kernel Developer needed

Hi. I found a few Tutorials about Compiling an Android Kernel. I thank all Developers for the Time they spend to do this Tutorial.
I compiled myself an Android kernel for S3 and Oneplus 2.
For me S5 will not work and for a Friend HTC one M8 it´s not Compiling. I had basic question , so i would like to ask if a Developer could spent some Time to explain me from beginning to the end.
If so, an German Developer would be best because I´m from Germany.
I hope someone will give me an Feedback. I look up to you, and i´m desired to learn.
Thx for your answer
No one can help me? Spent a little bit time for me? I will learn it
Can u share your Tutorial?
通过我的 1505-A02 上的 Tapatalk发言
I haven't. I found it by google.
Search in google android compile kernel and you get some tutorials
Come on developers. Help me with some problems. Some thing i know, but there are problems i don't know how what to do
whats your problem?
Sent from my LGLS676 using Tapatalk
Hi. Can we talk per pm?
Not simply to say. I know how to get sources. I know how to get toolchain. I know how to set path. Make defconfig,and compile kernel. But i dont understand how to make an older kernel work for newer android version like Samsung s5. I don't know how to make anykernel script.sh
. And last problem if i would not take anykernel, how to get/build updater script and so on that i can make a flashable zip.
If i take a kernel like boeffla, and change zimage, kernel will work. So compiling is ok.
The things around i will lewrn but i don't know how to do this. All sides show only how to build zimage. But you see thats not my problem.
Hope you could help me
N3cron said:
Hi. Can we talk per pm?
Not simply to say. I know how to get sources. I know how to get toolchain. I know how to set path. Make defconfig,and compile kernel. But i dont understand how to make an older kernel work for newer android version like Samsung s5. I don't know how to make anykernel script.sh
. And last problem if i would not take anykernel, how to get/build updater script and so on that i can make a flashable zip.
If i take a kernel like boeffla, and change zimage, kernel will work. So compiling is ok.
The things around i will lewrn but i don't know how to do this. All sides show only how to build zimage. But you see thats not my problem.
Hope you could help me
Click to expand...
Click to collapse
ya you can shoot me a message
facebook - http://m.me/ricky.wardenburg
hangouts - [email protected]
Hi. Both i haven't. Can we write xda message or whatsapp?
sure

Question Help compiling kernel with KVM

Hi,
I wanted to compile a custom kernel with KVM for the ROG Phone 5 on the latest Android 12 (EU variant) so I looked at the Kirisakura kernel for base (from @Freak07) and I looked at the script that starts compiling the kernel. I could not find some things that was required such as the Google's GCC thing or the "DU_Tools" but I still managed to start compiling the kernel after editing the defconfig file using make menuconfig to enable KVM. Once I did that I ran the script but after like two minutes I got an error (Error 2).
So can someone help me doing this please?
Thanks.
Hey Alex - been looking in to creating a build script using docker for this out of curiosity.
Out of interest though - how are you planning to use KVM once it's enabled?
Moved all of my development efforts from XDA.
chrisaw said:
Hey Alex - been looking in to creating a build script using docker for this out of curiosity.
Out of interest though - how are you planning to use KVM once it's enabled?
Click to expand...
Click to collapse
Hey, I didn't tried using docker (because I don't know how to xD) and I want to use KVM because I heard that the Snapdragon 888 is compatible with it so I was thinking about doing a Windows 10 arm VM with native performance.
chrisaw said:
Got this building cleanly and producing a flashable ZIP:
GitHub - cawilliamson/Kirisakura_ANAKIN_ROG5 at master_release_s_1
Contribute to cawilliamson/Kirisakura_ANAKIN_ROG5 development by creating an account on GitHub.
github.com
Build instructions:
Code:
$ cd <kernel sources>/build/
$ ./build.sh
You will need Docker installed on your system via whatever means necessary and this is really aimed at Linux systems although you could also run the build on a Windows or Mac PC if you setup Docker correctly.
Click to expand...
Click to collapse
Thanks I will try that
Moved all of my development efforts from XDA.
chrisaw said:
Your chances of getting that working easily are slim.
Adding the KVM support to the kernel is easy but the problem you then get is about switching the CPU to "HYP" mode. (just based on what I read online)
If you have further info about this I'd be interested in reading it and seeing if we can get something which works. What I can tell you is that /dev/kvm does not get created simply by the changes I made.
Also be aware that /proc/config.gz is spoofed in these kernels with the "stock" config file so running something like "zcat /proc/config.gz" wont show KVM is enabled but it is.
Click to expand...
Click to collapse
Yes you are R8! Without hyp we can't enable KVM support.. but i found a site where telling android 13 has full KVM support.. but don't know it's true or not..
Because KVM support only available on some snapdragon chipset only..
Redirect Notice
Can't all of this work be ported to the Infinix NOTE 8 on Android 10 too?

Categories

Resources