Skip to content

Instantly share code, notes, and snippets.

@Albinoman887
Albinoman887 / TelephonyProvider.java
Created October 7, 2014 20:57
Sex-TelephonyProvider.java
package com.android.providers.telephony;
import android.content.ContentProvider;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
This file has been truncated, but you can view the full file.
--------- beginning of system
01-04 12:34:31.987 461 461 I vold : Vold 3.0 (the awakening) firing up
01-04 12:34:31.987 461 461 V vold : Detected support for: exfat ext4 ntfs vfat
01-04 12:34:32.134 461 464 D vold : e4crypt_init_user0
01-04 12:34:32.134 461 464 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-04 12:34:32.134 461 464 D vold : Preparing: /data/system/users/0
01-04 12:34:32.134 461 464 D vold : Preparing: /data/misc/profiles/cur/0
01-04 12:34:32.135 461 464 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-04 12:34:32.135 461 464 D vold : Preparing: /data/system_de/0
01-04 12:34:32.135 461 464 D vold : Preparing: /data/misc_de/0
@Albinoman887
Albinoman887 / sound.txt
Created December 23, 2016 03:17
sound diff
diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf
index 0563503..93cd0c2 100644
--- a/audio/audio_output_policy.conf
+++ b/audio/audio_output_policy.conf
@@ -46,18 +46,11 @@ outputs {
bit_width 24
app_type 69940
}
- compress_passthrough_16 {
+ compress_passthrough {
diff --git a/core/java/android/hardware/input/TouchCalibration.java b/core/java/android/hardware/input/TouchCalibration.java
index 15503ed..733435d 100644
--- a/core/java/android/hardware/input/TouchCalibration.java
+++ b/core/java/android/hardware/input/TouchCalibration.java
@@ -64,8 +64,8 @@ public class TouchCalibration implements Parcelable {
mXYMix = xyMix;
mXOffset = xOffset;
mYXMix = yxMix;
- mYScale = yScale;
- mYOffset = yOffset;
@Albinoman887
Albinoman887 / logcat_boot_animation
Created December 28, 2016 01:07
adb logcat of boot animation
This file has been truncated, but you can view the full file.
--------- beginning of main
01-04 18:21:42.108 457 457 W auditd : type=2000 audit(0.0:1): initialized
01-04 18:21:50.769 457 457 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-04 18:21:54.829 1 1 I init : type=1400 audit(0.0:3): avc: denied { write } for name="tracing_on" dev="debugfs" ino=6725 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
--------- beginning of system
01-04 18:21:55.180 467 467 I vold : Vold 3.0 (the awakening) firing up
01-04 18:21:55.180 467 467 V vold : Detected support for: exfat ext4 ntfs vfat
01-04 18:21:55.317 467 470 D vold : e4crypt_init_user0
01-04 18:21:55.317 467 470 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-04 18:21:55.317 467 470 D vold : Preparing: /data/system/users/0
@Albinoman887
Albinoman887 / dmesg boot animation
Created December 28, 2016 01:10
dmsg boot animation
[ 0.000000 / 01-01 00:00:00.000][0] Initializing cgroup subsys cpu
[ 0.000000 / 01-01 00:00:00.000][0] Initializing cgroup subsys cpuacct
[ 0.000000 / 01-01 00:00:00.000][0] Linux version 3.18.31-perf-g1b39075 (albinoman887@chronic-buildbox) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Dec 27 02:12:20 PST 2016
[ 0.000000 / 01-01 00:00:00.000][0] CPU: AArch64 Processor [511f2112] revision 2
[ 0.000000 / 01-01 00:00:00.000][0] alternatives: detected feature GIC system register CPU interface
[ 0.000000 / 01-01 00:00:00.000][0] L1_CACHE_BYTES (128) Cache Writeback Granule (128)
[ 0.000000 / 01-01 00:00:00.000][0] Machine: Qualcomm Technologies, Inc. MSM 8996 v3.x + PMI8996 MTP
[ 0.000000 / 01-01 00:00:00.000][0] efi: Getting EFI parameters from FDT:
[ 0.000000 / 01-01 00:00:00.000][0] efi: UEFI not found.
[ 0.000000 / 01-01 00:00:00.000][0] Reserved memory: reserved region for node 'removed_regions@85800000': base 0x0000000085800000, size 40 MiB
diff --git a/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi b/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
index 05530b9..e8b939f 100644
--- a/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
+++ b/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
@@ -240,32 +240,32 @@
>;
lge,blmap-hl = <
0
- 4009 4009 4009 4009 4009 4009 4009 4009 4009 4009
- 4009 4009 4009 4009 4009 4009 4009 4009 4009 4009
diff --git a/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi b/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
index 05530b9..e8b939f 100644
--- a/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
+++ b/arch/arm64/boot/dts/lge/dsi-panel-lgd-lg4946-dualmipi-qhd-cmd.dtsi
@@ -240,32 +240,32 @@
>;
lge,blmap-hl = <
0
- 4009 4009 4009 4009 4009 4009 4009 4009 4009 4009
- 4009 4009 4009 4009 4009 4009 4009 4009 4009 4009
--------- beginning of system
01-04 22:04:28.109 462 462 I vold : Vold 3.0 (the awakening) firing up
01-04 22:04:28.109 462 462 V vold : Detected support for: exfat ext4 ntfs vfat
01-04 22:04:28.255 462 466 D vold : e4crypt_init_user0
01-04 22:04:28.255 462 466 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-04 22:04:28.255 462 466 D vold : Preparing: /data/system/users/0
01-04 22:04:28.279 462 466 D vold : Preparing: /data/misc/profiles/cur/0
01-04 22:04:28.280 462 466 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-04 22:04:28.280 462 466 D vold : Preparing: /data/system_de/0
01-04 22:04:28.280 462 466 D vold : Preparing: /data/misc_de/0
@Albinoman887
Albinoman887 / touch_resume.log
Created January 2, 2017 22:57
touch normal supeend and resume -works
[112720.995531 / 01-02 14:53:28.864][3] mdss_fb_blank_sub: [Display] mdss_fb_blank+0xd4/0xe4 mode:4
[112720.995538 / 01-02 14:53:28.864][3] [AOD][START]cur_mode : 3, blank mode : 4, aod_node : 0, keep_aod : 3
[112720.995541 / 01-02 14:53:28.864][3] [AOD][END] cmd_status : 4, next_mode : 0 labibb_ctrl : ctrl
[112721.004173 / 01-02 14:53:28.874][0] [hl_mode] hl_mode off
[112721.009444 / 01-02 14:53:28.874][3] [Display] mdss_dsi_blank+: ctrl=ffffffc075a1a018 ndx=0 power_state=0
[112721.011629 / 01-02 14:53:28.884][1] [Display] mdss_dsi_panel_off: ctrl=ffffffc075a1a018 ndx=0
[112721.102271 / 01-02 14:53:28.974][1] [Touch] LCD_EVENT_LCD_MODE!
[112721.102291 / 01-02 14:53:28.974][1] [Touch] lcd_mode: 0 (prev: 3)
[112721.102300 / 01-02 14:53:28.974][1] [Touch] U0 mode change
[112721.102312 / 01-02 14:53:28.974][1] [Touch] touch_suspend Start