Viper4android Support for OP7T

Search This thread

passi77

Senior Member
Sep 28, 2012
50
9
Bangalore
OnePlus 7T
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,561
853
OnePlus 7T Pro
Google Pixel 7 Pro
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,561
853
OnePlus 7T Pro
Google Pixel 7 Pro
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://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651/post80054209

https://xdaforums.com/android/apps-games/app-viper4android-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://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651/post80721099
Sent from my OnePlus7TPro using XDA Labs
 
Last edited:

Lossyx

Senior Member
Jan 14, 2014
1,561
853
OnePlus 7T Pro
Google Pixel 7 Pro
Can you link the custom boot image?

https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651/post80054209

https://xdaforums.com/android/apps-games/app-viper4android-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://xdaforums.com/android/apps-games/app-viper4android-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
 

FreezyExp

Senior Member
Feb 9, 2011
62
19
OnePlus 7T
OnePlus 10 Pro
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
304
423
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://xdaforums.com/android/apps-games/app-selinux-switch-t3656502
 

Attachments

  • v4afx_v2.7.1.0_OP7T.zip
    3.5 MB · Views: 92
Last edited:

v.konvict

Senior Member
Dec 1, 2012
1,672
929
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
Samsung Galaxy S22

f41lbl0g

Senior Member
Mar 15, 2014
304
423
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://xdaforums.com/android/apps-games/app-selinux-switch-t3656502
 
Last edited:

Lossyx

Senior Member
Jan 14, 2014
1,561
853
OnePlus 7T Pro
Google Pixel 7 Pro
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://xdaforums.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://xdaforums.com/7t-pro/development/recovery-oxygen-os-stock-recovery-adb-t3991865/post80866897

Sent from my OnePlus7TPro using XDA Labs
 
Last edited:

f41lbl0g

Senior Member
Mar 15, 2014
304
423
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://xdaforums.com/7t-pro/development/recovery-oxygen-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.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    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.
    2
    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
    1
    I've been racking my brain trying to find a solution, have yet to find one. All thus far end in bootloop.
    Not giving up hope.
    1
    Can you try freezing Dolby and redo everything?
    I've tried that and it didn't work for me unfortunately. (Getting viper to work)

    Sent from my OnePlus7TPro using XDA Labs
    1
    Only istaled and works?

    Wysłane z mojego OnePlus 7T przy użyciu Tapatalka
    Yes, works perfectly fine for me.
    Install APK, open and install drivers, reboot.

    Sent from my OnePlus7TPro using XDA Labs