Git Product home page Git Product logo

high_perf_dac's Introduction

High perf DAC | Magisk/KernelSU Module

- This Magisk/KernelSU module enables the "High Performance DAC" mode of Qualcomm's WCD9xx DAC to maximize it's power and get the best audio quality possible.

Every phone powered by a Qualcomm processor has a built-in WCD9xx Audio DAC, but it's rarely configured to be used to its full potential by OEMs. ... By enabling High-Performance Mode, the audio quality of Qualcomm-powered devices will not only receive a boost in volume but will sound more clear and crisp as well.
Needs Kernel Support
- INSTALLATION: Just flash via Magisk/KernelSU and reboot.
Disclaimer: Naturally, you take all the responsibility for what happens to your device when you start messing around with things. I (Akera) will not be responsible for ANY damage caused to anyone's devices due to the use of this module.

high_perf_dac's People

Contributors

nitrovenom avatar oiakera avatar topjohnwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

high_perf_dac's Issues

This module kills riru module.

After flashing this module all riru modules stoped working.
Screenshot_20210830-123807~3

post-fs-data.sh failed to run.

Tested on today's release on gauguin running Arrow os 11.

No files like high_perf_mode, cpe_debug_mode or impedance_detect_en in /sys/modules folder

Hello, I have Samsung A52 (Quallcomm) with LineageOS 19.1 (Android 12). There are no files that are supposed to be set to 1 and root folder of internal storage seems to be disabled for writing. So I think that this script does not work on my phone and it should and it does not write anything to log, because the log folder is not writable. Can you check please?

Bug

on oneplus 6t after 5 minutes the terminal turns off and does not turn on

Installation failure (unsupported kernel)

A few months back I installed v5.5 successfully on Evolution X on k20pro. While I tried to upgrade today I got this error, although Ver 5.5 still installing properly and working. Kernel being:4.14.327-SOVIET-STAR-//bfed7dee9a.

High Perf DAC on Bluetooth disables ViPER4AndroidFX Audio Processing with KSU

Hello, i have noticed that when you have installed KSU, Viper4AndroidFX Repackaged and this module is enabled the audio via bluetooth will not be processed by ViPER4Android for some reason, but the speaker and headphones works perfectly fine.

Android 13
KSU: 11184
Viper4AndroidFX Repackaged v2.7.2.1-v77-(864fafa)
High Performance DAC v5.5
Audio Modification Library v5.1

Hope it can be fixed, thanks.

Not working

Even though installation seems to have succeeded, the module doesn't seem to work. Audio quality didn't get any better and there is no "akera" directory in /data, so no logs are available. Tried other versions than 6 to no avail.
Log for v6:

_  __                    _ ____  _   _
 | |/ /___ _ __ _ __   ___| / ___|| | | |
 | ' // _ \ '__| '_ \ / _ \ \___ \| | | |
 | . \  __/ |  | | | |  __/ |___) | |_| |
 |_|\_\___|_|  |_| |_|\___|_|____/ \___/

- Preparing image
- Module size: 40.34 kB
- Mounting image
- Device is system-as-root
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: module.prop
****************
 High perf DAC
 by reallyakera
****************
*********************
 Powered by KernelSU
*********************
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: customize.sh
- Extracting module files
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: LICENSE
  inflating: README.md
  inflating: customize.sh
  inflating: module.prop
  inflating: service.sh
- Done

Log for v5:

_  __                    _ ____  _   _
 | |/ /___ _ __ _ __   ___| / ___|| | | |                | ' // _ \ '__| '_ \ / _ \ \___ \| | | |
 | . \  __/ |  | | | |  __/ |___) | |_| |
 |_|\_\___|_|  |_| |_|\___|_|____/ \___/

- Preparing image
- Module size: 39.81 kB
- Mounting image
- Device is system-as-root
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: module.prop                                **********************
 High Performance DAC                                    by akirasupr                                           **********************                                  *********************
 Powered by KernelSU
*********************
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: customize.sh
+ MOD_PRINT
+ ui_print
+ true
+ echo
+ ui_print ' ╭━━┳╮╭╮╱╱╱╱╭━━╮ '
+ true
+ echo ' ╭━━┳╮╭╮╱╱╱╱╭━━╮ '
+ ui_print ' ┃╭╮┃┣╋╋┳┳━╮┃━━╋┳┳━┳━┳┳╮ '
+ true
+ echo ' ┃╭╮┃┣╋╋┳┳━╮┃━━╋┳┳━┳━┳┳╮ '
+ ui_print ' ┃┣┫┃━┫┃╭┫╋╰╋━━┃┃┃╋┃┻┫╭╯ '
+ true
+ echo ' ┃┣┫┃━┫┃╭┫╋╰╋━━┃┃┃╋┃┻┫╭╯ '
+ ui_print ' ╰╯╰┻┻┻┻╯╰━━┻━━┻━┫╭┻━┻╯ '
+ true
+ echo ' ╰╯╰┻┻┻┻╯╰━━┻━━┻━┫╭┻━┻╯ '
+ ui_print ' ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰╯ '
+ true
+ echo ' ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰╯ '
+ ui_print
+ true
+ echo
+ ui_print '• Device : POCO F1'
+ true
+ echo '• Device : POCO F1'
+ ui_print '• Android : 14'
+ true
+ echo '• Android : 14'
+ ui_print '• Hardware : qcom'
+ true
+ echo '• Hardware : qcom'
+ ui_print
+ true
+ echo
+ MOD_EXTRACT
+ ui_print '- Extracting module files'
+ true
+ echo '- Extracting module files'
+ unzip -o /data/user/0/me.weishu.kernelsu/cache/module.zip module.prop -d /data/adb/modules_update/high_perf_dac

 ╭━━┳╮╭╮╱╱╱╱╭━━╮
 ┃╭╮┃┣╋╋┳┳━╮┃━━╋┳┳━┳━┳┳╮
 ┃┣┫┃━┫┃╭┫╋╰╋━━┃┃┃╋┃┻┫╭╯
 ╰╯╰┻┻┻┻╯╰━━┻━━┻━┫╭┻━┻╯
 ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰╯

• Device : POCO F1
• Android : 14
• Hardware : qcom

- Extracting module files
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: module.prop
+ unzip -o /data/user/0/me.weishu.kernelsu/cache/module.zip service.sh -d /data/adb/modules_update/high_perf_dac
Archive:  /data/user/0/me.weishu.kernelsu/cache/module.zip
  inflating: service.sh
+ MOD_FUNCTION
+ '[' qcom '==' qcom ]
+ ui_print
+ true
+ echo
+ ui_print '• Installing High Performance DAC, ✓ Qualcomm Detected'
+ true
+ echo '• Installing High Performance DAC, ✓ Qualcomm Detected'
+ ui_print
+ true
+ echo
+ RM_RF
+ rm -rf /storage/emulated/0/high_perf_mode.log

• Installing High Performance DAC, ✓ Qualcomm Detected

+ rm -rf /data/adb/modules_update/high_perf_dac/changelog.txt
+ rm -rf /data/adb/modules_update/high_perf_dac/LICENSE
+ rm -rf /data/adb/modules_update/high_perf_dac/README.md
+ SET_PERMISSION
+ set_perm_recursive /data/adb/modules_update/high_perf_dac 0 0 0755 0644
+ find /data/adb/modules_update/high_perf_dac -type d
+ read dir
+ set_perm /data/adb/modules_update/high_perf_dac 0 0 0755
+ chown 0:0 /data/adb/modules_update/high_perf_dac
+ chmod 0755 /data/adb/modules_update/high_perf_dac
+ local 'CON='
+ '[' -z ]
+ CON=u:object_r:system_file:s0
+ chcon u:object_r:system_file:s0 /data/adb/modules_update/high_perf_dac
+ read dir
+ find /data/adb/modules_update/high_perf_dac -type f -o -type l
+ read file
+ set_perm /data/adb/modules_update/high_perf_dac/customize.sh 0 0 0644
+ chown 0:0 /data/adb/modules_update/high_perf_dac/customize.sh
+ chmod 0644 /data/adb/modules_update/high_perf_dac/customize.sh
+ local 'CON='
+ '[' -z ]
+ CON=u:object_r:system_file:s0
+ chcon u:object_r:system_file:s0 /data/adb/modules_update/high_perf_dac/customize.sh
+ read file
+ set_perm /data/adb/modules_update/high_perf_dac/module.prop 0 0 0644
+ chown 0:0 /data/adb/modules_update/high_perf_dac/module.prop
+ chmod 0644 /data/adb/modules_update/high_perf_dac/module.prop
+ local 'CON='
+ '[' -z ]
+ CON=u:object_r:system_file:s0
+ chcon u:object_r:system_file:s0 /data/adb/modules_update/high_perf_dac/module.prop
+ read file
+ set_perm /data/adb/modules_update/high_perf_dac/service.sh 0 0 0644
+ chown 0:0 /data/adb/modules_update/high_perf_dac/service.sh
+ chmod 0644 /data/adb/modules_update/high_perf_dac/service.sh
+ local 'CON='
+ '[' -z ]
+ CON=u:object_r:system_file:s0
+ chcon u:object_r:system_file:s0 /data/adb/modules_update/high_perf_dac/service.sh
+ read file
+ set_perm /data/adb/modules_update/high_perf_dac/service.sh 0 0 0777 0777
+ chown 0:0 /data/adb/modules_update/high_perf_dac/service.sh
+ chmod 0777 /data/adb/modules_update/high_perf_dac/service.sh
+ local 'CON=0777'
+ '[' -z 0777 ]
+ chcon 0777 /data/adb/modules_update/high_perf_dac/service.sh
chcon: invalid context: 0777
+ return 1
+ handle_partition vendor
+ '[' '!' -e /data/adb/modules_update/high_perf_dac/system/vendor ]
+ return
+ handle_partition system_ext
+ '[' '!' -e /data/adb/modules_update/high_perf_dac/system/system_ext ]
+ return
+ handle_partition product
+ '[' '!' -e /data/adb/modules_update/high_perf_dac/system/product ]
+ return
+ true
+ mktouch /data/adb/modules/high_perf_dac/update
+ mkdir -p /data/adb/modules/high_perf_dac
+ '[' -z ]
+ touch /data/adb/modules/high_perf_dac/update
+ chmod 644 /data/adb/modules/high_perf_dac/update
+ rm -rf /data/adb/modules/high_perf_dac/remove
+ rm -rf /data/adb/modules/high_perf_dac/disable
+ cp -af /data/adb/modules_update/high_perf_dac/module.prop /data/adb/modules/high_perf_dac/module.prop
+ rm -rf /data/adb/modules_update/high_perf_dac/system/placeholder /data/adb/modules_update/high_perf_dac/customize.sh /data/adb/modules_update/high_perf_dac/README.md '/data/adb/modules_update/high_perf_dac/.git*'
+ rmdir -p /data/adb/modules_update/high_perf_dac
+ cd /
+ true
+ rm -rf /dev/tmp
+ ui_print '- Done'
+ true
+ echo '- Done'
+ exit 0
- Done

KSU version: 11563
KSU Manager version: v0.8.1-20-gdbe43b1 (11583)
Kernel version: 4.9.337

v6 missing from releases

module.prop suggests there is a v6 available, but the latest release (and also tag) is v5.5. Will the v6 tag be created, and the corresponding ZIP file attached? Maybe you just forgot?

K20p hangs

On k20 pro running on android 11 aosp rom the audio running starts stuttering after some time and after few secs the audio playback gets killed(the app playing music is killed) or device restarts itself

Question: Is there any status?

Hello. Thanks for great piece of SW. Is there any way how I know that the module is working correctly? Any log? Thank you very much, Jan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.