kimocoder / android_kernel_oneplus_oneplus6

This is the DJY nethunter kernel source code for Oneplus6 and 6T
Other
9 stars 6 forks source link

bootloop #4

Open ammlr opened 3 years ago

ammlr commented 3 years ago

hi, kim. I really appreciate your work, and I'm just here to report that oneplus_kernel.zip bootloop on oos 10.3.8

stuck on bootloader screen

kimocoder commented 3 years ago

It's working just fine.

Screenshot_20210207-004549

kimocoder commented 3 years ago

Try the new zip. Fixed an issue with UFS and dwc3, so it's possible you had issues.

https://github.com/kimocoder/android_kernel_oneplus_oneplus6/blob/nethunter-10.0/kali-nethunter-kernel/oneplus_kernel_v2.zip?raw=true

ammlr commented 3 years ago

Try the new zip. Fixed an issue with UFS and dwc3, so it's possible you had issues.

https://github.com/kimocoder/android_kernel_oneplus_oneplus6/blob/nethunter-10.0/kali-nethunter-kernel/oneplus_kernel_v2.zip?raw=true

I've tried v2, but keep bootloop. have you tried oos 10.3.8 on op6?

I didn't know the cause, and I went back to the blu_spark kernel

kimocoder commented 3 years ago

I always run the latest. At all time, flashed both in TWRP and FKM, without any problem

kimocoder commented 3 years ago

Now on linux-stable v4.9.256 with WiFi and HID out of the box 👍

![Uploading Screenshot_20210207-091746.jpg
]()

j-v-bernstein commented 3 years ago

I'm just here to report that oneplus_kernel.zip bootloop on oos 10.3.8 stuck on bootloader screen

I've tried v2, but keep bootloop. foreseeable I can confirm the immediate bootloop issues after flashing said kernel.

I generally build directly from your repo @kimocoder; shortly after you pushed new commits etc.But also building the more stable ones.

The last two months were constantly problems with the kernel(DJY,android-stable, some of the 'new' kernel).

Momentarily is it immens difficult to even get the phone into in a working twrp.The OTG function isn't working at all, the same goes for Mtp .

In the last weeks I had to flash twrp back onto the One Plus 6.

I hope we (or better kimo) can solve those problems in the foreseeable time.

Many heaps

kimocoder commented 3 years ago

Strange, I test them on a regular basis and don't have any problems at all.

Hard to find problems when I don't see them either in debug or in front of me

kimocoder commented 3 years ago

I'll make a new one, to make official than puts this in experimental 👍

ammlr commented 3 years ago

Screenshot_20210208-023549.jpg

Screenshot_20210208-024008.jpg

I tried to experiment, by flashing oneplus_kernelv2 > magisk > then installing the chroot manually. successful, but got the following information "sdcard /lib/modules/4.9.256-Nethunter doesnt exist"

is this kernel running successfully? and how to fix that?

kimocoder commented 3 years ago

@ammlr @j-v-bernstein

Uploaded a new one. Remade the whole kernel. Report back if it works better.. or not, but this one should be good.

https://github.com/kimocoder/android_kernel_oneplus_oneplus6/raw/nethunter-10.0/kali-nethunter-kernel/oneplus_kernel_v3.zip

j-v-bernstein commented 3 years ago

This time it booted up without issues, but unfortunately I got this after reboot.I cloned the kali nethunter repository and build a new installer.Probably I give this another shoot. Screenshot_20210212-061445

Pixailz commented 3 years ago

Successfully build your kernel from repo, voodoo with the Image.dtb and modules folder with the @johanlike anykernel zip. That's fine everythings working. Same pop up as @j-v-bernstein. I'll report if somethings wen't wrong ;) Device : op6t (fajita)

Issues :

Working :

j-v-bernstein commented 3 years ago

With the new kernel -> https://github.com/kimocoder/android_kernel_oneplus_oneplus6/blob/development/kali-nethunter-kernel/oneplus_kernel.zip Finally again.. Screenshot_20210218-032702 Screenshot_20210218-034443_1

Merely the compiling with the 'development' branches gave me some minor errors regarding the arm32 toolchain.

Your work is highly appreciated, kimocoder :)

Thanks a bunch!

j-v-bernstein commented 3 years ago

Hey @kimocoder,

I wanted to give you a update in regard of the current stability of your excellent work on this kernel.

System: OOS 10.3.8 Magisk: 22.0

I build from two branches

nethunter-10.0

The device booted into the system.Unfortunately the same error as here shows up.RIght after start up. https://github.com/kimocoder/android_kernel_oneplus_oneplus6/issues/4#issuecomment-777981197

Successfully build your kernel from repo, voodoo with the Image.dtb and modules folder with the @johanlike anykernel zip. That's fine everythings working. Same pop up as @j-v-bernstein. I'll report if somethings wen't wrong ;) Device : op6t (fajita)

The second one

development

After I flashed the kernel, the system hung at the unlocked bootloader warning. Usable log files weren't possible to obtain..

Best regards

kimocoder commented 3 years ago

You will have to wait until i release the new one.

kimocoder commented 3 years ago

Just forget them all, have a new one at kernel v4.9.261. will upload tomorrow sometime

kimocoder commented 3 years ago

Update will have to wait a little, OnePlus pushed 10.3.9 and it has stability fixes and security fixes. We want those changes into our kernel too, cause it fixes some crazy stuff happening

Pixailz commented 3 years ago

Impatient to build this kernel, on my side i have created a script to build this kernel and some other (Like the DJY's one) here.

maichai commented 3 years ago

I used the current image on 10.3.9, but the HID drivers wont be there.

In general I do not like the dependency on OxygenOS. I would really prefer to put LineageOS on my OP6T and then Nethunter on top, but I have no clue what I would have to get that to work.

Maybe someone could help out?

j-v-bernstein commented 3 years ago

@maichai

I used the current image on 10.3.9, but the HID drivers wont be there.

In general I do not like the dependency on OxygenOS. I would really prefer to put LineageOS on my OP6T and then Nethunter on top, but I have no clue what I would have to get that to work.

Maybe someone could help out?

You'll find a rom and kernel with exactly those requirements in the OnePlus 6/6T sub-forum on XDA.

https://forum.xda-developers.com/t/official-kekhunter-420-a-pentesters-rom-for-oneplus-6-6t.4211659/

Personally I am not that much of a fan of these Kali Nethunter rip-offs.

If you could arrange with this go nuts! :wink:

maichai commented 3 years ago

Great, thanks for the pointer! I will try that

maichai commented 3 years ago

Just in case someone find this while looking for a solution for Lineage + Nethunter: the custom rom / kernel linked by @j-v-bernstein does not work with the OnePlus 6T, at least not the currently available zip files (lineage-kek-17.1-20210322-OFFICIAL-fajita.zip): not even Lineage will boot. That is even before installing Magisk and the Nethunter kernel!

Pixailz commented 3 years ago

working for fajita, LineageOS 18.1, Magisk 22104, kernel from here proof

working GREAT.

maichai commented 3 years ago

In the screenshot it says "HID interface not found" which clearly indicates that is NOT working properly. Sure, I can install Nethunter, but without the working drivers and interfaces it is nearly useless.

Pixailz commented 3 years ago

In the screenshot it says "HID interface not found" which clearly indicates that is NOT working properly. Sure, I can install Nethunter, but without the working drivers and interfaces it is nearly useless.

Yeah because you have to change the USB mode to HID, by default is set to MTP

Proof: Screenshot_20210523-143906.jpg

maichai commented 3 years ago

That is good news, how do I do this?

Pixailz commented 3 years ago

@maichai USB Arsenal on nethunter app

CrissGill commented 1 year ago

I also have OnePlus 6 but I can't use external wifi and can't do hid attacks i am done with

  1. Unlock bootloader and rooted my device
  2. Installed kali nethunter image from official website My device is on oxygen OS 11 beta . Chroot works perfectly i know it's rookie question, if i flash this kimo's repo through TWRP dose my problem solved or not solved ❓ sorry for bad English
CrissGill commented 1 year ago

Anyone who has done with OnePlus 6 can help me ❓

j-v-bernstein commented 1 year ago

Anyone who has done with OnePlus 6 can help me question

This repository and therefore the kernel are fairly obsolete and outdated by now.

Have you tried the most recent one for Android twelve , both OOS and AOSP?

OnePlus 6/T Kali Nethunter kernel (12)

https://kali.download/nethunter-images/kali-2023.2/nethunter-2023.2-oneplus6-twelve-kalifs-full.zip

https://kali.download/nethunter-images/kali-2023.2/nethunter-2023.2-oneplus6-twelve-kalifs-full.zip.torrent

Good luck!

CrissGill commented 1 year ago

Anyone who has done with OnePlus 6 can help me question

This repository and therefore the kernel are fairly obsolete and outdated by now.

Have you tried the most recent one for Android twelve , both OOS and AOSP?

OnePlus 6/T Kali Nethunter kernel (12)

https://kali.download/nethunter-images/kali-2023.2/nethunter-2023.2-oneplus6-twelve-kalifs-full.zip

https://kali.download/nethunter-images/kali-2023.2/nethunter-2023.2-oneplus6-twelve-kalifs-full.zip.torrent

Good luck!

Ok, can i upload Op 6T Android 12 firmware on OnePlus 6 ❓🀔 Then i can try this isn't it ❓ Thanks for reply 😍