Q&A for [unofficial][5.0.2] CyanogenMOD 12.0 for SPICE MI509 [ALPHA2][MT6582]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [unofficial][5.0.2] CyanogenMOD 12.0 for SPICE MI509 [ALPHA2][MT6582]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Unbelievable work
Waiting for a stable update. Please fix bugs asap .thank you
thegaurav999 said:
Waiting for a stable update. Please fix bugs asap .thank you
Click to expand...
Click to collapse
ported the latest build with many bugs fixed...
only need some more time for testing.......
thegaurav999 said:
Waiting for a stable update. Please fix bugs asap .thank you
Click to expand...
Click to collapse
a latest build is uploaded...
Just ported cm 12.1 for mt6582 4.4.2 but only sim 1 imei is showing....how to fix this..thanks.
Ussd mmi not work
Booting issue
ROM is working fine when you reboot the device but if one shuts it down and then starts using power key , the following wont work:
1.Camera
2.Both sims
3.Video Playback
4.WiFi
5.Audio Recorder
After rebooting it works fine...but some other issues persist
1.Sound records only in .wav format
2.Terminal app when enabled in developer options dosent work
Pls try to fix these.....
[email protected] said:
ROM is working fine when you reboot the device but if one shuts it down and then starts using power key , the following wont work:
1.Camera
2.Both sims
3.Video Playback
4.WiFi
5.Audio Recorder
After rebooting it works fine...but some other issues persist
1.Sound records only in .wav format
2.Terminal app when enabled in developer options dosent work
Pls try to fix these.....
Click to expand...
Click to collapse
bro these are bugs in all cm roms...
you can try my PAC-MAN and AICP roms based on cm12.1...
and these have less bugs and also storage bug is also fixed...
it is lollipop 5.1.1
Xposed issue
Can't install Xposed as it gives error.....using PhilZ 6.57.9
[email protected] said:
Can't install Xposed as it gives error.....using PhilZ 6.57.9
Click to expand...
Click to collapse
this is not fully working cm bro...thats why xposed not working.....
Hello everyone!
As some of you might know there are many versions of Galaxy S4. I'm an owner of GT-i9515 - one of the most recent version. It's a little different than i9505 but i did manage to build fully working CM11. However i have major problem with CM12.1 - RIL is only partially functional. By partially i mean that i can search for networks, i can see informations about IMEI and i can call emergency number but still my SIM card is not recognized. I did exchenge it to the new one but problem persist. Here is the output of radio logcat: http://pastebin.com/CbLyydiR I'm no java coder but as far as i can the problem is that android can't get proper phoneID/subID number. Any help and/or idea is highly appreciated
Edit: Problem solved - on TheMuppets github were wrong proprietary libs - that was the reason why RIL was not working. Anyway thread can be closed.
Hi,
Glad to hear its solved
Thread Closed.
Ive been messing around my phone lately. A few days before, I came across a CM12 built for another mediatek device from source running on stock kitkat kernell. So, me and my friends tried to port it to our phones running MT6572 chipset and it worked!
Now, I am posting here to ask for help in fixing the bugs.
Heres a list of what works and do not work.
What is WORKING:
- Philz Touch Recovery 6.59
- Everything except for things in the "What is NOT WORKING" list.
What is NOT WORKING:
- Bluetooth
- Sim
- Wifi
- Camera
- No sound comes out from the Speaker( But in headphones, it does)
- No USB Mass storage(But in recovery, it has)
- Probably some unencountered bugs.
Help would be highly appreciated
kimvic2s said:
Ive been messing around my phone lately. A few days before, I came across a CM12 built for another mediatek device from source running on stock kitkat kernell. So, me and my friends tried to port it to our phones running MT6572 chipset and it worked!
Now, I am posting here to ask for help in fixing the bugs.
Heres a list of what works and do not work.
What is WORKING:
- Philz Touch Recovery 6.59
- Everything except for things in the "What is NOT WORKING" list.
What is NOT WORKING:
- Bluetooth
- Sim
- Wifi
- Camera
- No sound comes out from the Speaker( But in headphones, it does)
- No USB Mass storage(But in recovery, it has)
- Probably some unencountered bugs.
Help would be highly appreciated
Click to expand...
Click to collapse
hahahah i've ported cyanogemod 12.1 beta 4 from mt6582 to mt6572,
working:
wifi
data connection
sim
gps
sounds
mtp
adb
doesnt work
wifi hotspot (turns on but can't be detected maybe just need to change some lib)
ussd
bluetooth (won't turn on)
camera (not fc maybe able to fix)
---------- Post added at 05:40 PM ---------- Previous post was at 05:35 PM ----------
i can't try fixing the other bugs anymore because my friend already takes his device from me. so i'm left with no device. message me in facebook if you want help in porting cm 12.1 beta this is my account https://www.facebook.com/klark231
klark231 said:
hahahah i've ported cyanogemod 12.1 beta 4 from mt6582 to mt6572,
working:
wifi
data connection
sim
gps
sounds
mtp
adb
doesnt work
wifi hotspot (turns on but can't be detected maybe just need to change some lib)
ussd
bluetooth (won't turn on)
camera (not fc maybe able to fix)
---------- Post added at 05:40 PM ---------- Previous post was at 05:35 PM ----------
i can't try fixing the other bugs anymore because my friend already takes his device from me. so i'm left with no device. message me in facebook if you want help in porting cm 12.1 beta this is my account https://www.facebook.com/klark231
Click to expand...
Click to collapse
This is me sensei ^^ I ported Beta 4 also. Still cant send msgs XD
kimvic2s said:
This is me sensei ^^ I ported Beta 4 also. Still cant send msgs XD
Click to expand...
Click to collapse
ryuzaki?
klark231 said:
ryuzaki?
Click to expand...
Click to collapse
Yes
Motivated by the aptX codecs for CM14.1 bluetooth stack found by dh.harald (https://forum.xda-developers.com/oneplus-3/themes/mod-aptx-codec-t3521228) I present:
APTX (HD) support for CyanogenMod 13 based ROMs - V1.2
I ported the aptx codec offloading support from the latest Qualcomm bluetooth stack over to the bluetooth stack from CM 13. After a full week of porting and bugfixing I managed to get it to work on my Galaxy S5 running CM13!
Please go ahead and test this on other devices (or other Marshmallow based ROMs, if the bluetooth stack's API is equal to the API from CM13, it should work).
If it does not work for you, dirty flash your ROM again, the modification should be overwritten.
Requirements
ARMv7 device (sorry, no ARM64 or x86 support!)
CM13.0 ROM (for 14.X see dh.harald's thread)
aptX capable headset/speaker
Download
aptXforCM13_v1.2.zip (AFH)
aptXforCM13_v1.2.zip (Github)
Installation
1. Install zip from recovery
2. Add the following to the /system/build.prop file
Code:
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd
Search your log for the line I bt_btif_media: btif_a2dp_encoder_init Selected Codec aptX to see if it works.
Confirmed devices
Samsung Galaxy S5 (klte) on CM 13.0 (SD801)
OnePlus 3 on CM 13.0 (SD820)
OnePlus 3 on BJRR (SD820)
Galaxy S6 Edge+ on CM13 (Exynos 7420)
LG G2 D802 on CM13 (SD800)
Version history
V1.2 - This release incorporates two security fixes for bionic and bt library (CVE-2017-0422, CVE-2017-0602)
V1.1 - Improved A2DP buffer sizes, fixing audio glitches and reduces CPU usage
V1.0 - Initial release
Build from source code
If you want to integrate this mod to your own build/ROM, use the following repositories:
https://github.com/mh0rst/android_bionic for bionic (In repo mainfest.xml: <project path="bionic" name="mh0rst/android_bionic" groups="pdk" />)
https://github.com/mh0rst/android_system_bt (In repo mainfest.xml: <project path="system/bt" name="mh0rst/android_system_bt" groups="pdk" revision="cm-13.0-with-aptx" />)
Impossible to download, ads everywhere, but no file...
ElDonTheo said:
Impossible to download, ads everywhere, but no file...
Click to expand...
Click to collapse
Sorry for that, I didn't realize these sites had so many ads. Will upload to github and AFH this evening, make a suggestion if you want the file somewhere else.
Works fine here on a OnePlus3 with CM 13.0 nightly 20161107 (latest available version). I tested with a VTIN bluetooth 4.0 in-ear headphones.
Thanks a lot for this!!!
Works also fine on Sultan's CM13 for OP3.
Thank you very much for porting this to Marshmallow!
I need for xiaomi mi5.
lockdlock said:
I need for xiaomi mi5.
Click to expand...
Click to collapse
I don't know what bluetooth stack is used by the mi5, at least for their official ROM. Because they are using the Snapdragon 820 processor it might be the standard fluoride stack, which may work. Just try to flash this mod, if it doesn't work, re-flash your original ROM.
I know the mi5 has unofficial cm13/14.1 support, you could try to flash one of those and then try my mod (for cm13) or dh.haralds mod (for cm14.1)
Download is great now, thanks
But I couldn't make it work, it breaks the Bluetooth, which cannot be enabled :/
Galaxy Tab Pro 8.4 - RR unoffical
Same thing as mentioned above, it breaks the Bluetooth functionality.
Flashed it with and without dalvic / cache cleaning on htc one mini 2 with cm13
Does it need specific modifications to get it run?
Off topic: I read something on the forum - Snapdragon LLVM Compiler is just for the system not for compiling apps, right?
ElDonTheo said:
Download is great now, thanks
But I couldn't make it work, it breaks the Bluetooth, which cannot be enabled :/
Galaxy Tab Pro 8.4 - RR unoffical
Click to expand...
Click to collapse
Are you usung RR 5.8.0 or 5.7.4? Can you post a complete logcat of trying to enable bluetooth?
MrAnswer said:
Same thing as mentioned above, it breaks the Bluetooth functionality.
Flashed it with and without dalvic / cache cleaning on htc one mini 2 with cm13
Does it need specific modifications to get it run?
Off topic: I read something on the forum - Snapdragon LLVM Compiler is just for the system not for compiling apps, right?
Click to expand...
Click to collapse
I looked at the logcat you provided and the source of the ROM, but the creator didn't release the manifest used to build the ROM, therefore I can't check for differences between the bluetooth stacks. I don't want to raise hopes, it is very hard for me to solve bugs in combination with devices I don't own and without meaningful logcat or (obvious differences in) the source code.
The only specific modification my mod needs is a small modification to libc (symbols needed by aptx library, which was originally compiled for Nougat), and this is already included in my mod. It is likely that your ROMs modify libc or has a different bluetooth stack than CM13.
The snapdragon compiler AFAIK was introduced with the nougat repositories, and can be used for both system and app compiling (at least the native parts of the apps). I don't use it ATM, because I still compile for Marshmallow based CM13.
Dear @brhorst
I have a SM-G928F and @Rainbow_Dash CM13 ported rom ,
before using your codec :
music streaming Bluetooth work but lot of noise
Call with bluetooth work but lot of noise
after used your aptx codec :
music streaming Bluetooth work weel !!!!
Call with bluetooth work but lot of noise
my question is , can I manage to use the libs for "call throught bluetooth"?
Br
Elkhardioui said:
Dear @brhorst
I have a SM-G928F and @Rainbow_Dash CM13 ported rom ,
before using your codec :
music streaming Bluetooth work but lot of noise
Call with bluetooth work but lot of noise
after used your aptx codec :
music streaming Bluetooth work weel !!!!
Call with bluetooth work but lot of noise
my question is , can I manage to use the libs for "call throught bluetooth"?
Br
Click to expand...
Click to collapse
Hi,
unfortunately, the playback of audio and call handling is separated in the bluetooth standard (Audio => A2DP, Calling => HFP) and stack and cannot be mixed or exchanged in an easy way.
This makes perfect sense, because the requirements for both use cases are totally different: Audio should have best quality, latency is not an issue, whereas during a call, low latency is very important, which is gained as a trade off from audio quality.
I didn't touch the HFP part of the stack, maybe backporting it from nougat or newest Qualcomm repositories can help. As I can't reproduce the problem (don't have a S6 Edge), this has to be done by a developer with such a device.
I'm sorry I can't help you otherwise than having a great music listening experience via bluetooth.
brhorst said:
Hi,
unfortunately, the playback of audio and call handling is separated in the bluetooth standard (Audio => A2DP, Calling => HFP) and stack and cannot be mixed or exchanged in an easy way.
This makes perfect sense, because the requirements for both use cases are totally different: Audio should have best quality, latency is not an issue, whereas during a call, low latency is very important, which is gained as a trade off from audio quality.
I didn't touch the HFP part of the stack, maybe backporting it from nougat or newest Qualcomm repositories can help. As I can't reproduce the problem (don't have a S6 Edge), this has to be done by a developer with such a device.
I'm sorry I can't help you otherwise than having a great music listening experience via bluetooth.
Click to expand...
Click to collapse
Dear sir,
Thank for your answer, I understand the situation, anyway good job and thank you for your amazing job
Would there be ARM64 support for this aptx codec CM13 ?
L649288 said:
Would there be ARM64 support for this aptx codec CM13 ?
Click to expand...
Click to collapse
It's working fine on OnePlus 3 which is ARM64
lekronop said:
It's working fine on OnePlus 3 which is ARM64
Click to expand...
Click to collapse
I installed it on Xiaomi Redmi 3 Pro, cm13 64bit, bluetooth stopped working at all. Restored system from backup.
Confirmed working on LG G2 D802 CM13, thank you!
01-30 12:11:57.563 I/bt_btif_media(3161): btif_a2dp_encoder_init Selected Codec aptX
L649288 said:
Would there be ARM64 support for this aptx codec CM13 ?
Click to expand...
Click to collapse
L649288 said:
I installed it on Xiaomi Redmi 3 Pro, cm13 64bit, bluetooth stopped working at all. Restored system from backup.
Click to expand...
Click to collapse
Arm64 would be possible if we could find arm64 versions of the libaptXScheduler.so and libaptX-1.0.0-rel-AndroidXXXX.so files. You may find them in firmware images of ARM64 devices supporting Nougat and aptX.
Then it would only be a matter of compiling the bluetooth stack against arm64.
Given the backwards compatibility of ARMv8, it might work if the bluetooth stack is compiled for ARM64. I can make a test build for ARM64 when I have some spare time (probably around March), or you could try to use my repositories to fire up your own build.
Firstly, thanks for working to backport this.
I also tested this on kenzo with a LineageOS 13 build from 2017-02-13 with Feb security patches. Unable to turn on BT. Can provide debug logs if needed.
h4waii said:
Firstly, thanks for working to backport this.
I also tested this on kenzo with a LineageOS 13 build from 2017-02-13 with Feb security patches. Unable to turn on BT. Can provide debug logs if needed.
Click to expand...
Click to collapse
Yes, please provide a logcat when you try to turn on BT. I can look into it when I get some spare time (don't have any atm).
Greetings everyone. As you all know the LOs 14.1 is out and booting. I thought it's best to keep the development thread clean and move the discussions, tweaks and work around related discussions here. We can probably post bug reports with logs on the Development thread to help devs understand and not have to go through multiple pages to read or find bug reports. This will also help to track the progress and move unwanted discussions here.
If the Dev of the ROM wants to close down this thread and continue the topic on the development thread I will happily close this thread.
Let's discuss....
Development Thread By Deadman: https://forum.xda-developers.com/mi-a1/development/rom-lineageos-14-1-tissot-t3716340
Development Thread by @ghpranav: https://forum.xda-developers.com/mi-a1/development/rom-lineage-os-14-1-t3750652
Deleted
Plz, let me know Can I use Gcam, with protraint mode camera ?
Are there any updates on the device tree?
G cam is not supported... But mi ui stock cam is supported but no portrait mode!!
Abrahamjolly said:
G can is not supported... But mi ui stock can is supported but no portrait mode!!
Click to expand...
Click to collapse
Have you already tested? The miui camera port?
shubham8 said:
Are there any updates on the device tree?
Click to expand...
Click to collapse
I think the new Build have fixed VoLTE. The device tree used is different yet similar to deadman's.
@Yash98 what android version where you on before flashing the new build?
zeyaan said:
I think the new Build have fixed VoLTE. The device tree used is different yet similar to deadman's.
Click to expand...
Click to collapse
Can you provide a link to the device tree?
shubham8 said:
Can you provide a link to the device tree?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showpost.php?p=75577458&postcount=321
zeyaan said:
Have you already tested? The miui camera port?
Click to expand...
Click to collapse
Yeah... I have tested & it works fine without potrait mode!
New build released by @ghpranav
What's working :
Boots
RIL (Calls, SMS, Data)
FPC Fingerprint
Goodix fingerprint working partially
VoLTE
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS
Incoming Calls dropped on Lineage OS 15.1
I am having issues with incoming call drop when my phone is locked, the phone would ring just 2times and the call is getting disconnected and it shows up as a missed call. However if my phone is unlocked and I am using the phone the incoming calls are not dropping