[HTC One X+] Belzebuth.:
Thanks for this last version...but must I change something in the userinit.sh for best audio perfs ( no lag) if :

#!/system/bin/sh

##########################################################

# userinit.sh V5 script for Elitekernel on-boot settings #

##########################################################

# === Sweep2Wake Settings ===

# enable/disable Sweep2Wake

echo 1 > /sys/android_touch/sweep2wake

# Sweep2Wake distance (in px)

# Not recommended to set this higher than 600

echo 325 > /sys/android_touch/s2w_min_distance

# Sweep2Wake direction settings

# 1: Direction doesn't matter

# 0: Direction does matter

echo 1 > /sys/android_touch/s2w_allow_stroke

# Sweep2Wake Register threshold (in px)

# Number of pixels needed to swipe until button panel gets locked and swipe is registered.

echo 9 > /sys/android_touch/s2w_register_threshold

# === Other Settings ===

# Fast Charge

echo 1 > /sys/devices/platform/htc_battery/fast_charge

# NVidia Smartdimmer

echo 1 > /sys/devices/tegradc.0/smartdimmer/enable

# I/O Scheduler

# Available: noop, deadline, row, cfq, sio

echo sio > /sys/block/mmcblk0/queue/scheduler

# Read Ahead Buffer Size in KB

echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb

# Button Brightness

echo 63 > /sys/class/leds/button-backlight/button_brightness

# === CPU and GPU Settings (Advaned users only!!!) ===

# Be sure you know what you're doing in this Section!!!

# These Setting may cause system instabilities when not used correctly!!!

# I'm not responsible for whatever happens to your device if you change anything here!!!

# Maximum CPU Frequency (Power Saving Mode disabled)

echo 1500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

# Minimum CPU Frequency

echo 51000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

# Enable 4x 1.7GHz mode

# Allow 1700 Mhz CPU frequency when more than one core is active

echo 0 > /sys/module/cpu_tegra/parameters/enable_oc

# CPU scaling governor

# Availabe: interactive, conservative, ondemand, powersave, smartmax, performance

echo smartmax > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

# CPUquiet Governor

# Availabe: balanced, runnable, rq_stats, load_stats

echo load_stats > /sys/devices/system/cpu/cpuquiet/current_governor

# Maximum number of CPU cores allowed

echo 4 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/max_cpus

# Minimum number of CPU cores allowed

echo 1 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/min_cpus

# Minimum CPU frequency on Audio Playback

# Higher values may be helpful if you experience audio lag/stuttering when screen is off.

# Recommended values: 102000, 204000, 340000

echo 340000 > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq

# Screen Off CPU Frequency Cap

# Setting this to anything higher than 475000 will allow High performance cores to be used instead of low power core.

# Higher values may be helpful if you experience audio lag/stuttering when screen is off.

# Recommended values: 475000, 640000, 760000

echo 760000 > /sys/module/cpu_tegra/parameters/suspend_cap_freq

# Maximum CPU cores allowed when screen is off

# Only applies when suspend_cap_freq is higher than 475000

echo 2 > /sys/module/cpu_tegra/parameters/suspend_cap_cpu_num

# CPU Voltage Offset in mV

# May cause system instabilities when set too low, phone getting warm/hot or on low battery levels.

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# !!! May cause bootloops or phone not booting at all if you set this too low !!!

# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

# Deleting the userinit.sh file in TWRP recovery is a possibility to reset everything to stock and make it boot again.

# Recommended: -25 Steps

# For some users experiencing freezes/random reboots, (+)25 is worth a try. More is definitively not necessary!!!

echo 0 > /sys/kernel/tegra3_dvfs/cpu_millivolts

Is this OK?

Can I Change something else for better Audio performance (no lag) or is it "destroying" your tweaks ?

Thanks for your help...;)