Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Feb 22, 2024
1 parent 0540027 commit 72d683e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ A product kernel, also known as a device kernel or OEM kernel, is the kernel tha


### Requirements
- Rooted Android devices with [Magisk](https://github.com/topjohnwu/Magisk) or [KernelSU](https://github.com/tiann/KernelSU)
- ADB
- VSCode
- WSL/WSL2
- WSL plugin for VSCode
Expand All @@ -33,6 +35,14 @@ cd android-kernel-driver-template
make && make clean
```

## Testing
```
adb push demo.ko /data/local/tmp
adb shell su -c insmod /data/local/tmp/demo.ko
adb shell su -c "lsmod |grep demo"
adb shell su -c rmmod /data/local/tmp/demo.ko
```

## Credits
- ``Linux``
- ``Android``
Expand Down

0 comments on commit 72d683e

Please sign in to comment.