View Single Post
Old 02-15-2023, 09:11 AM   #514
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,998
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by token_01 View Post
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
Renate is offline   Reply With Quote