Question Oneplus 9 Nethunter Kernel - OnePlus 9

Just wondering if anyone has built a nethunter kernel for the oneplus 9 yet. I tried figuring it out myself using the instructions on the
nethunter website but as another person stated in another thread 'its not very clear cut'. long story short, i spent like 4 hours trying to figure it out on my own to no avail. if anyone has the knowledge to build a kernel and interested in doing it let me know.

Related

Compiling Android + Kernel from Source.

Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
fllash said:
Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
Click to expand...
Click to collapse
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Mekrel said:
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Click to expand...
Click to collapse
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
fllash said:
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
Click to expand...
Click to collapse
A git is a repository for source code, developers upload their source code there and can commit changes. The commit can allow descriptions of what was changed and also details the files changed.
The git system allows other people to add to the source if they have permission, or allows others to read the changes and download the source code.
Git links are usually posted by people who release software, as Android is GPL licensed so people have to release their source code if they're distributing their work.
Editing the kernel, take a look into the git and the commits and it will show you which files were changed and how exactly they were changed. That will give you the best understanding.
UV/OC is done by changing the acpu table in the architectures files and changing the minimum/maximum voltage figures in the board_bravo.c file.
The Cyanogen kernels are not Sense kernels no, it's a modified Google Kernel.
Thanks for the explanation. I followed the guide and built the rom, and it works (always a plus )
Now, the next thing is the kernel. How do I build a kernel with the CM tweaks integrated? I understand that all i would be doing is rebuilding the same one that is already installed, but im doing it to learn.
So, if i synced the GIT, does that include the CyanogenMOD kernel source? If it does, where is it and how do i rebuild it. If not, where do i find it?
Thanks,
Josh.

[Q][EASY $30] Need to compile Android kernel - Help wanted

Hey guys,
After two weeks of research and trying myself, I have decided I need someone to help this linux noobie out.
What I am looking for is to change 1 value which is in 1 file in the kernel source.
I've found which file it is. The problem is that with all the tutorials I've read and kernels I tried to compile,
they don't seem to be working with the source code I need to compile.
Details:
Source code I need to compile is for Samsung Tablet 2 10.1 - GT-P5110
Source code can be found @ samsung's open source site (can't post link here ) ... search for "GT-P5110_ICS_Opensource.zip"
Value I need to change is in the company layer of kernel.
I have been able to compile this kernel and get a zImage and some modules.
But I fear this isn't enough, I think I need a system.img?!
In any case, is there anyone who can help me out?
Do I need something else, patch/boot.img? Maybe I'm overlooking another easy solution?
I'll give you $30 on your Paypal account, same day!!
***Please note that $30 is only for the first working solution/person who can help, not for every solution :angel:***

ELI5 Kenel Source Code

hello, so i have been in communication with huawei regrading the kernel source. i mentioned the lack of source files for the mate 7 and how its part of the google/android agreement that oems must share all relevant sources for devices that use any part of android. they replied with the usual reply about how they will work hard to resolve this issue and whatnot. the rep did give me a link to the kernel source which i believe is for kitkat but i cant be sure so i hope that someone can verify.
having said that, why cant the kitkat source be used to build for lollipop and marshmallow? im still using a nook hd+ that is running MM......... WHAT??? how is this possible if the only kernel provided was for ICS? anyway, im going to keep poking at them until they either give up the LP/MM sources of they tell me to ****off. so, if anyone can please check out the link i would really appreciate it.
Lollipop Kernel?

Need help with building kernel (ath9k)

Hi Lads,
Past few days im trying to add the ath9k module to a kernel.
I took the emotion kernel but when i started to make the kernel i constantly receiving errors.
I googled till my eyes burned out of my skull but got no solution. Probably im doing something wrong
Im looking for someone who can build the kernel easily including the ath9k driver.
My purpose is to use Kali Nethunter with the TP-Link WL722N adapter on the Note Edge N915F.
Im so desperate that i want to pay for it. Or maybe a game on steam :highfive:
Please help me out!
Greetings.
Stefjoe
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
AlaskaLinuxUser said:
Stefjoe,
I also saw your pm. I know now that you would like that module added to the tblte kernel. Kali Nethunter is not a rom, it is an overlay of sorts. Essentially a chrooted Linux distribution running over the top of your Android phone.
Kali only supports stock roms, or some "CyanogenMod variants", so I could add this to the AOKP kernel for you, but I cannot guarantee that you will have everything you need for this to work. For instance, you are going to need packet injection, module loading and unloading, force modules, etc., etc., much more than just the one item you requested. The note edge is not on the list of supported devices for a reason, it takes much dedication and effort to set it up properly. You would also need to build your custom port of Kali to go on your system. (Unless I am mistaken, no one has made one for the Note Edge yet.)
So, have you already built a working port of kali for your phone?
I say this in the kindest of regards, but if you cannot build the kernel, can you build the kali image?
As a side note, all the tools in Kali Linux are freely available, and you can download them to your phone right now, just not in the glorified package. Having Kali is like having a toolbox. Having a tool box does not make one a mechanic. Having Kali does not make one a pentester, or cacker (unethical hacker) if you are aiming for that.
I am not opposed to you having Kali, I've used it before myself (not on a phone), but in the end, I found Debian to be just as useful, downloading the tools that actually helped me in my job/tasks.
I am just curious if you have already created the kali image you need for the Note Edge phone. In theory, if the only thing you need is a kernel with the above, then it should work with your current kernel, just without that feature. If you have not even made the image yet, then I suspect that you are going to need a lot more than what you asked for.
I hope that makes sense.
Click to expand...
Click to collapse
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
stefjoe said:
Thanks for your reply again! I kinda ported the Nethunter to Note Edge with help from this video on YT ; /watch?v=jhLBJJwB88k
Everything works fine but only the TP-Link WL722N is not working because the kernel does not have this module installed. The adapter takes care of the injection so no worries i guess. I sended u a PM.
I am a certified hacker and i know what Kali Linux is but only missing this tool and it could make my work a lot easier. So i really appreciate if u can do this for me man. Endless thanking
Greetings
Click to expand...
Click to collapse
Stefjoe,
I see from your PM that you are not requesting my AKLU kernel, but the TW Emotion Kernel. I can't do that for you.
To build the kernel you need the right source, the source code for the kernel has been updated since r17 ( I think it is r2X? now). That means rolling back through the commits to find the time it was built and working properly and getting that source. It is not as simple as just going straight back to r17, the r17 version you may be using may be anywhere in the commits between r17 and r18.
Then we would need the exact toolchain he/she was building with. He says Linaro 5.1, but which one, 5.1, 5.1.1, 5.1.8? There are several.
Also, I do not build TW kernels. I only build AOSP kernels. I also don't usually build off of someone else's work. I was under the impression you wanted me to add that module to my AKLU kernel instead.
To get that specific kernel built the way you want, I recommend that you ask @Pafcholini to do that for you, since he made it originally.
If you want, I can add that module to my AKLU kernel for you, but I know the rest of the needed kernel items are in there that you need (packet injecting, force module loading, etc.) so I doubt it will work for you. You would also have to switch to AOKP, which may or may not work with your porting guide.
Sorry, but after looking at your full request, I don't think I can help you with what you need.

Custom rom for Note 10 / Note 10 lite - I seek guidance/help

Hello,
I'd like to get into android ROM development. But I will need help/guidance.
I've managed to build lineageos for curtana using xiaomi kernel and malachite device tree and vendor files. Don't know it it actually works as I don't have the device
.
So as I said I'd like to learn it, but as android is big I am still kinda lost in it. I know i can create something that already is, but that is not useful to the others, so that's why I am thinking about these 2 devices xiaomi note 10 or note 10 lite as they don't have any roms yet.
So if there is anyone who will be able to help and guide me through the process of getting device tree, vendor files and using (xiaomi) kernel putting it all together, I will be more than happy to buy one of those devices and go and create and support some lineageos, aosp and or pixel experience roms.
Thanks
Gajdalf said:
Hello,
I'd like to get into android ROM development. But I will need help/guidance.
I've managed to build lineageos for curtana using xiaomi kernel and malachite device tree and vendor files. Don't know it it actually works as I don't have the device
.
So as I said I'd like to learn it, but as android is big I am still kinda lost in it. I know i can create something that already is, but that is not useful to the others, so that's why I am thinking about these 2 devices xiaomi note 10 or note 10 lite as they don't have any roms yet.
So if there is anyone who will be able to help and guide me through the process of getting device tree, vendor files and using (xiaomi) kernel putting it all together, I will be more than happy to buy one of those devices and go and create and support some lineageos, aosp and or pixel experience roms.
Thanks
Click to expand...
Click to collapse
The problem is that there are no working trees yet. The only thing which is not working is the display. the display is just dead

Categories

Resources