Can any one help with a [KERNEL] Nethunter for Galaxy S20+ SM-G985F/DS - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

hi can any one help with a tutorial for me to get nethunter on my galaxy s20 Plus also with a way to do the kernel for Samsung as ive been failing

Better start with learning how to compile linux kernel from source, then learn what a cross-compiler is, then learn how to build AOSP kernel from source, then learn how to apply patches to kernels, annnnnnd then compile nethunter source.

thanks and where can i find this info or good books on matter or toutorials?

Related

[Q] Stock kernel .config?

I'm interested in building my own kernels for my Galaxy Nexus (LTE). I'm familiar with configuring and building kernels in linux. I've been through Google's documentation at source.android.com/source/building.html [sorry, can't post actual links], and have successfully built using the device configuration from 'lunch full_toro-userdebug'.
I'm just wondering how close this kernel config is to the one that shipped with my device. I'd like to start from the stock kernel config so I don't miss out on any optimizations. I wasn't able to find a /proc/config.gz on the phone, nor could I extract it from the yakju-icl53f-factory-89fccaac.tgz factory image with extract-ikconfig.
Has anyone released an official .config for this device, or is 'lunch full_toro-userdebug' the best place to start?
Questions do not belong in the development section.
Sent from the MIUI powered E3D
you need the kernel source first.
make defconfig tuna_defconfig

[Q] Compiling and Porting Native Applications and Libraries to Android

Hello, I would like to add libusb library to my Nook Simple Touch. I read few documents how to port and compile it. As it seems to me there are two options:
1.Putting your sources into the Android source tree and compiling them with the Android tool chain.
I'm new to this and my questions may sound stupid but I don't want to mess things up.
I found only NTS kernel source, but which android source tree I need to use and where to find it?
2.Compiling your sources statically with another tool chain.
Do I need to use Android NDK?
Is it possible to make an update zip containing ported library?
I need some directions for further reading. Thank you! Best regards, Andy

[Q] Kernel Development for The Sprint Note 2

Hello Guys,
I am a developer of windows apps and I also do some web development stuff. I have also for the last couple of weeks been playing around with the android SDK and building apps for my phone. I have wanted to get into kernel development for my device, but I have had trouble finding a good place to start. I know I can follow the google directions and build a kernel, but that may not be specific to my device.
I was first wondering is there a kernel (Perferably AOSP like Cyanogenmod) that i can compile just get used to the build process. I belive I have already found that, it being this kernel right here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4412"]https://github.com/CyanogenMod/android_kernel_samsung_smdk4412
(Sorry, Im under ten posts.)
But this is where the confusion starts for me. I see this as a base of a lot of kernels for the note 2, but I notice the kernel is for the Galaxy S3. So in short, is there a good way to start learning how to build and modify android kernels for my Note 2? If so, do you have any recommendations on what kernel to base of of, or any tips or tricks, or etc?
PS: I am a "Newbie" by the forum standards so i can't post in the dev section.
R3liant said:
Hello Guys,
I am a developer of windows apps and I also do some web development stuff. I have also for the last couple of weeks been playing around with the android SDK and building apps for my phone. I have wanted to get into kernel development for my device, but I have had trouble finding a good place to start. I know I can follow the google directions and build a kernel, but that may not be specific to my device.
I was first wondering is there a kernel (Perferably AOSP like Cyanogenmod) that i can compile just get used to the build process. I belive I have already found that, it being this kernel right here:
https://github.com/CyanogenMod/android_kernel_samsung_smdk4412"]https://github.com/CyanogenMod/android_kernel_samsung_smdk4412
(Sorry, Im under ten posts.)
But this is where the confusion starts for me. I see this as a base of a lot of kernels for the note 2, but I notice the kernel is for the Galaxy S3. So in short, is there a good way to start learning how to build and modify android kernels for my Note 2? If so, do you have any recommendations on what kernel to base of of, or any tips or tricks, or etc?
PS: I am a "Newbie" by the forum standards so i can't post in the dev section.
Click to expand...
Click to collapse
You might want to start here http://forum.xda-developers.com/forumdisplay.php?f=1896
Check the Matrix thread, devil kernel and Garwyn's experimental kernel thread. These might give you some ideas
davidh59 said:
You might want to start here http://forum.xda-developers.com/forumdisplay.php?f=1896
Check the Matrix thread, devil kernel and Garwyn's experimental kernel thread. These might give you some ideas
Click to expand...
Click to collapse
Thanks! I have been testing around, but two problems have come up,
I have searched multiple threads and got as many dependencies as I could, but I still needed the toolchain. I got the android NDK, and used this guide:
http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
I used the arm-linux-androideabi- toolchain, is that ok? Even if it is, is there a better or recommended tool chain?
Another problem I had is when compiling the source I got a "error unknown pseudo-op .arch_extension" when it was compiling the devices section of the kernel.
Any thoughts and help would be appreciated.
Cheers,
R3liant

[Q] SElinux permissive SM-P605?

As the title suggests, is there a kernel for the P605 which will allow SElinux permissive, and therefore allow full linux chroot installs to be completed with relative ease.
I am aware of a permissive kernel for P600, http://forum.xda-developers.com/showthread.php?t=2590311
but assume this will not function for the P605.
If not can the same steps used to make the P600 kernel permissive be applied to a P605 kernel?
Looking for the same kernel
I'm looking for the same SELinux-permissive kernel for P605.
You definitely can't use the P600 kernel as it is for the Exynos variant (P600/01) while ours (P605) is the Quallcom CPU.
Unfortunately the P600/01 was released around the world first with most devs getting the Exynos version. Little developement has been done for the P605 but there has been a little. Just not for an SE-Linux permissable kernel, at least not here on XDA...
Will try to build it myself
I've been thinking of modifying and building the kernel myself. The problem is that there are several kernel source codes on Samsung's website for SM-P605. (I can't post the link here) My device model is SM-P605 without any suffixes so I think it's the first kernel that I should choose.
I think modifying the kernel into SELinux permissive should be as easy as changing a default value in one of the source files and then I can build the kernel using the instructions that come with it. Fingures crossed!
One more thing: in the source code that Samsung provides there are two directories, one kernel and the other platform do I need to build the platform too?
Rhesus007 said:
I've been thinking of modifying and building the kernel myself. The problem is that there are several kernel source codes on Samsung's website for SM-P605. (I can't post the link here) My device model is SM-P605 without any suffixes so I think it's the first kernel that I should choose.
I think modifying the kernel into SELinux permissive should be as easy as changing a default value in one of the source files and then I can build the kernel using the instructions that come with it. Fingures crossed!
One more thing: in the source code that Samsung provides there are two directories, one kernel and the other platform do I need to build the platform too?
Click to expand...
Click to collapse
Hey Rhesus007, just wondering if you have made any progress?
Im really in need of a permissive kernel, however i have no knowledge of how to make it etc.
Thanks.
Just dropping back in the thread, still hoping this will happen, as linux on this tab would be really useful imo.
Someone with some dev experience might be able to use the methods used on the note3, which has the same snapdragon 800 soc to achieve this. The basic steps needed to modify the kernel are described in this thread
http://forum.xda-developers.com/showthread.php?t=2471416
if nobody with experience can do this, I might give it a try, but that might be a recipe for disaster....
patchseven said:
Just dropping back in the thread, still hoping this will happen, as linux on this tab would be really useful imo.
Someone with some dev experience might be able to use the methods used on the note3, which has the same snapdragon 800 soc to achieve this. The basic steps needed to modify the kernel are described in this thread
http://forum.xda-developers.com/showthread.php?t=2471416
if nobody with experience can do this, I might give it a try, but that might be a recipe for disaster....
Click to expand...
Click to collapse
I've got no experience with this, if you could attempt it, I'm sure a lot of people would be grateful!
For those still looking.
Maybe this might work, don't know if it will work on custom ROM's
http://forum.xda-developers.com/showthread.php?t=2765353&page=3
EP005 said:
Maybe this might work, don't know if it will work on custom ROM's
http://forum.xda-developers.com/showthread.php?t=2765353&page=3
Click to expand...
Click to collapse
http://forum.xda-developers.com/gal...rnel-stock-selinux-permissive-kernel-t3232814
For the 5.1.1 update!

LF Pie-based Kernel for Galaxy Tab S4 WiFi to run Nethunter

I do not have the knowledge to compile the kernel, myself, and I really want the full Nethunter suite on my tablet.
Could someone help me out or walk me through the process? The instructions on OffSec for building did not seem clear. And I've not been successful finding the stock kernel I need, in the form I understand to the best of my ability that I need.
I currently have WETA and Magisk on my gts4lwifi and I want to do whatever I need to get Nethunter running, correctly.
Sent from my SM-G975U
kernel building
Cryopier said:
I do not have the knowledge to compile the kernel, myself, and I really want the full Nethunter suite on my tablet.
Could someone help me out or walk me through the process? The instructions on OffSec for building did not seem clear. And I've not been successful finding the stock kernel I need, in the form I understand to the best of my ability that I need.
I currently have WETA and Magisk on my gts4lwifi and I want to do whatever I need to get Nethunter running, correctly.
Sent from my SM-G975U
Click to expand...
Click to collapse
i dont know where to locate the source code, people on git hub will probably have it, but in my experience its better getting it from the manufacturer.. i have a guide on how to compile on nougart kernel for nvidia shield post

Categories

Resources