yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] EtenNewbie:
Compass Fix

There was a bounty to fix the compass for the Verizon version of the s4:

http://xdaforums.com/galaxy-s4-verizon/general/bounty-make-compass-cm-12-1-t3088991/page4

[MENTION=2385005]invisiblek[/MENTION] came up with a fix and it was packaged up into a zip by [MENTION=5464206]AntaresOne[/MENTION]

The changes are here in the kernel:

http://review.cyanogenmod.org/#/c/96448/1/arch/arm/mach-msm/board-jf_eur.c

https://github.com/CyanogenMod/andr...mmit/719c30b4b3ab2d49adc436637f71c5f1ab7eb7b2

Is this the same kernel used by our rom?
[Galaxy S 4 i9505 Original Android Development] vytorhugo:
When it will be repaired in i9505?
[Galaxy S 4 i9505 Original Android Development] jstath1972:
Guys read this post of AntaresOne from the optimized version thread: http://xdaforums.com/showpost.php?p=61004762&postcount=2092

In the optimized version there is a problem because the jfltexx and the jfltevzw variants have the same kernel. In the official version the kernel is different for each variant.

The post is from 28/5 (today) and so we have to expect for a fix very soon.
[Galaxy S 4 i9505 Original Android Development] lalit.kultham:
Finally we will have an accurate compass!
[Galaxy S 4 i9505 Original Android Development] simonbigwave:
u r joking right?
[Galaxy S 4 i9505 Original Android Development] xtachix:
If I may ask

What modem/RIL combo are you guys using paired with this ROM?

To me, the ROM frequently disconnects from the network, at least 4 times a day, bluetooth drops signal, and so on.
[Galaxy S 4 i9505 Original Android Development] r0ckarong:
I'm personally updating to whichever BL/Modem combination is currently the latest. At the moment I'm on XXUHOE2.

There is a collection thread with all modem news for the device and Repulsa keeps them in a post for easy access:

http://xdaforums.com/showpost.php?p=50965837&postcount=2627

I really haven't had any issues with any of the 5.0.x modems so far.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
No, like I said compass on jfltexx is broken in official CM too. They use the same kernel for CM, and their board revision is the same but with different calibration setting.

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] lalit.kultham:
Do we need to flash any zip file to correct it?
[Galaxy S 4 i9505 Original Android Development] mssngr:
Hi, I have a question. I flashed CM 12.1 (full wipe) and all works well. So my plan was to change a few things in CM 12.1 day by day until it is exactly like I like it and meanwhile flashing back to my old Rom (nameless 4.4.4) for daily tasks. But every time I try to restore the CM 12.1 nandroid (I use CWM 6.0.4.7) from my 4.4.4 Rom it doesn't go past the first splash screen showing Samsung Galaxy S4 GT-I9505. It just boot loops there. Anybody have a similar situation or any ideas? Is this to do with flashing recovery's between Lollipop and Kitkat or am I just missing something? Any help would be much appreciated.
[Galaxy S 4 i9505 Original Android Development] Khurramjavaid:
why?

No I'm not. .. air view and gestures is nice technology . Why peoples are behaving soo rude? :confused:
[Galaxy S 4 i9505 Original Android Development] jd1001:
This is a stock Samsung feature. People usually go with CM because they don't want stock Samsung and maybe don't like these features. So if you like those features and want to use them you should stay with Samsung stock.
[Galaxy S 4 i9505 Original Android Development] nickmax1:
Its just a strange request on a CM thread, as CM Roms are designed to get away from the Stock Samsung Touchwiz. If you are keen on that technology then CM is not the ROM for you.
[Galaxy S 4 i9505 Original Android Development] @non4:
Anyone else's battery die at exactly 14%?
[Galaxy S 4 i9505 Original Android Development] Technical:
No, not at all. Yesterday I came home with 6% and the phone is completely alive.

Maybe some app for battery testing and calibration :confused:
[Galaxy S 4 i9505 Original Android Development] portaleus:
The "plz answer fast" might have helped.
[Galaxy S 4 i9505 Original Android Development] belrik:
Does anyone use allstream app to send audio output to airplay? With cm11 m12 it causes reboots, would like to know if its fixed. Thanks.
[Galaxy S 4 i9505 Original Android Development] Inksu:
Try the SaberMod CM 12.1 , search for thread [ROM][Unofficial][5.1.1] SaberMod CyanogenMod 12.1 for Jflte.

In Ambient Display settings you will find Doze mode, which can sort of replicate the "magic hand waving" functionality of TW (set to Full or Pocket mode).

Works for me really nicely, now that my wrist watch is broken. :)

As others have pointed out, asking people, who have no obligation to do so, to answer quickly is a sure way to get your question ignored...
[Galaxy S 4 i9505 Original Android Development] dengor:
Hoping someone can help. The camera, no matter default app or open camera, crashes very frequently. I've people have camera issues with other Samsungs and mods. But anyone encountering this on their i9505 with this cm?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
If you want these functions, keep TouchWizz!

Why you want a fast answer? Is it a matter of life or death? :laugh:
[Galaxy S 4 i9505 Original Android Development] smstiv:
It is a common problem in relation CM Samsung (the subject of drivers, if I'm not mistaken), in the past I used Snap Camera, Next Camera currently use. My experiences are positive, hope to see you helped.:)
[Galaxy S 4 i9505 Original Android Development] nickmax1:
Open Camera is a great app as well, ad free.
[Galaxy S 4 i9505 Original Android Development] NoPlayBack:
I now have 2 occurences where Bluetooth crashes regularly:

- when connecting to car handsfree, at start, when call-logs are transferred. If bluetooth survives that action, then using bluetooth for phone activities seems to be fine

- when synching contacts via bluetooth between the S4 and a third-party-tool on a windows machine.

I wonder if i can see somewhere, if that issue is known, is worked on, or if logs are necessary.

This BT-problem is my only big issue with this otherwise perfect ROM.....
[Galaxy S 4 i9505 Original Android Development] jd1001:
Well known issue. Keep watching the nightly changelogs to see when it will be fixed.
[Galaxy S 4 i9505 Original Android Development] Blackbat007:
Apart from the BT issues I still have problems getting the GPS to work. It can take up to half an hour to get a lock. No problems if I use the GPE rom.
[Galaxy S 4 i9505 Original Android Development] SnoopyDog:
GPS locks very fast for me on the last nightlies
[Galaxy S 4 i9505 Original Android Development] der_Kief:
... new nightlies are stable and working flawless so far.

Only thing that is really annoying is that buggy Bluetooth. For example: issues with my car system - Ford SYNC - it connects and after an undefined time connection is lost and im unable to activate BT on SG4 anymore. Only a restart is solving that issue.

This is a problem for ages now . Also other CM based ROMs has these issues. I had this also with my SGS+ and KitKat a year ago.

Is this a Samsung Only problem? Any why is it so hard to fix these issues after so long time ?
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Never had any problems related to GPS ...
[Galaxy S 4 i9505 Original Android Development] @non4:
Just seen this. My battery is from the faulty batch, and my phones a refurb, guess I know why it was returned... New batt in the mail [emoji106]
[Galaxy S 4 i9505 Original Android Development] der_Kief:
one more note about my Bluetooth issues. If i have a Bluetooth disconnect and dont restart the S4 there is a huge battery drain caused by "Blue Sleep".

Hopefully the BT issues will be resolved sometime soon ;)

BTW: this doesnt seem to be a Samsung only problem. Forums are full of it. For example see HERE
[Galaxy S 4 i9505 Original Android Development] first20801:
custon Kernel?

hi

Just wondering if this ROM will work with a custom Kernal "3.4.106-'alucard-PWR-Core". I am currently using CyanogenMod version 12-20150Optomised-final-jflte
[Galaxy S 4 i9505 Original Android Development] jd1001:
Should be fine. Clean flash ROM and then kernel.
[Galaxy S 4 i9505 Original Android Development] Inksu:
I have also suffered from these issues with my Skoda car BT handsfree since CM 11. While the car BT is most problematic, BT connections to PC also disconnect randomly (one disconnect just happened while writing this). I've also taken logcats since CM 11, and the problem is always the same: two BTU HCI timeouts trigger bte_ssr_cleanup which, if I've understood correctly, ends in null pointer being called:

05-30 18:36:21.875 E/bt-hci ( 2985): Num consecutive HCI Cmd tout =2 Restarting BT process
05-30 18:36:21.875 E/bt-btif ( 2985): bte_ssr_cleanup
05-30 18:36:21.875 F/libc ( 2985): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3079 (bluedroid wake/)
05-30 18:36:21.915 I/DEBUG ( 224): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-30 18:36:21.915 I/DEBUG ( 224): Build fingerprint: 'samsung/jfltexx/jflte:5.0.1/LRX22C/I9505XXUHOB7:user/release-keys'
05-30 18:36:21.915 I/DEBUG ( 224): Revision: '11'
05-30 18:36:21.915 I/DEBUG ( 224): ABI: 'arm'
05-30 18:36:21.925 I/DEBUG ( 224): pid: 2985, tid: 3079, name: bluedroid wake/ >>> com.android.bluetooth <<<
05-30 18:36:21.925 I/DEBUG ( 224): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
05-30 18:36:21.955 I/DEBUG ( 224): r0 b5050de0 r1 00000000 r2 acadc67c r3 acaed378
05-30 18:36:21.955 I/DEBUG ( 224): r4 00000001 r5 acaed330 r6 acac8c9b r7 00000000
05-30 18:36:21.955 I/DEBUG ( 224): r8 acbe6bbc r9 b4b07bb0 sl 00000806 fp acac8ce7
05-30 18:36:21.955 I/DEBUG ( 224): ip b6e0e1a9 sp a1fa3d00 lr aca8864b pc 00000000 cpsr 600e0010
05-30 18:36:21.955 I/DEBUG ( 224):
05-30 18:36:21.955 I/DEBUG ( 224): backtrace:
05-30 18:36:21.955 I/DEBUG ( 224): #00 pc 00000000 <unknown>
05-30 18:36:21.955 I/DEBUG ( 224): #01 pc 000fa649 /system/lib/hw/bluetooth.default.so (vendor_ssrcleanup+12)
05-30 18:36:21.955 I/DEBUG ( 224): #02 pc 0003abfb /system/lib/hw/bluetooth.default.so (bte_ssr_cleanup+38)
05-30 18:36:21.955 I/DEBUG ( 224): #03 pc 000d89dd /system/lib/hw/bluetooth.default.so (btu_hcif_cmd_timeout+388)
05-30 18:36:21.955 I/DEBUG ( 224): #04 pc 000d913d /system/lib/hw/bluetooth.default.so (btu_task+660)
05-30 18:36:21.955 I/DEBUG ( 224): #05 pc 000a3b0d /system/lib/hw/bluetooth.default.so
05-30 18:36:21.955 I/DEBUG ( 224): #06 pc 0001405b /system/lib/libc.so (__pthread_start(void*)+30)
05-30 18:36:21.955 I/DEBUG ( 224): #07 pc 0001208f /system/lib/libc.so (__start_thread+6)

I've examined the source code, and what I've understood is: vendor_ssrcleanup is calling "ssrcleanup" functionality in /vendor/lib/libbt-vendor.so, but this fails. Maybe the files are linked wrong or the libbt-vendor.so doesn't contain ssrcleanup, or something else causes this external function call to point to null. Just guessing. I'm mostly a Java guy, and the way C code addresses memory is a bit beyond me...
[Galaxy S 4 i9505 Original Android Development] der_Kief:
[MENTION=5482863]Inksu[/MENTION]

did you report that at https://jira.cyanogenmod.org ?

Maybe this is a helpful information for the devs ....
[Galaxy S 4 i9505 Original Android Development] sronweb:
hello, generally is recommended to not quote the open post. if you can edit please it will be better for reading. thanks
[Galaxy S 4 i9505 Original Android Development] jd1001:
Are you running the latest modem/radio and bootloader?
[Galaxy S 4 i9505 Original Android Development] O-T:
Gapps linked to in OP is abandoned by TKruzze.

Better choice

http://xdaforums.com/showthread.php?p=60277881
[Galaxy S 4 i9505 Original Android Development] stengr:
Yes, i have tried like all modems/bootloaders. Tried changing routers firmware, channels etc. If i install cm11 working perfect. So its cm12 problem. I have read cm12 have different wifi drivers so i still hope cm team will fix wifi. I think they know the problem. Alucard tried to fix it in latest kernel but still not succesfull
[Galaxy S 4 i9505 Original Android Development] jd1001:
Good for enterprise

Does anyone using this ROM use Good for Enterprise? I can not get it to work properly!
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Google Apps link updated

http://www.slimdevs.com/Gapps/Lollipop/5.1/

thanks to SlimROM guys
[Galaxy S 4 i9505 Original Android Development] Neikosr0x:
is there a way to Flash this on i337m ?
[Galaxy S 4 i9505 Original Android Development] Idebutterpiep:
Google apps

I use gapps-lp-20150417-signed.zip with 5.1.1 CyanogenMod 12.1 Nightlies. Did a dirty flash over cm-12.1-20150413-OPTIMIZED-jflte and don't have any problems yet. Everything works well.

Thank you Antares.
[Galaxy S 4 i9505 Original Android Development] seijisandrei:
[MENTION=5464206]AntaresOne[/MENTION] Is it possible to tweak the stock CM kernel using Device Control app from the play store, since it's not suggested to use custom kernels for bug reporting? Thanks
[Galaxy S 4 i9505 Original Android Development] W99DEY:
Still getting the Bluetooth dropping out..... I will have to test this, but when switching devices I think you have to reboot to clear it.....
[Galaxy S 4 i9505 Original Android Development] seijisandrei:
Noob question:

If I enable rooting, what type of rooting should I choose that is the same with supersu? What is the difference between app and adb root?

Please answer, I really want to know this stuff. Thanks!
[Galaxy S 4 i9505 Original Android Development] smeroni68:
This is not the right place to ask this question... anyway, app is for apk root privileges, adb for root privileges in debug mode... if you are not familiar with adb, you can avoid to enable for it. If you search around, you can find info about this matter. Close OT
[Galaxy S 4 i9505 Original Android Development] Yousvel:
Flash this recovery http://xdaforums.com/showthread.php?p=59819323#post59819323 post #828 and you will be good!
[Galaxy S 4 i9505 Original Android Development] merk*:
12.1 needs a full wipe? I installed before a week CM 12... :)
[Galaxy S 4 i9505 Original Android Development] side:
bootlooping with full wipe and twrp recovery...

(i was on cm12 latest nightly)
[Galaxy S 4 i9505 Original Android Development] Renda16:
hello guys, wonderful rom, I wanted to know if it was possible to obtain the keyboard samsung s6 (or samsung in general). Thanks for any reply .
[Galaxy S 4 i9505 Original Android Development] Yousvel:
Full wipe!
[Galaxy S 4 i9505 Original Android Development] simonbigwave:
0421 nightly, my lockscreen>screenlock>pinlock not activating even after setting it. Just wanna know is just me or anyone else?
[Galaxy S 4 i9505 Original Android Development] popliuc:
Memory leak is still present!?
[Galaxy S 4 i9505 Original Android Development] izmaelzx:
nope
[Galaxy S 4 i9505 Original Android Development] G@laxy:
Hello, i flashed the latest nightly and no problem so far...

I just want to ask why in phone info (app from playstore) i can't see the pda version, csc code and country etc...They are all blank...How can i change this?

Thanks and sorry if i'm offtopic but i don't know where to ask... :)
[Galaxy S 4 i9505 Original Android Development] Inksu:
Would if I could: I've seen lots of similar bug reports being closed as invalid, reason: "we are still in the nightlies, so we are expecting a lot of bugs."

Can't report it as a regression, because I have never seen it work properly in any nightly/stable build.

Can't report it as a "proper bug", because there is no snapshot/milestone/stable build for CM 12.1. Properly no point in reporting as CM 11 bug, because everyone's concentrating on 12/12.1.

So here I am, hoping that some developer has an idea about this... :)
[Galaxy S 4 i9505 Original Android Development] portaleus:
Hi,

I would like to ask you how do you report bugs? I'm not dev but would like to help. Do you use Syslog? How do you get to the right information (what causes crash or FC, etc.) in the logs?

Thanks.
[Galaxy S 4 i9505 Original Android Development] jstath1972:
Read this tutorial and download the CatLog - Logcat Reader app.
[Galaxy S 4 i9505 Original Android Development] sronweb:
anyone having problem of camera disconnection after photos, especially with front camera with last nightly? I'm using snap camera. thanks
[Galaxy S 4 i9505 Original Android Development] Inksu:
I use SysLog by Tortel, because it nicely dumps kernel, last kernel, main, event, modem, and audit logs and compresses them into one zip file. Usually the logs are pretty long, so I have to narrow them down to near the time of the unexpected error.
[Galaxy S 4 i9505 Original Android Development] bay12:
Same problem with the 30/05 nightly and snap camera. Never had this problem before. Had to reboot the phone.

Now installing 31/05 nightly and see if have the same problem.
[Galaxy S 4 i9505 Original Android Development] first20801:
Apologies

Sorry, being a newbie I could'nt find a button to post so just hit the reply on the original post.

Sorry once more.

Alan
[Galaxy S 4 i9505 Original Android Development] bay12:
Even with 31/05 build the problem is still there...
[Galaxy S 4 i9505 Original Android Development] ssuukk:
I've installed this ROM on freshly rooted S4. Full wipe, clean caches etc. ROM runs without a problem.

Then I installed Gapps from here: http://www.slimdevs.com/Gapps/Lollipop/5.1/

Reboot, optimizing apps and then

Google App FC

Configuration Wizard FC

And generally no more access to system.

Tried wiping several times. ROM works, Gapps break it.

What am I doing wrong?
[Galaxy S 4 i9505 Original Android Development] jd1001:
Try a different gapps, I use the zero slim gapps and they work perfectly.
[Galaxy S 4 i9505 Original Android Development] robertogl:
Hi, I've some wakelocks problems. They seem due to com.google.android.gms.photos.iu.EsGoogleIuProvider/com.google/[my Gmail account here]

The problem is that I've unistall the Google photos app, so I don't know why I've this problem... 21 May nightly, and also 31 May nightly...thanks :)

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] sronweb:
Maybe is due to Google Photo function and the app is wake trying to back up your pictures?

---------- Post added at 03:57 PM ---------- Previous post was at 03:55 PM ----------

No problem for me. But it should be still possible to edit your post and delete the quoted part. Just for your info.

---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------

I will try some older versions to see when this problem with camera has started....

Thanks
[Galaxy S 4 i9505 Original Android Development] robertogl:
Like i said, i've unistall Google Photo, so i don't know how this is possible...
[Galaxy S 4 i9505 Original Android Development] ssuukk:
Tried zero apps from the same source a moment ago. Exactly same symptoms - stopped Google Services, FCing AOSP keyboard etc. This is my wifey's phone, so this is serious. I might not get laid until it's fixed, ya know ;)
[Galaxy S 4 i9505 Original Android Development] jd1001:
Ha ha ha sorry I can't help you get laid! That was what I did and since have had no problems. Oh an I'm getting laid daily ha ha ha
[Galaxy S 4 i9505 Original Android Development] sronweb:
Yes, It's still google photo backup. Have you checked on the account settings (Account / Google) enter on your account services and check if Foto is still enabled? Google Photo is also connected with Google+.
[Galaxy S 4 i9505 Original Android Development] robertogl:
Thanks, i will try ;)
[Galaxy S 4 i9505 Original Android Development] Khurramjavaid:
Both :p

BTW, i decided to choose cyanogenmod beacuse it is much better than stock :D
[Galaxy S 4 i9505 Original Android Development] Tozenator:
Hello!

I just upgraded to this ROM from Optimized CM12, to the nightly of the 29th. It's blazing fast and zero bugs so far, I'm loving it!

Just one question. The app drawer is transparent and looks a bit like that of Android M. Is this a CM feature, and if so, about how far back was it implemented? Or is it a launcher thing? A ported feature from the M dev preview? I didn't find an answer anywhere so I thought I'd just ask :)
[Galaxy S 4 i9505 Original Android Development] portaleus:
[MENTION=5240527]Tozenator[/MENTION]

Trebuchet is based on Google Now but transparency is a CM feature. I had it since Kitkat but could not tell you since when it is implemented.

I am using the scrolling list view in the app drawer as I find it very convenient.
[Galaxy S 4 i9505 Original Android Development] Tozenator:
Thank you for the answer! I don't follow new CM features very closely so some come as a total surprise when I upgrade. I love the transparent app drawer, it's very sleek and tidy!
[Galaxy S 4 i9505 Original Android Development] efs12:
Hi,

does anyone else have the problem with a blank screen? Once or twice a day, if I close an app with back or home button, the app stays in foreground. After a few seconds the screen gets black. Only the status bar is visible and can be swiped down, but I'm not able to open another app from the status bar or the settings. It happens with various apps like whatsapp, outlook, gmail... Sometimes the phone comes back itself, but after more than 30 minutes. Sometimes I only have the option to reboot (also fast reboot works). The only button which works, is the power button and I'm able to access the reboot menu.

I switched to 5.1 on 9th of May, first with a dirty flash, but until now I've installed the phone 5 times with completely deleting everything from the phone, including the external sd card. I've not restored any app or setting with TB.
[Galaxy S 4 i9505 Original Android Development] nickmax1:
I have an issue with call volume. When I am on a call no matter what I do with the volume either via buttons or using the toggles the volume doesn't change!
[Galaxy S 4 i9505 Original Android Development] Inksu:
Can somebody point me to good instructions for building CM 12.1.? I know there are tutorials floating around for various devices, but Jfltexx and CM12.1 -specific instructions would be preferred. Maybe some dev could describe their build env?

I did some builds on CM 11 a long time ago by following the instructions on CM wiki, and I was able to build an almost-working ROM (non-bootlooping, but with services crashing left and right...)

I would really like to start debugging this Bluetooth random disconnection problem. (It's been 10 years since my last C-coding, need to brush up a bit :) )
[Galaxy S 4 i9505 Original Android Development] wfecng:
the Photo sphere of Google camera never works correctly-- it only get half sphere instead of full sphere. I thought it's app error before. yesterday I got this problem again, and I think It should have relation with compass. photo sphere got confused with the compass.

any one have a working photo sphere? or all have this issue?
[Galaxy S 4 i9505 Original Android Development] Heathered:
Is on latest Nightly solved problem with camera from 30. and 31. 5. build?
[Galaxy S 4 i9505 Original Android Development] v00d007:
No, and I personally wouldn't expect a fix very soon. The camera has ever been the buggiest app of cm cause Samsung doesn't publish the cam module drivers.
[Galaxy S 4 i9505 Original Android Development] brunodu91:
Hello

External SD photos recording is now possible since 0602 nightly! I'm so happy
[Galaxy S 4 i9505 Original Android Development] laolaxyz:
Yes - I do. But I have got a blank screen always after a fast reboot