Xposed Framework and Viper4Android on rooted H960A - LG V10 Q&A, Help & Troubleshooting

Hi,
some information for everyone who's interested: I tried to install Xposed Framework and Viper4Android on my rooted H960A and that worked very well.
1. Xposed Framework:
I just installed the latest framework V85 for arm64 and the second screen fix for MM, which you can find here.
Both zip files were flashed via TWRP after I flashed the SuperSu.zip to root my phone. Afterwards I installed the XposedInstaller_3.0-alpha4.apk.
You can find the latest xposed framework here and the Xposed Installer here.
To test the Xposed frameword I installed some modules (RootCloak and Flat Style Bar Indicators). Both modules work perfectly on the V10.
2. Viper4Android:
Why would you want to install Viper4Android if you have a very good Hifi DAC onboard? Simple answers at least for me: Viper4Android supports sound settings for Bluetooth devices. I have a nice Bluetooth headset I wanted to use with my V10 and after the installation I must say it was totally worth it.
You need:
* rooted H960A
* Viper4Android (I used version 2.4.0.1)
* install Busybox and run it at least once to obtain root rights
* set Selinux to permissive
* After the phone is rooted install Busybox and run the installation procedure to have busybox installed (current version 1.24.2).
* Then Viper4Android can be installed and started to install the drivers. The phone needs to be restarted afterwards.
* Then I tried to change Selinux setting to permissive with the app SelinuxModeChanger. But that did not work for me as after starting the app and granting root rights I just received the message that the superuser manager did not allow the application to access root or that my device is not rooted at all.
I tried a manual way by installing a terminal emulator and entering the commands
Code:
su
setenforce 0
Opening Viper4Android and showing the driver status revealed that the driver was now active.
The downside of this manual method is that after a reboot Selinux is set to enforced again and you would have to enter above commands in the terminal emulator again.
To set Selinux to permissive at boot time you can do the following:
* install the "Universal inid.d Tool" from the play store. Start the application and switch the slider at the top of the page to "on" to activate inid.d support. Reboot your phone.
* after the reboot is done start the universal init.d tool again and tap on the entry "scripts" under "Manage your inid.d scripts". Then tap on the pen symbol at the top right of the app screen to edit this script.
* a popup window opens showing "no scripts found". If you tap on this line you can change it. Remove everything and enter the following code instead:
Code:
#!/system/sh
setenforce 0
* tap on "save"
That should be it. Now every reboot Selinux is set to permissive again.
Have fun.
If you have questions I will try to answer them.

thank you very much for this tutorial
did you notice any battery drain ?

vip57 said:
thank you very much for this tutorial
did you notice any battery drain ?
Click to expand...
Click to collapse
No, so far no noticeable battery drain. But I have this running only since yesterday afternoon. I will observe the battery consumption an let you now should I notice any drain.

Related

Busybox marshmallow + Browser secret mode

Here simple tool for busybox installation. This is specially designed for stock ROM and kernel users. Without busybox many root app may not work correctly so made a simple one Click Tool for same. Also it have one more function to enable Broeser secret mode with password/fingerprint.
This application requires root.
1.Intall attached Busybox MM apk
2.open app - grant su
3.read status of busybox. And select to install if it is not installed.
4.once busybox installed, restarting app should show new status.
5.Also added small Tool to enable browser secret tab (with password / fingerprint) but that require to have busybox. So first install busybox before activating it.
Really I couldn't test this so recommend to make nandroid (at least before some report comes)
Cant install busybox, every time i install it and reboot it's gone.
Tamir_Hazut said:
Cant install busybox, every time i install it and reboot it's gone.
Click to expand...
Click to collapse
I have the same issue with Norma rom (Note 7 port). After restart I need to reinstall again.

Where it went wrong with Viper4android?

Hi All,
I have installed Viper4android on Moto-e gen2 2015 3g variant.
1. Rooted mobile (With Lollipop 5.1).
2. Installed Busybox.
3. Set to permissive mode.
While installing driver, it wasn't asking driver preferences (Super, high & power saving) Just installed driver on its own. After reboot, while selecting FX compatible mod as normal,I am getting following as response as driver status.
Driver version:- 2.4.0.1
NEON Enabled - NO
Enabled - No
Status - Abnormal
Audio format - Unsupported
Processing -No
Sampling rate - 0
On compatible mode, driver status was disabled. Unable to see driver status.
I can change the sound effect and it is working. But why status as abnormal and unable to select driver preferences (Super, high & power saving mode)?
common guys !!!
I don't know....
But on my Moto E LTE with CM13 with an SELinux Permissive Script
1. I need to remove audio fx by replacing it with music fx. (I don't remember the exact name of the app. look around on xda and you'll eventually find it.)
2. Remove music fx with a root uninstaller.
3. Flash V4A. Then use the Viper Audio fixer app (forgot it's name too), look around on XDA and you'll eventually find it as well.
4. Install drivers (uninstall drivers then reinstall i needed) Do not forget to grant permissions to storage within system settings, and of course grant root privs.
5. Reboot.
6. Use it and enjoy!

Viper4fx on MIUI 12 and any GSI

Yes you hear right. You can install it in your redmi 9 MIUI 12. But you have to root your device. Without root it will not work.
First of all, make sure that Your Magisk is updated to the latest version.
Now, Install the V4fx.apk(from this post) app on your phone.
Open the App but, Don’t install drivers in the app.
Minimize the app in the background and open the Magisk Manager.
Go to Menu>Downloads and search Audio Modification Library.
Install the AML module and permissiver.zip(from this post), Don’t reboot your device.
Go back to the Viper4FX app and Click on the Install driver button.
Your Device will reboot automatically.
After device reboots, Open Magisk manager and Go to Modules.
Uncheck the Audio Modification library (don’t remove).
Open the Viper4FX app again and click Ok to install the driver.your device reboot automatically..
You successfully install it. But there is a problem. Install the driver correctly. But no sound modification will available. Because neon is not enabled. You have to enable it. After many research I found a solution. go to viper4fx and open setting then enable legacy mode...
Do not forget to thanks me if you can successfully install it...good bye
Update. (For Miui only)
when you restart your phone then you see that the YouTube is suddenly stop working. I found a solution for this. You need to install termux emulator and run this command
su
setenforce 1
setenforce 0
Problem is solved...
Remember...
In many gsi their are a audio modified app called 'Audio Fx '...you must disable it to get audio effect from viper4fx
Is this method work on miui 11?
quangkhai6912 said:
Is this method work on miui 11?
Click to expand...
Click to collapse
Try yourself..I think. It should work

[XPOSED][S] Firefds Kit 12.0.0.2-ALPHA-2- Customize Samsung OneUI 4.x [28/04/22]

Version for Marshmallow is available here: https://forum.xda-developers.com/t/...zation-for-old-touchwiz-mm-framework.3372401/
Version for Nougat is available here: https://forum.xda-developers.com/t/...stomization-for-touchwiz-n-framework.3692391/
Version for Oreo is available here: https://forum.xda-developers.com/t/...stomization-for-touchwiz-o-framework.3749479/
Version for Pie is available here: https://forum.xda-developers.com/t/...-14-customize-samsung-oneui-24-05-20.3908114/
Version for Q is available here: https://forum.xda-developers.com/t/...customize-samsung-oneui-2-0-30-12-20.4044757/
Version for R is available here: https://forum.xda-developers.com/t/...customize-samsung-oneui-3-x-14-03-21.4212051/
Firefds Kit [ S ]
Xposed module for Samsung S devices.
Known working devices:
Galaxy S20
Galaxy S20
Galaxy S10
Features
The module has the following features:
Fake system status to Official
Custom advanced power menu options:
Power off
Restart
Emergency mode
Recovery (with custom text)
Download
Data mode switch
Screenshot
Switch User (when multi user is enabled)
SystemUI restart
Flashlight
Screen Recorder (requires Samsung screen recorder app installed)
Disable restart confirmation
Enable performing power menu reboot / power off actions only after unlocking secure lock screen (stock behavior)
Disable display of power menu when secure lockscreen is locked
Change default behavior of reboot to reboot to recovery
Replace Reboot to Recovery icon with system default restart icon
Enable call recording and call recording settings
Replace add call button instead of call recording and adding record by menu option
Clock Size option
Enable Call ID and spam protection option
Enable Screen Record tile and Settings options
Enable screen record while in call
Enable additional advanced hotspot settings option
Hide VoLTE icon in status bar
Hide persistent USB connection notification
Hide persistent charging notification
Enable block phrases in messages app settings
Enable native blur on notification panel pull down
Enable multi user toggle
Set max user value selector
Show seconds in status bar clock toggle
Show AM/PM for seconds on clock toggle
Show clock date on right of clock toggle
Add date to status bar clock options
Enable fingerprint unlock on reboot toggle
Enable biometrics unlock on reboot toggle
Add network speed menu to show network speed in the status bar
Data icon symbol selection (4G, LTE, 4G+, 4.5G)
Show Data usage view in quick panel
Double tap for sleep
Hide NFC icon
Disable Bluetooth toggle popup
Disable sync toggle popup
Disable high level brightness popup
Hide carrier label
Carrier label size selection
Disable loud volume warning
Disable volume control sound
Disable low battery sound
Screen timeout settings
NFC behavior settings
Auto MTP
Disable camera temperature check
Enable camera shutter sound menu
Disable call number formatting
Disable SMS to MMS threshold
Force MMS connect
Bypass exchange security (currently not working)
Disable signature check
Disable secure flag
Attention
This version was tested by the community and not by me, as I don't have an Android 12 Samsung device.
THERE COULD BE BUGS/CRASHES/BOOTLOOPS, but it's pretty stable.
Please upload any xposed logs when you encounter any issue. I can't help you without the logs!
Installation
To install this module you need the following apps and modules installed on your device:
Magisk v24.0 and above - https://github.com/topjohnwu/Magisk/releases
Option 1 - Zygisk​
LSPosed Magisk Zygisk Release module v1.8.2 and above - https://github.com/LSPosed/LSPosed/releases
Option 2 - Riru​
LSPosed Magisk module v1.8.2 and above - https://github.com/LSPosed/LSPosed/releases
Riru Magisk module v25.0.0 and above - https://github.com/RikkaApps/Riru/releases
Download
Directly from LSPosed Manager or from Github : https://github.com/Xposed-Modules-Repo/sb.firefds.s.firefdskit/releases
Source Code
https://github.com/Firefds/FirefdsKit/tree/S
Known Issues
A lot has changed since Android 11. Since I don't have an Android 12 device all tests have been done with various testers. THERE MAY BE UNKNOWN ISSUES!!
Some features are removed on purpose. Since GravityBox has been working on Samsung Oreo devices without much issues, I only implemented features that need special Samsung coding.
Reporting Issues
When reporting an issue, please include Xposed logs and screenshots if any. Reporting should be done through Github - https://github.com/Firefds/FirefdsKit/issues
External Libraries
The project uses the following libraries:
https://github.com/rovo89/XposedBridge
https://github.com/rovo89/XposedMods/tree/master/XposedLibrary
Samsung framework libraries which are used for compile only
EdXposed Whitelisting
Users who want to use EdXposed's whitelist feature should whitelist the following apps:
Android System - android
Call - com.samsung.android.incallui
Call Settings - com.samsung.android.app.telephonyui
Camera - com.sec.android.app.camera
Contacts - com.samsung.android.contacts
Email - com.samsung.android.email.provider
Firefds Kit - sb.firefds.s.firefdskit
Messaging - com.samsung.android.messaging
MTP Application - com.samsung.android.MtpApplication
NFC - com.android.nfc
One UI Home - com.sec.android.app.launcher
Settings - com.android.settings
Smart Capture - com.samsung.android.app.smartcapture
Software Update - com.wssyncmldm
System UI - com.android.systemui
Credits
This module wouldn't have been here without the following people:
RikkaW - Creator of Riru Magisk module, which provides a way to inject codes into zygote process
@rovo89 - Creator of the original Xposed framework APIs
solohsu and MlgmXyysd - Creators of the EdXposed Magisk module and Installer that made all of this possible
@C3C076 - Creator of GravityBox Xposed modules, which I learnt a lot from
@wanam - Creator of the original XTouchWiz module, which this module is based on.
@topjohnwu - Creator of Magisk
@AbrahamGC - For the Extended Power Menu - Pie - Odex framework Smali guide
Big thank you to @m8980 and @ianmacd for testing countless versions and sending xposed logs
Telegram
Announcements and pre release versions - https://t.me/firefdskit
This is a moded version of Wanam's XTouchWiz:
https://github.com/wanam/XTouchWiz
Hi @firefds, thanks a lot for releasing your module for Android 12! Highly appreciated!
Also thanks to @m8980 and @ianmacd for doing the testing!
The module is working very well on my S10e, although I have to admit that - since I'm on a custom ROM - I don't need all features and only use the Double Tap For Sleep function and the Advanced Power Menu.
There's one optical issue in the Advanced Power Menu that I would like you to fix: The additional icons for Recovery Mode, Download Mode and Restart SystemUI don't match the style of the original Samsung icons for Power Off and Restart, i.e. they have a different line thickness and use a font that's not consistent with the look of One UI 4.0.
I made a screenshot of how it looks with the current icons and an edited version of the screenshot of how IMHO it should look like, please see attached files.
For this I extracted the three PNG images from the res folder of your APK and edited them to match the look of One UI 4.0: I combined the shape of the restart icon, the colour of the original icons and added the Letters "R", "D" and "UI" with the Google Sans font, which is the standard system font of Android 12.
I attached the edited PNG images, so you can easily put them into your module.
I hope that you like the new icons and am looking forward for an updated version of your module. Thanks!
okij said:
Hi @firefds, thanks a lot for releasing your module for Android 12! Highly appreciated!
Also thanks to @m8980 and @ianmacd for doing the testing!
The module is working very well on my S10e, although I have to admit that - since I'm on a custom ROM - I don't need all features and only use the Double Tap For Sleep function and the Advanced Power Menu.
There's one optical issue in the Advanced Power Menu that I would like you to fix: The additional icons for Recovery Mode, Download Mode and Restart SystemUI don't match the style of the original Samsung icons for Power Off and Restart, i.e. they have a different line thickness and use a font that's not consistent with the look of One UI 4.0.
I made a screenshot of how it looks with the current icons and an edited version of the screenshot of how IMHO it should look like, please see attached files.
For this I extracted the three PNG images from the res folder of your APK and edited them to match the look of One UI 4.0: I combined the shape of the restart icon, the colour of the original icons and added the Letters "R", "D" and "UI" with the Google Sans font, which is the standard system font of Android 12.
I attached the edited PNG images, so you can easily put them into your module.
I hope that you like the new icons and am looking forward for an updated version of your module. Thanks!
Click to expand...
Click to collapse
Thanks! This looks great! I'll add it to the next version
firefds said:
Thanks! This looks great! I'll add it to the next version
Click to expand...
Click to collapse
Thanks! I'm glad you like it and look forward to the next version.
IIRC Firefds Kit 11 uses the same icons (I have been using it until I switched to Android 12 two months ago), so you might use the new icons there too.
Thanks.
All my devices now bootloop with NoClassDefFoundError: com.android.systemui.BasicRune
Any chance we could add those whitelists to LSposed "Recommended"? Exactly the most important call recording check is missing.
Btw if LSposed 1.7.2 is installed, Riru can be uninstalled? -> looks like Sui uses Riru, so no switching.
In the end, I could leave Firefds enabled if I don't change anything, luckily call recording is on by default.
Thanks for the update for Android 12. Everything working good on my A52s 5g. Hope that one day you can add the ability to adjust the height of the navigation bar. That was available in the gravitybox app but there is no upgrade for 12 yet and not sure there will be which is why I've asked here... appreciate your efforts though.
Is there an easy way to fix bootloop in case something went wrong?
donkeyman1234 said:
Is there an easy way to fix bootloop in case something went wrong?
Click to expand...
Click to collapse
You can go in twrp to /data/ app/ then sort folder of date and first one should be folder with firefds app and for me delete it worked and I didn't have to disable lsposed modules or the magisk
Kuba1996 said:
You can go in twrp to /data/ app/ then sort folder of date and first one should be folder with firefds app and for me it worked and I didn't have to disable lsposed modules or the magisk
Click to expand...
Click to collapse
Thanks, but I mean if no twrp I can't boot into the phone, only stock recovery . Is there anything I can do( not factory reset)?
donkeyman1234 said:
Thanks, but I mean if no twrp I can't boot into the phone, only stock recovery . Is there anything I can do( not factory reset)?
Click to expand...
Click to collapse
Do You have oem unlock and debbuging on? If yes You can install twrp. Or mabye try sideload something like recovery arome file manager (possible working only in twrp). How You root without custom recovery?
How to disable Magisk modules without Magisk and TWRP recovery
Hi, I installed an incompatible Magisk module in the past, which cause bootloop of my phone. Co I dirty flashed my ROM (Pixel Experience) to get my phone work again. My current situation is that I cannot flash Magisk because an incompatible...
forum.xda-developers.com
You can look at last post here and try do something like that. Mabye try in recovery choose "update from adb" and try erase with adb command (your directory: riru-core). Or try use this but I dont think it will work
[Tool][Aroma] Magisk Manager Recovery Tool V2.5
Warning: It's not a Magisk module! Description This is a Magisk module management tool that can be used in Recovery mode. It's based on Aroma Installer. You can manage almost everything in Magisk with this tool. You can manage installed modules...
forum.xda-developers.com
Kuba1996 said:
Do You have oem unlock and debbuging on? If yes You can install twrp. Or mabye try sideload something like recovery arome file manager (possible working only in twrp). How You root witchout custom recovery?
Click to expand...
Click to collapse
I used magisk patched AP file to root. There is no twrp for s22u.
donkeyman1234 said:
I used magisk patched AP file to root. There is no twrp for s22u.
Click to expand...
Click to collapse
Also You can flash in odin patched ap and rest of file but with HOME_CSC not CSC
Check this:
donkeyman1234 said:
I used magisk patched AP file to root. There is no twrp for s22u.
Click to expand...
Click to collapse
Had the same issue with my s22u. I reflashed through odin. Gonna try and flash this module again with magisk bootloop protector. fingers crossed.
Update
Did try flashing it 2 more times, it is causing bootloop after enabling any option and restarting.
Recovered by disabling all magisk modules from adb.
Hope there will be a fix soon.
Hello,
Thank you for A12 update.
So nice to have your magic on this version.
I would also love to see the ability to adjust navbar, and the possibility to move cursor with buttons in navbar like in GravityBox.
For me, Force MMS to connect isn't working on BeyondRom 4.1.
Is it working for others ?
I am using LSPosed zygist latest version and safety net 2.2.1
nishantgupta107 said:
Update
Did try flashing it 2 more times, it is causing bootloop after enabling any option and restarting.
Recovered by disabling all magisk modules from adb.
Hope there will be a fix soon.
Click to expand...
Click to collapse
Yup, currently the rule is don't do any change. I tried do partial changes, but no luck. I simply keep it running with default settings. Also bootloop recovery wasn't that fun, it did kill some OS settings I hardly noticed - i had to walk through all the settings.
doggydog2 said:
Yup, currently the rule is don't do any change. I tried do partial changes, but no luck. I simply keep it running with default settings. Also bootloop recovery wasn't that fun, it did kill some OS settings I hardly noticed - i had to walk through all the settings.
Click to expand...
Click to collapse
Yes, some os settings did get reset. Not sure why. But now I'll wait for a stable release (I have reflashed it now 5-6 times)
Arobase40 said:
You can install Magisk Bootloop Protector module...
It will disable Magisk modules when bootloop occurs.
Click to expand...
Click to collapse
Thanks. I did install, but it did not work, the phone kept rebooting, reflash was my last resort.
Bootloop
S10 plus UI 4.1 A12
LSPosed-v1.8.0-6482-zygisk

Themes / Apps / Mods Viper4android

Anyone successfully installed viper4android on android 12. Please can you share the steps on how to do it. I've been digging the web on how to do it but failed.
Yep. theres a magisk zip for it. i don't use viper4 any more here it is
The step by step I used to get it working was as follows:
Flash a SELinux permissive magisk module - reboot
Install ainur narsil magisk module - reboot
Disable ainur narsil in magisk manager (not sure if this does anything but it works for me)
Install Audio Modification Library - reboot
Install Viper4Android magisk module AND open the app and install the driver (will reboot as a part of this)
Install Audio Compatibility Patch magisk module - reboot
Re-Enable ainur narsil module in magisk manager
Remove SELinux permissive
I've had success in this order. for the Audio Compatibility Patch I use vol up for the first two options and then vol down for the rest.
The app also seems to need to run in compatibility mode or legacy mode
Not sure if this will work for everyone but seems to be a bit hit or miss in general
Did not work for me . But after flashing the "Sound enchancement for Sony 10" viper4android legacy now worked.

Categories

Resources