Quote:
Originally Posted by token_01
I have no idea how to make a Magisk module. Is there a step by step guide for simpletons?
|
Making a Magisk module just for yourself (vs. for distribution) is easy.
You need to create two files on your desktop and adb push to sdcard.
The first is module.prop
Code:
id=Pointless
name=Pointless
version=1
versionCode=1
author=Me
description=Pointless
"Pointless" is the name, can be anything that you like.
The second is your keylayout.
Code:
key 116 POWER
key 102 HOME
key 191 APP_SWITCH # top left
key 192 PAGE_UP # top right
key 193 BACK # bottom left
key 194 PAGE_DOWN # bottom right
Or whatever...
Code:
# cd /data/adb/modules
# mkdir Pointless
# cd Pointless
# cp /sdcard/module.prop .
# mkdir -p system/usr/keylayout
# cd system/usr/keylayout
# cp /sdcard/Vendor_0001_Product_0001.kl .
# reboot
See:
https://topjohnwu.github.io/Magisk/guides.html