Collective Dolby Atmos® Nougat Port Thread [Unity][Deprecated]

Search This thread

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
attachment.php


This is the Dolby Atmos ported from BQ Aquaris X5 and Lenovo K6 stock Nougat ROMs. Like with @guitardedhero's ZTE Axon 7 Dolby Atmos Oreo port, it requires the stock audioserver from the roms. This greatly limits it's compatibility and likely won't work on devices/roms with a lot of audio customization. However it should work on most :)
Huge thanks to @ahrion who taught me everything I know about app porting

These installers utilize my Unity installer that will install the mod to magisk or system depending on the device setup and will prepare it for any root solution (for anything other than magisk, supersu, and phh superuser, you will need init.d support)

Troubleshooting:

Installation/Upgrade:
Flash the zip and your done! If your flashing a newer version of this mod, the installer will detect the old one and perform an upgrade

Uninstallation:
Just flash the zip again and it'll detect the current install and uninstall it. Pretty easy huh?

Magisk Version Compatibility:
v15.3 - v18.1

DOWNLOAD


attachment.php


Credits of Originality:
- Dolby
- BQ
- Lenovo

XDA:DevDB Information
Collective Dolby Atmos® Nougat Port Thread [Unity], App for the Android General

Contributors
Zackptg5

Version Information
Status: Stable
Current Stable Version: v1.8
Stable Release Date: 2019-01-16

Created 2019-01-24
Last Updated 2020-01-01
 

Attachments

  • AppScreenshot.png
    AppScreenshot.png
    144.6 KB · Views: 37,888
  • DemoScreenshot.jpg
    DemoScreenshot.jpg
    102 KB · Views: 38,523
  • logcat.jpg
    logcat.jpg
    46 KB · Views: 29,980
Last edited:

The Tox

Senior Member
Apr 8, 2012
850
715
Agadir
Great work , the new UI is awesome , and the dynamic mode is a very good addition to the old modes

Thanks ?

Sent from my X5 Plus using XDA Labs
 
  • Like
Reactions: Zackptg5

mohand06

Senior Member
Oct 9, 2015
1,117
363
Bejaia
@Zackptg5, flashed this Dolby-BQ-X5-v1.0.zip in twrp_3.0.2-1_sm-a310 (Samsung exynos SM-A310F) on clean stock nougat 7.0, no boot even when restoring original audioserver. Only exit is restoring system. Recovery.log and system space screenshot attached.
 

Attachments

  • recovery.log
    21.4 KB · Views: 691
  • Screenshot_20180220-154350.png
    Screenshot_20180220-154350.png
    80 KB · Views: 5,550

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
@Zackptg5, flashed this Dolby-BQ-X5-v1.0.zip in twrp_3.0.2-1_sm-a310 (Samsung exynos SM-A310F) on clean stock nougat 7.0, no boot even when restoring original audioserver. Only exit is restoring system. Recovery.log and system space screenshot attached.

The recovery log outlines the problem: you have no space left in your system partition. The tricky thing with audioserver is that it requires proper permissions and chcon set or you won't be able to boot. When you flash this mod again to uninstall it, it restores stock audioserver and sets those permissions but since the install itself never finished, there's no telling what would happen. I recommend switching to magisk as it stores all of its mods on your /data partition which would avoid this problem
 
  • Like
Reactions: kc12

mohand06

Senior Member
Oct 9, 2015
1,117
363
Bejaia
The recovery log outlines the problem: you have no space left in your system partition. The tricky thing with audioserver is that it requires proper permissions and chcon set or you won't be able to boot. When you flash this mod again to uninstall it, it restores stock audioserver and sets those permissions but since the install itself never finished, there's no telling what would happen. I recommend switching to magisk as it stores all of its mods on your /data partition which would avoid this problem
The attached screenshot of system partition shows that there's 206.08Mb space available. Restored audioserver with 0755 permissions. Thus the issue is elsewhere. Fyi, I used to flash each of gh's Dolby Atmos™ for Oreo test builds and I always manage to get out of the no boot issue by the audio server restoring trick.

As for using magisk, which I tried and have sometimes the issue of no apps in drawer though modules present in magisk, I still feel more comfortable with supersu. Thanks for your reply.
 

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
The attached screenshot of system partition shows that there's 206.08Mb space available. Restored audioserver with 0755 permissions. Thus the issue is elsewhere. Fyi, I used to flash each of gh's Dolby Atmos™ for Oreo test builds and I always manage to get out of the no boot issue by the audio server restoring trick.

As for using magisk, which I tried and have sometimes the issue of no apps in drawer though modules present in magisk, I still feel more comfortable with supersu. Thanks for your reply.

That's not enough. You need to do this:
Code:
chown 0:2000 /system/bin/audioserver
chmod 0755 /system/bin/audioserver
chcon u:object_r:audioserver_exec:s0 /system/bin/audioserver
The no space error actually referred to the /system/vendor folder so I'm not sure how you're partition layout is. The only time modules won't show up in magisk is when there's a bad post-fs-data script that errors out and/or takes too long to finish. Magisk is easier because you can just delete the module folder and be done with it
 
  • Like
Reactions: saraprobe
Sep 3, 2016
11
5
24
Chukai
Perfectly work with redmi note 4(mido) on official miui beta rom with magisk..The Ui is fantastic...but i wonder what demo actually do..i just see the slideshow but none of any sound.. @.@ ..nah but i dont care much about it as long the mod work :). 1 more things is when i install it alongside with ainur sauron...the dolby atmos will crash.... But without ainur it works like charm.
 

mohand06

Senior Member
Oct 9, 2015
1,117
363
Bejaia
That's not enough. You need to do this:
Code:
chown 0:2000 /system/bin/audioserver
chmod 0755 /system/bin/audioserver
chcon u:object_r:audioserver_exec:s0 /system/bin/audioserver
The no space error actually referred to the /system/vendor folder so I'm not sure how you're partition layout is. The only time modules won't show up in magisk is when there's a bad post-fs-data script that errors out and/or takes too long to finish. Magisk is easier because you can just delete the module folder and be done with it
OK that's fine, I understand that I can't install the new dolby on my system by flashing the zip in recovery as I don't intend to switch to magisk for now.
I used to manually install v4a, what about manually installing dolby? Would you direct me what to install and where. I know for the permissions. Thanks
 

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
Perfectly work with redmi note 4(mido) on official miui beta rom with magisk..The Ui is fantastic...but i wonder what demo actually do..i just see the slideshow but none of any sound.. @.@ ..nah but i dont care much about it as long the mod work :). 1 more things is when i install it alongside with ainur sauron...the dolby atmos will crash.... But without ainur it works like charm.
Sound doesn't work? Works for me. In order to use multiple audio mods like sauron and dolby together with magisk, you need to flash audio modification library (it's also on magisk repo)
OK that's fine, I understand that I can't install the new dolby on my system by flashing the zip in recovery as I don't intend to switch to magisk for now.
I used to manually install v4a, what about manually installing dolby? Would you direct me what to install and where. I know for the permissions. Thanks
If you unzip the installer, all of the files are in the path they would be normally installed into (system folder) so just copy that layout. Although unless you cleared up some space, it won't work. In which case if you do clear some space, you're better off just flashing the zip. It also installed boot scripts and addon.d script which are generated by the installer depending on your device setup so an alternative to the scripts would be setting selinux to permissive
 

Tung Lam

Senior Member
Mar 30, 2016
104
29
Help, please! My phone samsung J710FN can't boot stuck at samsung logo after install via Magisk.
 

Attachments

  • logcat.7z
    128 KB · Views: 82

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
Help, please! My phone samsung J710FN can't boot stuck at samsung logo after install via Magisk.

Are you on stock samsung? Not surprised this doesn't work. Audioserver keeps crashing due to it not containing some stuff needed for some other libraries present on your device. There's not much I can do about it so it's just not compatible with your device unfortunately. You can flash the zip again and it'll uninstall it
 
  • Like
Reactions: God Terrible

Tung Lam

Senior Member
Mar 30, 2016
104
29
Are you on stock samsung? Not surprised this doesn't work. Audioserver keeps crashing due to it not containing some stuff needed for some other libraries present on your device. There's not much I can do about it so it's just not compatible with your device unfortunately. You can flash the zip again and it'll uninstall it

I'm on a custom touchwiz ROM.
 

laugeek57

Senior Member
Nov 7, 2014
1,168
393
55
Metz
Hello,Zackptg5

Is there a solution for this sound module to work on my Nexus 7 2012 aosp rom 7.1.2 :confused:
The installation runs without worries but I have got force close by opening the application Dolby Atmos...
Thanks for help...
 

Attachments

  • Log_DAX2.4.016_r1.zip
    106.8 KB · Views: 179

Zackptg5

Recognized Developer
Sep 18, 2014
4,148
6,996
zackptg5.com
Google Pixel 4a
Google Pixel 5a
Hello,Zackptg5

Is there a solution for this sound module to work on my Nexus 7 2012 aosp rom 7.1.2 :confused:
The installation runs without worries but I have got force close by opening the application Dolby Atmos...
Thanks for help...
Can you run through the troubleshooting guide and see if any of the listed solutions solves it? Try setting selinux to permissive too
 
  • Like
Reactions: laugeek57

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    attachment.php


    This is the Dolby Atmos ported from BQ Aquaris X5 and Lenovo K6 stock Nougat ROMs. Like with @guitardedhero's ZTE Axon 7 Dolby Atmos Oreo port, it requires the stock audioserver from the roms. This greatly limits it's compatibility and likely won't work on devices/roms with a lot of audio customization. However it should work on most :)
    Huge thanks to @ahrion who taught me everything I know about app porting

    These installers utilize my Unity installer that will install the mod to magisk or system depending on the device setup and will prepare it for any root solution (for anything other than magisk, supersu, and phh superuser, you will need init.d support)

    Troubleshooting:

    Installation/Upgrade:
    Flash the zip and your done! If your flashing a newer version of this mod, the installer will detect the old one and perform an upgrade

    Uninstallation:
    Just flash the zip again and it'll detect the current install and uninstall it. Pretty easy huh?

    Magisk Version Compatibility:
    v15.3 - v18.1

    DOWNLOAD


    attachment.php


    Credits of Originality:
    - Dolby
    - BQ
    - Lenovo

    XDA:DevDB Information
    Collective Dolby Atmos® Nougat Port Thread [Unity], App for the Android General

    Contributors
    Zackptg5

    Version Information
    Status: Stable
    Current Stable Version: v1.8
    Stable Release Date: 2019-01-16

    Created 2019-01-24
    Last Updated 2020-01-01
    6
    This is now on the magisk repo! :)
    6
    Uploaded a new version (v1.1.1). I moved the app from vendor/app (where it was on BQ Aquarius device I ported it from) to /system/priv_app (works fine on my g2). Reason I did this was that some nougat devices (like my g2) don't have a vendor/app folder at all. Although it'll create one and it'll work, the icon won't display properly in the launcher due to chcon being set for vendor_app_file (as it should be but since there is no vendor apps at all, it seems that this doesn't work). So putting it in priv_app seems like a more universal solution so if you want to test it out and let me know if it works, that'd be great. I kept v1.1 up in case it doesn't.
    6
    Updated dolby to v1.1! Changelog:
    Removed demo from apk - app much smaller now
    Fix seg faults on system installs
    4
    Dolby has been updated to v1.2! Changelog: Updated to unity v1.4