Giter Site home page Giter Site logo

androiduhidpurejava's Introduction

AndroidUHidPureJava

A HID device simulation implemented purely in Java!

How it works

Starting from Android 6.0.1, the "hidcommand_jni" library is built into the system. We can load this library and use the JNI functions provided in it.

How to build this project and how to use

By compiling this project with Android Studio, you will get an apk file. Unzip the classes.dex file from the apk and place it anywhere on your Android device, such as /sdcard/classes.dex. Then, use the following command to run this dex file:

export CLASSPATH=/sdcard/classes.dex;app_process / com.android.commands.hid.Hid

Adb or Root permission is required.

androiduhidpurejava's People

Contributors

wudi-zhanshen avatar

Stargazers

 avatar Carlos Jorge avatar Rocky avatar Sacabambaspis avatar EDllT avatar Oleg Shevelyov avatar Benjamin Babik avatar  avatar The God of Wisdom avatar Eumeryx avatar  avatar  avatar Yusuf Sulaeman avatar  avatar Jesse205 avatar  avatar  avatar hglf avatar Nguyễn Mạnh Hùng avatar Romain Vimont avatar

Watchers

Carlos Jorge avatar  avatar  avatar

androiduhidpurejava's Issues

AndroidUhidPureJava stops working in Android 14

Hi @WuDi-ZhanShen
Thanks for sharing this code.
It works correctly in Android 13 and earlier Android version.
However, after I updated my phone to Android 14, it shows "Aborted" every time I try to run it.
I checked the Devices.java file in AOSP and see that there was no thing changes since 2022.
I am investigating the reason but have not found it.
Do you have any advice?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.