Magisk Mi5s camera libs no sound - Xiaomi Mi 5s Questions & Answers

After I installed magisk module 'camera_mi5s_libs on lineageOS 15.1 I have no sound and restart didn't help , the mod says something about changing audio channels but I don't really have an idea about what I should do to fix this, when I delete module, sound works again...

KrecimStanove said:
After I installed magisk module 'camera_mi5s_libs on lineageOS 15.1 I have no sound and restart didn't help , the mod says something about changing audio channels but I don't really have an idea about what I should do to fix this, when I delete module, sound works again...
Click to expand...
Click to collapse
Hi, I had same issue you are experiencing with that module, what I did to "fix" the problem was to delete the "audio_platform_info.xml" files relate to audio modifications from the module; by doing that, no audio file will be modified hence, no audio problems.
This is not a fix; it's just a workaround
Hope it helps

KrecimStanove said:
After I installed magisk module 'camera_mi5s_libs on lineageOS 15.1 I have no sound and restart didn't help , the mod says something about changing audio channels but I don't really have an idea about what I should do to fix this, when I delete module, sound works again...
Click to expand...
Click to collapse
You can try tadi's original modules below

Related

Audio mod - Dolby?

Hello there,
I've checked out a few threads but can't find any pertaining to my exact situation.
So I'm on OB28, so Oreo OOS, tried a few proposed sound mods but none of them seem to work or else I'm doing something wrong.
Flashed a few compatible TWRP recoveries and rooted. Tried that ARISE mod but either the mods I'm interested in don't work or seem to give me FCs on reboot. Tried random dolby zips which don't do anything. I've even had a "factory data reset" message on startup with an automatic reboot to recovery.
Is there any decent audio mod that works on Oreo OOS (preferably Dolby)? If so, please show me how to get this done.
Thanks
There is no practical way to get Dolby Atmos working on Oreo as of now. Dolby Digital, however, can work. You can flash this mod by guitardedhero:
https://forum.xda-developers.com/showpost.php?p=74880570&postcount=31701
Note that every other audio mod needs to be removed including any in Magisk for this to work. Viper can be flashed after this works but not a priori. SELinux permissive is necessary.
therightperson_630 said:
Hello there,
I've checked out a few threads but can't find any pertaining to my exact situation.
So I'm on OB28, so Oreo OOS, tried a few proposed sound mods but none of them seem to work or else I'm doing something wrong.
Flashed a few compatible TWRP recoveries and rooted. Tried that ARISE mod but either the mods I'm interested in don't work or seem to give me FCs on reboot. Tried random dolby zips which don't do anything. I've even had a "factory data reset" message on startup with an automatic reboot to recovery.
Is there any decent audio mod that works on Oreo OOS (preferably Dolby)? If so, please show me how to get this done.
Thanks
Click to expand...
Click to collapse
get the addon zip from experience os it has viper dolby atmos and they both work
v.konvict said:
get the addon zip from experience os it has viper dolby atmos and they both work
Click to expand...
Click to collapse
Can confirm just did this on Nitrogen 8.1 Dolby & Viper working, great "trick"
gmlogan said:
Can confirm just did this on Nitrogen 8.1 Dolby & Viper working, great "trick"
Click to expand...
Click to collapse
not sure what the dev did with but it works well even when compared to official zips from viper4arise thread
v.konvict said:
get the addon zip from experience os it has viper dolby atmos and they both work
Click to expand...
Click to collapse
Thanks, nice to see one that works! the add-ons are a nice touch too. I think my arise config file must have been wrong.
does it work in enforcing or permissive..i mean with the addon @v.konvict @therightperson_630

[MOD] DOLBY ATMOS for OREO (8.0/8.1) [SHARE]

Not my work, just sharing this awesome work.
Here is the link for the official Dolby Oreo port -
https://forum.xda-developers.com/attachment.php?attachmentid=4365169&d=1513721346
Just flash it in TWRP 3.2.1.0
*MAGISK REQUIRED
Tested working on AEX 5.1
It significantly improved audio quality and loudness.
Original post link -
https://forum.xda-developers.com/showpost.php?p=74943166&postcount=31837
UNINSTALLATION-
Simply remove the module from Magisk Manager and reboot.
Just a tip to manually increase volume -
1. Go to *root* > vendor > etc
2. Open mixer_paths_tasha.xml in editor.
3. To increase speaker volume -
Find "RX7 DIGITAL VOLUME" and change it's value from 84 to 87
For headphones volume -
Find HPHL and HPHR and change their values from 12 to 15.
4. Reboot device.
Just hit the thanks button if it helps.
Yes working on pixel experience rom 8.1.0
Dolby is working but Viper is not working..Getting I/O error any solutions?
Is there any uninstaller for this if by chance the phone goes into bootloop?
Super mod but sound is bit low
Bidyadhar said:
Dolby is working but Viper is not working..Getting I/O error any solutions?
Click to expand...
Click to collapse
You may refer to this link-
https://forum.xda-developers.com/android/software/v4a-viper4android-o-error-driver-t3609995
Sareen279 said:
Is there any uninstaller for this if by chance the phone goes into bootloop?
Click to expand...
Click to collapse
Not yet. Try clearing cache/dalvik or dirty flashing the ROM. But this mod won't get any ROM into bootloop.
jaswinprakash said:
Super mod but sound is bit low
Click to expand...
Click to collapse
Sound output through headphones seem a bit increased but yes, through speaker it's still a bit low. Guess we have to wait devs to increase the volume in their respective Oreo ROMs first.
Works Good. I'm on AOSP Extended Oreo 8.1 beta (26/12/2017 build) and I can observe significantly better sounds while watching videos (in MX player) through Phone's speaker.
Thanks for sharing.?
Link of the TWRP file?
arpanbag1996 said:
Link of the TWRP file?
Click to expand...
Click to collapse
The first link in the post.
Does not give me the option to activate the surround virtualiser :crying: any solution???
Wildchild0369 said:
Does not give me the option to activate the surround virtualiser :crying: any solution???
Click to expand...
Click to collapse
Option is disabled when sound output is through speaker. Enabled when headphones plugged in.
Does it require root? I'm on AOSP extended 5.1 but no Magisk/Su installed. Will it work alright? Thanks in advance.
Chalton said:
Does it require root? I'm on AOSP extended 5.1 but no Magisk/Su installed. Will it work alright? Thanks in advance.
Click to expand...
Click to collapse
It's a Magisk module, so yeah you need to have Magisk installed.
OP updated with steps to increase volume and other details.
I flashed this mod on Validus 8.1 but no Dolby app has appeared on my phone and on top of that, my AR Sticker pack has also been disabled although both of em being shown as enabled on Magisk Manager.
PPStar said:
I flashed this mod on Validus 8.1 but no Dolby app has appeared on my phone and on top of that, my AR Sticker pack has also been disabled although both of em being shown as enabled on Magisk Manager.
Click to expand...
Click to collapse
You only need to uninstall magisk completely and re-install it. No need to uninstall all the modules. Magisk will start working again along with the modules.
Hi folks!!
https://youtu.be/1l_jXHRB_iU
Method working dolby and viper!! tested in aicp 13.1, validus e cosmic os....
awesome!!!
abhijeetdahiya said:
You only need to uninstall magisk completely and re-install it. No need to uninstall all the modules. Magisk will start working again along with the modules.
Click to expand...
Click to collapse
I did that but no luck

LDAC 8.1

So I have been trying to get LDAC or apt-X working on my razer phone but it has not worked. I am on the latest stock ROM rooted with magisk (via ADB not TWRP) and with the rayglobe magisk module installed but it just stays on AAC. My headphones are Sony WH-1000XM2 and LDAC was working when using the resurrection remix ROM from the development thread but I had to uninstall the ROM due to instability and no sign of progression. Any help would be appreciated.
Firebuster said:
So I have been trying to get LDAC or apt-X working on my razer phone but it has not worked. I am on the latest stock ROM rooted with magisk (via ADB not TWRP) and with the rayglobe magisk module installed but it just stays on AAC. My headphones are Sony WH-1000XM2 and LDAC was working when using the resurrection remix ROM from the development thread but I had to uninstall the ROM due to instability and no sign of progression. Any help would be appreciated.
Click to expand...
Click to collapse
They locked it down somehow I think. I have 2 threads in here asking for help but no one seems to be able to help me. For added reference, here is the error produced even when all the files are added with root to enable aptx or ldac
I installed the magisk aptx&aptxHD module and modified /system/vendor/build.prop then aptx got working.
(I couldn't test with aptxHD or LDAC cos I have no compatibe device with them.)
Code:
persist.vendor.bt.a2dp_offload_cap=sbc-aac
to
Code:
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptXHD
This is the same parameter the magisk module set to /system/build.prop.
To guess, LDAC will may work if an appropriate value set to the prop.
ClubRaptor said:
I installed the magisk aptx&aptxHD module and modified /system/vendor/build.prop then aptx got working.
(I couldn't test with aptxHD or LDAC cos I have no compatibe device with them.)
to
This is the same parameter the magisk module set to /system/build.prop.
To guess, LDAC will may work if an appropriate value set to the prop.
Click to expand...
Click to collapse
This worked to enable switching to them however now Bluetooth just crashes. I changed it to persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-ldac
Edit:
Some interesting notes. I tried a few steps to debugging including readding AAC to the list which did nothing but if I only add aptx then the Bluetooth app no longer crashes however no sound plays so I'm guessing it's the lib files that are not correct? I just used the aptx package in magisk so if there's any other that I'm missing or other suggestions that would be useful
Firebuster said:
This worked to enable switching to them however now Bluetooth just crashes. I changed it to persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-ldac
Edit:
Some interesting notes. I tried a few steps to debugging including readding AAC to the list which did nothing but if I only add aptx then the Bluetooth app no longer crashes however no sound plays so I'm guessing it's the lib files that are not correct? I just used the aptx package in magisk so if there's any other that I'm missing or other suggestions that would be useful
Click to expand...
Click to collapse
I still can't get it to switch to aptx (the one I want) or ldac. It still falls back to SBC usually or aac if I'm on a different speaker. Any idea what I'm doing wrong? I'm on slot a on my device, rooted with magisk and I have tried multiple aptx modules. Is there a specific build.prop editor you use? Both my speakers and headphones support it and work with other devices and I'm still getting the error I replied with above (page one)
I'm an experienced rooter, so don't be afraid to fully explain any steps I may be missing out!
manor7777 said:
I still can't get it to switch to aptx (the one I want) or ldac. It still falls back to SBC usually or aac if I'm on a different speaker. Any idea what I'm doing wrong? I'm on slot a on my device, rooted with magisk and I have tried multiple aptx modules. Is there a specific build.prop editor you use? Both my speakers and headphones support it and work with other devices and I'm still getting the error I replied with above (page one)
I'm an experienced rooter, so don't be afraid to fully explain any steps I may be missing out!
Click to expand...
Click to collapse
I used root explorer and changed the build.prop entries in system\vendor\. In the first place I used the root essentials build.prop editor which shows a different build.prop. other than that I literally just edited that line and that allowed me to change it. I can't think of anything else I did other than install a bunch of library files which I'm guessing you found the same ones as me because it was very limited on what was available and up to date
Firebuster said:
I used root explorer and changed the build.prop entries in system\vendor\. In the first place I used the root essentials build.prop editor which shows a different build.prop. other than that I literally just edited that line and that allowed me to change it. I can't think of anything else I did other than install a bunch of library files which I'm guessing you found the same ones as me because it was very limited on what was available and up to date
Click to expand...
Click to collapse
OK, awesome. You rock. That got it to select aptx - now my 2nd problem, no audio! I can see in dev options and bt settings that it's showing aptx, but I get no audio (well, I get an almost click click click noise) then my Bluetooth adaptor for my headphones crashes. And it forces my headphones to turn off. I tried 3 different magisk modules for the library files, any ideas - I was getting SBC audio before
manor7777 said:
OK, awesome. You rock. That got it to select aptx - now my 2nd problem, no audio! I can see in dev options and bt settings that it's showing aptx, but I get no audio (well, I get an almost click click click noise) then my Bluetooth adaptor for my headphones crashes. And it forces my headphones to turn off. I tried 3 different magisk modules for the library files, any ideas - I was getting SBC audio before
Click to expand...
Click to collapse
Sounds like the same problem I am having. Aptx doesn't work and aptx HD and LDAC just crash Bluetooth. Genuinely have no idea where to go from here. It must be a driver or library file. Real shame it's not working.
Edit: seems to be looping these messages in catlog
Firebuster said:
Sounds like the same problem I am having. Aptx doesn't work and aptx HD and LDAC just crash Bluetooth. Genuinely have no idea where to go from here. It must be a driver or library file. Real shame it's not working.
Click to expand...
Click to collapse
OK, so last night and this morning I have been just messing with things. I no longer crash my headphones and force them to turn off, but I still have no audio over aptx - though at least it's not crashing my headphones (Bluetooth in the phone was always OK). There is one error I'm getting and I'm not sure if its related of not, but is to do with a buffer failing to release. See my screenshots of logs (just documenting here for reference)
so basically i went your path a few days ago and dropped that idea. please post updates if you manage to get aptx\aptx hd\ldac working (Razer Phone + Sony WH-1000 XM2)
hatemosphere said:
so basically i went your path a few days ago and dropped that idea. please post updates if you manage to get aptx\aptx hd\ldac working (Razer Phone + Sony WH-1000 XM2)
Click to expand...
Click to collapse
Cc @Firebuster
So, I might be an experienced rooter (no 1 click toolkits here) I am NOT a developer. I've tried a combination of a bunch of things to try and get this to work, and nothing has!
I did however get it to work by installing a GSI (basically a rom) to the device, but even that was painful to get working (well, installed). Now running AOSP 8.1 GSI w/gapps and I flashed magisk for root. I then installed the Aptx magisk module from the built in repo and it works perfectly fine. Not sure if It's something in razer software as I'm technically more up to date now so it's not like I was using the wrong drivers.
Can't find a decent dolby atmos I can install that will work along side v4a, all the magisk modules are for android 7 or 6.
Otherwise that's the only way I have found so far, sorry guys! - benefit is, other than AOSP's ****ty camera app (use the gcam port instead), literally everything works fine, and I even get stronger vibration on a GSI
manor7777 said:
Cc @Firebuster
So, I might be an experienced rooter (no 1 click toolkits here) I am NOT a developer. I've tried a combination of a bunch of things to try and get this to work, and nothing has!
I did however get it to work by installing a GSI (basically a rom) to the device, but even that was painful to get working (well, installed). Now running AOSP 8.1 GSI w/gapps and I flashed magisk for root. I then installed the Aptx magisk module from the built in repo and it works perfectly fine. Not sure if It's something in razer software as I'm technically more up to date now so it's not like I was using the wrong drivers.
Can't find a decent dolby atmos I can install that will work along side v4a, all the magisk modules are for android 7 or 6.
Otherwise that's the only way I have found so far, sorry guys! - benefit is, other than AOSP's ****ty camera app (use the gcam port instead), literally everything works fine, and I even get stronger vibration on a GSI
Click to expand...
Click to collapse
Yeah I might move onto that too. To try to fix the Bluetooth issues. I can only assume razer excluded some of the functionality but since it's baked into android 8 I don't see why they would remove it.
Razer and their development team is already informed about this issue, and they have correctly addressed it, and all the Bluetooth issues (which were a few), in the upcoming update MR2. No ETA.
linuxct said:
Razer and their development team is already informed about this issue, and they have correctly addressed it, and all the Bluetooth issues (which were a few), in the upcoming update MR2. No ETA.
Click to expand...
Click to collapse
so i've just got a new update and now i'm wondering if we should try this again...
hatemosphere said:
so i've just got a new update and now i'm wondering if we should try this again...
Click to expand...
Click to collapse
Go ahead, I can't since I'm on a Pie GSI.
If anyone has an LDAC BT Headset please give this a try.
cc @Firebuster
Great news, I just spent 2 hours updating my phone, with flashing back to stock because the OTA did not want to update me since I had Magisk, then putting everything back like before.
The update did not change anything.
Tried to do my research on issues with the Razer phone before getting it, but I guess this is just one of those things you don't comprehend until actually having the device in your hands. I came from a Oneplus One on Lineage OS and am comfortable with flashing (but no experience with GSI yet).
My razer phone is stock and not rooted. Anything I can do to contribute to test getting Apt-X working? The settings says my phone is up to date (build number OPM1.171019.011-RZR-180803.6033).
Got the official Pie installed - no LDAC nor AptX still.
cubeover said:
Got the official Pie installed - no LDAC nor AptX still.
Click to expand...
Click to collapse
you installed the official pie update for the razer phone 1?

How to increase music volume?

Hi,
I'm currently on MIUI 12.6 by xiaomi.eu and somehow I can't increse the volume on the phone while listening via bluetooth in ear headphones.
It says its on maximum, but in comparison to my old Redmi 4x the volume is at about 75% feeling...
Does anyone know a hidden setting to increase the volume?
Regards
br4t0 said:
Hi,
I'm currently on MIUI 12.6 by xiaomi.eu and somehow I can't increse the volume on the phone while listening via bluetooth in ear headphones.
It says its on maximum, but in comparison to my old Redmi 4x the volume is at about 75% feeling...
Does anyone know a hidden setting to increase the volume?
Regards
Click to expand...
Click to collapse
If your phone is rooted (I assume it is) try using Viper4Android magisk modual
Also read this post if you use it
[MOD] viper4android + MIUI 12 + Magisk 21.1
Default viper4android Magisk module doesn't work for me with SELinux enforcing. "Brute force" fix is to set SELinux to permissive, but I don't like this approach. Viper4android module should patch selinux policies during installation, but it...
forum.xda-developers.com
TheFixItMan said:
If your phone is rooted (I assume it is) try using Viper4Android magisk modual
Also read this post if you use it
[MOD] viper4android + MIUI 12 + Magisk 21.1
Default viper4android Magisk module doesn't work for me with SELinux enforcing. "Brute force" fix is to set SELinux to permissive, but I don't like this approach. Viper4android module should patch selinux policies during installation, but it...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks for the hint! I installed it and it got a bit louder, but still not loud as with my Redmi 4x..
It's so strange.. could it be because of the ROM? On the Redmi4x I use the resurrection remix rom. On the gaugin I use MIUI 12.6 by xiaomi.eu
Also I need to add, that I cant find the option to toggle Absolute Bluetooth Volume in Developer Options...
br4t0 said:
Thanks for the hint! I installed it and it got a bit louder, but still not loud as with my Redmi 4x..
It's so strange.. could it be because of the ROM? On the Redmi4x I use the resurrection remix rom. On the gaugin I use MIUI 12.6 by xiaomi.eu
Click to expand...
Click to collapse
You can adjust the gain in the settings to make it louder etc
Yeah, I did this (see screenshots) but no improvement here I also shared two screenshots from the developer settings section, to prove that there's no option to toggle Absolute Bluetooth Volume
br4t0 said:
Yeah, I did this (see screenshots) but no improvement here I also shared two screenshots from the developer settings section, to prove that there's no option to toggle Absolute Bluetooth Volume
Click to expand...
Click to collapse
You can try directly editing the mixer_paths.xml yourself
Use a file browser browser with root access
Find vendor/etc/mixer_paths.xml
You will need to research yourself what values needs changing to increase volume
I have included the stock mixer_paths.xml below - you could try simply replacing your one with the stock one however it may cause a bootloop. Make sure you backup your existing file first. Set file permissions to 6-4-4 or rw-r-r
If it bootloops just replace original file via twrp or restore your twrp backup

Question Viper FX

Hello everyone
has anyone managed to install viper FX on oneplus 9pro?
i tried any solution but it doesn't install drivers..
isoladisegnata said:
Hello everyone
has anyone managed to install viper FX on oneplus 9pro?
i tried any solution but it doesn't install drivers..
Click to expand...
Click to collapse
Yes, on Android eleven there have been a couple reported storys of success. I personally installed the JamesDSP module, and then Android modification library module, and then viper, and all has been well.
Install JamesDsp.
Install AML.
Reboot.
Install SElinux permissive.
Reboot.
Install ViperFX.
Reboot.
Install driver.
Reboot.
Ok.
Now you can uninstall Selinux.
Samuel Holland said:
Yes, on Android eleven there have been a couple reported storys of success. I personally installed the JamesDSP module, and then Android modification library module, and then viper, and all has been well.
Click to expand...
Click to collapse
Tnk alot I have solved with James DSP and I have replaced "post-fs-data.sh in data/adb/modulo viper

Categories

Resources