yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] UltraM8:
If you tested it on any other recent Sony device, you probably will get features mostly working. But as a universal solution, it is nowhere near to a successful result. Sony effects rely on the key elements of the HAL, Kernel & Hexagon adsp which are not present in the examined zip. Even if you rely on libraries linker headers and gather all of the rest libs, that are needed for existing to work properly, you'll end up with lacking for kernel & adsp contents, that are locked by CPU family (adsp) and having to access to proprietary kernel parts.

The best way to prove a working port of a third-party effect is sharing a comparison logs. In this case - a sony device and a non-sony, stating that VPT, dsee-hx and Xloud (along with some parts of clearaudio) are really working as intended, otherwise don't make false proclamations.

Your effort doesn't differ much, from any of the previous attempts to make a universal port for Sony features.
[Sony Cross-Device Development Themes and Apps] sirdoha:
It is clear that your ROM has issue with equalizer in general as its stock AudioFX can't work. Therefore, I would recommend trying another ROM.

Please open the Music Setting in the Walkman App. Don't try to open it in your Setting App

Please also delete MusicFX

As the [Treble] Edition is still WIP, I will continue to work on that issue. Thanks for your info.

Open Walkman App, then open Music setting from there.

I clearly aware of those matters when creating this MOD. As you can see from the 2nd post, it has been thoroughly tested in a wide range of devices, from SONY (running both Stock ROM and AOSP ROMs which lacks almost all Sony Stock system files), XIAOMI, ONEPLUS to SAMSUNG. I don't care much about the process of making a product, the thing I value is its ultimate fruit and in this case, I believe my MOD has achieved that goal, as witnessed by hundreds of users.

Thanks for your concerns about this matters.

P.S. Also, I feel a little bit ironical that you yourself is the creator of the Arkamys PORT to HTC M9, despite constantly claiming that porting the audio processing technologies between different devices is impossible.
[Sony Cross-Device Development Themes and Apps] d3vyarth:
This requires a good answer for sure.
[Sony Cross-Device Development Themes and Apps] Sahendra007:
I did
[Sony Cross-Device Development Themes and Apps] sirdoha:
You mentioned that you just disabled the System Equalizer. I would recommend removing it, or just simply rename the file to avoid conflicts ;)

The best way to answer that question is by trying and feeling the audio. The ear will tell you whether my MOD is misleading or legit.
[Sony Cross-Device Development Themes and Apps] d3vyarth:
Tried this on ZUK Z2Plus, AEX 5.7 treble oreo. Almost got me into bootloop but hard reboot wil do fine so no worry.

I've my headphone Jack bricked actually, but I did notice some difference while playing on a Bluetooth speaker(boat stone 200), after enabling dsee -hx I noticed bass is more thumping now. The improvement in the sound quality is noticeable though.

Meanwhile, I found a bug.

- while clicking automatic optimisation, settings crashes
[Sony Cross-Device Development Themes and Apps] sirdoha:
Thanks for your info. I feel very odd that people having trouble with the "HEADPHONE AUTOMATIC OPTIMIZATION" feature. I am currently trying to reproduce that error to fix it in the next release. Also, I see that this issue only happen in a Lenovo ZUK device. A normal Lenovo K Note device has no issue with that feature. ;)
[Sony Cross-Device Development Themes and Apps] UltraM8:
You misunderstood the main idea. There are number of third-party effects that are easy to port, which will point the success with a valid log. That is what you'll have to provide, from the devices it's been tested on. Any third-party effect, until it's a pure Hexagon DSP implementation shows same behavior (and logging info) as on the original device. So I'd be happy to see the objective results.

While you do that, I'd share some insights on some sony stuff. Here is the number of hits with Dsee functions from XZ2 oreo HAL:

https://pastebin.com/YUi097Sx

I don't see how the sonydsee lib is working without those in your "port"

Next, the Xloud functions, again, processed through dsee lib + a whole HAL:

https://pastebin.com/5GFzu3Ba

The Sforce:

https://pastebin.com/YaLX5Pay

Text above is the result of disassembling the HAL library, that is referenced in libsonydseehxwrapper. When applying the effect to the output session, library references HAL to process through selected feature. Obviously effects WON'T work, without those functions by a magical will. Older sony implementations had that spread across both HAL & audioflinger, but recently moved to a new place.

Sony HiRes that is also mentioned in the OP is the result of

fully

reworked android audio subsystem, that starts again with main HAL & relies on flinger and policy behaviors. The VPT part mostly rely on the mixer itself, achieved during rom&kernel compilations, rather then on a library functions behavior.

Text above is a quick, 15min examination, through Firmware contents. I'd never bother myself to waste time on porting attempts of those, neither to fool users with any "successful" results.

What you take as audible change from Sony effects - is the result of usage of stock android SFX, that is for some reason put into the zip.
[Sony Cross-Device Development Themes and Apps] ngshixuan:
Nope for me it doesn't work
[Sony Cross-Device Development Themes and Apps] Manan Khalid:
I also have the same problem on touchwiz and when i delete music fx it doesnot crash anymore but i dont notice any difference in sound when turning on clearaudio+ and other settings. It does not work when i delete/disable musicfx.
[Sony Cross-Device Development Themes and Apps] SpectraFun:
Magisk working on Oneplus 6 too but EQ not work. 1 hear no difference no matter what I set. Also get fc in Audio Settings Automatc optimation.
[Sony Cross-Device Development Themes and Apps] sirdoha:
Honestly I have no idea. Currently working on it but still unable to reproduce that issue.

So all features worked except EQ?
[Sony Cross-Device Development Themes and Apps] heshmat021:
i have some problems on redmi note 4x aosp extended 5.7( sellinux permissive)

after i enable dsee hx and get back , its turn off by it self:confused:

automatic optimizatio crashes

and non of the setting works , i enable itbonce for about 15 sec and then it didnt work again :(

i installed magisk version 1.4

_________________________________________

I've tested the universal version , nothing changed
[Sony Cross-Device Development Themes and Apps] SpectraFun:
Yes but i have see there also YouTube apps in magisk but dont show me in app drawer. I use Magisk 16.4.
[Sony Cross-Device Development Themes and Apps] lixar22:
Hi I still do not see those options that you show in the publication!
[Sony Cross-Device Development Themes and Apps] Sohail.143:
I am using OnePlus 5...I also have same bug..having trouble with "HEADPHONE AUTOMATIC OPTIMISATION" Hope u fix it soon..:o
[Sony Cross-Device Development Themes and Apps] birarvindersingh:
I can't see any change as I flashed Universal Zip, how to fix it?
[Sony Cross-Device Development Themes and Apps] fachry:
This MOD only effect if using Sony Music?
[Sony Cross-Device Development Themes and Apps] Sohail.143:
Same here...

No difference in sound quality but shows equaliser

And FC in AUDIO AUTOMATIC OPTIMISATION

I am using OnePlus 5
[Sony Cross-Device Development Themes and Apps] Hello.Dear:
You mean the Walkman App?
[Sony Cross-Device Development Themes and Apps] AyushYap:
I'm using op6 but I don't think that after installing the module using magisk my sound quality has changed , should I delete musicfx ?
[Sony Cross-Device Development Themes and Apps] lixar22:
What is the use of eliminating it?

thanks
[Sony Cross-Device Development Themes and Apps] lixar22:
i cant see the options i have the same problem, where is the audio settings? wiht ldac, dsee hx, clear audio, sound effects etc!!
[Sony Cross-Device Development Themes and Apps] Manan Khalid:
It only happens on touchwiz ported roms but not on aosp roms. My device is samsung note 4 model n910c.
[Sony Cross-Device Development Themes and Apps] Sanath2017:
I installed the treble version 1.4 of this mod in my Lenovo Z2 plus running AEX 5.7 but when I open the audio settings I get this equaliser settings. But there should be different settings right ???
[Sony Cross-Device Development Themes and Apps] sirdoha:
Looks like the Magisk V1.4 has some issues to many users. at the moment, please give V1.35 a try. Download link: https://drive.google.com/file/d/1ebWqU8XzmfXsNjz1XYUYZ6WLSdB8Hw1q/view?usp=sharing

I recommend all users having FC issue to try this version and please kindly report back so I can improve. Thanks!
[Sony Cross-Device Development Themes and Apps] SpectraFun:
I have disabled but not help.
[Sony Cross-Device Development Themes and Apps] KProject:
This.
[Sony Cross-Device Development Themes and Apps] Kiruasan:
Thank you !!!
[Sony Cross-Device Development Themes and Apps] lixar22:
i cant see the images!!
[Sony Cross-Device Development Themes and Apps] fachry:
Yes
[Sony Cross-Device Development Themes and Apps] sirdoha:
ANYONE encountering the FC issue, please try V1.35: DOWNLOAD LINK

Please kindly report back so I could improve
[Sony Cross-Device Development Themes and Apps] lixar22:
Hi i have the xiaomi mi 5 and running miui 10 beta but i cant see the audio options

you have the audio options?
[Sony Cross-Device Development Themes and Apps] ngshixuan:
You try click into settings and find audio settings.
[Sony Cross-Device Development Themes and Apps] lixar22:
i am doing that, but i dont have the audio settings!!

:eek:

---------- Post added at 02:28 PM ---------- Previous post was at 02:26 PM ----------

i have the same problem, i see only these screen
[Sony Cross-Device Development Themes and Apps] lazylord2016:
Tried both 1.35 and 1.4 magisk mod on Samsung galaxy s7 running oreo 8.0 but got no sound effects only shows sound settings.
[Sony Cross-Device Development Themes and Apps] Kiruasan:
Hi tried both 1.4 1.35 have FC when I try to access accessories settings ( dynamic enhancement ? Sorry it was in french )

Here is some matlog from the 1.35 if it can help

One plus 6 Oreo oos 5.1.9 magisk 16.7

Ps : when I tried 1.35 it kind of broke my network connection ( I was connected in wifi ...)
[Sony Cross-Device Development Themes and Apps] birarvindersingh:
Plug your Earphones. You will get all the options ?
[Sony Cross-Device Development Themes and Apps] lixar22:
after uninstalling and installing the module several times in magisk v the audio options appeared.
[Sony Cross-Device Development Themes and Apps] lixar22:
Now i have this trouble

Only this option appears ClearAudio +, Headphone Automatic Optimization, LDAC and what happens with these options that do not appear?

S-Force, XLOUD, Clear Phase, Clear Stereo, Clear BASS, VPT,
[Sony Cross-Device Development Themes and Apps] AyushYap:
Can anyone give me link to latest stable version of Walkman apk
[Sony Cross-Device Development Themes and Apps] abadyal007:
Hey i flasg the universal zip on miui 9 and my volte is gone i hve done everything thing bt nothing is working please help
[Sony Cross-Device Development Themes and Apps] abacate123:
https://xdaforums.com/showthread.php?t=2728110
[Sony Cross-Device Development Themes and Apps] Destrangis:
It does not work in RMN5 Pro (Pixel Experience with Magisk Module). The equalizer appears, but I change it and I do not notice any difference.
[Sony Cross-Device Development Themes and Apps] djparent:
You're going to brick peoples phones with irresponsible claims. This is not for ALL phones, I have already reported a critical boot loop for Huawei users on EMUI 8. Therefore it is not for ALL devices, this should be reflected in the OP....
[Sony Cross-Device Development Themes and Apps] Indashio:
Dynamic vibration is possible on xz Premium ?
[Sony Cross-Device Development Themes and Apps] Crazycat362:
AudioFX

I have a original Pixel XL and I have MusicFX instead if AudioFX. I have it disabled instead of removed because I didn't want to modify my system partition and break safteynet. Will this still work properly?
[Sony Cross-Device Development Themes and Apps] Hello.Dear:
Sir, I didn't encountered the FC issue but when I change the values in equaliser there's no difference in the sound. What should I do?

BTW I am using UNIVERSAL 1.4v zip.

ROM= DotOS
[Sony Cross-Device Development Themes and Apps] selvarajrajkanna:
Lenovo zuk z2 plus automatic optimization fc log.
[Sony Cross-Device Development Themes and Apps] Rakub:
Magisk.

I have got magisk 16.4, but when I try to install mod it says, that I need 15+ magisk. Help me
[Sony Cross-Device Development Themes and Apps] Soul Spark:
Automatic optimization force close

Redmi note 3(kenzo)

Firehound version 4.7

Rest in the attachment

If you want logs please tell!!!

Thanks, awesome port by the way.
[Sony Cross-Device Development Themes and Apps] Soul Spark:
Automatic optimization force close

Redmi note 3(kenzo)

[MAGISK] Sony Xperia XZ2 Sound System [v1.4][sirdoha]

Firehound version 4.7

Rest in the attachment

If you want logs please tell!!!

Thanks, awesome port by the way.
[Sony Cross-Device Development Themes and Apps] Soul Spark:
Attachment
[Sony Cross-Device Development Themes and Apps] SathwikNVS:
Can't find the module in magisk 16.7. Kenzo aex nougat.
[Sony Cross-Device Development Themes and Apps] adukale:
Yes, Working flawlessly on Oneplus 6 - Android P Beta Developer Preview 3. :good:
[Sony Cross-Device Development Themes and Apps] varunbiday:
I'm using non treble H2OS, Android 7.1. Working nicely there. You could try installing different editions, Magisk one worked for me.
[Sony Cross-Device Development Themes and Apps] lixar22:
just go to dialer and put this *#*#86583#*#* it Will disable VoLTE if you had enabled and enabled if you had diabled
[Sony Cross-Device Development Themes and Apps] c_/\/\_k:
Followed all the procedures, turned the screen off, deleted stock android's music fx, installed Magisk and Universal both one by one, But it gives me no effect even while toggling the audio settings, equalizer gives no effect, automatic optimization force close. One thing more, OP has mentioned that this mod needed a rooted device, but while playing music and toggling audio setting, nothing asked root permission from this mod. Checked the magisk tooo...

Device - Kenzo(Redmi Note 3 Pro) & Whyred(Redmi Note 5 Pro 'stock miui')

Rom - RR Oreo Latest(kenzo)

Kernel - Agni 13.0(kenzo)

No other audio mod installed which can cause conflicting issue. Tried on both devices... Same issue.
[Sony Cross-Device Development Themes and Apps] zacharias.maladroit:
haha - gotta try this out !

especially since hi-res audio is missing on the AOSP versions of the LG V30 some crystal clear audio (DSEE HX) is needed !

[MENTION=7541648]sirdoha[/MENTION]

great work, mate & congrats on making it on XDA frontpage / feature :) :good: :cowboy:
[Sony Cross-Device Development Themes and Apps] c_/\/\_k:
Same Problem... Too many users reported. No effect problem.
[Sony Cross-Device Development Themes and Apps] KProject:
Just freeze that Built-in Equalizer app.

---------- Post added at 11:51 PM ---------- Previous post was at 11:45 PM ----------

Click "Sound Effect"

---------- Post added at 11:58 PM ---------- Previous post was at 11:51 PM ----------

Yes.

Freeze to stay safe :D

I'm using Magisk Edition too. And everything work great with AudioFX frozen.
[Sony Cross-Device Development Themes and Apps] Zerikwan:
I was wondering if the creator of Ainur Audio will get here.

My device (Xperia Z) is compatible with all of this sound mod feature except DSEE HX.

On stock rom, most of this feautre are also available, again except DSEE HX.

So the question is..

is this because my device have no framework integrated on it?
[Sony Cross-Device Development Themes and Apps] zacharias.maladroit:
Hm, for me it shuts down the phone or at least TWRP is toast - all of it during installation phase (tested both Magisk variants 1.40 and 1.35)

it doesn't even go as far as to be able to boot into the ROM :eek:

Have to force-reset the phone (LG V30, Oreo 8.1, AEX 5.7)
[Sony Cross-Device Development Themes and Apps] Karim.:
Work on Android 9 ??
[Sony Cross-Device Development Themes and Apps] sirdoha:
I dunno why. That only happen with some non-AOSP roms, especially on ROM with integrated Audio Technology from OEM such as Dirac, etc. Currently working on the solution.

Have you followed the 5 second method? Also, does your device have Dirac preinstalled? If so, try freezing it.

Some users reported that hard reboot after trying reflashing the MOD would work. Also, so nice to see you here. It's been a while seen the hayday of our Z5 community.
[Sony Cross-Device Development Themes and Apps] m.4_ts@yahoo.com:
I have the HTC 10 running lineage 5.1 oreo. Installed the mod 1.4 via magisk. The sound is good with the default sony walkman player. Like what others said, when turning on the DSEE HX, and turning off the screen for 5 seconds, it doesn't change anything in sound quality. However, when i use PowerAmp, i can say wow, it sounded better and more richer than before i installed the mod. I don't know how that happened. It's like the mod has effect on PowerAmp but none on the Sony walkman player.
[Sony Cross-Device Development Themes and Apps] Nirmal0001:
Works on android p tested in zuk z2
[Sony Cross-Device Development Themes and Apps] Siddhesh saraf:
Hey sirdoha i am using Lenovo p2 with AOSP Extended v5.7. Equalizer is not working and automatic optimization FC problem is there. Don't know if the quality is improved but feeling good.
[Sony Cross-Device Development Themes and Apps] lixar22:
I still can't see the others sound options that you say
[Sony Cross-Device Development Themes and Apps] -Rhoby|™-Bugs:
Fyi guys....

Doesn't work on PE Rom Mi A1.

didn't hear his sound effects.

Thanks for your hard work OP. :good:
[Sony Cross-Device Development Themes and Apps] Vinayakn73:
not working on miui 9 arvanasoft rom based on android 6.0. every time after clicking on audio settings app crashing no other audio fx is installed like viper.
[Sony Cross-Device Development Themes and Apps] drazrwl:
working but i keep getting this pop up as "Dirax control service has stoped working " Every 5 seconds plz help
[Sony Cross-Device Development Themes and Apps] !)v:
Didn't work on lenovo vibe k5 (a6020a40) however all the options are available but no audio effects are there hope someone will give a Sol. However awesome stuff keep it up

Also using havoc os
[Sony Cross-Device Development Themes and Apps] anand@0302:
It's not working in lenevo z2 plus (AEX rom 5.7 official)

Is there any way to resolve it?
[Sony Cross-Device Development Themes and Apps] Zerikwan:
I already asked him. Different answer from yours.

Maybe it's true that this device doesn't support Hi-Res audio.

Maybe it's also true that this device is too old.

Thanks for your answer.
[Sony Cross-Device Development Themes and Apps] heindrix:
wow.

those [ALL DEVICES] and [ALL ROMS] really amaze me.

i appreciate your hardwork, but honesly, i think it will not work on EMUI 8.0 and up, especially treble devices.
[Sony Cross-Device Development Themes and Apps] UltraM8:
HiRes is a common Qualcomm feature, Sony has a modified HAL & Policy on the other hand. Old devices used tunnel sessions to render hires audio, that then evolved to deepbuffer & offload sessions with policy implementations.

Dsee-hx itself has nothing to do with Hires, as it's suppose to upscale a non hifi source (this is absolutely idotic idea in general audio terms, even sony engineer agreed to at some point, but that's another story). This is nothing but a bunch of IIR & FIR operations to control the noise ratio + a connection to stock audioutils to apply upscale operation. BTW, the xz2 dseewrapper has dsee funcs labeled as V2, since your device is old - I think it might had older functions, that won't work with newer ones:
[Sony Cross-Device Development Themes and Apps] arvinaquio:
This is maybe a good port and sound mod, unfortunately, it doesn't work on my device. Revert back to viper4android xhifi for magisk.
[Sony Cross-Device Development Themes and Apps] voske15:
Installed on Xiaomi Mi5 AEX.Mod Oreo and it doesn't work

The apps refuses to install
[Sony Cross-Device Development Themes and Apps] Shammy78652:
Lg G3

ive got an lg g3 stylus and it has installed fine but whenever i open the music application it crashes instantly yet the widget can still play music but is limited to only the songs starting with 'A'. even without this mod i tried installing the Sony Walkman music app a couple of months ago and the same thing happened crash on start-up
[Sony Cross-Device Development Themes and Apps] sirdoha:
I don't know what's the point of your action here. If you believe that by constantly interrogating, I would obey your request then you are completely wrong. This is my work and I feel no reason why I have to explain to others, especially the argumentative, the mechanism of my mod. Whether it is legit or not is judged by the users who actually install, test and feel the music, not by some guy "sitting on a high horse with an attitude and being critical of any kind of work" (borrowed the words of bro [MENTION=3037651]zacharias.maladroit[/MENTION])
[Sony Cross-Device Development Themes and Apps] sirdoha:
That's an interesting info. So anyone using this MOD should give the PowerAmp app a try

I would say that this is your ROM-related issue. Your ROM just conflict with Sony Walkman. I would recommend using PowerAMP app instead.

Can you be more specific?

Can you be more specific so I could work on that issue?

I believe EMUI is a quite heavy modded ROM from Huawei so maybe it will conflict with my MOD. Please try this MOD again if you have installed an AOSP-ROM for your device.

Which [Edition] are u using?

Please freeze Dirac, AudioFX, and any preinstalled equalizer before installing this MOD.

Thanks. This MOD has been thoroughly tested in some Lenovo K Note models. Have you followed the "5-second" method in the Q&A section?

It need root permission because:

- In some cases, you have to manually remove AudioFX, which requires ROOT permission

- In most cases, installing magisk means rooting your device
[Sony Cross-Device Development Themes and Apps] !)v:
Yes I did even though the trick didn't work and I am very excited to use this function:D
[Sony Cross-Device Development Themes and Apps] pyaganti:
Does it work on stock 8.1? To be specific on Mi A1 stock 8.1
[Sony Cross-Device Development Themes and Apps] UltraM8:
I'm trying to convince you to change some words in the OP for a universal "port", to meet the objective reality, since in it's current state it looks like an attempt to fool people, either by a will, or by accident. Since you desperately avoid an argumentative talk with some technical terms, but have a degree of nonsense proclamations, I feel like you have no idea how does Sony effects work at all. Thus I believe other people deserve to know that statements put into OP, have absolutely zero proofs, as the person who did it is vastly incompetent and too arrogant to even look into the information other person shared. I have no intention to poke people, who have certain degree of common sense used in their works. I just don't like when people get fooled by yet another noob "dev", claiming he ported something, while contents of his zip are clearly showing the opposite for anyone who has at least some technical knowledge. Everything written in this very message can be checked by literally anyone with any disassembler: https://xdaforums.com/showpost.php?p=77121833&postcount=290 and I can help clarifying the observing code. I wish you could provide us with anything on your end, except the most funniest:

"proof" :D
[Sony Cross-Device Development Themes and Apps] voske15:
1. all my other mods disappeared

2. while trying to install apps manually, packageinstaller says app not installed

3. phone's sound didn't work means no sound