Pixel 2 XL Rooted - Viper4Android v4.1, Magisk 19 - Google Pixel 2 XL Questions & Answers

Sorry for the noob question.
Running a Pixel 2XL - Pie April '19 Security Build, Magisk v19.0. When trying to install Viper4Android FX v4.1, I have tried seemingly every combination of options, but cannot get the 2.5.0.5 driver to install.
Both the material and regular app install and as a system or user app. Just the driver never gets installed?
Please advise if I've missed something obvious - thanks in advance!

Try flashing in TWRP.

miked2332 said:
Try flashing in TWRP.
Click to expand...
Click to collapse
working with magisk v 18.1 without problems

Latest Canary working also.

Google always tries to disable the root

@pepins: It's not that Google always tries to disable root, Play Protect always tries to disable the Material Design version of the V4A app.
@Switch Blade: When you tried updating it hung for a while on the prompt to update, then it threw up a message to reboot? After rebooting, did it prompt to install the driver again? I encountered that and it's probably a bug in the install script for the module. You need to head to the Magisk thread for the module and bring this up. That said, installing through TWRP, as recommended in the first reply to your post, is the way to go here.

Strephon Alkhalikoi said:
@pepins: It's not that Google always tries to disable root, Play Protect always tries to disable the Material Design version of the V4A app.
@Switch Blade: When you tried updating it hung for a while on the prompt to update, then it threw up a message to reboot? After rebooting, did it prompt to install the driver again? I encountered that and it's probably a bug in the install script for the module. You need to head to the Magisk thread for the module and bring this up. That said, installing through TWRP, as recommended in the first reply to your post, is the way to go here.
Click to expand...
Click to collapse
I get the update driver everytime on first install when if I have reset phone or reinstall Magisk and have to use recovery. After that I can update or reinstall in Magisk.
Sent from my Pixel 2 XL using XDA Labs

miked2332 said:
Try flashing in TWRP.
Click to expand...
Click to collapse
Tried flashing from TWRP - same issue, upon openning Viper4android app, tells me the driver isn't installed - then fails on IO.
Weird

Check Magisk see if viper is in SU. If not Go-to viper app info clear data and turn storage off. Sometimes this make Magisk ask for SU for viper. Makes it work sometimes.
I had to use this method for a while to get it to work. Also I have musicfx disabled in apps. Had to do that on my Nexus 6 and just kept on doing it. Uninstall Viper reboot.
Install Viperfx don't reboot
Install audio modification reboot.
It can be done in TWRP also. If you reflash either of those a second time it uninstalls them if you didn't know.
I'm not a developer I pretty much just mess with these things until they work for me.
Sent from my Pixel 2 XL using XDA Labs

miked2332 said:
I get the update driver everytime on first install when if I have reset phone or reinstall Magisk and have to use recovery. After that I can update or reinstall in Magisk.
Click to expand...
Click to collapse
Of the three devices I installed V4A on the P2XL was the only one to have an issue. Normally it's not an issue, so what changed this time I don't know. Anyway, the other two devices, a Moto X Pure and a Galaxy S4, installed the driver through Magisk without difficulty. As mentioned, flashing V4A in TWRP on the P2XL resolved things.

Strephon Alkhalikoi said:
Of the three devices I installed V4A on the P2XL was the only one to have an issue. Normally it's not an issue, so what changed this time I don't know. Anyway, the other two devices, a Moto X Pure and a Galaxy S4, installed the driver through Magisk without difficulty. As mentioned, flashing V4A in TWRP on the P2XL resolved things.
Click to expand...
Click to collapse
I tried just installing opposite features today didn't work. On my phone it goes 2.5.0.5. Old Style, System App, and after the update I have to choose no on the last. It's my 1 reason for using root.
Sent from my Pixel 2 XL using XDA Labs

Try SeLinux Permissive apk

This happens every now and then for me; especially if I'm updating V4A after being on an older version for a long time...
I've forgotten where I've seen/read it, but many times you can't simply update it and/or install the driver from the app. What I end up doing (forced to do) is to uninstall the app (from within Magisk), reboot, and re-download/re-install it (searching for module from within Magisk app) and it should (usually) install the driver again...I usually install it by selecting the 2.5.0.5 and "material" version and as a "system app"...
I dunno why...but this seems to do the trick, but I have to do it frequently now and then...

I use Magisk module that works for speakers, but not with headset.It happens only to me?

miked2332 said:
Check Magisk see if viper is in SU. If not Go-to viper app info clear data and turn storage off. Sometimes this make Magisk ask for SU for viper. Makes it work sometimes.
I had to use this method for a while to get it to work. Also I have musicfx disabled in apps. Had to do that on my Nexus 6 and just kept on doing it. Uninstall Viper reboot.
Install Viperfx don't reboot
Install audio modification reboot.
It can be done in TWRP also. If you reflash either of those a second time it uninstalls them if you didn't know.
I'm not a developer I pretty much just mess with these things until they work for me.
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
These steps allowed me to install the driver!!!! Thank you!

Installed fine for me. Using Magisk 18.1 though.
Here are more instructions (if some continue to have problems) and a Viper profile for XDA members to try out. Works very well to make the phone speakers sound good.
https://forum.xda-developers.com/pixel-2-xl/how-to/viper4android-pixel-2-xl-stereo-speaker-t3919285

Related

(Solved) Viper4Android audio drivers not Installing?

I got the HTC 10 not too long ago and I have been really happy with the phone. My only complaint is there isn't a good equalizer for it to work on Bluetooth audio devices.
I've been using Viper4Android for a few years now and haven't ran into many problems with it. My issue now is when I try to install the audio drivers, it prompts me the drivers installed successfully and reboot, but when I reboot, it prompts me to install the drivers again and the driver status says it isn't installed. My phone's bootloader is unlocked and properly rooted, has busybox installed and has SuperSU granted for Viper so I really don't know what is causing this problem.
Is there any way to get Viper audio drivers installed or is there a decent alternativeto it that works on the 10?
Have not tried yet with the 10 but maybe you need to change to permissive and I think you also need a kernel that allows permissive. Any that's what I'm used to with the Nexus 5.
Sent from my Nexus 5 using XDA-Developers mobile app
ThatGuy94 said:
I got the HTC 10 not too long ago and I have been really happy with the phone. My only complaint is there isn't a good equalizer for it to work on Bluetooth audio devices.
I've been using Viper4Android for a few years now and haven't ran into many problems with it. My issue now is when I try to install the audio drivers, it prompts me the drivers installed successfully and reboot, but when I reboot, it prompts me to install the drivers again and the driver status says it isn't installed. My phone's bootloader is unlocked and properly rooted, has busybox installed and has SuperSU granted for Viper so I really don't know what is causing this problem.
Is there any way to get Viper audio drivers installed or is there a decent alternativeto it that works on the 10?
Click to expand...
Click to collapse
Flash this. Once flashed,you can replace with current version of Viper located in the priv app folder.
jrock79 said:
Flash this. Once flashed,you can replace with current version of Viper located in the priv app folder.
Click to expand...
Click to collapse
Awesome it works like a charm! It even includes the patch where it allows you to use it even if selinux is set to enforcingso you don't have to get a permissive kernel.
I feel what it boils down to is there is probably some sort writing protection to the system that prevents it from being installed by normal means
ThatGuy94 said:
Awesome it works like a charm! It even includes the patch where it allows you to use it even if selinux is set to enforcingso you don't have to get a permissive kernel.
I feel what it boils down to is there is probably some sort writing protection to the system that prevents it from being installed by normal means
Click to expand...
Click to collapse
How did you end up getting it installed? Selinux set to permissive, still couldn't get it to install so I tried this older version but it hangs and won't load, and I can't find the Priv App folder mentioned.
Sorry if it's not quite related, but, what exactly does the application interface install as "drivers?" I need those files to manually install Viper.

Magisk problems in Moto Z2 Play

I can not install magisk modules and my device constantly loses its root without a reason.
I have the same problem. Magisk seems to be still buggy. But at least I haven't seen the "losing root" issue after disabling "Magisk Hide" in the settings.
Thanks
romhippo.com said:
I have the same problem. Magisk seems to be still buggy. But at least I haven't seen the "losing root" issue after disabling "Magisk Hide" in the settings.
Click to expand...
Click to collapse
Thanks Romhippo.com for responding!
If anyone knows more about it, I'd be happy to know.
Had that issue on a One Plus 3T. Finally updated Magisk in the app and it fixed itself. Was really flakey on root.
larsdennert said:
Had that issue on a One Plus 3T. Finally updated Magisk in the app and it fixed itself. Was really flakey on root.
Click to expand...
Click to collapse
Cool! I hope they also correct here.
Loosing root + possible fix
I was getting the same problem, magisk loosing root and phone getting encryptation problems... making me to format my phone twice.
After i noticed the problem was with magisk 13.3, so i tried to install 13.6 beta but no success, it give me error "Unable to detect boot image" during instalation.
Then i decided to mod magisk zip file (updater_script) , installed then and jrummy busybox (I think oldversions are conflicting with magiskSu)... and now i got 2 days without problem.
Magisk 13.6 beta modded
https://drive.google.com/open?id=0B1UKyTc_LCSOc09UMFhHNVFTd1U
raphamfc said:
I was getting the same problem, magisk loosing root and phone getting encryptation problems... making me to format my phone twice.
After i noticed the problem was with magisk 13.3, so i tried to install 13.6 beta but no success, it give me error "Unable to detect boot image" during instalation.
Then i decided to mod magisk zip file (updater_script) , installed then and jrummy busybox (I think oldversions are conflicting with magiskSu)... and now i got 2 days without problem.
Magisk 13.6 beta modded
https://drive.google.com/open?id=0B1UKyTc_LCSOc09UMFhHNVFTd1U
Click to expand...
Click to collapse
LoL Many thanks for your help. It's all normal here.
I'm going to agree on conflict issues being the likely cause. Between custom roms having su built in like Resurrection remix, SuperSU and standalone magisk, there are plenty of possibilities for messed up boot images.
In fact, 2 things bother me the most.
1. I can not install magisk modules
2. The magisk does not pass SafetyNet.
I do not know if that happens to you.
My Z2 is a verizon one so this is where my advice stops on that phone. I've Magisk on the 3T and pixel only
anyone have a guide to install Magisk?
Refer the following threads completely. Junior answered all my querries. His Moto Brazil blog has systematic and structured guides as well. Very well done.
https://forum.xda-developers.com/z2-play/help/indian-stock-firmware-xt1710-10-t3711423
http://motozbrasil.blogspot.in/search/label/TutorialZ2Play

magisk + xposed problem

Hi all,
I have installed Magisk 16.0 based on Maik93's post, and Xposed Framework SDK27 90.2-beta3 (Systemless), through Magisk modules.
When I enable the Xposed module, the phone first shows endless boot animation, and when restarting it again, it boots, but the Xposed app seems not installed (not listed in Settings->Apps and its icon is not present in chooser), although, in Magisk, it is visible in the Modules and it's checkbox is checked.
Did anybody successfully installed Xposed with A2 Lite? What can be the problem?
Thanks a lot,
Circum
Did you install the apk of xposed?
---------- Post added at 11:51 PM ---------- Previous post was at 11:46 PM ----------
https://forum.xda-developers.com/attachment.php?attachmentid=4393082&d=1516301692
Here is the link from xda
No, sorry, I was not aware that it is a separate thing.
Now I have installed, but it says that no Xposed Framework is installed. If I try to install a framework from inside the installer (90-beta3), it -- obviously -- reports an error that /system/framework/XposedBridge.jar already exist...
Because of this, I cannot enable any module from Xposed Installer.
Any tips what do I do wrong?
I want to use Xposed too but we will have to wait for TWRP I guess.
Not sure what happened to you, did you tried ti reboot your phone? Mine is working just fine
mik.y said:
I want to use Xposed too but we will have to wait for TWRP I guess.
Click to expand...
Click to collapse
You can install now through Magisk if you want, if yiu get bootloopbfor any xposed module, just flash thr original boot.img
HoangP05 said:
You can install now through Magisk if you want, if yiu get bootloopbfor any xposed module, just flash thr original boot.img
Click to expand...
Click to collapse
I was able to install it somehow,but stuck after each reboot in process. Now some apps are diying like call enhancement and some test app. So its quite dirty. I have Magist 16.0 installed.
Lol,I cant connect to internet with xposed to download any module. Useless
mik.y said:
I was able to install it somehow,but stuck after each reboot in process. Now some apps are diying like call enhancement and some test app. So its quite dirty. I have Magist 16.0 installed.
Lol,I cant connect to internet with xposed to download any module. Useless
Click to expand...
Click to collapse
Not all are working apparently, but if it is bootloop, you so try to let it boot again, press power and volume down as the same time while it bootloop, the second boot always work for me
There is TWRP for Mi A2 Lite.
Search on google.
NOTICE: For now there isn't official TWRP. There'w unofficiak fork which can you install using fastboot. :good:
Not sure what happened, AFAIK I have rebooted the phone at least once, but after rebooting again, it said that the framework is installed, but has some problem with it and not functioning (yellow background, sorry, I forgot to take a screenshot), and rebooting once again solved the problem, I can confirm that Xposed works.
But as others mentioned, installing Magisk itself makes problems with the boot. Booting always stucks, I always needed (even before installing Xposed) to long-press power after several minutes and the second try usually boots up.
Now having Magisk and Xposed (and GravityBox) installed usally need to restart booting twice (i.e., the 3rd boot works).
Any suggestions how to debug / get logs about this problem?
HoangP05 said:
Not sure what happened to you, did you tried ti reboot your phone? Mine is working just fine
Click to expand...
Click to collapse
Xposed's Gravity box module works on Mi A2 lite?
Yes, GravityBox is working, although as I mentioned, there are issues with boot - I have to reboot several times until it succeeds...
performace drops significantly when i install the xposed module for magisk. i hope they fix it.
So far everything works fine on my end, I'm not noticing any performance drops in my day to day use. Then again I haven't used it much without Magisk + exposed but from what i'm seeing it's working well, no noticeable lag or stuttering.
I have gravity box, Amplify and Greenify modules running.
circum said:
Not sure what happened, AFAIK I have rebooted the phone at least once, but after rebooting again, it said that the framework is installed, but has some problem with it and not functioning (yellow background, sorry, I forgot to take a screenshot), and rebooting once again solved the problem, I can confirm that Xposed works.
But as others mentioned, installing Magisk itself makes problems with the boot. Booting always stucks, I always needed (even before installing Xposed) to long-press power after several minutes and the second try usually boots up.
Now having Magisk and Xposed (and GravityBox) installed usally need to restart booting twice (i.e., the 3rd boot works).
Any suggestions how to debug / get logs about this problem?
Click to expand...
Click to collapse
Magisk alone didnt give me boot problems. What rooting guide did you follow?
fake__knv said:
Magisk alone didnt give me boot problems. What rooting guide did you follow?
Click to expand...
Click to collapse
I used this one: https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-device-t3825626
But before the update. Since that I have removed Magisk to enable the OTA update, and did not put it back yet -- although, there are many small areas I feel the lack of root...
circum said:
I used this one: https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-device-t3825626
But before the update. Since that I have removed Magisk to enable the OTA update, and did not put it back yet -- although, there are many small areas I feel the lack of root...
Click to expand...
Click to collapse
I can assure you @BubuXP's guide is good. Used his rooting guide, followed the steps for updates and its good to go. I rooted my phone when Im on August update. Now Im in September update

Viper4Android not processing

Anyone able to get Viper4Android to process? I have it installed through Magisk and it works when first installed but eventually stops. Only way to get it working again is to reboot.
I think it stops when changing output forms. Instead of rebooting fully, try hitting the 3 dots on the top right of the app and hitting exit and then relaunching the app.
I tried that and force closing it. Didn't work but what seems to have fixed it was uninstalling the driver...it then asked for root permission to do that. After a restart everything is working even when changing apps. We'll see if it's permanent or not. Thanks for the reply though.
Try this: uninstall your current module, reboot, and install this apk. It's an unofficial material design 2 viper that auto generates a magisk module when you install it for your device. I got mine working properly.
Thanks, I'll try that. Been having to reboot again.
Well along with the acp and aml modules that method worked. Hopefully this sticks. Thank you for your help!
TENN3R said:
Try this: uninstall your current module, reboot, and install this apk.
Click to expand...
Click to collapse
That's what I have, and it worked at first but not any longer on Pixel 3a.
Are there other modules that should be installed, or can't be, as well?
-G
ggibby said:
That's what I have, and it worked at first but not any longer on Pixel 3a.
Are there other modules that should be installed, or can't be, as well?
Click to expand...
Click to collapse
I only know about that module, and the one from ahrion and Zackptg5 (here).
Have you tried in this module enabling the compatibility mode and reboot?
TENN3R said:
Have you tried in this module enabling the compatibility mode and reboot?
Click to expand...
Click to collapse
Compatibility mode was enabled, so I disabled it and now it seems to be working.
Thanks for the hint!

Android Q: Viper4android compatible?

I've been trying to get viper4android working on Android q for quite some time but the module and the app itself does not want work at all. Plus when viper asks you to install the driver from the app it will end up in a bootloop. Has anybody found a temp workround for it?
Device: Pixel 2 XL Android version: Q Beta 3
I'm having a similar issue, only the driver install is asked again upon reboot ;_;
Thats only why i rollback from Q.
Total**** sound without
Ok, got it working on beta 3, using the apk 2.7.1.0 from XDA. It appears to install as a magisk module, along with AML. It didn't work on my first try, then all was good. I need to run it in compatibility mode from the menu. https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
In android P what version did you use?
Always used the magisk repo version before- I tried this many times on Q, with and without AML, but always got the dreaded install driver dialogue. Also tried SE Linux permissive, but no luck. I've never used the apk before, but am sat here now listening to music quite happily. It's survived a couple of reboots (just checking).
1959best said:
Ok, got it working on beta 3, using the apk 2.7.1.0 from XDA. It appears to install as a magisk module, along with AML. It didn't work on my first try, then all was good. I need to run it in compatibility mode from the menu. https://labs.xda-developers.com/store/app/com.pittvandewitt.viperfx
Click to expand...
Click to collapse
Hm, I just tried that. I downloaded the one off XDA LABS and checked compatibility mode on the app. Still showing up as driver not installed. Viper4Android is literally the key element for my phones such a good module.
Try another reboot?
Knxed_ said:
Hm, I just tried that. I downloaded the one off XDA LABS and checked compatibility mode on the app. Still showing up as driver not installed. Viper4Android is literally the key element for my phones such a good module.
Click to expand...
Click to collapse
I just upgraded to Android 10 on my Pixel 2XL and have Viper running now. Download stable 2.7.1.0 from XDA Labs, grant root with Magisk. Check compatibility mode THEN install the driver. Restart, make changes, and then be sure to check "Attach audio effects" in settings once you make your changes.
ifellouttabed said:
I just upgraded to Android 10 on my Pixel 2XL and have Viper running now. Download stable 2.7.1.0 from XDA Labs, grant root with Magisk. Check compatibility mode THEN install the driver. Restart, make changes, and then be sure to check "Attach audio effects" in settings once you make your changes.
Click to expand...
Click to collapse
Mhh doesn't work for me this way.still asking for driver after reboot lol
Thanks. Worked for me on second try. Followed the instructions rebooted didn't work, installed drivers again rebooted and then it worked.
pa.pn2 said:
Mhh doesn't work for me this way.still asking for driver after reboot lol
Click to expand...
Click to collapse
Same here sadly...
sidhaarthm said:
Same here sadly...
Click to expand...
Click to collapse
Ok, here's what you gotta do to get it to work, this is the ONLY method I've had consistently work for me from beta 3-public release(did it an hour ago and worked perfectly)
First, uninstall any viper you have also make sure you completely uninstall audio modification library if you have it installed, not disable, uninstall it and reboot after uninstalling what I've listed.
After you're all booted back up, install viper from labs (link in this thread)(Also, forget about compatibility mode, don't use it) now open viper but do NOT install the driver yet, just open the application then go to magisk and install audio modification library but dont let magisk reboot the phone after it installs. Once installation completed, go back to viper and install the driver and let it reboot. Once booted, go straight to magisk and DISABLE audio modification library (uncheck the box next to it if you dont get what I mean) don't uninstall it. After disabling AML head back to viper and install the driver again. Now once rebooted is the moment of truth, if you open viper and its installed you're obviously done but if it's not installed you have to take this next step: don't install the driver just yet, go to magisk and re-enable AML then back to viper and install the driver. I don't see why this would not work for you guys, I know this isn't the easiest tutorial to follow but make sure you follow it to a T, if you mess any step up you need to start from scratch and uninstall both AML and viper and start again.
Good luck guys and may the audiophile Gods be on your side through this process!
1dopewrx05 said:
Ok, here's what you gotta do to get it to work, this is the ONLY method I've had consistently work for me from beta 3-public release(did it an hour ago and worked perfectly)
First, uninstall any viper you have also make sure you completely uninstall audio modification library if you have it installed, not disable, uninstall it and reboot after uninstalling what I've listed.
After you're all booted back up, install viper from labs (link in this thread)(Also, forget about compatibility mode, don't use it) now open viper but do NOT install the driver yet, just open the application then go to magisk and install audio modification library but dont let magisk reboot the phone after it installs. Once installation completed, go back to viper and install the driver and let it reboot. Once booted, go straight to magisk and DISABLE audio modification library (uncheck the box next to it if you dont get what I mean) don't uninstall it. After disabling AML head back to viper and install the driver again. Now once rebooted is the moment of truth, if you open viper and its installed you're obviously done but if it's not installed you have to take this next step: don't install the driver just yet, go to magisk and re-enable AML then back to viper and install the driver. I don't see why this would not work for you guys, I know this isn't the easiest tutorial to follow but make sure you follow it to a T, if you mess any step up you need to start from scratch and uninstall both AML and viper and start again.
Good luck guys and may the audiophile Gods be on your side through this process!
Click to expand...
Click to collapse
Take a bow good sir, it worked! Had to follow the steps to the end as first time around it didn't work. Now seems to be alright (see attached)
For anyone else wondering, I upgraded from Aug 9.0 build to Q (020) last night by flashing the factory ROM without wipe. Rooted, ads disabled and now ViperFX working. Life is goooood :angel:
sidhaarthm said:
Take a bow good sir, it worked! Had to follow the steps to the end as first time around it didn't work. Now seems to be alright (see attached)
For anyone else wondering, I upgraded from Aug 9.0 build to Q (020) last night by flashing the factory ROM without wipe. Rooted, ads disabled and now ViperFX working. Life is goooood :angel:
Click to expand...
Click to collapse
I think it also worked for me now but in your screeny it says not enabled.same with me.
But i have all the options for speaker headphones usb etc.think it worked
pa.pn2 said:
I think it also worked for me now but in your screeny it says not enabled.same with me.
But i have all the options for speaker headphones usb etc.think it worked
Click to expand...
Click to collapse
Ah yeah, it's probably because I hadn't enabled it until that time. Here's a fresh screenie
sidhaarthm said:
Ah yeah, it's probably because I hadn't enabled it until that time. Here's a fresh screenie
Click to expand...
Click to collapse
what do you mean with didnt enable it?
i did all the steps, i can adjust all settings but if i play something in g music it still says not enabled....what did i miss?
pa.pn2 said:
what do you mean with didnt enable it?
i did all the steps, i can adjust all settings but if i play something in g music it still says not enabled....what did i miss?
Click to expand...
Click to collapse
By enabling, I meant turning on the master limiter and other settings. I adjusted mine with a nice YouTube track playing in the background and it all worked a treat. Yet to do my Bluetooth earphones though
sidhaarthm said:
By enabling, I meant turning on the master limiter and other settings. I adjusted mine with a nice YouTube track playing in the background and it all worked a treat. Yet to do my Bluetooth earphones though
Click to expand...
Click to collapse
I switched on the master and now its working.awesome find
@1dopewrx05 I followed your mini tutorial to a T and it worked perfectly. Thank you for taking the time to do this, I really appreciate it. Just updated my old faithful to 10 earlier and gonna mess around with some of the neat features. I can't live without Viper, it's essential to me.

Categories

Resources