[Q] Porting apt-X codec to other devices - Galaxy S III Q&A, Help & Troubleshooting

I'm wondering, would it be technically possible (apart from being illegal) copying apt-X codec to another Android device with A2DP support?
I've already posted this question on Optimus 4X Q&A forum, so here's details.

magickone said:
I'm wondering, would it be technically possible (apart from being illegal) copying apt-X codec to another Android device with A2DP support?
I've already posted this question on Optimus 4X Q&A forum, so here's details.
Click to expand...
Click to collapse
Hi
I'm also interested in keeping the Apt-X support on my GS3 while moving away from the stock rom, but the rom I use, AOKP, will not implement a proprietary codec.
Could it be as simple as extracting the libbt-aptx-4.0.4.so from /system/lib of the default rom and copy it into the /system/lib of the desired rom with the same permissions?
Thanks
Beng

Related

[Q] extract bluetooth stack from cyanogenmod?

is there any way to do this?
get the custom stack cyanogen created, as an apk or some other means to upgrade sense based rom, or to cook it into a sense based rom
it's in an effort to replace HTC's botched bluetooth stack that apparently doesn't allow spp/hid options to function properly (wiimote, bluputdroid, connecting to many factory car bluetooth systems, etc)
Has anyone managed to do this?
I think it would solve my problem of no audio on my car kit using my Desire S
I could really use that as well. Any takers?
Bump
Has anyone made any progress with this?
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[please delete THREAD]

Please Sticky
Galaxy Player 5.0 ONLY
It is up to you to find out if these ROMS etc work with either US or International version.
1. Post only positive suggestions, amendments or point out mistakes
2. Don't post general questions into this thread create new threads in the relevant forum
3. Don't post Thank You, use the THANKS button
4. Be patient, remember I have a life as well and can only change things after you've told me
Before you start modifying your device it is recommended that you enable Usb debbuging :
Settings->Applications->Development->USB debugging = TICK
It's also worth installing adb on your pc in order to provide developers and other users proper debugging/logcat information regarding any issues that you'll later encounter, as this can be a big help when attempting to fix/solve any subsequent problems you experience.
If development on any of the ROMs below or any other entry has been ceased or is no longer valid then I would appreciate if someone (preferably the thread owner (OP)) could contact me and inform me so that I can label it as #CLOSED#. It may also be a good idea for the thread owner to contact the Moderator smokestack76 (or any Moderator) and request that the thread is closed.
Once a ROM thread has had no modifications for a couple of months of months, it will deemed to be #OLD# and I'll mark it as so, in an attempt not to clutter the ROM list, if the thread is still active then please PM me or post within this thread and I'll change it's status, please don't take offense if this is your ROM but, some form of housekeeping must be performed so that the INDEX remains a useful easy to use resource for the community.
General Guides
[MOD] Solving all incompatibility issue with Games & Apps
Chainfire3d: Boost Your Graphics on the SGP5!
[Testing] Overclocking with Tegrak {SGP5}
[SGP5/4] Recommended Apps/Widgets/Mods!
Root
Rooting the Galaxy Player (All Versions) (Windows, Mac, Linux)
[Q] Rooting Samsung Galaxy Player YP-G70 (5.0 wifi)
Custom Recovery + Kernel
US Version
[KERNEL][CWM]Entropy's Daily Driver for USA 5.0, 1/14/2012 (Initial Release)
International Version
[KERNEL][CWM-beta] rj's custom kernel for Galaxy Player 5.0 international (YP-G70) r8
Stock ROMS
[STOCK ROM] For Galaxy Player 5.0 International (YP-G70CW)
Pre-Rooted Stock ROMS
[ROM] Galaxy Player 5.0 INTL (YP-G70) - Stock/Rooted/rj's Kernel
Useful Links
ICS Port
[REF] Github repo for USA YP-G70 (Galaxy Player 5.0) Initramfs
Galaxy Player 5.0 Bootloader *ONLY* Hard Brick Recovery
[Q] galaxy player 5.0 yp-g70 usa stock kernel
Post your Screenshots !
prop editor help
[Emulation] Play Emulators on your SGP with a SixAxis PS3 Controller!
please Sticky and can the Mod please add "Galaxy 5.0 only" to the thread title thanks
Would you mind adding this link to the useful post?
http://forum.xda-developers.com/showthread.php?t=1436954
It's information on how to use a Sixaxis PS3 controller with almost every emulator. It's a fantastic alternative considering WiiMotes are not currently supported due to an issue with the chip Samsung uses for Bluetooth (afaik).
ZaIINN said:
Would you mind adding this link to the useful post?
http://forum.xda-developers.com/showthread.php?t=1436954
It's information on how to use a Sixaxis PS3 controller with almost every emulator. It's a fantastic alternative considering WiiMotes are not currently supported due to an issue with the chip Samsung uses for Bluetooth (afaik).
Click to expand...
Click to collapse
There you go

e970 host mode?

I know that this has been debated before and the general consensus Is that we don't have support. I have seen though, some scrip mods to add support through modifying the kernel via twrp flashing for the nexus 4. Now the lgog and the n4 are very close as far as software, (yes I know that there are partition differences and other changes between the two) but can't the scripts be modified to work for us? Or is it easier to just do a n4 port and then run the scrips? If this has already been don't please link because I've searched and have come up empty. I do feel that this is possible because module files can be found in the /sys/modules in any file viewer.
Here's a link for the n4 thread: http://forum.xda-developers.com/showthread.php?t=2181820

Roms / devices that support multiple recordings at the same time.

I',m not sure what is the correct forum to post this, so I will post this question here.
I want to be able to record audio from several apps at the same time.
It is not working on my Smasumng S3, I'm getting error code -38.
I searched around for a while and this is the best info that I found on this question: stackoverflow.com/questions/25725634/android-source-and-audiorecord-multi-utilisation
It is mentioned there that there are some Sony devices that support it and also that custom rom with "stream splitter" can be implemented to achieve this.
Is there a list of devices that support this feature available somewhere?
Is there a custom rom that I can use to achieve this?
Or maybe you can give me directions on how to implement custom rom with such feature?

[MOD]aptX for all

aptX is an advanced bluetooth codec.
The flashable zip should work on all devices supporting bt >=4.0, but since I only tested this on my chagallwifi, I'm posting in this forum.
I verified the mod is working on a chagallwifi with Teufel Move BT (c). If I use a source coded lossless (I used a flac file) the difference is hearable with the Move BT.
The zip just copies over the three libaptX* files to /system/vendor/lib and sets their permissoins to 644.
Just reboot after flashing and AptX is working. To get AptXHD working, add this line to /system/build.prop:
Code:
persist.bt.enableAptXHD=true
Finaly: Reboot.
many thanks, if this works it is brilliant :fingers-crossed::good:
I guess it is only working on LineageOS and LOS based ROMs?
If yes it should also work on other devices running LOS, such as my galaxy S5?
regards
j1gga84 said:
many thanks, if this works it is brilliant :fingers-crossed::good:
I guess it is only working on LineageOS and LOS based ROMs?
If yes it should also work on other devices running LOS, such as my galaxy S5?
regards
Click to expand...
Click to collapse
nvertigo67 said:
The flashable zip should work on all devices supporting bt >=4.0
Click to expand...
Click to collapse
Since it's "just another codec" it should work on ALL devices with sufficient bt support - that's my technical guess. I terms of copyright law it's only allowed to use this on aptx licenced devices. Check the box of your device for the AptX logo or search here for your device. But since the zip does not check for devices...
BTW: lineageos for all exynos5420 based devices will have aptx support build in from the next realese on, thanx to @DarkExistence: https://forum.xda-developers.com/showpost.php?p=75200352&postcount=1201
Is this zip obsolete if the ROM you use already has APTX support on board?
I was asking in the Samsung galaxy S5 LineageOS thread and there it was implemented about one year ago but I could not find the line you mentioned in my build.prop
Regards
Sent from my SM-G900F with Tapatalk
j1gga84 said:
Is this zip obsolete if the ROM you use already has APTX support on board?
I was asking in the Samsung galaxy S5 LineageOS thread and there it was implemented about one year ago but I could not find the line you mentioned in my build.prop
Regards
Sent from my SM-G900F with Tapatalk
Click to expand...
Click to collapse
Sorry, I only have detailed knowledge of devices I have my hands on. In this case chagallwifi (sm-t800). If you use @DarkExistence official lineage builds or mine (see sig) you have NOT to do anything, because the zip is included in the blobs and the buildprop is edited.
Sammy is different from the other childrens - especially, but not limited - on audio. The audio implementation on stock sammy roms is completely different from aosp/los. When I first brought up cm11 @Barracuda77777 and me had a hard time on getting the xml files for audio correctly migrated. Later @Schischu did a great job on making a script for this task.
If you look at a stock t800 rom, you will not find any files named libaptX*so though it supports aptx.
Keeping that in mind, the s5 los builds may support aptx, though neither the build.prop line, nor the libs named libaptX*so are present. Before flashing this on s5, just check, if it's already supported ("logcat -d|grep -i -e aptx -e audio" - you need a posix complient grep for multi expresaions! Included in my builds, or run two timesmwith only one expression.).
Last but not least: if you just flash this zip without editing build.prop you will have full aptX support. The build.prop edit is to enable aptXHD. So the missing build.prop edit is no indicator for aptX support.
For completeness this is @Schischu's script.
I hope this is clearifying some points.
Did not found any logo for aptx connection!! Used on tfz air king with T805
Who cares about license... i don't. just do whatever you want if it's pleasant to you and ok 4 us
toufiq47 said:
Did not found any logo for aptx connection!! Used on tfz air king with T805
Click to expand...
Click to collapse
there isn´t.
Check the bluetooth settings for the currently connected device, it may show "HD audio: Qualcomm aptx (-HD)"
But as far as i remember, this zip in here is only designed for android 7.
Android 7 doesn´t fully support aptx and doesn´t show any info about it.
Android 8 and up does natively support aptx, aptx-HD and i think even Ldac.
So as soon as compatible binarys were found, it can use it (and shows if the connected device is using the codec).
If you´re looking for aptx for a more recent android version, take a look at my signature and you may find something

Categories

Resources