yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Shade5:
Ok, so the GPS just won't work.

I tried to see if it can see any sat's using GPS Info from Playstore

First it shows NO SATS, then on updating the AGPS data it shows 27 sats in view but no SNR for any sats (since it's not working)

I kept the phone outside for 20 mins, and tried different mode (High Accuracy, and Device Only) but no luck.

Am I the only one, or do others have GPS not working too ? Any solutions?
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
Why does the system partition revert back to ext4 after I change it to F2FS?
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Let it be.

Some say ext4 is better for system
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
I tried changing to F2FS again and the phone didn't boot so yeah I will leave it. I had to re-flash the ROM and GApps. I have successfully changed cache, data and Micro SD to F2FS though.
[Galaxy S 4 i9505 Original Android Development] verossi:
Me too! I'm getting the "-505" during installation. Help, please!!!
[Galaxy S 4 i9505 Original Android Development] sonic5:
Hi! Sorry for noob question. Im using the latest update (7/25) and sometimes the phone is very laggy. Especially incoming calls make the phone absolutely inresponsive.

I have to damit, that i use Android 5.1 with 4.4 bootloader and modem. Could this be related to my problem? And if i update bootloader and modem will it wipe my device?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Flash of bootloader and modem via Odin do not destroy anything on rom, recovery, data... it's safe (but at least you must know how to do!)...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] sonic5:
ok, thank you very much! i used odin alot in the past, but i never before flashed a new bootloader i think :D

---------- Post added at 09:52 PM ---------- Previous post was at 09:15 PM ----------

Flashing BL and modem worked like a breeze. Problem still there. Phone freezes on incoming call.

Im having this probleme since upgrading to 5.0... Maybe a hardware issue....
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
Factory reset, wipe cache, dalvik cache , data and system. Change everything to ext4 reboot to recovery again turn off the phone. Use odin to put the stock firmware again
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Did you have from beginning? But also on original TW?

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] FernBch:
Have a bug to report. Occasionally when answering a call using a Jabra earpiece, I will touch the button and it will answer the call. The issue is I cannot hear the other party through the earbud (Jabra BT2045 Bluetooth earbud). Usually if I hit the button a second time sound will then come through. Normally I only need to hit the button on the earbud once.

Logcat:

https://www.dropbox.com/s/d547ikwhh1s7tlx/Log_2015-08-11_14-10-59.txt?dl=0
[Galaxy S 4 i9505 Original Android Development] smeroni68:
I'm quite sure he never flashed original stock... this because he had kk modem and bootloader...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Thratchen:
Prior to the 20150725 ROM I used to occasionally dirtyflash plain vanilla CM over this Antares ROM and back but I've not tried it since the 20150725. Has anyone had any success trying this?
[Galaxy S 4 i9505 Original Android Development] :
It was an oversight in the last build. Antares acknowledged this a while back in post 4343 although was supposed to be fixed. Performance is better for read only partitions on ext4 though.
[Galaxy S 4 i9505 Original Android Development] Trenhaile:
IR fix

I had to go back into recovery and format cache and delv cache. I also fixed permissions and everything worked great. But mine also didn't work until after I did this. Hope this helps.
[Galaxy S 4 i9505 Original Android Development] OathYvne:
Yeah i get the same thing aswell. :/
[Galaxy S 4 i9505 Original Android Development] Shiningb:
Is it possible to add the "Advanced Display" option here?? The one that allows us to manipulate the sharpness and saturation of the screen

You know, on the old GS3 4G the custom Roms have it

Well on the stable build I have been getting music computer like lag (that drives me insane), I have to try the latest one...

:good:
[Galaxy S 4 i9505 Original Android Development] ezinex:
*978*
[Galaxy S 4 i9505 Original Android Development] sonic5:
No i didn't, in KK everything was good.

Yeah, you are right. I never flashed stock, seems like i missed (reading) this step.

So flashing Lollipop for dummies just like you said:

And then flash cm 12.1? Right? =)
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Right
[Galaxy S 4 i9505 Original Android Development] sonic5:
Thank you, i will try this and report back. ;)
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
Then flash the root file in odin, flash twrp and then flash cm 12.1

Let the phone boots after one step in odin

Root the phone

Boot

Twrp

Boot

Then reboot to twrp , do a factory reset, wipe cache, dalvik, data , system and finally ( here you choose use ext4 or f2fs ) install rom and gapps
[Galaxy S 4 i9505 Original Android Development] chiefmac:
Can't get out of blank screen during/after a call

xardus, did you find a solution to this as I have the same problem and can't see a posted solution? Thanks.

The ROM is great btw. I've only installed it 5 days ago and love it's speed, but I won't be able to stick with it when I can't answer or make phone calls without having to reboot my phone!
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
Strange .. :/
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
^ I have experienced the same problem. Screen went off while making a phone call. This is a big problem and fixing this should be the main focus of this ROM as the main purpose of a phone is to make and receive phone calls.

@AntaresOne: Is it possible to fix this?​
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Did you tested Official CM about this problem? It is not normal, because on our phones it's fine, no issues...

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Lifu':
Try to catch a log for the team. It might help more than you think.

I don't know how you can do it with the screen off, but maybe some one else here does.

About stuttering audio that some still have it, I fix it enabling AwesomePlayer in Developer options.

In STweaks under IO tab change read-ahead to 1536kB for int and 2048kB for ext.

IO Scheduler set to ROW for both int. and ext.

Also check that MMC POWER USAGE is set on Performance.
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Screen will go off when youre calling thats normal right? Because of the proximity sensor. Lol. But when youre done and slowly move away your phone from your face the screen will lit up again.
[Galaxy S 4 i9505 Original Android Development] chiefmac:
Can't get out of blank screen during/after a call - it's not the sensor

No, droidblitz, the screen will not come on when I move the phone away from my face. If I'm really lucky, I might get it to come on 3-4 minutes after the call has ended, otherwise I have to press and hold the power key to restart the phone. So it's not the sensor, as it all worked perfectly the day before installing.

I'm thinking I should try a complete re flash of the ROM and see if that helps at all - maybe I restored or installed something that is causing the problem...
[Galaxy S 4 i9505 Original Android Development] droidblitz:
I have used this rom for almost 2weeks max.

And didnt had this kind of problems.

Had few Random reboots due to my undervolting settings.

But with what you have encountered, didnt have those. :D and plus the BT share FC but the fix is just dirty flash the rom again.

Try installing it clean. And see how it goes.
[Galaxy S 4 i9505 Original Android Development] chiefmac:
BT share FC?

Yes, I'll do the clean install. Where do I find details on the BT fix please, as that is my only other issue and I struggled to work it out when I searched on it? :(
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Just try to do a clean install first.

Hopefully BT fc wont appear on setup screen. :D

When i encountered bt fc i just flashed the rom again without wipe and factotry reset.
[Galaxy S 4 i9505 Original Android Development] Lifu':
If you do a clean install, may I suggest some steps?

Do your needed backups TWRP/TiBu. (do not use CWM)

Turn off your phone and boot into recovery using the buttons. (do not have it connected to PC or charger)

Wipe everything including internal data.

Flash 25July build and nothing else, not even gapps.

When it finish, select to wipe cache/dalvik and reboot.

Let the OS do its thing and when its done play with it for 5-10min without installing/restoring anything.

Test if the screen behaves the same and if it's all good continue with the rest.

Best of luck.
[Galaxy S 4 i9505 Original Android Development] bswides412:
This has happened to me in the past. It is a proximity sensor issue. For some reason is does not register the light when you pull the phone from your ear. I have had luck with an app from the Play Store called "S4 sensors [Requires Root]". It doesn't look like it does anything, but after rebooting I would no longer have the screen off issue. With all that being said, I have used this app on other ROMs but not this one. Good luck!

https://play.google.com/store/apps/details?id=com.dagentooboy.s4sensors.app
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Just finished installing this

Clean flash as always.

No problem with proximity sensor even in total darkness waved my hands over the top part of the screen and screen went off

Removed my hands and the screen lit on. :D

---------- Post added at 05:18 PM ---------- Previous post was at 05:15 PM ----------

To avoid the BT FC in the setup screen.

Be sure to do a dalvic cache wipe before booting it up when its finished flashing.
[Galaxy S 4 i9505 Original Android Development] jenom:
For me this has always been a hardware problem. so opening the phone and cleaning the sensor is the real fix. the glass in front of the sensor gets dusty and it will not register correctly any more. You can test this with the Phone Test app or similar apps. It should read "Far" and if you put your hand in front "Near". If you lift your hand and it is stuck like this it is most likely the dirty sensor problem. I think, I remember that there was also an app that reported real values of the proximity sensor and it should be around 30 when far and is below some threshold (around 10 ?!?) if it is dirty.

A workaround for cleaning is to enable "End calls with home button" in the settings. But you will not be able to access the dial pad during calls, once the screen turned black.
[Galaxy S 4 i9505 Original Android Development] ebfortin:
I've been batlling with sporadic heavy lag of the entire system. This comes at irregular interval. I've tested and showb that as soon as I close Chrome, the heavy lag stops. Coincidence? Maybe, maybe not.

Now i've tried disabling 'keep awake' on chrome with privacy guard. So far so good, no heavy lag. So it seems to me that something in chrome's background do not play nicely, OR rely on something in the system that has a bug.

Anyone experiencing the same?
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
Hi,

I flashed the 20150725 ROM onto my i9505 yesterday per the instructions, flash stock to get fro 4.4.2 to 5.0.1, wipe, root, lather rinse repeat, etc, etc. and I've been enjoying learning CM12.1 and pleased with the responsiveness of the phone.

HOWEVER, Contacts constantly crashes. I can't open the program at all to view the details of contacts. Interestingly enough, if I can find a contact that has no phone number (just email address for example), that one will open properly. But anything with a phone number causes Contacts to crash. Is this a known issue? How do I create the log files I see mentioned a lot in this thread? Who would I give them to?

Any assistance would be appreciated.
[Galaxy S 4 i9505 Original Android Development] traesko:
Have you made a clean install? Did it solve your problem?

If not, if it's not too much to ask, try another rom. Is the problem still there then your sensor needs cleaning.

The sensor doesn't usually start to get progressively worse, one day it just stops working due to dust buildup. That's what happened to me. I blamed it on my current rom and tried a few others, turns out it was my sensor though. There's some really good guides on how to get to the sensor and it's really easy to do yourself.

Using compressed air and blowing it into the speaker is just a temporary fix, it just moves the dust around a bit.

Getting rid of it all by opening your phone up though.. God, that feel.

While I'm here, awesome rom by the way. It's by far the most stable rom I've used since.. forever.

I am however not a gamer or need 110% out of my phone.

What settings should I fiddle with to get the most batterytime out of my phone?

I'm mostly using social apps, fb, instagram.. and the camera. Any tips?
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
Install link2sd give root acess and clean cache and dalvik cache

Reboot
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
Use link2sd to clean the cache and dalvik cache? Couldn't I do that in my TWRP recovery program? Or is installing link2sd for a different purpose?

I used link2sd to do those things and Contacts still crashes if you try to open a record with a phone number in it.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Clean the Dialer cache from app management...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] sonic5:
Tried to flash stock lollipop via Odin (3.07 & 3.10 - as admin/win8.1) and after adding phone and file to flash and hitting the Start button a strange error occured.

"Cant read file. (Line 2012)"

Prior to flashing i reverted filesystem to ext4 and the md5 was fine.... Any idea?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Drivers under win8.x are not working...

Need win7...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] pitelasssss:
I've used odin with correct drivers under wind. 8.1

Use slim drivers ( search on google )

Install correct drivers or use with the compatibility mode

---------- Post added at 10:43 PM ---------- Previous post was at 10:39 PM ----------

Turn off the phone

Put the phone in download mode

Connect the phone with the pc

Let de driver instalation begin

See what name have the driver on the notification area and if the inatalation goes wrong search on google the name you see
[Galaxy S 4 i9505 Original Android Development] sonic5:
found a old thread which mentioned to not tick re-partition and it worked :D

the question is, if this might have any negative/side effects on the rom or system...
[Galaxy S 4 i9505 Original Android Development] droidblitz:
FB+FB Messenger
[Galaxy S 4 i9505 Original Android Development] dr_obec:
No external sd

Hi guys,

I just migrate my i9505 from CM11 to this rom. Unfortunately I can't see my external sd card :( If I try to go to recovery mode there is everything ok but after restart is the card missing again - i mean in android file manager. What should I do ?

THX
[Galaxy S 4 i9505 Original Android Development] kees1982:
You probably need tot format it in a compatibel format.
[Galaxy S 4 i9505 Original Android Development] dr_obec:
You mean to F2FS in Recovery Mode? In my opinion this is not that kind of problem because I think that if I insert card with unsupported file system then system ask me for formating this card... (but may be I'm wrong :) )
[Galaxy S 4 i9505 Original Android Development] Lifu':
No, not F2FS. Make it exFAT.
[Galaxy S 4 i9505 Original Android Development] smstiv:
Is strongly recommended if you come from kitkat update first to stock lollipop, root, recovery and flash the ROM. Avoid many problems.

Enviado desde mi GT I9505 con AOSP 5.1.1 by JDCTeam
[Galaxy S 4 i9505 Original Android Development] droidblitz:
For those having stutter / delay / lag / hiccups when playing music...

Try this one.

Open stweaks I/O tab.

And dont forget to hit LOAD ALL in CPU Tab.

And reboot your s4... Enjoy.
[Galaxy S 4 i9505 Original Android Development] vagkar:
ant+

[MENTION=5464206]AntaresOne[/MENTION]

Hi and thnx for the effort. Can you please help me or guide me on how to enable ANT+ ?

It used to work on stock rom but not on cm12.

The ANT Tester app states 'Built-in ANT detected: NO"

I have already installed the ANT Radio Service and ANT+ Plugins
[Galaxy S 4 i9505 Original Android Development] droidblitz:
SHARE:

How to fix lag between Fb app and Fb messenger.

Disable CHAT HEADS. :D

---------- Post added at 10:41 AM ---------- Previous post was at 09:59 AM ----------

Starting to see and confirm that this rom uses more battery.

:(

I will post later a screenshot regarding my battery usage.
[Galaxy S 4 i9505 Original Android Development] SGE2010:
MHL not working?

I have an issue using my MHL-Adaptor. If I connect it to the TV, nothing happens (no signal). If I'm correct, all I have to do is to connect the adaptor to the TV (1), power with at least 2A (2) and the phone itself (3). Then the screen is supposed to be mirror'ed on the TV screen automatically, right?

How do I find out if the MHL adaptor is broken? Or is it the ROM which doesn't support MHL?
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
I tap the 'clear cache' button and nothing happens. The cache stays at 24.0 KB. I tried force stopping it and rebooting, nothing changes except I lost my dialer icon.
[Galaxy S 4 i9505 Original Android Development] smstiv:
Rare, please look if you have not disabled the dialer. Application settings / disabled.

If is not - you can make dirty flash again with wipes (cache and dalvik).

If the problem persist download from Gplay SYSLOG and take all logs, incuided log from Alu kernel and send to the DEV.

You have widget to take log from Alu kernel. If you donno how send me PM and i will explain you.

What Gapps have you?
[Galaxy S 4 i9505 Original Android Development] chiefmac:
Blank screen after calls / proximity sensor problem solved

Thanks to all for the various suggestions for solving my problem that the blank screen doesn't go away after phone calls. It turns out that it was the proximity sensor after all, and nothing to do with this superb ROM! It was just a misleading coincidence that the sensor started failing just after I had installed the new ROM! Silly me for assuming the connection :(

Thanks especially to bswides412, as the 'S4 Sensors' app you pointed me towards solved my problem. The proximity sensor should report values from 0 to 255, but mine only goes down to 50. Using this app, I could recalibrate the sensor and now it works perfectly with the screen turning on and off as it should.

The pointers on reinstalling the ROM have also got rid of my BT FC issues, so now I am up and running with a perfectly functioning i9505 at last. Thank you very much :o:)
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
I double-checked, the dialer is enabled. I just tried again and it seems that a cleared cache for the Dialer *is* 24KB. (It was at 48KB and when I tapped the button it only went to 24).

I also did a dirty flash down to CM-12.1-20150701-OPTIMIZED-jflte to see if it was something with the latest version (I cleared the cache partition after flashing, just in case) and it didn't affect anything. I can make calls, but I have to use the search function in the dialer. I cannot view any contact that has a phone number as part of the record.

I am using the latest GApps, open_gapps-arm-5.1-stock-20150811.zip
[Galaxy S 4 i9505 Original Android Development] smeroni68:
If you are sure your contacts are ok and they are all on Google account, you can force a rebuild of dialer database in this way:

1) be sure to have network access for Google resync of contacts

2) reboot to recovery

3) mount /data

4) using twrp file manager, go to /data/data/com.android.dialer

5) there you will find some file and folders like you see in this screen

6) delete completely the content of this folder

7) reboot the phone

8) as soon you have network access, go in the menu and force a Google account contacts sync

9) it will take some minutes, but the sync will rebuild all databases of contacts.

Before doing this procedure, do a full nandroid backup... in case something goes wrong you can restore the rom and data.

Hope it solve the issue... let us know...

Inviato dal mio GT-I9505 su AOSP 5.1.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
Has stagefright exploit been patched in this ROM?

---------- Post added at 17:20 ---------- Previous post was at 17:14 ----------

This app fixed the problem for me: https://play.google.com/store/apps/details?id=com.vrognaas.proximityfix&hl=en_GB

Try it. Good luck! :)
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
Thanks. Why would I delete the contents of the dialer directory and not the contacts directory as well, since it is the Contacts program that keeps crashing?

I also deleted the contents of the /data/data/com.android.contacts directory. I had turned off Contacts sync before I rebooted to delete the directories. I was surprised that after the delete and before I rebooted, I still saw a bunch of entries in the Contacts program. Where else are those files kept that show a list of contacts in the Contacts program?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
They were in ram. After re-sync nothing change? Still same problem?

Inviato dal mio GT-I9505 su OptimizedCM 12.1 (JDC)
[Galaxy S 4 i9505 Original Android Development] FernBch:
Yes, it has.
[Galaxy S 4 i9505 Original Android Development] eisenbergw:
According to the Zimperium detector, only 4 of the 6 CVEs have been patched. CVE-2015-3827 and 3829 have still not been patched.
[Galaxy S 4 i9505 Original Android Development] TessellatedGuy:
Nowadays.....This rom has been very laggy, I don't know what could cause this but whenever a notification arrives my phone lags and becomes unresponsive.... I don't think it's a particular app as notifications from any app triggers it.[emoji17] I created an issue in github as well.
[Galaxy S 4 i9505 Original Android Development] MasterBrush:
anyone?

I consider installing Samsung Stock software to get rid of this annoying issue
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
Does anyone know what the "Reduce power consumption" option in the LiveDisplay section does? The description of it is: "Adjust display for lowest power consumption without degradation"

I currently have that option unchecked and I'm at 50% battery with over 2 hours screen on time. I want to reach 4 hours screen on time before the battery dies. So far I am on track to achieving that. I understand that the "Reduce power consumption" may increase battery life, so there's no need to tell me that. What I want to know is what exactly this feature does. For example does it cap framerate to 30 FPS or something?