yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] MemAllocatoR:
Voip fixed in audio hal successfully by me!

i have a very good news for you guys, i fixed voip!

it was what i thought and shared earlier with Alberto about mutex locking.

now sound is working without any workaround to enable touch sounds, i will share the fix after few tests i make.

hope you guys can wait patiently.
[Galaxy S 4 i9500 Original Android Development] u7Xz:
We waited years for it! We can wait more. Your awesome. :)
[Galaxy S 4 i9500 Original Android Development] Stvn183:
Thank you ..!

Thank you very very much...!!! [MENTION=1807095]MemAllocatoR[/MENTION]
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Well done, be sure that it doesn't cause battery drain because that's what happens when mutex are handled incorrectly, because basically following the commit you linked me some posts ago it would force the non-standby state. Why? Because our audio driver handles mutex stuff in a different way than the Qualcomm audio driver.

If you manage to get it working properly, then that's a good news.
[Galaxy S 4 i9500 Original Android Development] Sloth.M:
I'll wait impatiently, thank you very much.
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
Would have like to have some patch to the latest version of GearCM? So we could test. I noticed the change occurs in a file on GitHub (https://github.com/MemAllocator/and...mmit/d0f8e62aa52cd6d46e5a164e762a636a7c49c742)
[Galaxy S 4 i9500 Original Android Development] xda123455:
Hey I use my s4 as a wifi sip phone with voip.ms and zoiper do you think this rom would work for me? Is the voip issue fixed? :)
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
Not yet, read the previous posts
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
There is something wrong, yesterday I flashed lastest build and today my battery drains 15% in 1:30h with screen off I did clean install :/

I just notice that WiFi is always on but I have it off
[Galaxy S 4 i9500 Original Android Development] tdssmarty16:
glad to hear that you fixed the voip issue [MENTION=1807095]MemAllocatoR[/MENTION]

great job bro
[Galaxy S 4 i9500 Original Android Development] Lqz:
Hi! When I use the application of google cardboard begins to turn only to the right slowly, in a rom stock is ok... Please fix gyroscope
[Galaxy S 4 i9500 Original Android Development] KHEMS91:
No, i didn't have installed xposed framwork, can u give me the link of xposed framwork for this rom?

BTW wifi issue has been fixed...
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Open Settings - Search for Wi-Fi (using the Search feature) - Wi-Fi scanning - Untick both options.

Working fine here. You might have issues with your Gyroscope.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Ty alberto :D
[Galaxy S 4 i9500 Original Android Development] eXd4:
I'm glad your Wi-Fi issue is fixed — the latest official version of Xposed Framework is always available at this page (it is xposed-v86-sdk23-arm.zip as of date.) :)
[Galaxy S 4 i9500 Original Android Development] KHEMS91:
can u give me another link, plz.......
[Galaxy S 4 i9500 Original Android Development] mash20:
http://dl-xda.xposed.info/framework/sdk23/arm/xposed-v86-sdk23-arm.zip
[Galaxy S 4 i9500 Original Android Development] eXd4:
Direct Download:—

http://dl-xda.xposed.info/framework/sdk23/arm/xposed-v86-sdk23-arm.zip

Forum For Discussions:—

http://xdaforums.com/showthread.php?t=3034811
[Galaxy S 4 i9500 Original Android Development] kios19:
Which radio do you guys use? Coz for me doze works for the first 24hrs then after that it's a constant downward graph for my battery life and WiFi shows isn't the culprit here for me
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
I have this same problem, the battery drains quickly even without being connected to a wifi network, looking GSAM and BetterBatteryStats can not seem to find the problem, only the high consumption of Android System. No use changing kernel ... may be bug CyanogenMod own, I saw a person telling such a problem on the topic of Moto E, do not know can be related.

Another bug, do not know if only me, but the system is crashing after a while, some apps begin to have this problem (from settings to the Messenger or Google Apps Launcher), do not know if it's a memory leak
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
removed (duplicate post)
[Galaxy S 4 i9500 Original Android Development] kios19:
Exactly.... what I have
[Galaxy S 4 i9500 Original Android Development] :
I'm just wondering if this ROM will continue to be developed... Because there was a report that Cyanogen fired 30 of its staff and the business is now practically dying because of a huge crisis in the company itself...

Will you have permission to continue working on this ROM even if something happens to Cyanogen or not?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
It might be a memory leak yeah, i'll check if it has been fixed.

Sure.
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
I did not a lot of searching, but a quick found these two topics that seem to be related to battery drain and closing apps

http://xdaforums.com/showpost.php?p=67693903&postcount=1372

http://xdaforums.com/showpost.php?p=67745564&postcount=4037

I can not find any solution for this does not seem to be the kernel level, seems to be related more to the question of build, is an annoying problem, there are times when it is impossible to use. I tried to wipe the data and install the apps again without restoring data (Titanium Backup) and changed the kernel, it did not solve the problem

I hope that is resolved in a more recent build :)
[Galaxy S 4 i9500 Original Android Development] KHEMS91:
There is only two major problems (VOIP CALL ISSUE and FAST BATTEY DRAINNING, NOT SO FAST BTW) otherwise rom is awesome.

If u really want to install any custom rom instead of stock then this is one of the best for u.

Stop Searching Various Of RoMs For GT-I9500, Just Download This Beautiful Rom And Enjoy !!!
[Galaxy S 4 i9500 Original Android Development] Zeany:
I just developed a weird problem.. Two days ago, i did some deep cleaning with es explorer and after some hours, i noticed my phone wasn't charging anymore so i thought my cleaning tempered with something so i reflashed stock, everthing became fine and came back to the gear rom. Now, i've been charging the phone for about an hour and suddenly, it stopped charging.. If i switch it off and try charging, the charging light comes on with the battery icon on the screen but that icon doesn't fill up (the usual fill up and empty sequence the icon does while charging) it just stays steady and goes off after awhile. if i switch it on, it still doesn't charge like my charger is not even plugged in. tried different chargers and different batteries.. same thing.

NOTE: Root is not enabled now but was enabled two days ago.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
WiFi is still active even disable both options :/
[Galaxy S 4 i9500 Original Android Development] Alberto96:
WTF that's not possible haha

Factory Reset and retry.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Lol OK I will try and post if it is solved
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
My major bug is echo in call, how to fix that?
[Galaxy S 4 i9500 Original Android Development] KHEMS91:
Read #3 post of Alberto
[Galaxy S 4 i9500 Original Android Development] litvcom:
May be you use Viber?
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Viber?
[Galaxy S 4 i9500 Original Android Development] TimSchumi:
It's a VoIP-App
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
Oh the app nope I don't use it
[Galaxy S 4 i9500 Original Android Development] jamy_hallian:
i installed russian modem after installing gearcm 13 now my cellular signals are gone. plz help.
[Galaxy S 4 i9500 Original Android Development] :
Flash Indian modem from OP (it's right under Russian modem and says: "use it if you are having problems with Russian modem", how could you miss that?)
[Galaxy S 4 i9500 Original Android Development] BeyPeople:
ES file manager root not work.... any solution..
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
Enable root permission from developer options
[Galaxy S 4 i9500 Original Android Development] KHEMS91:
is it possible to control loudspeaker(During Call) and flashlight output voltage?
[Galaxy S 4 i9500 Original Android Development] harisrahar:
Why does The sound on my phone is dissapear ? It's totally dissapeared. Any help please??
[Galaxy S 4 i9500 Original Android Development] srosner:
Any way to fix the battery drain with Wi-Fi??? it's really the only thing left to do in this rom...
[Galaxy S 4 i9500 Original Android Development] jamy_hallian:
battery life is really terrible when connected to a wifi network. the battery drain while the screen if off overnight. is there any fix?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Wow...THERE IS NO NEED TO USE ULTRA-HIGH FONT SIZE TO ASK SOMETHING!. Thank you.

In reply to your question. 1) Modify mixer_paths.xml 2) No

Probably because you need to reinstall the ROM using the proper procedure.

Again and again, you are also spamming my PM folder with this question, this is a CM Sources bug. Probably, with some future update, it will be fixed, but it doesn't depend on me.

Check some previous posts regarding Wi-Fi Scanning.
[Galaxy S 4 i9500 Original Android Development] :
Use your brain: WiFi synchs data when active and therefore drains battery, especially when phone has more internet-need apps and when Location settings is set to WiFi and Bluetooth (with or without GPS). Turn WiFi off when you don't need it. Common sense.

For how to save battery even more, check the FAQ (under OP) and the posts before this. I don't feel like explaining what's logical and already explained.

Noobs and trollers, read the first 3 posts, please. Don't make developer's work harder than it is already.
[Galaxy S 4 i9500 Original Android Development] jamy_hallian:
if you had used ur teeny meeny brain to read a few pages of this thread you will have some idea that battery life is a issue with the latest build. if you cant help then dont reply and let someone else help. dont waste your time criticizing just because u think someone asked a noob question. everyone is a noob at some point.
[Galaxy S 4 i9500 Original Android Development] :
I did say to check out the FAQ and read few posts behind. You are right everyone is a noob at some point but it's just pure logic to first search and then ask. I'm aware of issues, and I dislike that you don't appreaciate/notice help that I already gave you, but whatever.

I do hope VoIP and audio/mic problems can be fixed, even if only partially, though the RR dev said he had partially fixed these problems (fixed mostly audio/mic problems but for VoIP only workaround thanks to [MENTION=6044543]vishal thakar[/MENTION]).

Isn't RR CM-based like this ROM? I know I shouldn't be talking about RR here but I'm only trying to help, because I think RR bugfixes can be also used on GearCM, feel free to correct me if I'm wrong.
[Galaxy S 4 i9500 Original Android Development] 幕后煮屎人:
无限重启怎么解决呢

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

How to solve the automatic restart
[Galaxy S 4 i9500 Original Android Development] haksancan:
[MENTION=2386505]Alberto96[/MENTION] Just a quick suggestion: Patch the "background wifi scanning" feature out thus permanently disabling it for everybody so maybe this way dozens of people who are incapable of looking around the thread won't come asking again and again complaining about bad battery life when wifi is off.

I mean this problem is not even special to GearCM or Cyanogenmods, even the stock rom drains the battery like there is no tomorrow when the wifi is "supposedly" turned off but the "background scanning" anti-feature is somehow turned on and lies about the wifi status. It may be better to disable it permanently and get less support calls this way :)
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Unfortunately this isn't possible so easily...
[Galaxy S 4 i9500 Original Android Development] haksancan:
Oh, OK. Here is a more hacky idea which may work: Run "settings put global wifi_scan_always_enabled 0" inside an init script so at least it'll get reset at every boot. I'm not sure if init scripts are run late enough to allow "settings" to work correctly though.

Thanks for your prompt answer!
[Galaxy S 4 i9500 Original Android Development] Alberto96:
You're welcome.

This Wi-Fi Scanning feature is the worst idea that Google ever had, it practically kills almost every device that doesn't support it natively and it can't be fixed so easily without having to touch the WiFi Driver. Also, it seems to be forced by the Google Apps, that's why even if it has been disabled, then it gets automatically forced even if it still appears to be disabled.
[Galaxy S 4 i9500 Original Android Development] TaylinG:
Will the new nexus launcher work on this rom?
[Galaxy S 4 i9500 Original Android Development] MostaphaHida:
Why not .. working normally.[emoji4]
[Galaxy S 4 i9500 Original Android Development] TaylinG:
Just checking . Thanks:good:
[Galaxy S 4 i9500 Original Android Development] SalimPS:
am I the only one who thinks it looks kinda ugly?
[Galaxy S 4 i9500 Original Android Development] MostaphaHida:
Not really it looks good but it dont like it as it lacks bagdes feature:rolleyes:..also [MENTION=6450839]TaylinG[/MENTION] there's some issues like changing wallpapers and swiping right to google now wont work just if u got a zip file and flash it via recovery then every thing should work fine or even try to move it as sys app.GoodLuck.:good:
[Galaxy S 4 i9500 Original Android Development] Toggie:
Maybe some apps turn on Wi-Fi? I'm know in Viber setting need change that it use Wi-Fi police of phone setting.
[Galaxy S 4 i9500 Original Android Development] gp545:
Google apps have the permission to access Wi-Fi scanning even Wi-Fi is disabled.. Result: Wi-Fi stays on always through Wi-Fi scanning!
[Galaxy S 4 i9500 Original Android Development] Mank_1987:
im currently running on cm-13.0-20160303-UNOFFICIAL-GearCM-i9500.

while flashing the latest 20160711 build using CWM 6.0 recovery, there is some error in installation which results in "installation aborted" :(:(

i have currently not flashed gear recovery before flashing 20160711 build.

is this the reason for error, i.e is it necessary to flash gear recovery for latest build to install properly?:confused:

Kindly advise as i dont have much knowledge regarding this.
[Galaxy S 4 i9500 Original Android Development] krasCGQ:
GearRecovery is a mandatory.
[Galaxy S 4 i9500 Original Android Development] Cocoriquelme:
How do you have too slow battery drain, I have high battery drain my phone can only keep 6 hours in inactive mode :\
[Galaxy S 4 i9500 Original Android Development] eXd4:
You must have missed Alberto96's post on the previous page:—
[Galaxy S 4 i9500 Original Android Development] :
English only on XDA please.
[Galaxy S 4 i9500 Original Android Development] darekarraul:
can anyone suggest me a kernel to go with this rom?

I want to underclock and undervolt the cpu.
[Galaxy S 4 i9500 Original Android Development] MostaphaHida:
Light weight kernel.
[Galaxy S 4 i9500 Original Android Development] Barabba11:
Hi, after installing Gear and following instructions I've error "7". How to solve it? Thank you
[Galaxy S 4 i9500 Original Android Development] osas514:
Wipe data, cache and dalvik before flashing the rom zip file
[Galaxy S 4 i9500 Original Android Development] Chuene:
Is this rom better than RR ? ( Especially fluidity and battery life )
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
I never tried RR but this rom is very nice expect call echo.
[Galaxy S 4 i9500 Original Android Development] mrq993:
gapps problem

Hello, sorry i am a newbie for rooting, i installed the gearrecovery and used it to install the gearcm. Everything seem ok then i go on for the gapps installation, after the installation i am not able to use my phone as keep popping out message tell me that google play services has stopped working, setup wizard has stopped etc. Am i installing the wrong version of gapps? As there are less information about what version should i choose. Thanks in advance for any help.
[Galaxy S 4 i9500 Original Android Development] UiJi:
After i installed the rom

I got some sound issue after trying internet voice call from facebook messenger and line

all the sound from the phone stoped i had to reboot the phone to fix it

but still cannot use internet voice call but i can use normal phone call with no problem
[Galaxy S 4 i9500 Original Android Development] tdssmarty16:
internet voice or voip is a issue with this rom

and if we are lucky we ahould be getting a fix for it soon
[Galaxy S 4 i9500 Original Android Development] areeb47:
Great ROM ever

Hi there.

I have been using this ROM since the past week and I just love it. It is so smooth and makes me using my phone really buttery. Thank you all for the hardwork that you put into this. :o

Also, can anybody guide me as to where I can find the Xposed firmware that I need to flash? :confused:
[Galaxy S 4 i9500 Original Android Development] MD500:
Any news for this commits by MemAllocator?:

Enable Noise Supression:

https://github.com/MemAllocator/and...mmit/0b54b41b750053c59a9441b58f1f7e779f91a9e9

Fixed Voip. Add -A!:

https://github.com/MemAllocator/and...mmit/d0f8e62aa52cd6d46e5a164e762a636a7c49c742

I'm wondering if alberto96 can merge it and test it,if it works...
[Galaxy S 4 i9500 Original Android Development] tosunkaya:
I used all touchwiz roms, aicp and last time, resurrection remix. is this rom better? do you recommend over rr?
[Galaxy S 4 i9500 Original Android Development] husseinholmes:
Yes i really recommended this rom for cm based rom because its the most stable cm13 rom for me. The bugs are only voip and google voice app . The battery also good compare to other cm13 based rom. Try it

---------- Post added at 06:52 AM ---------- Previous post was at 06:41 AM ----------

[MENTION=2386505]Alberto96[/MENTION] can you implement voip fix and noise suppression fix update on the next build? It will be great it both of it get fixed.
[Galaxy S 4 i9500 Original Android Development] kaankkaraman:
This one is best cm13 for me
[Galaxy S 4 i9500 Original Android Development] Alberto96:
If it was working for real i would have already implemented it, but...someone was just in search of fame here.
[Galaxy S 4 i9500 Original Android Development] rajubagwan:
I agree with you
[Galaxy S 4 i9500 Original Android Development] SalimPS:
a new CyanogenMod 13 release is up (Android 6.0.1 r61)

http://www.cyanogenmod.org/blog/cm-13-0-release-znh5y

can we expect an Update soon mr. [MENTION=2386505]Alberto96[/MENTION] :D
[Galaxy S 4 i9500 Original Android Development] utvic99:
i9500 is not listed, and it never had a snapshot CM build to begin with, so don't expect anything :P

Edit: Exynos devices don't meet the requirements for a snapshot build because Exynos chipset is not open-source, hence why they lack maintainers.
[Galaxy S 4 i9500 Original Android Development] SalimPS:
it's not about the Snapshot .. it's about updating GearCM with the latest sources and bug fixes
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
this is true, sometimes has a bug or other, in the last build of GearCM do not know if it's just me, but I tried to clean data and system (also I tried different kernel), but the memory leak problem not for ... When I restart the device comes to a consumer 600mb, after a while, goes to 800mb to 1gb (only occupied by the system - graphic Services running), this time my device is slow, crashing, apps like Messenger app Google Chrome and even the system itself has a FC sometimes this causes a reboot ... If it happens to most people, this can be problem of CyanogenMod, in some nightly build.

A snapshot must state that will not have a problem like this, that if any problem is probably kernel problems or something.

That's what I think (opinion), but it should make some sense
[Galaxy S 4 i9500 Original Android Development] rupesh (Rv):
add the move to sd feature please

Can u please add move to SD in this ROM
[Galaxy S 4 i9500 Original Android Development] rony raj:
can u tell me why you need this

which app or game requirement

i will help you
[Galaxy S 4 i9500 Original Android Development] TimSchumi:
App2SD was removed from Android 4.3+ by Google
[Galaxy S 4 i9500 Original Android Development] jajargenjanglimbong:
i cant call from What's app

hiw can i fix this ?
[Galaxy S 4 i9500 Original Android Development] fernandobarone:
Turn on the touch sounds! This actually works for me.
[Galaxy S 4 i9500 Original Android Development] jajargenjanglimbong:
touch sound ?

where is that ?
[Galaxy S 4 i9500 Original Android Development] u7Xz:
Can anyone confirm if the camera is blue in Google Duo?
[Galaxy S 4 i9500 Original Android Development] jajargenjanglimbong:
my device is restarting itself and battery drain and just have 2% remaining from 70 %

why this happen ?
[Galaxy S 4 i9500 Original Android Development] fernandobarone:
Config > sounds > other sounds and turn on touch sounds
[Galaxy S 4 i9500 Original Android Development] ammar18:
look up in settings -> sounds -> other sounds
[Galaxy S 4 i9500 Original Android Development] BraianV:
I thought i was the only one.

I found it only happens if xposed is enabled and there are modules related to system (modules related to apps like youtube, instagram, etc doesnt affect )

Gravity box, greenify, amplify and perfect color bar are examples.
[Galaxy S 4 i9500 Original Android Development] :
thats weird, im using gearcm with all the 4 modules u listed and having no issue at all :rolleyes:
[Galaxy S 4 i9500 Original Android Development] BraianV:
Really ?

Im getting mad because of random reboots then 4% of battery left then reboot and bootloop.

No, its not a battery problem because i use those modules with the same battery on touchwiz . (except gravity box according lp or mm rom)
[Galaxy S 4 i9500 Original Android Development] :
yup no problem here, have been using gearcm mainly for almost 2 months, did u install any other mods to tweak for performance and stuff like that?

edit: i dont have gravitybox tho, did u try uninstall gravitybox?
[Galaxy S 4 i9500 Original Android Development] BraianV:
I will try without gravity box. I dont use any custom kernel or tweak just 2 zips : xperia framework to get ar effects and cyanogen apps (c-apps)
[Galaxy S 4 i9500 Original Android Development] :
that two zips could be affecting the rom too tho :D
[Galaxy S 4 i9500 Original Android Development] BraianV:
C-apps are downloable from cyanogen. It can only be used on cm roms .

I dont use it in touchwiz.

I will try some days with cm13, xposed and modules without gravitybox. Then if nothing happens i will flash both zips
[Galaxy S 4 i9500 Original Android Development] Jiroskop:
When I restart device, it says that SD card is broken and need format. But even if I format SD, same thing happens after every restart. And if I remove SD and plug again, device reads it and I use without issue.

I tried NTFS, FAT32 and exFAT but still same. Any solutions?
[Galaxy S 4 i9500 Original Android Development] jajargenjanglimbong:
i can't sms with this ROM

is there fix for this problem ?
[Galaxy S 4 i9500 Original Android Development] IketaniArturo:
there is a kernel?
[Galaxy S 4 i9500 Original Android Development] 34xda34:
There is no problem, did you install with dirty flash ?

---------- Post added at 02:45 PM ---------- Previous post was at 02:32 PM ----------

Tuhaf bi durum, rom'u yüklerken wipe işlemlerini yapmamış olabilirmisin:confused: Yedeklerini aldıktan sonra tüm verileri temizleyerek, tekrardan temiz bir kurulum yapmanı öneririm. Umarım işe yarar.
[Galaxy S 4 i9500 Original Android Development] Jiroskop:
Sistem hafızası dahil herşeyi temizlemiştim kurulumdan önce. Sizde böyle bi sorun yok mu?
[Galaxy S 4 i9500 Original Android Development] coolfx89:
english please