VolBtnUnlockScript_v4 (Bluetooth Version: Supports Bluetooth Headphones & X-input Controller) For R40s Pro (may also work on R36s) #234
Replies: 14 comments 58 replies
-
|
Working on R36s Clone with ARK OS 2.0 (07312025-1) AeolusUX (both Bluetooth headphones and PS4 Joystick) |
Beta Was this translation helpful? Give feedback.
-
|
Working just fine. You really deserve thousands of thanks, mate. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I am having problems playing games when Bluetooth is connected to the speaker. I have tried all the steps as instructed but there is no response. What should I adjust for the RA part in the audio? |
Beta Was this translation helpful? Give feedback.
-
|
@daidaigo Does this work without touching the working volume buttons? |
Beta Was this translation helpful? Give feedback.
-
|
Do your t2ub need to install driver? I use a diff wifi + bt adapter but same rtl8812cu chip. I have to install a wifi script to install driver in order for the adapter to work |
Beta Was this translation helpful? Give feedback.
-
|
I am using an r36xx with an internal bluetooth chip and this allows me to turn bluetooth on and off but pairing will not work (it will just say “scanning for available bluetooth devices” for a few seconds, then go back to the bluetooth menu) |
Beta Was this translation helpful? Give feedback.
-
|
Hey i have a question, the adapter u use to be exact is the t2ub NANO right? |
Beta Was this translation helpful? Give feedback.
-
|
i have buy a t2ub nano and tested the bluetooth function, everything work fine except the slight delay when using the voulume button to change the volume, like if i dont be careful my ear can explode hehe, don't know if it a bug or not but i think it still good to post on here |
Beta Was this translation helpful? Give feedback.
-
|
okay so i have a new problem, after flash a newer arkos, now wifi and bluetooth dont work anymore. the led on t2ub nano will go flashing every few sec |
Beta Was this translation helpful? Give feedback.
-
|
Hello mate, Your adapter has a regular type A connection + combined with a type C OTG. Is that right? Also, after using all this time, have you encountered any other non listed issues? |
Beta Was this translation helpful? Give feedback.
-
|
Do this work on the newly released darkos? |
Beta Was this translation helpful? Give feedback.
-
|
i have a bt 3.5 dongle with barrot chipset ( bought on temu), the console detect the bluetooth and coonects to my earbuds, but the problem is that i dont hear nothing, the audio keeps coming out from the console speakers and not from my earbuds, i tried switching audio driver in RA to alsathread but didnt work, i tried changing audio card in the menu but nothing. |
Beta Was this translation helpful? Give feedback.
-
|
I like how it simply works but how can someone like me edit the hotkeys? they are clashing with my hotkeys that I use on RetroArch |
Beta Was this translation helpful? Give feedback.
-
|
It doesn't seem to scan devices for me. It recognises my dongle and such but whenever I turn Bluetooth on and then try scanning for devices it doesn't find any devices. I use a generic dongle through a OTG adaptor. I don't have WiFi on my R36S. It's a G80C V1 clone running Arkos for G80C. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
"First of all, thank you to the author for integrating this system. The following is my experience using this system on R40s Pro hardware."
✅ Supported System
https://github.com/AeolusUX/ArkOS-R3XS
(Currently tested on version R35S-R36S_v2.0_11072025 and working properly.)
📦 Download Link
Download via MEGA:
2025-11-29
https://mega.nz/file/gfhX3DyJ#tlF_p8Qmnf0jI9FYgb7mMhJCemYfsDeIqSCfKoHXSF4
🛠️ 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 nano 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.
Not all Bluetooth adapters will function properly — install at your own discretion.
Some adapters (e.g., TP-Link T2UB nano) 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 or R2 + Left analog stick Y-axis up → Volume Down
R2 + D-pad Right or R2 + Left analog stick Y-axis down → 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
Additional testing shows that the BSP D8 Pro controller, in X-Input mode, can be paired via Bluetooth and used as the controller for Player 2.
🔊 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
*Installing this toolkit requires the audio output for both RA and RA32 to be set to Pulse
🗓️ 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.
2025-11-07
Fix the issue where video playback has no audio output through the Bluetooth device.
2025-11-22
Remove unnecessary services from the previous version and add a script to check the Bluetooth environment, CheckBt.sh.
2025-11-25
Streamline the conditional statements in the Bluetooth device volume control script.
2025-11-29
Since the joystick controls in the video overlap with the above Control Mapping, add R2 + Left Analog Stick Up/Down to control volume.
Changed Bluetooth volume step from ±2% to ±1%.
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.
I don’t mind if anyone modifies this tool package. If someone can optimize it and share it for everyone to use, I’d be very happy.
Beta Was this translation helpful? Give feedback.
All reactions