Skip to content

Instantly share code, notes, and snippets.

@ShapeShifter499
ShapeShifter499 / last_kmsg
Created October 16, 2016 15:33
Moto X Pure Kernel Panic /data/dontpanic/last_kmsg
[ 0.000000,0] Initializing cgroup subsys cpu
[ 0.000000,0] Initializing cgroup subsys cpuacct
[ 0.000000,0] Linux version 3.10.84-perf-g329ac5f (hudsoncm@ilclbld53) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Apr 21 00:11:23 CDT 2016
[ 0.000000,0] CPU: AArch64 Processor [410fd033] revision 3
[ 0.000000,0] Machine: clark
[ 0.000000,0] cma: Found secure_region@0, memory base 0x0000000000000000, size 300 MiB, limit 0xffffffffffffffff
[ 0.000000,0] cma: Found qsecom_region@0, memory base 0x0000000000000000, size 24 MiB, limit 0xffffffffffffffff
[ 0.000000,0] cma: Found audio_region@0, memory base 0x0000000000000000, size 4 MiB, limit 0xffffffffffffffff
[ 0.000000,0] cma: Found removed_regions@0, memory base 0x0000000006400000, size 14 MiB, limit 0xffffffffffffffff
[ 0.000000,0] cma: Found dfps_data_mem@0, memory base 0x0000000003400000, size 0 MiB, limit 0xffffffffffffffff
@ShapeShifter499
ShapeShifter499 / remove-symlinks.sh
Created November 2, 2016 10:04
This script should remove symlinks that link outside of the directory then leave a dummy file behind.
@ShapeShifter499
ShapeShifter499 / log.txt
Created November 6, 2016 07:48
MySQL setup error
Package configuration
──────────────────────────────────────────────────────────────────────────────
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐
│ Unable to set password for the MySQL "root" user │
│ │
│ An error occurred while setting the password for the MySQL │
│ administrative user. This may have happened because the account already │
│ has a password, or because of a communication problem with the MySQL │
│ server. │
@ShapeShifter499
ShapeShifter499 / lg-volt_nfc-logcat.txt
Created November 16, 2016 12:53
Logcat including two NFC android beam attemps between Motorola X Pure and LG Volt, this is log from the LG Volt side.
--------- beginning of system
12-31 16:34:14.629 191 191 I vold : Vold 3.0 (the awakening) firing up
12-31 16:34:14.630 191 191 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
12-31 16:34:14.926 191 224 V vold : /system/bin/sgdisk
12-31 16:34:14.926 191 224 V vold : --android-dump
12-31 16:34:14.926 191 224 V vold : /dev/block/vold/disk:179_64
12-31 16:34:15.161 243 243 I irsc_util: irsc tool created:0xb8d2b038
12-31 16:34:15.161 243 243 I irsc_util: Starting irsc tool
12-31 16:34:15.164 243 243 I irsc_util: Trying to open sec config file
12-31 16:34:15.164 243 243 I irsc_util: Feed the sec config info to the router
@ShapeShifter499
ShapeShifter499 / last_log.txt
Created November 16, 2016 12:56
Log from LG Volt TWRP 3.0 crash.
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 3.0.2-0 on Tue Apr 7 14:42:07 1970
(pid 170)
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/mt_usb/gadget/lun0/file' does not exist, USB storage mode disabled
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
@ShapeShifter499
ShapeShifter499 / lg-volt_nfc-2.txt
Created November 16, 2016 14:04
Logcat including two NFC android beam attempts from the LG Volt to the Moto X Pure (successful) and two from the Moto X Pure to the LG Volt (unsuccessful).
This file has been truncated, but you can view the full file.
--------- beginning of main
12-31 18:01:28.293 189 189 W auditd : type=2000 audit(0.0:1): initialized
--------- beginning of system
12-31 18:01:31.559 190 190 I vold : Vold 3.0 (the awakening) firing up
12-31 18:01:31.559 190 190 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
12-31 18:01:31.640 199 199 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
12-31 18:01:31.644 190 198 V vold : /system/bin/sgdisk
12-31 18:01:31.644 190 198 V vold : --android-dump
12-31 18:01:31.644 190 198 V vold : /dev/block/vold/disk:179_64
12-31 18:01:31.693 204 204 I sysinit : Running /system/etc/init.d/00banner
@ShapeShifter499
ShapeShifter499 / last_log.txt
Created November 20, 2016 07:23
Log from LG Volt TWRP 3.0 crash. TWRP Build 11/17/16 from user Spock1104
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP 3.0.2-0-f3c1b2f5 on Thu Jan 1 00:26:16 1970
(pid 155)
TW_NO_REBOOT_BOOTLOADER := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/mt_usb/gadget/lun0/file' does not exist, USB storage mode disabled
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:Got max brightness 255 from '/sys/class/leds/lcd-backlight/max_brightness'
@ShapeShifter499
ShapeShifter499 / Moto-X-Pure_SD-Logcat.txt
Created January 27, 2017 18:36
Moto X Pure Logcat, unplugged and plugged in sd card
--------- beginning of system
01-01 17:54:47.731 361 361 I vold : Vold 3.0 (the awakening) firing up
01-01 17:54:47.732 361 361 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
01-01 17:54:48.003 361 365 V vold : /system/bin/sgdisk
01-01 17:54:48.003 361 365 V vold : --android-dump
01-01 17:54:48.003 361 365 V vold : /dev/block/vold/disk:179_64
01-01 17:54:48.008 361 368 D vold : e4crypt_init_user0
01-01 17:54:48.009 361 368 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-01 17:54:48.009 361 368 D vold : Preparing: /data/system/users/0
01-01 17:54:48.013 361 368 D vold : Preparing: /data/misc/profiles/cur/0
--------- beginning of system
01-01 17:54:47.731 361 361 I vold : Vold 3.0 (the awakening) firing up
01-01 17:54:47.732 361 361 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
01-01 17:54:48.003 361 365 V vold : /system/bin/sgdisk
01-01 17:54:48.003 361 365 V vold : --android-dump
01-01 17:54:48.003 361 365 V vold : /dev/block/vold/disk:179_64
01-01 17:54:48.008 361 368 D vold : e4crypt_init_user0
01-01 17:54:48.009 361 368 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-01 17:54:48.009 361 368 D vold : Preparing: /data/system/users/0
01-01 17:54:48.013 361 368 D vold : Preparing: /data/misc/profiles/cur/0
@ShapeShifter499
ShapeShifter499 / gist:cc74f2c90a71a12b773394ca72c19bcb
Created January 29, 2017 18:02
Build log-- LG Volt LineageOS 14.1
raansu-ubuntu@ubuntu-16:~/lineageos-lgvolt/system$ mka bacon
make: Entering directory '/home/raansu-ubuntu/lineageos-lgvolt/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20170129-UNOFFICIAL-x5
TARGET_PRODUCT=cm_x5
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=