Git Product home page Git Product logo

Comments (11)

mateor avatar mateor commented on June 29, 2024

It appears that GPS2 log (the last two) is probably using the 1.0.0 patches. ( Update: Using 1.0.1 patches, GPS issues is solved for this user. So the third logcat above is from a current cm10.1-devel, and the second is undetermined as of now))

It is a rough line. With earlier android versions, I just kept the patch date the same as the day of release, since they were being updated because they broke. So the patch dates were meant to correspond to the build date periods they were good for. But now that the patches are being actively developed, the line blurs. For instance, there were upstream changes to telephony-common that necessitated new patches, regardless of improvements. But that leaves users of older roms stuck with 1.0.0 patches.

I originally hardcoded all roms to default to 1.0.1 after build dates of 1/20 or later. I have changed all aosp to be 1.0.1, since stock users are most likely to be using old roms. We will see how much further I have to take it.

So far as I know, the Slow_GPS log and then the one from the OpenPDroid thread are stil vlid and point to 1.0.1. But maybe take it with a pinch of salt.

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

New log from the original reporter (The first log above.) Using 1.0.1 still reports slowness with GPS:

--------- beginning of /dev/log/main
I( 9567) Turning on JNI app bug workarounds for target SDK version 11...  (dalvikvm)
W( 9567) PDroid:ContextImpl: ContextImpl being created but already has sOuterContext  (ApplicationContext)
W( 9567) PDroid:ContextImpl: ContextImpl being created but already has sOuterContext  (ApplicationContext)
W( 9567) PDroid:ContextImpl: ContextImpl being created but already has sOuterContext  (ApplicationContext)
W( 9567) PDroid:ContextImpl: ContextImpl being created but already has sOuterContext  (ApplicationContext)
W( 9567) PDroid:ContextImpl: ContextImpl being created but already has sOuterContext  (ApplicationContext)
D( 9567) GC_CONCURRENT freed 67K, 10% free 2690K/2980K, paused 4ms+2ms, total 21ms  (dalvikvm)
D( 9567) WAIT_FOR_CONCURRENT_GC blocked 15ms  (dalvikvm)
I( 9567) Grow heap (frag case) to 3.916MB for 1127536-byte allocation  (dalvikvm-heap)
D( 9567) GC_FOR_ALLOC freed 3K, 8% free 3787K/4084K, paused 11ms, total 11ms  (dalvikvm)
D( 9567) GC_CONCURRENT freed 53K, 8% free 3803K/4124K, paused 1ms+3ms, total 14ms  (dalvikvm)
I( 9567) tainted command part 0: logcat  (System.out)
I( 9567) tainted command part 1: -v  (System.out)
I( 9567) tainted command part 2: process  (System.out)
I( 9567) tainted command part 3: *:D  (System.out)
D( 9567) GC_CONCURRENT freed 80K, 7% free 4155K/4460K, paused 4ms+3ms, total 19ms  (dalvikvm)

In their words: I am not sure if there were any fixes for the slow gps/compass issues between v2.60 and 2.6.25. Just for completeness, they are still present in 2.6.25 (see logcat). After using it for some more hours I noticed that it is not always slow.

Pretty responsive user, if you have a particular test you want from them, they would do it. We would probably have to compile the component, though.

from platform_frameworks_base.

wsot avatar wsot commented on June 29, 2024

Cool: so basically, slow GPS/compass issues are occurring in 1.01 for the user with the log 'Slow_GPS', right? I might need to create a modified framework.jar for them with some additional debug code. Do we know what ROM/device they are on?

Also, with the 'devel' branch I think there is a problem with the GPS with very slow signal locks, but I haven't tracked it down yet (not being online = not having access to reference material = not much progress).

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

Yes slow_GPS is with 1.0.1. I think it is nsmart, so I have his info if you need it. He will test for us, no problem. The third logcat is from devel, and you have seen it in the thread.

slow_GPS= mako, CM.10.1

from platform_frameworks_base.

CollegeDev avatar CollegeDev commented on June 29, 2024

The log is to short to determine the infected part. It could be that the user detected the slow gps and then opened the logcat app. Can you report to the user that he/she has to start the record before using the gps and stops the record after the phone laggs? Thanks

Edit: why there are so much multiple logs detected logging? Has anybode changed something related to the saveSettings method in the persistenceAdapter?

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

Yeah, I saw that too, but I wasn't sure if it could get something useful. The various breakages from ustream have kept me hopping, but on the list is a rewrite of the autopatcher OP, including a section on best-practice bug-reports. I have a good framework (mostly thanks to kobik) for autopatcher logs, but not so much for PDroid, obviously.

from platform_frameworks_base.

CollegeDev avatar CollegeDev commented on June 29, 2024

Okay, just post new logs and I will have a look at it.
Yes, I haven't updated my cm until now, but if there is time this night I will send you incremental fix patches for cm10.1 if you need them.
Regarding the logging in Pdroid. At my new release I implemented an PDB(privacy debugging bridge) which handles the complete pdroid related logging inside the framework. The user can now switch on and off the logs and easily provide logs by searching the tag "PDroid2.0_log". If you're interested in it, just look at my new patches (privacydebugger.java).

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

Secondary Confirmation of slow GPS...from an autopatcher version:
Device info:
build.board: tuna build.bootloader: PRIMELA03 build.brand: Google build.cpu_abi: armeabi-v7a build.cpu_abi2: armeabi build.device: maguro build.display: pa_maguro-userdebug 4.2.2 JDQ39 eng.aaronpoweruser.20130228.025925 test-keys build.fingerprint: google/yakju/maguro:4.2.1/JOP40D/533553:user/release-keys build.hardware: tuna build.host: build1 build.id: JDQ39 build.manufacturer: Samsung build.model: Galaxy Nexus build.product: yakju build.radio: unknown build.serial: 01498A000201A01E build.tags: test-keys build.time: 1362020384000 build.type: userdebug build.user: aaronpoweruser version.codename: REL version.incremental: eng.aaronpoweruser.20130228.025925 version.release: 4.2.2 version.sdk_int: 17

Logcat excerpt (the whole log was too big for pastebin...you can download the whole log here

Excerpt: http://pastebin.com/nq5V9CAz

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

Looks similar to this report from the OPD thread. I also see those Context messages in the FCs in CM10.
02-28 19:45:23.845: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.850: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.850: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.850: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.850: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.855: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.855: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.855: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 com.android.server.SystemServer.init1:-2 02-28 19:45:23.860: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.860: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.860: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.860: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.865: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.865: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.865: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.865: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.870: V/PDroidAlternative(25310): NotificationHandler: Notification for: com.android.systemui:networkInfoCurrent:0 02-28 19:45:23.870: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.870: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.870: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.870: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.870: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.875: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.875: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.875: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.875: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.875: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.880: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.880: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.880: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.880: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.880: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 com.android.server.SystemServer.init1:-2 02-28 19:45:23.885: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.885: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.885: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.890: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.890: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.890: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.890: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.890: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.895: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.895: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.895: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.895: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.900: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.900: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.900: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.900: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.905: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.905: I/PrivacyGSMPhone(4482): Package: com.android.phone asked for getServiceState() 02-28 19:45:23.905: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.905: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2 02-28 19:45:23.910: I/PrivacyPhoneProxy(4482): package: com.android.phone ALLOWED for getServiceState() 02-28 19:45:23.910: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 com.android.server.SystemServer.init1:-2 02-28 19:45:23.910: W/ContextImpl(2681): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:-1 android.privacy.PrivacySettingsManagerService.notification:-1 android.privacy.IPrivacySettingsManager$Stub.onTransact:-1 android.os.Binder.execTransact:-1 dalvik.system.NativeStart.run:-2

from platform_frameworks_base.

CollegeDev avatar CollegeDev commented on June 29, 2024

The context message is "pretty" normal for the new Cm10.1 versions and cannot produce force-closes. I think I know whats going on there. I'm trying to send you an quick fix, but as I already said Im currently very busy. Im sorry

from platform_frameworks_base.

mateor avatar mateor commented on June 29, 2024

The context message just looks like a warning...but that sure is a lot of log cat garbage. And it doesn't happen to everyone but when it does, it is overwhelming.

CollegeDev ssent me a fix, but I have needed my computer and son I haven't been able to build and test the fix. Monday, hopefully. But users are reporting (conclusively) that replacing the gps.conf fixes the issue. And they reporters of the slow GPS (few but sready) are unanimous in that it is brought on by patching.

Here is one version of the fix, from karamelos:

Gps*
quick solution: modify your gps.conf & download gps test (https://play.google.com/store/apps/details?id=com.chartcross.gpstest&hl=en) go in setting, clear agps & click update agps 

from platform_frameworks_base.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.