You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 9, 2026. It is now read-only.
VolBtnUnlockScript_v4 (Bluetooth Version: Supports Bluetooth Headphones) For R40s Pro (may also work on R36s) #196
🛠️ Reason for Creation
While disassembling my R40s Pro, I accidentally broke the solder pins on the volume button micro-switch, which caused the volume keys to stop working. That led me to create this script as a workaround.
👤 Target Users
Users with broken volume buttons
Users who want to use Bluetooth headphones (Please make sure your system is backed up before installation.)
🔧 How to Install
VolBtnUnlockScript_v4 (Bluetooth version):
Requires an OTG Bluetooth adapter — I'm using the TP-Link T2UB model.
Extract the ZIP file.
Place the 3 extracted files into the ports directory on either SD Card 1 or SD Card 2.
(The script auto-detects the directory now — no need to force it onto Card 1.)
Run “VolBtnUnlockScript_v4” from the Ports section.
⚠️ Important Notes
Not all Bluetooth adapters will function properly — install at your own discretion.
Some adapters (e.g., TP-Link T2UB) may not function correctly after a system reboot. → If that happens, power off the device completely, then power it back on and try again.
🎮 Control Mapping
R2 + D-pad Left → Volume Down
R2 + D-pad Right → Volume Up
R2 + L1 → Toggle Mute / Unmute (Note: You must release the R2 button first for the toggle to work.)
R2 + R3 or FN + R3 → Toggle Bluetooth On/Off
🔊 Audio Output Settings
To ensure the volume bar displays correctly during volume changes:
When using Bluetooth headphones: → Set the audio card to default
When using the built-in speaker: → Set the audio card to sysdefault
🗓️ Update History
2024-10-24
Updated some conditional logic in the hotkey script.
2024-10-24-1
Fixed an error in the logic that caused volume adjustment to fail.
2024-10-24-2
Changed Bluetooth volume step from ±1% to ±2%.
Prevented the hotkey service from restarting when Bluetooth is toggled.
2024-10-25
Added an uninstall script to restore factory settings.
Updated Bluetooth disabling behavior to not stop the pulseaudio service.
2024-10-25-1
Tweaked pulseaudio service parameters to raise priority and reduce audio popping/crackling.
⚠️ Note: So far, during testing, this script does occasionally cause audio popping in games.
I’ve optimized the settings — please test it again and provide feedback.
💬 Feedback Welcome
If you run into issues or have technical questions, feel free to reply or discuss.
I’ll try to find time to research and provide updates. Thank you!
Let me know if you want a condensed or more formal version for a README or release note.
Activity
ElMoNo22 commentedon Oct 7, 2025
Working on R36s Clone with ARK OS 2.0 (07312025-1) AeolusUX (both Bluetooth headphones and PS4 Joystick)