Getting Moto Mods working on custom roms - Moto Z Play Questions & Answers

I'm interested in getting Moto Mods (especially the jbl mod, which keeps many users from custom roms) working on custom roms. Other moto devices can do it, so it should be possible for our moto z play too.
@TeamMex got it working in his Nougat rom, partially on his oreo rom. So there is a chance.
What is needed for working mods? I see Moto Mods Manager and My JBL Soundboost apps on my phone that i can link to my mod. Is there something needed in the system? I read about audio routing? Isn't that anything else than routing audio to bluetooth or to headphones?

McFlypants said:
I'm interested in getting Moto Mods (especially the jbl mod, which keeps many users from custom roms) working on custom roms. Other moto devices can do it, so it should be possible for our moto z play too.
@TeamMex got it working in his Nougat rom, partially on his oreo rom. So there is a chance.
What is needed for working mods? I see Moto Mods Manager and My JBL Soundboost apps on my phone that i can link to my mod. Is there something needed in the system? I read about audio routing? Isn't that anything else than routing audio to bluetooth or to headphones?
Click to expand...
Click to collapse
Frameworks base, frameworks native, frameworks av, system core, libiio, greybus drivers, and sepolicy is needed to make it work, about JBL it need to use prebuilt audio binary.

TeamMex said:
Frameworks base, frameworks native, frameworks av, system core, libiio, greybus drivers, and sepolicy is needed to make it work, about JBL it need to use prebuilt audio binary.
Click to expand...
Click to collapse
Could this probably help? It's working here on griffin
The pdf is also refering on addison

McFlypants said:
Could this probably help? It's working here on griffin
The pdf is also refering on addison
Click to expand...
Click to collapse
yup if you know how to do that

I'm not able to do this because i don't know that much about building android roms.
Why is it possible on griffin and not on addison?

Related

Best way to install Viper Audio with AcoustiX MOD?

I'm already s-offed, unlocked bootloader, on MM firmware and MM Leedroid.
Not using Android pay, so I have SuperSU installed.
Is there a way to install Viper Audio along with ZeroInfinity's sound mod without any conflict?
And also, I saw a lot of Viper variants and got a little bit confused. Which one works best with HTC 10 in your opinion?
Any help is appreciaed
BrianKuo1853 said:
I'm already s-offed, unlocked bootloader, on MM firmware and MM Leedroid.
Not using Android pay, so I have SuperSU installed.
Is there a way to install Viper Audio along with ZeroInfinity's sound mod without any conflict?
And also, I saw a lot of Viper variants and got a little bit confused. Which one works best with HTC 10 in your opinion?
Any help is appreciaed
Click to expand...
Click to collapse
As far as I know, there is no conflict.
What the ZeroInfinity's sound mod touches is only the HTC BoomSound profiles. Which also work when unmodified.
Meaning, V4A should work as normal (but will need different tuning based on whatever BoomSound profile you have selected).
I tried it once, but I didn't fancy it.
I can't say which is best, I believe that also falls on preference and what earbuds or whatever you use for audio.
Ariac Konrel said:
As far as I know, there is no conflict.
What the ZeroInfinity's sound mod touches is only the HTC BoomSound profiles. Which also work when unmodified.
Meaning, V4A should work as normal (but will need different tuning based on whatever BoomSound profile you have selected).
I tried it once, but I didn't fancy it.
I can't say which is best, I believe that also falls on preference and what earbuds or whatever you use for audio.
Click to expand...
Click to collapse
Did you installed the apk and it works well? The driver doesn't install properly on my phone :/
BrianKuo1853 said:
Did you installed the apk and it works well? The driver doesn't install properly on my phone :/
Click to expand...
Click to collapse
Nope, I flashed it.
Get the latest flashable V4A.
If you have any errors, check out this thread.
Ariac Konrel said:
Nope, I flashed it.
Get the latest flashable V4A.
If you have any errors, check out this thread.
Click to expand...
Click to collapse
Finally got it working! Thanks a lot!

Audio FX Not Working (and Similar apps too)

Audio FX and other similar equaliser apps are not working in LOS14.1. This is not any device specific , I tested on other devices too. Moreover other equaliser apps such as Music FX.apk are also not showing up.
I CANT EVEN DISBALE Audio FX so that they could work.
I also tried Viper4Android, But there also no luck :crying:
I used to get some effects on stock rom too:crying:
I am not rooted , custom kernels , other sound mods just have clean LOS14.1.
gyarados025 said:
Audio FX and other similar equaliser apps are not working in LOS14.1. This is not any device specific , I tested on other devices too. Moreover other equaliser apps such as Music FX.apk are also not showing up.
I CANT EVEN DISBALE Audio FX so that they could work.
I also tried Viper4Android, But there also no luck :crying:
I used to get some effects on stock rom too:crying:
I am not rooted , custom kernels , other sound mods just have clean LOS14.1.
Click to expand...
Click to collapse
There have been updates some weeks ago. What device/version/audio source did you test?
Merlin ( Moto G Turbo ) latest 15Feb build and other devices such as Osprey (Moto G3) , condor (Moto E) and D802 ( LG G2) , currently using Merlin but all of them are having same issue
Tested with Headphones and same with speaker also
Also mentioned on respective forums but i think people are least intrested in Audio
My moto e works with Dolby Atmos 6.5.1-for-Nougat-20170407-Condor.zip from afh. Installed when audioFX didn't work.

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?

DualSpeaker & Dolby optimizer

Hello i want to share this little sound mod for our a50, only flash with magisk and reboot, please report if any issue, based on May security patch build. I am begginer.
Features:
- Enable dual speaker (report if it works, is a little diferent from my old a7 2018) may be work in GSI and Customs.
- Optimize the audio using dolby in any preset, modified to feel more bass in music mode. So GSI not support it and customs if not change so much the dolby function.
Note: I don´t know how to do good threads. Hello from México
Runs great on a505fn. Upper speaker could be louder...but nice mod. Big Thx
edwin_ecoral said:
Hello i want to share this little sound mod for our a50, only flash with magisk and reboot, please report if any issue, based on May security patch build. I am begginer.
Features:
- Enable dual speaker (report if it works, is a little diferent from my old a7 2018) may be work in GSI and Customs.
- Optimize the audio using dolby in any preset, modified to feel more bass in music mode. So GSI not support it and customs if not change so much the dolby function.
Note: I don´t know how to do good threads. Hello from México
Click to expand...
Click to collapse
Good job ?
Could it work without root.??
I want to use dual speakers but I don't want to root my phone
So it isnt working in custom roms?
Does it works on android 11?
my phone stucked in lockscreen
what I have to do now..??
plzz reply....
I have no budget to buy another one or go to samsung store
HEY THIS THING WORKED ON A50S ANDROID 10 !!
Pls vary the versions, like users can select the volume that they like!
I actually replaced the mixer_paths.xml and mixer_gain.xml
I installed this on android 11 and now im stuck in a bootloop, help.
Works on M31s as well.
does snake 4.1.1 also work? has anyone tried?

Question GSI on G30

hello, a few months ago I put a GSI on my moto G30 (ArrowOS), I actually liked this GSI a lot... but I can't use some phone functions like bluetooth and headphones on the P2 output...
I use headphones a lot and I was using one with a USB Type-C output but this headphones is having some problems and I want to go back to using my JBL bluetooth headphones that I stopped using because it doesn't connect with my cell phone...
But I don't remember how to put a GSI and I don't even know a good one that I can have a good performance on battery and in games...
Can someone help me?
Hi. GSI performance doesnt varry that much if at all so pick any you like best.
Look at phhusson's GSI List to find a GSI that is compatible
(Must be a higher or equal Android version to the one your phone has stock and the GSI shoud be A/B and arm64)
Your problems sound quite generic and are mentioned in the GSI Troubleshooting FAQ
Such as:
Wired headphones not getting detected.​Solution 1​Enable alternative headphones detection in phh settings and reboot
This one ^ worked for me and should work for you too i believe.
Bluetooth connecting to device and then disconnecting​Try disabling A2DP offload in phh settings
I've tried this too but cant remember if it worked, what works for me is going to the Bluetooth settings for the device and disabling HD Audio.
You can find more fixes on the link above.
About installing the GSI first flash the stock ROM and then follow Sammm77's GSI Flashing Guide.
You can try ArrowOS again with the fixes above and see if they work or pick another GSI.
If you need any clarifications i would be more than happy to help!
KAN7A said:
Hi. GSI performance doesnt varry that much if at all so pick any you like best.
Look at phhusson's GSI List to find a GSI that is compatible
(Must be a higher or equal Android version to the one your phone has stock and the GSI shoud be A/B and arm64)
Your problems sound quite generic and are mentioned in the GSI Troubleshooting FAQ
Such as:
Wired headphones not getting detected.​Solution 1​Enable alternative headphones detection in phh settings and reboot
This one ^ worked for me and should work for you too i believe.
Bluetooth connecting to device and then disconnecting​Try disabling A2DP offload in phh settings
I've tried this too but cant remember if it worked, what works for me is going to the Bluetooth settings for the device and disabling HD Audio.
You can find more fixes on the link above.
About installing the GSI first flash the stock ROM and then follow Sammm77's GSI Flashing Guide.
You can try ArrowOS again with the fixes above and see if they work or pick another GSI.
If you need any clarifications i would be more than happy to help!
Click to expand...
Click to collapse
man, you really helped me alout...
i tried these two methods
-Enable alternative headphones detection in phh settings and reboot
-Try disabling A2DP offload in phh settings (in this case I restarted the phone too)
and both starting working again

Categories

Resources