yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] tembares:
Hello,

I am trying to go through the encryption process.

After I put in the 'lock screen' password in the process nothing happens. Only the green Android logo comes up. By pushing the back-button I am in the previous screen again. And yes... I waited for hours!

Can this has to do something with SELinux status that is set on Enforcing?

Thank you in advance hero's
[Galaxy S 4 i9500 Original Android Development] unmanarc:
Is not about SELinux... is about gpsd locking files into /data directory, in other words, when the crypto process tries to umount /data (the partition that will be encrypted), crypto kills all applications but gpsd, and it fails because the partition is in use...

somebody could change the gpsd lock files directory?

I'm trying to work in a workaround for that.
[Galaxy S 4 i9500 Original Android Development] hajyihia:
bug...

i found another bug, it happens to me when i am playing fun run game, if i want to see the time i try to touch the upper part of the screen but the status bar doesnt respond, after about 10 times it works, then it needs about another 10 times to respont again, someone having this bug or it is just me??

thanks
[Galaxy S 4 i9500 Original Android Development] bigkusi:
I find the icons to be too big on this rom. Tried changing the dpi on build.prop but when i reboot, it goes back to 480.. Otherwise the rom is wonderful. I flashed it last night, and i am loving it :)
[Galaxy S 4 i9500 Original Android Development] malybru:
Mod Edit

Thread cleaned.

Please keep all discussion related to the Development aspects of the ROM.

All other issues should be taken to the DISCUSSION THREAD

Thank you

malybru

Forum Moderator
[Galaxy S 4 i9500 Original Android Development] hamidoo:
Hardware Step Sensor Fix

Hi guys,

First of all, I would like to thank you guys for the great effort that you has put in this.

I think I found a small bug in CM11 for all the S4 variants (Qualcomm based and Exynos based).

I tested this on latest nighlties for I9505 and I9500.

It is related to KitKat's new hardware step counter and step detector sensors.

Although it is really implemented in the kernel, but it does not return "true" when either

PackageManager.hasSystemFeature(PackageManager.FEATURE_SENSOR_STEP_COUNTER) or

PackageManager.hasSystemFeature(PackageManager.FEATURE_SENSOR_STEP_DETECTOR) APIs are called.

This will cause apps that checks for this sensors to fail and/or fall back to using accelerometer

and old custom algorithms pre-Kitkat implementation with high battery usage.

The solutions is pretty simple, you just need to add the following XML files (attached below) in this path:

/etc/permissions

And also change the permissions to be: -rwxr-xr-x

which is:

R	W	X

Owner :	x	x	x

Group :	x	-	x

Others:	x	-	x

If anyone wants to try this, just use any root file manager, I used CM file manager to do this.

I also created a simple app to check for this features and to actually display the current step counter

value.

If you run this app before the fix, you will get false and false for both counters, but the counter steps

is displayed nonetheless.

Then restart the phone and run the attached app to test it again after the fix, it should be true and true

for both sensors.
[Galaxy S 4 i9500 Original Android Development] robertostorm:
Should i do this again on every nightly?
[Galaxy S 4 i9500 Original Android Development] hamidoo:
I don't think you need to if you do an upgrade, and you can always check for the files anyway.
[Galaxy S 4 i9500 Original Android Development] Trueray:
No seriously, I updated and it made my phone unusable. Had to use my backup to get it working again.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
So it is just soft-bricked ;)
[Galaxy S 4 i9500 Original Android Development] toxicdust:
Found this

It might help in fixing the sound problem when Calling / Receiving calls

http://www.guruht.com/2014/01/fix-cutting-sound-issues-on-cm1011.html

After changing the setting it seem to have stopped distorting the Call / Receive Call sound.

Latest CM 11 Nightly with PA Gapps running the Google Now Launcher.
[Galaxy S 4 i9500 Original Android Development] malybru:
Mod Edit

Thread cleaned.

May I remind everyone again that there is a DISCUSSION THREAD for non Development issues.

Thank you

malybru

Forum Moderator
[Galaxy S 4 i9500 Original Android Development] modyt:
Many decent commits and fixes for i9500 today. Make sure you flash today's nightly.
[Galaxy S 4 i9500 Original Android Development] ryanrich:
Flashed 10/04 this morning and working great, so many fixes. When paired with NC6 modem it's just about perfect now...
[Galaxy S 4 i9500 Original Android Development] the Doctor:
Please see logcat attached for GPS not able to see any satellites. I'm running the 0412 build, but I've never been able to use GPS on any CM11 ROM for i9500 with this device, unofficial or official. The GPS on this device works great on TW (4.2.2, 4.3 and 4.4.2).

These results were obtained on a full wipe/clean flash, no mods other than loading Google Maps and GPS Status and Toolbox, resetting and downloading fresh A-GPS data, with all location settings enabled, and I was on the roof of my house (we can do that here in Cambodia) with an unobstructed view from horizon to horizon.

Edit:

When I revert to my CM11 backup and flash 0412 over it, I can at least see 6 satellites (normal 15-20) but it won't lock on any of them. I've attached a 2nd logcat for that.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Tested GPS right now. (Using my latest build).

Check screenshot :)

I never see more than 6 satellites. I need to check better how samsung manages GPS chipset.
[Galaxy S 4 i9500 Original Android Development] saurabhp75:
[MENTION=218829]ALBERTO[/MENTION], which app are you using, the one shown in the attachment.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
GPS Test :)
[Galaxy S 4 i9500 Original Android Development] toxicdust:
BTW

When opening the Camera and going to Video. When you change the Size to QCIF the phone locks up and reboots.

---------- Post added at 04:24 PM ---------- Previous post was at 04:23 PM ----------

Can you give me a link to the one I should be using because the philz touch one don't work well with the Auto updating and stuff.
[Galaxy S 4 i9500 Original Android Development] ophirb:
Maybe at the same time check how they manage Bluetooth as well.
[Galaxy S 4 i9500 Original Android Development] liorbal:
do you now when will be M Snapshot version for cm11 I9500?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
I pressed without any reason the thanks button xD

BTW, M Snapshot ones are released only on "stable" devices with full working hardware.

Nightlies are better because all is updated. For stability just try the latest one, if you find it unstable try the previous one and so on.
[Galaxy S 4 i9500 Original Android Development] liorbal:
but some day we will have a stable cm11 rom right?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Maybe yes, maybe no.
[Galaxy S 4 i9500 Original Android Development] liorbal:
ok Im on the 16/04 nighly. its fine but i had a problem with my wifi. i wiped the phone and it is fine for now.

do you know when will be more stable cm11 rom than the nighlty?

thanks :)
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Simply no :)
[Galaxy S 4 i9500 Original Android Development] Zombieff:
SystemUI crashes

I'm on 2014-04-18 and it works fine.

Any newer build (including current 2014-04-27) gets me continuous SystemUI crash, even after full wipe (data, cache, dalvik) and reinstall.

Is it some known issue? Should I post some logs or whatever?
[Galaxy S 4 i9500 Original Android Development] yuzgen:
Installed many nightlies. Never seen this. Try wiping system and preload too.
[Galaxy S 4 i9500 Original Android Development] Anakha56:
[MENTION=2386505]Alberto96[/MENTION] We have a major issue with the ROM that has cropped up in recent nightlies. If the phone reboots you lose access to your wifi points and have to re-add them. This issue seemed to crop up from build 06052014.

/To the mod that moved the posts about the issue to the discussion thread. It would have been nice to have a PM with a reason why you did this. This is a real development concern with the ROM that needs to be addressed because it can stop the ROM from going stable. Initially I thought it was just me that was experiencing the issue, but numerous people have confirmed it therefore it is a real issue.

*edit*

New issue with the new nightly. The wifi radio is either not switching on (yet logcat says it is) or the animation is not updating. When you press the Wifi button to switch it on nothing happens. When you go into Settings-->Wifi and switch on there to begin scan nothing happens. I have attached a brief logcat of the new issue.

*edit 2*

Wipe and new flash with the latest nightly fixed my initial edit. Also latest nightly after that same wipe & flash seems to have resolved the disappearing Wifi bug. I have rebooted now 3 times without the connection being forgotten :).
[Galaxy S 4 i9500 Original Android Development] rdlemos:
+1

Enviado desde mi GT-I9500 mediante Tapatalk
[Galaxy S 4 i9500 Original Android Development] Arch9:
The first issue yes, confirmed and for the second issue i don't facing any issue with wifi switch, just reboot your device and it back to normal
[Galaxy S 4 i9500 Original Android Development] Anakha56:
I spoke to soon. As soon as you disconnect from the AP and then do a reboot thats when you will lose your AP. If you are connected to it at the time and reboot you retain the AP.
[Galaxy S 4 i9500 Original Android Development] StellMonkey:
but it's still an issue right? i also experienced this too
[Galaxy S 4 i9500 Original Android Development] Anakha56:
Yeah still a big issue.
[Galaxy S 4 i9500 Original Android Development] NDELEON:
Ok I have never missed updating the nightly's. Owning to my limited data allocation. I usually use "Cyandelta" as it streams down the update size. After updating to today's build "13/5" everything worked fine but still unsatisfied, I decided to do a clean install. Wiped everything except internal storage. Flashed "13/05" Nightly. After going into the keyboard setting to turn off vibration on button press. I noticed the vibration was still persistent. It can only be disabled if i turn vibration off on "android system" via privacy guard. Dont know if anymore has this issue. I'll post logcat later. Just incase. I was running stock with no modification
[Galaxy S 4 i9500 Original Android Development] ryanrich:
I don't have that problem at all, just tried and my wifi still connects fine. Unless I'm misunderstanding the problem...

Also never had issues with the wifi animation...
[Galaxy S 4 i9500 Original Android Development] ophirb:
It seems to me that the BT headset issue has been neglected. Am I the only one who use this basic feature of a cell phone? [MENTION=2386505]Alberto96[/MENTION] no answer what so ever for my question?
[Galaxy S 4 i9500 Original Android Development] Anakha56:
/try this again because my initial token expired :(

I am going to try and put this issue in the format as requested by Alberto in the first post:

[MENTION=2386505]Alberto96[/MENTION] If you know of any other way I could troubleshoot this issue for you please let me know.
[Galaxy S 4 i9500 Original Android Development] NDELEON:
Hovering effect leak bug

I noticed it yesterday that I could interact with some element of the screen by hovering my finger above it. Thought it was my sleepy eye. But today confirmed I was actually sane when it happened. Some settings menu element can be interacted with by hovering a finger above them. Like it the smart preview on touchwiz video player. I grabbed a log. Running stock.
[Galaxy S 4 i9500 Original Android Development] Anakha56:
[MENTION=2386505]Alberto96[/MENTION] (and any other CM dev or anyone else for that matter) what does this patch of code do?

261
/**	262
* Return the system properties name associated with the tcp delayed ack settings	263
* for this network.	264
*/	265
@Override	266
public String getTcpDelayedAckPropName() {	267
return "net.tcp.delack.wifi";	268
}	269
270
/**	271
* Return the system properties name associated with the tcp user config flag	272
* for this network.	273
*/	274
@Override	275
public String getTcpUserConfigPropName() {	276
return "net.tcp.usercfg.wifi";	277
}

This is in nightly build 07052014 and it is at this point that the Wifi issue started cropping up for myself & numerous other users. Prior to that build, CM11 (so 06052014 back) retained Wifi AP and this looks like the only change that could possibly affect us. Am I on the right track? I can't tell you why it is not affecting everyone but I am at my wits end trying to understand & fix this issue...
[Galaxy S 4 i9500 Original Android Development] malybru:
Mod Edit

Thread cleaned

Please stay on topic in the Development Thread.

Post logcats as per the [OP] 's wishes , and all other discussion and questions to the help thread in the General section.

Thank you

malybru

Forum Moderator
[Galaxy S 4 i9500 Original Android Development] Faiz Malkani:
Thread Cleaned again.
[Galaxy S 4 i9500 Original Android Development] RatJumper:
But how :/

Can anyone else confirm this?

Sent from my GT-I9500
[Galaxy S 4 i9500 Original Android Development] h.arpreet:
Can anyone give me mp3 file of cyanogenmod orion ringtone for s4 ? i can't find it , i need to put this ringtone on my other s4
[Galaxy S 4 i9500 Original Android Development] luisfer21069:
and this will help in what way with the development of the rom? Use the Discussion thread in the general section of the forum for

NON_DEVELOPMENT

questions plz
[Galaxy S 4 i9500 Original Android Development] mazbot:
every time that the device play a sound (even system sounds) logcat output produces the line "W/AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client due to mismatching sample rate (44100 vs 48000)"

could it be related to the too loudness sound noticed in the rom? I have also found this thread: http://xdaforums.com/showthread.php?t=2600757&page=17 where they discuss this warn.
[Galaxy S 4 i9500 Original Android Development] hatan88:
Does anybody has this bugs:

- camera sometimes doesn't work

- screen won't turn on out of nowhere... and you need to reboot device..

- call qulity - the other side hear himself twice

- bad speaker and sound qulity in compare to stock rom...

any solutions?
[Galaxy S 4 i9500 Original Android Development] mazbot:
All noticed bugs. BTW you should use the the general discussion thread for this.
[Galaxy S 4 i9500 Original Android Development] Zombieff:
From the first post:
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Hi all :)

I'm back and I got 4.4.2 exynos5410 sources so expect something new this month :P

Changes mostly related to graphics (ui, video playback, camera...)

Still no news on Audio but after this update I'll work on it.

No ETAs ;)
[Galaxy S 4 i9500 Original Android Development] elmmis:
That's great
[Galaxy S 4 i9500 Original Android Development] UnboundDemon:
after a couple days camera stopped working :(
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Strange....have you tried my Optimized build? It have more fixes than Official build.
[Galaxy S 4 i9500 Original Android Development] UnboundDemon:
gonna try it :) thanks
[Galaxy S 4 i9500 Original Android Development] leokak:
Guys any screen shots from battery life? One of the most important things to me is the battery life! On TW I have 1 day or more of battery how much I get in this one?

Enviado de meu GT-I9500 usando Tapatalk
[Galaxy S 4 i9500 Original Android Development] ophirb:
BT headset working now?
[Galaxy S 4 i9500 Original Android Development] ktouy:
The camera wont read any barcode or qr code anyone with the same issue?
[Galaxy S 4 i9500 Original Android Development] RealMikeyTaylor:
Apps dissappearing

Ok, so when ever I create a folder on my home screen and lock it, the apps in said folder disappear form the app drawer. Then when I take an app out the folder, it doesnt show up in the application drawer. I've tried reinstalling the app, but nothing happens. :rolleyes:
[Galaxy S 4 i9500 Original Android Development] Mygod Studio:
My GPS signal is very poor now... (often less than 3 satellites) 10% chance to work. Might be a hardware issue. Anyway...

What is your--

Phone model: I9500

Radio (baseband): I9500DDxxxxx (can't recall exactly), now I9500ZCUGNF1, neither worked (it's bought in China)

CM version: cm-11-20140716-NIGHTLY-i9500

Gapps version: pa gapps 20140xxx (I forgot :P)

Did you--

wipe: no

restore with titanium backup: I used nandroid

reboot after having the issue: yes

Are you using--

a task killer: no

a non-stock kernel: no

CMSettings/Performance settings (other than stock): no

ART Runtime: no

other modifications: uninstalled Xposed

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

It worked fine back in March but after that I didn't use GPS quite much. I first found the issue in May and now it gets worse. :(

setenforce 0 doesn't work.
[Galaxy S 4 i9500 Original Android Development] ayush95gupta:
Working fine for me

Guys im using nightlies past few days and before that i never used cm becoz of call issues..

I use nc6 modem, light gapps

Everything works fine hd videos, gps, battery life is good, no call quality issues, casual games working fine..

Only one drawback performance is a bit low... Some lag in closing and opening of app drawer..and some other areas..antutu score is 23000...else everything is fine..its a daily driver..
[Galaxy S 4 i9500 Original Android Development] kirankowshik:
Flashed CM nightly yesterday and was in for a pleasant surprise. BT headset was working flawlessly. Both call audio and media. Only the camera opens up a little late but everything else looks great. Stable and a daily driver for me !!! :)
[Galaxy S 4 i9500 Original Android Development] DXTN1:
the phone is not recognized when I plug it to my pc, it reacts as if I connected a charger instead of a pc to it... anys solution for that?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
It can vary on your phone usage. Test it and if you're not satisfied restore TouchWiz ROM.

Not yet as should. :rolleyes:

It is working, other users already tested it.

This could be a Trebuchet bug, try another nightly release.

Great, enjoy it :)

This isn't normal because it has been fixed long time ago, try with a full wipe and rom reinstall.

It is a Computer problem, not rom's one.
[Galaxy S 4 i9500 Original Android Development] lostreal:
Loud speaker

Does speaker work in a normal way? or Does problem still exists? Speaker was making a very loud sound! What about call audio quality? :confused:
[Galaxy S 4 i9500 Original Android Development] Alberto96:
CM11 Nightly doesn't have (not yet) audio fixes.
[Galaxy S 4 i9500 Original Android Development] JaviLerma:
Why doesn't exist Milestone Released?
[Galaxy S 4 i9500 Original Android Development] revan1611:
Use viper4andrioid to fix loudness
[Galaxy S 4 i9500 Original Android Development] parvezthepop:
Hi,

Is any one facing issues with the proximity sensor while on call. When i am making a call or receiving on the proximity sensor detects that i am holding it near my ear and turns the screen off. But if i move it away from my face and hold it far enough so that the screen turns on to cut the call, the screen never comesup. i have to wait till the call is ended from the other side to get my screen turned on.

I have also observed that sometimes when screen is turned off the touches are still detected. i ended up making conf calls to other people.

Anyone faced these issues and any solutions to it?
[Galaxy S 4 i9500 Original Android Development] DinckelMan:
Noticed the same problems a couple of times for sure. There are some problems with the proximity sensor. The phone is sometimes unable to detect how close you are during calls so it does not turn off the screen.

Happened to me on almost all CM versions since i got it 2 months ago
[Galaxy S 4 i9500 Original Android Development] lostreal:
While charging when the phone is off the charging animation appear and disappear after a while then screen freezing... After this incident i have to unplug the charger and press hold down the power button until phone boot up. Is there anyone else experiencing this issue?
[Galaxy S 4 i9500 Original Android Development] mazbot:
Yes. I need to hold power button for a long time to turn phone on.
[Galaxy S 4 i9500 Original Android Development] parvezthepop:
I too confirm this issue. It is reproing in the latest nightly also
[Galaxy S 4 i9500 Original Android Development] Mygod Studio:
screenrecord no longer works. I record a video in 6th this month with probably 2014080x nightly and now it's not working. I guess it's because of this change: http://review.cyanogenmod.org/#/c/69638/

Is there any way I can download 0807 nightly now?

https://download.cyanogenmod.org/get/jenkins/78928/cm-11-20140807-NIGHTLY-i9500.zip

http://download.cyanogenmod.org/get/iye
[Galaxy S 4 i9500 Original Android Development] liquelt:
What is the most stable available yet?

I am going t flash on my friend's phone. and he doesn't understand much about ROM modding and etc.

Why doesn't it have SNAPSHOTs? Like on jflte?

thanks
[Galaxy S 4 i9500 Original Android Development] gio_b:
I do not understant the diffefence between the nightly version and the other one:gear cm.

Nigtly has daily update...in the night every day in the night ,is it ,so i do not need to reflash...is it ? And what about the update of the other version ?

Do i need to reflash every update ?

Tks giovanni.
[Galaxy S 4 i9500 Original Android Development] parvezthepop:
On Call Proximity Sensor issues

Is any one facing issues with the proximity sensor while on call. When i am making a call or receiving on the proximity sensor detects that i am holding it near my ear and turns the screen off. But if i move it away from my face and hold it far enough so that the screen turns on to cut the call, the screen never comesup. i have to wait till the call is ended from the other side to get my screen turned on.

I have also observed that sometimes when screen is turned off the touches are still detected. i ended up making conf calls to other people.

What is your--

Phone model: GT-I9500

Radio (baseband):I9500DDUFNA4

CM version: 11-20140816-Nightly-i9500

CM Download url: OTA

Gapps version: latest

Did you--

wipe: before installing the ROM i wiped

restore with titanium backup: No

reboot after having the issue: Yes

Are you using--

a task killer: No

a non-stock kernel: no

CMSettings/Performance settings (other than stock): No

ART Runtime: No

other modifications:No

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed: The issue has been there from the time i installed the ROM for the first time.

Hoping some dev is actually looking into this issue <fingers-crossed>
[Galaxy S 4 i9500 Original Android Development] Jiiins:
Same exact problem since several months ago.
[Galaxy S 4 i9500 Original Android Development] afaquekhaja:
Pls fix the call quality!!! I really want to use this rom as my daily driver and this bug is the only reason that I can't do so. Thanks in advance ?
[Galaxy S 4 i9500 Original Android Development] ChampMEon:
It's about the ONLY problem left.... So I guess if the developer(s) have less bugs to work on, they can focus their attention on this. But they've been struggling with it. So I doubt they'll find a solution soon. But a temp fix, is the Chinese modem. That's about it.
[Galaxy S 4 i9500 Original Android Development] afaquekhaja:
What is the Chinese modem?
[Galaxy S 4 i9500 Original Android Development] ChampMEon:
Rule : Search thoroughly before asking questions. There are probably hundreds of people using this fix.

And remember to thank someone who actually took the time to help. Its called respect.

Check this post

http://xdaforums.com/showthread.php?p=54859431