Android 6.0 AOSP ROM crash/reboot with Chrome Location - Nexus 4 Q&A, Help & Troubleshooting

Hi all, first post so can't report this in the Dev forum.
I have flashed Marshmallow onto my Nexus 4 according to the instructions in the "official" ROM thread.
All seems to be fine, I had duplicate apps for the clock/calendar etc which didn't bother me much, and I was getting network connectivity issues which have largely gone away. I'm happy to have upgraded as it means I don't need to get a new Nexus phone just yet :good:
However, there is a pretty serious crash trigger, that I can easily reproduce on my handset anyway. Allowing any website to access my location in Chrome will trigger a reboot, every time. Just wondering if any other users have experienced this, whether the ROM developer is aware of it, or whether there is anything I should do to fix the problem or assist in finding a fix?

I found a fix in the very thread I linked above, guess I should have read all 50 pages of it
Here is the fix for anyone coming here from Google in the future.

Related

[Q] Any ROM without issues?

So is there any ROM for the Moto G without at least 2 or 3 major problems? Every ROM I use, 4.2 or 4.4 has either no music audio (Apollo crashes instantly), "No APN specified on the device," can't send MMS, Bluetooth won't even turn on, ridiculously slow gaming graphics (4.4 only), etc. What the heck is the point? FRUSTRATING.
Even worse I can't find a clear thread anywhere for any of these fixes, although I understand the audio problem is ongoing.
Have tried CM11, OmniRom, SlimKat on my Boost Mobile XT1031.
What is the most reliable ROM out there? I'm about to install a rooted stock.
If you read all the threads, you can get a pretty good picture of it.
So for now stock rom is the most stable one.
CrDroid B11 is good one, never had problems with it. And my device is xt1032
Best ROM threads are not allowed, neither is posting questions in the General section.
Thread closed.

[Q] GT-I905 running CM11

Heya,
So i experienced a lot of problems with the stock ROM on my S4 taking up way too much space and being kinda slow and crappy, so after hearing of CM and the speed increases and benefits it can have, i decided i'd give it a go, and for about a year now its been my daily driver.
However it has some issues, which are recently becoming more of a problem to me.
Now the first one might have seemed like a deal breaker to anyone else but honestly i wasnt too frustrated with it.
This issue is that the 3g connection with the device when im out and about straight up doesnt work. It shows red in the pull down menu and just doesnt work.
Next issue is that the camera has been severely downgraded in image quality.
Now recently i've been requiring the phone more than usual when out and about doing my job as tech support.
My issue is that i want these features to work correctly, but i dont want to run the stock ROM, can anyone advise how i can either fix these issue with CM or can you help me choose a different ROM which doesnt have these particular problems?
Run one of the Google Play Edition ROMs. Fewer problems will be had as these ROMs are versions of Android untouched by Samsung except for the inclusion of the libs needed to properly run the phone.
Another alternative is to go back to stock, but with the addition of some time spent in debloating the ROM, and with the addition of a new launcher to replace the stock version.
Excellent, thanks for the advice, i've now installed JFLTE after a bit of research and it's so far a very pleasant experience, ill report back if i have further problems with the mobile data connection but so far it appears to work.

[Q] Best place to report bug

device: 9505G
issue: audio over bluetooth does not work 2nd time a device is connected. Must toggle BT off/on (works sometimes) or restart device
This issue persists on all AOSP-based 5.0 and 5.1.x ROMs I've installed (mostly CM-based). My question is, where should I report this issue? I could report it on individual ROMs' threads, but I don't think that will fix the source of the issue. I've never reported a bug to AOSP. Upon investigating that option, it looks like that's meant for developers https://source.android.com/source/report-bugs.html
Does anybody have any experience in troubleshooting this sort of bug that can advise on the best course of action to take? Let me know if you need more information on the issue.
If the developers do not know there is an issue, how are they going to fix it?
In addition to mentioning the presence of a bug on the ROM thread you need to provide the developer with a logcat showing the activity as it occurs. If no logcat is provided, your statement will either be brushed aside or outright ignored.

N DP5: Sensors issues still there

Hello,
With DP5 (it was the same on DP4), after a while (it can be a day or an hour), some of the phone sensors stop working: no auto-rotation and no ambient display. Reboots fix the issue until it happens again.
The improvment between DP4 and 5 is that auto-brightness is not affected by the bug anymore.
I saw some threads on reddit and other sites about the issue and a few android bug reports but quite nothing on XDA except on thread with 1 reply.
Some Android dev had replied on a bug report that this is a known bug and that the fix was ready for the next update (ie DP5) but the bug is still there.
So do you also have the issue? Any ideas where it comes from?
Some people believe it's Pokemon GO-related, what do you think?
Thanks
(I know that most of people play Pokemon GO anyway so this could mean nothing but issue started on DP4 it seems, and Pokemon GO released when quite everybody had switched to DP4.)
BigDRim said:
Hello,
With DP5 (it was the same on DP4), after a while (it can be a day or an hour), some of the phone sensors stop working: no auto-rotation and no ambient display. Reboots fix the issue until it happens again.
The improvment between DP4 and 5 is that auto-brightness is not affected by the bug anymore.
I saw some threads on reddit and other sites about the issue and a few android bug reports but quite nothing on XDA except on thread with 1 reply.
Some Android dev had replied on a bug report that this is a known bug and that the fix was ready for the next update (ie DP5) but the bug is still there.
So do you also have the issue? Any ideas where it comes from?
Some people believe it's Pokemon GO-related, what do you think?
Thanks
(I know that most of people play Pokemon GO anyway so this could mean nothing but issue started on DP4 it seems, and Pokemon GO released when quite everybody had switched to DP4.)
Click to expand...
Click to collapse
Seeing how it's not an official release it is just speculation by the dev that a fix would be pushed by preview 5. For whatever reason that was not achievable. The official release is more likely going to be aimed at fixing as much of the current known issues as possible.

OP2 Screen rotation periodically stops working

Hi folks
I received my OP2 in July 2016, and this issue has been a mild periodic annoyance. As I approach the end of my warranty, I want to be 100% confident that this issue is software rather than hardware... (so rather than a fix, my highest priority is confirming that I do not have a hardware defect)
The issue is that the screen rotation will stop working for most, but not all apps (OnePlus Camera is the sole exception, it seems). It will rotate normally for a couple weeks and then I'll notice in some app, usually YouTube or Facebook first, that the screen orientation won't rotate anymore. Once I notice it in any app, no other app rotates either except the stock camera. I have been experiencing this symptom on-and-off for most of the time I've had the device, spanning multiple OOS releases (currently 3.5.8 and still happening).
A reboot fixes the condition, then it works fine for a week or two and comes back. OnePlus support suggested a factory reset, which I've done pursuing this issue before, and it didn't help (it immediately helped, obviously, but the issue did return on the same schedule as before).
I had my OP2 rooted, but still using the stock ROM otherwise, for several months (to be able to use Adblock). I reverted to 100% stock configuration pursuing this issue, it happened the same before/during/after the time it was rooted.
I have checked out the accelerometer with the app "Test Your Android" and watched the graph in the "gravity sensor" test. When the phone is in its non-rotating state and I rotate the phone, the graph lines cross but the app stays in portrait. This makes me think the phone knows it has rotated. I reboot the phone, redo the same test, and the graph looks similar except the app now rotates as well (ironic, really).
Is there a background service for "screen orientation" similar to how Play Services provides GPS information to other apps? If so, am I right in suspecting that the service responsible for answering the question, "what way is the device oriented currently?" is either not answering, or answering incorrectly?
I would prefer not to go to a third party ROM just to test this as I'm very happy with the current config of my device, other than this issue popping up from time to time. Any input is appreciated.
Thanks!
OOS has a tonne of services running under android system continuously. Screen orientation feedback might be one of them. I haven't used OOS in months. It doesn't seem like a hardware issue since a reboot solves it. If it is too frustrating then try testing it on a custom rom. You can switch back to stock once you are sure it was a problem in OOS or not.
utkarsh102 said:
OOS has a tonne of services running under android system continuously. Screen orientation feedback might be one of them. I haven't used OOS in months. It doesn't seem like a hardware issue since a reboot solves it. If it is too frustrating then try testing it on a custom rom. You can switch back to stock once you are sure it was a problem in OOS or not.
Click to expand...
Click to collapse
The more I think about it, the more stupid it seems to have a device that is rather well-supported by custom ROM devs and to not try some out.
I'll shop around for a ROM and give it a shot. I'm thinking and hoping this is strictly a software issue.
k1shy said:
The more I think about it, the more stupid it seems to have a device that is rather well-supported by custom ROM devs and to not try some out.
I'll shop around for a ROM and give it a shot. I'm thinking and hoping this is strictly a software issue.
Click to expand...
Click to collapse
In case you want suggestions, try these:
Bliss
Halogen
Validus
Lineage 13
Well, I have the same issue on my OP2 intermittently and it does not matter which rom I am using. In addition to OOS, I have had this issue on Marshmallow Cyanogenmod / Nougat Lineage based roms. Sooner or later it always returns. It seems to happen after longer uptime periods. E.g. with OOS3 I had an uptime stretch of 40+ days (without a reboot), so during this time I experienced the autorotation issue multiple times. It seems to get fixed by itself, but then comes back again. A reboot fixes it usually for longer period of time. As I am now on a custom rom, which is updated quite often, at least once of twice a week, the uptime stretches are not that long and I do not experience this issue often. I have noticed that the step counting sensors also stop working intermittently.
On rooted lineage based rom you can manually restart the sensors with following terminal commands:
su
stop sensors
start sensors
Don't know if this works on OOS. I made a tasker task shortcut for this on my homescreen.
Interesting...I have had the problem on-and-off I'd say, sometimes it follows this ~2 week pattern, sometimes it'll go longer than a month with no issues that I've noticed. Of course, it's also fairly rare that I watch videos on my phone and this is the main time that I realize it won't rotate.
Of course, with the current trend being to make all videos square with unnecessary obnoxious text in the letterbox black space, I suppose I'll never need to rotate my phone again </sarcasm>.
Prior to utkarsh102's suggestions I had already flashed AOSPExtended so I'm going to try rolling with this for a short time, if any issues surface (unrelated to my rotation issue) I'll try another ROM. Given that I'm trying to diagnose this issue before my warranty runs out (yeah, shoulda done it sooner, I know) I'll need to have a usable solution that can run stable for weeks uninterrupted to catch this again, if it's going to happen again.
FYI OnePlus support was entirely unhelpful about this issue. They completely disregarded the fact that it is intermittent and was not currently happening when I reported it to them. They were not able to suggest any diagnostic effort I could take to narrow down the issue further. Viewing the accelerometer readings was my own idea, not theirs. That suggestion absolutely should have come from them.
I do know I'm/we're not isolated in having this issue as there are other forum posts on various sites complaining of it.
I'll keep this thread updated with my findings, in the meantime anyone who has experienced this issue please chime in. It would be helpful to present to OnePlus, though I get the impression they won't care as they seem to have classified the 2 as a legacy product at this point. It's not like we're trying to get parts for a dot-matrix printer here.
Edit, October 2017, to provide an update without bumping the thread:
I've been using AOSPExtended on a constant basis since my last update to this thread and while I have experienced a variety of other issues, this particular one with the screen rotation has not affected me. My uptime has never been super long, but long enough at times that I should have seen this issue if it were going to happen following the same pattern as before.

Categories

Resources