yashsingh1/xdaforums huggingface dataset:
[Android Software Development] nanodan:
Ok. Init.d doesn't require root. That's a good fallback then.

But still, on systems with a working su.d and init.d, some of the scripts in init.d get run twice in sequence, once by su.d and then by init.d. The only script that doesn't get run twice is post-boot, because arisesound-services doesn't run that script unless it detects a Magisk image.

I really appreciate you explaining the process for me. My main question though was whether or not these scripts need to get run twice. Because I have a working su.d and init.d, I will move the contents of init.d to a non automated folder and change arisesound-services accordingly to prevent this.

My only question left, then, is whether or not post-boot needs to get run at all for devices without Magisk.

Also, I should note that I'm not having any issues with arise. It works perfectly and I love it. This is mostly a learning excercise for me.
[Android Software Development] grifforama:
That worked. y files were all messed up. Thanks !
[Android Software Development] winch3rry:
Hello All,

I have samsung s7 using batman rom 1.2.0 and Arise sound system Magnum opus the latest zip but I see some problem with the module.

The module is draining my battery quickly and make slow the cpu with high tempratures.

Could you please if you can to help me what needs to be installed?

I have change the arise_deuteronomy.prop and I have tru value in core,profiles,v4a 2.5.0.5,repair.card.permissions,none ICESOUND but is not helping.

For super su i am using the SUPERSU apk for root and not magisk.
[Android Software Development] fossils-n-dents:
Hello sonophilos!

I extracted your zip file/ chose the 2.5.0.5 apk. I copied to /system/ priv-app/ viper4arise.

Then I overwrote the original file with your file. When I set the permissions it says,"Error- Changing permissions was not sucessful. Please note that some file systems do not allow permission changes".

I'm using root Browser. What am I doing wrong? I need that Black n Cheese!

Thanks in advance for any assistance.
[Android Software Development] Skittles9823:
Magisk?
[Android Software Development] sonophilos:
Hi fossils,

Strange. You were able to overwrite the file (no error) but not change permissions? Usually that error only comes up if you have /system mounted RO, in which case overwriting the file would've failed. You may have to use a browser like Root Explorer which can manually mount/unmount RW in order to accomplish this (though I'm not sure exactly why) - specifically, try mounting RW, deleting the original apk and placing the new one, then setting permissions, then remounting RO.

If this still doesn't work, PM me and let me know what ARISE version you're using and I'll get a solution put together for you.

EDIT: if you are indeed using Magisk, let [MENTION=6315410]Skittles9823[/MENTION] help you - he's more familiar with what needs to be done to get it working in that case. :good:

EDIT2: or try what [MENTION=5866088]Paschfire[/MENTION] suggested below, that should work regardless of what setup you're working with. (My suggestion might break Safetynet if you are on Magisk.)
[Android Software Development] Paschfire:
Since you didn't give any information pertaining to your device or setup, I suggest booting into TWRP Recovery, Mount /System, using TWRP file manager navigate into /system/priv-app/viper4arise.apk, tap on the app and change permissions 0644, swipe to change.
[Android Software Development] Dead Short:
My setup for in-ears + Axon 7 speakers

I use an ZTE Axon 7 + Sony MDR-EX650APT at the moment, you may want to tweak the settings marked with a "*" depending on your used devices and personal taste.

You need:

- Viper4Arise

- Dolby Atmos

V4A settings:

ViPER-DDC: Heroin.vdc

Spectrum extension: 0.66 strength*

Convolver: Impulse response: Heroin.irs @ 0% cross channel

ViPER bass: Natural Bass @ 40Hz* /+ 12.0dB*

ViPER clarity: Natural @ 6.0dB*

Dolby Atmos settings:

Intelligent Equalizer: Open

Setup for Axon 7 speakers:

V4A settings:

FIREqualizer: +4.0dB | +5 dB | +5.5dB | +4.0dB | +1.5dB | 1.0dB | + 3.5dB | +4.5dB | +5.0dB | 3.5dB

Dolby Atmos settings:

Intelligent Equalizer: Open

Surround Virtualizer: Enabled (turn it on while no audio device is connected, it turns on and off automatically if you connect/disconnect audio devices)

Enjoy ;)
[Android Software Development] fossils-n-dents:
My apologies to all concerned.

My problem may be that I have the original Viper4Android Arise, and not the files listed in this post...I am so sorry for wasting your time.

Now...I will get all needed files, and install the correct Viper4Android, and report back with my results. I must have this.

Thank You all for answering me so quickly. As a total audio noob, trust again I will be disturbing you guys again.

Again, My apologies.

Edit: Are these Magisk modules?
[Android Software Development] Paschfire:
Take your time and Read the OP section carefully, it contains all information/Links/Files necessary for a proper ARISE Installation.

Also..

Before you post for support again..

Pls provide more information.. with detail.

Provide the following.

Have you checked out the Troubleshooting Guide yet(ARISE XDA OP, G+ Community Description)? As there's lots of helpful information within the .txt documents.

Also checkout the G+ Community Description Installation G-Doc or XDA Thread OP for other important tips and Installation Instructions.

Device? =

Stock~Custom Rom?(Android~ROM version? Build date?) =

Recovery? version?(Trwp,cwm,Philz ..etc) =

Recovery Log? Logcat? Magisk Log? =

Root?(Eg. CM, PHH, SuperSU, Magisk, Other?) =

BusyBox?(Stericson, osm0sis, Other?) =

BusyBox install location?(Eg. /su/xbin, /system/xbin, Other?) =

Magisk Compatibly module?(v4.0 is latest) =

Other Magisk modules? Or System modifications? =

Available free MB /System partition?(Not Internal Storage /Data partition aka. Sdcard~before ARISE Installation) =

SELinux = Permissive?-Enforcing? =

ARISE build/version flashed? =

Last ARISE/V4A version to install successfully if applicable. =

Steps taken during installation? =

arise_customize.prop "true" selections?(Eg. ICEConfig 0-6, AM3D, Dolby, ..etc) =

Music-Listening Source?(Spotify, GPM ..etc) =

Any information regarding your setup you think might be useful?﻿

Pls explain in detail what the current​ Issue you're being faced with?

List out what steps you have taken in trying to solve the issue?

This information will better assist others in helping you.

Thanks.
[Android Software Development] Skittles9823:
No, although if you use magisk you'll need to either write true next to install.magiskcompatibility= in arise_customize.prop or flash this >https://www.androidfilehost.com/?fid=745425885120749924 seperatly. I'd recommend flashing the file I linked as it used the latest Magisk module template for Magisk 13 but if you do make sure to flash it after you flash ARISE.
[Android Software Development] leblvin:
Hello all! I'm playing with ICESound and have a few questions

1. In the IceSoundConfig.def files, what is the impact of the number of output thread effects that are created in fasttrack mode? Is the higher the better?

2. Still in the IceSoundConfig.def files, I'd like to understand the "a2dp" and "usbaudio" lines. My bluetooth earbuds use apt-X, and this technology is supported by my ROM (I get the splash logo of apt-X when I connect my earbuds). Also, I do not use USB devices for audio. Would setting "a2dp false" and/or "usbaudio false" have any positive impact (on battery, sound quality, anything else)?

3. I have a hard time understanding the dependencies of the "use.ICEconfig" and "use.ICEsound.preset" lines in arise_customize.prop. I suspect that "install.ICEsound=true" is required for those two other lines to have any impact. But if IceSound is installed, do the following configs do anything?

3.1

use.ICEconfig=none

use.ICEsound.preset=none

3.2

use.ICEconfig=none

use.ICEsound.preset=01

3.3

use.ICEconfig=04

use.ICEsound.preset=none

Thanks to all of you for your great work and your countless hours :good:
[Android Software Development] guitardedhero:
Correct. Genuine init.d support does not require root for the contents of /system/etc/init.d to execute when execute privileges are granted.

However, genuine init.d support is rare in recent and current roms and firmware.

Unfortunately, this rarity has compelled some users to disguise a su.d script executing the contents of /system/etc/init.d as providing genuine init.d support, similar to what we do except that we do not advertise such a feature and only execute specific scripts. We merely use it for our scripting purposes while not adding a unique directory and not requiring any action of the user in the event genuine init.d support is available.

I prepared a simple test script for you to test if anything other than /system/su.d/arisesound_services is executing the contents of /system/etc/init.d.

Execution of this script will result with /storage/emulated/0/logs/init.d.test.log (viewable without root) or /data/local/init.d.test.log (if /storage/emulated/0 does not exist to create /logs/init.d.test.log).

Since we only target specific scripts and not just what exists /system/etc/init.d, the presence of the log confirms something else is executing the contents of /system/etc/init.d but does not confirm genuine init.d support is available.

With SuperSU, genuine init.d support can then be confirmed by examining the contents of /su/su.d and /system/su.d and finding no script having content similar to:

/system/bin/sh /system/etc/init.d/*

Attached below is the test script with the necessary additional file name extension to be accepted as an attachment to this post.

Simply download, place in /system/etc/init.d, remove ".zip" so that it exists as "init.d.test.sh", set 0755 permissions, reboot, and look for the creation of that log in the two possible directories it will exist if executed during or after boot.

:good:
[Android Software Development] delsoo:
How to know if the ARISe doesnt work well on my phone ?

after installing , i have VIper and ESIRA ...
[Android Software Development] Dudebowski:
Arise team. You guys rock. Thank you. That is all.
[Android Software Development] fossils-n-dents:
Device? = HTC 10

Stock~Custom Rom?(Android~ROM version? Build date?) = Rooted/ s-off/ Nougat 7.1.2/ Viper10 Rom 5.11.0 -August 2017

Recovery? version?(Trwp,cwm,Philz ..etc) =TWRP 3.1.1.

Recovery Log? Logcat? Magisk Log? = N/A.

Root?(Eg. CM, PHH, SuperSU, Magisk, Other?) = Super SU Pro

BusyBox?(Stericson, osm0sis, Other?) = BusyBox Version 1. 25. 1 Stericson

BusyBox install location?(Eg. /su/xbin, /system/xbin, Other?) = System/ Xbin/ SU

Magisk Compatibly module?(v4.0 is latest) = Not using Magisk

Other Magisk modules? Or System modifications? = N/A

Available free MB /System partition?(Not Internal Storage /Data partition aka. Sdcard~before ARISE Installation) = 17.7 GB free

SELinux = Permissive?-Enforcing? = Permissive

ARISE build/version flashed? = 2.5.0.5

Last ARISE/V4A version to install successfully if applicable. = 2.5.0.5, but directly from Arise Team website.

Steps taken during installation? = It was an Aroma install.

arise_customize.prop "true" selections?(Eg. ICEConfig 0-6, AM3D, Dolby, ..etc) = Core=True, v4a 2.5.0.5=true, Atmos=true

Music-Listening Source?(Spotify, GPM ..etc) = None yet.

Firstly, I wish to thank all who provided assistance with what little info I provided. I DID IT!!! A very large achievement for me.

Fired up V4A Arise Magnum Opus for the first itme after much troubleshooting (6 hours later...whew!), the first sound I heard was...loud buzzing. Tracking down XDA threads, I found a post from July 2016, and the gentleman said, "Push the 'Exit' button in the top right of V4A, exit the app, and try again".

I said Bullsh..... IT WORKED!!!

Thing is, all I have is ringtones to play with. So my question (If this is the proper thread) is, what is a lightweight, easy on resources, audiophile level music player(s) I can try out on my new system? Something preferably not running in the background when not in use. Again, [MENTION=8383546]sonophilos[/MENTION], [MENTION=6315410]Skittles9823[/MENTION], [MENTION=5866088]Paschfire[/MENTION], and the entire Arise Team...

Thank You.:good:

Next up...Black-n-Cheese!:laugh:
[Android Software Development] krish@3T:
Wait aroma :confused: it's long gone ?
[Android Software Development] dogredwing1:
Any way to fix audio being out of sync while watching videos using v4a?
[Android Software Development] ffejy462:
Turn off convolver.
[Android Software Development] MuzakaTheBeast:
Hi guys. So I'm running a CloudyG2 3.3 rom which comes with V4A v4.x.x.x pre-installed (as a system app). The dirty flash wouldnt work since the rom comes with the V4A. So with that being said, should I uninstall it first before flashing Magnum Opus?
[Android Software Development] fossils-n-dents:
BusyBox...My bad...
[Android Software Development] BlueJeans:
Has anyone else noticed that stereo effect (sound moving from left to right and vice versa) is lost with ICEsound or it is just me. I have tried with and without ICEsound and can see the effect gone. I have used iceconfig 2 and preset as default i.e. 12.
[Android Software Development] harshil33:
Why does it requires 300 MB of system space.
[Android Software Development] krish@3T:
To install all the good stuffs
[Android Software Development] Paschfire:
The ARISE installation can range anywhere from approximately 175MB~300MB depending on what you choose within the arise_customize.prop(signified by the value of =true) for how much space will be required within the /System partition.
[Android Software Development] MuzakaTheBeast:
So the ZIP file doesnt come with Aroma? I just got back to reading XDA so I'm kind of confused with all the new things this forum has to offer now.
[Android Software Development] krish@3T:
Read the op

You need to place the arise custom prop In SD card and give the value true for the things you want to install (true to core is must)

---------- Post added at 10:25 AM ---------- Previous post was at 10:24 AM ----------

Quick question

Recently bought talser I want to atomate thinks like switch on Atmos as soon as I connect my phone to my Bluetooth system

So can any one tell me is there any way to switch on Dolby with terminal commands r something like that?
[Android Software Development] snsone:
I think you can with tasker. Check it out
[Android Software Development] krish@3T:
It let me launch Dolby app

But I want to switch the effect on and off
[Android Software Development] harshil33:
I have only 156 MB of free space in /system.

Is it ok if I choose to install only core module with viper 2504 and profiles ?
[Android Software Development] MuzakaTheBeast:
hey thanks to your reply man. could you help a stranger a little more, so there are these tons of modules available which of em should I actually get? Most of the time, i'm on my earphones and rarely uses a very small bluetooth speaker.
[Android Software Development] Skittles9823:
For that you don't need much. I'd recommend just core, viper 2.5.0.5, viper profiles and Dolby Digital Plus since Atmos doesn't work on Bluetooth iirc.
[Android Software Development] MuzakaTheBeast:
thanks a bunch man. cant wait to check the improvements from the last V4A i had
[Android Software Development] krish@3T:
Try to remove gapps which can be installed from playstore

Give more info about ROM device and all those

---------- Post added at 12:42 PM ---------- Previous post was at 12:40 PM ----------

Found a way with the help of autoinput (took nearly an hour to understand )
[Android Software Development] harshil33:
Device: Samsung J7 2015 (SM-J700F)

ROM: Hyperion ROM by [MENTION=7069602]Allooosh98[/MENTION]

Link to the ROM: https://xdaforums.com/galaxy-j7/development/rom-hyperion-a3-2016-nougat-rom-j7-2015-t3657359
[Android Software Development] Bud Horn:
Hi guys.

Now I've been fiddling like crazy with latest Magnum Opus on both Viper 1.7 and LeeDroid 2.0 and I've got no luck at all, whatever settings I am trying... I'm about to go nuts on this... Dolby FC, V4A doesn't work, Arkamys and Dirac FC... I had it working sooo good on my HTC 10, but not on the U11. So I'll ask you once again in this forum: anyone managed to get Magnum Opus work on the HTC U11 I'd be more than happy if you've let me know your settings [emoji4].

Thx in advance, guys [emoji106].

/Bud
[Android Software Development] uudruid74:
Dirac EQ opens for me, but it doesn't seem to do anything. Headphones are plugged in, but no processing. Arkamys and Viper are on and I know Viper works fine.
[Android Software Development] krish@3T:
Experienced the same issue
[Android Software Development] uudruid74:
Use BS Player. It has an audio sync adjustment.

As someone mentioned, turn off the convolver may help, but all audio processing requires some degree of delay and the better quality effects often need longer delays. So, if you want a certain Viper preset with your movie, there will be some delay in audio and you'll need to delay the video by the same amount. The exact amount varies. Experiment.

---------- Post added at 02:18 PM ---------- Previous post was at 02:05 PM ----------

First, realize that most music players on Android don't play music. They are just a UI for the system's media playback framework. And .... "audiophile"? It's a phone with mp3 files, not vinyl and vacuum tubes! If you just want something simple and free, try Blackplayer. It's actually really good.

The latest PowerAmp Beta may have the potential for better quality if your device has HD audio and you are playing FLAC files. A few other players as well, but remember that the vast majority of players use the system framework, and even those that don't aren't going to decode a 256K mp3 any different. And if the original was only CD quality, it isn't going to magically get better after lossy compression.
[Android Software Development] Skittles9823:
I'd say grab use catlog or a similar log grabbing app to grab some logs of the apps force closing and upload them here for one of the devs to look at.
[Android Software Development] leblvin:
1. I see, so I need enough effect chains to support the libraries I'm installing I guess? I'll follow the auditing instructions and report anything relevant!

2. Thanks, I might play around with it!

3.1 Would the sound be impacted by installing ICEsound if there are no icesoundconfig.def and no icesoundpresets.def? From your answer of my question 1, I'm guessing it would enable one ICEsound effect-chain, but would it use it?

3.2 Would Bath Salts be active in that situation, given that there is no ICEconfig?

3.3 If I get what you're saying, this will have an effect on sound, but it's impossible to predict and should be tested by ear?

Thanks for the in-depth answer (as always)!
[Android Software Development] tuffluck:
I hope someone can help me. I really don't get very good results with viper! i have a nexus 6p with clarityone earbuds. they are very low ohm, like 8ohms, and i have heard because the 6p has a really weak audio driver that low ohm buds are really good. so i kind of wonder if my buds are as good as the sound can get, and that's why everything i do in v4a sounds pretty bad. i've loaded all the profiles from arise...they all sound terrible to be honest. i also have tried just on my own doing the convoler...again, they don't sound very good. a very common theme here is that a lot of all of the changes i make in v4a make the volume seem to be wavy...ie it goes loud to soft to loud to soft, it's very weird. i don't know if i'm doing something wrong or what. this has been across multiple rom's and magisk and supersu, so i don't think it's an issue of software.

i guess it is worth mentioning i tried this with other headphones, albeit cheap ones, and quite honestly i didn't much better results. i figure i must be doing something incorrect. my biggest grip with the 6p is not the EQ, it's that i want the volume louder. even increasing the gain in v4a doesn't seem to do much. i'm certain the v4a is working though, as i can tell a clear difference when i switch profiles. it's just that none of them seem to be doing much for me. any thoughts or tips for me?
[Android Software Development] krish@3T:
Try to use Atmos r ddplus Atmos has a pretty good gain if that's what you looking for if you need more than that use viper hifi
[Android Software Development] nanodan:
Currently, I've added lines such as

date +"[%D] [%H:%M:%S] Starting arisesound-setprop...">>/data/local/.scripts.log

at the start of each script, and another at the very end to indicate execution completion. With the scripts in su.d and in init.d, my output after each boot looks like

[02/26/70] [19:57:21] Setting metadata... #this is arisesound_services stating
[02/26/70] [19:57:21] Defining Variables...
[02/26/70] [19:57:21] Running necessary scripts...
[02/26/70] [19:57:21] arisesoundserver starting...
[02/26/70] [19:57:21] arisesoundserver finished.
[02/26/70] [19:57:21] arisesound-setprop starting...
[02/26/70] [19:57:22] arisesound-setprop finished.
[02/26/70] [19:57:22] All done. #arisesound_services stopping
[08/25/17] [09:33:44] arisesound-setprop starting...
[08/25/17] [09:33:46] arisesound-setprop finished.
[08/25/17] [09:33:46] arisesoundserver starting...
[08/25/17] [09:33:47] arisesoundserver finished
[08/25/17] [09:33:47] post-boot running...
[08/25/17] [09:33:49] post-boot finished.

Which tells me a few things: su.d gets executed before the timeservice (lol) and then executes arisesound_services, whixh runs two of the three scripts in init.d. Then, init.d begins and runs the scripts again.

I'll try booting with your test script when I find more time later, but I think this answers the same question.

I'm sure it doesn't mean anything that some of these scripts are being ran twice, but I'm a stickler for efficiency.
[Android Software Development] ffejy462:
You'll get your volume gains from playback gain control and master gate. Adjusting both will give you quite a bit of gain, but play attention to any degradation of quality and adjust as needed. Personally, I maxed out the gains for bluetooth because I use it mainly at work in a noisy environment so quality wasn't an issue, but for wired head phones, I don't use any gain and adjust for quality. I'm not a fan of multiple sound modifications so I just run Viper (and core).
[Android Software Development] tuffluck:
is there a way to just download the atmos separately if i have arise installed? the oreo ROM i'm on has arise, but they must have only installed v4a and i don't know how to preserve the dolby as the aroma for the arise was not included in the aroma for the rom (ie dev must have selected the options he wanted and put that in the rom without giving the user further options). thanks.
[Android Software Development] Skittles9823:
Indeed there is. Its even AROMA. I would recommend Dolby Audio from the choices in this package btw. The others don't give the same punch imo.

https://www.androidfilehost.com/?fid=817550096634785490
[Android Software Development] korom42:
What are your settings for Magnum Opus on LOS 7.1.1 (CM14.1) on sony devices ? any suggestions
[Android Software Development] Midomad:
My cpu is on max freq using this version and the phone warm a lot (OP3T).

Back to 24072017 build and all is normal again.
[Android Software Development] arifnasirshaikh:
Same here oneplus 3t.. Sometimes almost 100% usage
[Android Software Development] partcyborg:
** deleted **
[Android Software Development] linx1287:
The more important question is has Magnum Opus worked on any phone that has forgone the headphone jack and gone USB C route. By my understanding, removing the jack means removing the DAC from the phone and putting it on your headphones instead. I think mods like these target a phone's inbuilt DAC which ends with a jack, rather than mod an external DAC. Removing the jack is the main reason i didnt even think about upgrading to U11 from my 10. I'll wait and see how the V30 is and if it suffers any typical LG quality issues before buying it.
[Android Software Development] Midomad:
Thanks for confirming.