DavidBuchanan314 / NXLoader

My first Android app: Launch Fusée Gelée payloads from stock Android (CVE-2018-6242)
https://nxloader.app
MIT License
524 stars 55 forks source link

NXLoader SUMBITURB failed :( #11

Open theoouy opened 6 years ago

theoouy commented 6 years ago

Like the title says, I can't seem to complete the run because of this weird error, and it's driving me nuts. I even used different cords, and 2 different phones. Does anyone have any idea what this error might consist of?

a7mag3ddon commented 6 years ago

using a usb -c on the phone? i read it needs usb 3.0 to work.

DavidBuchanan314 commented 6 years ago

@a7mag3ddon not true. Where did you read that?

SUBMITURB failed most likely means your device has an EHCI controller, not XHCI. You'd need to patch your kernel's drivers if you want this to work.

a7mag3ddon commented 6 years ago

I thought I had read that it uses xhci chipset aka usb 3.0.

Will check my history and report back.

a7mag3ddon commented 6 years ago

Hang on, just saw your comment above, saying the same thing lol

a7mag3ddon commented 6 years ago

Just googled switch hack xhci there are loads of sites saying it, that's where I would have got it. Probably causing his problem as you've said above.

DavidBuchanan314 commented 6 years ago

@a7mag3ddon XHCI != USB 3.0.

My nexus 5 is USB 2.0 only, yet it has an XHCI controller.

theoouy commented 6 years ago

And you'd think that an LG Stylo 3 Plus has one.

a7mag3ddon commented 6 years ago

according to the specs LG Stylo 3 Plus is micro usb 2.0 i dont know what controller it has in it doesnt say.

Fail0ver said that usb 2.0 driver on xhci will need a kernal patch which is available from their page, as my PC and phone are usb 3.0 seems to work fine for me :-/

I was only trying to help with the suggestion. good luck.

DavidBuchanan314 commented 6 years ago

@a7mag3ddon xhci does not need patching under any circumstances, ehci does however.

theoouy commented 6 years ago

Yeah, I just did it with my friends phone which is a Samsung Galaxy 7 and it worked, so I'm assuming that if your phone can use a usb driver but can't run it, you need to kernel patch it, otherwise it's dandy for other phones.

aKMTR commented 6 years ago

But how do i patch my kernel to xhci? I been looking all over the internet and i could barely find info on how to patch the kernel to xhci

aKMTR commented 6 years ago

@DavidBuchanan314

DavidBuchanan314 commented 6 years ago

@aKMTR not patch to xhci, simply patch ehci to behave the way we want it to.

https://github.com/fail0verflow/shofel2/blob/master/linux-ehci-enable-large-ctl-xfers.patch

You will need to recompile your kernel to do this most likely, although I did write a "hotpatch" script for desktop linux systems: https://gist.github.com/DavidBuchanan314/41b12362cc4d8c539dc441d75155f2e9

I can't really help you from here. but if you do figure it out please document what you did so others can follow along.

mariogamer2 commented 6 years ago

Do you need to rebuild the whole kernel or only the driver?

DavidBuchanan314 commented 6 years ago

Depends if it's built as a module or not...

Zacki777 commented 6 years ago

how can i patch kernel? i have redmi note 3 pro with nitrogen os anfroid 7.1.2? same problem for me(

symis commented 6 years ago

DavidBuchanan314 please help us on patching the kernel and solve this problem. A small guide would be really appreciated. Thanks

walkthetalk commented 6 years ago

Can we resolve it though patching nxloader? generally speaking, we can't patch the kernel for android if not rooted.