cancrodevs / android_device_xiaomi_cancro

GNU General Public License v2.0
1 stars 0 forks source link

a2dp #7

Open DrRamm opened 6 years ago

DrRamm commented 6 years ago

12-26 17:48:38.491 1115 1115 E a2dp_vendor_aptx_hd_encoder: A2DP_VendorLoadEncoderAptxHd: cannot open aptX-HD encoder library libaptXHD_encoder.so: dlopen failed: library "libaptXHD_encoder.so" not found

rename it too? https://github.com/cancrodevs/proprietary_vendor_xiaomi/commit/995248f6e007f7704bb8780b8ee80ca66929dab5#diff-192a947a2f5c7f30206d1682708c6fc9R499

GuaiYiHu commented 6 years ago

use this https://github.com/xiaomi-note-dev/android_device_xiaomi_virgo/commit/0e0df0445b9694691413dff0e0c2ea4ca8144e1e#diff-380e537acdaedd487ca1adb49d020f7e

DrRamm commented 6 years ago

@GuaiYiHu Thanks u again. Didnt notice that. Btw, how u made camera works. Currently we have a lot of issues such as Nfc, camera, mac adress for bt and wifi. And all of them I can fix (at least I think so), but cant figure out how u made camera for virgo. iirc virgo has imx214 right?

GuaiYiHu commented 6 years ago

you can flash virgo's lineage-15.1 to cancro directly to see if camera works on it? They share the same blobs.

DrRamm commented 6 years ago

ohhhh thats true

GuaiYiHu commented 6 years ago

emmmm~ camera works perfect~~ img_20180101_123409 img_20180101_123738 img_20180101_123804

GuaiYiHu commented 6 years ago

I shall bring up cm-14.1 with the new kernel source and new blobs for cancro, for easier bringing up for lineage-15.1. The new kernel source works good on MI NOTE, U can try it on MI3 and MI4 as well. https://github.com/xiaomi-note-dev/android_kernel_xiaomi_virgo/tree/lineage-15.1

DrRamm commented 6 years ago

@GuaiYiHu what do u think about common repo? I mean common-8974-xiaomi or smthng like that. IIRC Virgo = Mi 4 with diff display, right? Even IR blaster is present and IMX 214 sensor too

GuaiYiHu commented 6 years ago

Sounds good and I am rewriting the device tree for Virgo.

DrRamm commented 6 years ago

we (me and Shivam) will join after fixed camera stuff at cancro. Can u remind me about RIL in virgo? Is that compatible with cancro? Check this maybe I missed smthng

Right now I think we have those diffs: features MI3 MI4 MI NOTE IR no yes yes NFC yes no no RIL cancro cancro ? camera 135 214 214 Sensors seems identical

GuaiYiHu commented 6 years ago

IR no yes no NFC yes no no FM yes yes no RIL service differs in ramdisk as Virgo is a dual-sim version, but they share the same blobs. Sensor is quite different from cancro. In fact, Ivan did made a common repo before. And cancro can flash Virgo's miui directly.

GuaiYiHu commented 6 years ago

What I am doing is trying to make the commit look cleaner on virgo. XD

DrRamm commented 6 years ago

IR no yes no NFC yes no no FM yes yes no

we can remove it in device_check.sh

RIL service differs in ramdisk as Virgo is a dual-sim version, but they share the same blobs.

Pfff I think that we can adjust it too

In fact, Ivan did made a common repo before.

Yeah I know it, but I think that would be a better use common repo

We will try change virgo tree for cancro, dont think that will be hard.

GuaiYiHu commented 6 years ago

Just refer to this, this is cleaner than it was before. https://github.com/xiaomi-note-dev/android_device_xiaomi_virgo/commits/cm-14.1

DrRamm commented 6 years ago

@GuaiYiHu yeah i saw it thanks u