[Q] Compass - Verizon Samsung Galaxy S 4

I'm wondering if anyone has found a solution for this compass calibration problem. If I orient my phone basically north/south the compass seems to be relative accurate. Otherwise it quickly gets off 180 degrees. I've seen this on KK & LP, multiple ROMS and multiple kernels. I'm suspecting it's a hardware issue but would love to hear from others.

What ROM are you using? This issue persisted in many ROMs for some time, especially CM and CM based ROMS, but has been fixed for 5-6 weeks now.

FernBch said:
What ROM are you using? This issue persisted in many ROMs for some time, especially CM and CM based ROMS, but has been fixed for 5-6 weeks now.
Click to expand...
Click to collapse
Stock TW ROMs. I noticed it on KitKat & it persists with Lollipop. It's strange that when my phone is oriented roughly N/S all is well but it goes wonky otherwise.
Sent from my SCH-I545 using XDA Premium HD app

Don't know about KK and otger ROMs, especially older ones but the latest LP CyanogenMod ROMs have been flawless for me.

Solved...
...for me at least.
A big thanks to @slopenut1 for pointing out the compass problem it due to the kernel. I flashed surge's stock kernel and the compass seems just fine. It seems there is a subtle hardware difference which trip up the kernels coming from other devices. The compass now may not be quite as good as the real thing but no more flipping around.

Try a different kernel. Fixed on 4.4.4 GPE with the ktoonsez kernel. Now on GPE 5.0.2 it's back.

Related

[Q] Comparison of AOSP ROMs for MDK phones

I'm trying to figure out what the most stable and functional ROM is for my MDK VZW S4. I've tried to research this several times but I find that I have to essentially read through every thread for every ROM, and even then there are things that are left out. My previous phone was a Galaxy Nexus, so I was probably spoiled by the wealth of information about the various ROMs, but there's no reason we can't have a thread like this.
History of my ROM usage with my S4
I started out with Hyperdrive ROMs but later decided I just couldn't deal with TW no matter how much work the Hyperdrive guys did try to clean it up (kudos to them for the best ROM for people stuck with a locked bootloader though!).
Next up I went to Gummy ROM to try out 4.4, which honestly hasn't really impressed me. My GPS never works right, seemingly related to the compass problem? Not sure here, but this is a major deal breaker for me.
Problems I've had and seen mentioned in multiple threads; are these fixed in ANY ROM???
The above mentioned compass problems. I've read about factory calibration issues, I'm going to try a few of those fixes, but I also see a LOT of people saying this is a driver issue? Which is it?
HDR camera doesn't work, attempting to use it just makes solid black pics.
Bluetooth audio playback problems. I've heard this mentioned many times, but haven't had a chance to test myself. This only becomes a big deal for me in the summer when I'm using this feature to stream music to the stereo on my boat.
Thanks!
Dan

[Q] Can anyone recommend me a "stable" rom?

coming from 4.3, I've been going from rom to rom this week in search of a truly stable kitkat TW rom. I won't lie the roms were great in every way but each of them had a major flaw that caused me to switch (constant crashing, gps not working, wifi not working). I've tried dn3, r3ds, trents, and possibly more I don't even remember. yes I've tried agni. And trust me each time I did extensive thread-searching to troubleshoot my issues to no avail which is why I'm getting frustrated. I'm not asking for much. I just want a rom with a working gps, working wifi, and stability. And by stability I mean not just labeled "stable" but doesn't reboot five times a day and won't shut down in the middle of the night to fail to wake me in the morning. I also need s note 3. I don't even care about anything else, seriously. Has anyone had luck finding a rom with the aforementioned criteria? Thanks.
edit: never mind, finally found one.
R3d its the best.

[Q] Compass East/West Flipped in all 5.0 Lollipop Roms

I have been trying a variety of Android 5.0 Roms on my Verizon Galaxy S4. While most of them work pretty well, there is one thing that is consistent across all the 5.0 roms on my device: the compass' orientation is completely off. When held in portrait mode, the compass points east when facing west and west when facing east. If the phone is rotated into landscape mode, then north and south are flipped instead. The problem seems to be the X-axis of the magnetic sensor. I have tried calibrating the compass in variety of different ways with a variety of different apps. I also tried both the GoogyMax kernel and the Alucard kernel with the same results compass-wise.
While this would appear to be a hardware issue, the compass works perfectly in Kitkat and older roms. I even tried flashing an old Kitkat rom after trying some Lollipop roms and, sure enough, the compass was working properly as soon as the Kitkat rom booted.
Is there any way to mod the system to inverse the number normally reported for the X-axis of the magnetometer? Otherwise, is there some other way to fix this flipped compass issue?I have searched high and low, but can't find anything of use.
Same issue here, but I have sprint sgs4.
MehStrongBadMeh said:
I have been trying a variety of Android 5.0 Roms on my Verizon Galaxy S4. While most of them work pretty well, there is one thing that is consistent across all the 5.0 roms on my device: the compass' orientation is completely off. When held in portrait mode, the compass points east when facing west and west when facing east. If the phone is rotated into landscape mode, then north and south are flipped instead. The problem seems to be the X-axis of the magnetic sensor. I have tried calibrating the compass in variety of different ways with a variety of different apps. I also tried both the GoogyMax kernel and the Alucard kernel with the same results compass-wise.
While this would appear to be a hardware issue, the compass works perfectly in Kitkat and older roms. I even tried flashing an old Kitkat rom after trying some Lollipop roms and, sure enough, the compass was working properly as soon as the Kitkat rom booted.
Is there any way to mod the system to inverse the number normally reported for the X-axis of the magnetometer? Otherwise, is there some other way to fix this flipped compass issue?I have searched high and low, but can't find anything of use.
Click to expand...
Click to collapse
Currently I'm still running the KitKat GPE ROM and my compass is also flipped, I know the fix was to flash a Ktoonz kernel and it would fix the issue for that. However I don't think they've fixed it as yet for 5.0 ROMs.
It's the Kernels.
It's not due to the ROMS or hardware.
The backwards compass is due to the Kernel installed with the ROM or that you may have downloaded and applied. Kernels now are compiled as Unified kernels which work across all carriers. They are simpler for the Devs to manage without having to compile their kernels for each carrier. That messes up our compass though.
KT-Kernel's fixed our issue when they were compiled carrier specific.
Unfortunately for us KT has gone Unified like the other international Kernels and the international base and compass drivers are from the other side of the world, which cause ours to go backwards on East/West.
I have been looking through KT kernels on the Github and trying to make sense of the drivers and compile configs trying to figure out if a dev could ever come up with a patch.
But I am still new to it all when poking through the KT's source files.
I have oneplusone and it shows the same symptom. Installed magneticsensor app and found out that Bz is inverted. Bz is the direction orthogonal to screen such that it is the most important in navigation ! I would like to see the kernel source for the sensor but haven't set it up yet. If you are/know kernel dev, a help would be appreciated.
pastime1971 said:
I have oneplusone and it shows the same symptom. Installed magneticsensor app and found out that Bz is inverted. Bz is the direction orthogonal to screen such that it is the most important in navigation ! I would like to see the kernel source for the sensor but haven't set it up yet. If you are/know kernel dev, a help would be appreciated.
Click to expand...
Click to collapse
You are not going to to find much help for the Oneplus One here. It was definitely a kernel issue though, as for the Verizon Galaxy S4 it was fixed thanks to updates to the Hulk and Alucard kernels that compensate for the flip.
MehStrongBadMeh said:
You are not going to to find much help for the Oneplus One here. It was definitely a kernel issue though, as for the Verizon Galaxy S4 it was fixed thanks to updates to the Hulk and Alucard kernels that compensate for the flip.
Click to expand...
Click to collapse
Actually, I was able to fix it via /system/etc/sensor_def_qcomdev.conf and deleting /data/misc/sensor/sns.reg without touching kernel or hw-lib
see http://forum.xda-developers.com/one...tic-sensor-t3176956/post62301573#post62301573
Theoretically, we're due for a magnetic pole shift. Every 23,000 years our planet pole shifts. I know, sounds crazy doesn't it?

Modem BlueScreen crashes

Attached is a picture of what the BSOD looks like. Also attached is a last_kmsg that caught "a" crash. The last_kmsg for this crash appears to not have any info for the crash.
Has anyone found a fix for this?
Alias8818 said:
Attached is a picture of what the BSOD looks like. Also attached is a last_kmsg that caught "a" crash. The last_kmsg for this crash appears to not have any info for the crash.
Has anyone found a fix for this?
Click to expand...
Click to collapse
I'm pretty sure anyone who can help is going to ask about your ROM and any other setup details you think are relevant.
Sent from my LGLS990 using XDA Free mobile app
MikeDroid said:
I'm pretty sure anyone who can help is going to ask about your ROM and any other setup details you think are relevant.
Sent from my LGLS990 using XDA Free mobile app
Click to expand...
Click to collapse
This has happened on 3 different ROMs. CM12, Blisspop, and Illusion. This has happened on the stock kernel and RIN Kernel 1.65.
Kernel crash, thats what that is it usally happens when the is a kernel based error I recommed staying away from any 4.4.4 roms for now I have had the same problem with thoughs for now the only rom that I don't get that on is this one from clark44:http://forum.xda-developers.com/sprint-lg-g3/orig-development/cyanogenmod-12-beta-ls990-t2958197 I recommed you find a rom you like and that works and DO NOT modify/change the kernel. This could also be of you over clocked way to high. So each just reboot and find a rom that dosen't do this and just stick with it without changing kernels.
I believe I will revert back to a Kitkat ROM, sadly, until it's figured out. I haven't played with any kernel settings or OC'd.
Blue Screen
Sadly, I have also been getting these demigod modem crashes with pretty much any 4.44 rom - carbon, liquidsmooth, vanir, my own cm11 build, etc.
Seems to happen every couple days at least - which I can't have with needing alarms, missed calls, etc.
It's a shame as these roms run really well, much better than stock. For the moment I am running barrin rom (stock based) and have no issues - I haven't had any issues with any stock based rom.
Hopefully some of the devs can at least let us know what they are experiencing, and what this means.
mo1991 said:
Sadly, I have also been getting these demigod modem crashes with pretty much any 4.44 rom - carbon, liquidsmooth, vanir, my own cm11 build, etc.
Seems to happen every couple days at least - which I can't have with needing alarms, missed calls, etc.
It's a shame as these roms run really well, much better than stock. For the moment I am running barrin rom (stock based) and have no issues - I haven't had any issues with any stock based rom.
Hopefully some of the devs can at least let us know what they are experiencing, and what this means.
Click to expand...
Click to collapse
Have not experienced this at all but looked at the kmsg in the first post and it indeed seems like a kernel crash based around the soc. It's a modem crash but these phones have different system on chips, not all ls990s are created equal. The same stuff happened with rin when I first built it, green watchdog kernel crash for roughly 3-5% of users. The voltage spectrum was widened to include these other socs and voila, no more green screen for anyone.
I can't promise a fix, I'm overloaded currently - but if I find anything to help you guys, I won't keep it a secret.
News on BSOD
No News here regarding this huh? Too bad as there are a lot of good roms out there and none of them working without BSOD on what appears to be "only some" of the LS990's - sadly mine is one of those.
If any of the Dev's that are more knowledgeable then me want me to do any testing or try to pull some of the files from my phone let me know. Stock based roms work fine. CM11 and AOSP based roms all get the blue screen modem crash - SOC.
mo1991 said:
No News here regarding this huh? Too bad as there are a lot of good roms out there and none of them working without BSOD on what appears to be "only some" of the LS990's - sadly mine is one of those.
If any of the Dev's that are more knowledgeable then me want me to do any testing or try to pull some of the files from my phone let me know. Stock based roms work fine. CM11 and AOSP based roms all get the blue screen modem crash - SOC.
Click to expand...
Click to collapse
I have a T-Mobile sim with an at&t device d850 and I only get the blue screen when using LTE. If I turn off LTE then no problems. Hbu
Sent from my LG-D850 using XDA Free mobile app
Test
4NDROID4LIFE said:
I have a T-Mobile sim with an at&t device d850 and I only get the blue screen when using LTE. If I turn off LTE then no problems. Hbu
Sent from my LG-D850 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the info. I will give this a test one of these days and see if turning off LTE makes a difference. I don't think I could deal with that as a long term solution as I need fast mobile data, but it would be good to know that the issue is caused by LTE to narrow down potential fixes for the devs.
Fix
Anyone know if the new version of modem helps things?
Or any other fix?
cm12 crash
Just for information, I have also received this modem crash blue screen on the latest cm12 build from 3/1.
Hopefully we will have some idea why this is happening before too long. If anyone has any ideas please let me know. Happy to test.

Best MDK Rom out there at present?

Hey guys, I've been fresh on a stock and unrooted build over the past several months (no headaches anymore!) and recently, an acquaintance of mine was willing to give me his Galaxy S4 which to my delight was still on MDK. I've been out of the scene and flashing in general for the past five months, and I know that there's this Lollipop business right now, but what is the best ROM for the MDK S4 at this point?
I've heard that Cyanogenmod 12.1 and lollipop builds in general are having a host of problems with bluetooth, the GPS (which I actually very much need), and battery drain. What is an acceptable ROM in your guys' honest opinion that can be used as a very solid daily driver (hopefully on Lollipop, willing to use KK though) that has GPS and bluetooth?
Thanks in advance!
Another CM12.1 tidbit. If your new to you MDK S4 is the Verizon variant, the compass is borked, too. If it's any other carrier users say it works.
FernBch said:
Another CM12.1 tidbit. If your new to you MDK S4 is the Verizon variant, the compass is borked, too. If it's any other carrier users say it works.
Click to expand...
Click to collapse
This, however navigation still works for directions I know what direction I am looking at and moving in most of the time.
Hyperdrive is also a fan favorite but is currently on KK. I was using Dan's GPE lollipop ROM but switched back because I couldn't get Netflix to run over mobile data. If that doesn't bother you, I recommend that to you.
Otakulad said:
Hyperdrive is also a fan favorite but is currently on KK. I was using Dan's GPE lollipop ROM but switched back because I couldn't get Netflix to run over mobile data. If that doesn't bother you, I recommend that to you.
Click to expand...
Click to collapse
HD is great! Currently my DD until a lollipop version of Touchwiz for JFLTEVZW is released.
Sent from my SCH-I545 using XDA Free mobile app
http://forum.xda-developers.com/showthread.php?t=2385271&page=226
Rock Solid Super Fast my GPS works fine and Bluetooth with my Jaybird X's is fine !
Illogi.xbone said:
This, however navigation still works for directions I know what direction I am looking at and moving in most of the time.
Click to expand...
Click to collapse
That is because orientation is determined by GPS when moving, not by the compass.
It is now a moot point as invisiblek fixed the compass in CM 11, 12.0, & 12.1 two days ago.
So nice to see the compass and all third party apps that rely on it work properly again.
ROM on android 5.x, verizon?
Ryukouki said:
I've heard that Cyanogenmod 12.1 and lollipop builds in general are having a host of problems with bluetooth, the GPS (which I actually very much need), and battery drain. What is an acceptable ROM in your guys' honest opinion that can be used as a very solid daily driver (hopefully on Lollipop, willing to use KK though) that has GPS and bluetooth?
Click to expand...
Click to collapse
Which lollipop roms are fully working with no major connectivity issues now? Was thinking of trying cyanogen 12.1, but noticed its not officially released. Is this stable enough to use everyday? If not, are there other 5.x roms I should consider?

Categories

Resources