yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] shubham9543:
Friends I have made afix for mic . I am not having problem from 34 hours. Try this if works give proper credit to me too.

Note:- change mount points of data partition then flash it.

http://www.datafilehost.com/d/4a163e07
[Miscellaneous Android Development] bravonova:
testing on MMX A311
[Miscellaneous Android Development] shaijuvjohn:
Did it work?? Test result??
[Miscellaneous Android Development] Typhus_:
I've tried this "nvram backup" solution before on my phone (which is not a k1 turbo).

At the time it didn't work.

By the way, from where did you get those files? From your stock ROM? When I've tried it , I did get them from my stock.
[Miscellaneous Android Development] dousmenko:
Hi everyone. I am waiting as most of you for the call fix as I found this to best ROM of all.

But I would like to know (maybe its a bit off topic, but still) what is currently your daily rom? Thanks
[Miscellaneous Android Development] Uchiha_Dev:
GPS fix in boot or in some other files ? because it doesn't seem ti work for me
[Miscellaneous Android Development] wolfson61:
Waiting for the bug to fix too... :):):)
[Miscellaneous Android Development] kamathshreyas:
GPS issue is not yet fixed.
[Miscellaneous Android Development] Uchiha_Dev:
it's working for a few users who ported (mostly MT6582 users), also it is stated on the OP
[Miscellaneous Android Development] fire855:
Stop writing bug reports from other phones into this development thread!
[Miscellaneous Android Development] rockydracer:
Please fix hw mtk decoders , for atleast mp3/gsm/h264

Thanks !!
[Miscellaneous Android Development] fire855:
No.. hw audio decoder are useless. And hw video decoding isn't working with 3.4.67 kernel. And please stop writing everytime the same...
[Miscellaneous Android Development] rockydracer:
OK, sorry!!

But can you share any doc for Android version/kernel version mapping ??

And what about

http://stackoverflow.com/a/30000141/3080158
[Miscellaneous Android Development] dousmenko:
Hi fellas,

I just wanted to ask if this is possible to be fixed. I am no coder, so I totally rely on you....

Thanks
[Miscellaneous Android Development] fire855:
1. Which mic problem?

2. I'm 100% sure that you grabbed this fix from another dev without any credits.
[Miscellaneous Android Development] degrus:
grabbed or not grabbed but it fix the problem of call mic on your last compil
[Miscellaneous Android Development] fire855:
Also the fix is bad. You are replacing various files... This build also has no call mic problem. There is a incall audio problem. And I think that isn't fixing it.
[Miscellaneous Android Development] degrus:
yes it is various files, I did it on purpose, so you can't determine which FILES needed to fix this bug
[Miscellaneous Android Development] Typhus_:
:confused:

I'm sorry, what?

:eek:

And you still have FM Radio working after that? Recording videos with the camera as well?
[Miscellaneous Android Development] degrus:
yes fmradio still working and video recording still working
[Miscellaneous Android Development] pocaropa:
Didn't work, at least for me on a Redmi Note. After some calls, bug appears again.

Enviado desde mi HMNOTE1W mediante Tapatalk
[Miscellaneous Android Development] sonst-was:
I wont flash this "fix" simply because I dont trust you because of this statement. This is not how development should work!
[Miscellaneous Android Development] vampirefo:
Can this be ported to a mtk6582 lollipop base? Most cm12 require kitkat base, 3.10.54 kernel.
[Miscellaneous Android Development] Uchiha_Dev:
how do I remove offline charging ?
[Miscellaneous Android Development] fire855:
Why do you want to remove it? Only remove init.charging.rc. But it wil still start charging. Only without the animation.
[Miscellaneous Android Development] fire855:
You can port it but it won't really work...
[Miscellaneous Android Development] ponnex:
search for lenovo s660 mt6582 cm12.1 on 4pda, it uses 3.10.x kernel.

Now go back to the main topic ;)
[Miscellaneous Android Development] Uchiha_Dev:
it's a pain in the ass, just want it to reboot directly. Like it previously did. I removed it but no luck
[Miscellaneous Android Development] bravonova:
your purpose...... make people fool.....

---------- Post added at 04:46 AM ---------- Previous post was at 04:44 AM ----------

this patch doesn't work..... and it causes bootloop..... this person has no knowledge of development and also frustrating others by giving wrong solution.......

---------- Post added at 04:50 AM ---------- Previous post was at 04:46 AM ----------

I think in-call issue might be appear because of any call recording app installed... because when I use Automatic Call Recorder app... the problem occurs.... and after uninstalling the app....i didn't get any issue.....
[Miscellaneous Android Development] SoI-Ieil-A:
Hi Dear [MENTION=4761533]fire855[/MENTION]. Please Fix the bugs speacally Call Problem...Because The Rom Is Unusable when this bug is Present And It is not Stable AT all!
[Miscellaneous Android Development] rockydracer:
As confirmed by AI3XKOol

" Loud sound problem can be fixed easy by reverting a fix, but then all mono sounds is like machinegun. And for fix machinegun Sound we need revert all codes, video record, sound record...... Fixes.

These problem are because we merge kk and lp blobs.

"

[MENTION=4761533]fire855[/MENTION] , please fix , you can say this as stable .

Sent from my HM NOTE 1W
[Miscellaneous Android Development] bravonova:
i think fire855 is busy in porting cm 13..... so he aborted any development on 12.1....

---------- Post added at 05:16 AM ---------- Previous post was at 05:13 AM ----------

absolutely right................. otherwise the rom is very great build ever
[Miscellaneous Android Development] Sujon32:
vpn not working...can't it be fixed???
[Miscellaneous Android Development] Uchiha_Dev:
any help ? how to remove offline charging
[Miscellaneous Android Development] eben80:
With what?
[Miscellaneous Android Development] degrus:
with stock rom files or with previous build files as you like
[Miscellaneous Android Development] hyperion70:
With stock rom 4.4.2 or stock rom 5.1 or maybe CM11/12/13?

Sent from my Fly IQ4511 with CM 12.1
[Miscellaneous Android Development] shubham9543:
Hey [MENTION=4761533]fire855[/MENTION] can we expect CM 13? Bugs won't matter for me. Hope it is possible.
[Miscellaneous Android Development] bravonova:
let the cm12.1 fully bugless and stable and then fly on cm 13 :P
[Miscellaneous Android Development] OrdenKrieger:
Could this too fix the green border bug?
[Miscellaneous Android Development] M33cr0b:
This fix isn't working and it breaks sound quality!

I would love to see a fix for the sound problem while calling from you, keep up this incredibly rom ;)
[Miscellaneous Android Development] fire855:
I currently have no way to fix incall audio bug.

The biggest problem is that Kingzone isn't releasing any kernel sources.

With kernel source I could fix it.
[Miscellaneous Android Development] fiorezy:
Why this bug was not happening with previous builds? Is it possible to revert the changes that you made for audio?
[Miscellaneous Android Development] Typhus_:
Yes it's possible. But then other stuff would broke (like radio FM and other sound related things).
[Miscellaneous Android Development] shubham9543:
Yeah [MENTION=4761533]fire855[/MENTION] is right. Becoz I too have fixed most of bugs in beta 7 still FM and video recording from default cam left. I tried evey possible possible way to fix these but couldn't. Over all if someone want bugfree calling he will have to sacrifice FM.

Now I am using camu for video recording . and FM is not there in my town . so finally bugless cm for me.

It is all possible becoz of fire855.

Thanks [MENTION=4761533]fire855[/MENTION] for ur efforts for bringing the first cyanogenmod 12.1 and making it this much stable.

---------- Post added at 05:39 PM ---------- Previous post was at 05:36 PM ----------

I will soon post my new port . which can be used in daily use.
[Miscellaneous Android Development] fire855:
FM Radio isn't the problem. Mtk codec support is the problem (which is needed for video encoding and recording). And the cause of the most of the problems is that we need to mix 5.1 and 4.4 blobs and they are incompatible.
[Miscellaneous Android Development] rockydracer:
It will very helpful if you share FM fix for the old betas with no call problem .
[Miscellaneous Android Development] shubham9543:
OK bro if FM is not the problem . and video encoding and recording is the cause of all problem releated to in call audio problems

So bro that's the good news becoz

If FM is fixed and video recording can be fixed from camu

Therefore " cm with FM fixed + Camu = bugless cm"

Because there is no use of recording from default cam as it was not working with all third party cam apps.
[Miscellaneous Android Development] fire855:
There is use of recording from default cam. There are only a few apps which are supporting sw encoding. The most of the other apps aren't working (including default app). I also think apps like instagram won't work because they use default camera app or?
[Miscellaneous Android Development] prshkr07:
Any fix for non-interactive ussd codes(dialog having only ok button). Only interactive (which contains input field) ussd messages work.

Interactive/working ussd:*

Non-interactive/not working ussd:*
[Miscellaneous Android Development] udh2k:
Porting from source

Hello [MENTION=4761533]fire855[/MENTION], I want to port (from source) this to my MT6592 device. Can you point me to the right direction? I am really confused right now ... :confused:

Thanks and more power! :D
[Miscellaneous Android Development] fire855:
Port and source don't make sense. Do you want to compile the rom from source or do you want to port my compiled rom to your device?
[Miscellaneous Android Development] udh2k:
Sorry if I got you confused... :) I want to PORT your ROM to my device. Can I do that by building from your source? Or just by porting from your ZIP ROM instead?.

Thank you for your quick reply! :D
[Miscellaneous Android Development] shubham9543:
Yes bro u r right many third party app use default camera but only some some r working. I tried 3 apps but only 1 app recorded . still recording from default cam is important for video calling and full HD recording. Thank u for fixing it. :) :o

---------- Post added at 01:47 AM ---------- Previous post was at 01:39 AM ----------

Bro u ways to get cm12.1 on ur device either build from source or port the the this build.

For building it from source code u need high speed internet ,Linux and a little more knowledge.

For porting :- u need a little knowledge of replacing files and a little bit of editting files which u can learn from guides here in xda.

According to me , porting is easy and time saving.
[Miscellaneous Android Development] OrdenKrieger:
How? I cant get get even 1080p on my Stock Rom. Only 720p. Could u tell us all how you did this magic?
[Miscellaneous Android Development] vladuhin:
It's OGYouTube, not magic...not official YouTube app...
[Miscellaneous Android Development] fire855:
Good news.

I reworked now all my cm12.1 changes including av.

Video recording/encoding is now running with the minimal set of changes in av and without changes in audio system. Next release should have incall audio fixed :)
[Miscellaneous Android Development] Typhus_:
This is like the most awesome news I had in a long time. :D

YOU ROCK!!! :victory:
[Miscellaneous Android Development] rockydracer:
[emoji15] [emoji15]

Thanks a ton fire !!!

You are awesome !!!!!!!

Eagerly waiting ......
[Miscellaneous Android Development] bravonova:
that's great :D :good:
[Miscellaneous Android Development] ponnex:
YAY! :D thanks a lot!
[Miscellaneous Android Development] shubham9543:
I have released my new cm 12 with in call issues fixed

http://xdaforums.com/a310/development/cm-12-1-mmx-a310-clones-t3253779
[Miscellaneous Android Development] rockydracer:
Device tree and source link please ????
[Miscellaneous Android Development] hunny5120:
trying to port to xiaomi note
[Miscellaneous Android Development] hunny5120:
how to convert modified system folder to system.new.dat
[Miscellaneous Android Development] pratikmore:
See here :

http://xdaforums.com/showthread.php?t=2978952
[Miscellaneous Android Development] hunny5120:
stuck at

exec : system/bin/sh failed . No such file or directory
[Miscellaneous Android Development] MrMisha:
Привет , помогите мне портировать на 6582

заменяю:

libEGL.so

libinput.so

libMali.so

libmtk_drvb.со

Не стартует висит на лого , так же меняю ядро.

а если ставлю другое ядро от 5.0.2 на 3.4.67 то запуск идет но баги все остаються со сторой версии

----

Hey, help me port to 6582

Exchangeable:

libEGL.so

libinput.so

libMali.so

libmtk_drvb.so

Do not start hanging on the logo, just changing the kernel.

and if you put a different kernel 5.0.2 to 3.4.67 of the launch is but the bugs all ostayutsya with Stora version

I ask your help
[Miscellaneous Android Development] pratikmore:
You can find cm12 for mt6582 on 4pda forum for leagoo lead 3 phone.
[Miscellaneous Android Development] MrMisha:
Я видел данный порт , и запустил у себя на аппарате.

но там много чего не работает "Не работает связь на обоих симках, не работает В-ФИ и еще много чего"

не подскажете как исправить все эти ошибки ?

I have seen the port, and launched at the machine.

but there are a lot of things did not work "is not working relationship at both Simcoe, does not work WI-FI and much more"

It does not tell how to fix these errors?
[Miscellaneous Android Development] hyperion70:
Hi [MENTION=6747889]MrMisha[/MENTION].

You reallly don't understand , that this ROM was made from scratch.

This is a full ROM compilation project, not an port ROM...

OP! Thank you very much for releasing this CM12 for mt6592! Great job Sir!

Regards

Hyperion70
[Miscellaneous Android Development] rockydracer:
system.new.DAT not converted properly,that's why not able to find system/bin/sh
[Miscellaneous Android Development] fire855:
No problem.

Your KitKat and Lollipop Source helped me much. Thanks.

Calling is fixed :). 3G on second SIM is also working. Release coming soon. Need to fix some errors first.

I will only help people who will compile this rom for other devices. Not only porting! (For porting are enough tutorials)
[Miscellaneous Android Development] jcdark:
thanks partner, the kernel i know
[Miscellaneous Android Development] Jammed_Death:
Hi, are ora updates working? Thanks, great job, i was about to sell this phone but with cm i will keep it!
[Miscellaneous Android Development] rockydracer:
We don't have kernel source for XIAOMI note , so we cannot compile.we can port only.
[Miscellaneous Android Development] m@nish123:
Good Job sir :)

Waiting latest update
[Miscellaneous Android Development] fire855:
Version 1.1 released :).

Changelog in second post.
[Miscellaneous Android Development] Jammed_Death:
mmm can't install gapps...

"set_metadata_recursive: some changes failed"

??

got twrp 2.7.0.0

answer pls, i can't use phone :(
[Miscellaneous Android Development] vylong:
I tied as hell to install cm12 with no luck I did downloaded recovery img tried using Mobileuncles Tools it just boot to normal Oh well must stay with KK.
[Miscellaneous Android Development] fire855:
Volume up + PowerPower

Then select recovery.
[Miscellaneous Android Development] vylong:
I did that but it said no command it shown android logo.

where can I get custom recovery image? I did download the link you gave me but now working. Do you have another recovery image? for me to try

thank you very much with trying to help

---------- Post added at 04:46 PM ---------- Previous post was at 04:37 PM ----------

where can I get TWRP recovery image? so I can install from TWRP
[Miscellaneous Android Development] pheol:
Try find in needrom.com section for kingzone.

I'm not able post the link

Thx
[Miscellaneous Android Development] ponnex:
This is perfect for Christmas season ;)
[Miscellaneous Android Development] bravonova:
in call issue not fixed yet.....
[Miscellaneous Android Development] rockydracer:
It will not be solved until fire fix it , all other release are just some trial-error of binary replacement from stock , which can not resolve this.
[Miscellaneous Android Development] Danny94:
Thank you Fire855 for your great work !
[Miscellaneous Android Development] M47Z:
Amazing work! just updatet yesterday to your last version, and the progress is incredible :) Dual sim is working fine now, and over all the system is smooth and stable like it should be.

Anyone tried to enable encryption? That is the only issue I could find: Enabling encryption just causes the phone to reboot, but nothing else happens (same if you try it via terminal: vdc cryptfs enablecrypto inplace password *enterpwhere*). Anyone got this working?
[Miscellaneous Android Development] Mevex:
ANy progress on USSD carriers?

Ported the ROM (or it's base) and it's finally soo close to being a daily driver. I just need that USSD bug gone!! Also how did you get the smartcover feature working?
[Miscellaneous Android Development] Typhus_:
The phone encryption is something that has been discussed over the Internet on CM12 ROMs. I know I've read somewhere how to fix this but, if I'm not mistaken, the correction needs to be made before the build.

Honestly, I don't remember where I saw it. Try google it.
[Miscellaneous Android Development] wolfson61:
The new release didn't come out yet, did it?
[Miscellaneous Android Development] M47Z:
There seem to be a couple of issues on Lollipop Roms... I kind of get lost in the search results, many of those are about changing the password after encryption, decrypting in recovery or encryption failing but in another way than in my case ;)

Let me describe precisly how I tried it, maybe this helps:

- fresh rom installation, rooted, two sims and a micro sd inserted, adb enabled, TWRP v2.8.1.0

- set up security pattern for logscreen (tried with password as well)

- trying to encrypt in settings: as soon as I hit encrypt, I see the green Android logo for a second, then the phone restarts normally and nothing changed

- trying from windows adb: "adb devices" to confirm device is connected, then "adb shell", "su", "vdc cryptfs enablecrypto inplace password " followed by my pw in hex. Adb window gives me 200 0 -1 as a result, phone reboots without even showing the green Android.

- same if I try from terminal on the phone itself, just I do not see the 200 0 -1 as result, maybe it just reboots too fast though :)

Has anyone tried this? Maybe it is an issue with my device only?

Also, does anyone know how I could get some further info (in best case some kind of log?) about what happened exactly?

EDIT: when I search logcat for cryptfs after trying to encrypt, I get:

cryptfs getpw

cryptfs clearpw

Unexpected value for crypto key location

Cannot get size of block device

Unexpected value for crypto key location

Cannot get size of block device

cryptfs getpw

cryptfs clearpw

"cm-12.1-20151114-UNOFFICIAL-k1_turbo" is the up-to-date one I think.
[Miscellaneous Android Development] wolfson61:
I think it's not the new release, because "fire" post his message about fixing the issues at 14.12.2015, but the link says 20151114.

So I'm confused..
[Miscellaneous Android Development] bravonova:
fire855 hasn't released new build which has new fixes on 14.12.2015........
[Miscellaneous Android Development] M47Z:
I know what wolfson is talking about, yesterday in this thread there where screenshots showing a newer version being uploaded... however, the screenshots disappeared and I am not 100% sure those were from fire.
[Miscellaneous Android Development] eben80:
That wasn't fire's build and it wasn't for a kingzone.

Two very good reasons to remove it from the thread.
[Miscellaneous Android Development] bravonova:
no......those are not from fire855....... it is uploaded by degrus...... and that are not for kingzone k1 turbo also...... degrus post removed by moderator because of that are irrespective here......
[Miscellaneous Android Development] M47Z:
thanks for clearing it up!
[Miscellaneous Android Development] fire855:
Yes. Also his build is only a port of my build. I checked the files ;).
[Miscellaneous Android Development] wolfson61:
Ok, thanks for lighting up. So, when are you going to release the new update? :D:D:D
[Miscellaneous Android Development] Typhus_:
Don't ask for ETA's. It's rude.

fire855 will release as soon as he is able to.

Keep calm and wait...politely.

Enviado do meu Aquaris E5 FHD através de Tapatalk
[Miscellaneous Android Development] M47Z:
Also it is contraproductive: usually software is done when its done. There is not really a chance to tell how long fixing a bug takes. In my oppinion when pushing devs to give a release date, and it is not done by this date, they might feel under pressure and release worse results.

Also this rom works perfecty as a daily driver for me so far.

Battery life, dual sim, even gps, all flawless! As said encryption is the only thing I would like to have working, but the rom as a whole is still better than any rom before! Amazing work fire855 :good:
[Miscellaneous Android Development] eben80:
You mean fire855 :)
[Miscellaneous Android Development] bravonova:
I also checked the file...............it is not well ported......selinux enforcing.....on startup it is in Arabian language........even after changing language to English some of quick setting display name in Arabian.....camera not present........everything is messed up........
[Miscellaneous Android Development] M47Z:
fixed it thx ;)
[Miscellaneous Android Development] tuxboy:
patch for ussd support

[MENTION=4761533]fire855[/MENTION] can you check this patch? :)

https://github.com/aniruddha-adhika...mmit/800dd27619a25e3e579732dcc0cf1f6a685c54cf
[Miscellaneous Android Development] OrdenKrieger:
Watched this file too. I guess that could maybe fix USSD.
[Miscellaneous Android Development] fire855:
Thanks for your fix. Maybe I can find somewhere a sim which has the ussd bug. Every of my sim cards haven't the problem...

Is USSD working for you now?
[Miscellaneous Android Development] ponnex:
We will be glad to test it out and give feedback instead ;)
[Miscellaneous Android Development] waseemmayaa:
Fix for USSD in all cm12.1 [MT6582]

Flash this patch to fix USSD

Download it

http://d-h.st/UBts

Credit: [MENTION=975172]aniruddha[/MENTION]
[Miscellaneous Android Development] rockydracer:
[MENTION=4761533]fire855[/MENTION] , will be possible to incorporate the above code patch in your next release, because this zip contains the telephony-common only , I hope this will fix all the bugs for mt6592 , apart of hw decoders .
[Miscellaneous Android Development] waseemmayaa:
And whats about low volume in call bug?
[Miscellaneous Android Development] rockydracer:
As fire has already mentioned, its fixed . Just waiting for his release.
[Miscellaneous Android Development] fire855:
Wrong credits. His xda name is [MENTION=5616811]tuxboy[/MENTION]

I will add the fix into my next build.
[Miscellaneous Android Development] ponnex:
The fix did work ;)
[Miscellaneous Android Development] himura05:
the mod for ussd fix still did not working in some provider in Indonesia, it can not execute the *889# and can not execute the final task, if execute first task it's ok no problem, but when final task execute, it will failed.
[Miscellaneous Android Development] hyperion70:
That works!
[Miscellaneous Android Development] vladuhin:
FC when enabling mobile data, but ussd realy works. Waiting for full fix in new build)
[Miscellaneous Android Development] waseemmayaa:
Guide:

How to fix Ussd in cm12.1 rom / Cm12.1 based roms ??

Visit this link

http://xdaforums.com/showpost.php?p=64410603&postcount=1402

See screenshot for proof
[Miscellaneous Android Development] fire855:
And the next time without credits. You are great. Reported.
[Miscellaneous Android Development] waseemmayaa:
[MENTION=4761533]fire855[/MENTION] sir i gave proper credit check again