[GUIDE] [ANDROID 10] [SAR A-ONLY] Enable Viper4android without stuck bootlogo - Xiaomi Mi 8 Guides, News, & Discussion

Hi everyone, i'll share a little trick to enable viper on android 10 especially SAR device with A only partition without getting stuck bootlogo or stuck FASTBOOT. Btw I will not share any trick before tested by my self. Viper work for me doesn't mean it will work for you all, that's why I made many guides so you can choose the method that suits you.
DOWNLOAD LINK
1. SELinux Mode Changer
2. Viper Rootless Installer
3. Viper4Android v2.7.1.0
1st METHOD via ROOTLESS INSTALLER (NON ROOT)
How to:
1. install viper rootless installer via recovery then reboot
2. install viper 2.7.1.0.apk then open it,
>>>see driver status if NEON enabled YES and status NORMAL you're ready to go
if not, check your SELinux, viper mostly work in permissive mode
If already permissive but still have some problem, so this method not for you
2nd METHOD via MAGISK MODULE (ROOT)
How to:
1. install latest viper 2.7.1.0, open it and grant ROOT access
2. it will reboot automatically but DON'T FORGET TO PRESS VOLUME UP UNTIL DEVICE GO TO RECOVERY !!!!
3. go to data/adb/modules/Viper4AndroidFX
4. rename "post-fs-data.sh" to "post-fs-data.sh.bak" or you can simply remove it
5. reboot ENJOY
3rd METHOD via MODIFY POST-FS-DATA.SH (ROOT)
How to:
1. download post-fs-data.sh.txt in my attachment
2. rename it to post-fs-data.sh
3. install viper 2.7.1.0 and grant ROOT access, it will reboot automatically but DON'T FORGET TO PRESS VOLUME UP UNTIL DEVICE GO TO RECOVERY !!!!
4. copy downloaded "post-fs-data.sh" to data/adb/modules/Viper4AndroidFX
6. set permission to rw-r-r
7. reboot
4th METHOD via MAGISK MODULE + SeLinux Mode Changer [MIUI 11 A10] (ROOT)
How to:
1. Install SElinux Mode Changer.apk
2. Open app, grant root access then change to permissive
3. You must ENABLE AUTOSTART for SELinux Mode Changer and VIPER, Go to Settings>Apps>Permission>AUTOSTART
4. Open viper 2.7.1.0 bla bla bla bla >>>follow 1st method or 3rd method (recommended) bcz sometimes 2nd method still not work
5. Reboot
6. Enjoy
***Viper driver gone/missing after several rebooting system?? just open SELinux app then change again to permissive>reboot>solved
QUESTIONS+ANSWER+NOTES
Q>> sometimes viper not processing?
A>>>force stop viper+music then re-open
Q>> why not use "kernel SEPolicy patcher.zip" and flash via twrp?
A>>>because it doesn't work for me, flashed many times SELinux still enforcing but if you successful, you can skip SELinux Mode Changer and direct install viper
{N} maybe viper sometimes crash with musicfx on some roms, so i suggest you to disable musicfx instead delete it, disable via settings>apps>show all apps>show system or you can disable/freeze musicfx via titanium backup
{N} if you use SELinux Mode Changer app, make sure you turned off google play protect to avoid SELinux back to default
{N} if you have sound issue after installing viper, rename libvolumelistener.so to libvolumelistener.so.bak via twrp recovery (mount vendor first)
directory >> vendor/lib/soundfx and vendor/lib64/soundfx
{N} Some users report not work on wireless earbud, idk why,,, i always use wired headset..lol
tested on almost aosp/miui rom for dipper
PE A10
PR A10
MehuiEU/Mehroom/Mix Beta A10
Havoc 3.0
Superior
Evo 4.0
Crd 6.0
LOS 17
Revenge OS
credit :
@topjohnwu for bringing support magisk to sar a-only device
@Team_DeWitt for best enhancement viper4android
All Dev for bringing up Android 10 for dipper
Me for the guide + tester
Some users who help me to fix the errors
EDIT : Added new method for MIUI user

Thread closed reopened at OP request
Edit by: Lupin The Third

If still not working, you should set SELinux to permissive.

The War Profiteer said:
If still not working, you should set SELinux to permissive.
Click to expand...
Click to collapse
nice...added to thread...thanks for help...

Viper4Android
how to install viper4android on Android 10 ? PLEASE ...

3link22 said:
how to install viper4android on Android 10 ? PLEASE ...
Click to expand...
Click to collapse
Can you read?
Edit: that guy removed the guide.
Flash rootless V4A
Install v4a app

Hi! How can I find viper rootless installer zip? I haven´t find nothing in Google

xabizaba13 said:
Hi! How can I find viper rootless installer zip? I haven´t find nothing in Google
Click to expand...
Click to collapse
https://zackptg5.com/android.php or use 2nd method

MOD EDIT: Copy/paste removed. Contribute to the op instead of copy/paste:good:
User edit: Thanks for helping to users, dear mod. This thread was idiotic if you would bother to see older versions of it. OP literally removed the thread content which was working, to get more attention.

Just tried on miui 11 (miui.eu 11 9.10.11 A10) but no luck. ?
there's may need different methods to work on miui?

ippatt said:
Just tried on miui 11 (miui.eu 11 9.10.11 A10) but no luck.
there's may need different methods to work on miui?
Click to expand...
Click to collapse
Follow 4th method for MIUI A10

afah_me said:
Follow 4th method for MIUI A10
Click to expand...
Click to collapse
In a few reboots, drivers has been gone, and not to be installed... MIUI A10 4th method (at first run just Ok)

angel495 said:
In a few reboots, drivers has been gone, and not to be installed... MIUI A10 4th method (at first run just Ok)
Click to expand...
Click to collapse
check magisk module, if viper module still there, maybe your SELinux back to enforcing again
just open SELinux Mode Changer again and tap permissive then reboot
check the driver status
**Turn off google play protect, it's cause SELinux back to default.

afah_me said:
check magisk module, if viper module still there, maybe your SELinux back to enforcing again
just open SELinux Mode Changer again and tap permissive then reboot
check the driver status
**Turn off google play protect, it's cause SELinux back to default.
Click to expand...
Click to collapse
Yes, SELinux back to enforcing. Google play protect turned off.
After change to permissive and reboot, Viper says to install driver and all go for circle

Yes, for me there is still the same, permission changed in SELinux, checked in superuser in magisk, viper4android visible in magisk in superuser tab and its checked also. Then I go to viper4android apliccation and See window about not visible drivers, grat permission to install it and Phone goes to loop.
Wysłane z mojego MIX 2S przy użyciu Tapatalka

kuba929 said:
Yes, for me there is still the same, permission changed in SELinux, checked in superuser in magisk, viper4android visible in magisk in superuser tab and its checked also. Then I go to viper4android apliccation and See window about not visible drivers, grat permission to install it and Phone goes to loop.
Wysłane z mojego MIX 2S przy użyciu Tapatalka
Click to expand...
Click to collapse
which rom??miui??

Miui 11, 9.10.17 eu
Wysłane z mojego MIX 2S przy użyciu Tapatalka

kuba929 said:
Miui 11, 9.10.17 eu
Wysłane z mojego MIX 2S przy użyciu Tapatalka
Click to expand...
Click to collapse
are you using DSAM mod??

afah_me said:
are you using DSAM mod??
Click to expand...
Click to collapse
To be honest i dont know whats that
Wysłane z mojego MIX 2S przy użyciu Tapatalka

kuba929 said:
To be honest i dont know whats that
Wysłane z mojego MIX 2S przy użyciu Tapatalka
Click to expand...
Click to collapse
uninstall viper module then reboot
check again your SELinux, must in permissive mode
if enforcing you must change to permissive then reboot
clear data viper 2.7.1.0
you can follow 2nd method, but if viper app still say no driver installed, you can follow 1st method
also if you use another sound mod better you remove it...

Related

Viper4Android

Hi,
Does viper is compatible with the version of lolipop that motoe 2015 3g is having i.e 5.0.1 ?
After rooting when i installed viper, i cannot see the difference, also switching to viper when song is playing, it freeses the song play -- google play app.
when using other apps like misixmatch it completely hangs the device, only option is to reboot.
Any workaround for this problem?
EDIT: set selinux mode to permissive, then install latest viper app. works like charm
link : http://www.xda-developers.com/easily-change-your-android-selinux-mode/
Happening with me too
HTML:
Did exactly what you said but not working either. Not stopping a music now but nothing changed except for this
sumitps2 said:
HTML:
Did exactly what you said but not working either. Not stopping a music now but nothing changed except for this
Click to expand...
Click to collapse
1. uninstall viper
2. reboot
4. set selinux mode to permissive, using app from here
http://www.xda-developers.com/easily-change-your-android-selinux-mode/
5. reboot
3. download & install viper (check for proper file, in zip)
http://www.mediafire.com/download/cnqqdme51qy9ft4/ViPER4Android_FX_v2340.zip
4. open app, set audio quality to super, grant permission, reboot,
5. open app set compitable mode in viper settings
6. reboot
you are done now.
santoshvaza said:
1. uninstall viper
2. reboot
4. set selinux mode to permissive, using app from here
http://www.xda-developers.com/easily-change-your-android-selinux-mode/
5. reboot
3. download & install viper (check for proper file, in zip)
http://www.mediafire.com/download/cnqqdme51qy9ft4/ViPER4Android_FX_v2340.zip
4. open app, set audio quality to super, grant permission, reboot,
5. open app set compitable mode in viper settings
6. reboot
you are done now.
Click to expand...
Click to collapse
Working, Thanx
This solution doesn't work with tune in radio or beatport app.
Wysłane z mojego MotoE2(4G-LTE) przy użyciu Tapatalka

Xposed module Gravitybox not working

It tries to load the framework and then it says Gravitybox has stopped working, it will close now.
The same problem as here:
http://forum.xda-developers.com/showthread.php?t=2529641
That fix didn't work for me.
Doesn't work on stock ROM
Sent from my Pixel C using Tapatalk
xposed and gravitybox also work sin stock rom.
use xposed v 82 sdk 32
and before you flash it use selinuxmodechanger.
you also can read it on the xposed thread.
xposed needs permissive selinux mode
and our kernel has enforcing mode. thats why it dont work
I have Xposed already installed.
skeleton1911 said:
xposed and gravitybox also work sin stock rom.
use xposed v 82 sdk 32
and before you flash it use selinuxmodechanger.
you also can read it on the xposed thread.
xposed needs permissive selinux mode
and our kernel has enforcing mode. thats why it dont work
Click to expand...
Click to collapse
Hi
Rooted stock rom.
From the official xposed xda page, I installed xposed installer, then flashed framework sdk23 (marshmallow), arm64 v84.
Xposed says 'not compatible with sdk version 23 or your processor architecture (arm64-v8a)'.
Is it the selinuxmodechanger that i haven't installed (yet) or will v84 not work anyway?
arlrb said:
Hi
Rooted stock rom.
From the official xposed xda page, I installed xposed installer, then flashed framework sdk23 (marshmallow), arm64 v84.
Xposed says 'not compatible with sdk version 23 or your processor architecture (arm64-v8a)'.
Is it the selinuxmodechanger that i haven't installed (yet) or will v84 not work anyway?
Click to expand...
Click to collapse
You're using the wrong version of xposed installer, you need v3.0-beta4.
Jonny said:
You're using the wrong version of xposed installer, you need v3.0-beta4.
Click to expand...
Click to collapse
Thank you, Jonny.
In case anyone else runs into this problem, it's the material design version by DVDandroid.
If you have any other version already installed, uninstall it first.
arlrb said:
Thank you, Jonny.
In case anyone else runs into this problem, it's the material design version by DVDandroid.
If you have any other version already installed, uninstall it first.
Click to expand...
Click to collapse
So, you downloaded the app and clicked on INSTALL/UPDATE with framework "xposed-v84-sdk23-amd64" and that's it?
xposed Qs
llucax said:
So, you downloaded the app and clicked on INSTALL/UPDATE with framework "xposed-v84-sdk23-arm64" and that's it?
Click to expand...
Click to collapse
Yes, that was it. It will auto-shutdown & auto-flash in TWRP, then restart & it should be done.
However, xposed installer says, in green, that sdk23 arm64 is active, yet, i'm not sure if a couple of modules i've tried are working properly/at all.
Minminguard module (ad blocker) for instance says that xposed is not enabled, & sure enough ads are still popping up in apps & in chrome.
So i'm wondering if certain modules won't work seeing as i'm using the latest installer & sdk/64? ie do the module developers need to keep up?
Can someone shed some light on how it works in that respect?
Should i try the 32bit sdk? (all 32bit sdks will work on a 64bit cpu, won't they?)
Or should i try a different version - 82?
Is there a version that is most reliable for most modules?
Same results in here, I guess we have to change the SELinux mode somehow for it to work according to what I've read somewhere else...
llucax said:
Same results in here, I guess we have to change the SELinux mode somehow for it to work according to what I've read somewhere else...
Click to expand...
Click to collapse
As skeleton1911 wrote "and before you flash it use selinuxmodechanger". That fixed most of my problems, I also use xposed V84, haven't tried V85 though
there is a solution for xposed by skeleton1911
---------- Post added at 02:25 PM ---------- Previous post was at 02:22 PM ----------
skeleton1911 said:
Guys
there is a solution for xposed:
1. with mixplorer go to system/etc/init.d/ 07permissive and open it with editor (just tap on it)
2. remove the sleep 60 line. save and reboot to recovery
3. flash xposed framework , reboot and install xposed app and your modules. enable them in xposed app and reboot (normal xposed procedure)
4. open your apps like gravitybox etc.. ( they will connect to the xposed framework now)
5. open 07permissive again in system/etc/init.d and add sleep 60 into it again
6. save and reboot
Done!
in short words:
the cause is permissive and enforcing. Xposed only run in permissive mode on boot , but permissive mode forces some apps to close , but it is needed for viper v4a so i did this init.d script, system boots in enforcing and after 60 sec it will switch to permissive.
this is a dirty but working method. there is no other way at the moment because elephone didnt released the kernel source to modify it..
1. remove sleep 60 in 07permissive , save and reboot
2.perform the xposed stuff and after reboot open all xposed apps so they can connect to the xposed framework
3. add sleep 60 back into 07permissive and reboot
All works now!
cheers!
p.s: I will make a flashable zip for that soon ​
Click to expand...
Click to collapse
Do it anybody probe it? Maybe Do it working?
That's for his custom rom. For the stock rom you need selinuxmodechanger, set it to permissive and soft reboot via xposed. It will work fine then!
Aha, thanks, I didn't know what is the difference
Jtig said:
That's for his custom rom. For the stock rom you need selinuxmodechanger, set it to permissive and soft reboot via xposed. It will work fine then!
Click to expand...
Click to collapse
Mmm, OK, maybe is the soft reboot what I missed, because I used selinuxmodechanger and it didn't work with a full reboot. I am using stock but with RodriguezMod, but I think I will try the Eragon ROM. I'll report back. Thanks!
I'm finally trying the Eragon ROM, and following the steps from skeleton1911 finally seem to be working! At least Amplify for the first time is not complaining about not having Xposed. So I wiped, flashed the ROM, updated the SuperSU binary, rebooted, remove the sleep from the init.d script, went to the Xposed installer Material beta, updated from v82 to v85 using the installer, and after that flash, Amplify started to recognize Xposed!
Jtig said:
That's for his custom rom. For the stock rom you need selinuxmodechanger, set it to permissive and soft reboot via xposed. It will work fine then!
Click to expand...
Click to collapse
That fixed it, thanks.

Dolby for poco miui global 11.0.8 stable

I hv tried too many Dolby digital Plus zip file, with seLinux premessive mode. But none works. The app always force closed. Plz help
Problem solved. first install viper reborn magisk.then reboot, open viper app. It will say the driver are missing, download drivers by pressing the download bottom and granting root access. The phone will reboot. Then install dolby digital plus magisk. reboot. Vola! working fine.
r0ngm0sal0 said:
Problem solved. first install viper reborn magisk.then reboot, open viper app. It will say the driver are missing, download drivers by pressing the download bottom and granting root access. The phone will reboot. Then install dolby digital plus magisk. reboot. Vola! working fine.
Click to expand...
Click to collapse
Is there any download link for viper reborn magisk. I didn't found any reborn version. Please help
Just Download viperfx from magisk repo download section...
Or Use this one.
hi , my dolby app is crashing too 11.0.8 , installed all of these software
Download SeLinux Changer (doesn't install)
Download Audio Modification Library :
Download Audio Compatibility Patch
Download Dolby Sound Mod for Android 10
Download SeLinux Permissive
and even viperfx , it keep crashing, any help ?
edit: driver for viperfx doesn't install. maybe this is the problem, any help ? thanks

viper4android not installing

Has anybody been able to install viper4Android on their moto g power? I can't seem to get the driver to install.
rafe83 said:
Has anybody been able to install viper4Android on their moto g power? I can't seem to get the driver to install.
Click to expand...
Click to collapse
I got it to install on Omni 11 but it doesn't work, sadly. Also a HUGE drain on the battery just having it installed. I'd say just stick with the built-in dolby stuff. Works better than I expected, although I do prefer V4A when it comes to headphones and sound systems.
Oh wow. That's a bummer. Viper4android is one of the main reasons why I still root my phones. The combination of dolby and viper on my OnePlus 7 pro is amazing.
yes it works and it works as intended. Complete the following steps to get it working and installed correctly. First you must download and install through magisk manager the audio compatibility patch (acp) after that install the newly updated viper4android zip from magisk as well and after it's done don't reboot just open the viperapp grant it super user permissions then it will install drivers and reboot automatically. Once booted back up your viper should be working normally
Ljrouse5 said:
yes it works and it works as intended. Complete the following steps to get it working and installed correctly. First you must download and install through magisk manager the audio compatibility patch (acp) after that install the newly updated viper4android zip from magisk as well and after it's done don't reboot just open the viperapp grant it super user permissions then it will install drivers and reboot automatically. Once booted back up your viper should be working normally
Click to expand...
Click to collapse
Unfortunately doesn't work for me. I'm on RR OS and tried numerous methods including the one you mentioned and it still keeps asking to install the driver again and again.. .

[QUESTION] How to fix Crash when Magisk Modules Are Installed????

Hola Amigos,
I have A Mido (2GB RAM) device with Superior OS (Phoniex,Android Q) Installed.I installed Magisk and whenever I flash any modules,
Magisk Crashes(Not Magisk Manager).Here's what I mean:The wallpaper I apply using Magisk get reset to default one.
Many Automatic Modules(Modules that start woring on boot) stop for 5-10 seconds and then work. App that I was using before the
crash also crashes.
It happens pretty frequently.
I installed Magisk like this:
Booted to TWRP
Wiped System,Dalvik,Vendor,Data,Cache
Formatted Data
Flashed Superior OS,Open Gapps Pico A10
Rebooted to System
After setting up Google
Rebooted to TWRP
Flashed Magisk 24.3.zip
Rebooted to System.
Installed Each Module one at a time and Rebooted,Then installed second module.....
Sometimes even of I don't install any module the Magisk Manager crashes.
The Modules that I use:
Google Sans Font System Lessly : https://www.pling.com/p/1457664/
MIUI Wallpaper and Akira Wallpaper(Live) : https://www.pling.com/p/1423749/
JamesDSP : https://zackptg5.com/downloads/jdsp_v4.4.zip
XDA Thread of (JamesDSP) (This is not a module): https://forum.xda-developers.com/android/apps-games/app-reformed-dsp-manager-t3607970
Naruto Sharingan BootAnimation for all devices : https://www.pling.com/p/1595951/
Godspeed Mode V X7 All devices : https://www.pling.com/p/1596710/
I am on stock kernel and TWRP 3.5.1
How can I fix these Crashes??
Also Fingerprint and auto rotate sensor are not working even if I uninstall Magisk,Whereas it works if I use UBPorts
Alpha V 1.1
Thanks for help!!!
I have same problem since I updated magisk to 26.1 and when I downgrade it to 25 or 24 stell same problem I tried to change magisk to kernel su the new root app and when I try to add one module at least It makes my app crash but it work only to give root access to any app I want and it is hidden from any app can detect root like bank apps this is crash log of one app of though apps https://bin.kv2.dev/~645360ede599576ea02c5490
And the screen shot the tree apps that crash when use modules
Mady_H said:
I have same problem since I updated magisk to 26.1 and when I downgrade it to 25 or 24 stell same problem I tried to change magisk to kernel su the new root app and when I try to add one module at least It makes my app crash but it work only to give root access to any app I want and it is hidden from any app can detect root like bank apps this is crash log of one app of though apps https://bin.kv2.dev/~645360ede599576ea02c5490
And the screen shot the tree apps that crash when use modules
Click to expand...
Click to collapse
Turns out James dsp and boot animation modules caused the crashes . Safety Net fix and shamiko did not cause the crash . Maybe you could try uninstalling unnecessary modules , btw which modules do you use ?
LolFlasherNoob said:
Turns out James dsp and boot animation modules caused the crashes . Safety Net fix and shamiko did not cause the crash . Maybe you could try uninstalling unnecessary modules , btw which modules do you use ?
Click to expand...
Click to collapse
Iam using ahamiko and safety net fix and hide my app list and ls posed I tried to add zygisk on kernelsu and when I did that it made my apps crash again and I tried to add module to install metrolla dailer phone to record calls it made my apps crash and ls posed zygisk didn't make any thing
So what is common with zygisk for kernelsu and jsp and boot animation
+
I will try to clean install the rom and root again to see what is going on and try to flash new rom to see if it is common in another rom or not
Mady_H said:
Iam using ahamiko and safety net fix and hide my app list and ls posed I tried to add zygisk on kernelsu and when I did that it made my apps crash again and I tried to add module to install metrolla dailer phone to record calls it made my apps crash and ls posed zygisk didn't make any thing
So what is common with zygisk for kernelsu and jsp and boot animation
+
I will try to clean install the rom and root again to see what is going on and try to flash new rom to see if it is common in another rom or not
Click to expand...
Click to collapse
Consider this guide .
Although it's for redmi note 11 , the rom flashing part is universally applicable to all devices.
[GUIDE] LATEST/UNIVERSAL FLASHING GUIDE FOR TWRP,OTHER RECOVERY AND ALL ROMS [Spes/Spesn] Redmi Note 11
: Combined four How To Guide threads into one. Post #2 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi Note 11[WINDOWS-Only] Post #3 - LATEST FLASHING GUIDE FOR TWRP AND OTHER RECOVERY [Spes/Spesn] Redmi...
forum.xda-developers.com

Categories

Resources