OnePlusOSS / android_kernel_oneplus_sm8350

Other
64 stars 50 forks source link

Nethunter Kernel Compilie #6

Open Mustafagio opened 2 years ago

Mustafagio commented 2 years ago

I'm compiling for Nethunter, the compilation is successful, but only the image file is generated at the output, but the image.gz-dtb file I need. When I looked in menuconfig, I could not find the image.gz-dtb option under the boot menu, but when I looked at the kernel of the kernel_oneplus_sm8250 oneplus8 device, this option is available.

Mustafagio commented 2 years ago

Kali-nethunter/out/arch/arm64/boot

Eetuheino03 commented 2 years ago

What is name of core file and where i put that?

Mustafagio commented 2 years ago

I looked at the screenshots, there are wireless errors, so the compilation fails, so there is no file in the output, you can try to compile the source here https://github.com/kristofpetho/kernel_oneplus_sm8350

Eetuheino03 commented 2 years ago

It is same that i use

Mustafagio commented 2 years ago

I suggest you try the zip I sent you, do research on this subject at that time, believe me, you will see that you can solve it, I didn't know anything when I started this job.

Mustafagio commented 2 years ago

Believe me, I couldn't solve some mistakes and it is very difficult to try to solve them from here.

Eetuheino03 commented 2 years ago

Okey i try that, thanks for helping me!

Eetuheino03 commented 2 years ago

But i have some wierd kernel that i dont know where i downloaded but it is working and there is monitor mode only one thing is not working right is that Bluetooth and thats whay i try install new kernel to get correct Bluetooth drivers for my phone i shcreen shot you some pictures :)

Eetuheino03 commented 2 years ago

Screenshot_20220404-192541.jpg

Eetuheino03 commented 2 years ago

Screenshot_20220404-192601.jpg

Eetuheino03 commented 2 years ago

Screenshot_20220404-192616.jpg

Eetuheino03 commented 2 years ago

Screenshot_20220404-192621.jpg

Mustafagio commented 2 years ago

Q Do you have external Bluetooth device

Eetuheino03 commented 2 years ago

And i have not downloaded that kernel i dont know how its there and whay but is working right only is Bluetooth

Mustafagio commented 2 years ago

You need to plug a Bluetooth device into your phone with otg because the phone itself does not support Bluetooth

Eetuheino03 commented 2 years ago

Q Do you have external Bluetooth device

No i dont only phone Bluetooth

Mustafagio commented 2 years ago

Monitor mode does not work on my phone, I wonder if you can remember where you found it, can you tell me?

Eetuheino03 commented 2 years ago

Monitor mode does not work on my phone, I wonder if you can remember where you found it, can you tell me?

I dont remember exactly because i dont install that any site or github i install nethunter app and i installed chroot full i discover that kernel today and tested monitor mode

Eetuheino03 commented 2 years ago

And i try install kernel whit twrp and that failed every time because i cant compile that but if it helps i can send that chroot file for you?

Mustafagio commented 2 years ago

Have you tried installing with Magisk?

Eetuheino03 commented 2 years ago

Have you tried installing with Magisk?

No i dont

Mustafagio commented 2 years ago

Kernel version may be the original kernel of the phone, it was last installed in 2021

Mustafagio commented 2 years ago

Screenshot_20220404-195118 Choose to install with internal storage and install

Eetuheino03 commented 2 years ago

But how all attacks work then other than Bluetooth? And if is it whay i need to install custom kernel

Eetuheino03 commented 2 years ago

And i try install but this happen: Screenshot_20220404-195743.jpg

Eetuheino03 commented 2 years ago

What you mean? I dont see picture i don't know whay?

Mustafagio commented 2 years ago

Ne demek istiyorsun? resmi göremiyorum neden bilmiyorum 16490926598866990539880478986186

Eetuheino03 commented 2 years ago

I dont have any wifi adapters

Mustafagio commented 2 years ago

Do you have a wifi network adapter, you can try it with Wifite2 by plugging it into the phone, if it sees the adapter, it can work

Mustafagio commented 2 years ago

I'm sorry I couldn't help you more. I haven't been doing this for 7 months. I tried to help as much as I can remember. I'll let you know if I find anything.

Mustafagio commented 2 years ago

Please let me know if you find anything.

Mustafagio commented 2 years ago

I'll wait for the official release of kali nethunter for now, it's really tiring to deal with if you don't know what to do

Eetuheino03 commented 2 years ago

All work just fine only i need figure out Bluetooth drivers for my phone

Mustafagio commented 2 years ago

Her şey yolunda gidiyor sadece telefonum için Bluetooth sürücülerini bulmam gerekiyor Which Bluetooth adapter are you using?

Mustafagio commented 2 years ago

Screenshot_20220404-230036 images (2) Screenshot_20220404-225657 Screenshot_20220404-225649 The built-in Bluetooth in the phone is not supported, you need a Bluetooth device as in the picture

Mustafagio commented 2 years ago

That's why you may not be using Bluetooth I think your problem is not with the driver, the phone does not have internal Bluetooth support for nethunter.

Mustafagio commented 2 years ago

You can check the link here https://www.kali.org/docs/nethunter/nethunter-btarsenal/

Mustafagio commented 2 years ago

Screenshot_20220404-231418

https://github.com/offensive-security/kali-nethunter/issues/456

Eetuheino03 commented 2 years ago

Okey🤔

Eetuheino03 commented 2 years ago

But that's your problem i think it's that kernel image compressed in that configuration menu

Mustafagio commented 2 years ago

you can go to the link here and ask the person who compiled nethunter for phones https://github.com/kimocoder/nethunter_kernel_oneplus_sm8350 you can also try to download and compile this kernel source. I'm thinking of downloading and compiling, maybe the problems will be solved

LondonBoy619 commented 2 years ago

you can go to the link here and ask the person who compiled nethunter for phones https://github.com/kimocoder/nethunter_kernel_oneplus_sm8350 you can also try to download and compile this kernel source. I'm thinking of downloading and compiling, maybe the problems will be solved

Have u had luck compiling it? I tried every clang and every gcc lol I can't compile it.

Send me a msg on tg @londonboy_alt we'll figure it out together and build a fully fledged nethunter kernel for op9.

Mustafagio commented 1 year ago

buradaki linke gidip telefonlar için nethunter derleyen kişiye sorabilirsiniz https://github.com/kimocoder/nethunter_kernel_oneplus_sm8350 bu kernel kaynağını indirip derlemeyi de deneyebilirsiniz. İndirip derlemeyi düşünüyorum belki sorunlar çözülür

Derleme şansınız oldu mu? Derleyemediğim her clang ve her gcc lol denedim.

Bana tg @londonboy_alt adresinden bir mesaj gönderin, birlikte çözeceğiz ve op9 için tam teşekküllü bir nethunter çekirdeği oluşturacağız.

I tried to compile it, but I got the same errors you got, then I didn't have a chance to try again.