pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.22k stars 308 forks source link

Oneplus MSM8996 / oneplus3 patch not existing! #133

Open uumas opened 6 years ago

uumas commented 6 years ago

Is there a kernel compatible with LineageOS 15.1 for OP3(T) with usb keyboard support?

conrad-heimbold commented 6 years ago

kernel version? 3.x or 4.x?

uumas commented 6 years ago

3.18

conrad-heimbold commented 6 years ago

We've got a generic kernel version 3.18 patch here: https://github.com/pelya/android-keyboard-gadget/blob/master/patches/existing_tested/by-generic-kernel-version/generic_kernel_3.18.patch We don't have one specifically for your device, sorry. Did you try that patch?

uumas commented 6 years ago

I tried, but I didn't manage to compile the kernel correctly. Do you have a good, up-to-date guide for it? Or could someone compile it for me and I'd try flashing the boot.img? This is the kernel that needs to be patched as I'm using LineageOS, right: https://github.com/LineageOS/android_kernel_oneplus_msm8996

conrad-heimbold commented 6 years ago

What was the error message during building?

How to build lineageos for oneplus3: https://wiki.lineageos.org/devices/oneplus3/build

uumas commented 6 years ago

It has quite a few errors, but it mostly seems successful, but I don't get the zImage I apparently should be getting. That guide is for building full LineageOS, but is there a guide for building the kernel?

conrad-heimbold commented 6 years ago

I always build kernel+lineageos together, because there are so many config settings for the kernel that you could do wrong... AFAIK, If you set one config differently to the "official" kernel, your kernel won't cooperate with lineageos; even if it compiled successfully; so I am rather careful.

Leviathan3DPrinting commented 5 years ago

I always build kernel+lineageos together, because there are so many config settings for the kernel that you could do wrong... AFAIK, If you set one config differently to the "official" kernel, your kernel won't cooperate with lineageos; even if it compiled successfully; so I am rather careful.

Well that sucks I guess am screwed to even attempt to work on this for a rom as it wont work even when compiled correctly