Qin F21 Pro Key Remapping Guide
This is great for the qin f21 pro to add volume buttons
Complete Step-by-Step Instructions
What You’ll Achieve
- Owl button → Screen lock (
SLEEP
) - D-Pad UP → Volume up
- D-Pad DOWN → Volume down
- (the ability to change other buttons)
Requirements
- Rooted Qin F21 Pro
- MT Manager installed
- 5 minutes of time
Part 1: Find Your Key Codes
- Open MT Manager
- Tap “Terminal” (bottom-right)
- Type:
getevent -l
- Press these buttons and note their codes:
- Owl button
- D-Pad UP
- D-Pad DOWN
(Example output:KEY_UP
= code 103)
Part 2: Edit Key Files
-
In MT Manager, navigate to:
/system/usr/keylayout/
-
Make backup copies of:
Generic.kl
mtk-tp.kl
-
Open both files one by one
-
Find and modify these lines (using your actual codes):
# Owl Button (example: key 142) key 142 SLEEP # D-Pad UP (example: key 103) key 103 VOLUME_UP # D-Pad DOWN (example: key 108) key 108 VOLUME_DOWN
-
Save both files after editing
Part 3: Apply Changes
- Reboot your phone
- Test each remapped button:
- Press Owl → Screen should lock
- D-Pad UP/DOWN → Should adjust volume
Troubleshooting
Buttons not working?
- Did you edit both files?
- Did you use correct key codes?
Pro Tip:
Keep your backup files - you can restore them if needed!
Final Checklist
- Found correct key codes
- Edited both .kl files
- Saved changes
- Rebooted device
- Tested all remapped buttons
Enjoy your optimized Qin F21 Pro! The D-Pad now gives you perfect volume control while keeping the Owl button as a quick screen locker.