Yup, I'm getting that adding script can save reboots (X2) needed to reset driver on initial installation.
...
However I had wondered if SELinux changes were actually a necessity on some devices. It seems simple reboots / reset will still do the trick for the less time-conscious users, at least on latest 2.7.2.1 (Magisk repo).
I think
@zgfg has 2.7.2.1 working on Android MIUI.
Also, I just installed it on my Mi Pad 4, LOS 18.1 (ie. Android 11, Alpha Magisk), and was surprised to find it needed only mandatory reboot after module Installation to work!
I did this: installed Viper4Android FX from Magisk repo but instead of reboot immediately, opened Viper4Android FX App (it's already installed), let it install missing Neon driver then reboot, open Viper4Android FX, check driver status; it's Abnormal, select Legacy mode in settings, check driver status again and it's Normal / working! (No reset needed.)
Not sure if it's Android 11, AOSP standard ROM or other that allows swapping to Legacy mode to work immediately, but my RN8T on stock MIUI, Android 10 & Alpha Magisk needs driver reset incl. reboots to work. PW
Imma try your method, but last time i tried with the repo version, it did not end well
edit:
wont even download the apk lol
Log: line 214: curl not found
time for Zacks Cross Compiled Binaries it seems
...still think my ways quicker...jesus....
So, yeah that didnt go so well either - my device couldnt be more connected to the internet btw
So yeah, the repo way is looking super efficent
+ echo '- Testing internet connection'
- Testing internet connection
+ /data/adb/modules_update/ccbins/curl -Ls --connect-timeout 3 -I
https://www.google.com
/data/user/0/ym.uovnvdolycep/cache/flash/update-binary: /data/adb/modules_update/ccbins/customize.sh: line 4: /data/adb/modules_update/ccbins/curl: not found
+ /data/adb/modules_update/ccbins/busybox- grep -q 'HTTP/.* 200'
/data/user/0/ym.uovnvdolycep/cache/flash/update-binary: /data/adb/modules_update/ccbins/customize.sh: line 4: /data/adb/modules_update/ccbins/busybox-: not found
+ /data/adb/modules_update/ccbins/busybox- ping -q -c 1 -W 1 google.com
+ /data/adb/modules_update/ccbins/busybox- grep -q 'HTTP/.* 200'
/data/user/0/ym.uovnvdolycep/cache/flash/update-binary: /data/adb/modules_update/ccbins/customize.sh: line 4: /data/adb/modules_update/ccbins/busybox-: not found
+ /data/adb/modules_update/ccbins/curl -Ls --connect-timeout 3 -I
https://www.baidu.com
/data/user/0/ym.uovnvdolycep/cache/flash/update-binary: /data/adb/modules_update/ccbins/customize.sh: line 4: /data/adb/modules_update/ccbins/curl: not found
+ /data/adb/modules_update/ccbins/busybox- ping -q -c 1 -W 1 baidu.com
+ return 1
Nope, theres currently no way my device can download the apk through the repo module
I mean i can download any other module i like and have it work, just not that one....
I can download the file from the same path in the browser (path from install script):
https://zackptg5.com/downloads/v4afx.apk/v4afx.apk
Saving so much time folks
update:
So installed the apk
Opened
Installed driver
Rebooted
Nope...Abnormal
Enabled Legacy...working
Same driver version btw
And then it hit me that the reason i hated the new viper gui was it changed the older easier to use presets, because of course they changed everything to make it harder to use your years old presets and to (try) monetize DDC profiles etc...monetize what was once free...and put analytics in there. Pox on that.
Will be reverting to the Ichigo one thanks