[Poll] GPS problems in connection with LagFix - Galaxy S I9000 Android Development

At a glance: I have the impression, that current lag fixes are affecting the GPS performance of our loved toy. Let me explain why.
My GPS-History:
quite poor performance on original XXJF3
upgraded to JG1 and was quite happy with it. Far from perfect but usable
then I applied the Ryanzas lag fix and there the problem started. Loss of sat locks all the time and problem to lock to many sats. I did not think, that this might have something to do with the lag fix. It wouldn't make any sense for me.
upgraded lately to new JPC firmware and gps was quite okay. Not only fast fixes but also good accuracy (but far from perfect).
Now I applied again the lag fix and again had the gps problems mentioned above.
So now the question arises if that's just coincidence or could there be any connection.
What can we do about it?
First we have to make sure that this connection actually exists. Please, everyone who experience these problems check if you installed a lag fix. Try to figure out, what the problems are. Loosing locks, inability to create locks? How many sattelites can you connect to? Track your daily route and check accuracy. Now uninstall/disable your lag fix and do the same checks. Please reply what your outcome was.
What if?
Okay, assuming the lag fix is affecting the gps. How could that be? Of course, I can only guess. First of all, it sounds quite strange, that changes on the file system would affect the gps - but... Maybe the gps kernel driver is blocked somehow by the ext2 kernel module? We can test this by applying the first available lag fix (Krycek) where /data is moved to the nand storage. Search for "Galaxy-S Stalling Issue" to find the thread. It doesn't use an ext2 file system, therefore we can check, if it has anything to do with it.
So everybody please check out if this could be the source of our problems.
UPDATE:
Okay, after 34 votes (7/11/6/10) it seems to get clear, that there is no connection between a lag fix and the gps problems in general. This hypothesis has a statistical probability of 93 percent, which kind of proves it. What is actually interesting is that more than 60% of the voters were using lag fixes. Congrats RyanZa! The sad thing is, that about half of the voters have problems with their gps. Hopefully Samsung does something about it soon that finally fix it.

The lagfixes move some files around, they can't affect your gps.

No GPS problems, no lag fix
(accuracy not perfect but close to my real life location and that is good enough for me)
stock JH2
no lag switching between programs, always have GPS CoPilot8 running, Samsung IM, Samsung Social Hub, Fring, 5 account Emails sync, 3 calendar sync, weather sync, 5 contact sync, music player over bluetooth
all running at the same time

RyanZA said:
The lagfixes move some files around, they can't affect your gps.
Click to expand...
Click to collapse
You're right man. It doesn't seem to be logical, I know that. I am dealing for about ten years with linux systems and my claim seems to be plain nonsense. However, the fact is that I (for me) can tell a difference. The only reason I can think of is an interference between the ext2 and the gps kernel drivers. Maybe the process priority of the gps driver is much lower than the fs driver so that the ext2 comes always first and "steals" cpu time.

weird that you mention that...
I was using the gps with success, no problems in acquiring sats signal nor navigating. I have JM2 with samset 1.8 with it's own lagfix.
I even kept the phone in an awkward place, behind my honda's handbrake, far from the front shield's air space.
Then last weekend I applied OCLF directly from the market. Everything went so fine, didnt have to remove the battery after the /data move. And it became a lot faster.
Two days ago I had to use the GPS and it didnt see sats for almost 30 mins. No fix *at all*. I gave up trying to use it had to stop to ask for directions.
I never connected the dots until I saw your thread.

Not really sure there are any dots to connect, guibao. It's a known fact that the GPS lives a life of it's own, and that it often works best right after a factory reset or a firmware flash. I must agree with RyanZA on this one.

BronzedDroid said:
Not really sure there are any dots to connect, guibao. It's a known fact that the GPS lives a life of it's own, and that it often works best right after a factory reset or a firmware flash. I must agree with RyanZA on this one.
Click to expand...
Click to collapse
I totally agree with you, there should be no relation between gps and lagfix.
But again it went bad after the lagfix. I installed more stuff but nothing related to GPS functions.
Will do some more testing tonite and report later.

The GPS worked fine tonight, but I left it warming a long while before hitting the streets.

Hi I also face this problem before, but able to solve it by recalibrated my compass, just key in *#0*# then click on sensor, hold your phone up site down do a few 8 turns and you must get a reading of 3 on the compass.

Now that you mention this... I know it seems almost irrational to say an ext2/3/4 partition affects GPS performance, but I was "OK" (that's a big word... ) with it on JM1. Then I downloaded OCLF from the Market and everytime my navigator drops the signal or gets stuck on navigation availability query. Bah! I may just guess it has to download the maps somewhere and it fails just like a Market download does sometimes (but I don't know if it's related to my ext partition). Maybe I should just unlagfix my SGS and see what happens.

XWJM7 + RyanZa OCLF
Click to view --> My Track result On Google Maps
one of my best GPS Test result (Outdoor, driving at 45MPH)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
one of my best GPS Test result (Outdoor, station)

That looks awesome! Would be cool if every user had this accuracy. Btw, how do you generate screenshots on eclair (2.1) without using adb?

outside lock, lagfixed 2.2 JPC
sometimes i do get a 8 or 9 grey bars that just wont lock on, but a reset of the phone clears that up. bit annoying all the same.
one thing that the graph isn't showing is satellite locks don't seem to last very long, but luckily there are enough of them that the connecting is continuous.

rainman110 said:
That looks awesome! Would be cool if every user had this accuracy. Btw, how do you generate screenshots on eclair (2.1) without using adb?
Click to expand...
Click to collapse
download shootme
you need to be rooted

I have applied the Epic 4G GPS fix and anywhere outside my phone just refuses to get a decent lock. Every so often It will get a good reception but after moving it disconnects. Although with the new JPC firmware I had flashed the GPS was spot on. Connected instantly and no problems whatsoever with it stuttering or anything.

This is just a theory but there's a strong likelihood that people also update maps after flash and there lies the answer.you must restart phone after running maps for the first time or it will almost never get a lock.also network should be unchecked and rely only on agps.sometimes with network enabled the app can not even start the real gps.

Related

[Q] GPS Doesn't Lock well

Dear All,
I've been very frustrated with the GPS Module of the DHD. Most of the time it takes about 10 Minutes in open space to get a lock and when it does its not very accurate (30 meters) It also seems very unstable. Sometimes when I get a good lock of 10 Meters it will only last for a few seconds and move up again to 30+. I tested my friends HTC Hero and it gets a more stable stronger lock much faster in the same position. Indoors, even close to the window it won't lock at all where the Hero will lock in less than 10 seconds with 8 Satelites. I already tried all kinds of tools (GPS-tool etc.) AGPS and it won't help much. Like I mentioned, I will get a lock eventually but it is very unstable
I don't know how much of this failure is Radio depdendent and how much of it can be fixed by software in the long run. I'd like to hear your experiences and your comparison with other devices.
IMO it is unacceptable to receive such low quality GPS hardware in a device that is supposed to be top of the line.
I'd love to hear some suggestions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Took me 30s to get a lock in this spot...
Sent from my Desire HD using XDA App
If you don't have the latest Radio, try updating to it, to see if that helps. If it doesn't yours is faulty, get it exchanged or repaired. You shouldn't have to accept a substandard handset.
Okay...
Could you please tell me what your accuracy in meters is and how many satelites you get and how long it took ?
GPS is usually between 3-10 metres and locks within 20 seconds.
exxi said:
Dear All,
I've been very frustrated with the GPS Module of the DHD. Most of the time it takes about 10 Minutes in open space to get a lock and when it does its not very accurate (30 meters) It also seems very unstable. Sometimes when I get a good lock of 10 Meters it will only last for a few seconds and move up again to 30+. I tested my friends HTC Hero and it gets a more stable stronger lock much faster in the same position. Indoors, even close to the window it won't lock at all where the Hero will lock in less than 10 seconds with 8 Satelites. I already tried all kinds of tools (GPS-tool etc.) AGPS and it won't help much. Like I mentioned, I will get a lock eventually but it is very unstable
I don't know how much of this failure is Radio depdendent and how much of it can be fixed by software in the long run. I'd like to hear your experiences and your comparison with other devices.
IMO it is unacceptable to receive such low quality GPS hardware in a device that is supposed to be top of the line.
I'd love to hear some suggestions.
Click to expand...
Click to collapse
Where do you live?
Often the problem is that the gps.conf is set to look for a time zone, far away from where you live
I own both HD2 and DHD. After rooting the HD2 and fiddling with it, I found that editing /system/etc/gps.conf might improve things a lot!!!
Have a look here!!!!. The GPS part of the post is the relevant one.
Today I was fiddling with both phones, and was struck that the HD2 is outperforming DHD by far.
In the HD2 the server is set Bulgaria, and in my DHD the server is set to north America (obviously too far form where I am). I think that makes the difference. I will find a way to to root DHD. (Had issues with z4root,any suggestions for permanent or temporary root welcome, new to the phone)
You might want to try this method.
Be warned that rooting a phone voids any warranty
Please, report if this helps.
if your rooted an eng s-off could upgrade radio, but also try these gps config from this thread first
http://forum.xda-developers.com/showthread.php?t=869075
if you scroll down abit in first post you will find the part about the gps config fix.
@deckoff use VisionaryR14 to root desire HD but thats only if you have older firmware but newer firmware 1.72.405.2 needs to be downgraded first.
Sorry for the off-topic nature of some of these questions:
1. Can I edit /system/etc/gps.conf with temp root only???
2. downgrade the firmware is not equal to reset to factory defaults, is it so??? I read the threat discussing the topic... and it seems going back to firmware defaults is not enough... am I right???
3. Why would HTC ship millions of phones with gps server set no north america to other parts of the world... ( would LOVE to know the answer to that one!!!!)
Thank you
In conclusion , it seems if I want to have good working GPS I would have to
- back up my settings
- downgrade firmware
- restore settings
- root
- edit gps.conf
...
How do you find the info on the number of satellites and the accuracy ? I can't find it anywhere.
The problem for me is that the software is giving me :"searching for satellites" and the GPS icon is blinking.... this means that there is no GPS fix, and this goes for a long time...
MisterBuggie said:
How do you find the info on the number of satellites and the accuracy ? I can't find it anywhere.
Click to expand...
Click to collapse
Try an app such as GPS Status from the market.
Thanks. Thought maybe it was info directly from the navigation app, but I'll try that app instead.
Sent from my Desire HD using XDA App
I can confirm that GPS status works the way described. Just tried it on my DHD. On the other hand, editing /system/etc/gps.conf and setting the correct continent settings!!! does the same trick, without additional software... Tried it on Hd2 with desire ROM.
PS would someone be so kind to tell me if one is able to edit. /system/etc/gps.conf with temp root only???
PPS why, HTC why would you set north America as location to a rom intended for sale in Romania Bulgaria Russia and our neighbors??? Seriously, I am gonna ask this question to HTC and post any answer given...
Sent from my Desire HD using XDA App
Is there anyone who has Gps fix problems and has NOT applied the OTA update? It seems to me gps used to work better!?
Sent from my Desire HD using XDA App
I've used the software in the post called Gps quick fix and what it does it sets the gps.conf to the right server in my case europe. No need for playing around with it manually. it does exactly what it needs to do.
My result is that I get a clear fix within 20 seconds another problem that I was facing is that I am using the Otterbox casing which is very sturdy and covers the GPS antenna where the LED's are. Now when I take the casing off it seems to get a fix much quicker.HTC should have thought more about placement of the GPS antenna to prevent such issue but okay. I suppose now everytime I want to use GPS I have to take off the cover :/
Thank you for all the useful help and posts here!!
exxi said:
I've used the software in the post called Gps quick fix and what it does it sets the gps.conf to the right server in my case europe. No need for playing around with it manually. it does exactly what it needs to do.
My result is that I get a clear fix within 20 seconds another problem that I was facing is that I am using the Otterbox casing which is very sturdy and covers the GPS antenna where the LED's are. Now when I take the casing off it seems to get a fix much quicker.HTC should have thought more about placement of the GPS antenna to prevent such issue but okay. I suppose now everytime I want to use GPS I have to take off the cover :/
Thank you for all the useful help and posts here!!
Click to expand...
Click to collapse
I have the same Otterbox case and I can see no such problems with lower fix times. Putting a case on your phone will affect any radio signal, irrespective of where the antenna is.
[Q] regarding GPS.
I am not getting any LOCK on my GPS signal, it just kept blinking. anyone experienced this issue? i am using stock desire hd rom. no port whatsoever.
Excuse the long winded post here but I'm having some GPS issues too.
On my way home from work today I decided to use My Tracks app to see how long it would take me to walk home a different route. After starting the app it showed my location as accurate to only 1200m and said I was on a street called Flourmill Lane. The street name is irrelevant but you'll see why I've mentioned it soon*. I thought it might just take a few minutes to settle so set My Tracks to record my journey, put the phone in my pocket and went on my way. When I got home and checked My Tracks and it had recorded the time taken but not distance, speed or any of the route info. GPS and 3G/H were both on the whole time and I do have GPS Status app and A-GPS data installed. So, once I got home I decided to try a few basic tests with using Google Maps next to a window (it's too cold out!)...
3G/H + GPS - accurate to 1200m*
WiFI + GPS - accurate to 40m
GPS only - accurate to 1200m*
3G/H only - accurate to 1200m*
GPS Status app showed a fix on 8/8 available satellites.
Compared to outside work earlier before I started walking home:
3G/H + GPS - accurate to 1200m*
GPS only - accurate to 1200m*
WiFi unavailable as I was outside
*Doesn't matter if I'm at home or work, when it says accurate to 1200m it always shows my location as Flourmill Mill road, which is a street roughly equal distance from work and home but not actually on my route.
My only conclusion from this is that I'm only getting accurate location data from wifi, not 3G or GPS. This would explain why My Tracks only recorded the time it took me to walk home and not the other stuff, but I'm clueless why it always thinks I'm at Flourmill Lane unless wifi is on! What's most annoying is I only ever use Google Maps and My Tracks at times when no wifi is available and 3G might be weak or unavailable.
I've just tried reinstalling Google Maps, downloading latest A-GPS data, manually editing /system/etc/gps.conf for Europe but the problem persists! I think I'm going to rest my fingers from typing for a while and then try a different radio.
Does anyone have any other ideas? Really don't want to return the phone for repair / exchange so if I can fix it myself I'll try anything!
Cheers
EDIT: Going back to previous radio didn't help
EDIT 2: Just did nandroid restore from a few days ago, downloaded new A-GPS, edited gps.conf, left the phone next to window for 10 minutes with GPS on, made a cup of tea, checked the phone and it seems to get a fix within a few seconds. Google Maps is more accurate now too
Sorry for reviving this thread, but I have had the same problems but no software fixes have changed anything.
So, I thought I share my story on fixing it.
First off, making sure you have just bad signal strength and not a pure fix problem, use "GPS Test" and look at the signal strength. Many of the satellites should have at least 30-40 in signal, if they are just barely approaching 25 or even worse, you most certainly have a antenna problem.
To verify this, place a finger on the small plastic cover where the camera flash resides, and slightly push it inwards. If the signal goes up, as mine did, you have located the problem and it's the gps antenna.
Now it's your decision what route you want to take, I chose to possibly void the warranty by popping it open, you should consider sending it to a HTC service center and getting the antenna cover replaced. My solution was to clean up the goldpainted contacts on the cover and raising the spring contacts from the motherboard up to get a good contact to the antenna.
A video on how to disassemble it is availible at youtube (interesting part at 1:45) youtube.com/watch?v=JfatoeWbMRk
My phone and some notes: flickr.com/photos/[email protected]/5671817895

GPS Performance

Hi guys,
My GPS was working ok on this phone a couple of days ago. As in, it was definately better than my old phone (samsung galaxy s) which had notoriously bad GPS, but still took longer than my dad's galaxy tab 7.7 to get a lock on the GPS.
However, today my GPS suddenly stopped working, it doesn't lock at all even after a few minutes. I tried rebooting the phone many times already, but to no avail. Downloaded gps status from the play store. The phone sees the satallites, but just doesn't connect to them.
Anybody with this issue as well? Or even better, any solutions?
Thanks.
We'll fix that
Download GPS test from Playstore Google thing,
start the prg
hit the menu (bottom middle)
settings
clear agps ( Button top left)
the prgs confirms
update agps ( Button top right)
the prgs confirms
of course for this you need net access
now u should be fine
start the gps test and see how many birds you get.
keep us informed
cheers
131313 said:
Download GPS test from Playstore Google thing,
start the prg
hit the menu (bottom middle)
settings
clear agps ( Button top left)
the prgs confirms
update agps ( Button top right)
the prgs confirms
of course for this you need net access
now u should be fine
start the gps test and see how many birds you get.
keep us informed
cheers
Click to expand...
Click to collapse
I got 6. Good or bad?
w1nter456 said:
I got 6. Good or bad?
Click to expand...
Click to collapse
Its ok depending on your zone.
I usually cruise around with 6-8. It would suck if you just had around 2 or something like that.
Thanks for your reply.
Followed what you said. The thing is, it sees the birds, but is unable to connect to them, ie. get a fix. Any ideas? Or is my gps hardware buggy. It was working fine yesterday
I see 13 birds btw
My experience with the GPS is quite different. I have no problem getting a fix. When I drive, it works OK but once I stop moving, I will lose heading and the screen starts spinning.
This is what I get from gps test.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is with a clear view of the sky, after a few minutes. Is my hardware buggy? Itwas working fine a few days ago
I think it has to do with the tegra chipset.
Isn't the gps included in the SoC? The reason why I assume is the tegra chipset is because I was getting a similar behavior when I had my G2x which coincidentally had a tegra SoC.
It would work when it wanted to work. It didn't work all the time though, it was a hit and miss.
So when I got my Sensation I was super happy with the GPS since it connects everytime when I need it and has been consistent. The Sensation on the other hand uses Qualcomm's SoC.
I think if I do get a new phone anytime soon it will be the One X with Krait processor or One S.
Sent from my HTC Sensation 4G with Beats Audio using XDA App
scpion said:
My experience with the GPS is quite different. I have no problem getting a fix. When I drive, it works OK but once I stop moving, I will lose heading and the screen starts spinning.
Click to expand...
Click to collapse
Luckily i have 0 issues on my phone.. Try calibrating the compass? Download compass app.
Me too thought it might be the compass that's acting up. any specific compass app I should try? Tried a few.. some worked, some dun.. I am surprised HTC didnt include the their signature compass app in the One X.
I have got the same problem.
My One X is running 1.29.401.7 and is unrooted and unbranded.
According to GPSTest, I have 11 satellites in view, but none in use. In settings/location, all options are ticked. I have used GPSTest to clear and update AGPS.
Any ideas?
---------- Post added at 10:04 AM ---------- Previous post was at 09:49 AM ----------
I have just spoken to HTC, and they say the issue will be corrected in the 1.29.401.11 update which be available in the UK in a few days.
Wow.
I am not sure why some HOX phones have bad GPS. I am super impressed with mine, specially as I do a bit of Geocaching. Sitting on my lounge downstairs, in my two story house, with the blinds closed ( and I have a large tree covered hill to the north ) I get a good lock on at least six satellites in less then 30 seconds. I have owned two previous HTC phones as well as a Garmin GPS and a TomTom navigator, and none of these lock on as quick as this phoen does.
This is when using the app GPS status.
Mine was fine, good lock indoors etc. Now it's gone mental, jumping around all over the place. Tried all the clear data etc, fubar.
GPS practically useless on my HOX. It cannot get a lock indoors on even a single bird.
When using apps like Run Keeper or Endomondo to record a track, the track for a straight line 1 mile walk records as huge zig zag 6 miles long and estimates my speed as walking at 38 mph.
I've done all the GPS Status stuff with no positive results.
My Galaxy Nexus, side by side with the HOX, locks within seconds even indoors, and records a beautiful straight track.
Very disappointing.
Sent from my HTC One X using Tapatalk 2
get the agps fix... it is amazing. in open field i get a fix in 2sec. (!) with 10-12 sats. accuracy is 1-3m. best gps i ever had.
Agps fix?
Sent from my HTC One X using Tapatalk 2
I returned my second HOX a week ago because of unusable GPS (First was yellow spots) - New one arrived today (T-mobile out of stock because of so many returns!).
Both the returned and the new one are HT24, both were running 1.28 - yet the one I returned would randomly bounce between a different 3-5 satellites, which meant the heading randomly reversed and location wandered, making Google Nav unusable due to constant re-routes.
The new one worked perfectly with Google Navigation when I went out earlier, though it still seemed to randomly choose which group of 4-5 satellites it locked onto.
My direct comparison suggests that it's a hardware problem, or at the very least a random software conflict.
I just hope its not a design flaw of the Tegra 3 hardware that will reappear and require some stupid external dongle like the Transformer Prime!
I just tested the GPS for navigation today,
It connected INSTANTLY - I mean instantly, 0secs-
Navigation was correct and accurate the whole way,
My one single disappointment was not the GPS, but the navigation speaker volume, very hard to hear in the car, even on full volume.
Sent from my Xoom using Tapatalk 2
Navigation apps are far more forgiving of the flaws in the GPS signal than are GPS tracking apps.
With wifi location services on, your location in a navigation app can be found more quickly than waiting for satellite locks.
In a navigation app a 100 meter bounce in your position for a few seconds won't impact your directions. In a tracking app, it can destroy the validity of your track for measuring performance or distance, especially when it happens with alarming regularity.
Try running a short track with the run keeper app and see if you get a clean track or a schizophrenic one.
Sent from my HTC One X using Tapatalk 2
malte41 said:
get the agps fix... it is amazing. in open field i get a fix in 2sec. (!) with 10-12 sats. accuracy is 1-3m. best gps i ever had.
Click to expand...
Click to collapse
This? http://forum.xda-developers.com/showthread.php?t=1595800

mediascannerservice wakelock?

Checking betterbatterystats shows that mediascannerservice is preventing my phone from sleeping under partial wakelocks. How can I fix this?
Fairly Certain that's a signal search.
I get the same thing at work where nobody gets service...
You're probably in an area with bad signal...and not much you can do, really.
Jubakuba said:
Fairly Certain that's a signal search.
I get the same thing at work where nobody gets service...
You're probably in an area with bad signal...and not much you can do, really.
Click to expand...
Click to collapse
My phone gets excellent service here at work and at home, so I know that can't be it. Plus, there's a different section for it under the battery stats.
Reboot. Usually happens to me once in a while. I think its the OS scanning /sdcard for music, pics etc.
Sent from my Jelly Belly using xda app-developers app
Jubakuba said:
Fairly Certain that's a signal search.
I get the same thing at work where nobody gets service...
You're probably in an area with bad signal...and not much you can do, really.
Click to expand...
Click to collapse
Fart.
I'm an idiot.
The above poster is correct.
I was thinking of wlansomethingoranother.
I actually forget the name...
Media scanner will run while music is playing as well.
I reclaim teh internetz back!?
Sent from my Jelly Belly using xda app-developers app
killyouridols said:
Reboot. Usually happens to me once in a while. I think its the OS scanning /sdcard for music, pics etc.
Sent from my Jelly Belly using xda app-developers app
Click to expand...
Click to collapse
I saw this behavior the other day, hopefully this reboot fixes it. Will keep an eye on it and investigate further if need be. Thanks!
It seems that the problem keeps on popping up as mediascannerservice continues to be at the top of my battery usage. Any other tips on how to correct?
This service is killing my battery. I've read that it could be a corrupt media file causing the device to constantly scan for media. I;m just going to delete a bunch of **** and see if that helps, because i haven't found any fixes yet.
I'm experiencing the same issue on both my GSM Gnex and Nexus 7. I don't even really have any media files on either of them at the moment besides the stock ring tones and that sort of thing. I don't know if it's an app misbehaving or what. Pretty annoying, but what I'm doing as a temporary "fix" is going to settings > apps > running and stopping the media process. I need to do this every time I reboot.
paulr24 said:
I'm experiencing the same issue on both my GSM Gnex and Nexus 7. I don't even really have any media files on either of them at the moment besides the stock ring tones and that sort of thing. I don't know if it's an app misbehaving or what. Pretty annoying, but what I'm doing as a temporary "fix" is going to settings > apps > running and stopping the media process. I need to do this every time I reboot.
Click to expand...
Click to collapse
Hmmm, if you dont have many media files then maybe thats not the cause at all. Are you running stock android on both?
maw230 said:
Hmmm, if you dont have many media files then maybe thats not the cause at all. Are you running stock android on both?
Click to expand...
Click to collapse
I'm completely stock but rooted on the Nexus 7, and on the Gnex I'm running Liquidsmooth JB beta 1 with Trinity kernel. Last night I let my Nexus 7 battery drain instead of stopping the media service hoping this issue would stop after it was done scanning, and it did stop after a few hours, but as soon as I rebooted it was back. The only files I can think of that could be corrupt would be my Titanium Backup data (would make sense since I have the same backups on both devices), and I did restore some apps/settings. I may try a full wipe soon and see what happens from there.
You probably have corrupted images/media on the SD. Move all the stuff and test it out.
paulr24 said:
I'm completely stock but rooted on the Nexus 7, and on the Gnex I'm running Liquidsmooth JB beta 1 with Trinity kernel. Last night I let my Nexus 7 battery drain instead of stopping the media service hoping this issue would stop after it was done scanning, and it did stop after a few hours, but as soon as I rebooted it was back. The only files I can think of that could be corrupt would be my Titanium Backup data (would make sense since I have the same backups on both devices), and I did restore some apps/settings. I may try a full wipe soon and see what happens from there.
Click to expand...
Click to collapse
Let me know if a full wipe fixes it. I'm not in the mood to do all that work atm. I haven't noticed any problems on my N7 just my Gnex.
Edit - also fwiw, my Gnex is having the problem where it thinks it's charging when it's not plugged in and it switches back and forth constantly. im not sure if that would effect the media service.
..
So I ended up doing a full wipe of my Nexus 7 that was experiencing this issue (left everything on the sd card though) and flashed Paranoid Android 1.95a. I then restored all of my apps and app data with TiBu and I'm having no issue with the mediascannerservice wakelock.
Does anyone know about how long mediascannerservice is supposed to run for after each boot? It actually looks like it's running for an hour to an hour and a half on both of my devices (I performed a full wipe and flashed MiNCO rom on my Gnex) and then it stops and everything is good until the next time I reboot. Seems like an hour to an hour and a half is still more time than should be necessary, considering my battery is getting killed during this time. Adding a .nomedia file to the root of my SD card hasn't helped at all either.
gadgetluva said:
Checking betterbatterystats shows that mediascannerservice is preventing my phone from sleeping under partial wakelocks. How can I fix this?
Click to expand...
Click to collapse
See my thread about this here:
http://forum.xda-developers.com/showthread.php?t=1801378
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I located the files that Media Scanner was trying to scan, they were map tiles (about 60,000 of them) and Media Scanner was ignoring the .nomedia file.
Removed the files and it stopped.
Ran for a week with no problems.
Copied them back and it started again.
Renamed the folders and it stopped cold.
Now I'm waiting to see what happens on the next charge cycle.
DrHenley said:
See my thread about this here:
http://forum.xda-developers.com/showthread.php?t=1801378
I located the files that Media Scanner was trying to scan, they were map tiles (about 60,000 of them) and Media Scanner was ignoring the .nomedia file.
Removed the files and it stopped.
Ran for a week with no problems.
Copied them back and it started again.
Renamed the folders and it stopped cold.
Now I'm waiting to see what happens on the next charge cycle.
Click to expand...
Click to collapse
I have this problem on my S3 too. Everytime I restart or swap the battery, the mediascannerservice starts and drain my battery.
What is the solution?
Where did u find the .nomedia file?
Sent from my GT-I9300
DrHenley said:
See my thread about this here:
http://forum.xda-developers.com/showthread.php?t=1801378
I located the files that Media Scanner was trying to scan, they were map tiles (about 60,000 of them) and Media Scanner was ignoring the .nomedia file.
Removed the files and it stopped.
Ran for a week with no problems.
Copied them back and it started again.
Renamed the folders and it stopped cold.
Now I'm waiting to see what happens on the next charge cycle.
Click to expand...
Click to collapse
Hey...
How could you locate the files the mediascanner scanned?

OP 3 Heat issue and random crashes

Hello everyone!
Some basic info upfront:
The phone is completely stock(no root, etc) and on the latest available android update (9.0.6).
The phone was factory reset twice which didn’t fix anything.
Ambient temperature is 20°C
Behaviour:
Phone crashes related to heat:
- Whenever the phone screen turns black or the phone turns off due to a crash it is very warm/hot
- The phone (sometimes) turns off when I connect it to the charging device while on low (<20%) battery
- Battery temperature according to CPU-Z is normal (max 40-50°C) when charging and crashing
- (External) heat causes the phone to turn off (exposure to sunlight, holding it in my hand for like 5 minutes while using light gaming app/camera – sometimes even lighter usage apps)
- Phone turns off when used more heavily (e.g. frequent switching between apps)
- Last time, the simple use of google maps and youtube caused the phone to go black eventhough it was positioned in front of the car AC and therefore temps should have been perfectly fine. When it crashed it was very warm to the hand tho
- After a crash, the power button must be held for 10 - 20s to turn the device on again.
- Sometimes it seems as if the phone might still be on, and only the screen is black (LED still blinking).
- It seems as if holding the power butto first turns the device off and afterwards turns it on again
- CPU-Z shows very high tempterature on the sensor “pm8994_tz”. It’s always at least 20°C warmer than the other sensors. Before a crash it shows between 90°C and 100°C while the other sensors are in the 50’s (not able to screenshot that )
- The phone slows down and becomes choppy before crashing. If I notice this and stop using it right away for about 10 minutes I can sometimes prevent the phone from crashing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Fingerprint reader not working:
- Fingerprint reader doesn’t work anymore (have had this issue before. It somehow went away and is now back) the homebutton howerever is functioning
- Also I think the last update for the OP3 made things worse. Fingerprint reader was working (with Andr. Pie - not 9.0.6 tho). Then I upgraded to 9.0.6. Fingerprint reader was still working. Then one crash. Since then the fingerprint reader is defect. I had times before when the FP-reader wasn’t working and the device stated that in red text. Now its just not working without any info from the phone.
- The *#808# sensor test says it's not a hardware malfunction. In the past the very same test also had already failed....
Android Data corruption:
- Within the last 3 months my phone twice randomly bricked out of nowhere: When trying to use it it showed an android screen that said “Decryption unsuccessful” With the only option to factory reset the phone
All the issues have become more and more frequent over the last 1.5 years. At first only bothering every few month and now on a pretty frequent basis.
Other than that, on “normal” days the phone’s performance is perfectly fine.
I don’t know if this is related to the issues mentioned above but it somehow started after I’ve been to Vietnam: 4 Weeks of constant ambient temperatures of 40°C. In my pocket probably warmer and camera use on top of that.
Also I just plugged it into the Vietnamese power outlets with my european charger. I have no idea if different voltages or something like that might have caused issues
I started writing this down with the intention of just listing bullet points and it turned out as a pretty long text. However, when the phone doesn’t have issues (which is most of the time) it’s perfectly fine. That’s why I don’t wanna exchange the device. It’s basicly a well working phone – when its working….
Battery life is fine. 70% brings me through the day.
Questions:
- Hardware or software issue?
- faulty sensor?
- might older android version fix the problem?
Thanks for reading through this and giving your suggestions!
30.04.2020
UPDATE:
I downgraded back to Oos 5.0.8
- The phone feels snappier now.
- pm8994_tz temps are still above average
- I can't tell much about the heat-crash-stuff, since I'm not able to properly tax the system right now. However the device turned off twice during the setup process. Since then it's fine.
- I cannot setup a fingerprint because every security option requires me to enter the PIN. The devices says my PIN was wrong, although it's 100% correct. Funnily right now there isn't even a PIN set to unlock the device. So I'm stuck with the "swipe-to-unlock"-option. The statement about the wrong PIN also is an issue that sometimes occurred in the past out of nowhere.
crash/freeze issues occured on Oos 5.0.8. as well. So I upgraded back to 9.0.6. The "wrong-PIN" problem didn't change.
Do you think there is a chance that a custom ROM might help?
Or is it more likely to be a hardware issue?
some random thoughts:
Is there a chance that the heat dissipated from the SoC ist not transfered properly due to something like old thermal paste? Or the heatspreader not making contact to the chip?
could charging the device with a low power car-charger might have caused the issues?
Or maybe a magnet phone holder? Or are phones not susceptible to magnetism at all?
Update 20.05.2020:
I did another factory reset without changing the Oxygen OS version (9.0.6). I got completely stuck in the Android/OnePlus setup process (didn't access the homescreen at all). Phone kept freezing during the process. Phones temperature was not warm at all. After several reboots and the freezes in the setup process, i wiped everything once more. Just to be sure, I put a cooling pack from the freezer under the device during the setup process. With one minor hickup I got through the setup process and reached the homesceen.
Fingerprint reader is working again. The "wrong PIN"-Issue is gone as well.
The day after the phone randomly turned off. After several reboots its working well again.
Now I'm checking the launcher. I was using the Nova Launcher previously and used to load a backup everytime i restored the phone. This time I'm setting up the Nova launcher completely from scratch. Maybe incompatibilty of the old backup with the current android is causing issues.
Phone is running fine now. Homebutton stopped working once which could be fixed by a simple reboot.
Luigi, did you managed to get OP3 working more stable without crashes or overheating? I have similar issues and pm8994_tz is getting very hot (73 degree). Actually msm therm as well.
Regards, Pekka
Luigi_4477 said:
Update 20.05.2020:
I did another factory reset without changing the Oxygen OS version (9.0.6). I got completely stuck in the Android/OnePlus setup process (didn't access the homescreen at all). Phone kept freezing during the process. Phones temperature was not warm at all. After several reboots and the freezes in the setup process, i wiped everything once more. Just to be sure, I put a cooling pack from the freezer under the device during the setup process. With one minor hickup I got through the setup process and reached the homesceen.
Fingerprint reader is working again. The "wrong PIN"-Issue is gone as well.
The day after the phone randomly turned off. After several reboots its working well again.
Now I'm checking the launcher. I was using the Nova Launcher previously and used to load a backup everytime i restored the phone. This time I'm setting up the Nova launcher completely from scratch. Maybe incompatibilty of the old backup with the current android is causing issues.
Phone is running fine now. Homebutton stopped working once which could be fixed by a simple reboot.
Click to expand...
Click to collapse
Is your problem sorted out..I am also facing similar issue... don't know whether it's battery issue or not

Question Random reboots

Hi!
I own an SM-F926B/DS since April with latest updates, and the last couple of months it randomly reboots. Some times reboots without asking SIM PIN, some other times reboots asking SIM PIN, some other times it keeps rebooting and I have to press the side button to make it functional again. Most of the times, the phone is hot on the back. I don't have to use the phone, some times it has rebooted just when I pick it up from the table. There is not a specific pattern, at least from what I can tell, some times 2-3 days will pass without any reboots, some other times a couple of times per day, some other times it goes to a reboot loop. Some times, the phone freezes (usually in Chrome or in settings menu), or some random applications do not open.
I tried removing some apps which I installed the period I noticed the problem, but it didn't make any difference.
I understand that I must do a factory reset, but I'm trying to find other ways to debug the problem before doing this, because I have many apps with many settings and it will take me forever to reinstall them. also, by just restoring a previous backup after a factory reset, I'm afraid that probably I will restore the problem too.
Have you any other advises? Perhaps a way to log the state when the phone tries to reboot or which application requests it?
Are there any others with similar problems?
Thank you.
.
I have had the same problem. Ses after the last update it don't seem to be happening now.
I had a random reboot problem back in July and it was the Facebook Messenger app that caused it after an update they did. When they updated it again, the problem stopped. The app also had been eating battery like crazy during that time. So, I'd start with looking at what apps got updated at the time it began happening as well as see if any are killing your battery.
Sounds like a badly behaving app eating battery and CPU to the point it's getting turned off. I would start with usage stats and battery stats whenever this happens and see what's going on in the background and start there.
Thank you for your help.
As I have said, the phone has all the latest updates, so it is not an outdated app or OS issue. Also, I have hundreds of apps installed, taking 10 updates daily, so it is impossible to track down which app might have caused the issue two months ago.
The phone does not turn off, it reboots. This way I can't find the app which may consumes more battery. The only thing that could help and I have not already mentioned, is that in most cases I see issues related to "Google Play Services" like excessive battery usage or stopped responding.
nasos75 said:
Thank you for your help.
As I have said, the phone has all the latest updates, so it is not an outdated app or OS issue. Also, I have hundreds of apps installed, taking 10 updates daily, so it is impossible to track down which app might have caused the issue two months ago.
The phone does not turn off, it reboots. This way I can't find the app which may consumes more battery. The only thing that could help and I have not already mentioned, is that in most cases I see issues related to "Google Play Services" like excessive battery usage or stopped responding.
Click to expand...
Click to collapse
It has nothing to do with an app being outdated, but that when they updated it, they coded something wrong. You can try to track which one by looking at which apps consume too much battery in the Settings. Rebooting does not change that stat at all, and rebooting is what it did when Facebook Messenger caused my problem back in July.
ButterflyFlutterflyMyOhMy said:
It has nothing to do with an app being outdated, but that when they updated it, they coded something wrong. You can try to track which one by looking at which apps consume too much battery in the Settings. Rebooting does not change that stat at all, and rebooting is what it did when Facebook Messenger caused my problem back in July.
Click to expand...
Click to collapse
The usual suspect is Google Play Services. In device care I see different apps crashing daily, not the same.
This is a screenshot of battery consumption right now:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nasos75 said:
The usual suspect is Google Play Services. In device care I see different apps crashing daily, not the same.
This is a screenshot of battery consumption right now:
View attachment 5718377
Click to expand...
Click to collapse
My Google Play Services are currently 1.5 and 0.3% (Secure Folder and regular one), so that's not excessive battery use for that. When Messenger caused me issues, it was like 40% or something. It also never crashed.
I tried a diagnostic log app, but it doesn't work to capture random reboots. I just had to wait until they updated the app, which I think was about a week after it started. It mostly happened while I wasn't using my phone.
Hmm.
Last week I eventually did a factory reset. After selecting language for the initial setup, the phone entered a reboot loop again, so it was obvious that it wasn't a software issue. I proceeded with the setup, but without restoring any applications. The phone did some reboots again.
I contacted local customer support, and when I went there they connected the phone to their software and they were able to see in the log files some kernel panicks, memory errors and boot loops since the factory reset. They told me that if I hadn't reset the phone,they would be able to see all the problems since the beginning.
They told me that they have to change the main board, and after two days I got my phone back. This happened on Friday, today is Monday and everything seems fine (I crossed my fingers). I reinstalled everything including applications from Samsung Cloud.
nasos75 said:
Last week I eventually did a factory reset. After selecting language for the initial setup, the phone entered a reboot loop again, so it was obvious that it wasn't a software issue. I proceeded with the setup, but without restoring any applications. The phone did some reboots again.
I contacted local customer support, and when I went there they connected the phone to their software and they were able to see in the log files some kernel panicks, memory errors and boot loops since the factory reset. They told me that if I hadn't reset the phone,they would be able to see all the problems since the beginning.
They told me that they have to change the main board, and after two days I got my phone back. This happened on Friday, today is Monday and everything seems fine (I crossed my fingers). I reinstalled everything including applications from Samsung Cloud.
Click to expand...
Click to collapse
Oh wow, what a hassle! Glad the phone seems to be working well now, though! That's crazy that it rebooted that early in the setup process. Did you have to pay for the fix?
No, it was covered by guarantee, the phone is less than 6 months old.
nasos75 said:
No, it was covered by guarantee, the phone is less than 6 months old.
Click to expand...
Click to collapse
Well that's a relief!

Categories

Resources