Comments (11)
copy of the patched files are here https://github.com/the-st0rm/android-keyboard-gadget/tree/master/Samsung_S3
from android-keyboard-gadget.
Hi. What kernel did you use, could you please give me the link?
When you plug your phone into PC, there should be devices /dev/hidg0 and
/dev/hidg1 created in filesystem, if you don't have them - the patch
doesn't work.
On Sun, Oct 26, 2014 at 5:40 PM, the-st0rm [email protected] wrote:
copy of the patched files are here
https://github.com/the-st0rm/android-keyboard-gadget/tree/master/Samsung_S3—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from android-keyboard-gadget.
I can see the /dev/hidg0 and /dev/hidg1 created ..
the kernel I am using is https://github.com/CyanogenMod/android_kernel_samsung_smdk4412
from android-keyboard-gadget.
Then it should work. Install this app to perform keyboard input:
https://play.google.com/store/apps/details?id=remote.hid.keyboard.client
It needs root to open these devices. If your phone is not rooted, you can
do 'chmod 666 /dev/hidg0 /dev/hidg1' from ADB shell, and then launch the
app.
On Oct 28, 2014 12:28 AM, "the-st0rm" [email protected] wrote:
I can see the /dev/hidg0 and /dev/hidg1 created ..
the kernel I am using is
https://github.com/CyanogenMod/android_kernel_samsung_smdk4412—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from android-keyboard-gadget.
the permissions are ok but it is not working. I think the problem in this file
android.c
in this function specifically
android_enable_function
in the kernel you built the device for it the android_enable_function takes three arguments in the Samasung S3 kernel the function takes only 2 arguments !!
This is the definition of the function
static int android_enable_function(struct android_dev *dev, char *name)
I think this is the problem
On a side note I built it for Nexus 4 and it worked perfectly so thank you so much
but I was trying to send the three combination alt+ctrl+t but it didn't work !!
I did this
echo --left-ctrl --left-alt t | hid-test.bin /dev/hidg0 keyboard
any suggestions??
from android-keyboard-gadget.
You may try the patch for kernel 3.1, that's what I'm using for Nexus 7
2012 kernel:
https://github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.1.patch
android_enable_function() in that patch has 2 parameters instead of 3.
I've checked your hid-gadget-test command, and discovered that I broke this
functionality, so I've fixed it and updated it, please re-download the file:
https://github.com/pelya/android-keyboard-gadget/tree/master/hid-gadget-test
On Wed, Oct 29, 2014 at 2:45 PM, the-st0rm [email protected] wrote:
the permissions are ok but it is not working. I think the problem in this
file
android.c
in this function specifically
android_enable_functionin the kernel you built the device for it the android_enable_function
takes three arguments in the Samasung S3 kernel the function takes only 2
arguments !!
This is the definition of the function
static int android_enable_function(struct android_dev *dev, char *name)I think this is the problem
On a side note I built it for Nexus 4 and it worked perfectly so thank you
so much
but I was trying to send the three combination alt+ctrl+t but it didn't
work !!
I did this
echo --left-ctrl --left-alt t | hid-test.bin /dev/hidg0 keyboardany suggestions??
—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from android-keyboard-gadget.
@pelya did you fix the c code ??
from android-keyboard-gadget.
@pelya I would like to thank you so much for your effort dude. Great work and I really appreciate it 👍
from android-keyboard-gadget.
Yes, I've both fixed C code and updated binaries.
On Wed, Oct 29, 2014 at 3:38 PM, the-st0rm [email protected] wrote:
@pelya https://github.com/pelya I would like to thank you so much for
your effort dude. Great work and I really appreciate it [image: 👍]—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from android-keyboard-gadget.
Hello, can you please help me with the installation guide or point me to one, i dont understand this, am using samsunt s3 at&t, cynogenmod 13.0, android 601.
thanks
from android-keyboard-gadget.
@horllste : Here is a guide on how to build lineageos for Samsung Galaxy S3 International (i9300):
https://wiki.lineageos.org/devices/i9300/build . The step of patching for HID support has to be done before "brunch i9300".
The problem seems to have been fixed, therefore closing.
from android-keyboard-gadget.
Related Issues (20)
- Some Questions...Pls Help HOT 2
- Stuck on opening HOT 10
- need hid patch for 4.4.117 kernel
- Ji
- Keyboard
- Require patch for samsung grand 2
- nokia 1020 HOT 1
- No f_hid.c found pls help
- pelya/Android_keyword gadget
- Permissions bug HOT 2
- rdp support HOT 1
- could you add support for samsung galaxy j3 (2016)
- Please send the poc_android files
- what is the VNC password?
- Pin
- How to get or Where can i find the hid-keyboard file?
- Add redmi note 4 support
- No 64bit support
- hid-gadget-test behaving strange
- Well
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-keyboard-gadget.