[CLOSED] EOL [ROM][Unofficial][9.0.0][microG][signed]hardened LineageOS 16.0 for Oneplus 3/3T - OnePlus 3 & 3T Cross Device Development

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.

Related

Final Fantasy 1 app crashes

Background.
Game worked fine on CM12-20150106-NIGHTLY. After first nightly update all the way to latest (20150114) it would launch but close. Could reopen it but it is stuck on this screen >
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have tried flashing, wiping, restoring, redownloading, wiping again and again, and cannot find 20150106 zip to try it.
Below is logcat when opening it.
Code:
I/Timeline( 1798): Timeline: Activity_launch_request id:com.square_enix.android_googleplay.finalfantasy time:1071317
I/ActivityManager( 796): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.square_enix.android_googleplay.finalfantasy cmp=com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity bnds=[12,605][276,943] (has extras)} from uid 10016 on display 0
D/audio_hw_primary( 1358): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
D/audio_hw_primary( 1358): start_output_stream: enter: stream(0xb605f9c0)usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 1358): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
W/msm8974_platform( 1358): Codec backend bitwidth 16, samplerate 48000
D/hardware_info( 1358): hw_info_append_hw_type : device_name = speaker
I/msm8974_platform( 1358): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 1358): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 1358): ACDB -> send_adm_topology
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 1358): ACDB -> send_asm_topology
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 1358): ACDB -> send_audtable
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 1358): ACDB -> send_audvoltable
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ ( 1358): Failed to fetch the lookup information of the device 0000000F
E/ACDB-LOADER( 1358): Error: ACDB AudProc vol returned = -19
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 1358): ACDB -> send_afe_cal
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ ( 1358): Failed to fetch the lookup information of the device 0000000F
E/ACDB-LOADER( 1358): Error: ACDB AFE returned = -19
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AFE_CAL
D/audio_hw_primary( 1358): select_devices: done
I/ActivityManager( 796): Start proc com.square_enix.android_googleplay.finalfantasy for activity com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity: pid=4936 uid=10048 gids={50048, 9997, 1028, 1015, 3003} abi=armeabi
V/PhoneStatusBar( 1082): setLightsOn(true)
I/WebViewFactory( 4936): Loading com.android.webview version 37 (3077850166-arm) (code 100001)
I/LibraryLoader( 4936): Loading: webviewchromium
I/LibraryLoader( 4936): Time to load native libraries: 2 ms (timestamps 1576-1578)
I/LibraryLoader( 4936): Expected native library version number "",actual native library version number ""
W/art ( 4936): Attempt to remove local handle scope entry from IRT, ignoring
I/art ( 4936): Explicit concurrent mark sweep GC freed 43317(2MB) AllocSpace objects, 18(960KB) LOS objects, 39% free, 19MB/31MB, paused 780us total 37.832ms
I/LicenseChecker( 4936): Binding to licensing service.
W/ContextImpl( 4936): Implicit intents with startService are not safe: Intent { act=com.android.vending.licensing.ILicensingService } android.content.ContextWrapper.bindService:538 com.b.a.a.a.i.a:-1 com.square_enix.android_googleplay.finalfantasy.SQEXMarketActivity.a:-1
I/LicenseChecker( 4936): Calling checkLicense on service for com.square_enix.android_googleplay.finalfantasy
I/LicenseChecker( 4936): Start monitoring timeout.
I/ActivityManager( 796): Displayed com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity: +598ms
I/Timeline( 796): Timeline: Activity_windows_visible id: ActivityRecord{2320907e u0 com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity t24} time:1071943
I/Timeline( 4936): Timeline: Activity_idle id: [email protected] time:1071948
W/InputMethodManagerService( 796): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
I/Timeline( 1798): Timeline: Activity_idle id: [email protected] time:1072062
I/qtaguid ( 4758): Failed write_ctrl(u 37) res=-1 errno=22
I/qtaguid ( 4758): Untagging socket 37 failed errno=-22
W/NetworkManagementSocketTagger( 4758): untagSocket(37) failed with errno -22
I/LicenseChecker( 4936): Received response.
I/LicenseChecker( 4936): Clearing timeout.
I/Timeline( 796): Timeline: Activity_windows_visible id: ActivityRecord{32a193d4 u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t6} time:1072318
E/WindowManager( 4936):
E/WindowManager( 4936): android.view.WindowLeaked: Activity com.square_enix.android_googleplay.finalfantasy.SQEXMarketActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{3f2baa01 V.E..... R.....ID 0,0-564,501} that was originally added here
E/WindowManager( 4936): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:363)
E/WindowManager( 4936): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:261)
E/WindowManager( 4936): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
E/WindowManager( 4936): at android.app.Dialog.show(Dialog.java:298)
E/WindowManager( 4936): at net.sqexm.sqmk.android.lib.d.e.a(Unknown Source)
E/WindowManager( 4936): at com.square_enix.android_googleplay.finalfantasy.SQEXMarketActivity.onCreate(Unknown Source)
E/WindowManager( 4936): at android.app.Activity.performCreate(Activity.java:5933)
E/WindowManager( 4936): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/WindowManager( 4936): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/WindowManager( 4936): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/WindowManager( 4936): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/WindowManager( 4936): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/WindowManager( 4936): at android.os.Handler.dispatchMessage(Handler.java:102)
E/WindowManager( 4936): at android.os.Looper.loop(Looper.java:135)
E/WindowManager( 4936): at android.app.ActivityThread.main(ActivityThread.java:5223)
E/WindowManager( 4936): at java.lang.reflect.Method.invoke(Native Method)
E/WindowManager( 4936): at java.lang.reflect.Method.invoke(Method.java:372)
E/WindowManager( 4936): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/WindowManager( 4936): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
W/OpenGLRenderer( 1798): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/OpenGLRenderer( 1798): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
D/audio_hw_primary( 1358): out_standby: enter: stream (0xb605f9c0) usecase(1: low-latency-playback)
D/hardware_info( 1358): hw_info_append_hw_type : device_name = speaker
E/AudioTrack( 796): AudioTrack::set : Exit
I/Timeline( 1798): Timeline: Activity_launch_request id:com.square_enix.android_googleplay.finalfantasy time:1076416
I/ActivityManager( 796): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.square_enix.android_googleplay.finalfantasy cmp=com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity bnds=[12,605][276,943] (has extras)} from uid 10016 on display 0
D/audio_hw_primary( 1358): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
D/audio_hw_primary( 1358): start_output_stream: enter: stream(0xb605f9c0)usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 1358): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
W/msm8974_platform( 1358): Codec backend bitwidth 16, samplerate 48000
D/hardware_info( 1358): hw_info_append_hw_type : device_name = speaker
I/msm8974_platform( 1358): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 1358): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 1358): ACDB -> send_adm_topology
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 1358): ACDB -> send_asm_topology
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 1358): ACDB -> send_audtable
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 1358): ACDB -> send_audvoltable
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ ( 1358): Failed to fetch the lookup information of the device 0000000F
E/ACDB-LOADER( 1358): Error: ACDB AudProc vol returned = -19
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 1358): ACDB -> send_afe_cal
D/ACDB-LOADER( 1358): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ ( 1358): Failed to fetch the lookup information of the device 0000000F
E/ACDB-LOADER( 1358): Error: ACDB AFE returned = -19
D/ACDB-LOADER( 1358): ACDB -> AUDIO_SET_AFE_CAL
D/audio_hw_primary( 1358): select_devices: done
V/PhoneStatusBar( 1082): setLightsOn(true)
I/LicenseChecker( 4936): Using cached license response
I/ActivityManager( 796): Displayed com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity: +144ms
I/Timeline( 4936): Timeline: Activity_idle id: [email protected] time:1076586
I/Timeline( 796): Timeline: Activity_windows_visible id: ActivityRecord{37e9a442 u0 com.square_enix.android_googleplay.finalfantasy/.SQEXMarketActivity t25} time:1077280
D/Ulp_jni ( 796): Location CB invoked
E/WifiStateMachine( 796): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=7.75 rxSuccessRate=7.76 targetRoamBSSID=any RSSI=-50
D/audio_hw_primary( 1358): out_standby: enter: stream (0xb605f9c0) usecase(1: low-latency-playback)
D/hardware_info( 1358): hw_info_append_hw_type : device_name = speaker
D/TaskPersister( 796): removeObsoleteFile: deleting file=24_task.xml
D/TaskPersister( 796): removeObsoleteFile: deleting file=24_task_thumbnail.png
D/Ulp_jni ( 796): Location CB invoked
D/Ulp_jni ( 796): Location CB invoked
E/WifiStateMachine( 796): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.06 rxSuccessRate=0.06 targetRoamBSSID=any RSSI=-51
I/WifiHAL ( 796): Poll result = 1
I/WifiHAL ( 796): Found some events!!!
I/wpa_supplicant( 1597): wlan0: CTRL-EVENT-SCAN-STARTED
D/WifiHAL ( 796): no_seq_check received
I/WifiHAL ( 796): event received NL80211_CMD_TRIGGER_SCAN
I/WifiHAL ( 796): event received NL80211_CMD_TRIGGER_SCAN, vendor_id = 0x0
I/WifiHAL ( 796): event ignored!!
D/WifiService( 796): acquireWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
D/PhoneApp( 1769): getPhone phoneId:0
D/PhoneApp( 1769): getPhone phoneId:0
D/PhoneApp( 1769): getPhone phoneId:0
D/PhoneApp( 1769): getPhone phoneId:0
D/WifiService( 796): releaseWifiLockLocked: WifiLock{NlpWifiLock type=2 [email protected]}
I/WifiHAL ( 796): Poll result = 1
I/WifiHAL ( 796): Found some events!!!
D/WifiHAL ( 796): no_seq_check received
I/WifiHAL ( 796): event received NL80211_CMD_NEW_SCAN_RESULTS
I/WifiHAL ( 796): event received NL80211_CMD_NEW_SCAN_RESULTS, vendor_id = 0x0
I/WifiHAL ( 796): event ignored!!
V/XTWiFiOS( 796): Wifi scan result receiver called
D/LBSSystemMonitorService( 796): handleMessage what - 4
D/Wiper_jni( 796): Send Network Location.
D/Ulp_jni ( 796): Location CB invoked
D/Ulp_jni ( 796): Location CB invoked
E/WifiStateMachine( 796): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=any RSSI=-52
D/Ulp_jni ( 796): Location CB invoked
D/Ulp_jni ( 796): Location CB invoked
E/WifiStateMachine( 796): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=any RSSI=-50
D/Ulp_jni ( 796): Location CB invoked
^[[BD
Any help would be appreciated.
Try reinstalling it?
Already done. Multiple times. Both from titanium and fresh downloaded copy from play store.

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

Serius problem, memory corruption or something

I started having this problem one day when the phone fell to the ground while some apps were updated from the play store, I've done hard resets, I've installed everything from scratch and I still have this problem although I still have not tried installing another rom, After I took my cell phone from the ground, I turned it on and went into a bootloop but it was not any bootloop, It went into "Starting Android" and then went back to the start animation, I have solved this problem uninstalling all the apps deleting files with ADB in /data/app but when I install any app it happens again, besides the system starts sending app crash reports whenever It tries to open any application that need access that memory address, for example the Launcher or the Applications section of android settings. I read that it could be a persistent partition corruption, but i haven't found any information.
my device is a Samsung Galaxy J5 M [SM-J500M]
i have CUSTOM ROM CYANOGEN MOD 12.1 PREMIUM SPEED BY ZONIK SAMSUNG J500M/F/FN/G/Y/07 rom
found here
Code:
mega.co.nz/#!CJMWQKwB!RdhHCOzxfNGi1_2vvenoibLhp1j_k4EaPC1-H4DpYvc
and i can provide you with some debug trace of the error when i try to open Aplications in Android settings.
logcat:
Code:
I/Timeline( 6745): Timeline: Activity_launch_request id:com.android.settings time:996754
I/ActivityManager( 791): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000 on display 0
D/audio_hw_primary( 291): start_output_stream: enter: stream(0xb7692370)usecase(1: low-latency-playback) devices(0x2)
V/audio_hw_primary( 291): select_devices: ENTER
V/audio_hw_primary( 291): select_devices: usecase(normal)
V/audio_hw_primary( 291): select_devices: usecase(PCM_PLAYBACK)
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
D/audio_hw_primary( 291): select_devices: out_snd_device(2: speaker)
D/audio_hw_primary( 291): select_devices: in_snd_device(0: dummy)
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): enable_snd_device: snd_device(2: speaker, speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 3
V/WindowManager( 791): addAppToken: AppWindowToken{2bf62761 token=Token{2dd43ac8 ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767}}} to stack=1 task=2767 at 1
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 4
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 1
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 1
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 87
D/audio_route( 291): ---- audio_route_update_path ==============
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): enable_audio_route: apply mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 1
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): enable_audio_route: exit
V/msm8974_platform( 291): platform_get_output_snd_device: enter: output devices(0x2)
V/msm8974_platform( 291): get_OUTPUT_snd_device: for Normal Playback
V/msm8974_platform( 291): platform_get_output_snd_device: exit: snd_device(speaker)
V/msm8974_platform( 291): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 291): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 291): ACDB -> send_asm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_adm_topology
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 291): ACDB -> send_audtable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 291): ACDB -> send_audvoltable
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 291): ACDB -> send_afe_cal
D/ACDB-LOADER( 291): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 291): ACDB -> AUDIO_SET_AFE_CAL
D/ACDB-LOADER( 291): ACDB -> send_hw_delay : acdb_id = 15 path = 0
D/ACDB-LOADER( 291): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
V/audio_hw_primary( 291): start_output_stream: Opening PCM device card_id(0) device_id(12)
V/audio_hw_primary( 291): start_output_stream: exit
D/SubSettings( 6745): Launching fragment com.android.settings.applications.ManageApplications
W/ContextImpl( 6745): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1787 android.content.ContextWrapper.bindService:545 com.android.settings.applications.ManageApplications.onCreate:894 android.app.Fragment.performCreate:2031 android.app.FragmentManagerImpl.moveToState:863
V/WindowManager( 791): Adding window Window{2586aad1 u0 com.android.settings/com.android.settings.SubSettings} at 5 of 8 (after Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings})
I/ActivityManager( 791): Displayed com.android.settings/.SubSettings: +1s69ms
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ResourceType( 6745): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 6745): Failure retrieving resources for com.google.android.onetimeinitializer: Resource ID #0x0
I/Timeline( 6745): Timeline: Activity_idle id: [email protected] time:998100
F/libc ( 6745): invalid address or address of corrupt block 0x23 passed to dlfree
F/libc ( 6745): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 6873 (onsState.Loader)
I/DEBUG ( 288): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 288): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 288): HINT: adb forward tcp:5039 tcp:5039
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767} time:998209
I/DEBUG ( 288): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 288): Build fingerprint: 'samsung/j5ltexx/unknown:5.1.1/LMY49J/c2fef168b1:userdebug/test-keys'
I/DEBUG ( 288): Revision: '5'
I/DEBUG ( 288): ABI: 'arm'
I/DEBUG ( 288): pid: 6745, tid: 6873, name: onsState.Loader >>> com.android.settings <<<
I/DEBUG ( 288): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
I/DEBUG ( 288): Abort message: 'invalid address or address of corrupt block 0x23 passed to dlfree'
I/DEBUG ( 288): r0 00000000 r1 b6e23dec r2 deadbaad r3 00000000
I/DEBUG ( 288): r4 00000023 r5 b6e250d8 r6 99546000 r7 0000002b
I/DEBUG ( 288): r8 a13505bc r9 a135067c sl b6cf7272 fp b6cf727b
I/DEBUG ( 288): ip 00008000 sp a1350568 lr b6df4f07 pc b6df4f08 cpsr 600d0030
I/DEBUG ( 288):
I/DEBUG ( 288): backtrace:
I/DEBUG ( 288): #00 pc 00028f08 /system/lib/libc.so (dlfree+1239)
I/DEBUG ( 288): #01 pc 0000f363 /system/lib/libc.so (free+10)
I/DEBUG ( 288): #02 pc 00012b15 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+38)
I/DEBUG ( 288): #03 pc 0001384f /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+12)
I/DEBUG ( 288): #04 pc 0001386d /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
I/DEBUG ( 288): #05 pc 0001053b /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+258)
I/DEBUG ( 288): #06 pc 0001059d /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+68)
I/DEBUG ( 288): #07 pc 000822cf /system/lib/libandroid_runtime.so
I/DEBUG ( 288): #08 pc 0027b38b /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 288):
I/DEBUG ( 288): Tombstone written to: /data/tombstones/tombstone_01
I/BootReceiver( 791): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
W/ActivityManager( 791): Process com.android.settings has crashed too many times: killing!
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.SubSettings
W/ActivityManager( 791): Force finishing activity 4 com.android.settings/.Settings
W/ActivityManager( 791): Wtf, activity ActivityRecord{380996b1 u0 com.android.settings/.Settings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
W/ActivityManager( 791): Wtf, activity ActivityRecord{db06f6b u0 com.android.settings/.SubSettings t2767 f} in proc activity list not using proc ProcessRecord{4a20df5 6745:com.android.settings/1000}?!?
E/lowmemorykiller( 276): Error writing /proc/6745/oom_score_adj; errno=22
I/ActivityManager( 791): Killing 6745:com.android.settings/1000 (adj 9): crash
I/DeviceScanner( 3230): [MDNS] Received response from "LaWeaWeonQlo" (ae3e11b29fd758c5a27837b5c44262b3) with result "0 No change"
I/WindowState( 791): WIN DEATH: Window{c61c1e7 u0 com.android.settings/com.android.settings.Settings}
D/WifiService( 791): Client connection lost with reason: 4
I/Zygote ( 302): Process 6745 exited due to signal (11)
W/ActivityManager( 791): Spurious death for ProcessRecord{4a20df5 0:com.android.settings/1000}, curProc for 6745: null
W/ResourceType( 2410): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 2410): Failure retrieving resources for com.android.settings: Resource ID #0x0
W/InputMethodManagerService( 791): Got RemoteException sending setActive(false) notification to pid 6745 uid 1000
I/GoogleInputMethod( 2702): onFinishInput() : Dummy InputConnection bound
I/GoogleInputMethod( 2702): onStartInput() : Dummy InputConnection bound
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
I/Timeline( 2410): Timeline: Activity_idle id: [email protected] time:999085
I/Timeline( 791): Timeline: Activity_windows_visible id: ActivityRecord{e961ecf u0 com.android.systemui/.recents.RecentsActivity t2770} time:999100
W/ajjl ( 2779): Empty context buffer. Thus might mean that the context is not synced down.
W/ajfs ( 2779): Empty context model while retrieving upload opt-in status!
V/audio_hw_primary( 291): out_standby: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): stop_output_stream: enter: usecase(1: low-latency-playback)
V/audio_hw_primary( 291): disable_audio_route: enter: usecase(1)
V/audio_hw_primary( 291): disable_audio_route: reset mixer path: low-latency-playback
D/audio_route( 291): ++++ audio_route_update_mixer ==============
D/audio_route( 291): Setting mixer control: PRI_MI2S_RX Audio Mixer MultiMedia5, value: 0
D/audio_route( 291): ------ audio_route_update_mixer ==============
V/audio_hw_primary( 291): disable_audio_route: exit
D/hardware_info( 291): hw_info_append_hw_type : device_name = speaker
V/audio_hw_primary( 291): disable_snd_device: snd_device(2: speaker)
D/audio_route( 291): ++++ audio_route_update_path ==============
D/audio_route( 291): Setting mixer control: RX3 Digital Volume, value: 84
D/audio_route( 291): Setting mixer control: Speaker Boost, value: 0
D/audio_route( 291): Setting mixer control: SPK DAC Switch, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP2, value: 0
D/audio_route( 291): Setting mixer control: RX3 MIX1 INP1, value: 0
D/audio_route( 291): Setting mixer control: MI2S_RX Channels, value: 0
D/audio_route( 291): ---- audio_route_update_path ==============
V/audio_hw_primary( 291): stop_output_stream: exit: status(0)
V/audio_hw_primary( 291): out_standby: exit
and the /data/tombstones/tombstone_01 on pastebin
Code:
pastebin.com/jwZGN4Qr
sorry but i have recently signed up in XDA so i cant post links
Bumping, also, update i think it memory corruption because it isn't something linked directly to an aplication, i think it crash the app that tries to use that segment with a segfault sometimes crashes the launcher, sometimes the Settings, now i just installed tumblr from playstore and it just simply crashes with Segmentation fault deadbaad. in the time my cellphone fell, i use to link apps to MicroSD, thats the only thing i have not formatted, should i?
bump :c

Unexpected shutdown/restart

Hi,
I have again some ugly issues: from time to time, randomly, my HTC U12+ with latest software version shuts down, or reboots, or something.
For example, it works fine, I put it on the table and after some time, when I want to check it... Black screen. Not working.
Most of the time I struggle a lot to "open it". I keep pressing the power button, press it multiple times, press volume buttons... It looks like something happened and it does not work anymore.
The only "symptom" I found was that the Internet connection does not work anymore before losing the device.
Oh, I also booted in SAFE MODE, and it still happened!!!
I tried:
- Clear caches, both from Boost+, Settings and CCleaner
- Clear cache partition from recovery mode
- Shaking it and force it a bit thinking about a hardware connection
- I also, of course, used it without the case and it still happened
Nothing seems to work.
I took a bug report but I am not sure where to look at. I also connected using ADB and keeping it running with "logcat" hoping it will crash and I can find the bug in the logs...
Meanwhile, did this happen to any of you? Do you have any idea why this can happen?
Thanks!
Got some errors, this is exactly before the crash, last error messages:
04-08 18:10:58.738 1553 1894 D WifiStateMachine: handleMessage: E msg.what=131133
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: ConnectedState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: L2ConnectedState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: ConnectModeState
04-08 18:10:58.738 1553 1894 D WifiStateMachine: processMsg: DefaultState
04-08 18:10:58.760 1553 1605 D Tethering: interfaceRemoved rmnet_data1
04-08 18:10:58.761 748 748 E WifiHAL : acquire_supported_features: requestResponse Error:-4
04-08 18:10:58.762 1553 1926 D EthernetNetworkFactory: updateCapabilityFilter: []
04-08 18:10:58.770 748 748 E WifiHAL : wifi_get_logger_supported_feature_set: Error -4 happened.
04-08 18:10:58.773 748 748 E WifiHAL : acquire_supported_features: requestResponse Error:-4
04-08 18:10:58.773 748 748 E WifiHAL : wifi_get_logger_supported_feature_set: Error -4 happened.
04-08 18:10:58.766 14703 14703 W iptables-wrappe: type=1400 audit(0.0:2722): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.793 1553 1894 D WifiStateMachine: handleMessage: X
04-08 18:10:58.794 1553 1894 D WifiStateMachine: handleMessage: E msg.what=131135
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: ConnectedState
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: L2ConnectedState
04-08 18:10:58.794 1553 1894 D WifiStateMachine: processMsg: ConnectModeState
04-08 18:10:58.795 748 748 E WifiHAL : wifi_get_link_stats: requestResponse Error:-5
04-08 18:10:58.800 1553 1894 E WifiVendorHal: getWifiLinkLayerStats(l.937) failed {.code = ERROR_INVALID_ARGS, .description = }
04-08 18:10:58.802 1553 1894 D WifiStateMachine: handleMessage: X
04-08 18:10:58.803 1553 1590 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
04-08 18:10:58.833 1553 1590 D BatteryExternalStatsWorker: uES end
04-08 18:10:58.833 1553 1590 D BatteryExternalStatsWorker: end updateExternalStatsSync
04-08 18:10:58.840 1180 1235 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1235 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1235 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.841 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.841 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.842 1180 1180 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-08 18:10:58.842 1180 1180 E Diag_Lib: qpLogDiagInit <== result : 0
04-08 18:10:58.842 1180 1180 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-08 18:10:58.836 14708 14708 W iptables-wrappe: type=1400 audit(0.0:2723): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.857 752 2147 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.857 752 2159 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.857 1127 1210 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.858 1128 1165 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-08 18:10:58.864 1088 1158 I cnss-daemon: wlfw_qmi_err_cb: Server disconnect, err -2 client 0x3K
04-08 18:10:58.864 1088 1145 I cnss-daemon: wlfw_service_request: Pthread exiting
04-08 18:10:58.868 1553 1605 D Tethering: interfaceRemoved rmnet_data2
04-08 18:10:58.869 1553 1926 D EthernetNetworkFactory: updateCapabilityFilter: []
04-08 18:10:58.871 1088 14709 E cnss-daemon: ro.baseband : [msm]
04-08 18:10:58.873 1170 1250 E ThermalEngine: qmi_clnt_error_cb: with error -2 called for clnt MODEM
04-08 18:10:58.876 1127 1127 E slim_daemon: [QMISLIM] slim_QSQmiSvc_HandleSlimEvent: Client for ID 2 is not found
04-08 18:10:58.906 14715 14715 W iptables-wrappe: type=1400 audit(0.0:2724): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=16129 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-08 18:10:58.877 1170 1269 E ThermalEngine: qmi_ts_clnt_error_cb: with -2 called for clnt MODEM0
04-08 18:10:58.879 1251 2542 I QTI_SDM_INFO: [qti_rmnet_dpm.c:586] dpm_erro_cb():qti_dpm_erro_cb
04-08 18:10:58.881 1022 1072 D QC-time-services: Daemon:genoff_qmi_error_cb: Error callback called
04-08 18:10:58.882 1022 1060 D QC-time-services: Daemon:genoff_modem_qmi_service_request: Initializing QMI
04-08 18:10:58.886 1088 1786 I cnss-daemon: wlan_qmi_err_cb: WLPS service disconnect, called with error -2 for client 0x4K
Click to expand...
Click to collapse
I tried to change settings from Developer option, to stop services, uninstall apps, nothing seems to help.
I got another error log:
04-10 12:42:42.462 12182 12202 I FA : Tag Manager is not found and thus will not be used
04-10 12:42:42.507 12182 12236 D libc : [NET] dns_sku:0
04-10 12:42:42.508 12182 12236 D libc : [NET] android_getaddrinfo_proxy get netid:0
04-10 12:42:42.509 1067 12242 D libc : [NET] _dns_getaddrinfo+, netid:100, mark:983140
04-10 12:42:42.515 2595 12181 I FSA2_RawContactSyncer: contact count. before sweep: -1, before sync: 0, after sync down: -1, after sync up: 0
04-10 12:42:42.515 2595 12181 W FSA2_ContactsSyncAdapter: @onPerformSync Sync finished successfully
04-10 12:42:42.556 1067 12242 D libc : [NET] _dns_getaddrinfo-, (NS_SUCCESS)
04-10 12:42:42.558 12182 12236 D libc : [NET] android_getaddrinfo_proxy-, success
04-10 12:42:42.563 12182 12236 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
04-10 12:42:42.776 1536 2575 D AlarmManager: [AlarmGrouping_4.0] before: 82012d8 2020-04-10 12:43:55 257081 name=com.google.android.gms type=ELAPSED_WAKEUP window=54546 interval=0
04-10 12:42:42.777 1536 2575 D AlarmManager: [AlarmGrouping_4.0] after: 82012d8 2020-04-10 12:50:00 621578 name=com.google.android.gms type=ELAPSED_WAKEUP window=54546 interval=0
04-10 12:42:42.953 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: BlockingExecutor [email protected][Running, pool size = 2, active threads = 0, queued tasks = 0, completed tasks = 13]
04-10 12:42:42.954 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: LightweightExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 72]
04-10 12:42:43.198 1536 3796 I BatteryService: n_update end
04-10 12:42:43.201 739 739 D qdlights: set_light_battery colorRGB=FFFF0000
04-10 12:42:43.202 739 739 D qdlights: set_speaker_light_locked mode 0, colorRGB=FFFF0000, onMS=0, offMS=0
04-10 12:42:43.202 739 739 D qdlights: [LEDInfo] has indicator attribute
04-10 12:42:43.202 739 739 D qdlights: [LedInfo] write attr ok name=/sys/class/leds/indicator/ModeRGB string=1ff0000,len=7
04-10 12:42:43.209 1974 1974 I BatteryController: (lvl,plug,charged,charging)=(13,T,f,T) [status,health,timeout,unsupprt]=[2,2,f,f]
04-10 12:42:43.210 1536 1616 D HtcPowerSaver: updateBatteryInfo
04-10 12:42:43.210 7949 7949 D PowerWakeLock: acquirePower AOD_BatteryController
04-10 12:42:43.211 1536 4622 V LocSvc_HIDL_Subscription_jni: battery_level_update
04-10 12:42:43.214 1536 4622 V LocSvc_HIDL_Subscription_jni: [battery_level_update][931] [HC] =>> [HS]
04-10 12:42:43.214 754 754 V LocSvc_HIDL_IzatSubscription: [batteryLevelUpdate][777] [HS] <<<<= [HC]
04-10 12:42:43.214 1536 4622 V LocSvc_HIDL_Subscription_jni: Exit Result 0
04-10 12:42:43.216 1536 1536 D UsbnetService: BroadcastReceiver:nReceive+
04-10 12:42:43.216 1536 1536 D UsbnetService: onReceive BATTERY_CHANGED
04-10 12:42:43.217 1536 1536 D UsbnetService: --> pluggedType = 2, mPluggedType = 0, mScreenOff = false
04-10 12:42:43.217 1536 1536 D UsbnetService: BroadcastReceiver:nReceive-
04-10 12:42:43.217 7949 7949 D BatteryController: onReceive : android.intent.action.BATTERY_CHANGED
04-10 12:42:43.217 1536 1536 D UsbDeviceManager: Receive update chargind state broadcast
04-10 12:42:43.217 1536 1536 I DeviceIdleController: updateChargingLocked: charging=true
04-10 12:42:43.217 1536 1612 D UsbDeviceManager: [USB] handleMessage: 9; pre_mConnected=true, pre_mConfiguration=true
04-10 12:42:43.217 7949 7949 I BatteryController: (lvl,plug,charging)=(13,T,T) [status,health,timeout,unsupprt]=[2,2,f,f]
04-10 12:42:43.218 7949 7949 D AodClockView: onBatteryLevelChanged (13, true, true, false, false)
04-10 12:42:43.218 7949 7949 D b : onBatteryLevelChangedInternal(13, true, true, false, false)
04-10 12:42:43.220 7949 7949 D PowerWakeLock: releasePower AOD_BatteryController
04-10 12:42:43.222 1536 1536 W DeviceIdleController: becomeActiveLocked, reason = charging
04-10 12:42:43.222 1536 1536 D PowerManagerService: runPSCheck
04-10 12:42:43.222 1536 1536 D HtcPowerSaver: Checking...
04-10 12:42:43.222 1536 1536 I HtcPowerSaver: >> updateStatus
04-10 12:42:43.222 1536 1536 I HtcPowerSaver: << updateStatus
04-10 12:42:43.229 1989 1989 I PowerUI_SlowChargerReceiver: onReceive : com.htc.intent.action.BATTERY_LEVEL_CHANGED
04-10 12:42:43.231 1989 1989 I SmartNS_ChargeOnly_Enabler: battery status:2
04-10 12:42:43.236 1989 1989 I PowerUI_SlowChargerReceiver: Level: 13 Plug usb battery level: 12 Battery health: 2 USB type: 2
04-10 12:42:43.376 11088 11123 I Finsky : [147] kem.run(3): Stats for Executor: bgExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 62]
04-10 12:42:43.381 3119 3119 W NotificationListener: shouldBeFilteredOut !canShowBadge() com.android.systemui
04-10 12:42:43.385 3104 3104 I Launcher: Deferring update until onResume
04-10 12:42:43.395 1974 1974 I StackScroller: updateEmptyShade(true,false,false)
04-10 12:42:43.395 1974 1974 I StatusBar: updateEmptyShade(true,false)
04-10 12:42:43.395 1974 1974 I StackScroller: setBlockTouch:false
04-10 12:42:43.495 1941 1941 D wpa_supplicant: RTM_NEWLINK: ifi_index=8 ifname=rmnet_ipa0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.504 1536 1612 I EthernetTracker: interfaceLinkStateChanged, iface: rmnet_ipa0, up: false
04-10 12:42:43.505 1536 1612 V WifiNative: Received iface link up/down notification on an invalid iface=rmnet_ipa0
04-10 12:42:43.505 1536 1612 D Tethering: interfaceStatusChanged rmnet_ipa0, false
04-10 12:42:43.508 1536 1612 D Tethering: ignore interface down for rmnet_ipa0
04-10 12:42:43.566 1941 1941 D wpa_supplicant: RTM_NEWLINK: ifi_index=20 ifname=r_rmnet_data0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.568 1536 1612 I EthernetTracker: interfaceLinkStateChanged, iface: r_rmnet_data0, up: false
04-10 12:42:43.569 1536 1612 V WifiNative: Received iface link up/down notification on an invalid iface=r_rmnet_data0
04-10 12:42:43.570 1536 1612 D Tethering: interfaceStatusChanged r_rmnet_data0, false
04-10 12:42:43.581 1536 1612 D Tethering: ignore interface down for r_rmnet_data0
04-10 12:42:43.640 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=8 ifname=rmnet_ipa0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.640 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_ipa0' removed
04-10 12:42:43.646 1536 1612 D Tethering: interfaceRemoved rmnet_ipa0
04-10 12:42:43.646 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.649 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=9 ifname=rmnet_data0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.649 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data0' removed
04-10 12:42:43.650 1536 1612 D Tethering: interfaceRemoved rmnet_data0
04-10 12:42:43.650 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.681 12252 12252 W iptables-wrappe: type=1400 audit(0.0:2730): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.751 12253 12253 W iptables-wrappe: type=1400 audit(0.0:2731): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.797 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=10 ifname=rmnet_data1 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.797 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data1' removed
04-10 12:42:43.798 1536 1612 D Tethering: interfaceRemoved rmnet_data1
04-10 12:42:43.798 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.821 12254 12254 W iptables-wrappe: type=1400 audit(0.0:2732): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.880 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=11 ifname=rmnet_data2 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.881 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data2' removed
04-10 12:42:43.889 1536 1612 D Tethering: interfaceRemoved rmnet_data2
04-10 12:42:43.889 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:43.891 12255 12255 W iptables-wrappe: type=1400 audit(0.0:2733): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.951 12256 12256 W iptables-wrappe: type=1400 audit(0.0:2734): avc: denied { read write } for path="/dev/diag" dev="tmpfs" ino=17763 scontext=u:r:netutils_wrapper:s0 tcontext=ubject_r:diag_devi
ce:s0 tclass=chr_file permissive=0
04-10 12:42:43.957 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=12 ifname=rmnet_data3 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:43.957 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data3' removed
04-10 12:42:43.958 1536 1612 D Tethering: interfaceRemoved rmnet_data3
04-10 12:42:43.959 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.037 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=13 ifname=rmnet_data4 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.037 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data4' removed
04-10 12:42:44.041 1536 1612 D Tethering: interfaceRemoved rmnet_data4
04-10 12:42:44.057 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.087 1173 1221 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1221 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1221 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.088 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.088 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.089 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.089 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.089 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.100 754 2066 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.100 1130 1186 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.101 1129 1208 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.102 754 2069 E LocSvc_ApiV02: errorCb:4087]: Service unavailable error
04-10 12:42:44.108 1089 1148 I cnss-daemon: wlfw_qmi_err_cb: Server disconnect, err -2 client 0x2K
04-10 12:42:44.108 1089 1145 I cnss-daemon: wlfw_service_request: Pthread exiting
04-10 12:42:44.115 1089 12259 E cnss-daemon: ro.baseband : [msm]
04-10 12:42:44.117 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=14 ifname=rmnet_data5 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.117 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data5' removed
04-10 12:42:44.121 1536 1612 D Tethering: interfaceRemoved rmnet_data5
04-10 12:42:44.122 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.137 1129 1129 E slim_daemon: [QMISLIM] slim_QSQmiSvc_HandleSlimEvent: Client for ID 2 is not found
04-10 12:42:44.138 1159 1234 E ThermalEngine: qmi_clnt_error_cb: with error -2 called for clnt MODEM
04-10 12:42:44.140 1271 2500 I QTI_SDM_INFO: [qti_rmnet_dpm.c:586] dpm_erro_cb():qti_dpm_erro_cb
04-10 12:42:44.143 1159 1249 E ThermalEngine: qmi_ts_clnt_error_cb: with -2 called for clnt MODEM0
04-10 12:42:44.143 1271 2498 I QTI_SDM_INFO: [qti_rmnet_peripheral.c:1221] qti_rmnet_ph_set_modem_state():Received set modem state to 0
04-10 12:42:44.143 1271 2498 E QTI_SDM_INFO: [qti_rmnet_peripheral.c:1233] qti_rmnet_ph_set_modem_state():Couldn't set ph_iface_fd
04-10 12:42:44.143 1271 2498 E QTI_SDM_INFO: [qti_rmnet_modem.c:1726] qti_rmnet_modem_not_in_service():Failed to set modem state on peripheral driver file
04-10 12:42:44.143 1271 2498 I QTI_SDM_INFO: [qti_rmnet_dpm.c:542] qti_rmnet_dpm_release():qti_rmnet_dpm_release Entry
04-10 12:42:44.144 1271 2498 I QTI_SDM_INFO: [qti_rmnet_dpm.c:551] qti_rmnet_dpm_release():Successfully deregistered DPM client
04-10 12:42:44.144 1271 2498 I QTI_SDM_INFO: [qti_rmnet_modem.c:1737] qti_rmnet_modem_not_in_service():qti rmnet modem not in service going to register DPM call back
04-10 12:42:44.148 1025 1079 D QC-time-services: Daemon:genoff_qmi_error_cb: Error callback called
04-10 12:42:44.148 1025 1069 D QC-time-services: Daemon:genoff_modem_qmi_service_request: Initializing QMI
04-10 12:42:44.151 1536 2092 D HtcSystemUPManager: HtcSystemUPolicy [canLog (default)] category: modem, enable: true
04-10 12:42:44.157 1089 1789 I cnss-daemon: wlan_qmi_err_cb: WLPS service disconnect, called with error -2 for client 0x4K
04-10 12:42:44.159 1018 10372 V AudioFlg: registerClient() client 0xe2c3e018, pid 2109
04-10 12:42:44.160 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.173 1018 10372 D PermissionCache: checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1001 => granted (13392 us)
04-10 12:42:44.173 1018 10372 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.174 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.175 722 957 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.175 722 957 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.175 722 957 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.175 722 957 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.175 722 957 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.178 722 957 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.178 1536 2093 D HtcSystemUPManager: HtcSystemUPReceiver Wrong format of UP data, ignore it!
04-10 12:42:44.182 1018 1338 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.182 1018 1338 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.183 1018 1338 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.186 722 957 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.186 722 957 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.187 722 957 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.187 722 957 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.187 722 957 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.189 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.189 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.189 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.189 1173 1173 E Diag_Lib: Diag_LSM_Init: Failed to open handle to diag driver, error = 13
04-10 12:42:44.189 1173 1173 E Diag_Lib: qpLogDiagInit <== result : 0
04-10 12:42:44.189 2874 2948 I SecureElement-Terminal-SIM1: OnStateChange:false
04-10 12:42:44.189 1173 1173 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-10 12:42:44.190 1271 2498 I QTI_SDM_INFO: [qti_rmnet_modem.c:1749] qti_rmnet_modem_not_in_service():Completed processing modem out of service ind
04-10 12:42:44.190 1271 2498 I QTI_SDM_INFO: [qti_cmdq.c:113] qti_cmdq_cmd_free():qcmap_cmdq: free one commmand data
04-10 12:42:44.190 2874 2948 I SecureElement-AccessControlEnforcer: Reset the ACE for terminal:SIM1
04-10 12:42:44.192 1159 12263 I ThermalEngine: qmi: Instance id 0 for MODEM0 TS
04-10 12:42:44.194 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.195 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.195 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.195 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.195 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.195 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.195 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.195 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.195 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.196 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.199 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.200 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=299651072;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.200 1018 10372 W AudioFlg: setParameters(): Voice vsid=299651072;call_state=1
04-10 12:42:44.200 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=299651072
04-10 12:42:44.200 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=299651072
04-10 12:42:44.201 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.201 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.201 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.201 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.202 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=299651072
04-10 12:42:44.203 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.203 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.203 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.204 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.204 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.204 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.204 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.204 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.205 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.208 1018 10372 V AudioFlg: setParameters(): io 0, keyvalue vsid=297816064;call_state=1, calling pid 2109 calling uid 1001
04-10 12:42:44.208 1018 10372 W AudioFlg: setParameters(): Voice vsid=297816064;call_state=1
04-10 12:42:44.209 1018 10372 V AudioFlg: setParameters: filtered keyvalue call_state=1;vsid=297816064
04-10 12:42:44.209 722 3408 D audio_hw_primary: adev_set_parameters: enter: call_state=1;vsid=297816064
04-10 12:42:44.209 722 3408 D voice_extn: update_call_states is_call_active:0 in_call:0, mode:0
04-10 12:42:44.209 722 3408 D audio_hw_extn: audio_extn_set_anc_parameters: anc_enabled:0
04-10 12:42:44.209 722 3408 D split_a2dp: ignore a2dp setparameter
04-10 12:42:44.209 722 3408 D audio_hw_spkr_prot: audio_extn_fbsp_set_parameters: Speaker protection disabled
04-10 12:42:44.209 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.212 2124 2124 I ImsFeature: notifying ImsFeatureState=0
04-10 12:42:44.212 2124 2124 I ImsServiceController: notifyImsFeatureStatus: slot=0, feature=1, status=0
04-10 12:42:44.213 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.215 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 28 lines
04-10 12:42:44.215 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.215 722 3408 D r_submix: adev_set_parameters: call_state=1;vsid=297816064
04-10 12:42:44.216 2124 2124 W ImsServiceController: sendImsFeatureStatusChanged: Binder died, removing callback. Exception:null
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.216 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 2 lines
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.216 2124 2124 W ImsServiceController: sendImsFeatureStatusChanged: Binder died, removing callback. Exception:null
04-10 12:42:44.216 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.217 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 11 lines
04-10 12:42:44.217 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.218 2124 2124 I CallbackAdapterManager: Closing connection and clearing callbacks
04-10 12:42:44.218 2124 2124 W MmTelFeatureConnection: remove: Couldn't get IImsMmTelFeature binder
04-10 12:42:44.218 2124 2124 I CallbackAdapterManager: Closing connection and clearing callbacks
04-10 12:42:44.219 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.219 2124 2124 I chatty : uid=1001(radio) com.android.phone identical 13 lines
04-10 12:42:44.219 2124 2124 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.219 2097 2116 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.222 2097 2108 I MmTelFeatureConnection: imsStatusChanged: slot: 0 feature: 1 status: 0
04-10 12:42:44.228 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.231 2097 2116 I MmTelFeatureConnection: onDeregistered ::
04-10 12:42:44.235 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.238 1941 1941 D wpa_supplicant: RTM_DELLINK: ifi_index=15 ifname=rmnet_data6 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x0 ()
04-10 12:42:44.238 1941 1941 D wpa_supplicant: RTM_DELLINK: Interface 'rmnet_data6' removed
04-10 12:42:44.240 2927 2993 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=47
04-10 12:42:44.242 1536 1927 D EthernetNetworkFactory: updateCapabilityFilter: []
04-10 12:42:44.242 1536 1612 D Tethering: interfaceRemoved rmnet_data6
04-10 12:42:44.245 2927 2993 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=47
04-10 12:42:44.246 1974 1974 D NetworkController: [FakeUI][0] Start!
04-10 12:42:44.252 1974 1974 D NetworkController: [FakeUI][1] Start!
04-10 12:42:44.258 2124 2124 D HtcBuildUtils: supportSIMLockedNotification = 0
Click to expand...
Click to collapse
Does anyone have any idea why this happens?
Could it be a hardware issue?
I do not want to lose all the data on the phone (I know, backup helps but not fully: 2 factor authentication apps, etc.)
OK, problem soved: I destroyed the phone (getting a small hand cut as well).
Reset to factory > Same thing
Recovery mode > Wipe > Same thing
It was probably a hardware issue. I saved my data (what I could) and throw it at the garbage.
So from now on, never HTC (if they ever come with a new phone). System UI restarting, no updates, this errors, dumb buttons (never fully worked, of course, and almost 2 years were not enough to get used to them).

Help with determining cause of crash at boot on Custom Android Device

I have a custom device with firmware created by the manufacturer of said device. It is running Android 7.1.1. It runs a custom app which is the only thing that runs (end user can only see our app). The device ran fine for a couple of months and now when booting up it won't go past the boot logo. I have attached the logcat error below as a reply to this post (was going to post the whole logcat, but it was too long, so posted from the beginning of the crash to a good ways below it) but the main part of the crash points to a null reference pointer in zygote (best i can discern), but i do not know how to determine the root cause of this. Any ideas? Of either what the cause is, or better yet how to track it down?
Small addendum, I could try to re-flash it to fix the issue, but I am more concerned with determining the cause that fixing it so I can determine if it is an issue I am going to encounter with our other devices or was a one off issue.
--------- beginning of crash
01-27 23:17:20.203 1817 1817 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1817 (zygote)
01-27 23:17:20.203 1676 1676 W : debuggerd: handling request: pid=1817 uid=0 gid=0 tid=1817
01-27 23:17:20.248 2267 2267 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)
01-27 23:17:20.299 2267 2267 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-27 23:17:20.299 2267 2267 F DEBUG : Build fingerprint: 'Lathem/a40_p1/a40-p1:7.1.1/NMF27D/20201022:user/test-keys'
01-27 23:17:20.299 2267 2267 F DEBUG : Revision: '0'
01-27 23:17:20.299 2267 2267 F DEBUG : ABI: 'arm'
01-27 23:17:20.300 2267 2267 F DEBUG : pid: 1817, tid: 1817, name: zygote >>> zygote <<<
01-27 23:17:20.300 2267 2267 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-27 23:17:20.300 2267 2267 F DEBUG : r0 ad4022f4 r1 bed479ac r2 bed46820 r3 00000000
01-27 23:17:20.300 2267 2267 F DEBUG : r4 0000002f r5 ffffff8c r6 bed47020 r7 bed46838
01-27 23:17:20.300 2267 2267 F DEBUG : r8 ad3d4292 r9 00000000 sl ad3d4292 fp bed46820
01-27 23:17:20.300 2267 2267 F DEBUG : ip ad3ff248 sp bed46800 lr ad36594b pc 00000000 cpsr 600f0010
01-27 23:17:20.306 2267 2267 F DEBUG :
01-27 23:17:20.306 2267 2267 F DEBUG : backtrace:
01-27 23:17:20.306 2267 2267 F DEBUG : #00 pc 00000000 <unknown>
01-27 23:17:20.306 2267 2267 F DEBUG : #01 pc 00067947 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime7startVmEPP7_JavaVMPP7_JNIEnvb+2250)
01-27 23:17:20.306 2267 2267 F DEBUG : #02 pc 00067d1d /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+272)
01-27 23:17:20.306 2267 2267 F DEBUG : #03 pc 00001995 /system/bin/app_process32
01-27 23:17:20.306 2267 2267 F DEBUG : #04 pc 00016c4d /system/lib/libc.so (__libc_init+48)
01-27 23:17:20.306 2267 2267 F DEBUG : #05 pc 0000159c /system/bin/app_process32
01-27 23:17:20.484 1676 1676 W : debuggerd: resuming target 1817
01-27 23:17:20.491 1923 2130 D BootAnimation: found audio.wav, creating playback engine
01-27 23:17:20.491 1923 2130 D BootAnimation: nobootmusic: 0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: card=audiocodec, mCard=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: device=0
01-27 23:17:20.492 1923 2130 D BootAnim_AudioPlayer: period_size=1024
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: period_count=2
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Right Output Mixer DACR Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Left Output Mixer DACL Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_R Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_R Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "HP_L Mux" = OMIX
01-27 23:17:20.493 1923 2130 E BootAnim_AudioPlayer: mixer_get_ctl_by_name failed for HP_L Mux
01-27 23:17:20.493 1923 2130 D BootAnim_AudioPlayer: name: "Headphone Switch" = 1
01-27 23:17:20.493 1923 2130 D BootAnimation: playing clip for part0, size=11968
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.sound_trigger_hw' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.radio' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_flinger' died
01-27 23:17:20.536 1787 1787 I ServiceManager: service 'media.audio_policy' died
01-27 23:17:20.546 1787 1787 I ServiceManager: service 'media.camera' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.player' died
01-27 23:17:20.552 1787 1787 I ServiceManager: service 'media.resource_manager' died
01-27 23:17:20.677 1789 1886 I [Gralloc]: ion_alloc from ion_client:17 via heap type CARVEOUT(mask:4) for 2457600 Bytes uncached buffer successfully, usage = 0x00000f02
01-27 23:17:22.922 2476 2476 I Netd : Netd 1.0 starting
01-27 23:17:22.922 2476 2476 D TetherController: Setting IP forward enable = 0
01-27 23:17:23.464 2474 2474 I cameraserver: ServiceManager: 0xac099360
01-27 23:17:23.464 2474 2474 I CameraService: CameraService started (pid=2474)
01-27 23:17:23.464 2474 2474 I CameraService: CameraService process starting
01-27 23:17:23.464 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.465 2474 2474 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.534 2469 2469 I : sMaxFastTracks = 8
01-27 23:17:23.543 2469 2469 I audioserver: ServiceManager: 0xa8c19360
01-27 23:17:23.543 2469 2469 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.543 2469 2469 I AudioFlinger: Using default 3000 mSec as standby time.
01-27 23:17:23.545 2469 2469 I AudioPolicyService: AudioPolicyService CSTOR in new mode
01-27 23:17:23.624 2469 2469 V audio_hw_primary: init_audio_devices, line: 487
01-27 23:17:23.624 2469 2469 D audio_hw_primary: read card /sys/class/sound/card0/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card0/id, audiocodec, len: 11
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = audiocodec, android name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = audiocodec, card_name = AUDIO_CODEC
01-27 23:17:23.625 2469 2469 V audio_hw_primary: card: 0, name: AUDIO_CODEC, capture: 1, playback: 1
01-27 23:17:23.625 2469 2469 D audio_hw_primary: read card /sys/class/sound/card1/id
01-27 23:17:23.625 2469 2469 D audio_hw_primary: /sys/class/sound/card1/id, fmidi, len: 6
01-27 23:17:23.625 2469 2469 D audio_hw_primary: linux name = fmidi, android name = AUDIO_USB_fmidi
01-27 23:17:23.625 2469 2469 D audio_hw_primary: find name map, card_id = fmidi, card_name = AUDIO_USB_fmidi
01-27 23:17:23.626 2469 2469 V audio_hw_primary: card: 1, name: AUDIO_USB_fmidi, capture: 0, playback: 0
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active, line: 518
01-27 23:17:23.640 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.input.active: AUDIO_CODEC
01-27 23:17:23.641 2469 2469 V audio_hw_primary: set property audio.input.active: AUDIO_CODEC ok
01-27 23:17:23.641 2469 2469 V audio_hw_primary: AUDIO_CODEC input device will be active
01-27 23:17:23.641 2469 2469 V audio_hw_primary: init_audio_devices_active: get property audio.output.active: AUDIO_CODEC,AUDIO_I2S
01-27 23:17:23.643 2469 2469 V audio_hw_primary: set property audio.output.active: AUDIO_CODEC,AUDIO_I2S ok
01-27 23:17:23.643 2469 2469 V audio_hw_primary: AUDIO_CODEC output card 0 device will be active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: can not set AUDIO_I2S ouput active
01-27 23:17:23.643 2469 2469 E audio_hw_primary: but device AUDIO_CODEC AUDIO_USB_fmidi ouput will be active
01-27 23:17:23.643 2469 2469 V audio_hw_primary: OK, default use AUDIO_CODEC playback
01-27 23:17:23.643 2469 2469 V audio_hw_primary: use card 0 AUDIO_CODEC mixer control
01-27 23:17:23.645 2469 2469 V audio_hw_primary: init T3 codec in adev_open: card 0, /system/etc/codec_paths.xml.
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_R Mux' doesn't exist - skipping
01-27 23:17:23.647 2469 2469 E audio_route: Control 'HP_L Mux' doesn't exist - skipping
01-27 23:17:23.662 2469 2469 D audio_hw_primary: line:1224,select_output_device,adev->mode:0, AUDIO_MODE_RINGTONE:1, AUDIO_MODE_NORMAL:0
01-27 23:17:23.663 2469 2469 V audio_hw_primary: normal mode, ****LINE:1241,FUNC:select_output_device, adev->out_device:2
01-27 23:17:23.663 2469 2469 D audio_hw_primary: adev_open success ,LINE:3235,FUNC:adev_open
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_get_master_volume, line: 2965
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_set_master_volume, line: 2959
01-27 23:17:23.663 2469 2469 I AudioFlinger: loadHwModule() Loaded primary audio interface from sunxi audio HW HAL (audio) handle 10
01-27 23:17:23.663 2469 2469 I AudioFlinger: openOutput(), module 10 Device 2, SamplingRate 44100, Format 0x000001, Channels 3, flags 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: adev_open_output_stream, flags: 2
01-27 23:17:23.663 2469 2469 V audio_hw_primary: +++++++++++++++ adev_open_output_stream: req_sample_rate: 44100, fmt: 1, channel_count: 3
01-27 23:17:23.663 2469 2469 I AudioFlinger: HAL output buffer size 2720 frames, normal sink buffer size 2720 frames
01-27 23:17:23.702 2469 2469 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
01-27 23:17:23.702 2469 2469 I AudioFlinger: Using module 10 has the primary audio interface
01-27 23:17:23.716 2469 2580 I AudioFlinger: AudioFlinger's thread 0xa8703cc0 ready to run
01-27 23:17:23.717 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.717 2469 2580 V audio_hw_primary: out_set_parameters: routing=2
01-27 23:17:23.717 2469 2580 D audio_hw_primary: out_standby
01-27 23:17:23.718 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.719 2469 2560 V audio_hw_primary: adev_set_voice_volume, volume: 0.000000
01-27 23:17:23.720 2469 2469 V audio_hw_primary: to malloc in-buffer: period_size: 1024, frame_size: 4
01-27 23:17:23.722 2469 2583 I AudioFlinger: AudioFlinger's thread 0xa850c900 ready to run
01-27 23:17:23.722 2469 2580 W BatteryNotifier: batterystats service unavailable!
01-27 23:17:23.722 2469 2580 W AudioFlinger: no wake lock to update, system not ready yet
01-27 23:17:23.722 2469 2580 E cutils-trace: Error opening trace file: No such file or directory (2)
01-27 23:17:23.722 2469 2469 D audio_hw_primary: adev_close_input_stream set voice record status
01-27 23:17:23.725 2469 2469 I bt_a2dp_hw: adev_open: adev_open in A2dp_hw module
01-27 23:17:23.725 2469 2469 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 18
01-27 23:17:23.729 2469 2469 I AudioFlinger: loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 26
01-27 23:17:23.753 2469 2469 I r_submix: adev_open(name=audio_hw_if)
01-27 23:17:23.753 2469 2469 I r_submix: adev_init_check()
01-27 23:17:23.753 2469 2469 I AudioFlinger: loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 34
01-27 23:17:23.754 2469 2469 D r_submix: adev_open_input_stream(addr=0)
01-27 23:17:23.754 2469 2469 D r_submix: submix_audio_device_create_pipe_l(addr=0, idx=9)
01-27 23:17:23.754 2469 2469 D r_submix: now using address 0 for route 9
01-27 23:17:23.755 2469 2586 I AudioFlinger: AudioFlinger's thread 0xa84832c0 ready to run
01-27 23:17:23.755 2469 2469 D r_submix: adev_close_input_stream()
01-27 23:17:23.755 2469 2469 D r_submix: submix_audio_device_release_pipe_l(idx=9) addr=0
01-27 23:17:23.756 2469 2469 D r_submix: submix_audio_device_destroy_pipe_l(): pipe destroyed
01-27 23:17:23.757 2469 2469 I RadioService: RadioService
01-27 23:17:23.757 2469 2469 I RadioService: onFirstRef
01-27 23:17:23.758 2469 2469 E RadioService: couldn't load radio module radio.primary (No such file or directory)
01-27 23:17:23.759 2469 2469 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
Is there a way to fix this problem without wiping data?
Is there a particular reason why you're not updating to Android Q? This looks like a segmentation error, which is pretty much common among Android 7 devices. Maybe you should consider upgrading or downgrading your Android version to see if it helps.

Categories

Resources