PDA

View Full Version : HID issues on Kernel V4.9



Thiviyan
2020-06-18, 08:12
Hello

i have been trying to compile a kernel for Samsung Note9 with all the Nethunter configs and added the Ramdisk files for HID functions. phone boots and all the other features works but i have never been able to Activate HID from USB Arsenal then i have tried the HID patch from Pelya (https://github.com/pelya/android-keyboard-gadget) for the appropriate kernel version and it still not activating HID.

here is the repo link (https://github.com/Thiviyan/Nethunter-Samsung-Note9.git).. if anyone wanna takeover and continue you are welcome..
https://github.com/Thiviyan/Nethunter-Samsung-Note9.git

re4son
2020-06-18, 09:56
You can try removing the init.rc file from your ramdisk and using USB Armory again.
USB Armory has two modes: Trigger pre-defined configfs functions or create them on the fly. Removing the init.rc file enables method two and you can play around to find out what works and how, then tweak the init.rc file to match.

Don't try patching the kernel. It's not worth the hassle. Best to play around with configfs to find the settings that work for you.

Hope that helps

Thiviyan
2020-06-19, 15:56
You can try removing the init.rc file from your ramdisk and using USB Armory again.
USB Armory has two modes: Trigger pre-defined configfs functions or create them on the fly. Removing the init.rc file enables method two and you can play around to find out what works and how, then tweak the init.rc file to match.

Don't try patching the kernel. It's not worth the hassle. Best to play around with configfs to find the settings that work for you.

Hope that helps

you mean init.nethunter.rc or inir.rc?

re4son
2020-06-20, 11:55
init.nethunter.rc