yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Skuggo:
java.lang.RuntimeException: Exception: can not load settings.

at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)

at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5461)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
[Android Apps and Games] ahrion:
Try this TEST1.0.1

https://drive.google.com/file/d/0BxlY-VYiFXU7OUNid3BZZE1yX2M/view?usp=drivesdk
[Android Apps and Games] Skuggo:
No change :( Sorry
[Android Apps and Games] ahrion:
Wipe data in both dolby apps and then restart
[Android Apps and Games] Skuggo:
No go same error.
[Android Apps and Games] Atari-:
That worked for me! On Paranoid Android. Oneplus One!
[Android Apps and Games] ahrion:
So it wasn't opening until? Which test did you try??? I need more info. MM? Was it working before??
[Android Apps and Games] Atari-:
Last one you posted (dax_Lenovo_TEST1.01_signed) MM 6.0.1 Paranoid Android was crashing before I wiped data then it opened just fine!
[Android Apps and Games] ahrion:
Do the effects turn off when swiping atmos from recents? Did you move the apps to priv-app??
[Android Apps and Games] Atari-:
As far as I can tell they don't (been trying with the Music preset since it's much more noticeable. And yes I moved the apps to priv-app, but I don't know what fixed it first, doing that or wiping the data because I wiped the data AFTER I had moved the apps to priv-app.
[Android Apps and Games] ahrion:
OK. I'll probably keep them there anyways. Let me know if the effects start at phone boot too.

---------- Post added at 01:08 AM ---------- Previous post was at 12:59 AM ----------

If you can, try reflashing your rom and then flash the latest test ATER first reboot.

---------- Post added at 01:09 AM ---------- Previous post was at 01:08 AM ----------

Thank you for reporting. This is good news. Keep me updated.
[Android Apps and Games] defvayne:
Was this upload deleted?
[Android Apps and Games] ahrion:
Nope
[Android Apps and Games] xXCoolGuYXx:
Would this work on the LG g4
[Android Apps and Games] defvayne:
Won't download past 10mb.
[Android Apps and Games] Atari-:
Just rebooted and it still worked, tested by using Google Play Music then playing a song, opening the app and then toggling to see if the effect was on after reboot ( and it was! )
[Android Apps and Games] defvayne:
Still getting errors.

java.lang.RuntimeException: Exception: can not load settings.

*** at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

*** at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

*** at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

*** at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

*** at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)

*** at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)

*** at android.os.Handler.handleCallback(Handler.java:746)

*** at android.os.Handler.dispatchMessage(Handler.java:95)

*** at android.os.Looper.loop(Looper.java:148)

*** at android.app.ActivityThread.main(ActivityThread.java:5443)

*** at java.lang.reflect.Method.invoke(Native Method)

*** at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

*** at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

*** at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)

---------- Post added at 08:28 PM ---------- Previous post was at 08:27 PM ----------

What did you end up doing for it work?
[Android Apps and Games] Atari-:
I followed his instructions to the letter and it worked. I had to make some space in /system though
[Android Apps and Games] ahrion:
What I meant is that if you reboot, and don't open the app. . .will the effects persist without toggling the effects OR do they turn off and you have to manually turn them on after every reboot?
[Android Apps and Games] Atari-:
I didn't have to manually turn them on or open the app after a reboot. Tested it by playing music with Google Play Music left the song running, opened Dolby Atmos and turned off the effects, the effect was noticeable so that's why I say it just worked after a reboot without having to open it to turn it on.
[Android Apps and Games] ahrion:
These two logs are the SAME EXACT errors I get when I set Selinux to Enforcing. You guys need to set for permissive.
[Android Apps and Games] Skuggo:
It is set for permissive. Double checked.
[Android Apps and Games] defvayne:
For some reason kernel auditor was not making any changes to SELinux. Had to download the SELinuschanger apk. Now it works.
[Android Apps and Games] ahrion:
Rom? Android version? Device?
[Android Apps and Games] defvayne:
ROM: TruePureXMM 2.9

Android Version: 6.0

Device: Moto XT1575
[Android Apps and Games] ahrion:
Version 1.1:

- moved to priv app

- fixed installer

- other-smali changes and tweaks

Due to the way HTC does permissions, there is almost no chance I can change the HTC Sense MM issues. These issues are not having the service start at boot and swiping away recent/back kills the service. It's a custom permissions issue. You can thank HTC

It should work for everyone else.

https://drive.google.com/file/d/0BxlY-VYiFXU7Y1FkYzNWN3hlSms/view?usp=drivesdk
[Android Apps and Games] Skuggo:
Works great! Thanks alot.
[Android Apps and Games] ahrion:
It was a permission issue which is why i moved it to priv-app.
[Android Apps and Games] vhsantos1:
Is compatible with ARISE? I install but FC...

We need extra step to make it compatible??? Tks
[Android Apps and Games] Skuggo:
Ah. Thanks alot for fixing it. Appreciate the hard work.
[Android Apps and Games] ahrion:
Or ARISE needs to make extra steps to make it compatible. Im on the Arise team but I handle porting. Ill be changing the installer script to delete old left over atmos files.

You need to delete your old Atmos manually in titanium backup and wipe both apps data before you do.
[Android Apps and Games] vhsantos1:
I already deleted but dont wipe data before uninstall. Try after wipe data but fc. Whats your advise? Install old again and proced as u say or wait for your script? I see smeejay have some lines in tweak.prop ti work with this version. What lines u sugest to add to? Tks 4all
[Android Apps and Games] skyhirules:
So, maybe the reason I get FC is some old atmos leftovers? I use the uninstall zip in the 1st post to uninstall it.

One more question: why is there such a huge difference in the size of the new and the old atmos (more than 30 MB)?
[Android Apps and Games] ahrion:
You don't need to add any lines. But make sure selinix is permissive. Only flash after arise, never before.

Telling me you have a FC doesn't help. Get me a log. I prefer to have the log from Cracker, and xposed module as it is easy to read quickly.

---------- Post added at 10:06 PM ---------- Previous post was at 10:05 PM ----------

I just haven't removed the demo video which is why it is so large
[Android Apps and Games] skyhirules:
I think you better remove it.
[Android Apps and Games] ahrion:
Thanks for the advice.
[Android Apps and Games] vhsantos1:
Cracker Log from FC note3 with note5 port LL

Java.lang.RuntimeException: Exception: can not load settings.

*** at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

*** at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

*** at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

*** at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

*** at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java)

*** at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java)

*** at android.os.Handler.handleCallback(Handler.java)

*** at android.os.Handler.dispatchMessage(Handler.java)

*** at android.os.Looper.loop(Looper.java)

*** at android.app.ActivityThread.main(ActivityThread.java)

*** at java.lang.reflect.Method.invoke(Native Method)

*** at java.lang.reflect.Method.invoke(Method.java:372)

*** at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

*** at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

*** at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:119)
[Android Apps and Games] vasilis_:
Have you fixed the prompt ' app has stop working ' when starting the device after installing?
[Android Apps and Games] ahrion:
Selinux needs to be set to permissive. That specific error is because of selinux.

---------- Post added at 01:53 AM ---------- Previous post was at 01:53 AM ----------

I don't know what error that is because I was never given a FC
[Android Apps and Games] ahrion:
Here's 1.2. I removed the video that caused the file to be 37mb.
[Android Apps and Games] juviko:
if there are updates of Dolby atmos?

---------- Post added at 02:39 AM ---------- Previous post was at 02:31 AM ----------

whether working on lg g3 d855? I still use Dolby r6.6 and frequent fc
[Android Apps and Games] ahrion:
6.5/6 is a completely different version. It came from Lenovo K3 Note on a lollipop ROM. I ported this straight from the K4 Note on MM. How am I supposed to know if it works for your device? Create a backup and flash.
[Android Apps and Games] digitalpig82:
Is there any possibility to prevent the eq from adjusting itself when touching the frequency sliders again? I love the sound of this mod, but this makes finetuning extremely difficult (if not impossible)... :(
[Android Apps and Games] ahrion:
Not as far as I know. /=
[Android Apps and Games] Black_Eyes:
Dolby Atmos force closed, HTC 10, Stock Kernel.
[Android Apps and Games] DeeZZ_NuuZZ:
selinux needs to be permissive for that
[Android Apps and Games] vhsantos1:
It cant be that reason :(

java.lang.RuntimeException: Exception: can not load settings.

*** at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

*** at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

*** at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

*** at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

*** at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java)

*** at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java)

*** at android.os.Handler.handleCallback(Handler.java)

*** at android.os.Handler.dispatchMessage(Handler.java)

*** at android.os.Looper.loop(Looper.java)

*** at android.app.ActivityThread.main(ActivityThread.java)

*** at java.lang.reflect.Method.invoke(Native Method)

*** at java.lang.reflect.Method.invoke(Method.java:372)

*** at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

*** at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

*** at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:119)
[Android Apps and Games] juviko:
why after I install 'dax_lenovo_r1.2' application dolby me disappear? thankss

---------- Post added at 11:32 AM ---------- Previous post was at 11:31 AM ----------

why after I install 'dax_lenovo_r1.2' application dolby me disappear? thankss
[Android Apps and Games] ahrion:
Thank you

That is the reason. That error is directly linked to selinux. Try dirty flashing your rom and then reflash 1.2

I'm no longer going to reply to people without logs or information necessary for me. Telling me "it doesn't work" or "force closes, help" doesn't help me. Not telling me your device and android version should be a crime as well.
[Android Apps and Games] DeeZZ_NuuZZ:
Exactly my thinking. Especially when it's said about thousands of times that kernel/selinux needs to be permissive, ppl don't get it and don't even check it. Even when the custom rom states it is permissive it doesn't mean that it really works. Often it's just a cosmetic change.

Especially the part with the logs or Android version and device. The most important things for trying to fix the issue. Often the rom or device is the issue.
[Android Apps and Games] vasilis_:
I dont what an FC ,all I know when I installed app on 5.1 android root J5 I got this screen
[Android Apps and Games] DeeZZ_NuuZZ:
[/COLOR]

Which zip did you install? Either move ax and axui folder from system/app to priv-app and set the right permission for the apk inside. Or flash latest zip given by [MENTION=5357345]ahrion[/MENTION] a few posts ago
[Android Apps and Games] vasilis_:
So making an app more clear for average users is not the solution but to sent logs and specify the promblems that people occure is prefered?
[Android Apps and Games] ahrion:
Did you flash the 1.2 version? Moving app to priv-app should fix any problems you may have.
[Android Apps and Games] b.eslabon:
guys which version will fully work on touchwiz MM?

im using v6.5 but got same problem like others in MM. you need to open dolby app so the settings will stick.
[Android Apps and Games] vasilis_:
Hello again thanx for the fast replys...

Flash the zip file with TWRP on the way but what do you mean with moving app to priv app?
[Android Apps and Games] defvayne:
For those having issues flashing the Atmos mod from a fresh ROM install. This is what I did. I installed the file I attached. Then reinstall Atmos 1.2. and you can freezes Viper mod after.
[Android Apps and Games] HatRiGt:
when i flashed in oneplus 3 runninng 6.0.1 , my device got soft bricked :(
[Android Apps and Games] ahrion:
Try 1.2 a few pages back

---------- Post added at 07:02 AM ---------- Previous post was at 07:01 AM ----------

That seems highly implausible that it was this. It doesn't replace any files that touches OP3 or any other phone.
[Android Apps and Games] b.eslabon:
tnx. ill try and report back.
[Android Apps and Games] Phrodini:
On root/system you have an app and priv-app folder. Think he means to move it from app to priv-app and possibly set the proper permissions
[Android Apps and Games] ahrion:
It's already moved in 1.2.
[Android Apps and Games] vhsantos1:
Dirty flash room. Change kernel. Same FC

:(

java.lang.RuntimeException: Exception: can not load settings.

*** at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

*** at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

*** at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

*** at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

*** at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java)

*** at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java)

*** at android.os.Handler.handleCallback(Handler.java)

*** at android.os.Handler.dispatchMessage(Handler.java)

*** at android.os.Looper.loop(Looper.java)

*** at android.app.ActivityThread.main(ActivityThread.java)

*** at java.lang.reflect.Method.invoke(Native Method)

*** at java.lang.reflect.Method.invoke(Method.java:372)

*** at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)

*** at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)

*** at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:119)
[Android Apps and Games] q1pa:
Here's mine. Running unofficial pac rom, GT-I9082, android marshmallow and selinux changed to permissive via selinuxmodechanger app and flashed the 1.2 zip.

java.lang.RuntimeException: Exception: can not load settings.

at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)

at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5461)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
[Android Apps and Games] ahrion:
I'm attempting to figure out what is causing these errors.
[Android Apps and Games] defvayne:
Try the method I posted.
[Android Apps and Games] q1pa:
The viper works fine but the dolby still eror. Idk if its still the same log but i'll just paste it down just in case you found something different from the earlier log.

java.lang.RuntimeException: Exception: can not load settings.

at com.atmos.api.DsBase.convertErrorCodeToException(DsBase.java:114)

at com.atmos.api.DsFocus.getProfile(DsFocus.java:497)

at com.atmos.daxappUI.MainActivity.onClientConnected(MainActivity.java:1291)

at com.atmos.api.DsBase$1.onServiceConnected(DsBase.java:375)

at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)

at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5461)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
[Android Apps and Games] defvayne:
Seems that selinux is not sticking on permissive.
[Android Apps and Games] q1pa:
I double checked the selinux via terminal emulator and it still says permissive.
[Android Apps and Games] b.eslabon:
after a few days of use, still having issues with touchwiz MM (background process). You need to open dolby app to apply the settings again.

[MENTION=5357345]ahrion[/MENTION]
[Android Apps and Games] ahrion:
I have two more Dolby's that I'm porting, they're both atmos. Even with selinux permissive I'm getting this error. Theyre all different,but similar. I'm wondering what's causing this. If I fix it for one I can fix it for all.
[Android Apps and Games] DeeZZ_NuuZZ:
But it is not rom related right? Because I wanted to suggest the ppl to try another rom. But if it's independent of the rom it won't make a difference
[Android Apps and Games] meduza:
That's a good question though...

On my Tab with SLIM6 I don't have any problems and never had but on the S6 with official MM the atmos 6.5 & 6.6 don't work with radio apps. I haven't tested 1.1 and 1.2 (yet...).

m.
[Android Apps and Games] ahrion:
It's not quite clear yet what's causing the issues. Smali is really difficult to debug compared to Java.

The radio issue is because of the deep buffer. There flashable zip is in the OP
[Android Apps and Games] meduza:
...If you mean that one, which was always there, it didn't solve the issue...

Btw. is there a new uninstaller for the 1.2 version. The one in OP is for 6.5.

m.
[Android Apps and Games] Tanmoy Mitra:
Hey check your PM I've mailed. The drive link. Ofcourse it is a little big 68 and 177mb respectively..... but ps read the readme inside zips and that are of course NOT FLASHABLE

---------- Post added at 10:54 AM ---------- Previous post was at 10:52 AM ----------

All framework, permissions ,bin(it has something i found while crude search). , Whole etc folder, new libs and some other files i guess that should do......
[Android Apps and Games] Abnova:
Is there a way to make a notification that keeps this app/service running in the background? Like utorrent and other apps do
[Android Apps and Games] Logan:
6-27 15:27:35.692 3314 3478 W InputDispatcher: channel 'a14b439 com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-27 15:27:35.692 3314 3478 E InputDispatcher: channel 'a14b439 com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-27 15:27:35.692 3314 3478 W InputDispatcher: channel '222908a com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-27 15:27:35.692 3314 3478 E InputDispatcher: channel '222908a com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-27 15:27:35.702 3314 3666 D GraphicsStats: Buffer count: 8
06-27 15:27:35.702 4250 6886 I DsVisualizerManager: No client registering, do nothing.
06-27 15:27:35.702 4250 6886 I DsAccessRightManager: DsAccessRightManager.removeDsConnectedApp
06-27 15:27:35.707 3314 3666 W InputDispatcher: Attempted to unregister already unregistered input channel '222908a com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)'
06-27 15:27:35.707 3314 3666 I WindowState: WIN DEATH: Window{222908a u0 com.atmos.daxappUI/com.atmos.daxappUI.MainActivity}
06-27 15:27:35.712 3314 4366 W InputDispatcher: Attempted to unregister already unregistered input channel 'a14b439 com.atmos.daxappUI/com.atmos.daxappUI.MainActivity (server)'
06-27 15:27:35.712 3314 4366 I WindowState: WIN DEATH: Window{a14b439 u0 com.atmos.daxappUI/com.atmos.daxappUI.MainActivity}
06-27 15:27:35.737 3314 4183 I ActivityManager: Process com.atmos.daxappUI (pid 9845) has died

Heres my log i get force closes moved apps to priv didn't work with correct permission and flashed the zip a few pages ago same thing do i need to wipe cache dalvik after flashing dolby?
[Android Apps and Games] ahrion:
It's a known problem strictly with HTC devices that are running Sense. There is no fix. It's a custom permissions issue.

---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------

You could try wiping caches. You should also wipe both apps data.

What device are you running?
[Android Apps and Games] Brock Guffman:
Getting FC on new Atmos...older version working fine...running LG V10
[Android Apps and Games] Logan:
I9300 cm13 unofficial temasek boeffla kernel
[Android Apps and Games] ahrion:
You have a really peculiar log. Sid you wipe data on both Ax/AxuI and reboot?
[Android Apps and Games] Logan:
I wiped data in both but didnt reboot and later i wiped data in both went to recovery wiped cache dalvik and same fc
[Android Apps and Games] ahrion:
Well, I just bought a one plus 3 and I keep getting the same FC as everyone else in the thread "cannot open settings". Tried it on stock and AICP. You have a OP3 right? What rom are you using?
[Android Apps and Games] DeeZZ_NuuZZ:
sorry i don't own the op3 for now, maybe in a couple months if the htc 10 won't be cheaper, especially used ones...but if you know someone who sells it cheap, please contact me :D

but man that's so strange...so it's more of a marshmallow issue... permissions? don't know...the only problem on m9 i have now, is that it doesn't persists in memory...yea for a few hours, but after a while ram gets cleaned and so dolby effect is disabled..

can it be somehow rewritten as service, which runs at boot and is kept in memory? i was told by a dev that it may work.. the problem is he doesn't has time (holiday, vacation etc) and i'm not that good into such things like smali etc...need to read more about smali editing etc