Skip to content

Instantly share code, notes, and snippets.

View calebcabob's full-sized avatar

DJ Calphonic calebcabob

View GitHub Profile
@calebcabob
calebcabob / authorize_adb.sh
Created January 12, 2019 04:24 — forked from AlvaroBrey/authorize_adb.sh
Authorize ADB for a non-booting device
#!/usr/bin/env bash
adb shell 'echo "persist.service.adb.enable=1" >> default.prop'
adb shell 'echo "persist.service.debuggable=1" >> default.prop'
adb shell 'echo "persist.sys.usb.config=mtp,adb" >> default.prop'
adb shell 'echo "persist.service.adb.enable=1" >> /system/build.prop'
adb shell 'echo "persist.service.debuggable=1" >> /system/build.prop'
adb shell 'echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop'
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
05-07 13:45:21.618 V/StatusBar(1715): setLightsOn(true)
05-07 13:45:21.647 I/chatty (1715): uid=10029(com.android.systemui) identical 3 lines
05-07 13:45:21.928 V/StatusBar(1715): setLightsOn(true)
05-07 13:45:21.948 I/GAv4 (7045): Google Analytics 9.8.77 is starting up. To enable debug logging on a device run:
05-07 13:45:21.948 I/GAv4 (7045): adb shell setprop log.tag.GAv4 DEBUG
05-07 13:45:21.948 I/GAv4 (7045): adb logcat -s GAv4
05-07 13:45:22.118 D/fpc_fingerprint_hal(877): nav_loop FPC_NAV_REQUEST_WAIT_IRQ_HIGH
05-07 13:45:22.226 W/DynamiteModule(6502): Local module descriptor class for com.google.firebase.auth not found.
05-07 13:45:22.485 E/Finsky (6548): [75] com.google.android.finsky.ar.c.a(34): Unable to build selector: /storage/emulated/0/Download/marketenvs.csv (No such file or directory)
05-07 13:45:22.550 I/Finsky (6548): [106] com.google.android.finsky.db.a.a.a.b(33): Triggered update for experiment package com.google.android.finsky.stable.
@calebcabob
calebcabob / .bash_aliases
Created July 17, 2017 03:13 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset