Android 6's "Optimizing app 1 of 1" bug is ruining my life - General Questions and Answers

So I have an LG K8 (2017) with this apparently well documented issue in Marshmallow where Android keeps trying to optimize one or more apps at boot, and takes forever to do so, often rebooting and then trying again, sometimes for hours on end. I'm not a firstworlder who can just get a new phone and be done with it, so I'd genuinely appreciate any guidance on how to fix this.
I enabled USB debugging and logged the phone while it boots, and the affected package seems to be 'googlequicksearchbox'. I'm not sure what this is, but it sounds like a part of Android, not something I can uninstall easily. Here are the relevant logs:
Code:
06-26 16:46:06.546 1840 1840 E installd: DexInv: --- END '/data/app/com.google.android.googlequicksearchbox-2/base.apk' --- status=0x000b, process failed
06-26 16:46:06.547 2443 2443 D PackageManager.DexOptimizer: dexopt package: /data/app/com.google.android.googlequicksearchbox-2/base.apk pkg=com.google.android.googlequicksearchbox - cost time = 273851 ms.
06-26 16:46:06.594 2443 2443 I PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/com.google.android.googlequicksearchbox-2/base.apk pkg=com.google.android.googlequicksearchbox isa=arm64 vmSafeMode=false debuggable=false oatDir = /data/app/com.google.android.googlequicksearchbox-2/oat
06-26 16:46:06.590 2587 2587 W dex2oat : type=1400 audit(0.0:89): avc: denied { module_request } for kmod="personality-8" scontext=u:r:dex2oat:s0 tcontext=u:r:kernel:s0 tclass=system permissive=0
06-26 16:46:06.666 2587 2587 I dex2oat : Starting dex2oat.
06-26 16:46:06.765 288 1797 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.12 dur=1014.48 max=19.62 min=13.25
06-26 16:46:07.083 288 288 I SurfaceFlinger: [Built-in Screen (type:0)] fps:61.139503,dur:1014.07,max:18.02,min:14.76
06-26 16:46:07.285 1651 1662 I PerfService: PerfServiceNative_getPackName
06-26 16:46:07.780 288 1089 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.10 dur=1014.78 max=17.28 min=15.82
06-26 16:46:08.097 288 288 I SurfaceFlinger: [Built-in Screen (type:0)] fps:61.121483,dur:1014.37,max:16.57,min:16.12
06-26 16:46:08.286 1651 1662 I PerfService: PerfServiceNative_getPackName
06-26 16:46:08.794 288 396 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.11 dur=1014.63 max=16.87 min=15.91
06-26 16:46:09.112 288 288 I SurfaceFlinger: [Built-in Screen (type:0)] fps:61.114136,dur:1014.50,max:16.53,min:16.20
06-26 16:46:09.286 1651 1662 I PerfService: PerfServiceNative_getPackName
06-26 16:46:09.808 288 1089 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.14 dur=1014.02 max=16.75 min=15.89
06-26 16:46:10.126 288 288 I SurfaceFlinger: [Built-in Screen (type:0)] fps:61.119678,dur:1014.40,max:16.93,min:15.81
06-26 16:46:10.287 1651 1662 I PerfService: PerfServiceNative_getPackName
06-26 16:46:10.421 1867 1867 I sn : Retry 32
06-26 16:46:10.422 1867 1867 I sn : Fail to access err=2
06-26 16:46:10.422 1867 1867 I sn : Fail to access err=2
06-26 16:46:10.422 1867 1867 I sn : Fail to access err=2
06-26 16:46:10.422 1867 1867 I sn : Check all possible paths
06-26 16:46:10.553 1854 1854 I thermal_repeater: oh, queryMdThermalInfo (0)No such file or directory
06-26 16:46:10.558 1854 1854 I thermal_repeater: [recvMdThermalInfo] ret=5, strLen=127, ERROR
06-26 16:46:10.823 288 1089 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.08 dur=1014.99 max=17.03 min=16.01
06-26 16:46:11.141 288 288 I SurfaceFlinger: [Built-in Screen (type:0)] fps:61.103127,dur:1014.68,max:16.61,min:16.21
06-26 16:46:11.287 1651 1662 I PerfService: PerfServiceNative_getPackName
06-26 16:46:11.838 288 1797 I BufferQueueProducer: [Android se está iniciando...](this:0x7fa1dd2780,id:14,api:1,p:2443,c:288) queueBuffer: fps=61.13 dur=1014.28 max=16.99 min=15.90
06-26 16:46:11.911 288 524 W hwcomposer: [JOB] (0) Timed out waiting for vsync...
At this point hwcomposer begins to repeat this error message until the phone eventually reboots:
Code:
06-26 16:46:35.821 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1483/val=1)
06-26 16:46:35.853 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1485/val=1)
06-26 16:46:35.886 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1487/val=1)
06-26 16:46:35.918 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1489/val=1)
06-26 16:46:35.950 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1491/val=1)
06-26 16:46:35.982 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1493/val=1)
06-26 16:46:36.014 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1495/val=1)
06-26 16:46:36.047 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1497/val=1)
06-26 16:46:36.079 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1499/val=1)
06-26 16:46:36.111 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1501/val=1)
06-26 16:46:36.143 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1503/val=1)
06-26 16:46:36.176 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1505/val=1)
06-26 16:46:36.208 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1507/val=1)
06-26 16:46:36.240 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1509/val=1)
06-26 16:46:36.272 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1511/val=1)
06-26 16:46:36.304 288 524 W hwcomposer: [WKR] Timed out waiting for UICompThread_0 (cnt=1513/val=1)
After it tries again it may either boot successfully or fail again with the same error messages. Any ideas?
Enviado desde mi LG-X240 mediante Tapatalk

Same error here...
If you look at
play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox
you will see it's a part of "Google" application.
Just uninstall upgrades of "Google" and you're done !

Related

[ROM][MM][LOS-13][m7] | 2018-02-22 | 9L5

These are cm13.0 builds for the international HTC One m7, build from CyanogenMod's sources with a few modifications and here and there a cherry-pick from unmerged commits.
Disclaimer: I AM NOT RESPONSIBLE IF YOU BREAK YOUR DEVICE OR DROP YOUR COFFEE !
---
Bugs (known):
- Bluetooth disables every few hours
- High battery consumption
- In energy saver there is no option to enable vibration
- Random reboots every few days
---
Download: Android File Host Folder
Archiv
open_gapps-arm-6.0-pico-20160717-9L5-modified.zip:
Be careful: This package is only (REALLY ONLY) for Play Store access.
Means, there are e.g. no Calendar&Contacts Sync adapter included, or anything. ONLY the things NEEDED for getting Play Store access.
source:
CyanogenMod Gerrit / GitHub
My Kernel Fork
Version Information
Status: abandoned
RC Release Date: 2016-09-17
last release: 2018-02-22
For changelogs have a look at the Gerrit. I filtered it with this link for only merged and cm13.0 related commits yet:
device
kernel
Apart from the official changes, I use a fork of the cm kernel as I changed a few things there:
Enabled SWAP option - it's not set by default, it will only create a SWAP if you set it with a kernel config app. cm merged it now official
undervolted CPU - see here
Initial GPU Overclock - thanks @ pattyboi : ) cherry-picked from his repo
pushed GPU to 545Mhz
undervolted GPU and later this oh and did I tell you about this yet
tbaldens fastcharge (if I read the changed code correct, it only forces the device to charge in AC mode, even if USB is recognized) - thanks @ pattyboi : ) cherry-picked from his repo
Added User Voltage Control for CPU (and therefore removed the default undervolt)
Added smartmax CPU-Governor
Since 2016-10-02 build:
reverted: 163000 - msm: HTC: m7: Enable static 802.11 regulatory database
Since 2016-10-22 build:
166184 - UPSTREAM: netfilter: x_tables: validate e->target_offset early - MERGED
166185 - msm: perf: Do not allocate new hw_event if event is duplicate - MERGED
166186 - ASoC: msm: audio-effects: misc fixes in h/w accelerated effect - MERGED
166187 - perf: duplicate deletion of perf event - MERGED
166188 - net: Fix use after free in the recvmmsg exit path - MERGED
166189 - binder: prevent kptr leak by using %pK format specifier - MERGED
166190 - fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE - MERGED
166191 - Replace %p with %pK to prevent leaking kernel address - MERGED
166192 - fix infoleak in rtnetlink - MERGED
Since 2016-09-03 build:
160241 - Torch: Add legacy check for camera hardware - MERGED
Since 2016-07-31 build:
Fix GPS - thanks for finding the working lib @flab80 - fixed in cm's vendor-repo
Since 2016-07-17 build:
151062 - Revert "Revert "m7-common: fix broken rotation"" - MERGED
Since 2016-06-14 build:
148941 - m7-common: Remove HTC sound config - MERGED
148942 - m7-common: Clean up Android.mk - MERGED
148943 - m7-common: Remove deprecated vold flags - MERGED
148944 - m7-common: Organize boardconfig - MERGED
148945 - m7-common: Remove extra AAPT_CONFIG - MERGED
148946 - m7-common: Organize m7-common.mk - MERGED
140146 - PackageInstaller: Themes: Add Tint mode for custom icon - MERGED
149372 - frameworks_base: SysUI: Don't let rogue themes ruin notifications - MERGED
Since 2016-04-10 build:
135528 - frameworks_base: bootanimation: Reduce thread priority - cm did a great job with the new Android is updating screen
139192 - SettingsProvider : load region-specific settings - MERGED
138263 - Settings: Rework vibration intensity slider - MERGED
138571 - Settings: Save vibration intensity on close - MERGED
140103 - Global actions: fix airplane mode switch for MSIM - MERGED
139976 - SysUI: Deprecate collapseNotificationPanel [2/2] - MERGED
139975 - LLS: Deprecate collapseNotificationPanel [1/2] - MERGED
140184 - porting jpeg_mem_src() from jpeg lib v8c - MERGED
139886 - init: Increase coldboot timeout to 5 seconds - MERGED
131628 - frameworks_base: Barrier only messages shouldn't prevent the idle handlers from running - cm did a great job with the new Android is updating screen
131627 - frameworks_base: policy: Show a simple dialog about optimizing apps - cm did a great job with the new Android is updating screen
129343 - m7-common: Switch to Clang by default - MERGED
129345 - m7-common: use Snap camera app - MERGED
125274 - m7-common: Shim libhtc_symbols instead - MERGED
Used apps: No-Frills CPU for cpu settings, and Kernel Adiutor for everything else. Settings not mentioned, aren't touched.
Kernel Adiutor:
CPU-Voltage (set on boot):
- see attached screenshot
Battery (set on boot):
- USB Fast Charge
I/O Scheduler (set on boot):
- Scheduler: noop
- Read-Ahead 2048kB
Kernel Samepage Merging (set on boot):
- disabled 'Kernel Samepage Merging'
Low Memmory Killer (set on boot):
- Profile middle
virtual memmory (set on boot):
- swappiness 10
- Disksize 1000MB
No frills CPU (set on boot)
- CPU Govoner: smartmax
Two Questions:
1. What recovery is recommended for this to install?
2. What GAPP is best for this to install?
Thanx.
alammori said:
Two Questions:
1. What recovery is recommended for this to install?
2. What GAPP is best for this to install?
Thanx.
Click to expand...
Click to collapse
twrp 3.0 and open gapps pico
@9Lukas5 be careful with cpu/gpu undervolt by default (depending on device silicon strength of course) it can lead to major issues great job otherwise!
edit: and one thing,REMOVE CPUBOOST,trust me
So no official builds I think )
9Lukas5 said:
Bad News on this one: It seems our m7's camera has brought the dev a big headache and he gave up on it as he spent too much time on it yet. So it doesn't look like the camera will get fixed in the near future :/
Click to expand...
Click to collapse
This sounds bad.
So no MM for my M7
@Maik268 I guess no official one until this is fixed.
But if you can live with a 'only-one-shot-per-open' camera and (I think I read that) a buggy Bluetooth calling, this is a great daily driver. I use it since December
L
Gesendet von meinem HTC One m7
9Lukas5 said:
@Maik268 I guess no official one until this is fixed.
But if you can live with a 'only-one-shot-per-open' camera and (I think I read that) a buggy Bluetooth calling, this is a great daily driver. I use it since December
L
Gesendet von meinem HTC One m7
Click to expand...
Click to collapse
Unfortunately I can't live with that.
I need my camera really often at work. I already tried MM for a few day, it's running great, but without a fully working camera it's useless for me at the moment
pattyboi:) said:
@9Lukas5 be careful with cpu/gpu undervolt by default (depending on device silicon strength of course) it can lead to major issues great job otherwise!
edit: and one thing,REMOVE CPUBOOST,trust me
Click to expand...
Click to collapse
Thanks, could you tell me where I change that? I set it for me personally in kernel adiutor, but are those values in one central place, or are they all spread over the whole source code?
L
Gesendet von meinem HTC One m7
Hey
I was thinking about the camera issues. Do you think that this may have something to do with Sony libraries missing or being incompatible?
As cRDroid is also CM-based maybe we can mix things up if the camera is working on cRDroid or at least compare the proprietary files.
I don't have my HTC One M7 at the moment so I am unable to test it. I made a build myself from CM source using TheMuppets' prorpietary files.
Everything else is stock, so no undervolt, etc.
*EDIT*
Got back my HTC One, will do some testing.
*EDIT2*
Hm... I see they are struggling with the same issue.
delete - saw the edits after writing an answer^^
So far it looks like it has something to do with the mediaserver crashing:
Code:
03-29 17:32:37.245 3408 3408 V CAM_PhotoModule: old picture_size = 2688 x 1520
03-29 17:32:37.245 3408 3408 V CAM_PhotoModule: new picture_size = 2688 x 1520
03-29 17:32:37.246 3408 3408 E CAM_PhotoModule: Invalid preview resolution:
03-29 17:32:37.246 3408 3408 V CAM_PhotoModule: Preview size is 1920x1088
03-29 17:32:37.246 3408 3408 V CAM_PhotoModule: Thumbnail size is 0x0
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Picture format value =jpeg
03-29 17:32:37.247 3408 3408 D CameraSettings: Supported iso values: auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Color effect value =none
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Saturation value =5
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Contrast value =5
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Sharpness value =10
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Face Recognition value = off
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: AE Bracketing value =Off
03-29 17:32:37.247 3408 3408 E CAM_PhotoModule: advancedFeature value =none
03-29 17:32:37.248 3408 3408 V CAM_PhotoModule: autoExposure value =frame-average
03-29 17:32:37.248 3408 3408 V CAM_PhotoModule: antiBanding value =auto
03-29 17:32:37.249 3408 3408 D Util : Parameters: [ae-bracket-hdr-values=Off,HDR,AE-Bracket, ae-bracket-hdr=Off, antibanding-values=off,50hz,60hz,auto, antibanding=auto, auto-exposure-lock-supported=true, auto-exposure-lock=false, auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering, auto-exposure=frame-average, auto-whitebalance-lock-supported=true, auto-whitebalance-lock=false, awb-calibration-check=success, camera-mode-values=0,1, camera-mode=1, capture-burst-captures-values=-1, capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12, capture-burst-exposures=, capture-burst-interval-max=10, capture-burst-interval-min=1, capture-burst-interval-supported=true, capture-burst-interval=1, capture-burst-retroactive-max=-1, capture-burst-retroactive=0, capture-burst-timeinterval-max=1000, capture-burst-timeinterval-min=0, capture-burst-timeinterval-supported=true, capture-burst-timeinterval=0, capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe, capture-mode=normal, contiburst-type=unlimited, contrast-min=0, contrast=5, denoise-values=off, denoise=denoise-off, dual-camera-supported=false, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon, effect=none, exposure-compensation-step=0.166667, exposure-compensation=0, face-detection-values=off,on, face-detection=on, flash-calibration-check=success, flash-mode-values=off,auto,on,torch, flash-mode=auto, focal-length=3.82, focus-areas=(-198,-291,29,109,1), focus-distances=0.100000,0.150000,0.170000, focus-mode-values=auto,infinity,normal,macro,fixed,continuous-picture,continuous-video, focus-mode=auto, gps-timestamp=1459265556, hdr-need-1x=false, hdr-supported=true, hfr-size-values=800x480,640x480, histogram-values=enable,disable, histogram=disable, horizontal-view-angle=69.6, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=0, jpeg-thumbnail-quality=90,
03-29 17:32:37.250 3408 3408 D Util : Parameters: jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,0x0, jpeg-thumbnail-width=0, lensshade-values=enable,disable, lensshade=enable, long-shot=off, lsc-calibration-check=success, luma-adaptation=3, max-contrast=10, max-exposure-compensation=12, max-longshot-snap=-1, max-num-detected-faces-hw=0, max-num-detected-faces-sw=0, max-num-focus-areas=1, max-num-metering-areas=1, max-saturation=10, max-sharpness=30, max-zoom=59, mce-values=enable,disable, mce=enable, metering-areas=(-255,-391,86,209,1), min-exposure-compensation=-12, no-display-mode=0, num-jpegs-per-shutter=1, num-queue-depth=2, num-snaps-per-shutter=1, ois-setting=true, ois_mode=off, ois_support=true, overlay-format=265, picture-format-values=jpeg,raw, picture-format=jpeg, picture-size-values=2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1456x1088,1456x880,1456x832,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,720x720,640x480,640x384,640x368,480x480,352x288,320x240,176x144, picture-size=2688x1520, power-mode-supported=true, power-mode=Normal_Power, preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12, preview-format=yuv420sp, preview-fps-range-values=(3,200000), preview-fps-range=10000,60000, preview-frame-rate-mode=frame-rate-fixed, preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed, preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120, preview-frame-rate=120, preview-size-values=1920x1088,1456x832,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x720,720x480,640x480,640x384,640x368,576x432,544x544,480x480,480x320,384x288,352x288,320x240,240x160,176x144, preview-size=1920x1088,
03-29 17:32:37.250 3408 3408 D Util : Parameters: recording-hint=false, redeye-reduction-values=enable,disable, redeye-reduction=disable, rotation=90, saturation-min=0, saturation=5, scene-detect-values=off,on, scene-detect=off, scene-mode-values=off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,fireworks,sports,party,candlelight,backlight,flowers,AR,text,hdr, scene-mode=auto, selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average, selectable-zone-af=auto, sharpness-min=0, sharpness=10, single-isp-output-enabled=false, skinToneEnhancement-values=enable,disable, skinToneEnhancement=0, slow-motion-res=768x432, slow-motion-x=4, smileinfo-byface-supported=1, strtextures=OFF, time-cons-post-processing=enable, touch-af-aec-values=touch-off,touch-on, touch-af-aec=touch-off, touchAfAec-dx=100, touchAfAec-dy=100, vertical-view-angle=43.0, video-720p60fps-supported=true, video-frame-format=yuv420sp, video-hdr-supported=true, video-hdr-values=off,on, video-hdr=off, video-hfr-values=off,60, video-hfr=off, video-mode=0, video-slow-motion-supported=true, video-snapshot-supported=true, video-stabilization-supported=true, video-stabilization=false, video-zoom-support=true, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoe-supported=true, zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390, zoom-supported=true, zoom=0, zsl-values=off,on, zsl=on, zsl_mymode=on]
03-29 17:32:37.255 208 208 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-29 17:32:37.255 208 208 F DEBUG : Build fingerprint: 'htc/m7_google/m7:5.0.1/LRX22C.H3/434277:user/release-keys'
03-29 17:32:37.255 208 208 F DEBUG : Revision: '0'
03-29 17:32:37.255 208 208 F DEBUG : ABI: 'arm'
03-29 17:32:37.255 673 2379 W NativeCrashListener: Couldn't find ProcessRecord for pid 7959
03-29 17:32:37.255 208 208 F DEBUG : pid: 7959, tid: 10442, name: mm_camera_poll >>> /system/bin/mediaserver <<<
03-29 17:32:37.255 208 208 E DEBUG : AM write failed: Broken pipe
03-29 17:32:37.255 208 208 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x149
03-29 17:32:37.256 673 1148 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.257 673 3532 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.257 673 2769 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.258 3408 3408 I CAM_PhotoModule: Using preview width = 1920& height = 1088
03-29 17:32:37.258 3408 3408 D CAM_UI : setAspectRatio() ratio[1.7647059] mAspectRatio[1.7647059]
03-29 17:32:37.259 3408 3408 V CAM_UI : setTransformMatrix: scaledTextureWidth = 1080.0, scaledTextureHeight = 1905.8823
03-29 17:32:37.262 3408 3408 D CAM_UI : setAspectRatio() ratio[1.7647059] mAspectRatio[1.7647059]
03-29 17:32:37.262 3408 3408 V CAM_UI : setTransformMatrix: scaledTextureWidth = 1080.0, scaledTextureHeight = 1905.8823
03-29 17:32:37.270 208 208 F DEBUG : r0 00000101 r1 ffffffff r2 b48802fc r3 80000000
03-29 17:32:37.271 208 208 F DEBUG : r4 b0ae2c00 r5 b39c8d40 r6 b39c8d4c r7 b39c8d44
03-29 17:32:37.271 208 208 F DEBUG : r8 b39c7400 r9 b456c024 sl b39c8d38 fp b0ae2c00
03-29 17:32:37.271 208 208 F DEBUG : ip b487fdb4 sp a40828d0 lr b485f735 pc b485ef36 cpsr 40070030
03-29 17:32:37.276 208 208 F DEBUG :
03-29 17:32:37.276 208 208 F DEBUG : backtrace:
03-29 17:32:37.276 208 208 F DEBUG : #00 pc 00049f36 /system/lib/hw/camera.vendor.msm8960.so (android::util_get_Hal_obj(camera_device*)+5)
03-29 17:32:37.276 208 208 F DEBUG : #01 pc 0004a731 /system/lib/hw/camera.vendor.msm8960.so (release+52)
03-29 17:32:37.276 208 208 F DEBUG : #02 pc 000046d5 /system/lib/libimage-jpeg-enc-omx-comp.so (handleMessage+164)
03-29 17:32:37.276 208 208 F DEBUG : #03 pc 0003f5f7 /system/lib/libc.so (__pthread_start(void*)+30)
03-29 17:32:37.276 208 208 F DEBUG : #04 pc 00019ccb /system/lib/libc.so (__start_thread+6)
03-29 17:32:37.729 673 2790 D QMI_FW : QCCI: QMUXD: xport_rx[1 <- 16]: 659 bytes on conn_id: 9
03-29 17:32:37.729 673 2790 D QMI_FW : QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0025, msg_len - 028c
03-29 17:32:37.729 673 2790 E LocSvc_adapter: I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
03-29 17:32:37.729 673 2790 E LocSvc_utils_q: D/msg_q_snd: Sending message with handle = 0x9DD61300
03-29 17:32:37.729 673 2790 E LocSvc_utils_ll: D/linked_list_add: Adding to list data_obj = 0x9DD61300
03-29 17:32:37.729 673 2787 E LocSvc_utils_ll: D/linked_list_remove: Removing from list
03-29 17:32:37.729 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Received message 0x9DD61300 rv = 0
03-29 17:32:37.729 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1415] received msg_id = LOC_ENG_MSG_REPORT_SV context = 0xaec028d0
03-29 17:32:37.729 673 2787 E LocSvc_afw: I/<=== sv_status_cb - line 1127 23
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,1,23,04,00,000,24,02,14,118,,06,18,075,,10,00,000,*7E
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,2,23,12,78,333,,14,34,302,,15,12,180,,17,07,036,*7A
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,3,23,19,31,049,,22,00,000,,24,63,123,,25,46,264,*7C
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,4,23,29,09,199,,32,30,305,,78,23,300,,86,39,045,*75
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,5,23,77,67,002,,69,09,344,,88,14,175,,87,50,135,*76
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,6,23,85,00,000,,67,14,241,,68,24,295,*40
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSA,A,1,,,,,,,,,,,,,,,*1E
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPVTG,,T,,M,,N,,K,N*2C
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPRMC,,V,,,,,,,,,,N*53
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGGA,,,,,,0,,,,,,,,*66
03-29 17:32:37.730 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1402] 134 listening ...
03-29 17:32:37.730 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Waiting on message
03-29 17:32:37.730 673 2790 E LocSvc_utils_q: D/msg_q_snd: Finished Sending message with handle = 0x9DD61300
03-29 17:32:38.000 673 2790 D QMI_FW : QCCI: QMUXD: xport_rx[1 <- 16]: 146 bytes on conn_id: 9
03-29 17:32:38.000 673 2790 D QMI_FW : QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0024, msg_len - 008b
03-29 17:32:38.000 673 2790 E LocSvc_adapter: I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
03-29 17:32:38.000 673 2790 E LocSvc_adapter: D/Reporting postion from V2 Adapter
03-29 17:32:38.000 673 2790 E LocSvc_utils_q: D/msg_q_snd: Sending message with handle = 0x9B5C4C30
03-29 17:32:38.000 673 2790 E LocSvc_utils_ll: D/linked_list_add: Adding to list data_obj = 0x9B5C4C30
03-29 17:32:38.000 673 2790 E LocSvc_utils_q: D/msg_q_snd: Finished Sending message with handle = 0x9B5C4C30
03-29 17:32:38.000 673 2787 E LocSvc_utils_ll: D/linked_list_remove: Removing from list
03-29 17:32:38.000 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Received message 0x9B5C4C30 rv = 0
03-29 17:32:38.000 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1415] received msg_id = LOC_ENG_MSG_REPORT_POSITION context = 0xaec028d0
03-29 17:32:38.000 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1402] 135 listening ...
03-29 17:32:38.000 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Waiting on message
03-29 17:32:38.048 208 208 F DEBUG :
03-29 17:32:38.048 208 208 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
03-29 17:32:38.049 673 760 I BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
03-29 17:32:38.059 3408 5000 W CameraBase: mediaserver's remote binder Camera object died
03-29 17:32:38.059 3408 5000 W CameraBase: Camera service died!
*EDIT*
Ah, I missed that you have already added the logcat output for this error in the other thread.
Hey @9Lukas5 where are you getting the source from. Is there any guide to build the rom?
@aloknm I used this wiki guide from cm:
https://wiki.cyanogenmod.org/w/Build_for_m7
And additionally I had to add a link to the proprietary files I think in my local_manifest
When I'm at home I'll send you the content of the manifest in my build environment
L
Gesendet von meinem HTC One m7
As far as the camera issue goes this is what I figured out so far:
camera.vendor.msm8960.so is calling util_get_Hal_obj; camera.vendor.msm8960.so is prorietary, so nothing we can do here
util_get_Hal_obj is part of the QCOM HAL Wrapper:
android_hardware_qcom_camera/QCamera2/HAL/wrapper/QualcommCamera.cpp:
Code:
...
QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device)
{
QCamera2HardwareInterface *hardware = NULL;
if(device && device->priv){
camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
hardware = camHal->hardware;
}
return hardware;
}
....
The address is extracted here: camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
hardware = camHal->hardware;
However, so far I could not find the struct definition of camera_device, which would be handy because we want to know what device->priv exactly is
Then we would have to figure out who or what is defining the original camera_device and why it is suddenly pointing to a wrong address
Yeah, it is pretty messed up. I don't know if I will be able to look into it more....
Does anyone happen to know where the struct camera_device is specified?
@sToRm1nG you seem much more a 'developer' than me . I'm more like, let's see what we can *easily* punch together and works atm^^
Edit: could you edit your post above with the long logcat output and make spoiler tag around the code tag? In tapatalk you have to scroll through the whole code :/
@aloknm I'm using the three xml's I attached in my ./.repo/local_manifests/ folder.
The roomservice.xml came from cm, I edited just to delete the kernel repo and created the other one for including my own fork of the kernel and the local_manifest.xml is also created from me after googling around, why my builds are too small and won't boot up. There I added the proprietary_vendor from the aicp github, what fixed my builds.
L
9Lukas5 said:
@sToRm1nG you seem much more a 'developer' than me . I'm more like, let's see what we can *easily* punch together and works atm^^
Edit: could you edit your post above with the long logcat output and make spoiler tag around the code tag? In tapatalk you have to scroll through the whole code :/
@aloknm I'm using the three xml's I attached in my ./.repo/local_manifests/ folder.
The roomservice.xml came from cm, I edited just to delete the kernel repo and created the other one for including my own fork of the kernel and the local_manifest.xml is also created from me after googling around, why my builds are too small and won't boot up. There I added the proprietary_vendor from the aicp github, what fixed my builds.
L
Click to expand...
Click to collapse
*HIDEON*
I will try and see if I can add some additional logging to QualcommCamera.cpp to see if the address actually changes (if not this would be even more confusing).
I had a lot of Java programming at university and a little C++ and even a little bit of C.
New build is online
Be aware of the following:
- I added user side Voltage Control for CPU, therefore I reverted the CPU undervolt back to stock values.
For those want to keep the undervolt like it was set before, please have a look to the commit here. Check the changed lines to find the voltage table shown in your kernel control app, and then set the values to the ones they were before :good:
- I added the cpu governor smartmax:
If someone has mindblowing governor settings for smartmax, please let me know
L

[APP] [NO-ROOT] themeDIY for Samsung Galaxy S8/S7/S6/J/C ✺ 6.x/7.x

Original Thread
https://forum.xda-developers.com/android/apps-games/app-themediy-samsung-galaxy-s8-s7-s6-j-t3685010
Idk if im right here. but someone told me i should post my problem here. I have a ported S8 Nougat Samsung Music on Android 6.0.1 Marshmallow an i get an fatal error which makes the app crash after few minutes of using:
Code:
10-07 01:23:10.812 449 449 F DEBUG : pid: 4054, tid: 4383, name: RenderThread >>> com.sec.android.app.music:service <<<
10-07 01:23:12.972 923 2455 I ActivityManager: Process com.sec.android.app.music:service (pid 4054)(adj 1) has died(153,322)
10-07 01:23:12.972 923 2455 W ActivityManager: Scheduling restart of crashed service com.sec.android.app.music/com.samsung.android.app.music.service.PlayerService2 in 1000ms
10-07 01:23:13.172 426 426 I SurfaceFlinger: id=261 createSurf (13x13),1 flag=4, Application Error: com.sec.android.app.music
10-07 01:23:13.832 426 1473 I SurfaceFlinger: id=189 Removed com.sec.android.app.music/com.samsung.android.app.music.common.activity.PlayerActivity (6/10)
10-07 01:23:13.842 426 445 I SurfaceFlinger: id=189 Removed com.sec.android.app.music/com.samsung.android.app.music.common.activity.PlayerActivity (-2/10)
10-07 01:23:14.812 426 2050 I SurfaceFlinger: id=261 Removed Application Error: com.sec.android.app.music (8/9)
10-07 01:23:14.812 426 448 I SurfaceFlinger: id=261 Removed Application Error: com.sec.android.app.music (-2/9)
---- 07.10.2017 01:23:32 ----
Can anyone tell me how to understand a log to solve the problem? bc i understand nothing..
thx
Looks like some system files were deleted. Did you remove anything or was it given to you like that.

Need to remove unknown MDM agent from LG Aristo Tmobile Version bug report included

Hello,
I have an issue with my personal phone, the Tmobile LG Aristo, being enrolled and supervised by an unknown MDM management agent (I don't know which one or who put it there). I will post the instances in the bugreport that show up when I search for "MDM" below and please let me know if there's more information I can provide. Here are some questions and observations:
Wiping the phone doesn't fix the problem and there's nothing stated anywhere that the phone is being managed so no obvious certificate to delete nor an app.
Also, do the trust certificates have anything to do with this and if I disabled the correct one(s) it would then remove the software?
I know Apple has Apple Configurator to do enroll/unenroll management software from iOS devices. Does Android have a tool like Apple Configurator that I need to use?
Thanks very much and I know very little about this problem so sorry if I left out anything important.
Places in the bug report where "MDM" shows up:
u:r:system_server:s0 system 1683 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMUIApplicat
u:r:system_server:s0 system 1768 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMPostRunnab
u:r:system_server:s0 system 1769 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMDevicePoli
u:r:system_server:s0 system 1770 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMDevicePoli
u:r:system_server:s0 system 1772 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMExternalMe
u:r:system_server:s0 system 1774 1349 1365492 114324 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMPermission
u:r:system_server:s0 system 3277 1349 1365492 114332 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMUIApplicat
u:rlatform_app:s0 u0_a91 2220 1842 1327444 95752 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMUILockScre
u:rlatform_app:s0 u0_a91 2745 1842 1327444 95752 20 0 0 0 fg SyS_epoll_ 00000000 S LGMDMUIApplicat
1683 LGMDMUIApplicat SyS_epoll_wait
1768 LGMDMPostRunnab SyS_epoll_wait
1769 LGMDMDevicePoli SyS_epoll_wait
1770 LGMDMDevicePoli SyS_epoll_wait
1772 LGMDMExternalMe SyS_epoll_wait
1774 LGMDMPermission SyS_epoll_wait
3277 LGMDMUIApplicat SyS_epoll_wait
2220 LGMDMUILockScre SyS_epoll_wait
2745 LGMDMUIApplicat SyS_epoll_wait
11-26 21:45:32.925 1349 1349 W PackageManager: Unknown permission com.sec.enterprise.knox.MDM_CONTENT_PROVIDER in package com.android.chrome
11-26 21:45:34.785 1349 1695 W PackageManager: Unknown permission com.sec.enterprise.knox.MDM_CONTENT_PROVIDER in package com.android.chrome
11-26 21:45:35.148 1349 1349 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.mdm.controller.LGMDMVpnController.bindLGVpnService:486 com.lge.mdm.controller.LGMDMVpnController.isAuthentecVpn:463 com.lge.mdm.controller.LGMDMVpnController.<init>:68 com.lge.mdm.controller.LGMDMVpnController.getInstance:77
11-26 21:45:35.148 1349 1349 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.mdm.controller.LGMDMVpnController.bindLGVpnService:486 com.lge.mdm.controller.LGMDMVpnController.isAuthentecVpn:463 com.lge.mdm.controller.LGMDMVpnController.<init>:68 com.lge.mdm.controller.LGMDMVpnController.getInstance:77
11-26 21:45:35.148 1349 1349 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.mdm.controller.LGMDMVpnController.bindLGVpnService:486 com.lge.mdm.controller.LGMDMVpnController.isAuthentecVpn:463 com.lge.mdm.controller.LGMDMVpnController.<init>:68 com.lge.mdm.controller.LGMDMVpnController.getInstance:77
11-26 21:45:35.148 1349 1349 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.mdm.controller.LGMDMVpnController.bindLGVpnService:486 com.lge.mdm.controller.LGMDMVpnController.isAuthentecVpn:463 com.lge.mdm.controller.LGMDMVpnController.<init>:68 com.lge.mdm.controller.LGMDMVpnController.getInstance:77
11-26 21:45:36.061 1349 1349 D AudioSystem: muteMicrophone [MDM policy:false], [state:false]
11-26 21:45:37.518 1349 1695 I MountService: MDM Ignoring mount emulated due to policy
11-26 21:45:37.572 1349 1695 I MountService: MDM Ignoring mount public:179,65 due to policy
11-26 21:45:39.408 1842 2179 V LGMDMManager: Create singleton instance
11-26 21:45:39.442 1842 2179 V LGMDMManagerInternal: Create singleton instance
11-26 21:45:39.563 1349 1404 W PackageManager: Unknown permission com.sec.enterprise.knox.MDM_CONTENT_PROVIDER in package com.android.chrome
11-26 21:45:40.460 2198 2210 V LGMDMManager: Create singleton instance
11-26 21:45:42.568 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:42.575 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:42.627 1904 1904 D wpa_supplicant: wlan0: [MDM] get_mdm_autoconn_policy : 0
11-26 21:45:42.627 1904 1904 D wpa_supplicant: wlan0: [MDM] reassociate : 1
11-26 21:45:42.627 1904 1904 D wpa_supplicant: wlan0: [MDM] lg mdm allow/disallow auto connect is not set!
11-26 21:45:42.629 1904 1904 D wpa_supplicant: wlan0: [MDM] get_mdm_autoconn_policy : 0
11-26 21:45:42.629 1904 1904 D wpa_supplicant: wlan0: [MDM] reassociate : 1
11-26 21:45:42.629 1904 1904 D wpa_supplicant: wlan0: [MDM] lg mdm allow/disallow auto connect is not set!
11-26 21:45:43.342 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDeviceWipeController.connectATService:36 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:231
11-26 21:45:43.342 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDeviceWipeController.connectATService:36 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:231
11-26 21:45:43.342 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDeviceWipeController.connectATService:36 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:231
11-26 21:45:43.379 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDownloadModeController.connectATService:35 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:232
11-26 21:45:43.379 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDownloadModeController.connectATService:35 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:232
11-26 21:45:43.379 1349 1769 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1426 com.lge.android.atservice.client.LGATCMDClient.bindService:105 com.lge.mdm.controller.LGMDMATClientConnector.connectATService:42 com.lge.mdm.controller.LGMDMDownloadModeController.connectATService:35 com.lge.mdm.controller.LGMDMDevicePolicyManagerService$1.onReceive:232
11-26 21:45:43.688 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:43.698 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.430 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.432 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.432 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.439 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.440 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.455 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.455 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:44.493 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:46.025 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:46.100 1842 1842 D EmergencyButton: MDM updateEmergencyCallButton() - isLockoutMode: false
11-26 21:45:47.030 2836 2836 I MDM__DMClient: Process started
11-26 21:45:47.394 1904 1904 D wpa_supplicant: wlan0: [MDM] get_mdm_autoconn_policy : 0
11-26 21:45:47.394 1904 1904 D wpa_supplicant: wlan0: [MDM] reassociate : 1
11-26 21:45:47.394 1904 1904 D wpa_supplicant: wlan0: [MDM] lg mdm allow/disallow auto connect is not set!
11-26 21:45:47.395 1904 1904 D wpa_supplicant: wlan0: [MDM] get_mdm_autoconn_policy : 0
11-26 21:45:47.395 1904 1904 D wpa_supplicant: wlan0: [MDM] reassociate : 1
11-26 21:45:47.395 1904 1904 D wpa_supplicant: wlan0: [MDM] lg mdm allow/disallow auto connect is not set!
11-26 21:45:55.577 2766 2766 V LGMDMManagerInternal: Create singleton instance
11-26 21:45:57.338 1904 1904 D wpa_supplicant: wlan0: [MDM] get_mdm_autoconn_policy : 0
11-26 21:45:57.338 1904 1904 D wpa_supplicant: wlan0: [MDM] reassociate : 1
11-26 21:45:57.338 1904 1904 D wpa_supplicant: wlan0: [MDM] lg mdm allow/disallow auto connect is not set!
11-26 21:46:00.545 3373 3373 V LGMDMManager: Create singleton instance
11-26 21:46:11.163 3373 3373 V LGMDMManagerInternal: Create singleton instance
11-26 21:46:22.862 3373 3373 I LGMDMSettings: UserHandle is : 0
11-26 21:46:22.866 3373 3373 I LGMDMSettings: isDpmMaximunTimeToLock`s value is : 0
11-26 21:46:45.966 2899 5207 E MDM : [329] xet.run: Couldn't connect to Google API client: krr{statusCode=API_UNAVAILABLE, resolution=null, message=null}
11-26 21:46:55.238 5429 5441 V LGMDMManagerInternal: Create singleton instance
11-26 21:47:00.282 6023 6023 V LGMDMManager: Create singleton instance
11-26 21:47:09.268 6455 6455 I MDM__DMClient: Process started
11-26 21:47:09.998 6472 6472 I MDM__DMClient: Process started
"LGMDMUIApplicationAdapter" prio=5 tid=35 Native
"LGMDMPostRunnable" prio=5 tid=32 Native
"LGMDMDevicePolicyManagerServiceReceiver" prio=5 tid=40 Native
"LGMDMDevicePolicyManagerService" prio=5 tid=41 Native
"LGMDMExternalMemorySlotContoller" prio=5 tid=43 Native
"LGMDMPermissionController" prio=5 tid=45 Native
"LGMDMUIApplicationAdapter" prio=5 tid=113 Native
"LGMDMUILockScreenAdapter" prio=5 tid=44 Native
"LGMDMUIApplicationAdapter" prio=5 tid=60 Native
Action: "com.lge.mdm.intent.action.LGMDM_LOCK_OUT"
com.lge.mdm.intent.action.LGMDM_LOCK_OUT:
Current LGMDM Device Policy Manager state:
com.google.android.gms.mdm.MDM_SETTINGS_ACTIVITY:
com.google.android.gms.mdm.MDM_LOCKSCREEN_ACTIVITY:
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
5d7199e com.android.settings/.lgmdm.LGMDMBroadcastReceiver
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
3LM_MDM_ACTIVATED:
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
3LM_MDM_DEACTIVATED:
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
8332180 com.lge.email/.policy.mdm.MDMConfigReceiver
Permission [com.lge.email.permission.MDM_EMAIL_ACCOUNT] (133a7a9):
perm=Permission{5ca112e com.lge.email.permission.MDM_EMAIL_ACCOUNT}
com.lge.email.permission.MDM_EMAIL_ACCOUNT: prot=signature|privileged, INSTALLED
com.lge.email.permission.MDM_EMAIL_ACCOUNT: granted=true

OTA updates are never found

My phone is rooted via Magisk, and bootloader unlocked. For the past year OTA updates have never shown up for me, so I've had to sideload them each time they are released. According to @pbanj's rooting guides (and others I've looked at) I should expect the OTAs to show up even though I'm rooted and my bootloader unlocked. When I first discovered this, I was 4 months behind on security updates, and manually checking for updates continued to say my phone was up to date. I recently upgraded to Android 11, which did actually show up via the system update GUI, so I figured once I updated, the security OTAs would start showing up. Apparently I was wrong as I see that the October update was released, but my phone continues to say it's up to date.
Has anyone else had this issue?
Resolved
I seem to have figured out why this is happening. I used logcat to pull the log while SystemUpdate was checking for updates.
Here is what I found:
10-07 17:27:51.314 18025 1536 I SystemUpdate: [Execution,UpdateEngineDelegate] verifyPayloadMetadata()
10-07 17:27:51.319 1156 1156 I update_engine: [INFO:binder_service_android.cc(179)] Received a request of verifying payload metadata in /data/ota_package/payload_metadata.bin.
10-07 17:27:51.327 1156 1156 I update_engine: [INFOayload_verifier.cc(102)] signature blob size = 267
10-07 17:27:51.332 1156 1156 I update_engine: [INFOayload_verifier.cc(118)] Truncating the signature to its unpadded size: 256.
10-07 17:27:51.334 1156 1156 I update_engine: [INFOayload_verifier.cc(129)] Verified correct signature 1 out of 1 signatures.
10-07 17:27:51.336 1156 1156 I update_engine: [INFOayload_metadata.cc(224)] Metadata hash signature matches value in Omaha response.
10-07 17:27:51.372 1156 1156 I update_engine: [INFO:dynamic_partition_control_android.cc(319)] Loaded metadata from slot A in /dev/block/bootdevice/by-name/system_a
10-07 17:27:51.374 1156 1156 I update_engine: [INFO:dynamic_partition_control_android.cc(957)] vendor_a is mapped on device mapper: /dev/block/dm-1
10-07 17:27:55.082 1156 1156 I update_engine: [INFO:dynamic_partition_control_android.cc(319)] Loaded metadata from slot A in /dev/block/bootdevice/by-name/system_a
10-07 17:27:55.084 1156 1156 I update_engine: [INFO:dynamic_partition_control_android.cc(938)] boot_a is not in super partition metadata.
10-07 17:27:55.086 1156 1156 I update_engine: [INFO:dynamic_partition_control_android.cc(319)] Loaded metadata from slot A in /dev/block/bootdevice/by-name/system_a
10-07 17:27:55.092 1156 1156 E update_engine: [ERROR:delta_performer.cc(1158)] The hash of the source data on disk for this operation doesn't match the expected value. This could mean that the delta update payload was targeted for another version, or that the source partition was modified after it was installed, for example, by mounting a filesystem.
10-07 17:27:55.094 1156 1156 E update_engine: [ERROR:delta_performer.cc(1163)] Expected: sha256|hex = A9CA8642B1E38A6D8707C31B9C146CB04CFE390A79853CF8AB0FFA9091CDC6CC
10-07 17:27:55.096 1156 1156 E update_engine: [ERROR:delta_performer.cc(1166)] Calculated: sha256|hex = 5BE55D2089653B1A9A244BDDF60582ACAFC0444B7F62A8546E0D030337C00331
10-07 17:27:55.097 1156 1156 E update_engine: [ERROR:delta_performer.cc(1177)] Operation source (offset:size) in blocks: 0:1,8172:1
10-07 17:27:55.117 18025 1536 E SystemUpdate: [Execution,PreDownloadValidateAction] UpdateEngine.verifyPayloadMetadata() failed.
10-07 17:27:55.686 18025 1536 E SystemUpdate: [Execution,PreDownloadValidateAction] Failed to download.
10-07 17:27:55.686 18025 1536 E SystemUpdate: awhr: Unexpected status code: 403.
10-07 17:27:55.686 18025 1536 E SystemUpdate: at awhv.run[email protected]@20.36.15 (150400-333172415):7)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at qzo.b[email protected]@20.36.15 (150400-333172415):12)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at qzo.run[email protected]@20.36.15 (150400-333172415):7)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at rfo.run[email protected]@20.36.15 (150400-333172415):0)
10-07 17:27:55.686 18025 1536 E SystemUpdate: at java.lang.Thread.run(Thread.java:923)
10-07 17:27:55.686 18025 1536 E SystemUpdate: [Execution,PreDownloadValidateAction] Failed to validate package, with resolution=REJECT.
So it looks like it was seeing a difference in the expected boot image hash vs my magisk patched boot image. I used magisk to restore images and re-ran the SystemUpdate. At that point it indicated that there was an OTA to install. I thought in the past it would at least indicate that there was an OTA to download, at which point I could go through the magisk restore images process. Oh well.
TL;DR: I needed to restore the boot image in magisk prior to checking for updates in order for the OTA to show up.
Interesting. I just received the OTA for Oct---first one I've received since January (sometimes I don't wait, but other times I've gone into mid-month before dealing with updates). I'm always running magisk patched. I wonder if a specific kernel build has that effect. I will try this method next month.
How do you patch the boot image after OTA on device since "Install to inactive slot" is now gone?
koichirose said:
How do you patch the boot image after OTA on device since "Install to inactive slot" is now gone?
Click to expand...
Click to collapse
I ended up just booting with the stock boot.img (losing root), then patching the boot.img from the October full image and flashing via fastboot. There may be an easier method though.

dev/binder help

device has 32 bit kernel, setup twrp tree to build 32 bit and still get erors in logcat that when I google search point me in the direction that the issue is missmatch of 64 bit driver and 32 bit envirment.
Code:
09-01 03:36:36.869 249 249 I vndservicemanag: type=1400 audit(0.0:21): avc: denied { ioctl } for path="/dev/vndbinder" dev="tmpfs" ino=2210 ioctlcmd=0x6209 scontext=u:r:recovery:s0 tcontext=ubject_r:vndbinder_device:s0 tclass=chr_file permissive=1
09-01 03:36:36.873 249 249 E ProcessState: Binder driver protocol(8) does not match user space protocol(7)! ioctl() return value: 0
09-01 03:36:36.876 1 1 I init : type=1400 audit(0.0:22): avc: denied { mounton } for path="/dev/usb-ffs/adb" dev="functionfs" ino=11556 scontext=u:r:init:s0 tcontext=ubject_r:functionfs:s0 tclass=dir permissive=1
09-01 03:36:36.876 249 249 E ProcessState: Binder ioctl to set max threads failed: Bad file descriptor
09-01 03:36:36.876 249 249 F ProcessState: Binder driver '/dev/vndbinder' could not be opened. Terminating.
--------- beginning of crash
09-01 03:36:36.877 249 249 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 249 (vndservicemanag), pid 249 (vndservicemanag)
09-01 03:36:36.877 248 248 E ProcessState: Binder driver protocol(8) does not match user space protocol(7)! ioctl() return value: 0
09-01 03:36:36.877 248 248 E ProcessState: Binder ioctl to set max threads failed: Bad file descriptor
09-01 03:36:36.877 248 248 F ProcessState: Binder driver '/dev/binder' could not be opened. Terminating.
i was using wrong build flags. I even mention in the above post , that i need 64 bit binder , but did not use it.

Categories

Resources