[ROM][MM][LOS-13][m7] | 2018-02-22 | 9L5 - One (M7) Android Development

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

Related

[DEV][3.10.x][msm8916_64] CAF kernel/msm-3.10

NOTE: If you don't know what this is, kindly DO NOT POST.
What is CAF kernel and why is it important?
CAF is a project focusing on widespreading the use of msm chipsets, including repositories where qcom developers maintain code for various platforms, android and linux included.
ok i got you! but why it is important for our device?
CAF kernel brings us upstream enhacements needed to make our device future proof for upcoming android versions.
How does using CAF benefit the device/kernel?
It's directly supported by Qualcomm and it's generally a more optimized branch for Snapdragon phones.
so what about mainline kernel?
the mainline kernel can have changes that can cause regressions and possibly conflict with CAF changes. so, upstream merges are not merged into CAF.
you can find Code Aurora releases here : https://www.codeaurora.org/xwiki/bin/QAEP/release
This is effort to keep ferrari updated with Code Aurora's latest kernel sources.
kernel sources for ferrari can be found here : https://github.com/ferrari-dev/android_kernel_xiaomi_ferrari
tags info
Code:
chipset: msm8916_64
tag: LA.BR.1.2.9-01810-8x16.0
android: 07.01.01
date: February 24, 2017
Current Status
I have merged Xiaomi's changes over the CAF tag LA.BR.1.1.3-06510-8x16.0 with not major reverts or changes. Xiaomi has made a lot of un-necessary changes, which aren't needed.
The goal is to get a stable CAF kernel with minimal changes (viz. without Xiaomi's un-necessary cruft) and squish bugs until the kernel is stable.
builds can be found here in the arch/arm64/boot folder when you compile from source.
you can find me at #ferrari-dev on freenode IRC if you want to chat.
Patches and suggestions are welcome
XDA:DevDB Information
CAF kernel/msm-3.10, Kernel for the Xiaomi Mi 4i
Contributors
thewisenerd, onano, dh.harald
Kernel Special Features:
Version Information
Status: Testing
Created 2016-01-10
Last Updated 2017-01-28
Current Status
I have merged Xiaomi's changes over the CAF tag LA.BR.1.1.3-06510-8x16.0 with not major reverts or changes. Xiaomi has made a lot of un-necessary changes, which aren't needed.
this kernel is built and tested upon official firmware V8.1.5.0.LXIMIDI.
... wait?
yes.
will it work on firmware 6.6.10.0?
... sort of, but i am not looking at supporting it anymore.
why firmware v8.1.5.0? why not stick with 6.6.10.0 then?
... closure.
The goal is to get a stable CAF kernel with minimal changes (viz. without Xiaomi's un-necessary cruft) and squish bugs until the kernel is stable.
Working
display
touchscreen (atmel; add focaltech drivers if touch doesn't work)
charger
sound
ST-sensor hub (accelerometer, gyroscope and misc sensors)
cm36686 prox+ALS
tspdrv haptic feedback
LED
brightness
bluetooth
camera (because no one has patience, or updated blobs)
video recording
flashlight
wifi
Not Working
everything not listed above
wontfix
sound recorder works only with headset mic
miui support
anything and everything else that's (probably) caused by ROM
---
i'd like to help
thanks! there's much work left to be done, but all boils down to the following
re-diff'ing the dts files with v8.x firmware dts, to see if I missed something
figure out and fix camera drivers (dts & camera_v2 drivers)
adding all the necessary drivers (sensors, etc)
selectively adding back xiaomi's code changes; we don't need all their cruft, eg: /sys/bootinfo
and lots of bug fixes
builds
builds can be found in the arch/arm64/boot folder when you compile from source.
firmware-lp-8.1.5.0.zip
Trying - Not working: I am using CM13 despite th eincorrect buid fingerprint
Code:
01-10 23:59:33.245 3200 3200 I dex2oat : Explicit concurrent mark sweep GC freed 41347(9MB) AllocSpace objects, 1(20KB) LOS objects, 15% free, 21MB/25MB, paused 277us total 158.088ms
01-10 23:59:33.295 3689 3689 I SurfaceFlinger: SurfaceFlinger is starting
01-10 23:59:33.325 3689 3689 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
01-10 23:59:33.325 3689 3689 E libEGL : load_driver(/vendor/lib64/egl/libEGL_adreno.so): dlopen failed: cannot locate symbol "BIO_f_base64" referenced by "/system/vendor/lib64/egl/libEGL_adreno.so"...
01-10 23:59:33.325 3689 3689 F libEGL : couldn't find an OpenGL ES implementation
01-10 23:59:33.325 3689 3689 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3689 (surfaceflinger)
01-10 23:59:33.325 307 307 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
01-10 23:59:33.325 307 307 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
01-10 23:59:33.325 307 307 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-10 23:59:33.375 307 307 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-10 23:59:33.385 3688 3688 I vold : Vold 3.0 (the awakening) firing up
01-10 23:59:33.375 307 307 F DEBUG : Build fingerprint: 'Xiaomi/ferrari/ferrari:5.1.1/LMY48B:userdebug/test-keys'
01-10 23:59:33.385 3688 3688 V vold : Detected support for: exfat ext4 ntfs vfat
01-10 23:59:33.375 307 307 F DEBUG : Revision: '0'
01-10 23:59:33.385 3688 3688 F vold : system/vold/main.cpp:167] Check failed: android::vold::sBlkidContext != nullptr
01-10 23:59:33.375 307 307 F DEBUG : ABI: 'arm64'
01-10 23:59:33.385 307 307 F DEBUG : pid: 3689, tid: 3689, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-10 23:59:33.385 307 307 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-10 23:59:33.385 307 307 F DEBUG : Abort message: 'couldn't find an OpenGL ES implementation'
01-10 23:59:33.385 307 307 F DEBUG : x0 0000000000000000 x1 0000000000000e69 x2 0000000000000006 x3 0000000000000000
01-10 23:59:33.385 307 307 F DEBUG : x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
01-10 23:59:33.385 307 307 F DEBUG : x8 0000000000000083 x9 0000000000000e69 x10 0000007f7b14f044 x11 0000000000004000
01-10 23:59:33.385 307 307 F DEBUG : x12 0000000000004001 x13 0000000000000000 x14 0000000000000001 x15 0000000000101001
01-10 23:59:33.385 307 307 F DEBUG : x16 0000007f7aea66a0 x17 0000007f7ae6971c x18 0000007f7b150000 x19 0000007f7b1510b8
01-10 23:59:33.385 307 307 F DEBUG : x20 0000007f7b150ff8 x21 0000000000000002 x22 0000000000000006 x23 0000000000000000
01-10 23:59:33.385 307 307 F DEBUG : x24 0000000000000000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
01-10 23:59:33.385 307 307 F DEBUG : x28 0000000000000000 x29 0000007fef27ecb0 x30 0000007f7ae66eb8
01-10 23:59:33.385 307 307 F DEBUG : sp 0000007fef27ecb0 pc 0000007f7ae69724 pstate 0000000020000000
01-10 23:59:33.385 3688 3688 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3688 (vold)
01-10 23:59:33.385 307 307 F DEBUG :
01-10 23:59:33.385 307 307 F DEBUG : backtrace:
01-10 23:59:33.385 307 307 F DEBUG : #00 pc 000000000006a724 /system/lib64/libc.so (tgkill+8)
01-10 23:59:33.385 307 307 F DEBUG : #01 pc 0000000000067eb4 /system/lib64/libc.so (pthread_kill+68)
01-10 23:59:33.385 307 307 F DEBUG : #02 pc 0000000000020d90 /system/lib64/libc.so (raise+28)
01-10 23:59:33.385 307 307 F DEBUG : #03 pc 000000000001b6c0 /system/lib64/libc.so (abort+60)
01-10 23:59:33.385 307 307 F DEBUG : #04 pc 000000000000c8e4 /system/lib64/libcutils.so (__android_log_assert+236)
01-10 23:59:33.385 307 307 F DEBUG : #05 pc 0000000000099c5c /system/lib64/libEGL.so
01-10 23:59:33.385 307 307 F DEBUG : #06 pc 0000000000029108 /system/lib64/libEGL.so
01-10 23:59:33.385 307 307 F DEBUG : #07 pc 000000000002b10c /system/lib64/libEGL.so (eglGetDisplay+24)
01-10 23:59:33.385 307 307 F DEBUG : #08 pc 0000000000033518 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+76)
01-10 23:59:33.385 307 307 F DEBUG : #09 pc 0000000000001100 /system/bin/surfaceflinger
01-10 23:59:33.385 307 307 F DEBUG : #10 pc 00000000000196ec /system/lib64/libc.so (__libc_init+100)
01-10 23:59:33.385 307 307 F DEBUG : #11 pc 0000000000000fcc /system/bin/surfaceflinger
01-10 23:59:33.465 3345 3345 W dex2oat : Verification of void com.android.internal.telephony.cdma.CdmaLteServiceStateTracker.pollStateDone() took 115.139ms
01-10 23:59:33.725 2904 3041 I dex2oat : Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.<init>()
01-10 23:59:33.845 307 307 F DEBUG :
01-10 23:59:33.845 307 307 F DEBUG : Tombstone written to: /data/tombstones/tombstone_02
01-10 23:59:33.845 307 307 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
01-10 23:59:33.845 307 307 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
01-10 23:59:33.845 307 307 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-10 23:59:33.895 307 307 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-10 23:59:33.895 307 307 F DEBUG : Build fingerprint: 'Xiaomi/ferrari/ferrari:5.1.1/LMY48B:userdebug/test-keys'
01-10 23:59:33.895 307 307 F DEBUG : Revision: '0'
01-10 23:59:33.895 307 307 F DEBUG : ABI: 'arm64'
01-10 23:59:33.895 307 307 F DEBUG : pid: 3688, tid: 3688, name: vold >>> /system/bin/vold <<<
01-10 23:59:33.895 307 307 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-10 23:59:33.905 307 307 F DEBUG : Abort message: 'system/vold/main.cpp:167] Check failed: android::vold::sBlkidContext != nullptr '
01-10 23:59:33.935 307 307 F DEBUG : x0 0000000000000000 x1 0000000000000e68 x2 0000000000000006 x3 0000000000000000
01-10 23:59:33.935 307 307 F DEBUG : x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
01-10 23:59:33.935 307 307 F DEBUG : x8 0000000000000083 x9 0000005583332d70 x10 7f7f7f7fff7fff7f x11 0101010101010101
01-10 23:59:33.935 307 307 F DEBUG : x12 0000000000000000 x13 220a4e91ae66d8a0 x14 0000000000000001 x15 0000000000000005
01-10 23:59:33.935 307 307 F DEBUG : x16 0000007faac8a6a0 x17 0000007faac4d71c x18 0000007fab02c100 x19 0000007fab12d0b8
01-10 23:59:33.935 307 307 F DEBUG : x20 0000007fab12cff8 x21 0000000000000002 x22 0000000000000006 x23 000000556330ad45
01-10 23:59:33.935 307 307 F DEBUG : x24 00000000000000a7 x25 0000000000000000 x26 0000000000000005 x27 0000005583332d70
01-10 23:59:33.935 307 307 F DEBUG : x28 0000000000000000 x29 0000007fdc04db50 x30 0000007faac4aeb8
01-10 23:59:33.935 307 307 F DEBUG : sp 0000007fdc04db50 pc 0000007faac4d724 pstate 0000000020000000
01-10 23:59:33.935 307 307 F DEBUG :
01-10 23:59:33.935 307 307 F DEBUG : backtrace:
01-10 23:59:33.955 307 307 F DEBUG : #00 pc 000000000006a724 /system/lib64/libc.so (tgkill+8)
01-10 23:59:33.955 307 307 F DEBUG : #01 pc 0000000000067eb4 /system/lib64/libc.so (pthread_kill+68)
01-10 23:59:33.955 307 307 F DEBUG : #02 pc 0000000000020d90 /system/lib64/libc.so (raise+28)
01-10 23:59:33.955 307 307 F DEBUG : #03 pc 000000000001b6c0 /system/lib64/libc.so (abort+60)
01-10 23:59:33.955 307 307 F DEBUG : #04 pc 000000000000621c /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+884)
01-10 23:59:33.955 307 307 F DEBUG : #05 pc 000000000000f8c4 /system/bin/vold
01-10 23:59:33.955 307 307 F DEBUG : #06 pc 00000000000196ec /system/lib64/libc.so (__libc_init+100)
01-10 23:59:33.955 307 307 F DEBUG : #07 pc 000000000000eb1c /system/bin/vold
01-10 23:59:34.355 307 307 F DEBUG :
01-10 23:59:34.355 307 307 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
01-10 23:59:34.485 2904 3042 W dex2oat : Compilation of boolean android.accounts.IAccountManager$Stub.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 100.131ms
01-10 23:59:34.965 3200 3261 W dex2oat : Compilation of android.icu.util.TimeZone android.icu.impl.OlsonTimeZone.cloneAsThawed() took 110.908ms
01-10 23:59:35.085 3690 3690 I mediaserver: ServiceManager: 0xaacd6bf8
01-10 23:59:35.085 3690 3690 I AudioFlinger: Using default 3000 mSec as standby time.
01-10 23:59:35.095 3690 3690 E : batterystats service unavailable!
01-10 23:59:35.095 3690 3690 E : batterystats service unavailable!
01-10 23:59:35.105 276 276 E SELinux : avc: denied { add } for service=media.resource_manager scontext=u:r:mediaserver:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager
01-10 23:59:35.105 276 276 E ServiceManager: add_service('media.resource_manager',6) uid=1013 - PERMISSION DENIED
01-10 23:59:35.105 3690 3690 I CameraService: CameraService started (pid=3690)
01-10 23:59:35.105 3690 3690 I CameraService: CameraService process starting
01-10 23:59:35.105 3690 3690 E : batterystats service unavailable!
01-10 23:59:35.105 3690 3690 E : batterystats service unavailable!
01-10 23:59:35.155 3690 3690 D mm-camera-intf: get_num_of_cameras gMmCameraIntfLogLevel=1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name video0 type 65537 group id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name msm_cci type 131072 group id 0
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 3
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev0 type 131072 group id 0
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 4
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev1 type 131072 group id 0
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 5
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev2 type 131072 group id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 6
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev3 type 131072 group id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 7
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev4 type 131072 group id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 8
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev5 type 131072 group id 7
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 9
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev6 type 131072 group id 11
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 10
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev7 type 131072 group id 8
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 11
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev8 type 131072 group id 8
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 12
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name v4l-subdev9 type 131072 group id 14
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name video1 type 65537 group id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: Done enumerating media entities
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 1
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity name video2 type 65537 group id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: entity id 2
01-10 23:59:35.155 3690 3690 E mm-camera-intf: Done enumerating media entities
01-10 23:59:35.165 3690 3690 D mm-camera-intf: index = 0 flag = 1 mount_angle = 90 facing = 0
01-10 23:59:35.165 3690 3690 D mm-camera-intf: index = 1 flag = 103 mount_angle = 270 facing = 1
01-10 23:59:35.165 3690 3690 I CameraService: Loaded "QCamera Module" camera module
01-10 23:59:35.165 3690 3690 I CameraFlashlight: Opening camera 0
01-10 23:59:35.165 3690 3690 I QCamera2HWI: static void qcamera::QCamera2HardwareInterface::getLogLevel() gCamHalLogLevel=1
01-10 23:59:35.165 3690 3690 D QCamera2HWI: [KPI Perf] int qcamera::QCamera2HardwareInterface::openCamera(hw_device_t**): E PROFILE_OPEN_CAMERA camera id 0
01-10 23:59:35.165 3690 3690 E mm-camera-intf: mm_camera_open: dev name = /dev/video1, cam_idx = 1
01-10 23:59:35.185 3690 3717 D QCamera2HWI: static void* qcamera::QCamera2HardwareInterface::defferedWorkRoutine(void*): start data proc
01-10 23:59:35.185 3690 3716 D QCameraStateMachine: static void* qcamera::QCameraStateMachine::smEvtProcRoutine(void*): E
01-10 23:59:35.185 337 3718 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.195 337 3720 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.205 337 3721 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.205 337 3721 E mm-camera: isp_tintless_get_version: lib returned version 3.61 err=0
01-10 23:59:35.215 337 3722 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.265 337 3725 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.265 337 3725 D mm-camera: cpp_module_start_session:423, info: starting session 1
01-10 23:59:35.275 337 3726 D mm-camera: mct_pipeline_start_session_thread thread_id is -1
01-10 23:59:35.275 337 3726 E mm-camera-img: module_imglib_start_session:1446 ###Img_Loglevel 0
01-10 23:59:35.345 2904 3042 W dex2oat : Compilation of boolean android.app.ApplicationThreadNative.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 141.105ms
01-10 23:59:35.355 337 3718 E mm-camera-sensor: eeprom_load_library:702 e_ctrl->eeprom_lib.func_tbl =0xf6394004
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_afdata:229 Loading AF data!
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata:149 Loading WB data
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:109 r_over_g b_over_g gr_over_gb
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.355 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.365 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.365 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.365 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.365 337 3718 E mm-camera-sensor: imx214_ofilm_sunny_format_wbdata_internal:114 R_G: 0.606445
B_G: 0.696289 GR_GB: 1.000000
01-10 23:59:35.415 3345 3429 W dex2oat : Method processed more than once: void android.icu.text.NumberFormat.<clinit>()
01-10 23:59:35.475 337 3725 D mm-camera: cpp_module_start_session:485, info: session 1 started.
01-10 23:59:35.475 337 3725 D mm-camera: c2d_module_start_session:345, info: starting session 1
01-10 23:59:35.475 337 3731 D mm-camera: cpp_thread_func:63: cpp_thread entering the polling loop...thread_id is -1
01-10 23:59:35.475 337 3718 E mm-camera-sensor: actuator_load_lib:351 name=rohm_bu64244gwz, mode=camera
01-10 23:59:35.485 337 3732 D mm-camera: c2d_thread_func:45: c2d_thread entering the polling loop... thread_id is -1
01-10 23:59:35.495 337 3725 D mm-camera: c2d_module_start_session:419, info: session 1 started.
01-10 23:59:35.495 337 3718 E mm-camera-sensor: actuator_load_lib:351 name=rohm_bu64244gwz, mode=camcorder
01-10 23:59:35.495 337 3718 E mm-camera-sensor: eeprom_do_af_calibration:627 turn on Cal af(1)
01-10 23:59:35.535 337 3735 D mm-camera: mct_controller_thread_run thread_id is -1
01-10 23:59:35.535 3690 3690 E mm-camera-intf: mm_camera_open: opened, break out while loop
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*) : alloc E count=1 size=7128
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*) : alloc E count=1 size=7128
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: int qcamera::QCameraMemory::alloc(int, size_t, unsigned int) : No memory pool available and So allocate new buffer
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: static int qcamera::QCameraMemory::allocOneBuffer(qcamera::QCameraMemory::QCameraMemInfo&, unsigned int, size_t, bool) : ION buffer 1 with size 8192 allocated
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) : X
01-10 23:59:35.535 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) : X
01-10 23:59:35.535 337 3735 D mm-camera: mct_pipeline_populate_query_cap_buffer: totalram = 1884225536, freeram = 755716096
01-10 23:59:35.535 3690 3690 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::openCamera(): enable_4k2k is 0
01-10 23:59:35.535 3690 3690 D mm-jpeg-intf: jpeg_open gMmCameraJpegLogLevel=1
01-10 23:59:35.585 3690 3690 E qomx_image_core: OMX_Init:94] Complete 2
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*) : alloc E count=1 size=1048576
01-10 23:59:35.585 3690 3690 E QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*):HeapMemsize 1048576
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*) : alloc E count=1 size=1048576
01-10 23:59:35.585 3690 3690 E QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocStart(size_t, int, const char*):Memsize 1048576
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: int qcamera::QCameraMemory::alloc(int, size_t, unsigned int) : No memory pool available and So allocate new buffer
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: static int qcamera::QCameraMemory::allocOneBuffer(qcamera::QCameraMemory::QCameraMemInfo&, unsigned int, size_t, bool) : ION buffer 1 with size 1048576 allocated
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) : X
01-10 23:59:35.585 3690 3690 E QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) 1048576
01-10 23:59:35.585 3690 3690 D QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) : X
01-10 23:59:35.585 3690 3690 E QCameraHWI_Mem: void qcamera::QCameraMemory::traceLogAllocEnd(size_t) 1048576
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): supported preview sizes: 1920x1080,1280x960,1280x720,864x480,800x480,768x432,720x480,640x480,576x432,480x320,384x288,352x288,320x240,240x160,176x144,160x120,144x176
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): supported video sizes: 1920x1080,1280x960,1280x720,864x480,800x480,720x480,640x480,480x320,352x288,320x240,176x144,160x120
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): supported pic sizes: 4160x3120,4000x3000,4208x2368,4096x2160,3200x2400,2592x1944,2592x1458,2048x1536,1920x1080,1600x1200,1280x960,1280x768,1280x720,1024x768,800x600,800x480,720x480,640x480,352x288,320x240,176x144,160x120
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): supported fps ranges: (15000,15000),(24000,24000),(7500,30000),(30000,30000)
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setPreviewFpsRange(int, int, int, int): Updated: minFps = 7500, maxFps = 30000 , vid minFps = 7500, vid maxFps = 30000
01-10 23:59:35.605 3690 3690 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): level: 0, preview minfps 7500.000000, preview maxfpS 30000.000000, video minfps 7500.000000, video maxfpS 30000.000000
01-10 23:59:35.605 3690 3690 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS [7.50,30.00, 7.50,30.00], frameskip 0
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setPreviewFpsRange(int, int, int, int): Thermal adjusted Preview fps range 7.50,30.00, 7.50, 30.00
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): supported fps rates: 8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setFocusMode(const char*): Setting focus mode auto
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setWhiteBalance(const char*): Setting WhiteBalance value auto
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setFlash(const char*): Setting Flash value off
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setSceneMode(const char*): Setting SceneMode auto
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setISOValue(const char*): Setting ISO value auto
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(), Exposure time min 1.000000 ms, max 2000.000000 ms
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(), ISO min 100, max 3200
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setAEBracket(const char*), EXP_BRACKETING_OFF
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setDISValue(const char*): Setting DIS value disable
01-10 23:59:35.605 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::initDefaultParameters(): totalram = 1884225536, freeram = 743600128
01-10 23:59:35.605 337 3735 D mm-camera: mct_pipeline_process_set:command=800000e
01-10 23:59:35.615 3690 3690 D QCameraParameters: int32_t qcamera::QCameraParameters::setNumOfSnapshot(): nBurstNum = 1, nExpnum = 1
01-10 23:59:35.615 3690 3690 I Thermal-Lib: Thermal-Lib-Client: Registraion successful for camera with handle:1
01-10 23:59:35.615 3690 3690 I Thermal-Lib: Thermal-Lib-Client: Registraion successful for camcorder with handle:2
01-10 23:59:35.635 326 770 I ThermalEngine: Thermal-Server: Adding thermal event listener on fd 46
01-10 23:59:35.635 3690 3690 I ServiceManager: Waiting for service SurfaceFlinger...
01-10 23:59:35.645 3690 3742 I Thermal-Lib: Thermal-Lib-Client: Client received msg camera 0
01-10 23:59:35.645 3690 3716 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): level: 0, preview minfps 7500.000000, preview maxfpS 30000.000000, video minfps 7500.000000, video maxfpS 30000.000000
01-10 23:59:35.645 3690 3716 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS [7.50,30.00, 7.50,30.00], frameskip 0
01-10 23:59:35.645 337 3735 D mm-camera: mct_pipeline_process_set:command=800000e
01-10 23:59:35.645 3690 3742 I Thermal-Lib: Thermal-Lib-Client: Client received msg camcorder 0
01-10 23:59:35.645 3690 3716 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): level: 0, preview minfps 7500.000000, preview maxfpS 30000.000000, video minfps 7500.000000, video maxfpS 30000.000000
01-10 23:59:35.645 3690 3716 D QCamera2HWI: int qcamera::QCamera2HardwareInterface::calcThermalLevel(qcamera::qcamera_thermal_level_enum_t, int, int, cam_fps_range_t&, msm_vfe_frame_skip_pattern&): Thermal level 0, FPS [7.50,30.00, 7.50,30.00], frameskip 0
01-10 23:59:35.645 337 3735 D mm-camera: mct_pipeline_process_set:command=800000e
01-10 23:59:35.735 2904 3039 W dex2oat : Compilation of boolean android.app.ActivityManagerNative.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 694.621ms
01-10 23:59:35.765 2904 3042 W dex2oat : Compilation of void android.app.ActivityThread.dumpMemInfoTable(java.io.PrintWriter, android.os.Debug$MemoryInfo, boolean, boolean, boolean, boolean, int, java.lang.String, long, long, long, long, long, long) took 119.554ms
01-10 23:59:35.775 2915 3048 W dex2oat : Compilation of boolean android.app.admin.IDevicePolicyManager$Stub.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 556.333ms
01-10 23:59:36.535 3345 3429 W dex2oat : Method processed more than once: java.lang.String java.lang.AbstractStringBuilder.substring(int)
01-10 23:59:36.635 3690 3690 I ServiceManager: Waiting for service SurfaceFlinger...
01-10 23:59:36.855 3345 3429 W dex2oat : Method processed more than once: void java.util.Properties.load(java.io.Reader)
01-10 23:59:37.225 3345 3429 W dex2oat : Method processed more than once: java.lang.String java.lang.IntegralToString.stringOf(char[])
01-10 23:59:37.505 3200 3261 W dex2oat : Compilation of void android.icu.text.DecimalFormat.applyPatternWithoutExpandAffix(java.lang.String, boolean) took 269.744ms
01-10 23:59:37.655 3690 3690 I ServiceManager: Waiting for service SurfaceFlinger...
01-10 23:59:37.875 3345 3429 W dex2oat : Method processed more than once: java.lang.String com.android.org.bouncycastle.util.Strings.toLowerCase(java.lang.String)
01-10 23:59:37.895 3491 3627 W dex2oat : Verification of boolean android.app.ActivityManagerNative.onTransact(int, android.os.Parcel, android.os.Parcel, int) took 175.574ms
01-10 23:59:37.945 3200 3261 W dex2oat : Compilation of boolean android.icu.text.DecimalFormat.subparse(java.lang.String, java.text.ParsePosition, android.icu.text.DigitList, boolean[], android.icu.util.Currency[], java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, int) took 108.854ms
01-10 23:59:37.955 276 276 I ServiceManager: service 'media.audio_flinger' died
01-10 23:59:37.955 276 276 I ServiceManager: service 'media.player' died
01-10 23:59:37.955 337 3735 D mm-camera: mct_pipeline_process_set:command=800000b
01-10 23:59:37.985 326 770 I ThermalEngine: Thermal-Server: removing client on fd 46
01-10 23:59:37.995 337 337 D mm-camera: mct_pipeline_stop_session - E
01-10 23:59:38.005 3770 3770 E sdcard : usage: sdcard [OPTIONS] <source_path> <label>
01-10 23:59:38.005 3770 3770 E sdcard : -u: specify UID to run as
01-10 23:59:38.005 3770 3770 E sdcard : -g: specify GID to run as
01-10 23:59:38.005 3770 3770 E sdcard : -U: specify user ID that owns device
01-10 23:59:38.005 3770 3770 E sdcard : -m: source_path is multi-user
01-10 23:59:38.005 3770 3770 E sdcard : -w: runtime write mount has full write access
01-10 23:59:38.005 3770 3770 E sdcard :
sykomaniac said:
Trying - Not working: I am using CM13 despite th eincorrect buid fingerprint
Code:
- logcat -
Click to expand...
Click to collapse
this is a lollipop kernel, so it won't work with any thing else. It works with my latest cm-12.1 build released in @omerjerk's thread.
i haven't rebased it yet onto a marshmallow kernel, but am looking forward to doing it soon.
how to flash this?
valenrock said:
how to flash this?
Click to expand...
Click to collapse
fastboot flash boot *.img
work for me, But I did not see much of a difference in the smoothness of the interface compared with the core of the latest firmware from @omerjerk's thread. and Miui still smoother.
PS: This morning I had sleep of death on this Kernel!(
some question ,well i confused with MSM thing
the question is,why we are using msm 8916,but we are using msm 8939 ,some common driver ? ,or every msm is connected each other
PavelPerm said:
work for me, But I did not see much of a difference in the smoothness of the interface compared with the core of the latest firmware from @omerjerk's thread. and Miui still smoother.
PS: This morning I had sleep of death on this Kernel!(
Click to expand...
Click to collapse
This is not a kernel meant for everyday usage except if like to live on the edge. This kernel will fail at some point, because we haven't got to the point of making it entirely bug-free. Also, stability is quite a relative term.
If MIUI feels smoother than custom ROMs, we do not know what sorcery Xiaomi did with their sources to get it into being so. Try asking them that. And also, their latest MIUI v7's updated firmware doesn't work with the kernel sources they provided. "We support OSS" does not mean you provide the sources for software you shipped months ago.
The sleep of death is an issue which I've faced, but haven't been able to log quite. Forcing a restart in that state (pressing all three buttons together(?)) would induce a hard reset, which essentially clears out ramoops. Continually logging kmsg in the background would be an option.
Speaking of bugs, the USB seems to be connected/disconnected quite often during charging/using the USB. I am not sure what is causing this yet.
faizauthar12 said:
some question ,well i confused with MSM thing
the question is,why we are using msm 8916,but we are using msm 8939 ,some common driver ? ,or every msm is connected each other
Click to expand...
Click to collapse
Code Aurora groups devices together based on similarities in architecture. That is the reason why you'll find the Snapdragon 410, and Snapdragon 615 (and possibly others?) under msm8916_64. Also, their tags naming convention is quite complex in itself, after all, they have to support not one, but ALL of the platforms released by qualcomm. I quote myself, on this regard.
i wish caf better make up their mind about naming tags :|
Click to expand...
Click to collapse
tl;dr: msm8916_64 is the platform we need to follow since msm8939 does not exist and is maintained under msm8916_64.
Let.s update the kernel version ,more stable i think ,and fluid ,or we need a new gov ,
How about adding some good tweaks to the kernel source (ur caf repo,ferrari dev group)
faizauthar12 said:
Let.s update the kernel version ,more stable i think ,and fluid ,or we need a new gov ,
Click to expand...
Click to collapse
i do not want to update the kernel version for the very reasons i state in the OP, "the mainline kernel can have changes that can cause regressions and possibly conflict with CAF changes".
Also, @omerjerk observed that updating the kernel version causes issues with Clash of Clans; and apparently, it's a famous (enough) game to stop users from using a particular kernel because of the issue.
faizauthar12 said:
How about adding some good tweaks to the kernel source (ur caf repo,ferrari dev group)
Click to expand...
Click to collapse
no. the answer is never about adding good tweaks or new governors. CAF has a stable enough interactive governor, which should theoretically work well. all the tweaking should be able to be done by the user side and the kernel should provide options for this. however, if the default CAF kernel itself lags for us, then, it is probably something wrong with the device bringup in kernel.
@thewisenerd ,close enough ,thx for the infos ,i have a limited knowledge at snapdragon
You can try the patch some user posted in my thread for the Miui7 fix... Also you just added what xiaomi changed in the sources right? No other added stuff from other CAF sources?
haikalizz said:
You can try the patch some user posted in my thread for the Miui7 fix... Also you just added what xiaomi changed in the sources right? No other added stuff from other CAF sources?
Click to expand...
Click to collapse
i wonder if this is about the firmware provided by @Tsutsey (here) for MIUI 7. If yes, I would like to know what and how different it is from the MIUI global firmware already available on my basket build firmware-lp-6.6.10.0.zip?
The second part of your question is not very clear.
I did change the CAF source, as in: I changed the "base" on which I added only xiaomi's changes.
You can have a look at github for all the commits from day zero.
thewisenerd said:
i wonder if this is about the firmware provided by @Tsutsey (here) for MIUI 7. If yes, I would like to know what and how different it is from the MIUI global firmware already available on my basket build firmware-lp-6.6.10.0.zip?
The second part of your question is not very clear.
I did change the CAF source, as in: I changed the "base" on which I added only xiaomi's changes.
You can have a look at github for all the commits from day zero.
Click to expand...
Click to collapse
any support for aosp 6.0.1??
@hashroot
well,am looking for it too from thewisenerd
also i found this repo
based on 6.0.1 CAF(forget which tag he used)
https://github.com/vasishath/android_kernel_xiaomi_ferrari/commits/ferrari_caf
faizauthar12 said:
@hashroot
well,am looking for it too from thewisenerd
also i found this repo
based on 6.0.1 CAF(forget which tag he used)
https://github.com/vasishath/android_kernel_xiaomi_ferrari/commits/ferrari_caf
Click to expand...
Click to collapse
its tag LA.BR.1.2.7-00410-8x16.0 i'm guessing.
and yes, this tag is for aosp-6.x.
@thewisenerd
i already tried to build your CAF kernel
with cm-12.1 source,but the results is... i can't pass Mi splash screen
and the Mi Splash screen going broken with a rainbow color
is it any extra libs / repo we need to use?
thank you
i have probelem after installing coustom rom.plz help me
after finishing boot the phone get switch off and after turning it on the touch is not responding stucked on language on language selection.

Help with CM13 boot loop - logcat included

Hi,
my oneplus one with CM13 (14_06 build) is stuck in a bootloop and I don't know how to solve.
Here's what I have tried to do:
Wipe cache
Flash a previous build
Delete the last apps I have installed via adb (pm uninstall APPNAME)
The last thing I have done before rebooting is installing the GMSCore from MicroG project (Yes, I don't have gapps).
http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
Then I have successfully removed the gsmcore via adb but the bootloop continued.
The phone reboots when "Prearing contacts storage" appears....
Here's my logcat (*:E)
Code:
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
06-14 14:46:48.623 3654 3654 E installd: eof
06-14 14:46:48.623 3654 3654 E installd: failed to read size
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Unable to open prefetcher: dlopen failed: library "libqti-iop-client.so" not found
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Failed to get prefetcher handle.
06-14 14:46:49.305 4935 4935 E QCOM PowerHAL: Invalid hint ID.
06-14 14:46:49.894 4935 4935 E art : DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open Opening device /dev/snd/hwC0D1000
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open success
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for anc_cal
06-14 14:46:51.356 3653 3653 E ACDB-LOADER: ACDB -> send_codec_cal
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for mad_cal
06-14 14:46:51.357 3653 3653 E msm8974_platform: send_codec_cal cal sent for mbhc_cal
06-14 14:46:51.358 3653 3653 E audio_hw_primary: Amplifier initialization failed
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.386 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.397 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.430 3653 3653 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
06-14 14:46:51.435 3653 5160 E AudioFlinger: no wake lock to update!
06-14 14:46:51.437 3653 5161 E AudioFlinger: no wake lock to update!
06-14 14:46:51.443 3653 5163 E AudioFlinger: no wake lock to update!
06-14 14:46:51.455 3653 3653 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
06-14 14:46:51.460 3653 3653 E RadioService: couldn't load radio module radio.primary (No such file or directory)
06-14 14:46:52.409 3649 3649 E Netd : netlink response contains error (File exists)
06-14 14:46:52.409 3649 3649 E Netd : Can't add IPv4 default route to dummy0: File exists
06-14 14:46:53.221 3657 5266 E QC-QMI : qmi_client [3657] 16: failed to locate client data
06-14 14:46:53.222 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.222 3656 3656 E QC-QMI : QMUX qmux_client_id=16 not found in qmux client list, unable to remove
06-14 14:46:53.228 3657 5272 E QC-QMI : qmi_client [3657] 17: failed to locate client data
06-14 14:46:53.229 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.229 3656 3656 E QC-QMI : QMUX qmux_client_id=17 not found in qmux client list, unable to remove
06-14 14:46:53.328 3656 3718 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.562 3656 3729 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.848 3656 3735 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.073 3656 3745 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.252 3656 3749 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.538 3656 3756 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.800 3656 3760 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:55.083 3656 3776 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:47:22.040 4935 4935 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
06-14 14:47:22.042 3654 3654 E installd: invalid apk path '/system/framework/org.cyanogenmod.platform-res.apk' (bad prefix)
06-14 14:47:22.225 4935 5987 E qti_sensors_hal: SensorsContext: Hal opened lib /system/lib/hw/sensors.oem.so failed!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle is -1 or error is true or mSensors[handle] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5987 E qti_sensors_hal: OEMAddSensors : The OEM_module is NULL!
06-14 14:47:22.350 4935 4935 E ConsumerIrService: Can't open consumer IR HW Module, error: -2
06-14 14:47:22.504 4935 6037 E EventHub: could not get driver version for /dev/input/mice, Not a typewriter
06-14 14:47:22.550 4935 6037 E filemap : mmap(0,4096) failed: No such device

[MIUI 8] [N900] Miui Build From Source

I Have Successfully Ported MIUI 8 From Galaxy S4 Exynos Variant 32bit
Started building from source instead
Bugs Need to be fixed
Code:
--------- beginning of crash
01-05 20:11:42.003 2664 2664 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2664 (main)
01-05 20:11:42.004 2438 2438 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
01-05 20:11:42.004 2438 2438 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
01-05 20:11:42.004 2438 2438 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-05 20:11:42.054 2438 2438 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-05 20:11:42.054 2438 2438 F DEBUG : CM Version: 'unknown'
01-05 20:11:42.054 2438 2438 F DEBUG : Build fingerprint: 'samsung/aicp_ha3g/ha3g:6.0.1/M4B30X/3c24405d17:userdebug/test-keys'
01-05 20:11:42.054 2438 2438 F DEBUG : Revision: '0'
01-05 20:11:42.055 2438 2438 F DEBUG : ABI: 'arm'
01-05 20:11:42.055 2438 2438 F DEBUG : pid: 2664, tid: 2664, name: main >>> /system/bin/dex2oat <<<
01-05 20:11:42.055 2438 2438 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-05 20:11:42.063 2438 2438 F DEBUG : Abort message: 'art/compiler/oat_writer.cc:627] java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available'
01-05 20:11:42.063 2438 2438 F DEBUG : r0 00000000 r1 00000a68 r2 00000006 r3 00000000
01-05 20:11:42.063 2438 2438 F DEBUG : r4 b6f6ab88 r5 00000006 r6 b6f6ab38 r7 0000010c
01-05 20:11:42.063 2438 2438 F DEBUG : r8 b6bf1d22 r9 bef67bb9 sl b6bf1d29 fp b6bf1d2b
01-05 20:11:42.063 2438 2438 F DEBUG : ip 00000000 sp bef67b10 lr b6763255 pc b67659b8 cpsr 20070010
01-05 20:11:42.096 2438 2438 F DEBUG :
01-05 20:11:42.096 2438 2438 F DEBUG : backtrace:
01-05 20:11:42.096 2438 2438 F DEBUG : #00 pc 0004a9b8 /system/lib/libc.so (tgkill+12)
01-05 20:11:42.096 2438 2438 F DEBUG : #01 pc 00048251 /system/lib/libc.so (pthread_kill+36)
01-05 20:11:42.096 2438 2438 F DEBUG : #02 pc 0001bfcb /system/lib/libc.so (raise+10)
01-05 20:11:42.096 2438 2438 F DEBUG : #03 pc 00018875 /system/lib/libc.so (__libc_android_abort+36)
01-05 20:11:42.096 2438 2438 F DEBUG : #04 pc 0001650c /system/lib/libc.so (abort+4)
01-05 20:11:42.096 2438 2438 F DEBUG : #05 pc 002a154f /system/lib/libart.so (_ZN3art7Runtime5AbortEv+274)
01-05 20:11:42.096 2438 2438 F DEBUG : #06 pc 0008f749 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+872)
01-05 20:11:42.096 2438 2438 F DEBUG : #07 pc 0008c1f3 /system/lib/libart.so (_ZN3art7BarrierD2Ev+366)
01-05 20:11:42.096 2438 2438 F DEBUG : #08 pc 002c671f /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+194)
01-05 20:11:42.097 2438 2438 F DEBUG : #09 pc 002abd67 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+314)
01-05 20:11:42.097 2438 2438 F DEBUG : #10 pc 002a14a3 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+102)
01-05 20:11:42.097 2438 2438 F DEBUG : #11 pc 0008f749 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+872)
01-05 20:11:42.097 2438 2438 F DEBUG : #12 pc 00288a33 /system/lib/libart-compiler.so
01-05 20:11:42.097 2438 2438 F DEBUG : #13 pc 00284ff3 /system/lib/libart-compiler.so (_ZN3art9OatWriter15VisitDexMethodsEPNS0_16DexMethodVisitorE+254)
01-05 20:11:42.097 2438 2438 F DEBUG : #14 pc 00284c8d /system/lib/libart-compiler.so (_ZN3art9OatWriter19InitOatCodeDexFilesEj+240)
01-05 20:11:42.097 2438 2438 F DEBUG : #15 pc 00283d15 /system/lib/libart-compiler.so (_ZN3art9OatWriterC2ERKNSt3__16vectorIPKNS_7DexFileENS1_9allocatorIS5_EEEEjjiPKNS_14CompilerDriverEPNS_11ImageWriterEPNS_12TimingLoggerEPNS_7SafeMapINS1_12basic_stringIcNS1_11char_traitsIcEENS6_IcEEEESN_NS1_4lessISN_EENS_17TrackingAllocatorINS1_4pairIKSN_SN_EELNS_12AllocatorTagE6EEEEE+468)
01-05 20:11:42.097 2438 2438 F DEBUG : #16 pc 00011be5 /system/bin/dex2oat
01-05 20:11:42.097 2438 2438 F DEBUG : #17 pc 00007033 /system/bin/dex2oat (main+2026)
01-05 20:11:42.097 2438 2438 F DEBUG : #18 pc 00016335 /system/lib/libc.so (__libc_init+52)
01-05 20:11:42.097 2438 2438 F DEBUG : #19 pc 00006770 /system/bin/dex2oat
01-05 20:11:42.175 2664 2664 W main : type=1701 audit(0.0:136): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel reason="memory violation" sig=6
01-05 20:11:42.178 2438 2438 F DEBUG :
01-05 20:11:42.178 2438 2438 F DEBUG : Tombstone written to: /data/tombstones/tombstone_00
01-05 20:11:42.224 2453 2453 E art : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Failed to generate image '/data/dalvik-cache/arm/[email protected]@boot.art': Failed execv(/system/bin/dex2oat --image=/data/dalvik-cache/arm/[email protected]@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/framework/okhttp.jar --dex-file=/system/framework/core-junit.jar --dex-file=/system/framework/bouncycastle.jar --dex-file=/system/framework/ext.jar --dex-file=/system/framework/framework.jar --dex-file=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-file=/system/framework/ims-common.jar --dex-file=/system/framework/apache-xml.jar --dex-file=/system/framework/org.apache.http.legacy.boot.jar --dex-file=/system/framework/org.dirtyunicorns.utils.jar --dex-file=/system/framework/patchrom-core.jar --dex-file=/system/app/miui/miui.apk --dex-file=/system/app/miuisystem/miuisys
01-05 20:11:43.887 2453 2453 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-05 20:11:44.137 2453 2453 I Radio-JNI: register_android_hardware_Radio DONE
01-05 20:11:44.220 2453 2453 I SamplingProfilerIntegration: Profiling disabled.
01-05 20:11:44.222 2453 2453 D Zygote : begin preload
01-05 20:11:44.224 2453 2453 I Zygote : Preloading classes...
01-05 20:11:45.197 2453 2453 E Minikin : addFont failed to create font /system/fonts/NanumGothic.ttf
01-05 20:11:45.199 2453 2453 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
01-05 20:11:45.199 2453 2453 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
01-05 20:11:45.412 2453 2453 V DngCreator_JNI: DngCreator_nativeClassInit:
01-05 20:11:46.827 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:46.827 2453 2453 D MtpDeviceJNI: register_android_mtp_MtpDevice
01-05 20:11:46.828 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:46.829 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:47.779 2453 2453 W System : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
01-05 20:11:48.391 2453 2453 I System : Loaded time zone names for "" in 32ms (27ms in ICU)
01-05 20:11:48.451 2453 2453 I System : Loaded time zone names for "en_US" in 60ms (18ms in ICU)
01-05 20:11:48.845 2453 2453 I Zygote : ...preloaded 3863 classes in 4621ms.
01-05 20:11:48.845 2453 2453 I art : VMRuntime.preloadDexCaches starting
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches strings total=317779 before=10521 after=10521
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches types total=28582 before=9344 after=13243
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches fields total=125182 before=38077 after=51510
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches methods total=214853 before=71519 after=88232
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches finished
01-05 20:11:48.945 2941 2941 D idmap : error: no read access to /vendor/overlay: No such file or directory
01-05 20:11:49.003 2453 2453 I Zygote : Preloading resources...
01-05 20:11:49.157 2453 2453 W Resources: Preloaded drawable resource #0x1080096 (android:drawable/toast_frame) that varies with configuration!!
01-05 20:11:49.202 2453 2453 I Zygote : ...preloaded 86 resources in 199ms.
01-05 20:11:49.202 2453 2453 I Zygote : ...preloaded 0 resources in 0ms.
01-05 20:11:49.234 2453 2453 D libEGL : loaded /vendor/lib/egl/libGLES_mali.so
01-05 20:11:49.243 2453 2453 I Zygote : Preloading shared libraries...
01-05 20:11:49.258 2453 2453 D Zygote : end preload
01-05 20:11:49.258 2453 2453 I art : Starting a blocking GC Explicit
01-05 20:11:49.269 2453 2453 I art : Explicit concurrent mark sweep GC freed 1010(49KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 100us total 11.220ms
01-05 20:11:49.273 2453 2453 I art : Starting a blocking GC Explicit
01-05 20:11:49.283 2453 2453 I art : Explicit concurrent mark sweep GC freed 388(15KB) AllocSpace objects, 1(28KB) LOS objects, 39% free, 13MB/22MB, paused 97us total 10.547ms
01-05 20:11:49.285 2453 2940 I art : Starting a blocking GC HeapTrim
01-05 20:11:49.286 2453 2453 I art : Starting a blocking GC Background
01-05 20:11:49.379 2453 2453 I Zygote : System server process 2942 has been created
01-05 20:11:49.383 2453 2453 I Zygote : Accepting command socket connections
01-05 20:11:49.390 2942 2942 I InstallerConnection: connecting...
01-05 20:11:49.391 2442 2442 I installd: new connection
01-05 20:11:49.419 2953 2953 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.419 2953 2953 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.421 2953 2953 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.425 2953 2953 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.425 2953 2953 E dex2oat : Failed to create runtime
01-05 20:11:49.426 2953 2953 I dex2oat : dex2oat took 8.203ms (threads: 4)
01-05 20:11:49.429 2442 2442 E installd: DexInv: --- END '/system/framework/org.cyanogenmod.platform.jar' --- status=0x0100, process failed
01-05 20:11:49.469 2955 2955 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.470 2955 2955 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.472 2955 2955 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.479 2955 2955 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.479 2955 2955 E dex2oat : Failed to create runtime
01-05 20:11:49.481 2955 2955 I dex2oat : dex2oat took 12.580ms (threads: 4)
01-05 20:11:49.484 2442 2442 E installd: DexInv: --- END '/system/framework/org.cyanogenmod.hardware.jar' --- status=0x0100, process failed
01-05 20:11:49.524 2957 2957 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.525 2957 2957 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.528 2957 2957 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.538 2957 2957 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.538 2957 2957 E dex2oat : Failed to create runtime
01-05 20:11:49.541 2957 2957 I dex2oat : dex2oat took 17.213ms (threads: 4)
01-05 20:11:49.545 2442 2442 E installd: DexInv: --- END '/system/framework/services.jar' --- status=0x0100, process failed
01-05 20:11:49.609 2959 2959 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.610 2959 2959 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.615 2959 2959 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.623 2959 2959 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.624 2959 2959 E dex2oat : Failed to create runtime
01-05 20:11:49.627 2959 2959 I dex2oat : dex2oat took 18.721ms (threads: 4)
01-05 20:11:49.631 2442 2442 E installd: DexInv: --- END '/system/framework/ethernet-service.jar' --- status=0x0100, process failed
01-05 20:11:49.700 2961 2961 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.701 2961 2961 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.706 2961 2961 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.716 2961 2961 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.716 2961 2961 E dex2oat : Failed to create runtime
01-05 20:11:49.719 2961 2961 I dex2oat : dex2oat took 19.602ms (threads: 4)
01-05 20:11:49.723 2442 2442 E installd: DexInv: --- END '/system/framework/wifi-service.jar' --- status=0x0100, process failed
01-05 20:11:49.786 2963 2963 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.788 2963 2963 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.793 2963 2963 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.801 2963 2963 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.802 2963 2963 E dex2oat : Failed to create runtime
01-05 20:11:49.805 2963 2963 I dex2oat : dex2oat took 19.133ms (threads: 4)
01-05 20:11:49.809 2442 2442 E installd: DexInv: --- END '/system/framework/patchrom-server.jar' --- status=0x0100, process failed
01-05 20:11:49.810 2942 2942 I InstallerConnection: disconnecting...
01-05 20:11:49.811 2442 2442 E installd: eof
01-05 20:11:49.811 2442 2442 E installd: failed to read size
01-05 20:11:49.811 2442 2442 I installd: closing connection
01-05 20:11:49.813 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:49.882 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:49.888 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.355 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.357 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.456 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.508 2942 2942 I SystemServer: Entered the Android system server!
01-05 20:11:50.561 2942 2942 I SystemServiceManager: Starting com.android.server.pm.Installer
01-05 20:11:50.564 2942 2942 I Installer: Waiting for installd to be ready.
01-05 20:11:50.564 2942 2942 I InstallerConnection: connecting...
01-05 20:11:50.564 2442 2442 I installd: new connection
01-05 20:11:50.564 2942 2942 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.721 2942 2942 I ActivityManager: Memory class: 288
01-05 20:11:50.836 2942 2942 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
01-05 20:11:50.879 2942 2942 I AppOps : No existing app ops /data/system/appops.xml; starting empty
01-05 20:11:50.958 2942 2942 I IntentFirewall: Read new rules (A:0 B:0 S:0)
01-05 20:11:51.004 2942 2942 I FeatureParser: can't find ha3g.xml in assets/device_features/,it may be in /system/etc/device_features
01-05 20:11:51.009 2942 2942 D AppOps : AppOpsService published
01-05 20:11:51.010 2942 2942 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
So in Need For Help to fix those bugs then the rom will be released immediately and This Rom is based on AICP by tincho5588
XDA:DevDB Information
MIUI 8 Port, ROM for the Samsung Galaxy Note 3
Contributors
omarilzz, tincho5588
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Testing
Created 2016-12-24
Last Updated 2016-12-24
Very thanks
Reserved
When your rom uploaded?
tnx for port rom. android LP or MM ?
ok i found this ( i dont know about port or fix bug , just find it with google , sorry if not help you i dont know a lot of Port and build Custom rom ) :
1- SystemUi Carsh : wrong permissions
2- Clear Cache and Dalvik Cache
maybe help :
http://forum.xda-developers.com/showthread.php?t=2759479
http://www.zopomobile.com/forum/thread-439-1-1.html
Mohamad313 said:
Very thanks
Reserved
When your rom uploaded?
Click to expand...
Click to collapse
after i fix those 2 bugs
rasoulia said:
tnx for port rom. android LP or MM ?
ok i found this ( i dont know about port or fix bug , just find it with google , sorry if not help you i dont know a lot of Port and build Custom rom ) :
1- SystemUi Carsh : wrong permissions
2- Clear Cache and Dalvik Cache
maybe help :
http://forum.xda-developers.com/showthread.php?t=2759479
http://www.zopomobile.com/forum/thread-439-1-1.html
Click to expand...
Click to collapse
my rom is 6.0.x MM
Screen shot please
Mohamad313 said:
Screen shot please
Click to expand...
Click to collapse
i cant mate it reboots directly after booting and showing force close
Ok we waiting
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Kernel LOG
@tincho5588 @deadman96385
Miui 8 is One step a head i posed a log from kernel to fix random reboot and the three apps FC
So Help please
RYAN SHAY said:
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Click to expand...
Click to collapse
i Will add all u want but i want to fix the kernel reboot issue and force close first so we can at least have a booted rom and i used this already while porting XD
RYAN SHAY said:
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Click to expand...
Click to collapse
It will be almost impossible to add aircommand to this ROM since it's not based on TW ROM
---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------
Thanks a lot mate for your work I hope this will be our Christmas gift
Alexjudge999 said:
It will be almost impossible to add aircommand to this ROM since it's not based on TW ROM
---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------
Thanks a lot mate for your work I hope this will be our Christmas gift
Click to expand...
Click to collapse
nothing is impossible and yes merry Christmas
It's for N9005? and this custom have multilanguage?
beepoff15 said:
It's for N9005? and this custom have multilanguage?
Click to expand...
Click to collapse
No. Its for exynos version
Sent from my SM-N900 using XDA-Developers mobile app
beepoff15 said:
It's for N9005? and this custom have multilanguage?
Click to expand...
Click to collapse
It's for SM-N900 but there is already a MIUI 8 ROM for SM-N9005
@omarilzz When will it come Miui v8. Waiting impatiently please send me pleaaaaassseee i said im waiting and we waiting
what the point of spending time port crappy ios ripped off os to beautiful great aicp
better if import features from oneplus phones or motorolla
Abandoned War Place said:
what the point of spending time port crappy ios ripped off os to beautiful great aicp
better if import features from oneplus phones or motorolla
Click to expand...
Click to collapse
If you think that the MIUI is just a copy paste from IOS then you know nothing about it
lordondi said:
@omarilzz When will it come Miui v8. Waiting impatiently please send me pleaaaaassseee i said im waiting and we waiting
Click to expand...
Click to collapse
if god wills it the rom will be bugless ^^ but the problem that all apps crash when rom boots and i cant find any dev to help i messaged them all and no help so am stuck at no point the rom boots but all apps crash and self reboots

Android 7.1.2 no video image only sound

I have a nokia 5, after the upgrade of android version to 7.1.2 some apps stops to show video image , I just can hear the sound.
I found this on logcat
Code:
10-31 13:35:58.874 513 513 E SurfaceFlinger: CaptureScreen: layer name = pt.nowo.nowotv/androme.be.nebula.ui.boot.SplashScreen
10-31 13:35:58.913 2840 2840 E PBSessionCacheImpl: sessionId[12491961548232875] not persisted.
10-31 13:36:01.791 1506 1883 E WifiHAL : Received fatal event, sending alert
10-31 13:36:01.792 1506 1837 E WifiHAL : wifi_get_ring_data: Error -22 happened.
10-31 13:36:01.793 1506 1837 E WifiHAL : wifi_get_ring_data: Error -22 happened.
10-31 13:36:01.793 1506 1837 E WifiHAL : wifi_get_ring_data: Error -22 happened.
10-31 13:36:01.794 1506 1837 E WifiHAL : wifi_get_ring_data: Error -22 happened.
10-31 13:36:01.794 1506 1837 E WifiHAL : wifi_get_ring_data: Error -22 happened.
10-31 13:36:09.324 703 941 E QSEECOMAPI: Error::Cannot open the file /vendor/firmware/widevine.mdt errno = 2
10-31 13:36:09.324 703 941 E QSEECOMAPI: Error::Loading image failed with ret = -1
10-31 13:36:09.356 703 941 E DrmWidevineDash: sion_buffer g_wv_fhandle->ion_sbuffer 0x0xe8579000
10-31 13:36:09.366 564 566 E rpmb_emmc: ----------------------------rpmb_emmc_read-----------------------------
10-31 13:36:09.372 564 572 E QC-time-services: Receive Passed == base = 13, unit = 1, operation = 2, result = 0
10-31 13:36:09.372 686 734 E QC-time-services: Daemon: Time-services: Waiting to acceptconnection
10-31 13:36:09.373 686 734 E QC-time-services: Daemon: Time-services: Waiting to acceptconnection
10-31 13:36:09.400 703 703 E DrmWidevineDash: tz api security patch level = 0
10-31 13:36:09.782 702 702 E : Service not available yet
10-31 13:36:09.797 431 2516 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
10-31 13:36:09.952 702 943 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
10-31 13:36:09.959 702 943 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
10-31 13:36:09.959 702 943 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
10-31 13:36:09.959 702 943 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
10-31 13:36:09.963 702 943 E OMX-VDEC-1080P: Does not handle dataspace request
10-31 13:36:09.963 702 943 E OMXNodeInstance: getConfig(2be0037:qcom.decoder.avc.secure, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
10-31 13:36:10.396 702 702 E OMX-VDEC-1080P: Does not handle dataspace request
10-31 13:36:10.396 702 702 E OMXNodeInstance: getConfig(2be0037:qcom.decoder.avc.secure, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
10-31 13:36:10.494 702 2051 E OMX-VDEC-1080P: Does not handle dataspace request
10-31 13:36:10.494 702 2051 E OMXNodeInstance: getConfig(2be0037:qcom.decoder.avc.secure, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
10-31 13:36:10.634 697 7482 E msm8916_platform: platform_check_backends_match: Invalid snd_device2 =
10-31 13:36:10.651 697 7482 E audio_hw_dolby: audio_extn_dolby_ds2_set_endpoint: Dolby set endpint :0x2
10-31 13:36:13.647 513 513 E SurfaceFlinger: CaptureScreen: layer name = pt.nowo.nowotv/androme.be.nebula.ui.MainActivity
Also, on this android version I need to turn on/off the mobile data manually every time that I send / receive a MMS, is there any way to turn on mobile data automatically any time that I send / receive a MMS like other Android versions do?
Any one can help me to understand the issue and hopefully help me to fix it. Best regards
Even I face the same issue on android 7.1.2 but on a custom rom by Mokee, it happened when I entered wrong WiFi password for a certain network and the phone switched off itself and just vibrated for 4-5 seconds...

[CLOSED] EOL [ROM][Unofficial][9.0.0][microG][signed]hardened LineageOS 16.0 for Oneplus 3/3T

Thread is discontinued: Please visit the my LineageOS 17.1 successor thread
This thread is dedicated to provide hardened Lineage-OS 16.0 builds with microG included for the OnePlus 3/3T with current security patches.
It is the successor of my Lineage 15.1 thread.
It may be worth to also look there, if you are looking for information.
Features of this ROM
Download here
Pre-installed microG and F-Droid like LineageOS for microG project (own fork)
Pre-installed AuroraStore
OTA Support
eSpeakTTS engine
Additional security hardening features listed below
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors and other sensors
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disabling of captive portal detection
Firewall UI
No submission of IMSI/phone number to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView
Additional restrictions for secondary users
Increased password length
Kernel kept up to date with ASB patches and Google kernel/common 'android-3.18' branch
Debloated from Oneplus blobs for Alipay, WeChatpay, Soter and IFAA
Native Wireguard support in shipped kernel
Hardened bionic lib and constified JNI method tables
Current release levels
Security string: 2021-01-05
AOSP tag: 9.0.0_r46
Bromite System Webview: M87
Source-code and build instructions
Kernel: https://github.com/lin16-microg/android_kernel_oneplus_msm8996/tree/lin-16.0-mse2
Build manifest: https://github.com/lin16-microg/local_manifests/tree/lin-16.0-microG
Installation Instructions
YOU ARE RESPONSIBLE SOLELY YOURSELF FOR ANY ACTIONS YOU DO WITH YOUR DEVICE !!!
Please note - I won't explain any single aspect (e.g. how to install 'fastboot' on your PC or troubleshoot USB connectivity issues under Windows). Search the net and consult the search engine of your choice or look here in XDA, there is plenty of information available.
Pre-Requisites
Have fastboot and adb installed on your PC and make sure, you can connect via USB to your device in fastboot mode and via adb
An unlocked bootloader (see e.g. LineageOS install instructions)
Flash the OxygenOS 9.0.x firmware, which is needed for LineageOS 16.0 - READ THE OP OF THIS THREAD CAREFULLY !
Download the most current .ZIP file of the ROM and place it to your phone's internal memory
OxygenOS 9.x Firmware
Once again: READ THE OP OF THIS THREAD CAREFULLY !
I can't explain it better and I am not going to repeat or summarize this. It really is in your interest to carefully read it - you have been notified and warned.
Please also pay attention to the last section named "Alipay, WeChatpay, Soter and IFAA" - I strongly recommend to use the debloated firmware
Install TWRP recovery
If you come from stock ROM and have just unlocked your boot loader, this is the next thing to do. I recommend to use the TWRP recovery for the OnePlus 3/3T. The following instructions are based on TWRP.
To install TWRP, download the twrp-x.x.x-x-oneplus3.img file (Note: replace "x.x.x-x" in the following instructions with the respective values from the real file name) to your PC, connect the phone via USB to your PC, get it into 'fastboot mode' and enter the following command on your PC:
Code:
fastboot flash recovery twrp-x.x.x-x-oneplus3.img
Afterwards, directly boot into 'recovery mode' (enter fastboot reboot on your PC and hold Power and vol.down) - DO NOT boot into the phone's Android system after having flashed TWRP! Once TWRP has been launched, you may decide to reboot your phone and install the ROM at any time later. But the first boot after flashing TWRP must be TWRP in recovery mode.
Advanced Wipe
ONLY perform the steps described here, if you come from Stock ROM or a different Custom ROM!
Boot into recovery mode. In TWRP, choose "Wipe", "Advanced" and spefify "Dalvik", "System", "Cache" and "Data" to be wiped. Make sure NOT to wipe "Internal memory". Swipe to confirm the deletion and get back into the main menu.
DO NOT flash Gapps!
This ROM comes with pre-installed microG. So don't attempt to flash Gapps.
Install ROM
In the TWRP main menu, choose "Install". A file manager appears to let you navigate to your internal memory (path /sdcard). Choose the .ZIP file of our ROM and swipe to flash.
If you update from a previous version of my ROM, including my LineageOS 15.1 build, you don't need to perform a wipe. If you come from a different ROM (or stock firmware), make sure that you have performed the Wipe steps above.
When finished flashing, return to the main menu, choose "Reboot" and then "System", which will cause your phone to boot into Lineage OS 16.0 - be patient, the first boot after flashing a new ROM takes quite long!
Dealing with signed builds
Please note, that this builds is signed with an own key. When you come from a different build, you cannot directly "dirty-flash" this build. You have to perform a "clean flash" (recommended), or - you do this on your own risk - you may try the below steps.
This happens at your own risk - make a backup with TWRP before!
Download and extract the file migration.sh from this archive
This file helps you to migrate from a build signed with the publicly available test keys (i.e. all builds around, which do not state that they are signed). If you come from another signed build (e.g. official LineageOS), you have to adapt the file accordingly (see below links).
boot into TWRP
push the migration.sh file to the directory /data/local on your device and mount the /system partition in TWRP (you can do so using the dedicated TWRP's menu entry)
launch the built-in terminal in TWRP, cd into /data/local, make migration.sh executable (chmod +x) and execute the command ./migration.sh official
(In case you receive an error, try sh ./migration.sh official instead)
flash the ROM .zip
wipe Cache and Dalvik/ART Cache
reboot system
More background information and the "theory behind" can be found in the LineageOS wiki and AOSP reference.
Bug reports:
If you have a problem, please create a post with these informations:
Original Kernel shipped with this rom:
Build Date:
And try to get log as described here
Please note that I can't and won't support issues with builds using a different kernel or Xposed.
In regards to microG, I will try my best to help when it is related to this ROM (I use it myself), but any questions of the type "the YXZ-app can't do <some sort of fancy xyz Google functionality> properly" are better asked in the respective microG forums.
Credits
AOSP project
LineageOS project
microG project
Graphene OS project
csagan5 (Bromite)
WhyOrean (Aurora)
nvertigo67 (for the modded 9.x firmware)
XDA:DevDB Information
[ROM][Unofficial][9.0.0][microG][signed]hardened LineageOS 16.0 for Oneplus 3/3T, ROM for the OnePlus 3T
Contributors
MSe1969
Source Code: https://github.com/lin16-microg/local_manifests/tree/lin-16.0-microG
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: LineageOS
Version Information
Status: Testing
Stable Release Date: 2020-12-11
Created 2020-01-14
Last Updated 2020-12-13
Change log
January 17th, 2021
ASB Security string 2021-01-05
Bromite Webview on 87.0.4280.131
Updated microG from upstream to 0.2.16.204713-10 (picked until 2f29b93)
Updated F-Droid to 1.10-alpha1-212
December 13th, 2020
ASB Security string 2020-12-05
Kernel: Upstreamed to tag ASB-2020-12-05_3.18
Bromite Webview on 87.0.4280.106
Updated microG from upstream to 0.2.14.204215-15 (picked until 720b089)
Updated F-Droid to 1.10-alpha1-114
November 08th, 2020
ASB Security string 2020-11-05
Kernel: Upstreamed to tag ASB-2020-11-05_3.18
Kernel: Fix of bug causing crashes with Wireguard in native mode
Fix of AOSP E-Mail widget
Fix for CVE-2020-15999
Bromite Webview on 86.0.4240.181
Updated microG with fixes in GCM and EN API
Replaced weak F-Droid signatures with ROM's V2 signatures
October 08th, 2020
ASB Security string 2020-10-05
Bromite Webview on 86.0.4240.73
Kernel: Upstreamed to tag ASB-2020-10-05_3.18
microG 0.2.12.203315 - including "Exposure notification API" for use of Covid tracing apps
Additional hardening (bionic and constified JNI method tables)
September 12th, 2020
ASB Security string 2020-09-05
Bromite Webview updated to 85.0.4183.86
Kernel: Upstreamed to tag ASB-2020-09-05_3.18
Kernel: Wireguard tag v1.0.20200908
Kernel: Fix USB-OTG unplug crash (thanks to @nvertigo67)
Added eSpeak TTS engine (FOSS TTS solution)
August 8th, 2020
ASB Security string 2020-08-05
Bromite Webview updated to 84.0.4147.113
Kernel: Upstreamed to tag ASB-2020-08-05_3.18
Kernel: Wireguard tag v1.0.20200729
Kernel: qcacld-2.0 merge of CAF tag LA.UM.7.6.r1-07800-89xx.0
Location of the firewall functionality has moved to Network > Data usage in Settings (latest cherry-pick from here)
July 10th, 2020
ASB Security string 2020-07-05
Kernel: Wireguard tag v1.0.20200623
microG: updated prebuilt GmsCore fom /e/ project (fixed FCM registration issues)
F-Droid updated to 1.8 / F-Droid privileged extension updated to 0.2.11
Aurorastore updated to 3.2.9 / AuroraServices updated to 1.0.6
June 10th, 2020
ASB Security string 2020-06-05
Kernel: Wireguard tag v1.0.20200520
Bromite Webview on 83.0.4103.101
Sepolicy: Netmonitor exception f. "Tracker Control" app
May 6th, 2020
ASB Security string 2020-05-05
Telephony: Option to set different ringtones in case of Dual SIM
Kernel: Native Wireguard support
Kernel: Merged CAF tag LA.UM.7.6.r1-07400-89xx.0 (also f. WLAN)
Kernel: Misc. optimizations
Bromite Webview on 81.0.4044.127
AuroraStore updated to 3.2.8
April 10th, 2020
ASB Security string 2020-04-05
Fix for CVE-2020-8597 (external/ppp)
Kernel: CVE-2019-10638 siphash 128bit for IP generation
Bromite Webview on 81.0.4044.76
AuroraStore updated to 3.2.4
March 16th, 2020 - interim release
Vendor blob update to reflect OOS 9.0.6 - vendor sec. patch level now 2019-10-01
Debloated from Alipay, WeChatpay, Soter and IFAA
March 7th, 2020
Security string 2020-03-05
Bromite System Webview 80.0.3987.118
AuroraStore 3.2.0
Added Netguard app (F-Droid) to SELinux domain allowing /proc/net
February 19th, 2020 - interim release
Kernel fix for crash when doing VoIP telephony
February 7th, 2020
Security string 2020-02-05
Bromite System Webview 79.0.3945.139
AuroraStore 3.1.8
January 14th, 2020
Initial feature list:
Pre-installed microG and F-Droid same as the LineageOS for microG project
Pre-installed AuroraStore (Version 3.1.7) with AuroraServices 1.0.5
OTA Support
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors and other sensors
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disable captive portal detection
Firewall UI
No submission of IMSI/IMEI to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView 79.0.3945.107
Additional restrictions for secondary users
Increased password length
Security Hardening Features - Details
1. Pre-installed microG and F-Droid
same as the LineageOS for microG project
2. Pre-installed AuroraStore
works w/o having to enable the "unknown sources feature"
3. Restrict access to /proc/net for user apps
An adapted SELinux policy prevents user apps from accessing the /proc/net pseudo file system, which can be misused to monitor and track the phone's internet traffic. For technical backgrounds, see here. For the legitimate use case of the smart phone owner him/herself monitoring the network traffic to see, what the installed apps do, the app Privacy-Friendly Network Monitor has been bundled.
4. Enhanced Privacy Guard - Sensor permission switches
An own sensor template to control access to motion sensors ('ask' mode) and all other sensors (allowed by default, but can be restricted) has been implemented into the Privacy Guard.
5. Cloudflare (instead of Google) default DNS
Cloudflare DNS has a better privacy policy than Google Public DNS and has DNS-over-TLS and DNS-over-HTTPS. In the deafult DNS settings (as fallback) and network diagnostics, the Cloudflare DNS adresses 1.1.1.1 and 1.0.0.1 are specified as defaults (instead of Google's 8.8.8.8 and 8.8.4.4)
6. Privacy-preferred default settings
When newly installed, the below settings are defaulted, different from standard LineageOS 16.0 (all settings can be changed at any time later):
Privacy Guard is enabled on install (proposal during Setup)
Anonymous LineageOS statistics disabled (proposal during Setup)
The standard browsing app does not get the location runtime permission automatically assigned
Sensitive information is hidden on the lock screen
Camera app: Location tagging disabled by default
Further, when a lock screen protection is set (PIN, pattern, password), the Nfc, Hotspot and airplane mode tiles require authentication and cannot be set without
7. Optional blocking of Facebook- and Google-Tracking
Settings => Network & Internet (scroll down)
When activated, all outgoing connection attempts to Facebook servers will be suppressed.
Same applies to Google, but certain apps on an internal exception list will still be able to connect (AuroraStore, microG, or e.g. NewPipe, if installed)
8. Optional disable captive portal detection
Settings => Network & Internet (scroll down)
When activated, the system will not ping a specific Google server any longer when establishing a WiFi connection to determine, whether a captive portal is being used.
9. No submission of IMSI or phone number to Google/Sony when GPS is in use
GPS also works fine, if no SIM card is present, so there obviously is no benefit for the phone holder (different from other involved parties ) to provide this data . . .
10. Default hosts file with many blocked ad/tracking sites
The system's hosts file redirects a comprehensive list of URLs known to be adware, tracking, etc. to 127.0.0.1 (ipv4) and ::1 (ipv6)
11. Privacy-enhanced Bromite SystemWebView
Instead of the default Chromium System Webview component, the Bromite SystemWebView is used offering more privacy, more ad blocking and less Google tracking.
12. Firewall UI
Settings => Security & Location - Firewall
Lists all apps and allows to restrict Internet access per app in regards to WiFi, mobile network or VPN
This per-app feature is a standard feature in LineageOS, but the UI to show all apps is an Extra (taken from a topic in LineageOS's Gerrit - it may, or may not, become part of the official LineageOS one day)
13. Maximum password length increased to 64
14. Additional restriction options for secondary users
- Disallow app installation option
- Disallow audio recording option
Root
The ROM does not come with root baked in. A couple of features in this ROM even reduces the usual need for root.
Nevertheless, if you need/want to grant root permissions to some of your apps, the most popular options are:
Official LineageOS su addon (use 'addonsu-16.0-arm64-signed.zip')
Magisk (please search XDA on your own)
Note that I cannot and will not support any issues related to Magisk
microG initial configuration after 1st install
After the first installation of this ROM, you need to setup microG.
Please read the instructions given on the LineageOS for microG site, section "Post Install - UnifiedNlp"
Firmware
You need at least OxygenOS 9.0.x firmware, latest firmware recommended.
If you come from Oreo with 5.x firmware, got to this thread, if you come from a pie build and/pr don't mind formatting the data partition, original firmware updates (or downgrades, if needed) as flashable ZIP can be obtained e.g. here or here. Do not confuse OnePlus 3 and OnePLus 3T firmware or you will brick your device!
OTA Updates on an encrypted device
In case your device in encrypted and you have flashed apps creating "survival scripts" in /system/addon.d (e.g. Magisk), there *may* be a dependency to files in the data partition.
An OTA update until current TWRP 3.3.1 does not decrypt the data partition, as this is usually not needed - under specific circumstances however, this may lead to unwanted effects (up to a non-booting device!) during an OTA update, if such scripts aim at accessing files located in the data partition. If unsure, rather perform the update manually as dirty-flash in TWRP or - which in general is a good practice - regularly perform backups in TWRP. If you haven't flashed anything on top of my build (except for the LineageOS root addon, which is no problem), there shouldn't be any issue.
This commit in TWRP indicates, that this potential issue will be solved in future TWRP releases. With TWRP 3.4.0, you will be prompted for the decryption password also for OTA updates - if you do so, you are always on the safe side.
Isn't it also compatible with the Oneplus 3 because of the lineage os base?
Then you could move the thread in the Cross Device Development
phoberus said:
Isn't it also compatible with the Oneplus 3 because of the lineage os base?
Then you could move the thread in the Cross Device Development
Click to expand...
Click to collapse
Yes, as its based on LineageOS, it should also run on a One plus 3, if the proper firmware is present.
I don't own however an OP3 to be able to support. Isn't "cross device development" more something like treble GSI or custom kernels for device families rather than a ROM, which is very specific / suitable for two devices?
Does it support 60 FPS video recording with OP Camera ?
MSe1969 said:
Yes, as its based on LineageOS, it should also run on a One plus 3, if the proper firmware is present.
I don't own however an OP3 to be able to support. Isn't "cross device development" more something like treble GSI or custom kernels for device families rather than a ROM, which is very specific / suitable for two devices?
Click to expand...
Click to collapse
No, there are roms and kernels that are compatible with both OP3 and OP3T. Of course with the right firmware. You already linked to nvertigo67's firmware thread, so it should be clear that you install the appropriate firmware for the device. In the "cross device development" are much more people and users. I would ask a mod to move this thread, maybe a user with the OP3 can test the rom before. I have a OP3T
ProudRed said:
Does it support 60 FPS video recording with OP Camera ?
Click to expand...
Click to collapse
I don't know tbh - I'd say same situation as the official LineageOS 16.0 for this device
phoberus said:
No, there are roms and kernels that are compatible with both OP3 and OP3T. Of course with the right firmware. You already linked to nvertigo67's firmware thread, so it should be clear that you install the appropriate firmware for the device. In the "cross device development" are much more people and users. I would ask a mod to move this thread, maybe a user with the OP3 can test the rom before. I have a OP3T
Click to expand...
Click to collapse
Thanks - I have requested the move.
MSe1969 said:
Thanks - I have requested the move.
Click to expand...
Click to collapse
Your wish is my command
February ASB update
Hi all, a new build is available for download:
https://sourceforge.net/projects/li...NOFFICIAL-microG-signed-oneplus3.zip/download
Security string 2020-02-05
Bromite System Webview 79.0.3945.139
AuroraStore 3.1.8
It is also offered by the updater up as OTA update.
Regards, M.
Hello,
First off thank you very much for your hard work.
I have a strange but reproducible issue here. Whenever I place or receive a SIP call, my device hard freezes. The UI stops responding for about 5 seconds before going black, and the phone stays in this state until it is hard reset. I have gotten this crash on both the native Android SIP client in the Dialer and also with Linphone. I am running microG and Magisk. I had this exact same setup before on NLOS without issues.
Original kernel: Yes
Build date: Fri Feb 7 17:49:21 CET 2020
Logcat (taken right before launching Linphone and trying to place a call):
Code:
02-13 17:33:44.139 961 2935 I MediaFocusControl: requestAudioFocus() from uid/pid 10140/4058 [email protected] callingPack=org.linphone req=4 flags=0x0 sdk=28
02-13 17:33:44.140 1879 2098 I vol.Events: writeEvent level_changed STREAM_RING 5
02-13 17:33:44.144 609 609 D AudioPolicyManagerCustom: setForceUse() usage 7, config 0, mPhoneState 3
02-13 17:33:44.148 1879 2098 I vol.Events: writeEvent level_changed STREAM_MUSIC 8
02-13 17:33:44.151 1879 2098 I vol.Events: writeEvent level_changed STREAM_ALARM 6
02-13 17:33:44.189 961 1069 W BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
02-13 17:33:44.208 961 4489 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-13 17:33:44.228 961 2935 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-13 17:33:44.242 4058 4058 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-13 17:33:44.461 961 4489 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller cmp=com.android.packageinstaller/.permission.ui.GrantPermissionsActivity (has extras)} from uid 10140
02-13 17:33:44.483 3534 3534 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-13 17:33:44.564 3534 3534 D OpenGLRenderer: Skia GL Pipeline
02-13 17:33:44.597 3534 4540 I Adreno : QUALCOMM build : 365e321, I294de8bafa
02-13 17:33:44.597 3534 4540 I Adreno : Build Date : 01/08/19
02-13 17:33:44.597 3534 4540 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02
02-13 17:33:44.597 3534 4540 I Adreno : Local Branch :
02-13 17:33:44.597 3534 4540 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040
02-13 17:33:44.597 3534 4540 I Adreno : Remote Branch : NONE
02-13 17:33:44.597 3534 4540 I Adreno : Reconstruct Branch : NOTHING
02-13 17:33:44.597 3534 4540 I Adreno : Build Config : S L 6.0.7 AArch64
02-13 17:33:44.598 3534 4540 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-13 17:33:44.602 3534 4540 I Adreno : PFP: 0x005ff110, ME: 0x005ff066
02-13 17:33:44.606 3534 4540 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
02-13 17:33:44.606 3534 4540 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
02-13 17:33:44.607 3534 4540 I OpenGLRenderer: Initialized EGL, version 1.4
02-13 17:33:44.607 3534 4540 D OpenGLRenderer: Swap behavior 2
02-13 17:33:44.618 3534 4540 D vndksupport: Loading /vendor/lib64/hw/[email protected] from current namespace instead of sphal namespace.
02-13 17:33:44.619 3534 4540 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-13 17:33:45.489 4058 4058 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-13 17:33:45.489 4058 4058 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-13 17:33:45.500 609 1154 E : Request requires android.permission.RECORD_AUDIO
02-13 17:33:45.500 609 1154 E AudioPolicyIntefaceImpl: getInputForAttr permission denied: recording not allowed for uid 10140 pid 4058
02-13 17:33:45.500 609 1154 E AudioFlinger: createRecord() checkRecordThread_l failed
02-13 17:33:45.501 4058 4058 E IAudioFlinger: createRecord returned error -22
02-13 17:33:45.501 4058 4058 E AudioRecord: AudioFlinger could not create record track, status: -22
02-13 17:33:45.502 4058 4058 E libOpenSLES: android_audioRecorder_realize(0x73b5fff800) error creating AudioRecord object; status -22
02-13 17:33:45.512 4058 4058 W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
02-13 17:33:45.513 4058 4058 D : PlayerBase::PlayerBase()
02-13 17:33:45.513 4058 4058 D : TrackPlayerBase::TrackPlayerBase()
02-13 17:33:45.513 4058 4058 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
02-13 17:33:45.514 552 1458 D audio_hw_extn: audio_extn_get_parameters: returns
02-13 17:33:45.515 609 1154 I hash_map_utils: key: 'voip_out_stream_count' value: ''
02-13 17:33:45.516 552 1458 D audio_hw_extn: audio_extn_get_parameters: returns
02-13 17:33:45.517 609 1154 I hash_map_utils: key: 'voip_sample_rate' value: ''
02-13 17:33:45.517 609 1154 D AudioPolicyManagerCustom: Set VoIP and Direct output flags for PCM format
02-13 17:33:45.518 552 1458 I audio_hw_primary: getting vr mode to 0
02-13 17:33:45.518 609 1154 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
02-13 17:33:45.519 609 1154 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
02-13 17:33:45.519 609 1154 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
02-13 17:33:45.519 609 1154 D AudioFlinger: Client defaulted notificationFrames to 192 for frameCount 384
02-13 17:33:45.521 4058 4058 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 384
02-13 17:33:45.526 553 553 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x723ea2c100, 7680)
02-13 17:33:45.529 553 553 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x723ea2c100, 7680)
02-13 17:33:45.754 961 961 I GnssLocationProvider: WakeLock acquired by sendMessage(SET_REQUEST, 0, [email protected]92)
02-13 17:33:45.756 2968 2986 V NlpLocationProvider: onSetRequest: ProviderRequest[ON interval=+1d0h0m0s0ms lowPowerMode=false] by WorkSource{1000 android}
02-13 17:33:45.756 2968 2986 V NlpLocationProvider: using autoUpdate=true autoTime=86400000
02-13 17:33:45.770 961 1987 I WifiService: startScan uid=10052
02-13 17:33:45.822 961 1056 E AppOps : Creating dialog box
02-13 17:33:45.872 961 2929 I OpenGLRenderer: Initialized EGL, version 1.4
02-13 17:33:45.873 961 2929 D OpenGLRenderer: Swap behavior 2
02-13 17:33:45.955 3534 4540 D OpenGLRenderer: endAllActiveAnimators on 0x73bcbf2700 (RippleDrawable) with handle 0x73bcbff1e0
02-13 17:33:46.221 4058 4536 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-13 17:33:46.221 4058 4536 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-13 17:33:46.225 552 1138 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xe7c29380) io_handle(54) source(7) format 1
02-13 17:33:46.225 552 1138 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-13 17:33:46.225 552 1138 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-13 17:33:46.225 552 1138 D compress_voip: voip_set_mode: enter, format=1
02-13 17:33:46.225 552 1138 D compress_voip: voip_set_mode: Derived mode = 12
02-13 17:33:46.225 552 1138 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-13 17:33:46.229 609 4558 I AudioFlinger: AudioFlinger's thread 0xed603400 tid=4558 ready to run
02-13 17:33:46.229 552 1138 D audio_hw_primary: in_standby: enter: stream (0xe7c29380) usecase(38: compress-voip-call)
02-13 17:33:46.230 552 4186 D audio_hw_primary: in_standby: enter: stream (0xe7c29380) usecase(38: compress-voip-call)
02-13 17:33:46.233 552 1138 W EffectHAL: Effect 0xe67fe1f0 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.237 552 1138 W EffectHAL: Effect 0xe67fe1f0 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.238 552 1458 W EffectHAL: Effect 0xe739c840 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.238 609 1154 W AudioFlinger: createRecordTrack_l(): mismatch between requested flags (00000005) and input flags (00000000)
02-13 17:33:46.239 609 1154 W AudioFlinger: session id 89 not found for pid 4058
02-13 17:33:46.240 609 1154 W AudioFlinger: session id 89 not found for pid 4058
02-13 17:33:46.244 552 4186 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xe7c29380)
02-13 17:33:46.244 552 4186 D compress_voip: voice_extn_compress_voip_close_input_stream: enter
02-13 17:33:46.244 552 4186 D compress_voip: voip_stop_call: enter, out_stream_count=0, in_stream_count=0
02-13 17:33:46.244 552 4186 E compress_voip: voip_stop_call: Could not find the usecase (38) in the list
02-13 17:33:46.244 552 4186 E audio_hw_primary: adev_close_input_stream: Compress voip input cannot be closed, error:-22
02-13 17:33:46.246 552 552 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xe8056e00) io_handle(62) source(7) format 1
02-13 17:33:46.246 552 552 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-13 17:33:46.246 552 552 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-13 17:33:46.246 552 552 D compress_voip: voip_set_mode: enter, format=1
02-13 17:33:46.246 552 552 D compress_voip: voip_set_mode: Derived mode = 12
02-13 17:33:46.246 552 552 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-13 17:33:46.253 552 1458 W EffectHAL: Effect 0xe67fe230 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.255 609 4559 I AudioFlinger: AudioFlinger's thread 0xed603b80 tid=4559 ready to run
02-13 17:33:46.256 552 3182 D audio_hw_primary: in_standby: enter: stream (0xe8056e00) usecase(38: compress-voip-call)
02-13 17:33:46.256 552 1458 W EffectHAL: Effect 0xe67fe230 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.257 552 3182 W EffectHAL: Effect 0xe67fe170 command SET_CONFIG returned status: Invalid argument
02-13 17:33:46.274 552 1470 D audio_hw_primary: in_set_parameters: enter: kvpairs=bottom=;input_source=7;routing=-2147483644
02-13 17:33:46.277 609 1526 I SoundTriggerHwService::Module: onCallbackEvent no clients
02-13 17:33:46.284 552 4561 D compress_voip: voice_extn_compress_voip_start_input_stream: enter
02-13 17:33:46.284 552 4561 D compress_voip: voip_start_call: enter
02-13 17:33:46.284 552 4561 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-13 17:33:46.285 552 4561 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(99: voice-dmic-ef)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-13 17:33:46.285 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-13 17:33:46.285 552 4561 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-13 17:33:46.285 552 4561 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-13 17:33:46.285 552 4561 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device:handset backends match 1
02-13 17:33:46.285 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases (low-latency-playback) is active on (handset) - disabling ..
02-13 17:33:46.285 552 4561 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
02-13 17:33:46.323 552 4561 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
02-13 17:33:46.323 552 4561 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-13 17:33:46.323 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-13 17:33:46.323 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 1
02-13 17:33:46.323 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.323 552 4561 D hardware_info: hw_info_append_hw_type : device_name = handset
02-13 17:33:46.324 552 4561 D audio_hw_primary: disable_snd_device: snd_device(1: handset)
02-13 17:33:46.324 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x1 of type 0 for Event 0, with Raise=0
02-13 17:33:46.328 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(1) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-13 17:33:46.328 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-13 17:33:46.328 552 4561 D audio_hw_primary: enable_snd_device: snd_device(15: voice-handset)
02-13 17:33:46.328 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xf of type 0 for Event 1, with Raise=0
02-13 17:33:46.328 552 4561 D audio_route: Apply path: voice-handset
02-13 17:33:46.332 552 4561 D audio_hw_primary: check_usecases_codec_backend:becf: enabling usecase (low-latency-playback) on (voice-handset)
02-13 17:33:46.332 552 4561 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-13 17:33:46.332 552 4561 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device voice-handset
02-13 17:33:46.332 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-13 17:33:46.333 552 4561 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
02-13 17:33:46.333 552 4561 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device voice-handset ret=-14
02-13 17:33:46.333 552 4561 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-13 17:33:46.333 552 4561 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 7, sample_rate 48000, snd_device_be_idx -14
02-13 17:33:46.333 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 7, path = 0, app id = 0x11131, sample rate = 48000
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-13 17:33:46.333 552 4561 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-13 17:33:46.334 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.334 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.334 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.334 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.334 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-13 17:33:46.334 552 4561 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
02-13 17:33:46.334 552 4561 D audio_route: Apply path: low-latency-playback
02-13 17:33:46.365 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_and_set_capture_codec_backend_cfg:txbecf: afe: bitwidth 16, samplerate 48000, channel 1 format 1, backend_idx 7 usecase = 38 device (voice-dmic-ef)
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 current bit width: 16 and sample rate: 48000, channels 1 format 1
02-13 17:33:46.365 552 4561 W msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Use default bw and sr for voice/voip calls and for unprocessed/camera source
02-13 17:33:46.365 552 4561 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 updated bit width: 16 and sample rate: 48000
02-13 17:33:46.365 552 4561 D audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0
02-13 17:33:46.365 552 4561 D hardware_info: hw_info_append_hw_type : device_name = voice-dmic-ef
02-13 17:33:46.365 552 4561 D msm8974_platform: platform_split_snd_device: snd_device(99) num devices(0) new_snd_devices(0)
02-13 17:33:46.365 552 4561 D audio_hw_primary: enable_snd_device: snd_device(99: voice-dmic-ef)
02-13 17:33:46.366 552 4561 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x63 of type 1 for Event 1, with Raise=1
02-13 17:33:46.366 552 4561 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 0, concurrency session_allowed 0
02-13 17:33:46.366 552 4561 D audio_route: Apply path: voice-dmic-ef
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_rx_topology
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_tx_topology
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_DATA
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_SIDETONE_CAL
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 5
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.380 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE_SIZE
02-13 17:33:46.382 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_CAL
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DEVICE_CFG
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_DEV_CFG_CAL
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 4
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.384 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE_SIZE
02-13 17:33:46.388 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_VOL_CAL
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 6
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-13 17:33:46.394 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE_SIZE
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_STREAM_CAL
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 41, Topology Id 112fb
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000029
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000029
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-13 17:33:46.395 552 4561 D : Failed to fetch the lookup information of the device 00000007
02-13 17:33:46.395 552 4561 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 41 path = 1
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-13 17:33:46.395 552 4561 D ACDB-LOADER: ACDB -> Sent VocProc Cal!
02-13 17:33:46.395 552 4561 E audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg_for_usecase: app type cfg not supported for usecase type (3)
02-13 17:33:46.395 552 4561 I audio_hw_utils: audio_extn_utils_send_app_type_cfg: not a playback/capture path, no need to cfg app type
02-13 17:33:46.395 552 4561 D audio_hw_primary: enable_audio_route: apply mixer and update path: compress-voip-call
02-13 17:33:46.395 552 4561 D audio_route: Apply path: compress-voip-call
02-13 17:33:46.397 552 4561 D audio_hw_primary: select_devices: done
02-13 17:33:46.397 552 4561 D compress_voip: voip_start_call: Opening PCM capture device card_id(0) device_id(3)
02-13 17:33:46.402 552 4561 D compress_voip: voip_start_call: Opening PCM playback device card_id(0) device_id(3)
02-13 17:33:46.455 552 4561 D voice : voice_set_sidetone: enable, out_snd_device: 15
02-13 17:33:46.455 552 4561 D audio_route: Apply path: sidetone-handset
Thank you!
Hi.
Really liking this build so far. Just wanted to chime in and confirm this works on my OnePlus 3 perfectly with no issues. Thanks again :good:
@MSe1969
You may want to edit the OP and title to include OnePlus 3 also as this ROM is in the Cross Device Development section and seems to work on both 3 and 3T.
TNSMANI said:
@MSe1969
You may want to edit the OP and title to include OnePlus 3 also as this ROM is in the Cross Device Development section and seems to work on both 3 and 3T.
Click to expand...
Click to collapse
Thanks for the hint - it's done.
0xC0ncord said:
Hello,
First off thank you very much for your hard work.
I have a strange but reproducible issue here. Whenever I place or receive a SIP call, my device hard freezes. The UI stops responding for about 5 seconds before going black, and the phone stays in this state until it is hard reset. I have gotten this crash on both the native Android SIP client in the Dialer and also with Linphone. I am running microG and Magisk. I had this exact same setup before on NLOS without issues.
Original kernel: Yes
Build date: Fri Feb 7 17:49:21 CET 2020
Logcat (taken right before launching Linphone and trying to place a call):
Thank you!
Click to expand...
Click to collapse
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
MSe1969 said:
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
Click to expand...
Click to collapse
That's odd. The app's permissions in Settings shows it has permission, but for good measure I went ahead and used the shell to grant the permission manually with
Code:
pm grant "org.linphone" android.permission.RECORD_AUDIO
The same type of crash occurs afterwards, though.
Below is another logcat after doing this, taken right before trying to initiate a call:
Code:
02-16 10:10:51.779 498 533 W Netd : No subsystem found in netlink event
02-16 10:10:52.827 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:53.910 977 1721 D ConnectivityService: handleLingerComplete for NetworkAgentInfo [MOBILE (IWLAN) - 103]
02-16 10:10:54.829 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:56.832 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:58.618 977 2202 I WifiService: acquireWifiLock uid=10140 lockMode=3
02-16 10:10:58.620 977 2202 I WifiService: acquireMulticastLock uid=10140
02-16 10:10:58.623 1941 1941 E wpa_supplicant: wpa_driver_nl80211_driver_cmd: failed to issue private commands
02-16 10:10:58.624 977 1706 E SupplicantStaIfaceHal: ISupplicantStaIface.addRxFilter failed: {.code = FAILURE_UNKNOWN, .debugMessage = }
02-16 10:10:58.626 556 1490 D audio_hw_primary: adev_set_mode: mode 3
02-16 10:10:58.627 613 1194 D AudioPolicyManagerCustom: setPhoneState() state 3
02-16 10:10:58.630 556 1490 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=1
02-16 10:10:58.630 556 1490 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
02-16 10:10:58.635 556 556 D audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=1
02-16 10:10:58.658 613 613 D AudioPolicyManagerCustom: setForceUse() usage 7, config 0, mPhoneState 3
02-16 10:10:58.658 1833 2019 I vol.Events: writeEvent level_changed STREAM_SYSTEM 5
02-16 10:10:58.658 4371 4371 W AudioManager: Use of stream types is deprecated for operations other than volume control
02-16 10:10:58.658 4371 4371 W AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case
02-16 10:10:58.660 977 4358 I MediaFocusControl: requestAudioFocus() from uid/pid 10140/4371 [email protected] callingPack=org.linphone req=4 flags=0x0 sdk=28
02-16 10:10:58.667 1833 2019 I vol.Events: writeEvent level_changed STREAM_RING 5
02-16 10:10:58.669 1833 2019 I vol.Events: writeEvent level_changed STREAM_MUSIC 8
02-16 10:10:58.671 1833 2019 I vol.Events: writeEvent level_changed STREAM_ALARM 6
02-16 10:10:58.673 977 2202 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-16 10:10:58.707 4371 4371 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
02-16 10:10:58.835 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:10:58.695 977 2202 I ActivityManager: START u0 {cmp=org.linphone/.call.CallOutgoingActivity} from uid 10140
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'INTERFACE' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'STATE' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
02-16 10:10:59.397 498 532 E NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
02-16 10:10:59.838 977 1084 E AppOps : Creating dialog box
02-16 10:10:59.882 977 2872 I Adreno : QUALCOMM build : 365e321, I294de8bafa
02-16 10:10:59.882 977 2872 I Adreno : Build Date : 01/08/19
02-16 10:10:59.882 977 2872 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02
02-16 10:10:59.882 977 2872 I Adreno : Local Branch :
02-16 10:10:59.882 977 2872 I Adreno : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040
02-16 10:10:59.882 977 2872 I Adreno : Remote Branch : NONE
02-16 10:10:59.882 977 2872 I Adreno : Reconstruct Branch : NOTHING
02-16 10:10:59.882 977 2872 I Adreno : Build Config : S L 6.0.7 AArch64
02-16 10:10:59.891 977 2872 D vndksupport: Loading /vendor/lib64/hw/gralloc.msm8996.so from current namespace instead of sphal namespace.
02-16 10:10:59.896 977 2872 I Adreno : PFP: 0x005ff110, ME: 0x005ff066
02-16 10:10:59.900 977 2872 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
02-16 10:10:59.900 977 2872 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
02-16 10:10:59.902 977 2872 I OpenGLRenderer: Initialized EGL, version 1.4
02-16 10:10:59.902 977 2872 D OpenGLRenderer: Swap behavior 2
02-16 10:11:00.842 592 2282 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xd
02-16 10:11:01.101 498 533 W Netd : No subsystem found in netlink event
02-16 10:11:01.385 2131 2272 D MmsService: getAutoPersisting
02-16 10:11:01.401 2881 2881 V SmsReceiver: onReceive
02-16 10:11:01.407 2881 2934 V ReceiveSms$buildObserva: [email protected]e4d, drop=false
02-16 10:11:01.592 2881 2934 E ActivityThread: Failed to find provider info for com.teslacoilsw.notifier
02-16 10:11:01.806 1833 1833 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
02-16 10:11:01.848 1833 1833 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
02-16 10:11:01.849 1833 1833 I chatty : uid=10010(com.android.systemui) identical 2 lines
02-16 10:11:01.849 1833 1833 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
02-16 10:11:02.044 977 2872 D OpenGLRenderer: endAllActiveAnimators on 0x7ecaab2f00 (RippleDrawable) with handle 0x7edeff56a0
02-16 10:11:02.058 977 4358 I ActivityManager: START u0 {cmp=org.linphone/.call.CallActivity} from uid 10140
02-16 10:11:02.090 4371 4371 W libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
02-16 10:11:02.090 4371 4371 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
02-16 10:11:02.093 556 1490 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xf3290000) io_handle(54) source(7) format 1
02-16 10:11:02.093 556 1490 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-16 10:11:02.093 556 1490 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-16 10:11:02.093 556 1490 D compress_voip: voip_set_mode: enter, format=1
02-16 10:11:02.093 556 1490 D compress_voip: voip_set_mode: Derived mode = 12
02-16 10:11:02.093 556 1490 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-16 10:11:02.094 613 4817 I AudioFlinger: AudioFlinger's thread 0xe7483040 tid=4817 ready to run
02-16 10:11:02.094 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.095 556 556 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.097 556 556 W EffectHAL: Effect 0xf36c3680 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.099 556 556 W EffectHAL: Effect 0xf36c3680 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.099 556 556 W EffectHAL: Effect 0xf36c37f0 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.100 613 613 W AudioFlinger: createRecordTrack_l(): mismatch between requested flags (00000005) and input flags (00000000)
02-16 10:11:02.100 613 613 W AudioFlinger: session id 9 not found for pid 4371
02-16 10:11:02.101 613 613 W AudioFlinger: session id 9 not found for pid 4371
02-16 10:11:02.105 556 1490 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf3290000)
02-16 10:11:02.105 556 1490 D compress_voip: voice_extn_compress_voip_close_input_stream: enter
02-16 10:11:02.105 556 1490 D compress_voip: voip_stop_call: enter, out_stream_count=0, in_stream_count=0
02-16 10:11:02.105 556 1490 E compress_voip: voip_stop_call: Could not find the usecase (38) in the list
02-16 10:11:02.106 556 1490 E audio_hw_primary: adev_close_input_stream: Compress voip input cannot be closed, error:-22
02-16 10:11:02.108 556 1490 D audio_hw_primary: adev_open_input_stream: enter: sample_rate(48000) channel_mask(0x10) devices(0x80000004) stream_handle(0xf3290000) io_handle(62) source(7) format 1
02-16 10:11:02.108 556 1490 D compress_voip: voice_extn_compress_voip_pcm_prop_check: VoIP PCM property is enabled
02-16 10:11:02.108 556 1490 D compress_voip: voice_extn_compress_voip_open_input_stream: enter
02-16 10:11:02.108 556 1490 D compress_voip: voip_set_mode: enter, format=1
02-16 10:11:02.108 556 1490 D compress_voip: voip_set_mode: Derived mode = 12
02-16 10:11:02.108 556 1490 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
02-16 10:11:02.109 613 4818 I AudioFlinger: AudioFlinger's thread 0xe7483140 tid=4818 ready to run
02-16 10:11:02.110 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.111 556 1490 W EffectHAL: Effect 0xf328f040 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.112 556 1490 D audio_hw_primary: in_standby: enter: stream (0xf3290000) usecase(38: compress-voip-call)
02-16 10:11:02.114 556 1490 W EffectHAL: Effect 0xf328f040 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.114 556 1490 W EffectHAL: Effect 0xf328f0d0 command SET_CONFIG returned status: Invalid argument
02-16 10:11:02.122 556 1490 D audio_hw_primary: in_set_parameters: enter: kvpairs=bottom=;input_source=7;routing=-2147483644
02-16 10:11:02.124 613 1513 I SoundTriggerHwService::Module: onCallbackEvent no clients
02-16 10:11:02.125 4371 4371 D : PlayerBase::PlayerBase()
02-16 10:11:02.125 4371 4371 D : TrackPlayerBase::TrackPlayerBase()
02-16 10:11:02.126 4371 4371 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
02-16 10:11:02.126 556 4819 D compress_voip: voice_extn_compress_voip_start_input_stream: enter
02-16 10:11:02.126 556 4819 D compress_voip: voip_start_call: enter
02-16 10:11:02.126 556 4819 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-16 10:11:02.126 556 4819 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(99: voice-dmic-ef)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 38 device (voice-handset)
02-16 10:11:02.126 556 4819 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-16 10:11:02.126 556 4819 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-16 10:11:02.126 556 4819 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-16 10:11:02.126 556 4819 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
02-16 10:11:02.126 556 4819 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-16 10:11:02.126 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-16 10:11:02.126 556 4819 D audio_hw_primary: enable_snd_device: snd_device(15: voice-handset)
02-16 10:11:02.126 556 4819 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xf of type 0 for Event 1, with Raise=0
02-16 10:11:02.126 556 4819 D audio_route: Apply path: voice-handset
02-16 10:11:02.130 556 4819 I msm8974_platform: platform_check_and_set_capture_codec_backend_cfg:txbecf: afe: bitwidth 16, samplerate 48000, channel 1 format 1, backend_idx 7 usecase = 38 device (voice-dmic-ef)
02-16 10:11:02.130 556 4819 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 current bit width: 16 and sample rate: 48000, channels 1 format 1
02-16 10:11:02.131 556 4819 W msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Use default bw and sr for voice/voip calls and for unprocessed/camera source
02-16 10:11:02.131 556 4819 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 7 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.131 556 4819 D audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0
02-16 10:11:02.131 556 4819 D hardware_info: hw_info_append_hw_type : device_name = voice-dmic-ef
02-16 10:11:02.131 556 4819 D msm8974_platform: platform_split_snd_device: snd_device(99) num devices(0) new_snd_devices(0)
02-16 10:11:02.131 556 4819 D audio_hw_primary: enable_snd_device: snd_device(99: voice-dmic-ef)
02-16 10:11:02.131 556 4819 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x63 of type 1 for Event 1, with Raise=1
02-16 10:11:02.131 556 4819 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: concurrency active 0, tx 1, rx 0, concurrency session_allowed 0
02-16 10:11:02.131 556 4819 D audio_route: Apply path: voice-dmic-ef
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_rx_topology
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_tx_topology
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOCPROC_COMMON_TOPOLOGY_ID
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_DATA
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_SIDETONE_CAL
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 5
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE_SIZE
02-16 10:11:02.141 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_STATIC_TABLE
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_CAL
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DEVICE_CFG
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_DEV_CFG_CAL
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 4
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.142 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE_SIZE
02-16 10:11:02.145 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_PROC_DYNAMIC_TABLE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_VOL_CAL
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_voice_columns, rxacdb_id 7, txacdb_id 41, table 6
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_COLUMNS_INFO_V2
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE_SIZE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_VOC_STREAM_STATIC_TABLE
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> AUDIO_SET_VOCPROC_STREAM_CAL
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 41, Topology Id 112fb
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000029
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000029
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.149 556 4819 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.149 556 4819 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 41 path = 1
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-16 10:11:02.149 556 4819 D ACDB-LOADER: ACDB -> Sent VocProc Cal!
02-16 10:11:02.149 556 4819 E audio_hw_utils: audio_extn_utils_update_stream_app_type_cfg_for_usecase: app type cfg not supported for usecase type (3)
02-16 10:11:02.149 556 4819 I audio_hw_utils: audio_extn_utils_send_app_type_cfg: not a playback/capture path, no need to cfg app type
02-16 10:11:02.149 556 4819 D audio_hw_primary: enable_audio_route: apply mixer and update path: compress-voip-call
02-16 10:11:02.149 556 4819 D audio_route: Apply path: compress-voip-call
02-16 10:11:02.151 556 4819 D audio_hw_primary: select_devices: done
02-16 10:11:02.151 556 4819 D compress_voip: voip_start_call: Opening PCM capture device card_id(0) device_id(3)
02-16 10:11:02.152 556 4819 D compress_voip: voip_start_call: Opening PCM playback device card_id(0) device_id(3)
02-16 10:11:02.154 619 1089 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
02-16 10:11:02.155 619 1089 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - mAboveAppWindowsContainers#0
02-16 10:11:02.156 977 1512 E AppOps : Operation not started: uid=1000 pkg=android op=SYSTEM_ALERT_WINDOW
02-16 10:11:02.158 619 1103 W SurfaceFlinger: Attempting to destroy on removed layer: b4fea43 Permission info: Linphone#0
02-16 10:11:02.256 556 4819 D voice : voice_set_sidetone: enable, out_snd_device: 15
02-16 10:11:02.257 556 4819 D audio_route: Apply path: sidetone-handset
02-16 10:11:02.259 556 1490 D audio_hw_extn: audio_extn_get_parameters: returns
02-16 10:11:02.259 613 1865 I hash_map_utils: key: 'voip_out_stream_count' value: ''
02-16 10:11:02.260 556 1186 D audio_hw_extn: audio_extn_get_parameters: returns
02-16 10:11:02.260 613 1865 I hash_map_utils: key: 'voip_sample_rate' value: ''
02-16 10:11:02.261 613 1865 D AudioPolicyManagerCustom: Set VoIP and Direct output flags for PCM format
02-16 10:11:02.261 556 1186 I audio_hw_primary: getting vr mode to 0
02-16 10:11:02.261 613 1865 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
02-16 10:11:02.262 613 1865 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
02-16 10:11:02.262 613 1865 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
02-16 10:11:02.262 613 1865 D AudioFlinger: Client defaulted notificationFrames to 192 for frameCount 384
02-16 10:11:02.263 4371 4371 I AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 384
02-16 10:11:02.267 557 557 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x7073a2c100, 7680)
02-16 10:11:02.271 557 557 W AshmemAllocator: ashmem_create_region(7680) returning hidl_memory(0x7073a2c100, 7680)
02-16 10:11:02.275 556 4822 D audio_hw_primary: start_output_stream: enter: stream(0xf2a69000)usecase(1: low-latency-playback) devices(0x1)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices for use case (low-latency-playback)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices for use case (compress-voip-call)
02-16 10:11:02.277 556 4822 D audio_hw_primary: select_devices: out_snd_device(15: voice-handset) in_snd_device(0: )
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (voice-handset)
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 15
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (voice-handset)
02-16 10:11:02.277 556 4822 W msm8974_platform: platform_check_codec_backend_cfg:becf: afe:Use default bw and sr for voice/voip calls
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
02-16 10:11:02.277 556 4822 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device:voice-handset backends match 1
02-16 10:11:02.277 556 4822 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: (65) check_usecases curr device: voice-handset, usecase device: backends match 0
02-16 10:11:02.277 556 4822 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
02-16 10:11:02.277 556 4822 D hardware_info: hw_info_append_hw_type : device_name = voice-handset
02-16 10:11:02.277 556 4822 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
02-16 10:11:02.277 556 4822 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device voice-handset
02-16 10:11:02.277 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(0) new_snd_devices(0)
02-16 10:11:02.278 556 4822 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
02-16 10:11:02.278 556 4822 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device voice-handset ret=-14
02-16 10:11:02.278 556 4822 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
02-16 10:11:02.278 556 4822 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 7, sample_rate 48000, snd_device_be_idx -14
02-16 10:11:02.278 556 4822 D msm8974_platform: platform_split_snd_device: snd_device(15) num devices(1) new_snd_devices(0)
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 7, path = 0, app id = 0x11131, sample rate = 48000
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 0
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 16
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 7, Topology Id 112fc
02-16 10:11:02.278 556 4822 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.278 556 4822 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
02-16 10:11:02.278 556 4822 D : Failed to fetch the lookup information of the device 00000007
02-16 10:11:02.278 556 4822 E ACDB-LOADER: Error: ACDB AFE returned = -19
02-16 10:11:02.278 556 4822 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 7 path = 0
02-16 10:11:02.278 556 4822 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
02-16 10:11:02.278 556 4822 D audio_route: Apply path: low-latency-playback
02-16 10:11:02.280 556 4822 D audio_hw_primary: select_devices: done
02-16 10:11:02.281 556 4822 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map15
02-16 10:11:02.282 556 4822 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
02-16 10:11:02.290 556 4822 D audio_hw_primary: start_output_stream: exit
02-16 10:11:02.306 4371 4371 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
MSe1969 said:
Hi, thanks for reporting your issue, I may need some time to dig in to that.
Just one thing, which I have immediately spotted: The linphone app (which you used to create the logcat) did not have the RECORD_AUDIO permission - could you pls. have a closer look on that aspect?
Click to expand...
Click to collapse
Hi all,
I can confirm the same VoIP calling issues stated by @0xC0ncord. In my case I have reproduced the rebooting error on Whatsapp, Riot and NextCloud-Talk, which is always triggered right after a call is established between the peers. After some digging I found out there seems to be a missing check in the kernel's code (you can look it up on Gitlab > LineageOS > Issue 1558):
- if (runtime->dma_area)
+ if (runtime->dma_area && !substream->ops->copy)
So maybe patching this check on sound/core/pcm_native.c could be the solution in this case too, not really sure. I'm not too experienced with kernel building, but if I get the opportunity to try and do it myself I'll let you know how it goes.
Cheers
AjikanRB said:
Hi all,
I can confirm the same VoIP calling issues stated by @0xC0ncord. In my case I have reproduced the rebooting error on Whatsapp, Riot and NextCloud-Talk, which is always triggered right after a call is established between the peers. After some digging I found out there seems to be a missing check in the kernel's code (you can look it up on Gitlab > LineageOS > Issue 1558):
- if (runtime->dma_area)
+ if (runtime->dma_area && !substream->ops->copy)
So maybe patching this check on sound/core/pcm_native.c could be the solution in this case too, not really sure. I'm not too experienced with kernel building, but if I get the opportunity to try and do it myself I'll let you know how it goes.
Cheers
Click to expand...
Click to collapse
Thanks for the info - I was able to reproduce the crash by attempting a Telegram call.
Have applied the patch and now building... If the patch fixes the issue, I will upload a new build.
Anyway, will keep you posted.

Categories

Resources