- Download these 2 files
- Compile AOSP without fcm from stock and wait for check_vintf to error out
- Delete Python prefix from all lines (e.g.
checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554]) - Paste the result in fqnames.txt
- Launch the script
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 04-23 14:03:22.218 D/audio_hw_utils(1444): audio_extn_utils_compress_get_dsp_latency:: Using Fix DSP delay | |
| 04-23 14:03:22.218 D/audio_hw_utils(1444): audio_extn_utils_compress_get_dsp_latency:: delay in ms is 50 | |
| 04-23 14:03:22.218 D/audio_hw_utils(1444): audio_extn_utils_compress_get_dsp_latency:: Using Fix DSP delay | |
| 04-23 14:03:22.218 D/audio_hw_utils(1444): audio_extn_utils_compress_get_dsp_latency:: delay in ms is 50 | |
| 04-23 14:03:22.218 I/AudioFlinger(1649): AudioFlinger's thread 0xb400007cb92ba4c0 tid=27248 ready to run | |
| 04-23 14:03:22.220 V/PowerManagerService(2255): FrozenStateChangeCallback was already unregistered | |
| 04-23 14:03:22.222 I/AudioFlinger(1649): openOutput() this 0xb400007cc7651000, module 10 Device AUDIO_DEVICE_OUT_WIRED_HEADPHONE, @:, SamplingRate 8000, Format 0x000001, Channels 0x1, flags 0x8001 | |
| 04-23 14:03:22.222 D/audio_hw_primary(1444): adev_open_output_stream: enter: format(0x1) sample_rate(8000) channel_mask(0x1) devices(0x8) flags(0x8001) stream_handle(0xf616f800) address() | |
| 04-2 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 8 columns, instead of 4 in line 9.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cluster,Frequency (kHz),CoreMarks (iter/s),CoreMarks/MHz,Power (mW),Energy (J),ULPMark-CM (iter/mJ),Time (s) | |
| 1,1209600.0,4491.47518,3.713190459656085,101.58190036265444,5.654486210141144,44.212681879324926,55.664308208 | |
| 1,1382400.0,5133.154015,3.713219050202546,113.68185042081248,5.536999140402783,45.15081069378928,48.706096179 | |
| 1,1632000.0,6060.018422,3.713246582107843,131.4728515359268,5.424232740889531,46.08946775373838,41.25743587 | |
| 1,1708800.0,6345.338714,3.713330239934457,137.015358972923,5.39865366733487,46.30784180742167,39.401813839 | |
| 1,1785600.0,6630.244523,3.713174576052868,145.5985710625134,5.4903560847856365,45.53438723087137,37.708859673 | |
| 4,1401600.0,10918.460934,7.789997812500001,310.76724395745435,7.11913410236127,35.1166302538226,22.908251242 | |
| 4,2323200.0,18088.416178,7.785991812155648,717.4623344820769,9.924532071378932,25.190104500842686,13.832826609 | |
| 4,2419200.0,18835.229413,7.785726443865742,845.230903328923,11.228742518013249,22.264291802839704,13.284822495 | |
| 7,1804800.0,14062.324221,7.791624679188 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hardware/ril | |
| frameworks/libs/native_bridge_support | |
| external/wpa_supplicant_8 | |
| external/python/cpython2 | |
| external/compiler-rt | |
| external/honggfuzz | |
| bionic | |
| system/security | |
| vendor/qcom/opensource/commonsys/system/bt | |
| prebuilts/clang/host/linux-x86 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kondors1995@compute-v1:/datadrive/freqbench$ postprocess/legacy_em.py results/sdm710/main/results.json | |
| /* | |
| * Auto-generated legacy EAS energy model for incorporation in SoC device tree. | |
| * Generated by freqbench postprocessing scripts using freqbench results. | |
| * More info at https://github.com/kdrag0n/freqbench | |
| */ | |
| / { | |
| cpus { | |
| cpu@0 { |
Migrated with additional information to my blog: https://msfjarvis.website/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # | |
| # EAS cluster cost interpolator for energy model construction | |
| # by @kdrag0n | |
| # | |
| # This program is licensed under the MIT License (MIT) | |
| # | |
| # Copyright (c) 2019 Danny "kdrag0n" Lin <danny@kdrag0n.dev> | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Bash Color | |
| green='\033[01;32m' | |
| red='\033[01;31m' | |
| blink_red='\033[05;31m' | |
| restore='\033[0m' | |
| THREADS=$(nproc --all) |