yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ahrion:
Clever lol.

It's going to be the "framework" used for any files that "sed injects". So this includes Audio Policy among other. This is why I didn't go with configuration in the name. I'm currently almost done. I finally got it to recognize when two or more mods are installed at the same time. Now I just need it to recognize when mods are being deleted so it can delete those corresponding lines properly. Magisk is a strange beast so workarounds are necessary for this (easier said than done".

Got my internal V4A and Dolby Atmos installed working great with it as separate modules.

Edit: finally got everything to seemingly work.
[Android Apps and Games] Meowdib:
You could try them all like the rest of us.
[Android Apps and Games] ahrion:
So I've finally managed to get everything working the way I'd like. The next step now is to figure out why HTC phones in particular are getting parsing errors. When I've fixed this in going to go ahead and post Test 8 but as of now it is ready and so is my ViPER4Android specific module.

Edit: found the issue so I'll fix it tomorrow. Also I'm gonna release my ViPER4Android mod shortly after, I only have comepleted the Magisk part of the installer for V4A and have not yet finished the system portion. Before I do that I have to simply optimize install scripts of my unified installer. With V4A I'm going to make sure that the system permissions (for storage) are ticked automatically so you don't ever have to do it yourself.
[Android Apps and Games] stewie-droid:
Does this mod/zip add account into android's accounts and synch section?
[Android Apps and Games] trantiendat3004:
LeEco LePro 3 Atmos working s7edge nougat After i flash ARISE , thanks mod great , I have a question, is there any quality difference LeEco LePro 3 Atmos vs LeEco LeMax 2 Atmos vs BQ Aquaris X5 Atmos :D
[Android Apps and Games] Phrodini:
Mahn, ahrion got me curious about magisk now
[Android Apps and Games] ahrion:
They all sound comparable to be quite frank.
[Android Apps and Games] ahrion:
The best thing about Magisk isn't strictly bank apps, Snapchat, or Android pay to start working to be honest. The best thing is that the system partition is nearly untouched and whenever you do updates or nightlies you don't need to flash 100000 things. Removal is also super quick and easy rather than having to flash an uninstaller.

I like it because it shows you things you've installed and the power to remove or disable them are at your fingertips at all times.
[Android Apps and Games] Schrotty35:
Which Dolby can i use on my Oneplus 3T on Stock OOS and LIO?
[Android Apps and Games] Meowdib:
OP says try them all.
[Android Apps and Games] ahrion:
Fixed installer and audmodlib is now fully working. It detects if you've uninstalled a mod but takes 2 reboots for the "symlinked system" to understand. If another audio mod is installed during interim after first reboot, it will take that into account. I'm using /cache/ to be able to do this the way I want. I'll probably also add support if the audmodlib or any mods for any reason are marked as disabled.

I also fixed all apks besides the A7000 that are having issues installing on some ROMs or devices like HTC so it should work now.

I also added the audioserver/media server fix as a late start service within audmodlib as well as system.prop edits for Dolby (su.d type scripts for the buildprop).

All changes are pushed to my Git.

So here's what I need y'all to report:

1. Device and Manufacturer

2. ROM and Android Version

3. Magisk version (if Magisk) or system install

4. MagiskSU or SuperSU

5. Permissive or enforced

6. Flashed within TWRP, CWM, or Magisk Manager

6. Results, bugs, errors (if errors in Magisk Manager or flashing: please send logs or screens of logs which is easier)

Always make a nandroid backup before you do any changes. If you get a bootloop when installing Magisk or experience loss of root, delete /data/Magisk.img and this should fix the issue.

A7000-6.5 Magisk Test 8

Le Pro 3 Magisk Test 8

Edit: if you're losing root it's because it's a Magisk limitation currently, typically with SuperSU w/ Magisk installed. topinjohnwu is aware of this issue as it is a boot.img compatibility issue. This is known and currently being worked on my Magisk creator. Delete /data/magisk.img to eliminate this issue in recovery. This should effect like 1℅ of users (depends on ROM, device, and kernel). Report this issue if you encounter it. It doesn't happen on every device that has both SuperSU with Magisk.
[Android Apps and Games] Jsilver73:
1. Device and Manufacturer - angler

2. ROM and Android Version - ABC 7.1.1

3. Magisk version (if Magisk) or system install - magisk

4. MagiskSU or SuperSU - magisk

5. Permissive or enforced - permissive (pseudo enforced in kernel - flash kernel)

6. Flashed within TWRP, CWM, or Magisk Manager - magisk

6. Results, bugs, errors (if errors in Magisk Manager or flashing: please send logs or screens of logs which is easier)

Flashed both modules and atmos is all working along with v4a (already installed) and Arkamys

Sounds nicer - clearer than DD+ that I was originally using :good::D

Did I read that you are also working on a module for v4a? If so will you also make one for ark?

Many thanks for your awesome work :highfive:
[Android Apps and Games] ahrion:
I am working on a few modules besides V4A. One of them is AM3D Zirene.
[Android Apps and Games] Jsilver73:
I've never been able to get that to work on 6p

Looking forwards to what ever you got anyway - atmos is working nice here anyway :laugh:

Not sure I did this correctly but first I tried the le Pro zip and couldn't see any apk for atmos so I flashed the first smaller zip and then saw atmos and all good

Is that correct? I mean it's needed to flash both zips?
[Android Apps and Games] ahrion:
That made no sense
[Android Apps and Games] Jsilver73:
I installed this first:

Le Pro 3 Magisk Test 8

Rebooted and couldn't see the Dolby apk

So I installed this:

A7000-6.5 Magisk Test 8

Rebooted and the apk was there and worked nice.

Was it necessary to flash both modules or simply one or the other?
[Android Apps and Games] ahrion:
No ideas why. Just one. For some reason LePro 3 isn't installing for you

There's 2 apps. Which one isnt being installed properly?
[Android Apps and Games] Phrodini:
Good looks on the info
[Android Apps and Games] Jsilver73:
Le Pro 3 Magisk Test 8

When you say 2 apps so you mean there is something other than the Dolby app?
[Android Apps and Games] storm119:
[MENTION=5357345]ahrion[/MENTION]

1. Bacon OnePlus One

2. AOSiP N 7.1.1

3. Magisk Ver.11.1

4. MagiskSU

5. Enforced

6. Magisk Manager

7. Test results :-

7.1 = A7000-6.5 Magisk Test 8 (worked fine and no issue)

7.2 = Le Pro 3 Magisk Test 8 (dolby keep fc'ing and log attached)

HTH and thank you for your superb works :good:
[Android Apps and Games] hokiealumnus:
Hi [MENTION=421177]ahiro[/MENTION]n, I saw you were looking for testing on a Pixel (XL in my case) and thought I'd volunteer, if my setup is useful to you. My ROM is crDroid, which is LOS-based and has built-in root which I typically disable. My kernel is Enforcing.

I'm happy to enable root/set permissive for setup and testing, but prefer un-rooted and enforcing as default, will the port work like that after being set up?

Obviously there is no Magisk yet on the Pixel so I'm not 100% sure if your test builds can be installed (they're labeled Magisk). Let me know if I can be of service. Thanks!
[Android Apps and Games] ahrion:
There is a Dolby service and Dolby client.
[Android Apps and Games] ahrion:
Pixel support should already be here. Flash test 8. It's a unified installer and will install on system if Magisk is not detected
[Android Apps and Games] ahrion:
Try LePro 3 again and let me know on your apps lost in settings if you see "Dolby Atmos" and "Dolby Service".

It might not be compatible with your ROM/device/kernel combo if you see both apps there.
[Android Apps and Games] storm119:
hmm...what are you mean by "apps lost in settings"...?

edit: I think you mean settings > apps (lists) ...right ?. Okay i installed LePro 3 again and checking the Settings > Apps = show both apps Dolby + Dolby Service...there.
[Android Apps and Games] Kyuubi10:
Hey which system.prop changes have you added?

Any of them dsp offloading yet?

If not, can i ask a small favour, if you could add dsp offload, because processing audio on CPU is killing my battery xD.

Will flash test8 in a moment.
[Android Apps and Games] Kyuubi10:
Lol sorry, i could prob explain myseld better.

Could you do me a favour and enable tunnel.decode and audio.offload on system.prop?

You mentioned you are doing changes to system.prop so I thought that adding these changes might not be too difficult.

Also, test 8 lepro GUI keeps FCing, i'll add a recovery log in my next post.

I'm still running:

1. HTC 10

2. ICE NOUGAT

3. MAGISK + MAGISKSU

4. ENFORCING

5. Magisk manager (will try TWRP in just a moment).
[Android Apps and Games] Kyuubi10:
Here's the recovery log of lepro test8.

Will go back to the A7000 for the time being.

If there's anything i can do to help, feel free to ask.
[Android Apps and Games] ahrion:
It's disabled. You can change it yourself.
[Android Apps and Games] ahrion:
It doesn't work for your device. Try another Atmos.
[Android Apps and Games] Kyuubi10:
How would i do that?

I'm not too familiar with Magisk yet, is there a specific file in your zip that I can modify?

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

Uhm, shame... I'm already using A7000 instead.

It works a charm.

Just finding it weird because lePro3 worked fine in System mode.

Any idea why it doesn't work through magisk?
[Android Apps and Games] ahrion:
No ideas man. It should be working. Best thing I can say is get me a recovery log.
[Android Apps and Games] hokiealumnus:
Recovery logs attached.
[Android Apps and Games] ahrion:
I think I found the issue. Gonna push fix in test 9
[Android Apps and Games] ahrion:
I'm currently fixing pixel support. Hopefully this is the last time I fix.

All changes are pushed to my Git.

So here's what I need y'all to report:

1. Device and Manufacturer

2. ROM and Android Version

3. Magisk version (if Magisk) or system install

4. MagiskSU or SuperSU

5. Permissive or enforced

6. Flashed within TWRP, CWM, or Magisk Manager

6. Results, bugs, errors (if errors in Magisk Manager or flashing: please send logs or screens of logs which is easier)

Always make a nandroid backup before you do any changes. If you get a bootloop when installing Magisk or experience loss of root, delete /data/Magisk.img and this should fix the issue.

A7000-6.5 Magisk Test 9

Le Pro 3 Magisk Test 9

If you're losing root it's because it's a Magisk limitation currently, typically with SuperSU w/ Magisk installed. topinjohnwu is aware of this issue as it is a boot.img compatibility issue. This is known and currently being worked on my Magisk creator. Delete /data/magisk.img to eliminate this issue in recovery. This should effect like 1℅ of users (depends on ROM, device, and kernel). Report this issue if you encounter it. It doesn't happen on every device that has both SuperSU with Magisk.
[Android Apps and Games] ahrion:
Check my above post.
[Android Apps and Games] Remen95:
I have not tested this yet..about to flash it, but man! the speed at which you push out new test updates is impressive. Keep doing you bro! I would my results once I flash your test9 zips.
[Android Apps and Games] Phrodini:
I remember how people were dogging the op3 when it first came out. Nothing was wrong with the phone, they were too busy complaining about not being able to use all of the 6gb. Then with a trick and an update later the problem was solved and then they actually looked at the phone and realized it performed much better than other phones with the same chip. It's a nice phone indeed
[Android Apps and Games] ahrion:
Most people who criticize have never used the phone or they just don't like how the company conducts business.
[Android Apps and Games] Phrodini:
Yeah.. And some just don't like it because it's not a flagship phone. More for others to enjoy. Dolby works on all three of your phones?
[Android Apps and Games] juviko:
Big size ? 42 mb
[Android Apps and Games] Katzert:
Installed but not working in Moto G XT1072 with Marshmallow stock rooted, no audio processing just the app and services working normally
[Android Apps and Games] ahrion:
Yeah, but my M9 has AOSP. It reported to not work on sense.
[Android Apps and Games] ahrion:
Once you fix your sound for your device by clean flashing or whatever you do to fix it, flash this and report back: https://drive.google.com/file/d/0BxlY-VYiFXU7dFNURk5hVjZId1E/view?usp=drivesdk

It's a different dolby I just ported. I may just change this thread to the "Collective Atmos Port Thread"

I have K3/K4/Axon7/LeMax2 Dolby's under my belt now.
[Android Apps and Games] Skuggo:
Which one do you recommend?
[Android Apps and Games] ahrion:
This new one should have better compatibility. It also sounds better. You'd have to try it and report back here.

I listen to music a lot when I test these Dolby's, as they are my specialty. I think it sounds better, but could be wrong.
[Android Apps and Games] Skuggo:
I will check it out thanks! Awesome work.
[Android Apps and Games] juviko:
how do I install it?
[Android Apps and Games] mahe.:
Thanks for looking into FC issue my friend. But it seems like i am still seeing the FC with the fix also.. Here is the new logcat.

CM13-Gti-9300-SE-linux set to permissive.
[Android Apps and Games] skyhirules:
This one FC too on my Xperia Z1 Compact with Android 5.1.1. The only Atmos working perfectly so far is the 6.5. I suspect it may have to do with leftovers after uninstalling 6.5 with the respective zip.
[Android Apps and Games] ahrion:
I delete all leftovers every time a new zip is flashed. I can't do anything for you guys without a llogcat
[Android Apps and Games] ctrlaltdeln:
Also get a FC. Note 4 TW 5.1.1.

Installed on clean system. No other mods.

This is lemax version. Don't know if it helps, but I filtered the term "atmos" in the catlog.

https://drive.google.com/file/d/0B3tZ4Uatq6F7WmV3YU4zS3Z6SUU/view?usp=docslist_api
[Android Apps and Games] DeeZZ_NuuZZ:
File is deleted, can't download
[Android Apps and Games] mahe.:
missed somehow :)corrected now..
[Android Apps and Games] Slypnslyde:
This is amazing, it works for me now with no force closes. The axon 7 version wouldn't work but now I'm good to go thanks
[Android Apps and Games] Katzert:
Flashed on CM13 in a Moto G XT1040 but still not audio processing
[Android Apps and Games] ahrion:
Ahhhh

I'm always changing it. Let me reup
[Android Apps and Games] hokiealumnus:
Thanks for getting the build out so fast. Good news and bad news. The good news is that both installers got the app installed. The bad news is different for each one.

The a7000 app installed and ran fine, but didn't change the sound. I used an app, switched to permissive, killed the app and tried again, still with no change to the sound.

The lepro3 app just crashes trying to load, both with enforcing and permissive. Log attached for that.

The uninstaller doesn't work on pixel, which is logical. It just bootlooped back to recovery. That's no problem though, quick dirty flash fixes it right up. :)

I'm happy to test whatever you need if you want to fool with this more. Feel free to reach out on hangouts too. Thanks for your hard work!
[Android Apps and Games] ahrion:
LePro3 might not be compatible with your phone. So when you say you see no change in sound that means you can change the settings and see the equalizer but hear no difference? I can bet money this is a deep_buffer issue.

I removed this in my latest version as I'm going to make the deep buffer hack a separate Magisk module.
[Android Apps and Games] hokiealumnus:
Yes, that's exactly it. I'd make huge EQ changes to see if it made a difference then powered it off and on, and the sound remained the same.
[Android Apps and Games] ahrion:
I mean I can give you some advice to see if it fixes. Did you try with just the phone speakers or headphones and Bluetooth too?
[Android Apps and Games] hokiealumnus:
Just headphones, but I'm happy to try again with speaker and BT tomorrow.
[Android Apps and Games] storm119:
I dunno if this can help you...on my test i need to turned off the built-in equalizer (musicFX ) that shipped with my rom to get the effects from dolby. If you have one its worth to try...?.

Ps- I'm on AOSiP rom with Bacon device and testing the DA test 8...will test the DA test 9 soon
[Android Apps and Games] shekhar1986:
Requesting dev or any user to please upload tha old version of Axon 7 Dolby Atmos port before update , it was working awesome on my redmi note 3 , the new version gives FC , and i lost installer zip for the old one .
[Android Apps and Games] hokiealumnus:
Not a bad idea, but I did that before installing this mod. Good tip for others though!
[Android Apps and Games] hokiealumnus:
I can confirm it doesn't change sound on speakers either. I tried the deep buffer remover but the script seems to need similar edits to the installer. A log of installing the deep buffer remover is attached for your review.

Thanks!
[Android Apps and Games] ahrion:
So pixel device support currently works. I went ahead and added my deep_buffer script as a unified installer (system/Magisk install). Ive only tested Magisk install with the deep_buffer remover so let me know how it goes. I removed wiping while installing on Magisk (unnecessary) and fixed a bug or two while increasing my script efficiency along with some cosmetic script changes.

deep_buffer changes are done in audio policy files so it's going to be a part of the Audio Modification Library moving forward.

ViPER4Android and AM3D will be coming once I hash this out. Still gotta finish the unified install portion of V4A, but the Magisk portion works beautifully with Atmos.

All changes are pushed to my Git.

So here's what I need y'all to report:

1. Device and Manufacturer

2. ROM and Android Version

3. Magisk version (if Magisk) or system install

4. MagiskSU or SuperSU

5. Permissive or enforced

6. Flashed within TWRP, CWM, or Magisk Manager

6. Results, bugs, errors (if errors in Magisk Manager or flashing: please send logs or screens of logs which is easier)

Always make a nandroid backup before you do any changes. If you get a bootloop when installing Magisk or experience loss of root, delete /data/Magisk.img and this should fix the issue.

A7000-6.5 Magisk Test 10

Le Pro 3 Magisk Test 10

Universal deep_buffer Remover Magisk Test 1

If you're losing root it's because it's a Magisk limitation currently, typically with SuperSU w/ Magisk installed. topinjohnwu is aware of this issue as it is a boot.img compatibility issue. This is known and currently being worked on my Magisk creator. Delete /data/magisk.img to eliminate this issue in recovery. This should effect like 1℅ of users (depends on ROM, device, and kernel). Report this issue if you encounter it. It doesn't happen on every device that has both SuperSU with Magisk.
[Android Apps and Games] Logan:
[MENTION=5357345]ahrion[/MENTION] i got Dolby Lepro and Lemax working but in RR 7.1.1 with arise.

Thanks for your work :)
[Android Apps and Games] shantam3108:
Got error while flashing deep buffer remover zip. But this test 10 is the only version of lepro 3 with magisk I got to work on nexus 6p. Rest never worked and gave me force closes. I am using with arise with arkamys audio and ice sound which I used before too.

Logs attached
[Android Apps and Games] hokiealumnus:
Did you have a tester that verified on a Pixel? Unfortunately it still doesn't make any changes to the sound when I edit the EQ on my end. Log attached. It seems to run into some trouble toward the end.
[Android Apps and Games] Slypnslyde:
I can't get Dolby to open, using permissive or enforce
[Android Apps and Games] ahrion:
I mean. The app is working and starting, which means it works.

Something is not working and I'm betting it is a deep buffer issue. Did you flash my deep buffer test zip?
[Android Apps and Games] ahrion:
I'm confused at what you're saying. Did test1 of deep buffer Magisk work or not? If not then go ahead and give me the recovery log for it because the recovery log you gave me is for lepro3
[Android Apps and Games] shantam3108:
The log is of both. First I flashed lepro 3 and then deep buffer which gave me error 2 while flashing. In the log after lepro3 it flashes deep buffer zip.

Test 10 worked for me on nexus 6p but none of the other worked before for me. Dolby app would always crash for me but it worked this time
[Android Apps and Games] hokiealumnus:
I did, regretfully it didn't work. We posted right after each other this morning. Find the log here: https://xdaforums.com/android/software/soundmod-axon-7-dolby-atmos-t3412342/post71336779

Also, FWIW, I verified the EQ makes no change to the sound on headphones, speaker, and BT.
[Android Apps and Games] ahrion:
Don't ever do that again. Try in Magisk manager.

Edit: I found the issue with flashing the deep_buffer in TWRP.
[Android Apps and Games] ahrion:
Right, but the fact that it opened the app and you can see the EQ means it works.
[Android Apps and Games] hokiealumnus:
Yep, for sure! It's just not processing at this time.

No rush on this at all, and if you don't want to mess with it that's fine too. I'm just here to test as long as you want to try. :)
[Android Apps and Games] shekhar1986:
WIll you please give link for the old version of Axon 7 dolby , before update zip file
[Android Apps and Games] psygarden:
Well I guess I have it in my laptop. I'll upload the file to my Google Drive and PM you the link soon.

EDIT : The old link https://drive.google.com/file/d/0BxlY-VYiFXU7cVFocExYanNHeEE/view
[Android Apps and Games] storm119:
[MENTION=5357345]ahrion[/MENTION]

I think the LePro3 doesn't like my device/setup :D ...none of the LePro test version work but im happy atleast the A7000 worked beautifully...thank you for your hard works :good:
[Android Apps and Games] ahrion:
I'm gonna have you do something for me. Go to your system/etc/audio_policy.conf and make a backup. Then delete the entire entry of deep_buffer. Should be towards the top.
[Android Apps and Games] hokiealumnus:
OK, super weird. There is NO audio_policy.conf file at all. Not in /system/etc/ nor in system/system/etc . Screenshot of system/etc attached, lest I'm going crazy over here and don't see it.
[Android Apps and Games] Meowdib:
Doesn't install from Magisk Manager. Just shows loading for a long time.
[Android Apps and Games] ahrion:
Send me any audio policy files in vendor/etc and system/etc. Just right there I see 2 different ones. Send those to me and check vendor.
[Android Apps and Games] hokiealumnus:
Attached! The zip file names are the directories, just imagine - is a /.
[Android Apps and Games] ahrion:
Which music player are you using?
[Android Apps and Games] hokiealumnus:
To be thorough, I have tested two each time - Google Play Music and VLC Player.
[Android Apps and Games] ahrion:
These through online streaming????
[Android Apps and Games] hokiealumnus:
No, local on-device files only.
[Android Apps and Games] ahrion:
Scroll all the way down in your audio policy configurations files and delete the deep buffer portions of the files. Make sure you backup any files you edit. Then report back here.
[Android Apps and Games] Slypnslyde:
#ahrion do you know why Dax is force closing I'm using teamdevdigitel magisk
[Android Apps and Games] ahrion:
No. Logs, no info. No help from me
[Android Apps and Games] Slypnslyde:
I searched Dolby in matlog but nothing came up
[Android Apps and Games] ahrion:
Recovery log?

I don't know your device, What version you flash, MagiskSU, Magisk, SuperSU, what recovery, ROM version, kernel, etc.

I need as much info as you can give me besides "doesnt work help"
[Android Apps and Games] hokiealumnus:
Sorry, still no luck on headphones or speaker after removing that.

Maybe we should wait for magisk, heh. Topjohnwu is working on it with a borrowed pixel. Might be a while, but I'm starting to feel guilty taking up so much of your time.

I really appreciate all you've tried so far!