Skip to content

Linux & WSL shell script - Universal Bluetooth Library Patcher for OneUI 1/2/3/4/5/6/7

Notifications You must be signed in to change notification settings

duhansysl/Bluetooth-Library-Patcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Originally coded and written By @duhansysl

Big thanks to @3arthur6 who did the TWRP patches for it. I got the right HEX values from his project. His TWRP patcher is here : https://github.com/3arthur6/BluetoothLibraryPatcher

  • You can run this on Terminal with WSL2 or Linux in the following directory of the script by typing;
  • sudo chmod +x hexpatcher.sh
  • ./hexpatcher.sh
  • You need to choose the right OneUI version to make it work "properly". Every android has its own HEX values so if you don't choose the right value it will fail or won't patch properly for sure.

  • OneUI 1/2/3/4 needs "libbluetooth.so", take it from lib64 folder and put it in "in" folder

  • OneUI 5/6/7 needs either "libbluetooth_jni.so" or "com.android.btservices.apex" so get them from your ROM base and add them into "in" folder

  • Patched lib will be copied to "lib_patched" folder and stock one will be copied to "lib_stock" folder.

  • Last updated: 20.04.2025 - 13:34

About

Linux & WSL shell script - Universal Bluetooth Library Patcher for OneUI 1/2/3/4/5/6/7

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages