[GUIDE] Fix Bluetooth Audio A2DP & aptX in any GSI ROM - Treble-Enabled Device Guides, News, & Discussion

This tutorial was made by Craftingmod
Thanks so much for helping us.
Original Post: HERE
--------------------------
Note:tested only on GSI ROMs 9.0
1. Bluetooth audio connection fix
Backup the file /vendor/overlay/BluetoothResCommon.apk
Simply remove /vendor/overlay/BluetoothResCommon.apk via root explorer
2. aptX HD
Install "Bluetooth stack audio bitrate changer for SBC + aptX & aptX-HD enabler" from Download of Magisk Manager or Download Here (APTX for Android Oreo & Pie NOT WORK)
3. build.prop
Open /vendor/build.prop and find "persist.vendor.bt.a2dp_offload_cap=sbc-aac" and replace "sbc-aac" to "sbc-aac-aptx-aptXHD" (Add -aptx-aptXHD)
Note: if you don't find the add "persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD"
4. Restart device and test
Note: if it doesn't work undo everything you did thanks for trying

Hello my magisk cannot seem to find the module you were referring to. Do you have another link where i can download the module?

Hi There, and many thanks for you guides https://forum.xda-developers.com/member.php?u=9792389
This guide made bluetooth audio and connectio work, but bluetooth calling is not working. Can call but no sound is transmitted, so i cant use it. Any suggestions as how to proceed?

thorvall said:
Hi There, and many thanks for you guides https://forum.xda-developers.com/member.php?u=9792389
This guide made bluetooth audio and connectio work, but bluetooth calling is not working. Can call but no sound is transmitted, so i cant use it. Any suggestions as how to proceed?
Click to expand...
Click to collapse
try this , hopefully it will do the trick:
https://forum.xda-developers.com/showpost.php?p=79191978&postcount=5https://forum.xda-developers.com/showpost.php?p=79191978&postcount=5

I worked.
Fillint said:
try this , hopefully it will do the trick:
https://forum.xda-developers.com/showpost.php?p=79191978&postcount=5https://forum.xda-developers.com/showpost.php?p=79191978&postcount=5
Click to expand...
Click to collapse
Thanks :good: . I actually did look at the thread before, but had the impression that the GSI Treble roms were of the ASOP variant, contrary to the note: 'NOTE: This works only on CAF based custom roms. It doesn't work on AOSP.'
Am I wrong, or is it the note that does not apply in this case?

it looks like not both ways aren't working for 9.0 Havoc.
we need better solutions.

I tried these solutions on the Lenovo Z5 pro GT, but the Phone won't recognise any bluetooth IEM's. The sound keeps playing over the speaker. Does anyone have a solution?

When I change vendor to r/w it goes back to file system read only and I can't save the build.prop file afterwards

If someone was able to make it work can you please show me the build.prop permissions!!

this ROM is awesome. but there's a problem. my BT headphone no sound.
in developer options, "disable bluetooth A2DP hardware" can't be turned off. any solution?

And for xiaomi devices?
What is the apk that I have to delete if my device had miui?

in all the GSI images i installed audio BT is not working.
And BluetoothResCommon.apk is not in that path, why ?
build.prop is there but there is no "persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD" entry
Any help to fix bluetooth for this case ? I can pair, to headphones connect, for a moment seems to work, but finally audio get played in the phone itself.

kidronvalley said:
in all the GSI images i installed audio BT is not working.
And BluetoothResCommon.apk is not in that path, why ?
build.prop is there but there is no "persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD" entry
Any help to fix bluetooth for this case ? I can pair, to headphones connect, for a moment seems to work, but finally audio get played in the phone itself.
Click to expand...
Click to collapse
Overcame the lack of sound in BT headphones on android 10 by replacing system / lib / libbluetooth.so and system / lib64 / libbluetooth.so with stock firmware

AllexBast said:
Overcame the lack of sound in BT headphones on android 10 by replacing system / lib / libbluetooth.so and system / lib64 / libbluetooth.so with stock firmware
Click to expand...
Click to collapse
im gonna try this too because my Maxpad i10 plus as this issue

blaze2051 said:
im gonna try this too because my Maxpad i10 plus as this issue
Click to expand...
Click to collapse
Teclast M40 How to unlock bootloader?
I have found a method of Teclast P20HD to unlock bootloader which can be found in "https://forum.xda-developers.com/android/help/teclast-p20hd-android-10-tablet-4g-t4141997" and "https://forum.hovatek.com/thread-32287.html", but I'm not sure if...
forum.xda-developers.com

@AllexBast
by any chance have you experianced slow command response with ADB? I just install win10 1803 pro and its so so slow to even run adb devices command. does it make a difference if my device is running GSI Phh A11?

Did the trick for me! Thank you

SrCDA said:
This tutorial was made by Craftingmod
Thanks so much for helping us.
Original Post: HERE
--------------------------
Note:tested only on GSI ROMs 9.0
1. Bluetooth audio connection fix
Backup the file /vendor/overlay/BluetoothResCommon.apk
Simply remove /vendor/overlay/BluetoothResCommon.apk via root explorer
2. aptX HD
Install "Bluetooth stack audio bitrate changer for SBC + aptX & aptX-HD enabler" from Download of Magisk Manager or Download Here (APTX for Android Oreo & Pie NOT WORK)
3. build.prop
Open /vendor/build.prop and find "persist.vendor.bt.a2dp_offload_cap=sbc-aac" and replace "sbc-aac" to "sbc-aac-aptx-aptXHD" (Add -aptx-aptXHD)
Note: if you don't find the add "persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD"
4. Restart device and test
Note: if it doesn't work undo everything you did thanks for trying
Click to expand...
Click to collapse
Thanks, but editing /vendor/build.prop reaquires writing onto /vendor, so what are the apps to offer rw for /vendor?

hd_scania said:
Thanks, but editing /vendor/build.prop reaquires writing onto /vendor, so what are the apps to offer rw for /vendor?
Click to expand...
Click to collapse
It can be done with root or in TWRP.
But now most phones have aptx-aptXHD support in original firmware, so there's a high possibility you don't need this step. By the way, it is not worth it to fix A2DP though, cause for now it's almost not possible (at lease I didn't solution) to fix bluetooth in call and A2DP offload at the same time. For me bluetooth in call is more important, and there's actually no side effect to turn off A2DP offload as far as I understand.
Anyways, to make bluetooth in call and Aptx (of course others like LDAC) both work, you'll need to:
1. remove /vendor/overlay/BluetoothResCommon.apk (if presented) (if presented and deleted, do a factory reset)
2. remove /vendor/etc/a2dp_audio_policy_configuration.xml
3. Enable "Force-disable A2DP offload" in phh settings
4. Enable "use alternate audio policy" in phh settings if your volume adjustment have any problems (if you got multi ones in different feature category, try different combination until it behave normally)(may require reboot)
5. flash Magisk module "aptx-HD-magisk-10_arm.arm64.zip" to fix aptx support
Now both sbc-aac-aptx-aptXHD-LDAC and bluetooth in call should work. Tested on 2 Qualcomm setups recently with phh android 12 based rom.
Hope this could help you and others having same issues.

XT19443 said:
And for xiaomi devices?
What is the apk that I have to delete if my device had miui?
Click to expand...
Click to collapse
Tho Xiaomi's MIUI really modified the whole aosp crazyly,but the device itself is still treble-compactible
the file is called MIUIbluetoothres.apk(probably,on miui 12.5's vendor)
BUT you dont need to del it.
To Fix: TURN ON "force disable a2dp offload" in phh treble settings.
that's it.(worked on redmi 10a.(MTK))
(ps: actually aptx is a qcom thing so it probably wont work on mtk devices.)

Related

CS968 Exclusive MODDED ROM EQS-v2.0M 1080p

Exclusive MODDED ROM EQS-v2.0M
CS968 a RK3188 ChipSet Based TVBoX
AKA: TV01 [GeekBuying] CR11s [CloudNET2GO]
THIS VERSION HAS NATIVE 1080P KERNEL, NOT SAME AS V1.
IMPORTANT INFORMATION:
WE JUST LEARNED THERE ARE A FEW CS968/TV01/CR11s MODELS equipped with different WIFI/BT MODULES.
Thanks to dFenix we figured this out. [More info]
THIS ROM IS FOR AP6210 WIFI CHIP bundled devices, MAINBOARD VERSION 2.
So if you try this rom on other models you may loose your wifi connection.
Click to expand...
Click to collapse
IMPORTANT NOTICE:
THIS IS KIND OF BETA/ALPHA FIRMWARE OR WHATEVER YOU WANT TO CALL IT.
CURRENTLY I HAVE EXPERIENCED NONE PROBLEM AND IT SEEMS EVERYTHING INCLUDING 1080P MODE WORKS FINE.
THIS IS AN EXCLUSIVE ROM BECAUSE THERE ARE A FEW THINGS FACTORY FIRMWARE HAS NOT.
SYSTEM IS SAME AND NOTHING HAS BEEN MODIFIED EXCEPT SUPERUSER and BUILD.PROP, SO IF THERE IS A BUG THEN THAT IS FIRMWARE RELATED THIS ISN'T SUPER DUPER FIRMWARE AND DOESN'T HAVE SPECIAL KERNEL OR RECOVERY, EVERYTHINGS IS STOCK.
NOTE : LIBMEDIA.SO REPLACED, READ BELOW...
Factory Date : 09-12-2013 from CloudNET based CR11/s
Modification Date: 21-12-2013
NOTICE: THIS IS FOR 2 MPX VERSION, NOT FOR 5 MPX
You may harm your device, if you flash this firmware to 5 mpx camera version.
LCD Display density has been set to 240, if you need smaller icons and texts you can easily change by using preinstalled DPI changer program (May need root permission after first start).
Features:
Rooted [ You may notice a bit difference than v1 version, but it is normal ]
Build tweaks
TCP Tweaks (Buffering etc...)
Networking Tweaks
Wifi Tweaks (Signal etc...)
Multimedia Tweaks
Streaming Tweaks
HW Video Acceleration by default
Spoofed as Galaxy S3
Date format set to European
Timezone Europe GMT +1
Renewed bootanimation
Renewed wallpaper
Add: SuperSU.apk (Updated)
Add: LuckyPatcher (Updated)
Add: RootBrowser (NEW)
Add: OGYoutube with downloader [ Original YouTube still can be apartly installed ]
Add: Dolphin Browser 10.1.2
Add: Android Weather
Add: JetAudio
Add: Blueput Droid (NEW)
Add: Texdroider DPI (NEW)
Add: BSPlayer FREE (NEW)
Add: Cifs Manager (NEW)
Add: ESFile Explorer (NEW)
Add: Patched Libmedia.so (Many thanks hillyu from FreakTab, More info)
Updated : AddAway (Update)
Removed : All of useless chinese media stuff
Removed : Chrome
Removed : Search Box
Removed : Google Stuff (Search, maps, gmail, talk)
Removed : Email
Removed : XBMC Installer (Not everyone's taste)
Removed : A few more crap...
Exclusive test modules : Tun, Cifs*, NFS, NTFS and Xpad these modules are not installed by system, must be done manually from console/terminal.
Included CIFS MANAGER can do it for you, you don't need to install from terminal.
Exlusive bootanimation (Renewed)
Good working Remote Control.
Faster Internet browsing, smoother streaming, Very nice playing 1080p media from NAS DRIVE
*: It seems cifs module won't work properly, it is interesting because it was allright with K-R42 device but I'll search for it.
v2.0M CHANGES
NEW*: MultiWindow
*Needs Xposed Framework to be installed completely.
NEW*: Xposed Framework Installer
*Installation must be done via program self, then after reboot you may download modules as much as you want
REPLACED : BSPLAYER-> MX PLAYER FREE - No Codec pre-installed
REMOVED : JETAUDIO
UPDATE : LUCKY PATCHER, ADAWAY
UPDATE : DOLPHIN BROWSER 10.2.1
Re-Add : RKVideo player, RKExplorer
A few fixes that causes problems.
More optimized video playback (about 40 mbps mkv from network drive), more stable system.
LCD Density set to : 160 (Smaller icons and texts by default)
A little bit faster than 2.0 version.
Feel free to test or build new one, no words for future updates or versions etc.
FLASH WITH YOUR OWN RISK, I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY FLASHING OR AFTER.
AnTuTu Results
Devhost / Mirror
password : cs968eqs
Firmware flashing guide.
[ HD QUALITY BOOT ANIMATIONS... ]http://forum.xda-developers.com/showthread.php?t=2612221
hi
Hi Equancy,
Is a small community of CS968 users here: freaktab.com/forumdisplay.php?165-CS968-CR11s-amp-similar-sticks
Would you like to share this rom there too?
fakotibor said:
Hi Equancy,
Is a small community of CS968 users here: freaktab.com/forumdisplay.php?165-CS968-CR11s-amp-similar-sticks
Would you like to share this rom there too?
Click to expand...
Click to collapse
Hi,
Yeah, it seems not much users have CS968 here in XDA but, I'm a member of XDA-Dev and I share what I have here, but you may share this thread on freaktab as yours if you wish.
I have no account on FreakTab and I don't think I may able to manage this thread on multiple forums.
So, I can answer questions only here and also publish updates of my rom.
Thanks for your interest.
Hi Equancy, I cant download this file.
(Error no: 1) Connection failure : User 'proxy_iamheman' has exceeded the 'max_user_connections' resource (current value: 10)
What seems to be the issue. please fix the link. Thanks.
resansid said:
Hi Equancy, I cant download this file.
(Error no: 1) Connection failure : User 'proxy_iamheman' has exceeded the 'max_user_connections' resource (current value: 10)
What seems to be the issue. please fix the link. Thanks.
Click to expand...
Click to collapse
Try primary download host (Devhost), its working flawlesly.
I guess mirror host has problem rightnow.
I've uploaded another Mirror-link working well.http://www.filedropper.com/showdownload.php/cs968051213eqsv2m
EQUANCY said:
Try primary download host (Devhost), its working flawlesly.
I guess mirror host has problem rightnow.
I'll make more mirrors soon.
Click to expand...
Click to collapse
OK This worked. Thanks.
resansid said:
OK This worked. Thanks.
Click to expand...
Click to collapse
Your welcome. :good:
Or you may try from here too.
@EQUANCY,
i tried your rom, looks good. few things are not wrking
1. xposed: i installed xposed framework, rebooted, then installed GravityBox, none of the tweaks in it wkrs. like transparent status bar/traffic meter.
after installing the GB and setting it up, i rebooted, but still not wrking.
2. window support is also not wrking. hv added some of the apps to wkr in window mode, but all run in full screen.
Have you tried these on ur rom ???
hanu_blr said:
@EQUANCY,
i tried your rom, looks good. few things are not wrking
1. xposed: i installed xposed framework, rebooted, then installed GravityBox, none of the tweaks in it wkrs. like transparent status bar/traffic meter.
after installing the GB and setting it up, i rebooted, but still not wrking.
2. window support is also not wrking. hv added some of the apps to wkr in window mode, but all run in full screen.
Have you tried these on ur rom ???
Click to expand...
Click to collapse
Yes,
Multi-window not working, but some features of Gravitybox well.
Actually I've put Multi-window by mistake, it was a bit late when I saw
However you may remove this app by following steps below.
1- Deactivate Multi-window app in Xposed modules menu (uncheck)
2- Reboot
3- Open RootBrowser and go to System/app directory
4- Long press on multi_window.apk and select Delete
I didn't tested all of modules and most of them are not working properly because of Tablet UI, I'll remove both application in next firmware mod.
Sorry for inconvenience, thanks for understanding.
Hi Equancy,
I am having issues with wifi direct. I can establish the wifi direct connection with the other device (Samsung Galaxy S3) just fine, I can send files from the box to the SG3, but I absolutely can't receive files sent from the SG3 to the box (I never even get the prompt).
I also tried to use the Superbeam app, and same story: I can send files out but not receive them.
Any clue? I am not sure whether this is specific to your ROM as I haven't tried with any other.
Cheers, Merry Christmas and Happy New Year to you.
daviddema said:
Hi Equancy,
I am having issues with wifi direct. I can establish the wifi direct connection with the other device (Samsung Galaxy S3) just fine, I can send files from the box to the SG3, but I absolutely can't receive files sent from the SG3 to the box (I never even get the prompt).
I also tried to use the Superbeam app, and same story: I can send files out but not receive them.
Any clue? I am not sure whether this is specific to your ROM as I haven't tried with any other.
Cheers, Merry Christmas and Happy New Year to you.
Click to expand...
Click to collapse
hi,
Thanks for your best wishes, hoping same for you.
For the issue,
Possible answer for WiFi Direct function is Firmware related, because I didn't touched any system file except su binary and build.prop.
I also tested by my self, receiving files from TVBox is working but transfering to the device isn't via SuperBeam.
As I said before, I suppose it is a firmware bug and must be reported.
And question is:
To who
However, you may ask other users who is using another firmware versions or custom roms.
Happy new years...
NFS help needed
I tried the rom on my cr11s and i must say its awesome except that its a bit slow.. i also can't get nfs to mount thru adb nor cifsmanager.. does the supplied nfs.ko support nfsv4? Everything else is working with no major issues.. thanks for the rom anyways...
PsychicSaint said:
I tried the rom on my cr11s and i must say its awesome except that its a bit slow.. i also can't get nfs to mount thru adb nor cifsmanager.. does the supplied nfs.ko support nfsv4? Everything else is working with no major issues.. thanks for the rom anyways...
Click to expand...
Click to collapse
It is very little bit slower than v1.1 but its not really noticable on 2D applications, can you specify what have you experienced actually?
I'm using a NTFS formatted NAS drive with no problem, even watching MKV files about 40-50 mbps rate. (NetGear ReadyNAS).
All of thoose modules have been supplied but not loaded by default need manually installed or you must add lines to the init.rc from system.
This can't be automatically because Kernel needs to be modified and I don't want to do that.
NFS module is actual module for RK3188.
If you more specify problem may be I can look it for you.
And for your consideration...
Some issues are FIRMWARE RELATED, because these firmwares aren't fully optimized, just generic RK3xxx roms.
Not good drivers at all...
And not all manyfacturers optimizes their own firmwares.
Produce and forget policy.
EQUANCY said:
hi,
Thanks for your best wishes, hoping same for you.
For the issue,
Possible answer for WiFi Direct function is Firmware related, because I didn't touched any system file except su binary and build.prop.
I also tested by my self, receiving files from TVBox is working but transfering to the device isn't via SuperBeam.
As I said before, I suppose it is a firmware bug and must be reported.
And question is:
To who
However, you may ask other users who is using another firmware versions or custom roms.
Happy new years...
Click to expand...
Click to collapse
I sent a email to cloudnetgo support, let's see what comes out (probably nothing...)
daviddema said:
I sent a email to cloudnetgo support, let's see what comes out (probably nothing...)
Click to expand...
Click to collapse
You've done very well my friend, please let us know if you get an answer from them.
EQUANCY said:
You've done very well my friend, please let us know if you get an answer from them.
Click to expand...
Click to collapse
I also tried to get screen mirroring to work with the wifidisplay app included in the ROM (is this also part of the original image or did you add it?).
Again, I can set up the mirroring connection between a Samsung Note 3 and the wifidisplay app, but then actual mirroring never happens. I suspect that whatever causes wifi direct not to work also causes the mirroring not to work... pity as this is would be a nice feature...
@EQUANCY,
I have a strange issue related to sound settings, its because of the stock firmware issue, hope you give some pointers on this
in the sound devices settings, there is input sound device and o/p sound device. I understand abt the output sound device, but what is the use of input sound device ? and is by default always set. Is there a way to disable the i/p device ?.
I ask this bcasue, my sound bar sony will cutoff the sound to other devices if the cs968 device is switched-off, if in on/standby mode, the sound passthorough (via cs968 )for other devices i hv connected to my soundbar. My guess is that since sound input device is checked(Radio button on), sound bar thinks that it has to pass through cs968. If i unplug the hmdi cable from cs968, the soundbar wrks fine.
My guess is that somewhere in the settings xml file, there shd be a way of disabling the sound input device.
I tried decompiling settings.apk and settingsprovider.apk searched all file with sound as filecontent key, but could not find anything related to disabling of sound input device.
can you help me on this ???
daviddema said:
I also tried to get screen mirroring to work with the wifidisplay app included in the ROM (is this also part of the original image or did you add it?).
Again, I can set up the mirroring connection between a Samsung Note 3 and the wifidisplay app, but then actual mirroring never happens. I suspect that whatever causes wifi direct not to work also causes the mirroring not to work... pity as this is would be a nice feature...
Click to expand...
Click to collapse
Wifi Display part of firmware self, I didn't add by myself and yes it is not working properly, I've read at somewhere this application supports only Nexus devices but I'm not sure.
hanu_blr said:
@EQUANCY,
I have a strange issue related to sound settings, its because of the stock firmware issue, hope you give some pointers on this
in the sound devices settings, there is input sound device and o/p sound device. I understand abt the output sound device, but what is the use of input sound device ? and is by default always set. Is there a way to disable the i/p device ?.
I ask this bcasue, my sound bar sony will cutoff the sound to other devices if the cs968 device is switched-off, if in on/standby mode, the sound passthorough (via cs968 )for other devices i hv connected to my soundbar. My guess is that since sound input device is checked(Radio button on), sound bar thinks that it has to pass through cs968. If i unplug the hmdi cable from cs968, the soundbar wrks fine.
My guess is that somewhere in the settings xml file, there shd be a way of disabling the sound input device.
I tried decompiling settings.apk and settingsprovider.apk searched all file with sound as filecontent key, but could not find anything related to disabling of sound input device.
can you help me on this ???
Click to expand...
Click to collapse
Disabling sound input?
As much as I know, the only sound input is internal microphone.
I real don't know the other sound inputs and als no clue about disabling it.
If you mean sound output such as Analog, Optical and HDMI then may be there is option but for input, I have no idea.
Sorry.
Uninstall Apps
How can I unistall app like bsplayer?
Thanks
Hi,
Open RootBrowser (usually opens in main directory) if not then got to Main Directory first then next to
\System\App
And long press the application which you want to remove and select Delete.
Or download a root uninstaller from market then uninstall what you want.
Hope this helps.

[req]viper4android

Has anyone found a solution to get v4a working properly on sm-g928f?
Tried by the following steps without success:
1. Copied v4a app to system/priv-apps/...
2. Frozen sound alive and adapt sound service
3. Rebooted
4. Installed driver
5. Rebooted
driver seems to be installed.
Any help appreciated.
thx in advance
bump!
facing the same problem here. even made a clean new odin flash of latest L2 rom (with data wipe), and can't get it to work...
i tried to install as apk, flash different packages from threads here, all without success...
can someone with vfa working please tell us how to proper install it? thx in advance!!
detdroid said:
Has anyone found a solution to get v4a working properly on sm-g928f?
Tried by the following steps without success:
1. Copied v4a app to system/priv-apps/...
2. Frozen sound alive and adapt sound service
3. Rebooted
4. Installed driver
5. Rebooted
driver seems to be installed.
Any help appreciated.
thx in advance
Click to expand...
Click to collapse
Viper works fantastic on device.
These are correct steps :
First you need PERMISSIVE kernel, otherwise it won't work.
You need to DELETE not to freeze sound alive and adapt sound.
In build.prop find the lines or add them as follows ;
Ipa.decode=false
tunnel.decode=false
lpa.use-stagefright=false.
Push Viper apk in private apps.
Set apk permission to
rw-r-r
rw-r
Reboot device.
Run Viper again and follow instructions.
detdroid said:
Has anyone found a solution to get v4a working properly on sm-g928f?
Tried by the following steps without success:
1. Copied v4a app to system/priv-apps/...
2. Frozen sound alive and adapt sound service
3. Rebooted
4. Installed driver
5. Rebooted
driver seems to be installed.
Any help appreciated.
thx in advance
Click to expand...
Click to collapse
Copying and freezing some apps cant make it work properly man. Viper4Android needs lots of frameworks, lib files, effect and permission files etc(build.prob additions).. So; Audax Rom's sound mod is working without any problem(Viper+Dolby Atmos). After flashing the rom you dont even need to install drivers for V4A!!
tin2404 said:
Viper works fantastic on device.
These are correct steps :
First you need PERMISSIVE kernel, otherwise it won't work.
You need to DELETE not to freeze sound alive and adapt sound.
In build.prop find the lines or add them as follows ;
Ipa.decode=false
tunnel.decode=false
lpa.use-stagefright=false.
Push Viper apk in private apps.
Set apk permission to
rw-r-r
rw-r
Reboot device.
Run Viper again and follow instructions.
Click to expand...
Click to collapse
thx for your reply!
as far as i know the build.prop edits are no more necessary in lollipop, the were needed in kitkat.
also the permissive kernel is no longer a requirement, as systemless root and adding the vfa policy fix would work with lollipop stock kernels.
but just to get sure, i tried your recommendations to the point, but with the same result as with my setup:
all seems to be right, but in driver status it says
NEON enabled: Yes
Enabled: Yes
Status: Normal
Audio Format: Supported
Processing: No
Sampling Rate: 48000
the strange thing is: I only get NEON enabled when installing the driver per zip flash, otherwise vfa would install a non neon driver.
i use vfa since years, and i never went into such problems as with samsung 5.1.1...
any ideas what i'm doing wrong??

How to improve the phone's headset volume?

Hey, my H7 is rooted, and running Emui 4.0 (B320).
I love the phone but i think the sound volume is just too low. I've download Xtreme music package as long as viper4android, but the volume is still too low.
I've try to modify mixer_paths.xml, like i did with my galaxys, but i can't find it with root browser on this phone.
I've tried to modify local_prop in CUST/hw/Eu/prop to remove the volume limitation but there is not the line ro.config.hw.security_volume as it is on other phones. (tutorial for other phones including this technique here: http://forum.xda-developers.com/showthread.php?t=2531673 )
There is no codec folder either, so i can't try the solution by removing it.
There is an Audio folder tho, under system/etc/ and within it, there are a dozen of folder, and one called Hi6402 containing a lot of mixer_paths files like CARRERA DAVINCE GRACE etc, and a lot of mixer_volumes files with the same name. Both have a default version.
There is no line allowing to modify the volume in the mixer_paths.xml file, but there are plenty in the mixer volume one. Could this be it? I don't know what to change, as all the others file have this lines too, and there are plenty of them.
Thanks for the help.
There is a file with a volume security in HW_OEM/PROP, but changing the values didnt change a thing. I'm doing further investigations.
Dude, you're going to break your ears![emoji14]I don't know about managing maximum volume but quick question : you successfully installed Viper4Android?? Last time I tried, drivers won't install correctly and nothing changed when I activated equalizers..
Envoyé de mon PLK-L01 en utilisant Tapatalk
Haha don't worry i'm used to it. Did you instal busybox and/or selinux? They are both needed for the application to work.
Try to download a different version of the application if you still can't install drivers, and check if you are properly rooted.
I couldn't get V4A working either.. Can you tell how it is done? I'm on B320 rooted and busybox installed. I downloaded and installed the Marshmallow-version of the V4A. Do I have to enable it somehow in honor's audio settings because there seems not to be a place where i can choose what audio effect to use? I have also tried several audio players, but does it matter which to use? Driver status says "abnormal" so that's probably the problem..?
kiroileva_fossiili said:
I couldn't get V4A working either.. Can you tell how it is done? I'm on B320 rooted and busybox installed. I downloaded and installed the Marshmallow-version of the V4A. Do I have to enable it somehow in honor's audio settings because there seems not to be a place where i can choose what audio effect to use? I have also tried several audio players, but does it matter which to use? Driver status says "abnormal" so that's probably the problem..?
Click to expand...
Click to collapse
I flashed v4.6 stock from this thread http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
I have Busybox and SElinux changed to permissive and V4A works fine in Lollipop
btb55 said:
I flashed v4.6 stock from this thread http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
I have Busybox and SElinux changed to permissive and V4A works fine in Lollipop
Click to expand...
Click to collapse
how do you change selinux to permissive
magnea said:
how do you change selinux to permissive
Click to expand...
Click to collapse
Search in this forum for SElinuxModeChanger app.
Sent from PLK-TL01H

[OREO] Working Sound Mod of Viper4Android XHiFi on S8 & S8+ [Exynos Only]

Hi,
I have tested many Sound Mods on Oreo beta for SM-Galaxy S8 & S8+. I am just sharing one sound mod i.e. Viper4android XHiFi, which is working on latest built of Oreo beta for S8 & S8+ Tested on Exynos Only
Here is how to:
1. You must install core system
2. Do not select any thing else than V4A XHiFi in Sound Mods
3. You must select to remove deepbuffer in Aroma Installer
4. You have to select Permissive & SD Card fix in Aroma Installer
5. Its based on A.R.I.S.E Sound, so all credit to him
6. I just debloated other Mods that are not working on Oreo
7. I am not a script developer or like that so U have to go throw all screens and just select whatever you read above
8. Download & Flash the Zip file in TWRP
V4A XHiFi
Please upload this file on other sources like, Android file host, zippy share and other trusted file hosting servers.
Link not work
hasanben35 said:
Link not work
Click to expand...
Click to collapse
Link Updated.
Does it work with LDAC codec?
mstormer said:
Does it work with LDAC codec?
Click to expand...
Click to collapse
Try, it out. I just tested all profiles included in this Mod.
rajkabul said:
Try, it out. I just tested all profiles included in this Mod.
Click to expand...
Click to collapse
for me it doesnt, just wondering if anyone got it working with LDAC
rajkabul said:
Hi,
I have tested many Sound Mods on Oreo beta for SM-Galaxy S8 & S8+. I am just sharing one sound mod i.e. Viper4android XHiFi, which is working on latest built of Oreo beta for S8 & S8+ Tested on Exynos Only
Click to expand...
Click to collapse
Thanks man. It works.
Tested on this Oreo based ROM [ROM][8.0][ZRA5][G950F/FD & G955F/FD] alexega Oreo Rom Conrol 200 Mods
Here's how I did it:
1. Download V4AXHIFIModAromaInstaller.zip;
2. In TWRP install V4AXHIFIModAromaInstaller.zip;
3. In Aroma choose only (1) Viper4Android XHiFi, (2) remove deepbuffer, (3) fix sd card permissions, (4) selinux (check); <-skip all other options including Viper4Arise old or new version.
4. Reboot to system;
5. Launch Viper4Android XHiFi;
6. Enable whatever environment you need it for (headset, speaker, BT
7. Boooooom, you will have it working (3 dot menu Driver Status should say Enabled:YES, Processing: YES, Status: Normal).
great to hear. I will try on same rom asap
jemeljsh said:
Thanks man. It works.
Tested on this Oreo based ROM [ROM][8.0][ZRA5][G950F/FD & G955F/FD] alexega Oreo Rom Conrol 200 Mods
Here's how I did it:
1. Download V4AXHIFIModAromaInstaller.zip;
2. In TWRP install V4AXHIFIModAromaInstaller.zip;
3. In Aroma choose only (1) Viper4Android XHiFi, (2) remove deepbuffer, (3) fix sd card permissions, (4) selinux (check); <-skip all other options including Viper4Arise old or new version.
4. Reboot to system;
5. Launch Viper4Android XHiFi;
6. Enable whatever environment you need it for (headset, speaker, BT
7. Boooooom, you will have it working (3 dot menu Driver Status should say Enabled:YES, Processing: YES, Status: Normal).
Click to expand...
Click to collapse
. . . and how would you gage the differences from regular Viper?
I confirm that it works perfectly on s8 950F
THNKS!!!
On my 955F TWRP says zip file corrupted.
Blubber120 said:
On my 955F TWRP says zip file corrupted.
Click to expand...
Click to collapse
Zip file is OK, try to redownload the file.
JeffDC said:
. . . and how would you gage the differences from regular Viper?
Click to expand...
Click to collapse
I would not say its much of a difference, but then again it must be noted that from all the features/tweaks and stuff available in "regular Viper" I mainly use (enable) sound equalizer available in "regular viper" since all other options have proven (in my case) to be either an overkill or nothing over-the-top or something I can't achieve through tweaks in sound equalizer
Hello,
i install it on Oreo but i dint get the app Viper4android.What the mistake.I have installed all right
How to download the zip.file it won`t start to download .. !!
Working great on renovate 9.0
Thanks
install it in RENOVATE ICE 9.1 - CRB7 | NIGHTLY - CRB7 | Android 8.0 but I have a problem ... when I plug into my car, I hear the music audio but in a call I do not and I have to take my cell phone to talk ... Does anyone know how to fix it? It only happens to me with phone calls ... thanks.
If I uninstall XHIFI, I'll have call audio in my car again.
will there be any updates to this module ?? with the previous version of OREO, CRAP, I did not have this problem.
will this work on s7 edge?
Hello, sir will this method work on samsung s7 edge G935FD ? im using oreo 8.0 (samsung experience 9) offical vietnam rom i got this rom from this website. Please reply im so stressed because of this im a music love i managed to get a good headphone but without viper4android music dont feell that good
ARISE
I need ARISE running ViPER4Arise, Dolby, XHIFI, ARISE AM3D modules running on S8+ Oreo, any idea guys, link please if yes, thanks
rajkabul said:
Hi,
...
1 . You must install core system
2. Do not select any thing else than V4A XHiFi in Sound Mods
3. You must select to remove deepbuffer in Aroma Installer
4. You have to select Permissive & SD Card fix in Aroma Installer
5. Its based on A.R.I.S.E Sound, so all credit to him
6. I just debloated other Mods that are not working on Oreo
7. I am not a script developer or like that so U have to go throw all screens and just select whatever you read above
8. Download & Flash the Zip file in TWRP [/B]
Click to expand...
Click to collapse
Hi there, ive done all of the above and the script ran through without errors but under driver status it still states:
Enabled: no
Processing: no
Any help is appreciated

[GUIDE] Fix Bluetooth Audio & aptX & Bluetooth in call in GSI ROM

***This should NOT be needed anymore, since A13 builds have fix this. ***​​Tested on 2 Qualcomm devices with phh android 12 based gsi.​For now, I can't enable A2DP and fix Bluetooth in call at the same time. Feel free to tell me if you find a way.​
------------------------------------------------
This guide provide workarounds for many Bluetooth problems, such as:
1. Can't open Bluetooth
2. Can't connect to Bluetooth devices
3. Can't use Bluetooth audio
4. Can't use Bluetooth in call
------------------------------------------------
After finished the following steps, your device will have both Bluetooth audio (SBC, AAC, Aptx, AptxHD ,LDAC) and Bluetooth in call working.
1. remove /vendor/overlay/BluetoothResCommon.apk (if presented) (if presented and deleted, wipe Data and reinstall your gsi in case it didn't take effect)
2. remove /vendor/etc/a2dp_audio_policy_configuration.xml
3. Enable "Force-disable A2DP offload" in phh settings
4. Enable "use alternate audio policy" in phh settings if you face any problem in sound and/or volume adjustment (if you got multi ones in different feature category, try different combination until it behave normally)(may require reboot)
5. flash Magisk module "aptx-HD-magisk-10_arm.arm64.zip" to fix aptx support
Now everything mentioned above should work.
------------------------------------------------
Thanks multiwirth for providing the Magisk module. Original post : https://forum.xda-developers.com/t/...oid-12-11-10-9-8-lineageos-18-1-19-0.4081693/
Thanks SrCDA and Craftingmod for some solutions. Original post : https://forum.xda-developers.com/t/guide-fix-bluetooth-audio-a2dp-aptx-in-any-gsi-rom.3950938/
Thanks many people on XDA and Github for some solutions.
I can't delete anything
footjobs said:
I can't delete anything
Click to expand...
Click to collapse
The information you give is not enough for me to solve your problem.
However always make sure you have permissions when modifying those system partitions.
i didn't found /vendor/overlay/BluetoothResCommon.apk in my device (vince)
note : I use a modified MIUI rom
ghost_rw said:
i didn't found /vendor/overlay/BluetoothResCommon.apk in my device (vince)
note : I use a modified MIUI rom
Click to expand...
Click to collapse
Are you using a gsi?
no,i didn't
my problem is my headphone connect with phone but the phone don't send a sound to headphone
Rocky7842 said:
Are you using a gsi?
Click to expand...
Click to collapse
ghost_rw said:
no,i didn't
my problem is my headphone connect with phone but the phone don't send a sound to headphone
Click to expand...
Click to collapse
This guide is for phh's Gsi.
My Bluetooth keeps on disconnecting. How do I fix this. So like if the song pause or buffers it just disconnects 50% of the time and it's annoying so if there's any way I can fix this...
{Mod edit: Quoted post has been deleted. Oswald Boelcke, Senior Moderator}
This post is only for generic system images (GSIs). For any device specific ROM, contact the maintainer (if available) for help.

Categories

Resources