yashsingh1/xdaforums huggingface dataset:
[Magisk] manpildo:
I updated V4A to 1.6 new material - and AML to 1.5.4 right after, but AML didn't detect the new V4A. Then decided to revert back to the old material version (because the new one is horrible) - reinstalled V4A, also AML and now it got detected properly. Dunno if it's a problem with the new material app or what.. just throwing this out there.
[Magisk] whitewallman:
Sorry to bother. Pixel 2 XL (stock/rooted with magisk) April security update. Installed v4a 1.6 via magisk. Install appeared to go smoothly. Rebooted launched v4a, and after the access request, I got a message in v4a saying no driver installed and prompted to install automatically. Rebooted again just in case. Now, in driver status, I get:

Driver version: 0.0.0.0

Neon enabled: no

Enabled: no

Status: abnormal

Audio format: unsupported

Processing: no

Sampling rate: 0
[Magisk] Zackptg5:
Can you post your magisk log and your v4a folder?
[Magisk] Kusoo:
When using material + newest driver on my P9 Lite the driver is installed correctly but, as far as V4A is activated, I can't listen to Whatsapp recordings, dolby atmos won't process.

Now, while using 2.5.0.5 interface and the newest driver, it warns me that the driver needs to be installed, no matter if I pick yes, the driver won't install.
[Magisk] whitewallman:
Noob question: Where are the logs located? Didn't see any in viper4android folder in internal memory.
[Magisk] matt1313:
Same problems same phone

https://drive.google.com/file/d/1y9D7mfsYkdl8-sxwaxlijsVrOHbl0mAD/view?usp=drivesdk
[Magisk] whitewallman:
Thank you!
[Magisk] peterlee928:
also same problem. possibly same phone - pixel 2 xl google variant (unclear which variant the other folks have). attached is my magisk log. dont know how to post v4a folder, but happy to do so if yall provide instructions (or guide me to where the instructions are) :)

much thanks :)
[Magisk] VK'ed:
V1.6 works great.

Any changes to the sound? Sound seems different compared to previous builds
[Magisk] Zackptg5:
Can you post your magisk log and v4a folder?

---------- Post added at 09:31 PM ---------- Previous post was at 09:30 PM ----------

You can get the magisk log from magisk manager. The v4a folder is located at /sbin/.core/img

---------- Post added at 09:32 PM ---------- Previous post was at 09:31 PM ----------

Try removing greenify
[Magisk] Zgadnijcie:
Only 2.3.0.4 driver works with YouTube for me. Today i updated to 2.5.0.5 and new interface and it didn't work. Old driver with new interface works good.

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka
[Magisk] peterlee928:
hmmm so i have to choose between greenify and v4a?

found the v4a folder... noob question - how do i post it?
[Magisk] Zackptg5:
Not necessarily. Some users report that removing greenify, then rebooting and let v4a work, then reinstalling greenify works sometimes. I don't use it myself but I'm sure there are some other settings in it too to ignore v4a or something.

Just zip it and upload it
[Magisk] joedajoester:
Just like others are experiencing, the new update doesn't work at all on my pixel 2 XL April update. It says to install the driver and it doesn't ever install the driver. Also, compatibility mode is gone and I need it to make viper work in Android auto otherwise it won't process no matter what.
[Magisk] peterlee928:
ive always had greenify installed. v4a driver installation was not an issue until recent updates. also i dont greenfiy v4a...
[Magisk] Zackptg5:
So for pixel 2's and essential phones, the system/lib/libstdc++.so needs to be copied to vendor/lib for v4a to work. No idea why as no other device cares but for some reason, that lib isn't be copied over (even though I didn't change the code from v1.5.5) so that's why your all having the issue. I'll post a new build when I get it figured out.
[Magisk] peterlee928:
dunno if its just me (suspect not), but "libstdc++.so" is in my vendor/lib folder. but it is not in my system/lib folder.

so in the meantime, do i need to copy "libstdc++.so" from vendor/lib and paste it into system/lib?
[Magisk] joedajoester:
Thanks for the super quick reply but unfortunately this did not work. I copied it from system/lib to vendor/lib and rebooted and made sure the file is still there and viper is still not working.
[Magisk] Zackptg5:
What device do you have? If it's a pixel 2/2xl or essential phone, you can try it and see what happens after a reboot. That could explain what's going on if it got changed like that
[Magisk] peterlee928:
2xl google variant

stock rom april update

rooted via magisk

systemless xposed

installed/updated v4a via magisk
[Magisk] Zackptg5:
This may be a new thing then. Try copying it to system/lib and reboot and see if it works
[Magisk] peterlee928:
just tried. still the same problem as originally noted.
[Magisk] joedajoester:
My lib was in system/lib so I copied it to vendor/lib so it's in both and still nothing. This is weird, not sure what's going on but I think it's something else besides that specific lib that was mentioned

Edit: if it helps I'm not and I never have used greenify
[Magisk] Zackptg5:
Have you tried removing greenify yet? Since the apk changed locations, it's possible that greenify is messing with it
[Magisk] NE0HP:
Just sharing my experience here how it works for me and it might help others who're facing similar issues after installing latest v4A.

After facing initial hiccups while updating from v1.7.2 I installed v1.6 successfully and it works perfectly fine now on Mido running PixelExperience (8.1).

I initially tried and removed v1.7.2 completely and then flash latest v1.6 but was facing I/O driver error repeatedly even after rebooting the device several time. I then relaiized I've Dolby Atmos already installed earlier alongwith v4A so I uninstalled both V4A and Dolby Atmos from Magisk. Flashed latest v4A V1.6 first and rebooted the device and found all well, no more I/O driver error. Secondly Flashed latest Dolby Atmos(Axon) but after rebooting the device somehow it gave me FC repeatedly. Finally I flashed AML from Magisk, rebooted the device and BOOM....All works fine now. Thank you again [MENTION=6037748]Zackptg5[/MENTION] for all your hard work... :highfive:
[Magisk] Zackptg5:
Thanks for the report. If you have multiple audio mods installed to magisk, you need aml or you'll get those FC's :)
[Magisk] joedajoester:
I'm not the guy you replied to but I'm not using greenify on my 2 XL and it didn't work after copying.

EDIT: i meant greenify not magisk
[Magisk] Zackptg5:
My bad :)

Can you post your magisk v4a folder (/sbin/.core/img/ViPER4AndroidFX) as a zip, your magisk log, and a full logcat?
[Magisk] joedajoester:
Here's everything. I was playing music and launched viper tried to install the driver and then copied the logcat and magisk log. Hope this is enough info, if it isn't I'm happy to give more
[Magisk] Zackptg5:
Well that shows what the problem is. Move the lib folder from system to vendor in the v4a folder and it'll probably work. I'll need to see where the problem lies in the installer, thanks!
[Magisk] peterlee928:
i havent. will try now.
[Magisk] joedajoester:
Awesome, I'm glad it helped. Just to clarify before I move around system files, inside /system move the lib folder to sbin/.core/img/viper4androidfx/system/vendor ?
[Magisk] peterlee928:
just tried... no dice...
[Magisk] Zackptg5:
Nope. Move the sbin/.core/img/viper4androidfx/system/lib folder to sbin/.core/img/viper4androidfx/system/vendor/lib
[Magisk] whitewallman:
https://drive.google.com/folderview?id=1-Zcr45B59n3QzESHbCqLNo9r_tbFqdmt
[Magisk] Zackptg5:
Found the problem (see my above posts). I'll have a new build with the fix out in a bit (also found an xml patching error - works fine in bash but not in android's garbage shell...)
[Magisk] peterlee928:
gotcha, i missed that. my fault. you are the man, thanks for all your help and great work :)
[Magisk] joedajoester:
I had some trouble moving it but eventually got it to all copy, i think. Now my phones bootlooping lol. Should i flash a magisk disabler zip?

edit: had to boot twrp, plug in a flash drive with the adapter my phone came with and copy off of it the magisk uninstaller zip and flashed it and my phone booted

edit again: copied it rebooted and viper works now, awesome. Thanks for all the help :good:
[Magisk] Zackptg5:
V4A has been updated to v1.6.1! Hopefully this is the last of the updates for a while. Should fix the issues pixel 2 users were having
[Magisk] peterlee928:
one thing i forgot to mention - see below for my magisk install steps. would this cause the issue?

1) flash april update w/ "-w" removed

2) flash magisk in twrp (used img file... did not install twrp)

3) unclick "preserve avb 2.0/dm-verify" in magisk manager

4) reinstall magisk in magisk manager

5) reboot

6) magisk successfully installed
[Magisk] jcmm11:
It's not really a garbage shell. Just different. Android uses a Korn shell. MirBSD Korn Shell (mksh) to be exact. Home page https://www.mirbsd.org/mksh.htm Version check "echo $KSH_VERSION". Yes there are differences with bash. There's a reason bashisms are called what they are ?
[Magisk] Zackptg5:
So it's korn? I was never sure exactly what shell it was, always thought it was a modified bourne or something (which I guess korn is). Thanks!

---------- Post added at 19:39 ---------- Previous post was at 19:38 ----------

PSA: if you flash the latest v4a and still get a driver error, it's an aml issue. Not sure what's going on with it but it's putting the wrong lib path in during that initial upgrade
[Magisk] whitewallman:
Installed 1.6.1

Got the same driver not installed prompt in v4a app, and driver status is the same. I see no difference between 1.6 and this.
[Magisk] Zackptg5:
Are you using aml. I just identified an issue with aml that's putting the wrong driver path in the effects cfg and is causing this problem
[Magisk] MrBrady:
Pixel 2 XL here. Just did a clean install of 1.6.1 with the new Viper app. It's showing status of Abnormal. Typically that happens of Selinux is not permissive. Is permissive required?

Let me know what logs you'd like to see.
[Magisk] peterlee928:
deleted old v4a mod. rebooted and reinstalled 1.6.1. still having the same issues. see attached screenshot and magisk log. happy to provide additional detail if necessary.
[Magisk] jcmm11:
Yes it's Korn. Run the echo command for the version and you'll see. Just note that TWRP (and therefore install scripts) are using the shell from busybox. This is not Korn (and this has tripped me up before). TWRP ends up using Ash (almquist shell), which basically is a Bourne shell.

Edit: when you really get down to it they're almost all modified Bourne shells. Bash = Bourne Again Shell. Bourne wasn't the first shell, but it did spawn most of the ones that followed it.
[Magisk] sjamie:
Did you figure out a way to get profiles to load? For me, some will load but others won't. I have not been able to find a pattern with the ones that load properly. I'm using v1.6.
[Magisk] peterlee928:
aml = audio modification library... its another mod in magisk
[Magisk] cmo220:
Using Pixel 2 XL.

I had uninstalled all sound mods including aml and rebooted earlier. I installed only 1.6.1, no aml or anything else. It still gives driver error.

New Material

Old Driver

No logs, sorry.
[Magisk] whitewallman:
Then no. V4a is the only module installed.
[Magisk] joedajoester:
Got it working manually copying the files. Decided to update to the latest and it still doesn't work on the pixel 2. Inside sbin all the way to the viper folder, there is no lib folder inside of system, only vendor has a lib folder. Not sure if this has anything to do with it but that's a difference that I am seeing compared to when it did work for me
[Magisk] DaveedDB:
Load profiles twice it's been a known issue for ages if that's what you mean ,seems to be fixed in new 2.6.0.3 version
[Magisk] cichy.:
A bit too much of these updates, I need to reset the phone 10x per day :D
[Magisk] sjamie:
I can load some profiles 10x and they still won't load. I don't believe I had this problem with v1.5.3. I'll try the new version again.
[Magisk] MrBrady:
Please give more details of file names and paths.
[Magisk] joedajoester:
A couple pages back, Zackptg5 helped me get it working. Basically i installed 1.6 then i moved the lib folder in sbin/.core/img/viper4androidfx/system/lib to sbin/.core/img/viper4androidfx/system/vendor/lib and rebooted. To get to sbin i had to search for it in the root of my phone in solid explorer. Tbh though, just go to the downloads section of the OP and use version 1.55, it works out of the box. I personally am going to stick to it since 1.6.1 still doesn't work on my pixel 2 xl
[Magisk] Zackptg5:
Just dropped v1.6.2. I found a really old bug with the audio file patching so I'm hoping that'll fix the issues you're having
[Magisk] sjamie:
Man, thank you for your tireless effort support! :highfive:
[Magisk] MrBrady:
1.6.2 still not working on my Pixel 2 XL
[Magisk] Zackptg5:
Can you post your magisk log and magisk v4a folder?
[Magisk] chikimonke:
I can't for the life of me find the Magisk folder, what is the full path?
[Magisk] MrBrady:
Here you go:

https://drive.google.com/folderview?id=1kLOTgqTb4rP-PQoQ8IVwLz8zoOJ8XlWG
[Magisk] jcmm11:
/sbin/.core/img/ViPER4AndroidFX
[Magisk] Seanzle:
When I install viper on my pixel 2 xl it completely mutes the earpiece when trying to make a phone call. Can't hear it ringing or anything
[Magisk] sfai05:
Same here. Have to uninstall it
[Magisk] sjamie:
I am happy to report 1.6.2 with the new purple material design and the 2.5.0.4 driver is working well across all of my media players and YouTube. I can also easily restore profiles and profile name sorting has been fixed. Nice work [MENTION=6037748]Zackptg5[/MENTION] and the rest of the Dev Team! :victory:
[Magisk] Zafrkant:
V4A v1.6.2 Materialized, everything works great :)
[Magisk] peterlee928:
[MENTION=6037748]Zackptg5[/MENTION]

really appreciate all the work!

unfortunately... still having the same problem...

EDIT

uninstalled, then reinstalled... still same issue. guess i have to give up :(
[Magisk] sjamie:
Have you tried new material with old driver?
[Magisk] peterlee928:
yes... nothing works. all good - maybe im doing something wrong or have something else installed thats screwing it up. not gonna die without v4a, but will certainly miss it. perhaps give it a shot with the may android update.
[Magisk] KPOCAB4EG:
after every update (last 3 days) - app data cleared and i need to configure app now (settings and etc)

please fix it

(i use old 2.3.4.0 w/o material on s8/tw8.0)

thanks!
[Magisk] Hadi99:
Mine works perfectly, except for Bluetooth. It displays not processing. (The same goes for Dolby). How can I log this issue? (LG V20 and G5, Android 7.0)
[Magisk] Cablespider:
On a positive note... 1.6.2 running fine on my Axon 7 with AEX 5.4. Thank you!
[Magisk] TENN3R:
Yup, big thanks for the 1.6.2 update! Works perfectly on Pixel 8.1

Finally able to install in /system like the old material, and profile conversion works! Awesome :good:
[Magisk] Mithias:
Everything running swimmingly here too, was even able to convert my old profiles to new material format with ease!
[Magisk] Taebom:
I'm stuck in the same boat as other Pixel 2 users here :(
[Magisk] AlexxAnders:
[MENTION=253311]Pixel[/MENTION] 2 users

But you're much closer to a solution than I :silly:
[Magisk] Zackptg5:
Pixel 2 users, can you uninstall AML if you have it, then send me your magisk v4a folder and a full logcat?
[Magisk] ANDR01DN00B:
Yeah on my p2xl this mod hasn't worked since OLD 2.8 version, on Oreo and P.
[Magisk] Zackptg5:
That's what I heard from another pixel 2 user. Can you post your magisk v4a folder (after uninstalling AML if you have it) with the working version, then with v1.6.2? I need to see the differences
[Magisk] chikimonke:
Ah, hidden folder, thanks!
[Magisk] Zackptg5:
All pixel 2 users. Since the last reported version was old v2.8 (that's old man), I looked into the differences between it and old v2.9 since that's when things broke and there was an sepolicy removed. So can pixel 2 users install v1.6.2, then replace the conditional with the sepolicies in service.sh with this:

if [ "$SEINJECT" != "/sbin/sepolicy-inject" ]; then
$SEINJECT --live "allow audioserver audioserver_tmpfs file { read write execute }" "allow audioserver system_file file execmod" "allow mediaserver mediaserver_tmpfs file { read write execute }" "allow mediaserver system_file file execmod" "allow audioserver unlabeled file { read write execute open getattr }" "allow hal_audio_default hal_audio_default process execmem" "allow hal_audio_default hal_audio_default_tmpfs file execute" "allow hal_audio_default audio_data_file dir search" "allow system_server audioserver file write"
else
$SEINJECT -s audioserver -t audioserver_tmpfs -c file -p read,write,execute -l
$SEINJECT -s audioserver -t system_file -c file -p execmod -l
$SEINJECT -s mediaserver -t mediaserver_tmpfs -c file -p read,write,execute -l
$SEINJECT -s mediaserver -t system_file -c file -p execmod -l
$SEINJECT -s audioserver -t unlabeled -c file -p read,write,execute,open,getattr -l
$SEINJECT -s hal_audio_default -t hal_audio_default -c process -p execmem -l
$SEINJECT -s hal_audio_default -t hal_audio_default_tmpfs -c file -p execmem -l
$SEINJECT -s hal_audio_default -t audio_data_file -c dir -p search -l
$SEINJECT -s system_server -t audioserver -c file -p write -p
fi

and let me know if that does the trick
[Magisk] Taebom:
I can try it out when I'm off at work. I'm currently using v4afx-v1.5.5 with no issue and running no other magisk mods.
[Magisk] psychoela:
Hy, how to fix this,? v4a not processing with bluetooth speaker. thanks:D
[Magisk] sjamie:
A reboot fixed that for me. My problem is my profiles sound drastically different once converted for the new material version. Bass has been drastically reduced and I'm having a hard time trying to compensate for the loss.
[Magisk] psychoela:
not working with me:(. my scnd device also have same problem, what I can see only different sampling rate v4a become 44100 after connect with bluetooth, is normal?anyone have issue like me?
[Magisk] sjamie:
Yes, the sampling rate is 44100 over Bluetooth and 48000 without Bluetooth.
[Magisk] Not So Pro:
I just swapped out the conditional in services.sh but to no avail. Still have the usual 0.0.0.0 abnomal. That's the new material with the 2.5.0.4 driver. Any other logs you need from a Pixel 2 XL user?
[Magisk] psychoela:
oh thanks:D
[Magisk] VK'ed:
Even i noticed that the bass isnt as good as the earlier version.
[Magisk] Zackptg5:
Can you post a full logcat and your /sbin/.core/img/ViPER4AndroidFX folder?

Also, what was the last version that worked for you?
[Magisk] Not So Pro:
I'm not sure of the version number but it was the first version with the new material apk I believe. I remember the new layout of the app, it working, and then the update after that it not. Let me know if these are the correct files(service.sh is modded with your comment)
[Magisk] sjamie:
This is problematic for a certified basshead like me. I'm going to swap in the old driver and let's see if I can create some magic.
[Magisk] VK'ed:
Let me know what solves it for u
[Magisk] Zackptg5:
Hmm, everything looks fine including the log. Can you take that priv-app folder in your v4a magisk folder, rename it to app, and move it to inside the vendor folder there (so it'd be: /sbin/.core/img/ViPER4AndroidFX/system/vendor/app)

That's the only thing I can think of left
[Magisk] Not So Pro:
Doesn't work doing that either. The usual not processing, abnormal, 0.0.0.0, etc. I'm heading off to class but if you need me to chat/test things let me know! Thanks for all the great support!
[Magisk] DarkSilentSC:
I'm reverting back to 1.7.1 (I got it at Apr 10) and this is working well. The latest one doesn't even install driver as per 'Not So Pro'.
[Magisk] whitewallman:
For what it's worth, v1.5.5 (2505) works fine with my Pixel 2 XL (8.1 April update) and survives reboot as well.. all versions after that do not.
[Magisk] Zackptg5:
Can you post your v4a folder with v1.5.5 installed, and then with v1.6.2 installed so I can see the difference?
[Magisk] mrjuniork:
[MENTION=6037748]Zackptg5[/MENTION]

Processing works for a sound session, but when the phone is not playing music for a while, processing doesn't work anymore. I have the reboot the phone in order to have Viper working again for a certain period.
[Magisk] VK'ed:
Did that work?
[Magisk] whitewallman:
What files do you need? The file manager (solid explorer) is having trouble copying the entire folder to Google Drive.
[Magisk] Zackptg5:
It's easiest to just zip the folder and post the zip. /sbin/.core/img/ViPER4AndroidFX
[Magisk] cmo220:
I doubt this will help any but I've been trying things to get it working on Pixel 2XL. I used a module to make selinux permissive and it still doesn't work. I was just curious if for some reason that part wasn't working.
[Magisk] Zackptg5:
That actually does help. That rules out selinux issues. My guess at this point is that the pixel 2's don't like it being in priv-app since in v1.5.5 it was in vendor/app but without the files from working/non-working and logs, it's all guesswork
[Magisk] cmo220:
I did try what you said to someone else, where you change the folder name to app and move to vendor, then rebooted. It didn't work for me either. Both on enforcing and permissive.

When I select to install driver from within Viper it doesn't ask for root, and doesn't give any message after.
[Magisk] whitewallman:
My file manager fails trying to process the system and vendor folders in the v4a folder
[Magisk] cmo220:
1.5.7 works.

1.6.2 does not.
[Magisk] peterlee928:
for purposes of testing the failed driver issue, attached are the following:

1) screenshot of driver status after i install the latest driver (prompted to when i first open v4a)

2) magisk log

3) v4a zip folder

phone details:

p2xl google variant

stock rom april update

rooted via magisk (note - unchecked "preserve avb", then reinstalled magisk)

systemless xposed

no custom kernels

slight modification to a file in system/vendor folder
[Magisk] lowridincrew,:
Same thing for me. LG V20 Lineage 15.1
[Magisk] Psych0t1c20:
I'm actually having the same issue. It works then after awhile it stops processing. Even a reboot is a temp fix but it occurs shortly after.
[Magisk] Lughnasadh:
I'm having a similar issue but it stops processing when changing tracks or changing artists/albums on 2.6.0.3. Everything is fine with 2.5.0.5.

In my case I don't believe its doze related as I am not running greenify or any similar doze app and it happens even when not going into doze (i.e. changing tracks/artists/albums). I did exempt V4A from battery optimization as well and tried different music players. I also tried with just V4A installed and no other sound mods.

Running Nexus 5X 8.1 with RR rom.

I've gone back to using 2.5.0.5 for now but can test things with 2.6.0.3 if needed.

Note 1: I also tried with Team DeWitt's standalone 2.6.0.3 apk with no other sound mods installed with the same results.

Note 2: It happens on every release version of 2.6.xxx both with the zip provided here and Team DeWitts apk.
[Magisk] mrjuniork:
And I also couldn't restore any sound profile. No matter if xml or txt format... That happened since the latest update