Viper4android Support for OP7T

passi77

Senior Member
Sep 28, 2012
50
9
28
Bangalore
Hey Can someone please find out a supported Viper4android for OP7T.
Installing through magisk gives a bootloop
Installing drivers directly through the Viper4android app too gives a Bootloop
Already tried the existing method updated on xda for getting Viper4android to work on android 10. Unfortunately it gives a bootloop too.
 
  • Like
Reactions: AboNaya and AveekB

Lossyx

Senior Member
Jan 14, 2014
1,405
559
133
Is this one functional?
I am not sure, I just thought if you've factory reset to remove the bootloop, I guess you have nothing to lose if you try this one. If that's not the case, you're in the same boat as me, not wanting to risk a factory reset in case it doesn't work. Not having a recovery really sucks...

Sent from my OnePlus7TPro using XDA Labs
 

Lossyx

Senior Member
Jan 14, 2014
1,405
559
133
I was able fix the boot loop if i flash the stock boot img. However someone posted a custom boot img just to get out of such a situation without any sort of factory reset.
Can you link the custom boot image?

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80054209

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80053180

This should be able to flash in EXKM or Franco kernel Manager. It zip uses anykernel which makes be believe it only modifies the boot image. If I'm correct, you should be able to restore with just flashing stock boot.


Also,

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80721099
Sent from my OnePlus7TPro using XDA Labs
 
Last edited:

Lossyx

Senior Member
Jan 14, 2014
1,405
559
133
Can you link the custom boot image?

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80054209

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80053180

This should be able to flash in EXKM or Franco kernel Manager. It zip uses anykernel which makes be believe it only modifies the boot image. If I'm correct, you should be able to restore with just flashing stock boot.


Also,

https://forum.xda-developers.com/an...iper4android-fx-2-6-0-0-t3774651/post80721099
This doesn't seem to work. Everything installs without a bootloop but the driver does not seem to detect the installation or the driver doesn't successfully install.

Sent from my OnePlus7TPro using XDA Labs
 

sathya

Senior Member
Sep 13, 2006
333
36
0
I guess its because of the Dolby Atmos which is built in. I tried to tweak the settings to match Viper, but no where close.
 

FreezyExp

Member
Feb 9, 2011
47
15
0
I tried to install viper4android as well, I should have researched this thing first.

Here is my story so far:
the module did not seem to do anything.
Installed the apk, which wanted to install drivers, I finally gave in and allowed it to install.

After a reboot the device rebooted to fastboot, hit start.
Device goes back to fasstboot (does not reach bootanimation, then restarts to fasstboot)
Clearing cache from Recovery did not help.

No TWRP, full SE Linux and no way to mount those secured filesystems
So I tried booting the unpatched boot image, this works, my phone is not dead yay.
-> flashed unpatched boot.img, phone able to boot again, but no root

Opened Magisk manager, repatched a stock boot image,
20.2 a6e62e07 (20102)

Tried booting:
-> patched with safe mode (not sure what this does), hangs at fasstboot mode screen, force turn off
-> patched without safe mode, restarts to fasstboot

I can boot the test-TWRP, but I could not find anything relevant to either extract or replace / disable.
I tried finding a way to flag something so that Magisk would not try to load the viper module
The only logs I could find were related to the TWRP boot, so I cant see what error might be causing this.

I flashed the OTA 10.0.4 again in the hopes it would unpatch whatever the viper install did.
Luckily I got to keep data, but now I fear there might be something lingering somewhere...

Anyone have any advice on what to try next?
Is a factory reset really the only way to get back Magisk?
 

f41lbl0g

Senior Member
Mar 15, 2014
298
422
93
Hey guys, here is a zip I modified for the OP7T and 7T Pro. Please report if viper from this file works. All credits to:
- ahrion
- zhuhang
- osm0sis
- Viper's Audio (Official blog)
- viper520
- Team_DeWitt

EDIT: This may work with a permissive selinux. Use this app before installing the magisk module. If it doesn't work, just boot the magisk core only image and then delete the magisk module.
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502
 

Attachments

Last edited:

v.konvict

Senior Member
Dec 1, 2012
1,659
928
143
Mwanza
Hey guys, here is a zip I modified for the OP7T and 7T Pro. Please report if viper from this file works. All credits to:
- ahrion
- zhuhang
- osm0sis
- Viper's Audio (Official blog)
- viper520
- Team_DeWitt
doesnt work its the same as the other one. hangs at fastboot. flashed stock boot image to boot back up.

Now am stuck without root unless I perform a factory reset and start the whole process again
 
Last edited:

sasho36

Senior Member
Jan 18, 2009
257
130
73

f41lbl0g

Senior Member
Mar 15, 2014
298
422
93
doesnt work its the same as the other one. hangs at fastboot. flashed stock boot image to boot back up.

Now am stuck without root unless I perform a factory reset and start the whole process again
I'm so sorry. I don't have a 7T yet so I was not able to test. According to a 7T pro thread it is because of post-fs-data that viper causes the phone to go to fastboot. So i removed the lines in there that lead to post-fs-data but it still crashes.

EDIT: Forgot to add that you may need to change your selinux to permissive before installing the module. Use this app.
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502
 
Last edited:

Lossyx

Senior Member
Jan 14, 2014
1,405
559
133
I'm so sorry. I don't have a 7T yet so I was not able to test. According to a 7T pro thread it is because of post-fs-data that viper causes the phone to go to fastboot. So i removed the lines in there that lead to post-fs-data but it still crashes.

EDIT: Forgot to add that you may need to change your selinux to permissive before installing the module. Use this app.
https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502
It's not working because you are just modifying the installed module, not the actual installer, which we do not have the source code of.


If anyone is interested, follow this to create your custom recovery. Then you can remove the post-fs-data via adb from the recovery.
https://forum.xda-developers.com/7t...n-os-stock-recovery-adb-t3991865/post80866897

Sent from my OnePlus7TPro using XDA Labs
 
Last edited:

f41lbl0g

Senior Member
Mar 15, 2014
298
422
93
It's not working because you are just modifying the installed module, not the actual installer, which we do not have the source code of.


If anyone is interested, follow this to create your custom recovery. Then you can remove the post-fs-data via adb from the recovery.
https://forum.xda-developers.com/7t...n-os-stock-recovery-adb-t3991865/post80866897

Sent from my OnePlus7TPro using XDA Labs
I am pretty sure the installer is open source. It is called Unity. And I did modify the installer. Post-fs-data is magisk file that loads a script on boot. In the case of the OP7T, this script causes it to crash to fastboot. I'm pretty sure the only reason it didn't work for the other user was because their selinux was enforcing instead of permissive.