yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] junkyde:
you're right the app shows 0cm

I just installed this rom today. Before I was always using Sammy roms and never had this issue. I also did a clean install.
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
If it always shows 0 even when nothing is covering the sensor, it's a proximity sensor issue. After using the app I linked earlier, did it say "Your proximity sensor has been fixed"?

Also, did you restart your phone?
[Galaxy S 4 i9505 Original Android Development] junkyde:
yes the app said it has been fixed and I also rebooted a couple of times and tried the app again.. nothing helped so far.
[Galaxy S 4 i9505 Original Android Development] cronot:
I am a developer too (though not at the OS level, at least not nowadays) - trust me, I feel your pain. And again, I was not cricticizing your work per se - as I said before, I believe you do an amazing work. I am more critical about the way it's presented: a super fast, feature-complete/enhanced, relatively stable ROM. It may well be all these things for many people, but it's most certainly not everyone, and there are countless pages on this thread to prove it. Maybe the OP should be toned down a little, because as it is, this ROM really falls into "experimental" territory - it should work as advertised, but might contain unknown problems for some poeple.

Yeah, that's the other side of the story, and again, I envy you guys. But if there are many people having a not as smooth sailing as you have, then something's wrong somewhere. Maybe it's hardware revisions, maybe it's specific hardware for certain regions, I don't know.

That's really the point behind my idea of having a CM unofficial build more closely tracking the official build - apparently nobody has serious problems with it, so it's a good starting point.
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
Do you have a can of compressed air? If so, you can try blasting the earpiece grill with some compressed air.

If that doesn't work or if you don't have any compressed air, try this: http://xdaforums.com/galaxy-s4/i9505-develop/adb-shell-proximity-sensor-recalibration-t2867129
[Galaxy S 4 i9505 Original Android Development] smeroni68:
One of the biggest differences with Official is the support of all S4 variants... do not forgot this.

Anyway we will check the OP content, to be sure we do not write overvalued things... but we have ony 10 phones all 9505... and probably we are in the "group" of the lucky ones... it's fine, quite strange but seems true...

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] iotsugua:
Hello there, I'm having a few issues and I'll post them to see if there's a solution

1) Google Play Services has stopped working notification every minute. It's pretty annoying and I tried to run GApps again, but it says Error and stops the install.

2) Can't listen to Whatsapp audios until the end. When the voice message has 5 seconds left, it stops working.

3) Whatsapp stops receiving messages when I'm on Wifi and put my phone on sleep mode. I have to disable wifi and use 3G to make it work.

4) Can't use any app when I'm using Spotify because it stops working.

Thank you guys!
[Galaxy S 4 i9505 Original Android Development] stegalli:
This means that the quality of recordings will never improve ?? :(
[Galaxy S 4 i9505 Original Android Development] cantenna:
Really like this rom, thank you!

Having a problem with viper4android; After every song has finished playing, the next song viper effect is lost, it seems the kernel or stweaks is killing it, any ideas on how to fix? Thank you.

Btw it is installed as a priv system app
[Galaxy S 4 i9505 Original Android Development] alexcochifu:
Md5 error

Hi! Im just about to make the la test pudiste... But it says md5 error.... Should I install it? I've done it before... But it had never been this error before.... I have a i337m

Thabks a lot!
[Galaxy S 4 i9505 Original Android Development] FernBch:
I use AFV (Android File Verifier) from the Play store. If the md5 doesn't match I download it again and recheck.
[Galaxy S 4 i9505 Original Android Development] benlm72:
In my case this setting was enabled, the icon appears but nothing happens (apart from a short vibration, as yous describe) when I tap on it.
[Galaxy S 4 i9505 Original Android Development] jstath1972:
I have to say that this is an awesome rom, if you like the AOSP (it's not TW like GPE). It's fast and smooth with good battery consumption :o but the camera is buggy and unstable (there are alternatives you can try in the store) :(.

Definitely i recommend you to try it :good:.

And [MENTION=5592622]N!KE26[/MENTION] is right, Q&A thread is for questions like this ;).
[Galaxy S 4 i9505 Original Android Development] jd1001:
No I can be beside the router and it still drops WiFi, only on one WiFi router though, doesn't happen on other WiFi like in work.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Can you detail this wifi? Protection, speed, channel, lease time... because as you reported it happens ony on this router... may be a setting is generating the lost of connection.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] tulek:
I want to report a cosmetic bug. It's in CM 12 as well as in this ROM.

I have a very bright wallpaper and sometimes then I exit an app the gradient behind the status bar icons is not shown. On darker backgrounds one might not notice this, but on brighter backgrounds it's impossible to read anything the status bar shows.

A workaround is to jump to the recent apps switcher after exiting this the gradient is back.

Tested this with Google Now Launcher and with Action Launcher.

Perhaps you can look into this.
[Galaxy S 4 i9505 Original Android Development] ezinex:
Hiding the clock, does not hide.

Hi. Been testing the ROM and it works much faster and stable than 5.0.2. I dont have wifi issues, heating or greenish youtube videos. I have even verified that some lag problems playing my favorite games when waiting for my flights.

There's one very small issue that appears when hiding the clock (settings>status bar>clock style>hidden). The clock hides when selecting this feature but when rebooting the phone, the clock appears again even showing the selected option as hidden, in clock options.

Has anyone had the same problem? (Its not really a problem, its just for not repeating the word "issue" ;) )

Thanks for the great ROM and keep it up! :good:

---------- Post added at 06:28 PM ---------- Previous post was at 06:13 PM ----------

Sorry, my bad. Just remove the "Dark Material Theme for CM12", enabled and disabled the clock, rebooted, and the clock does not show (thats what a need).

I uninstalled the theme just in case in the future I want to install it.. Now everything works fine.

Thanks!
[Galaxy S 4 i9505 Original Android Development] todivefor:
Thanks. Patched with r1112 without wiping and it worked fine. Love it.
[Galaxy S 4 i9505 Original Android Development] gkkovacs:
Whisperpush SMS registration problem

Hey [MENTION=5464206]AntaresOne[/MENTION]

ROM is working fine, most problems gone, but the WhisperPush SMS registration problem I reported many times is still there. My phone receives the SMS, but the registration wizard times out waiting... I am using the built in Messaging for text messages.

Anyone else got this working?
[Galaxy S 4 i9505 Original Android Development] drnjstj:
GPS and map issues fix

I fixed the GPS issues with the Google maps app, by deleting and reinstalling the app.
[Galaxy S 4 i9505 Original Android Development] lan78691:
Unfortunately it didn't fix it for me!
[Galaxy S 4 i9505 Original Android Development] stengr:
For me happens on all routers. On some very often on some rare but happens. For example at home i have netgear3700. Tried default firmware, ddwrt. Added signal repeater. So signal strong or not isnt problrm i think. In the airports and hotels it disconnects very very often, many times hours. When many repeaters with different signals makes it crazy. Sometimes when using phone you see wifi on/off when phone awake it reconnects but if in sleep mode wifi never reconnects
[Galaxy S 4 i9505 Original Android Development] olskar:
I did a factory reset from old CM, then when trying to enter TWRP, I can't enter it. It gets to the twrp-logo, then it is stuck there.

I have tried flashing all different versions of twrp with f2fs support from [MENTION=5464206]AntaresOne[/MENTION] but still the same problem :(

I would really appreciate some help with this
[Galaxy S 4 i9505 Original Android Development] jd1001:
Hey, I am not able to do that because the router it happens on I do not have access to it. I can't log into it. Sorry, I would do it if I could.
[Galaxy S 4 i9505 Original Android Development] geyce76:
hello,

I just installed this ROM (clean install) but i'm unnable to connect my Google account to aganda ....

It show "no account", and when I enter my account address, it tell me "this account already exist" ...

Thx for your help !
[Galaxy S 4 i9505 Original Android Development] jd1001:
Download google calendar from the play store, sync that and then remove it. The normal calendar will then sync fine. Same issue happened to me.
[Galaxy S 4 i9505 Original Android Development] savale:
aside from that one I can say this rom works really well. Battery usage is impressive as well. Good job!
[Galaxy S 4 i9505 Original Android Development] geyce76:
Great ! thx so much !
[Galaxy S 4 i9505 Original Android Development] Prevelation:
Clean Flash to 13/04/2015

When WLAN is activated and my Phones goes in standby, and I wake it up again, the WLAN is not connected and have to reconnect.

The settings, to use WLAN in standby is on "Always", means it should always be connected to WLAN, but it isn't.

Any Ideas?
[Galaxy S 4 i9505 Original Android Development] raffmann:
Don't have this bug[emoji106]
[Galaxy S 4 i9505 Original Android Development] stengr:
I have this bug in all cm12 variants from first cm12 in january. All bootloaders/modems
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Hello,

You must use TextSecure to use WhisperPush... You can find it on Play Store for free

Give some more time to boot the 2.8.6.0. What S4 variant do you have?

[MENTION=1007992]everyone[/MENTION] with WiFi disconnecting after screen lock: check that in Settings->Wi-Fi->Advanced->Keep Wi-Fi on during sleep is on "Always" or "Only when plugged in"

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] junkyde:
okay it's not rom related.. just flashed back to stock and the problem still exists. I just never noticed it because on stock rom pressing the power button during a call turns on the display and it remains on... but on cm it immideatly turns of.

Thank you for your help! I will try to clean the sensor.
[Galaxy S 4 i9505 Original Android Development] krGemini:
The rom itself wipes the system before install.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes... but depending on installation script, the procedure can save and after restore some files before formatting /system... wiping system before installing give a clean system partition. Also cache and dalvik are managed automatically during installation... but some apps can suffer of "wrong install decision" of no cache rebuild and they become unstable after boot.

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] bgibs1:
This ROM is awesome, Thanks Devs!

One quick question... I use Snap camera but haven't been able to set it to the camera shortcut on the lockscreen. I go into settings> lockscreen but Snap never shows in the list of custom apps when you try to set the shortcut. This is not a big problem but I was curious if anyone else that uses Snap has gotten I to work.

Thanks
[Galaxy S 4 i9505 Original Android Development] krGemini:
Thanks for the detailed reply, but I already made a clean install yesterday as I am using this ROM as a daily driver and want to remove the issue at the earliest. I must say that this update is also much smoother / stable as the previous one, atleast for me.

I only got "bluetooth share has stopped" error twice right after install, but after that the error is no more.
[Galaxy S 4 i9505 Original Android Development] stephendt0:
Apart from the "Bluetooth Share has stopped" error message which continually comes up, MMS is still not working. However I think I might have found a fix (I posted a log earlier if you want it - just search my name). This is from the official CM12.1 nightlies thread:

I'm going to give this a go! Hopefully it works. Will report back.

EDIT: IT WORKS! :laugh::laugh::laugh:

Is MusicFX or other EQs disabled? No problems here. I'm using Rocket Player.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
MMS fix works in official CM, we'll merge its system property for the next build to have it as default

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] stephendt0:
It works in this ROM too - hence my excitement :)
[Galaxy S 4 i9505 Original Android Development] christoophat:
hmmm..not sure , since enabling it got it working for me.
[Galaxy S 4 i9505 Original Android Development] LDVduke:
This ROM is awesome.

The newest update feels much snappier as well. This phone will definitely last until my Oneplus2 :D

It would be amazing if you guys could get the 1/2motion video to work like on the Touchwiz camera, but I know that's a pipedream :rolleyes:
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
I had this issue last week while on the 20150725 build, and the fix for me was to recalibrate the sensor. It's pretty easy and straightforward if you have access to a terminal emulator program and root access.

(Disclosure: I did not figure this out. I found this elsewhwere on XDA and also http://forum.cyanogenmod.org/topic/85086-galaxy-s4-i9505-proximity-sensor.)

First step - Doing the manual recalibration:

You need to find two values to calibrate the promity sensor; the original value and the offset.

First you need to lookup the value of the sensor in the normal state. This is the original value:

Lets call this number X

Second you need to look up the value of the sensor offset.

This will produce 3 numbers separated by commas; a,b,c. The sensor offset is value a. Lets call the sensor offset Y.

Convert the sum of X and Y to hexidecimal and echo that value to /efs/prox_cal

hex(SUM) = X + Y

Example:

X = 10

Y = 20

Sum = 30

Hex(sum) = 1E

as used below:

$ su

$ echo -en $'\x1E' > /efs/prox_cal

$ chown system:system /efs/prox_cal

$ chmod 644 /efs/prox_cal

$ sync

Reboot your phone.

After rebooting, please test, this will make the proximity sensor work, however, it will only work in a very near distance.

Now, you should do this, to fix permanently with the default proximity distance:

Second step - Fix the proximity distance:

$ su

$ echo 0 > /sys/class/sensors/proximity_sensor/prox_cal

$ echo 1 > /sys/class/sensors/proximity_sensor/prox_cal

Reboot your phone.

Good luck!
[Galaxy S 4 i9505 Original Android Development] MScantamburlo:
Hello, the ROM is great but I wanted to know if you could put a run time for the LED notifications for do not go for too long if you don't look the phone, then I wanted to know if maybe someone had a zip to flash the keypad stock of S4, And when I use the music player, sometimes he crashed and says he can not play the song and move to the next, but only if you use it, however, if I'm not using operating normally. Sorry for my English.
[Galaxy S 4 i9505 Original Android Development] gkkovacs:
0817 bugreport

Hey [MENTION=3545504]smeroni68[/MENTION] [MENTION=5464206]AntaresOne[/MENTION] [MENTION=4899086]alucard_24[/MENTION]

I have been testing the 0817 build (dirty flashed over 0725 with system, cache, dalvik wipe). Works like a charm, very fast and fluid, great work squashing all those bugs!

Bugs / issues

1. Mobile data on 2G (GPRS) does not work, it shows an ! where it should show a G. (EDGE, 3G, HSPA and LTE are working fine.)

2. Adaptive brightness is not set up correctly: my screen is not at full brightness even out in the sun (if I disable AB, I can set it higher manually). Is it possible to implement a lux / brightness customization in Settings that was already included in CM11?

3. Memory management needs some tuning: when both the Facebook app and FB Messenger are installed and used, the phone sometimes becomes very laggy when switching between apps.

My STweaks settings

For peeople who haven't set up STweaks yet, here are some suggestions how to make your phone even faster and smoother, while using less juice:

CPU: Gentle_Fair_Sleepers OFF, Arch_Power ON, Power-Efficient_Workqueues ON

CPU-Voltage: Main switch ON, All voltages 3 notches down (left) from default: 378000 kHz: 800000 uV, 1890000 kHz: 1100000 uV

CPU-Tuning: Default CPU governor for all CPUs: Interactive

CPU-Hotplugging: Intelliplug

GPU: Governor: Ondemand

IO: Kilobytes to Read-ahead (INTERNAL and EXTERNAL): 2048 kB (this is very important, at least 1024 kB should be the default), Default IO scheduler: ZEN
[Galaxy S 4 i9505 Original Android Development] junkyde:
thanks, but today I disassembled my phone and cleared the sensor. Now Everything is working fine and I am back on this beautiful rom :)
[Galaxy S 4 i9505 Original Android Development] LapanNaxela:
Fixed itself after clean flashing the newest build
[Galaxy S 4 i9505 Original Android Development] MasterBrush:
Are you on Vodafone Hungary?

---------- Post added at 10:46 PM ---------- Previous post was at 10:44 PM ----------

When I make a skype call the audio works fine. When I make a 2nd skype call the other person cannot hear me, neither with headphones or just phone microphone. It doesnt work again until I reboot the phone. Which issue could that be? I am on build 0817
[Galaxy S 4 i9505 Original Android Development] gkkovacs:
No, I am on T-Mobile Hungary. If you click more info on the left of my post under my location, it reveals that information.

BTW the 2G / GPRS data bug is already known, IIRC it affects CM12 not just this ROM.
[Galaxy S 4 i9505 Original Android Development] iotsugua:
well, now I'm with two old issues:

1) whatsapp audios stop playing in the middle

2) can't use spotify while using any other app
[Galaxy S 4 i9505 Original Android Development] scraghty:
IR not working

Not sure if it worked before, never tried on these 2 devices. But can not get IR to work on TV or Cable box. Any Ideas Thanks.
[Galaxy S 4 i9505 Original Android Development] MasterBrush:
I am on Vodafone Hungary here in Budapest, I see this ! a lot and than I dont have data. It happened on CM12 exactly the same. But I shouldnt be in GPRS in Budapest. Strange...
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Yeah mate, it was fixed in official by adding that system property in system.prop (which is what writes device-specific property entries in build.prop at compile time) and obviously works also here, just we didn't have it as default inside and will be from the next build :)

Mobile data is going to be fixed in the next build, [MENTION=5576897]-+BB+-[/MENTION] merged RIL changes for it :)

Adaptive brightness: I don't use it usually but just checked now under a 600W halogen lamp and you're right, it doesn't set correct lux to brightness values, I think it's possible to add customization to Settings

Unfortunately I have to say that this highly depends on how many processes are active/running at that moment, also from my discovers I saw that many devices suffer of the same issue, Facebook+Messenger is the worst wedding ever (as said previously in this thread hehe) that's why I made Facebook Chat Enabler

P.S. mate did you check my message on Facebook? I remember I read your email some days ago :)

Whatsapp's received voice messages is an old issue from 5.0, which probably will never be fixed... damn CAF audio driver

What issue are you exactly encountering with Spotify? I use it everyday and didn't find any single issue

If your IR app supports "Alternate commands" please enable it. The fact is that some old apps are made to run on a specific consumerIR module, and some new apps on the another specific consumerIR.

ROM can have only one consumerIR at once, and I was already working on a solution (still an experiment for now)

I suggest you to use ASmart Remote or Zaza app with builds starting from 20150725, otherwise:

- download 20150701 or prior build

- extract system/lib/hw/consumerir.msm8960.so from downloaded zip

Then

- paste it in latest or preferred ROM build overwriting original file in same path

- install modified zip

OR

- with a root browser, copy the file in system/lib/hw ovewriting the existent one

- set rw-r--r-- (0644) permissions and reboot phone
[Galaxy S 4 i9505 Original Android Development] Lifu':
I don't use my phone in the sunlight very often, but these couple days I had to and I didn't like it because it was too dim.

I know it's not the best device for that but I don't remember having an issue on touchwiz, so I started reading about it. I found that when is in sun light and set to auto, it boost the brightness beyond the manual 100%.

So is there a way to a similar boost under our ROM? Be it auto or even force it manually when you need it?
[Galaxy S 4 i9505 Original Android Development] iotsugua:
the issue with spotify is that when I start listening and open another app, the music stops and the app crashes.

oh, and I'm having this annoying problem that I already tried to search on the web but I couldn't find anything help. my wifi stops working when my phone is asleep, so I'm not able to receive emails or whatsapp messages. is there any fix for this? to make it work again I have to wake up the phone and unlock de screen.
[Galaxy S 4 i9505 Original Android Development] Undefined Origin:
Dirty flashed 20150817 over 20150725 and everything has functioned great for me so far. A little smoother and a little faster, and aside from one early BT Share crash... perfectly stable.

I think this is the best ROM I've tried to date, it makes stock TW so hard to deal with! Thank you Devs!

I'm trying to troubleshoot a specific non-ROM related issue with wifi powersave mode. On stock ROMs there is a hidden menu from *#0011# that you can try to force wifi awake after tweaking /efs/carrier/HiddenMenu. Does that menu not exist in CM?

I do miss this as well, I've tried to re-enable it unsuccessfully. Would really love to see it's return.
[Galaxy S 4 i9505 Original Android Development] finneginsfast:
Thanks for the info but is there any easy way to slide these down? Seems like a really finicky adjustment to make with my fat fingers...
[Galaxy S 4 i9505 Original Android Development] linds1234:
Hi guys, so I've got this ROM up and running now, it seems snappier than the July build.

Only annoyance so far is the delay with the screen turning on after receiving an incoming call, takes a good 2 rings before I can see who's calling. Anyone else experiencing this?
[Galaxy S 4 i9505 Original Android Development] VanGolfer:
I tried to move a app to SD card by using “Move to SD CARD” feature from Manager Apps. But the App not been moved to the actual external SD card, it been moved to device/mnt/, why? and how can I move App to actual SD card? Thanks
[Galaxy S 4 i9505 Original Android Development] geyce76:
Hello I got the same !

I update last version via OTA, and it seem more buggy than the previous:

still have BT issue

lost of data connection when try to send a MMS, have to reboot the phone to get it back

since 2 days phone delete my wall paper, and this morning it stop to show status bar ...

reboot with lost of nova settings, and lost of nova launcher !

As you can see, many strange things ... some are here since we're on LP, some others are news issues.

I will try a clean install of last version ....

just tell me if I'm the only one having this ! thx !
[Galaxy S 4 i9505 Original Android Development] MScantamburlo:
Up
[Galaxy S 4 i9505 Original Android Development] MarkR91:
I'm having the mms issue still too