Low level of sound at start

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Khadas official images, self built images, or others?

vim3-android-9-64bit-v230408.img

Please describe your issue below:

I use SBC as CarPC. Get sound with USB sound card.
System start at ~20% of max sound level.
I need the max level of system sound at start system.
I increase level to max and restart system.
But android not save this settings.
How I can set the max level of system sound at start system ?
I think I need to change settings in android system files, but I not know, what file I need to change ((

Hello, did you turn up the volume after restarting, and the prompt as shown in the picture below pops up, saying that keeping the volume high may damage your hearing?

You can modify it as follows

xiong@server:/users/xiong/work/amlogic/vim3/vim3_64bit/frameworks/base$ git diff
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 0b5dd7e70e8..985cce4bad2 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -2325,7 +2325,7 @@
     <bool name="config_useDevInputEventForAudioJack">false</bool>
 
     <!-- Whether safe headphone volume is enabled or not (country specific). -->
-    <bool name="config_safe_media_volume_enabled">true</bool>
+    <bool name="config_safe_media_volume_enabled">false</bool>
 
     <!-- Set to true if the wifi display supports compositing content stored
          in gralloc protected buffers.  For this to be true, there must exist