[Question] magisk modules for vendor on A11 - Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans

hi guys,
just wondering if anyone have been able to create or run any magisk modules on android 11 that involves modifying the vendor partition? ive created an audio module to install some additional/replacement libs which under A10 was no issue but when trying to install in A11 (crdroid/poco f2 pro), it seems to break headphone audio as sound only comes from the speaker when headphones plugged in. from what ive narrowed down, it seems to be the vendor partition that causes the issue as if files are installed to the system partition then no issues.
nvm managed to sort, seems it was a few libs causing the issue

Related

Improved Audio on Oreo Custom ROMs (Ainur Sauron)

I am part of the team for Ainur Sauron, and I am here to present improved audio on the Le Max 2. Sauron has a userconfig which can be adjusted. Download the latest from there and place the attached file at /sdcard before installing. Make sure to remove the '.txt' at the end of the file too! Enjoy :victory:
Impedance is currently set to 16Ω which can be changed to whatever you desire. To set edit the attached sauron_useroptions file and change qc.impedance to whatever your headphones impedance is in Ohms multiplied by 1000 (eg. for 22Ω it would be 22000).
Tested by @I_Raptor_I on his x2, if it doesn't work just send me a log
EDIT: Attached the file
I did not know that anyone else was using Ainur Sauron on LeX2 It really improves the audio quality significantly on Oreo!
Quick question - why does it say "Axon 7" during installation procedure?
LazerL0rd said:
I am part of the team for Ainur Sauron, and I am here to present improved audio on the Le Max 2. Sauron has a userconfig which can be adjusted. Download the latest from there and place the attached file at /sdcard before installing. Make sure to remove the '.txt' at the end of the file too! Enjoy :victory:
Impedance is currently set to 16Ω which can be changed to whatever you desire. To set edit the attached sauron_useroptions file and change qc.impedance to whatever your headphones impedance is in Ohms multiplied by 1000 (eg. for 22Ω it would be 22000).
Tested by @I_Raptor_I on his x2, if it doesn't work just send me a log
EDIT: Attached the file
Click to expand...
Click to collapse
Hi, I download and flash the version MK II but can't see any app for setting my personal audio. How it works?
GaetanoS.89 said:
Hi, I download and flash the version MK II but can't see any app for setting my personal audio. How it works?
Click to expand...
Click to collapse
Hello GaetanoS.89, first things first uninstall the MK II Magisk module. Now place the given text file in /sdcard folder, then go and flash that module again, it should state that it has detected the user options text file and that's it.
I_Raptor_I said:
Hello GaetanoS.89, first things first uninstall the MK II Magisk module. Now place the given text file in /sdcard folder, then go and flash that module again, it should state that it has detected the user options text file and that's it.
Click to expand...
Click to collapse
I have not installed magisk n the smartphone.
Can you tell me how I can uninstall it?
Do I need magisk to let work this audio mod?
Thanks
GaetanoS.89 said:
I have not installed magisk n the smartphone.
Can you tell me how I can uninstall it?
Do I need magisk to let work this audio mod?
Thanks
Click to expand...
Click to collapse
Magisk isn't needed as it'll install with any configuration. All you need to do is placed the attched file at /sdcard (called Internal Storage) and rename it to sauron_useroptions (remove the .txt. at the end).
LazerL0rd said:
Magisk isn't needed as it'll install with any configuration. All you need to do is placed the attched file at /sdcard (called Internal Storage) and rename it to sauron_useroptions (remove the .txt. at the end).
Click to expand...
Click to collapse
Did it, and after What I have to do?
@Lazerlord: I tried your mod today by described method.
I copied "sauron_useroptions" into sdcard folder by TWRP file explorer.
Afterwards I flashed latest zip (17.03.) using TWRP. Everything was fine with it during this.
Wiped chache and dalvik and rebooted without any problems.
Result: No ringtone anymore, no message sound, but media sound works fine and was adjustable, no app or menue occoured in regard to your mod. I did not check more.
I could succesfully remove your mod by described method (flash again same file from TWRP)
After removal everything was fine as before :good:
My Phone: X829 with latest AEX 8.1 using Magisk 16.0
123Bart said:
@Lazerlord: I tried your mod today by described method.
I copied "sauron_useroptions" into sdcard folder by TWRP file explorer.
Afterwards I flashed latest zip (17.03.) using TWRP. Everything was fine with it during this.
Wiped cache and dalvik and rebooted without any problems.
Result: No ringtone anymore, no message sound, but media sound works fine and was adjustable, no app or menue occoured in regard to your mod. I did not check more.
I could succesfully remove your mod by described method (flash again same file from TWRP)
After removal everything was fine as before :good:
My Phone: X829 with latest AEX 8.1 using Magisk 16.0
Click to expand...
Click to collapse
Ah, well could you follow these instructions on the main thread which say "help to extend features". It'll help us fix those issues. :good:
How was the media sound though? Did it sound better according to you?
LazerL0rd said:
Ah, well could you follow these instructions on the main thread which say "help to extend features". It'll help us fix those issues. :good:
How was the media sound though? Did it sound better according to you?
Click to expand...
Click to collapse
I removed the "sauron_useroptions" from sdcard folder (as it was described in the file itself, that UO is not mandatory) and reflashed the zip-file again.
With this way everything works !
Will read a little bit the instructions now...
Generaly I have to say I am using Leeco CDLA as headphones atm which are extraordinary by themselves.
So maybe I will use adapter for 3,5mm jack whithin next days and try some user options. Leeco Loadspeaker judgement is difficult imho.
Also new AEX is very good ROM in regard to speaker sound I have to say.
On Oreo 8.1.0. PixelRevenge 15.1 works very well in music playback. He gave me a strange problem. I removed the system camera that I can not install anymore. I had to put another one. I have not tried calls and notifications yet
edit:- Notifications and ringtones ok. In-call audio worsened, the voice is less clear. In speakerphone there is a loud hiss that makes the speakerphone unusable
RISS23 said:
On Oreo 8.1.0. PixelRevenge 15.1 works very well in music playback. He gave me a strange problem. I removed the system camera that I cannot install anymore. I had to put another one. I have not tried calls and notifications yet
edit:- Notifications and ringtones ok. In-call audio worsened, the voice is less clear. In speakerphone, there is a loud hiss that makes the speakerphone unusable
Click to expand...
Click to collapse
We're working on a fix for the mixer_paths that'll correct notifications, ringtones, and other audio. I'm happy that you're enjoying music playback. However, the system camera app problem is nothing to do with Sauron it's probably a ROM issue, or possibly even a Magisk issue.
I've installed this Mod by using Magisk 16.0 (v5.6.4) on RR 6.0(22-03-18).
Before I did this I placed the file sauron_useroptions to /sdcard folder.
During the installation Magisk showed that the useroption file was found and used for the installation.
In Poweramp I get the message that there is a problem with app native libraries (libampffmpeg.so).
I don't know whether the error message has something to do with that, but the volume control in Poweramp after flashing this modul is faulty.
Just when the volume is set the half I can hear anything. The volume control steps seems to be broken, but just in Poweramp.(After uninstalling, the issue is gone, but the error message is still sthere)
In other Apps the volume control is normal.
Since I use RR 6.0(8.1) instead of RR 5.8.5(7.1.2) the speaker sounds cheap tinny - Ainur Sauron didn't help to solve this issue. I removed AudioFX, can this be the reason?
It's difficult to describe the issue "cheap tinny", but I think the audio drivers have problems to divorce the difference frequences.
On RR 5.85. the speaker was more "smooth" and the frequences were divorced much better.
Sorry for my bad english and the critic. I think I'm an individual case and other people don't have the problems which I have, but in my case, the Mod seems not to improve the audio quality.
Azubi96 said:
I've installed this Mod by using Magisk 16.0 (v5.6.4) on RR 6.0(22-03-18).
Before I did this I placed the file sauron_useroptions to /sdcard folder.
During the installation Magisk showed that the useroption file was found and used for the installation.
In Poweramp I get the message that there is a problem with app native libraries (libampffmpeg.so).
I don't know whether the error message has something to do with that, but the volume control in Poweramp after flashing this modul is faulty.
Just when the volume is set the half I can hear anything. The volume control steps seems to be broken, but just in Poweramp.(After uninstalling, the issue is gone, but the error message is still sthere)
In other Apps the volume control is normal.
Since I use RR 6.0(8.1) instead of RR 5.8.5(7.1.2) the speaker sounds cheap tinny - Ainur Sauron didn't help to solve this issue. I removed AudioFX, can this be the reason?
It's difficult to describe the issue "cheap tinny", but I think the audio drivers have problems to divorce the difference frequences.
On RR 5.85. the speaker was more "smooth" and the frequences were divorced much better.
Sorry for my bad english and the critic. I think I'm an individual case and other people don't have the problems which I have, but in my case, the Mod seems not to improve the audio quality.
Click to expand...
Click to collapse
I've heard from @I_Raptor_I that RR already has a loss in audio quality. I advise the use of another ROM and if the tinnyness persists use the attached Sauron zip.
The Poweramp problem is probably due to DVC (Direct Volume Control) in their FAQ they state it may cause issues with 24-bit or HQ audio. The native libraries issue is not related to Ainur as it doesn't touch that file.
About the audio. ROM (which Sauron edits) isn't the only thing that contributes. the HAL and kernel do too, so RR's bad audio may not be able to be fixed or corrected by Ainur but we'll take a look into it.
Ok guys, @LazerL0rd is kindly developing a very nice Oreo kernel for our Le Max 2 improving the speeds dramatically and most importantly audio, he has already optimized our Qualcomm DSP, expect a very nice audio experience on Oreo from now on so stay tuned and make sure to thank LazerL0rd for his hard work, he doesn't even have a Le Max 2 and yet he is spending hours making this kernel for us
Magisk viper?
I have installed viper on RR Oreo via magisk and audio quality is now on point with how it worked through flashing viper and Dolby Atmos on the nugart RR via twrp. There are a couple of things to consider though, viper must be activated before listening to music through your app, viper does not work over Bluetooth by default in viper meaning you must go to viper settings and set mode to compatibility from normal and then viper will work over Bluetooth. The last thing, and I can't remember if this was true on nugart but viper seams to only work with music that you have downloaded to your device and will not work with streaming music from the web.
mikedavo said:
I have installed viper on RR Oreo via magisk and audio quality is now on point with how it worked through flashing viper and Dolby Atmos on the nugart RR via twrp. There are a couple of things to consider though, viper must be activated before listening to music through your app, viper does not work over Bluetooth by default in viper meaning you must go to viper settings and set mode to compatibility from normal and then viper will work over Bluetooth. The last thing, and I can't remember if this was true on nugart but viper seams to only work with music that you have downloaded to your device and will not work with streaming music from the web.
Click to expand...
Click to collapse
To fix streamed music install universal deep buffer remover magisk module by @Zackptg5 , it's on the repo too.
I_Raptor_I said:
Ok guys, @LazerL0rd is kindly developing a very nice Oreo kernel for our Le Max 2 improving the speeds dramatically and most importantly audio, he has already optimized our Qualcomm DSP, expect a very nice audio experience on Oreo from now on so stay tuned and make sure to thank LazerL0rd for his hard work, he doesn't even have a Le Max 2 and yet he is spending hours making this kernel for us
Click to expand...
Click to collapse
Kernel released and in Havoc OS. Source is https://github.com/Havoc-Devices/android_kernel_leeco_msm8996. I'll update personal repo and both to 3.18.108 soon.
does it work on xiaomi mi 6 miui 9? Android 8.0
Wysłane z mojego MI 6 przy użyciu Tapatalka
LazerL0rd said:
Kernel released and in Havoc OS. Source is https://github.com/Havoc-Devices/android_kernel_leeco_msm8996. I'll update personal repo and both to 3.18.108 soon.
Click to expand...
Click to collapse
waitting for the update, thanks

Sound Distortion Issue Fixed On Custom ROMs (After Flashing Viper)

Hi,
So whoever is using a custom ROM on Poco F1, has faced onething for sure after flashing Viper4Android or any other sound mod; and that is sound distortion when getting notifications.
I see a lot of people asking for a solution and until now we have all been telling them to either remove SoundFX folder from /Vendor/lib and /Vendor/lib64 or renaming the volumelistener.so in order for Viper to work properly.
While the above methods are correct, but it requires messing with the device manually and sometimes it becomes hard to revert back to the original state if necessary (read Bluetooth audio issue).
I have searched a lot for a solution which is more easy and can be resolved instantly if found any bug. And finally I have found a Magisk module which does exactly what we are seeking for.
The name of the Magisk module is NOTIFICATION HELPER REMOVER. It is available on Magisk repo or can be downloaded from here: https://zackptg5.com/android.php#nhr (credit goes to @Zackptg5).
Once downloaded, flash it on Magisk and when asked to choose in between volume up and down, press Volume Down and it will do the job for you. AML is not required. Once done, just reboot the device and send any message to your device and see. No more sound distortion!!
Basically, the module patches volume listener, but systemlessly. Which means you don't need to boot into twrp and mess with the Vendor partition. Anytime you wish to revert back to the original state, just uninstall the module and you are good to go.
I know the module has been there for quite sometime, but the reason of my post is to make people aware of it (since a lot of people actually don't know about it or overlook it).
Please note that I am not the developer of the module and if any credit is to be given, it should go to the developer himself.
If anyone still finds something wrong on this post, please let me know. I will rectify it immediately.
POCO F1 Fix Distorted Sounds Notifications issue on custom ROMs.
Rowdyy Ronnie said:
So whoever is using a custom ROM on Poco F1, has faced onething for sure after flashing Viper4Android or any other sound mod; and that is sound distortion when getting notifications.
................ rectify it immediately.
Click to expand...
Click to collapse
Good thread. :good: I confirmed on 26.12.18 that on POCO F1 this solution works. But people don't bother to read . :crying: and ask the same question everywhere.
Here was my post.. https://forum.xda-developers.com/showpost.php?p=78513504&postcount=195
SVR said:
Good thread. :good: I confirmed on 26.12.18 that on POCO F1 this solution works. But people don't bother to read . :crying: and ask the same question everywhere.
Here was my post.. https://forum.xda-developers.com/showpost.php?p=78513504&postcount=195
Click to expand...
Click to collapse
I feel the same way. Tired of telling the same thing on XDA and Telegram. Hope from now on, people just read this post and stop spamming XDA.
great job this works with dolby atmos too on android pie thanks
tinimc said:
great job this works with dolby atmos too on android pie thanks
Click to expand...
Click to collapse
Can you give me link for working one on Android Pie (Pixel Experience) in my case, or which module version in Magisk Manager. Thanks bro
https://www.google.com/amp/s/forum..../themes/dolby-atmos-android-9-0-t3874065/amp/ download dolby here and first you instal the fix from the thread install throught magisk v18
reboot
then install dolby atmos through magisk 18
and reboot
done its perfect for.me very loud sound
and on the headphones
and the fix works perfect i have no crackling sounds
im on pixel experience too eceything works perfect
and for a good suggestion use extreme kernel v8
its awsome battery life
tinimc said:
https://www.google.com/amp/s/forum..../themes/dolby-atmos-android-9-0-t3874065/amp/ download dolby here and first you instal the fix from the thread install throught magisk v18
reboot
then install dolby atmos through magisk 18
and reboot
done its perfect for.me very loud sound
and on the headphones
and the fix works perfect i have no crackling sounds
im on pixel experience too eceything works perfect
and for a good suggestion use extreme kernel v8
its awsome battery life
Click to expand...
Click to collapse
Thanks so much for all your tips. Cheers bro
Rowdyy Ronnie said:
Hi,
So whoever is using a custom ROM on Poco F1, has faced onething for sure after flashing Viper4Android or any other sound mod; and that is sound distortion when getting notifications.
I see a lot of people asking for a solution and until now we have all been telling them to either remove SoundFX folder from /Vendor/lib and /Vendor/lib64 or renaming the volumelistener.so in order for Viper to work properly.
While the above methods are correct, but it requires messing with the device manually and sometimes it becomes hard to revert back to the original state if necessary (read Bluetooth audio issue).
I have searched a lot for a solution which is more easy and can be resolved instantly if found any bug. And finally I have found a Magisk module which does exactly what we are seeking for.
The name of the Magisk module is called NOTIFICATION HELPER REMOVER. It is available on Magisk repo or can be downloaded from here: https://zackptg5.com/android.php#nhr (credit goes to @Zackptg5).
Once downloaded, flash it on Magisk and when prompted, press Volume Down and it will do job for you. Once done, just reboot the device and send any message to your device and see. No more sound distortion!!
Basically, the module patches volume listener, but systemlessly. Which means you don't need to boot into twrp and mess with the Vendor partition. Anytime you wish to revert back to the original state, just uninstall the module and you are good to go.
I know the module has been there for quite sometime, but the reason of my post is to make people aware of it (since a lot of people actually don't know about it or overlook it).
Please note that I am not the developer of the module and if any credit is to be given, it should go to the developer himself.
If anyone still finds something wrong on this post, please let me know. I will rectify it immediately.
Click to expand...
Click to collapse
Still experiencing crackLing sound and stutters on whatsapp voice notes.only. when its minimized or screen off
slimshouki said:
Still experiencing crackLing sound and stutters on whatsapp voice notes.only. when its minimized or screen off
Click to expand...
Click to collapse
I have the same exact issue
Tried two kernels and two vendors ( 9.1.3 and 9.1.10 ) and whenever whatsapp is minimzed or screen off I have cracking played sound
If dolby is disabled or uninstalled issue is gone
I started with notifc helper removal vol down then dolby 2711 version
I love dolby as it have louder and richier volume with simple config interface but whatspp voice notes are mandatory for me as well
I am on custom rom NOS with sphinclc kernel
Can anybody test and advise his results along with used ROM/Vendor/Kernel ?
Still crackling ringtone sounds on havoc rom
Possible solution
slimshouki said:
Still experiencing crackLing sound and stutters on whatsapp voice notes.only. when its minimized or screen off
Click to expand...
Click to collapse
I just have found something that works for me... Install Audio Modification Library and tthe crackling sound on whatsapp is gone ROM RevOs 9.5.1 MIUI 10 based!
Not working for me. I am on crdroid.
hownis the bluetoothnaudio does it work because with the vendor patches it stops working ?
vicmed94 said:
I just have found something that works for me... Install Audio Modification Library and tthe crackling sound on whatsapp is gone ROM RevOs 9.5.1 MIUI 10 based!
Click to expand...
Click to collapse
not working for me, I still have the problem with whatsapp . Im in the last version of xiaomi eu beta
When I try to flash notification helper, it is stuck. I have to restart the device.
So I went the route of deleting the soundfx files and now I can't use any type of sound modifiers like equalizers. How can I fix this?
I uninstalled viper and any other audio modules and still have sound distortion. help?
Rowdyy Ronnie said:
Hi,
So whoever is using a custom ROM on Poco F1, has faced onething for sure after flashing Viper4Android or any other sound mod; and that is sound distortion when getting notifications.
I see a lot of people asking for a solution and until now we have all been telling them to either remove SoundFX folder from /Vendor/lib and /Vendor/lib64 or renaming the volumelistener.so in order for Viper to work properly.
While the above methods are correct, but it requires messing with the device manually and sometimes it becomes hard to revert back to the original state if necessary (read Bluetooth audio issue).
I have searched a lot for a solution which is more easy and can be resolved instantly if found any bug. And finally I have found a Magisk module which does exactly what we are seeking for.
The name of the Magisk module is NOTIFICATION HELPER REMOVER. It is available on Magisk repo or can be downloaded from here: https://zackptg5.com/android.php#nhr (credit goes to @Zackptg5).
Once downloaded, flash it on Magisk and when asked to choose in between volume up and down, press Volume Down and it will do the job for you. AML is not required. Once done, just reboot the device and send any message to your device and see. No more sound distortion!!
Basically, the module patches volume listener, but systemlessly. Which means you don't need to boot into twrp and mess with the Vendor partition. Anytime you wish to revert back to the original state, just uninstall the module and you are good to go.
I know the module has been there for quite sometime, but the reason of my post is to make people aware of it (since a lot of people actually don't know about it or overlook it).
Please note that I am not the developer of the module and if any credit is to be given, it should go to the developer himself.
If anyone still finds something wrong on this post, please let me know. I will rectify it immediately.
Click to expand...
Click to collapse
HUGE THANKS! this method also works on redmi note 8 using GSI.
Help me
I used costum ROM and I heared noise in some games. Then I use the way you suggest, the noise on the games gone but the calls go on speaker when i answer them. Would you please guide me how to solve the problem?
thank you very much for your advice, cool! It works on Umidigi F1 with Evolution X 4.1 too.

[Treble GSI] [Umidigi One Max] GSI Experiments

Now that the Umidigi One Max has TWRP, it is now very easy to flash GSI ROMs.
I will try to keep track of different GSI that works (or not !) here, alongside with bugs. Testers are welcome !
I highly recommend GSI based off phhhuson's work, as he did great job to fix MTK issues. Some other GSI may work better. We definitely need testing !
10
Apparently it works as shown here: https://forum.xda-developers.com/showpost.php?p=80319007&postcount=13 credits to @4ctiv_
9.0 Pie
phhusson's AOSP :
Everything works as expected. Notification bar is of the wrong size, may need to create a patch for it. Tethering doesn't work with data ON !
Camera is good ! All cameras are recognized. Fingerprint sensor OK. Torch not working under 15% like in stock, this seems like a hardware thing.
Ongoing calls and SMS will not work first boot. Just reboot and it'll work.
Magisk 19+ doesn't show root prompts. Fix here
Pixel Launcher crashes, but it seems that it's the only google app that doesn't work. Google Phone works.
NFC doesn't appear at all. There is a fix with magisk tho ! See here (NFC4PRA)
ctsProfile doesn't pass. Using MagiskHidePropsConfig fixes the issue, but choosing "vendor fingerprint" bootloops​
Testers needed
8.1 Oreo
Testers needed
Do not hesitate to post what you find or your testing.
NOTE : Installing a GSI can be done via 3 methods : TWRP Image Flash, SP Flash Tool, or fastboot (needs unlocked bootloader)
For the first two methods, unlocked bootloader is not required ! TWRP can be flashed via SPFT aswell.
Enjoy your beautiful and modded phone
Make sure to check out my guide on installing GSIs at https://forum.xda-developers.com/android/development/umidigi-one-max-custom-rom-modding-t3942521/
I downloaded system-arm64-ab-gapps-su.xz, extracted the file, booted into TWRP, did a full wipe, and installed "image" system-arm64-ab-gapps-su.img. TWRP asks which partition to install it to. I selected "system". However, after install I go to reboot, and TWRP complains there is no OS. Am I missing something?
I did a complete backup in TWRP of all important partitions first (nvram, modem, system Etc.), so going back to my stock setup was not difficult. Those trying this, backup all important partitions from TWRP on to microsd!
For everyone, make sure you download AONLY images, not AB !
_cab13_ said:
Now that the Umidigi One Max has TWRP, it is now very easy to flash GSI ROMs.
I will try to keep track of different GSI that works (or not !) here, alongside with bugs. Testers are welcome !
I highly recommend GSI based off phhhuson's work, as he did great job to fix MTK issues. Some other GSI may work better. We definitely need testing !
10 Q Beta
Beta 4 : Probably not working, as our device is not system-as-root (but is VNDK isolation compatible)
Still needs testing
9.0 Pie
phhusson's AOSP :
Everything works as expected. Notification bar is of the wrong size, may need to create a patch for it. Wifi access point doesn't work.
Camera is good ! All cameras are recognized. Fingerprint sensor OK. Torch not working under 15% like in stock, this seems like a hardware thing.
Ongoing calls and SMS will not work first boot. Just reboot and it'll work.
Magisk 19+ doesn't show root prompts. Fix here
Pixel Launcher crashes, but it seems that it's the only google app that doesn't work. Google Phone works.
ctsProfile doesn't pass. Using MagiskHidePropsConfig fixes the issue, but choosing "vendor fingerprint" bootloops​
Testers needed
8.1 Oreo
Testers needed
Do not hesitate to post what you find or your testing.
NOTE : Installing a GSI can be done via 3 methods : TWRP Image Flash, SP Flash Tool, or fastboot (needs unlocked bootloader)
For the first two methods, unlocked bootloader is not required ! TWRP can be flashed via SPFT aswell.
Enjoy your beautiful and modded phone
Click to expand...
Click to collapse
I posted this in another forum, but for the life of me I do not know what is causing this issue. I installed RR rom located here:
https://get.resurrectionremix.com/?dir=gsi/
system-190120-arm64-aonly-vanilla-nosu.img
I also install, Gapps (pico), and Magisk.
It runs great, for the most part. However, if I start streaming a video from any app or start streaming music, after a short amount of time my Umidigi One Max:
A.) Announces, "Powering Down"
B.) Boots directly into TWRP
C.) If I reboot, it again boots directly into recovery. Almost as if the partition became corrupted.
D.) Try to recover a backup I made in twrp, reboot, again boots straight into recovery.
E.) If SP Flash can communicate with the phone, I can usually push all the stock images back to the phone. If not, I have to push the images via fastboot with my Ubuntu PC.
If I do any other CPU intensive task under a GSI ROM, it doesn't have this issue, only when I stream video. I haven't tried any games to see if it causes this behavior.
I have tried multiple GSI Roms located here too, same problem:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
I do not believe the device is overheating, it's usually around 32-34C from the TWRP menu at that point. I really like the RR Rom, but if I cannot figure out what is causing this, I'll have to stray away from GSI for now.
As a sidenote, this issue of the device suddenly powering down after starting to stream a video, does not happen with the stock ROM. I am kind of at a loss on this one.
Weirdest thing I have experienced running a custom ROM.
Yeah it happened to me sometimes as well... The phone goes straight into recovery and then never goes to system again. I haven't found the cause of it.
Did you try the NFC fix for the one pro (I got it from the umdigi forum one Pro and then the thread custom ROMs)
phhusson's AOSP is mostly good. But I noticed the wifi often gets disconnected and has performance issue too.
w1lh3lm3d said:
Did you try the NFC fix for the one pro (I got it from the umdigi forum one Pro and then the thread custom ROMs)
Click to expand...
Click to collapse
I posted a fix that works. Here it is if you didn't see : https://forum.xda-developers.com/p8...pment/flashable-nfc-kirin655-devices-t3811916
tomprc said:
phhusson's AOSP is mostly good. But I noticed the wifi often gets disconnected and has performance issue too.
Click to expand...
Click to collapse
I don't get any performance issue. The only issues is that some ongoing calls doesn't come, and sometimes 4G totally glitches out. Other than that it's pretty much all.
@ _cab13_
i cant find the vendor folder in twrp in the mount section or in the file manager.
what have i done wrong? ok i started from scratch and then it worked porfectly
thx you for your work and help
Engineering mode access or work around
On the 9.0 ROM I cant seem to access engineering mode via the keypad, I need to sort the handset speaker out. Is there any other way to access it or some way of tweaking the voice settings through the shell?
Any help would be appreciated.
Please help
I'm trying to get the new phh Android q to boot and and I'm a newbiew
Just booted from Android 10 GSI 200 c. by PhhTrebble without any problems (flashed latest stock before). Just to let you guys know Will update bugs and working stuff tomorrow.
[Update]
Missing features
_________________
NFC missing and magisk patch did not work for me
Media playback in for exampel youtube/instagramm/reddit etc. not working in apps but in browser it workes.
Bugs:
_________________
Sometimes apps crash
SD-card "has to be formated to use" // I did not try formating yet
Sometimes Youtube playback fixes itself if you tab out and go back to the video or if you open the help page of YT (top right corner question mark symbol) and go back to the video
Be aware that the 200.c phh gsi i used is still in development but as you can see it is totally capable to use as daily driver
[UPDATE 2]
- Missing features is still NFC
- In PHHSolution "AOSP 10.0 v211" mediaplayback got fixed (Tested with "system-quack-arm64-aonly-gapps.img.xz" )
On Phh's 9 v119 Is the headphone jack sensor working for anyone. (If so how)
4ctiv_ said:
Just booted from Android 10 GSI 200 c. by PhhTrebble without any problems (flashed latest stock before). Just to let you guys know Will update bugs and working stuff tomorrow.
[Update]
Missing features
_________________
NFC missing and magisk patch did not work for me
Media playback in for exampel youtube/instagramm/reddit etc. not working in apps but in browser it workes.
Bugs:
_________________
Sometimes apps crash
SD-card "has to be formated to use" // I did not try formating yet
Sometimes Youtube playback fixes itself if you tab out and go back to the video or if you open the help page of YT (top right corner question mark symbol) and go back to the video
Be aware that the 200.c phh gsi i used is still in development but as you can see it is totally capable to use as daily driver
Click to expand...
Click to collapse
did you use the a only or ab image?
I've tried flashing multiple android 10 GSIs from the phhusson GSI wiki list.
I've tried phhusson's AOSP ROM, CAOS, Lineage 17.1 and POSP. It seems like they all freeze at the splash screen and get stuck loading forever (confirmed, I left it on all night last night). I've tried disabling force encryption, I've tried not installing magisk. Not really sure where to go from here with Android 10.
I've also tried Android 9 with much more success: it boots, it works, but the only thing I can't seem to get is NFC. Has anyone found a way to get NFC to work on any android version with this device? Or do I have to go back to stock android 8?
Thanks!
seiyria said:
I've tried flashing multiple android 10 GSIs from the phhusson GSI wiki list.
I've tried phhusson's AOSP ROM, CAOS, Lineage 17.1 and POSP. It seems like they all freeze at the splash screen and get stuck loading forever (confirmed, I left it on all night last night). I've tried disabling force encryption, I've tried not installing magisk. Not really sure where to go from here with Android 10.
I've also tried Android 9 with much more success: it boots, it works, but the only thing I can't seem to get is NFC. Has anyone found a way to get NFC to work on any android version with this device? Or do I have to go back to stock android 8?
Thanks!
Click to expand...
Click to collapse
I'm in the same boat bro. I've just tried both the latest phhusson AOSP 10 ROM as well as an older version of the same ROM, and both time I get caught in a loop after install. Completely wiped beforehand, tried installing with and without Magisk/Disable-Force-Encryption. Going to have to bring it back down to Android 9. I wonder how 4ctiv_ got it working?
so first you have to no encryption then erase and format data
flash android 10 arm 64 a without gapps build (image) to system i use havoc 3.5 and everything exept nfc works
then install gapps (it failed for me so i had to resize system in twrp and install gapps again
last step is to flash the custom phhson magisk
then just reboot wihout wipping
Thank you so much for your work...
Hi, I'm a long time Android user and I used to code apps, if I can be of any help please let me know but I'm now disabled wheel chair user with dystonia so I find it extremely difficult to type now so I use voice to text... I really enjoy using the umidigi one max it has the storage and usability of a much more expensive phone, also functionally for me the wireless charging and NFC make my life so much easier as I find cables akward and payments at shops much easier.
I read about the Treble programmea while ago and recently read this article and if it is possible to get the NFC working on this update, I will be so greatful as it will extend the life of this great phone for me.
Good luck with your work and thank you in advance.
4ctiv_ said:
Just booted from Android 10 GSI 200 c. by PhhTrebble without any problems (flashed latest stock before). Just to let you guys know Will update bugs and working stuff tomorrow.
[Update]
Missing features
_________________
NFC missing and magisk patch did not work for me
Media playback in for exampel youtube/instagramm/reddit etc. not working in apps but in browser it workes.
Bugs:
_________________
Sometimes apps crash
SD-card "has to be formated to use" // I did not try formating yet
Sometimes Youtube playback fixes itself if you tab out and go back to the video or if you open the help page of YT (top right corner question mark symbol) and go back to the video
Be aware that the 200.c phh gsi i used is still in development but as you can see it is totally capable to use as daily driver
[UPDATE 2]
- Missing features is still NFC
- In PHHSolution "AOSP 10.0 v211" mediaplayback got fixed (Tested with "system-quack-arm64-aonly-gapps.img.xz" )
Click to expand...
Click to collapse

[GUIDE] Get perfect surround sound from phone speaker with dolby atmos and viper4a

INTRODUCTION
*WARNING USE AT YOUR OWN RISKS*
Though the poco F1 has stereo speakers, the earpiece is sort of weak in comparison to bottom one and so the sound quality falls short when compared to other phones with dual speakers. With this guide, you can make your phone sound much balanced, immersive and better. Basically what it does is increase audio coming out from earpiece by using viper in combination with Dolby. Also this does not increases sound from earpiece beyond max level but instead reduces volume of bottom speaker slightly so it will not damage your speaker
REQUIREMENTS
Any custom rom with magisk and permissive SElinux
STEPS
1. Flash permissiver zip or use SElinux switcher to make SElinux permissive for Dolby module to work
2. Flash viper4a rootless zip in TWRP
3. Flash v4afx zip in magisk then reboot and test if Viper4A is successfully installed and working
4. Flash ACDB zip first in magisk then flash dolby audio zip and then reboot. You should now have moto audio app installed and working.
5. Put XHR WideFX irs file to main storage/Android/data/com.pittvandewitt.viperfx/files/Kernel
6. In Viper, enable convolver then choose the file to enable it.
7. For dolby, the default settings (smart audio) is great but personally I use film mode with surround sound and volume leveller enabled.
I have tested this in evolution X rom and it should work in other roms also. For stock rom it may require a custom kernel. If Dolby Atmos doesn't work then try Dolby Digital instead.
If you face issues like Dolby getting disabled automatically then heading to viper settings and switching Attach Audio Effects toggle or rebooting the system fixes it. If dolby app force closes then reflash it and clear catch after installation
DOWNLOAD
https://drive.google.com/folderview?id=1ublWcvZQ8QrQ0-uvMDlFTTEssLpcsoBC
its really sad there's no link :crying: hmmmm
new user not allowed to attach file / url original thread to their post ?
DOYANMAIN said:
its really sad there's no link :crying: hmmmm
new user not allowed to attach file / url original thread to their post ?
Click to expand...
Click to collapse
I updated the post with download link. XDA have a rule to not allow very new users from posting links or attachments. But by doing a few posts it allowed me to do so.
Geetesh Sonwani said:
STEPS
1. Install Audio Compability Patch first in magisk then reboot
Click to expand...
Click to collapse
Do you want to skip audio_policy patching? (Original acp before became 3in1 module)
Vol+ = yes, Vol- = no
Would you like to skip notification_helper remover?
Vol+ = yes, Vol- = no
Would you like to skip usb policy patching for usb dacs?
Vol+ = yes, Vol- = no
Should i skip this ? Or No ? Is this really matter ? because i really dont know what their usage for, so i just skip it
and also
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
so it is successfull or nah ? i confuse
i already installed v4afx via magisk ( STEP 3 ) and it working.
BUT
DOYANMAIN said:
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
Click to expand...
Click to collapse
It this thing ? should i ignore it since my viper4a working ?
DOYANMAIN said:
Do you want to skip audio_policy patching? (Original acp before became 3in1 module)
Vol+ = yes, Vol- = no
Would you like to skip notification_helper remover?
Vol+ = yes, Vol- = no
Would you like to skip usb policy patching for usb dacs?
Vol+ = yes, Vol- = no
Should i skip this ? Or No ? Is this really matter ? because i really dont know what their usage for, so i just skip it
and also
on STEP 2, when i installing viper4a rootless in twrp it say done but i got red warning it say "unable to mount system"
so it is successfull or nah ? i confuse
i already installed v4afx via magisk ( STEP 3 ) and it working.
BUT
It this thing ? should i ignore it since my viper4a working ?
Click to expand...
Click to collapse
On first choose no then select patch (new logic) then again choose no for notification helper and select remove volume listener library
Even if you skipped it wouldn't matter much because ACP is used just to fix audio not working in some apps and it does slightly enhances audio quality and volume.
For usb dac you can choose yes if you don't use wired headphones from usb c port
For viper though, you shouldn't get that warning
Maybe problem could be in your twrp
Manually mount system in twrp then try flashing again. If it didn't work you may have to reflash recovery
But you said that it is working? Did you tested the audio also? Because the magisk module only installs the app and some configs. The drivers are installed from recovery. You can also tap on the chip like icon button in viper and it should show the driver info and enabled as yes properly
Geetesh Sonwani said:
On first choose no then select patch (new logic) then again choose no for notification helper and select remove volume listener library
Even if you skipped it wouldn't matter much because ACP is used just to fix audio not working in some apps and it does slightly enhances audio quality and volume.
For usb dac you can choose yes if you don't use wired headphones from usb c port
For viper though, you shouldn't get that warning
Maybe problem could be in your twrp
Manually mount system in twrp then try flashing again. If it didn't work you may have to reflash recovery
But you said that it is working? Did you tested the audio also? Because the magisk module only installs the app and some configs. The drivers are installed from recovery. You can also tap on the chip like icon button in viper and it should show the driver info and enabled as yes properly
Click to expand...
Click to collapse
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
DOYANMAIN said:
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
Click to expand...
Click to collapse
Dolby Atmos is known to not work as of now in stock kernel or roms for many devices as it is still under development. You can try dolby digital instead
But are you getting the same error on twrp for viper? With system not mounting?
Unfortunately I don't have much idea for viper so I can help you till the limits of my knowledge only
Anybody make it work with Pixel Experience ROM 10.0'
Hi, I want to install it and I have Pixel Experience ROM 10.0 Official. I'm curious if anybody successfully instaled it on this ROM.
Thanks
Geetesh Sonwani said:
INTRODUCTION
Though the poco F1 has stereo speakers, the earpiece is kinda weak in comparison to bottom one and so it doesn't give that true stereo like audio performance (surround sound) compared to other phones with dual speakers. But with this guide, you can make your phone sound much balanced, immersive and better with Dolby Atmos and Viper. It actually feels like if the sound is coming towards you and not from the side
This requires the XHR WideFX irs. This is the only one I found till now which worked so perfectly with atmos after testing 500+ irs files.
REQUIREMENTS
Any android 9+ rom with magisk and permissive SElinux
STEPS
1. Install Audio Compability Patch first in magisk then reboot
2. Flash viper4a rootless zip in TWRP
3. Flash v4afx zip in magisk then again reboot and confirm if Viper4A is successfully installed and working
4. Flash Dolby Atmos zip file in magisk (you can download it from guitardedhero's post also for new version) and reboot. You should have both Dolby Atmos and Viper4A working at this point
5. Now to get that stereo sound effect, put XHR WideFX irs file in main storage/Viper4Android/Kernel folder
6. Open Viper and enable convolver then choose the same.
You can now test the sound and enjoy the stereo sound effect. It is best for gaming or while watching movies.
I have tested this in evolution X 4.0 rom and it should work in other roms also but I am not sure for OOS. For stock rom it may require a custom kernel. If it works in your rom then please comment down below so that others could also know it.
If you face issues regarding Dolby getting disabled automatically then heading to viper settings and switching Attach Audio Effects toggle or rebooting the system fixes it.
DOWNLOAD
https://drive.google.com/folderview?id=1E1ALAVIp82Cx36Dua1zCf8c5sWvt4z9m
Click to expand...
Click to collapse
puiocku said:
Hi, I want to install it and I have Pixel Experience ROM 10.0 Official. I'm curious if anybody successfully instaled it on this ROM.
Thanks
Click to expand...
Click to collapse
I have personally tested it in PE pie and Evo X 10 version. But this one should work in any android 10 based custom rom as long as you don't have any other audio mods installed conflicting it or else you may require AML also.
Geetesh Sonwani said:
I have personally tested it in PE pie and Evo X 10 version. But this one should work in any android 10 based custom rom as long as you don't have any other audio mods installed conflicting it or else you may require AML also.
Click to expand...
Click to collapse
Thank you, in that case I think too that should work fine with Pixel Experience 10.0 ROM.
Cheers
DOYANMAIN said:
Yes even tho i got warning, but it properly working. I already use it like 6hour, all is working fine.
but when i installing Dolby Atmos, i got bootloop and force me to bootloader. but when restarting phone i can access twrp, just removing them in module via twrp everything is back normal.
but i think it doesnt support latest MIUI Global 11.0.4 ? i got stock MIUI11
Anyway, after wiping module via twrp my viper now doesnt have driver on the app. i already doing the exactly same step 1 - 3 to install viper and it didnt work rightnow. driver still doesnt work even tho i tried installing this many times.
I already go to viper4x thread, someone say need to overwrite 2 file ( post-fs-data.sh & sepolicy.rule ) but still doesnt fix driver.
maybe you know how to ? :laugh:
Click to expand...
Click to collapse
+1.
Viper is working fine but after installing Dolby Atmos and rebooting i am stuck at Fastboot, had to remove the dolby module.
Is this related to Miui 11 or some selinux problem??
Please suggest some workaround.
Will this work on miui 11?
Ravindrasan said:
+1.
Viper is working fine but after installing Dolby Atmos and rebooting i am stuck at Fastboot, had to remove the dolby module.
Is this related to Miui 11 or some selinux problem??
Please suggest some workaround.
Click to expand...
Click to collapse
Looks like it doesn't work in miui as of now
But you can try dolby digital instead which is also good. Dolby Atmos is still like an early release and currently only works in custom roms and kernels
But remember to choose the IRS file in viper. That makes the earpiece work more balanced. Dolby is just to further enhance the sound quality.
Geetesh Sonwani said:
Looks like it doesn't work in miui as of now
But you can try dolby digital instead which is also good. Dolby Atmos is still like an early release and currently only works in custom roms and kernels
But remember to choose the IRS file in viper. That makes the earpiece work more balanced. Dolby is just to further enhance the sound quality.
Click to expand...
Click to collapse
Same is happening in Evolution X I'm stuck at bootloader..
It's not even working in a custom rom.
Works perfectly with Pixel Experience (Android9) + No Gravity Karnel.
Thank you, so wonderful!
Thanks for stereo convolver file, but dolby atmos giving bootloop on miui 11.0.6 android 10
I'm running Pixel Experience Plus Android 10 on my poco. I've managed to get V4A to work but when I flash Dolby Atmos and reboot the device and try to open it nothing happens and after some time and after 10-15 attempts of trying to open it a crash message appears. I also tried installing Dolby Digital Plus for Android Q but that crashes as well
naziraaqib3k said:
I'm running Pixel Experience Plus Android 10 on my poco. I've managed to get V4A to work but when I flash Dolby Atmos and reboot the device and try to open it nothing happens and after some time and after 10-15 attempts of trying to open it a crash message appears. I also tried installing Dolby Digital Plus for Android Q but that crashes as well
Click to expand...
Click to collapse
Make sure that SELinux is permissive as they will not work in enforcing
Flash permissiver zip file to fix it
I am also currently on PE+ latest and have not encountered any such issues
My recommendation is use Dolby digital instead as it is more stable (v7.2)
Geetesh Sonwani said:
Make sure that SELinux is permissive as they will not work in enforcing
Flash permissiver zip file to fix it
I am also currently on PE+ latest and have not encountered any such issues
My recommendation is use Dolby digital instead as it is more stable (v7.2)
Click to expand...
Click to collapse
I've used this setup on miui 11 eu version and it ran just fine also I had already set SELinux to Permissive uaing the SELinux Switcher. Also can you provide me with the link to dolby digital link. Thank you for your help.
naziraaqib3k said:
I've used this setup on miui 11 eu version and it ran just fine also I had already set SELinux to Permissive uaing the SELinux Switcher. Also can you provide me with the link to dolby digital link. Thank you for your help.
Click to expand...
Click to collapse
Here is the original thread -
https://forum.xda-developers.com/android/software/mm-p-dolby-digital-plus-arise-20181115-t3868192/amp/

[HELP!!!] Making Viper4Android work in Samsung SnapDragon

Ok, I am now desperate. I've tried everything I could find and nothing worked. I have posted in several threads, pmed a bunch of people, got some answers and help, but my problem continues.
I have a Samsung S21+ (Exynos) running Android 12 and Viper4Android works great. My Samsung S22 Ultra, rooted SnapDragon running Android 12 with Dr. Ketan ROM keeps asking for drivers everytime I open V4A (driver installation loop).
I have tried everything I could find in XDA, including:
- Several modules like: AML, Audio Compatibility Patch, Dolby, JamesDSP, V4A Repacked, Shadow fix and several other modules fixes. All of those in different orders of installation according to the thread they were described. Didn't work.
- Changing post-fs-data.sh. At this time, I noticed that my device only has audio_effects.xml in two paths: vendor/etc and vendor/etc/audio/sku_taro (system/vendor is the same as vendor/). So, I changed the "mount" path inside post-fs-data.sh to those two path and pasted it again inside data/adb/modules/Viper4AndroidFX/. Didn't work.
- As nothing worked, I began to try to understand what the hell V4A needs to work. I noticed that my device have several audio_effects xml that have code lines with "V4A" inside vendor/etc. Those are:
audio_effects_haptic.xml
audio_effects_sec.xml
audio_effects_vr360.xml
audio_effects.xml
There are other audio xml, but they doesn't seem to have V4A lines. Those files, however were not present in sku_taro folder. And I'm not sure if they should. Sku_taro folder files cannot be renamed/edited, so I had to create a magisk module for that.
I added all those 4 modified files (copied from vendor/etc) to sku_taro. Also, sku_taro have audio_effects.conf, while vendor/etc doesn't. However V4A ins't able to modify any file insisde sku_taro, so I don't have a modified version of audio_effects.conf.I tried pasting audio_effects_common.conf from my S21+ (Exynos) but didn't work.
So, what I need is help from someone who knows about Samsung devices or has a Samsung Snapdragon running Android 12 and V4A. If someone has aphone from S21 line SnapDragon running A12 and V4A, please help me!
What I need to know is:
1- What V4A modified files should be in each of the vendor folders?
2- What should be added in audio_effects.conf?
3- Should I use post-fs-data.sh?
I really, really hope we can fix that. I'm sure there will be a LOT of Samsung users that will be very happy if we do.
PS: Some info
Phone: Samsung Galaxy S22 Ultra (S908E) SnapDragon Android 12
Root: Magisk 24.3 (Dr. Ketan ROM).
SELinux: "Permissive" when command getenforce on Termux
If any more information, like prints or file code lines are needed I can provide them!
Also fellow S22U Snapdragon owner here (S908N). I've been seeing you around the threads as I am also trying to get Viper working on this thing. Hope you find a way to get it working, I hope you'll share the steps if you can make it work. Best of luck.
If you want an accelerated progress you might have to put a bounty on this.
ffp. said:
Ok, I am now desperate. I've tried everything I could find and nothing worked. I have posted in several threads, pmed a bunch of people, got some answers and help, but my problem continues.
I have a Samsung S21+ (Exynos) running Android 12 and Viper4Android works great. My Samsung S22 Ultra, rooted SnapDragon running Android 12 with Dr. Ketan ROM keeps asking for drivers everytime I open V4A (driver installation loop).
I have tried everything I could find in XDA, including:
- Several modules like: AML, Audio Compatibility Patch, Dolby, JamesDSP, V4A Repacked, Shadow fix and several other modules fixes. All of those in different orders of installation according to the thread they were described. Didn't work.
- Changing post-fs-data.sh. At this time, I noticed that my device only has audio_effects.xml in two paths: vendor/etc and vendor/etc/audio/sku_taro (system/vendor is the same as vendor/). So, I changed the "mount" path inside post-fs-data.sh to those two path and pasted it again inside data/adb/modules/Viper4AndroidFX/. Didn't work.
- As nothing worked, I began to try to understand what the hell V4A needs to work. I noticed that my device have several audio_effects xml that have code lines with "V4A" inside vendor/etc. Those are:
audio_effects_haptic.xml
audio_effects_sec.xml
audio_effects_vr360.xml
audio_effects.xml
There are other audio xml, but they doesn't seem to have V4A lines. Those files, however were not present in sku_taro folder. And I'm not sure if they should. Sku_taro folder files cannot be renamed/edited, so I had to create a magisk module for that.
I added all those 4 modified files (copied from vendor/etc) to sku_taro. Also, sku_taro have audio_effects.conf, while vendor/etc doesn't. However V4A ins't able to modify any file insisde sku_taro, so I don't have a modified version of audio_effects.conf.I tried pasting audio_effects_common.conf from my S21+ (Exynos) but didn't work.
So, what I need is help from someone who knows about Samsung devices or has a Samsung Snapdragon running Android 12 and V4A. If someone has aphone from S21 line SnapDragon running A12 and V4A, please help me!
What I need to know is:
1- What V4A modified files should be in each of the vendor folders?
2- What should be added in audio_effects.conf?
3- Should I use post-fs-data.sh?
I really, really hope we can fix that. I'm sure there will be a LOT of Samsung users that will be very happy if we do.
PS: Some info
Phone: Samsung Galaxy S22 Ultra (S908E) SnapDragon Android 12
Root: Magisk 24.3 (Dr. Ketan ROM).
SELinux: "Permissive" when command getenforce on Termux
If any more information, like prints or file code lines are needed I can provide them!
Click to expand...
Click to collapse
Okay, I got JamesDSP working now. Had to install AML, and then install JameDSP with the Huawei installation method. I'm gonna try to flash Viper on see if that does anything.
Fireburito said:
Okay, I got JamesDSP working now. Had to install AML, and then install JameDSP with the Huawei installation method. I'm gonna try to flash Viper on see if that does anything.
Click to expand...
Click to collapse
I tried that too. I can get Jamesdsp to work, but it is way inferior to V4A. At least I couldn't get a good bass from it.
I know several other users that want that too. It would be nice to have someone who knows the working of V4A to help or at least a S21 SD owner to share his files and codes, maybe we can copy them.
What you mean by bounty? I ambwilling to try anything for this to work and I will not stop until we make it. The main reason I rooted this damn thing was to get V4A.
ffp. said:
I tried that too. I can get Jamesdsp to work, but it is way inferior to V4A. At least I couldn't get a good bass from it.
I know several other users that want that too. It would be nice to have someone who knows the working of V4A to help or at least a S21 SD owner to share his files and codes, maybe we can copy them.
What you mean by bounty? I ambwilling to try anything for this to work and I will not stop until we make it. The main reason I rooted this damn thing was to get V4A.
Click to expand...
Click to collapse
Yeah, before I couldn't even get JamesDSP to work, so just having it now as some form sound mod is semi-okay. I'm trying to use that to piggyback off to install Viper, but to no avail.
I think it's something with the Huawei install method that got it working ? As installing with the normal method before just made the app crash. The module files in JamesDSP correctly targeted the sku-taro folders too, unlike Viper.
A bounty is basically you post a reward amount to any dev that can get Viper working on our SD S22U, it will at least get some experienced and knowledgeable people onboard trying to figure it out instead of us grasping at straws.
Fireburito said:
Yeah, before I couldn't even get JamesDSP to work, so just having it now as some form sound mod is semi-okay. I'm trying to use that to piggyback off to install Viper, but to no avail.
I think it's something with the Huawei install method that got it working ? As installing with the normal method before just made the app crash. The module files in JamesDSP correctly targeted the sku-taro folders too, unlike Viper.
A bounty is basically you post a reward amount to any dev that can get Viper working on our SD S22U, it will at least get some experienced and knowledgeable people onboard trying to figure it out instead of us grasping at straws.
Click to expand...
Click to collapse
I understand. That's a good idea. And I am willing to help the devs anyway i can.
How do I start the bounty? Where should I post and how I get people to participate?
I know there are a bunch of people who wants that.
Also, it would be very good to know if v4a works in S21 SD, since that can either lead to a hint on how to make it work or at least get more people into the matter, since the systems probably are very similar.
ffp. said:
I understand. That's a good idea. And I am willing to help the devs anyway i can.
How do I start the bounty? Where should I post and how I get people to participate?
I know there are a bunch of people who wants that.
Also, it would be very good to know if v4a works in S21 SD, since that can either lead to a hint on how to make it work or at least get more people into the matter, since the systems probably are very similar.
Click to expand...
Click to collapse
No idea tbh, I saw one guy post a bounty to get viper working on snapdragon s21 ultra, and it was claimed, but that was mostly it. I don't participate in these forums much so don't know about the specifics.
I have seen a few posts about snapdragon S21U with viper on one ui 4, but whatever methods they were using didn't work on s22u iirc, probably because those phones started with android 10, 11, whilst S22U is android 12 out of the box.
ffp. said:
Ok, I am now desperate. I've tried everything I could find and nothing worked. I have posted in several threads, pmed a bunch of people, got some answers and help, but my problem continues.
I have a Samsung S21+ (Exynos) running Android 12 and Viper4Android works great. My Samsung S22 Ultra, rooted SnapDragon running Android 12 with Dr. Ketan ROM keeps asking for drivers everytime I open V4A (driver installation loop).
I have tried everything I could find in XDA, including:
- Several modules like: AML, Audio Compatibility Patch, Dolby, JamesDSP, V4A Repacked, Shadow fix and several other modules fixes. All of those in different orders of installation according to the thread they were described. Didn't work.
- Changing post-fs-data.sh. At this time, I noticed that my device only has audio_effects.xml in two paths: vendor/etc and vendor/etc/audio/sku_taro (system/vendor is the same as vendor/). So, I changed the "mount" path inside post-fs-data.sh to those two path and pasted it again inside data/adb/modules/Viper4AndroidFX/. Didn't work.
- As nothing worked, I began to try to understand what the hell V4A needs to work. I noticed that my device have several audio_effects xml that have code lines with "V4A" inside vendor/etc. Those are:
audio_effects_haptic.xml
audio_effects_sec.xml
audio_effects_vr360.xml
audio_effects.xml
There are other audio xml, but they doesn't seem to have V4A lines. Those files, however were not present in sku_taro folder. And I'm not sure if they should. Sku_taro folder files cannot be renamed/edited, so I had to create a magisk module for that.
I added all those 4 modified files (copied from vendor/etc) to sku_taro. Also, sku_taro have audio_effects.conf, while vendor/etc doesn't. However V4A ins't able to modify any file insisde sku_taro, so I don't have a modified version of audio_effects.conf.I tried pasting audio_effects_common.conf from my S21+ (Exynos) but didn't work.
So, what I need is help from someone who knows about Samsung devices or has a Samsung Snapdragon running Android 12 and V4A. If someone has aphone from S21 line SnapDragon running A12 and V4A, please help me!
What I need to know is:
1- What V4A modified files should be in each of the vendor folders?
2- What should be added in audio_effects.conf?
3- Should I use post-fs-data.sh?
I really, really hope we can fix that. I'm sure there will be a LOT of Samsung users that will be very happy if we do.
PS: Some info
Phone: Samsung Galaxy S22 Ultra (S908E) SnapDragon Android 12
Root: Magisk 24.3 (Dr. Ketan ROM).
SELinux: "Permissive" when command getenforce on Termux
If any more information, like prints or file code lines are needed I can provide them!
Click to expand...
Click to collapse
Well did you figure it out?
ffp. said:
Ok, I am now desperate. I've tried everything I could find and nothing worked. I have posted in several threads, pmed a bunch of people, got some answers and help, but my problem continues.
I have a Samsung S21+ (Exynos) running Android 12 and Viper4Android works great. My Samsung S22 Ultra, rooted SnapDragon running Android 12 with Dr. Ketan ROM keeps asking for drivers everytime I open V4A (driver installation loop).
I have tried everything I could find in XDA, including:
- Several modules like: AML, Audio Compatibility Patch, Dolby, JamesDSP, V4A Repacked, Shadow fix and several other modules fixes. All of those in different orders of installation according to the thread they were described. Didn't work.
- Changing post-fs-data.sh. At this time, I noticed that my device only has audio_effects.xml in two paths: vendor/etc and vendor/etc/audio/sku_taro (system/vendor is the same as vendor/). So, I changed the "mount" path inside post-fs-data.sh to those two path and pasted it again inside data/adb/modules/Viper4AndroidFX/. Didn't work.
- As nothing worked, I began to try to understand what the hell V4A needs to work. I noticed that my device have several audio_effects xml that have code lines with "V4A" inside vendor/etc. Those are:
audio_effects_haptic.xml
audio_effects_sec.xml
audio_effects_vr360.xml
audio_effects.xml
There are other audio xml, but they doesn't seem to have V4A lines. Those files, however were not present in sku_taro folder. And I'm not sure if they should. Sku_taro folder files cannot be renamed/edited, so I had to create a magisk module for that.
I added all those 4 modified files (copied from vendor/etc) to sku_taro. Also, sku_taro have audio_effects.conf, while vendor/etc doesn't. However V4A ins't able to modify any file insisde sku_taro, so I don't have a modified version of audio_effects.conf.I tried pasting audio_effects_common.conf from my S21+ (Exynos) but didn't work.
So, what I need is help from someone who knows about Samsung devices or has a Samsung Snapdragon running Android 12 and V4A. If someone has aphone from S21 line SnapDragon running A12 and V4A, please help me!
What I need to know is:
1- What V4A modified files should be in each of the vendor folders?
2- What should be added in audio_effects.conf?
3- Should I use post-fs-data.sh?
I really, really hope we can fix that. I'm sure there will be a LOT of Samsung users that will be very happy if we do.
PS: Some info
Phone: Samsung Galaxy S22 Ultra (S908E) SnapDragon Android 12
Root: Magisk 24.3 (Dr. Ketan ROM).
SELinux: "Permissive" when command getenforce on Termux
If any more information, like prints or file code lines are needed I can provide them!
Click to expand...
Click to collapse
All that you should need is root, your device set to permissive mode, install V4A and let it install the drivers when it prompts you the first time you open V4A(grant V4A superuser/root permissions).
Can you confirm that you are properly rooted with correct permissions and r/w properly set?
Can you confirm your device is actually in permissive mode?
I will add that you could also use Wavelet
Wavelet: headphone specific EQ - Apps on Google Play
Headphone specific equalization with lots of customizability
play.google.com
Made by the same developer whom made Viper4Android. There are reports saying It provides the same level of quality.
Droidriven said:
All that you should need is root, your device set to permissive mode, install V4A and let it install the drivers when it prompts you the first time you open V4A(grant V4A superuser/root permissions).
Can you confirm that you are properly rooted with correct permissions and r/w properly set?
Can you confirm your device is actually in permissive mode?
Click to expand...
Click to collapse
Yes, i have root, however S22U do not havr system rw. I can change things via magisk, though.
No, i didn't manage to get it to work. I'm using james dsp, which is pretty good if correctly set.
I had custom kernel (obligated, to have unofficial TWRP installed) with SElinux permissive mode permanently - V4A still did not work on my s22u model S908E (snapdragon; stock A12) - Kept getting driver install loop everytime I opened V4A app.
According to Dr. Ketan (see link message), V4A will not work on s22u Snapdragon models regardless of SElinux being permissive or enforcing.
Awaiting new development/ resurrection of this beloved sound Mod (s22u speakers suck, coming from a buttery smooth ROG-3).
GitHub - AndroidAudioMods/ViPERFX_RE: Reverse Engineering of ViPER4Android FX
Reverse Engineering of ViPER4Android FX. Contribute to AndroidAudioMods/ViPERFX_RE development by creating an account on GitHub.
github.com
Fytdyh said:
I will add that you could also use Wavelet
Wavelet: headphone specific EQ - Apps on Google Play
Headphone specific equalization with lots of customizability
play.google.com
Made by the same developer whom made Viper4Android. There are reports saying It provides the same level of quality.
Click to expand...
Click to collapse
they didnt make viper for Android. He had no part in the development of the so driver that makes the sound change. Viper520 did and I still dont understand why he walked away and has never came back. Dewitt just made some changes to the apk file. I can assure you he hasnt got a clue on how to make a sound driver. Technically james dsp is a so file sound driver that he did make.
I have a new tab s8 plus on one ui 4.1.1 right now and I can't believe viper wont work with a permissive kernel even. I like you guys got jamesdsp to work by installing as Huawei device and thought maybe that would correct the problem with viper and it didnt.
I do believe system RW would make the difference and I know the developer for the S8 tablet is working on making a twrp and a rw file that will work on that. I thought the s22 ultra was able to make RW now with the RW file. You would have to find the twrp tab s8, s8+, s8 ultra thread and go onto their telegram where DR. Keaton also hangs out and see if it works on the s22 ultra because its working on some devices. I was thinking s22 ultra and fold 4. I don't know how long until the tab s8 will have it and I hope you guys read this look into and try it and get viper4android working. So god speed
James dsp installs a lib64 driver into the system when you use Huawei setting. Normally the sound driver installs in the lib folder instead. I dont think its possible with viper
Huawei install
/data/adb/modules/ainur_jamesdsp/system/vendor/lib64/soundfx/libjamesdsp.so
Normal install
/data/adb/modules/ainur_jamesdsp/system/vendor/lib/soundfx/libjamesdsp.so
I do believe system RW will allow viper to work
Im almost 95 percent sure s
ffp. said:
I understand. That's a good idea. And I am willing to help the devs anyway i can.
How do I start the bounty? Where should I post and how I get people to participate?
I know there are a bunch of people who wants that.
Also, it would be very good to know if v4a works in S21 SD, since that can either lead to a hint on how to make it work or at least get more people into the matter, since the systems probably are very similar.
Click to expand...
Click to collapse
Have you made your system read/write yet? Im 95 percent certain that the problem. Im on android 13 on my poco f3 and now viper wont install and it says Error Could not mount system read write s22 ultra is able to be rw with Dr. Keaton's stuf I believe
It worked?
amar100 said:
It worked?
Click to expand...
Click to collapse
I couldn't figure it out you want to try mine?
amar100 said:
It worked?
Click to expand...
Click to collapse
What device do you have any details please
ScarletWizard said:
The 64 bit version of viper has been released. If you're on Android 13 on a 74 bit soc. You gonna need the new v4a 64
Click to expand...
Click to collapse
What are you talking about? Where's the 64bit version
Yes
Techguy777 said:
I couldn't figure it out you want to try mine?
Click to expand...
Click to collapse
Yes Pls

Categories

Resources