Permalink
Browse files

OnePlus5 LineageOS (hidg0 shows)…

…however getting permission denied when trying to execute hid-keyboard against hidg0.

Also, the only way to get hidg0 to work is setting:

setprop sys.usb.config hid

Trying:

setprop sys.usb.config hid,adb

Does not work (I probably messed up in configfs).  For now, I need to figure out whats causing the permission error.

All the configfs setup is located in ramdisk folder.  Reference:

https://wiki.linaro.org/LMG/Kernel/AndroidConfigFSGadgets
https://github.com/qlyoung/keyboard-gadget
Signed-off-by: binkybear <binkybear@nethunter.com>
  • Loading branch information...
binkybear committed Sep 23, 2017
1 parent 8c66e64 commit c853d7030b42dc28f63fdfbf6fe69529ba8108ce
@@ -206,6 +206,12 @@ version = "1.0"
arch = arm64
devicenames = OnePlus5 oneplus5 OnePlus 5 cheeseburger

# OnePlus5 LineageOS
[oneplus5-cm]
author = "binkybear"
version = "1.0"
arch = arm64
devicenames = OnePlus5 oneplus5 OnePlus 5 cheeseburger

# LG G5 (T-Mobile)
[h830]
@@ -96,6 +96,8 @@ git clone https://github.com/zanezam/boeffla-kernel-cm-oneplus3.git -b t_boeffla
# - OnePlus 5
# OOS 4.x
# git clone https://github.com/nethunteros/android_kernel_oneplus_msm8998 -b boeffla_oos4 oneplus5
# LineageOS 14.X
# git clone https://github.com/nethunteros/android_kernel_oneplus_msm8998 -b boeffla_cm14 oneplus5

# - LG G5 & LG V20
# LG Stock
Binary file not shown.
@@ -0,0 +1 @@
# Aliases extracted from modules themselves.
Binary file not shown.
Oops, something went wrong.

0 comments on commit c853d70

Please sign in to comment.