Skip to content

Instantly share code, notes, and snippets.

View npjohnson's full-sized avatar
🏠
Working from home

Nolen Johnson npjohnson

🏠
Working from home
View GitHub Profile
This file has been truncated, but you can view the full file.
--------- beginning of main
09-13 16:29:42.957 3111 3111 W auditd : type=2000 audit(0.0:1): initialized
09-13 16:29:45.664 3111 3111 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
09-13 16:29:46.540 2523 2523 I init : type=1400 audit(0.0:3): avc: denied { write } for name="watermark_scale_factor" dev="proc" ino=2684 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
09-13 16:29:46.548 3112 3112 I lowmemorykiller: Using psi monitors for memory pressure detection
09-13 16:29:46.550 3112 3112 I lowmemorykiller: Process polling is supported
--------- beginning of kernel
09-13 16:29:46.580 0 0 I : [ 0.000000@0]d Booting Linux on physical CPU 0x0
09-13 16:29:46.580 0 0 I : [ 0.000000@0]d Linux version 4.9.180-gc1350506bd03 (nobody@android-build) (Android (6877366 based on r383902b1) clang version 11.0.2 (https://android.googlesource.com/toolchain/llvm-project b397f81060ce6d701042b782172ed13bee898b79))
#!/usr/bin/env python2
## Build servers use python2, and python3 actually changes the results
### LineageOS Build Day Calculator
## Imports
import calendar
import random
## Variables
# We use 7 for W, 28 for M, but we currently use W
buckets=7
@npjohnson
npjohnson / lineage-build-day.py
Created January 24, 2021 21:07
LineageOS Build Server Day Calulator
#!/usr/bin/env python2
## Build servers use python2, and python3 actually changes the results
### LineageOS Build Day Calculator
## Imports
import calendar
import random
## Variables
# We use 7 for W, 28 for M, but we currently use W
buckets=7
#!/bin/bash
#
URL=${1}
ZIP=$(basename "${URL}")
BUILD_ID=$(echo "${ZIP}" | awk -F- '{print $3}')
DEVICE=$(echo "${ZIP}" | awk -F- '{print $1}')
# Make the tmp directory
mkdir -p "${HOME}/tmp/${DEVICE}-images"
#!/bin/bash
#
URL=${1}
ZIP=$(basename "${URL}")
BUILD_ID=$(echo "${ZIP}" | awk -F- '{print $3}')
DEVICE=$(echo "${ZIP}" | awk -F- '{print $1}')
# Make the tmp directory
mkdir -p "${HOME}/tmp/${DEVICE}-images"
#!/usr/bin/env python2
## Build servers use python2, and python3 actually changes the results
### LineageOS Build Day Calculator
## Imports
import calendar
import random
## Variables
# We use 7 for W, 28 for M, but we currently use W
buckets=7
Download:
- https://kremowka.xyz/files/recovery_ramdisk_BKL-L04_nocheck.img
- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3536/g1699/v216624/f1/full/update.zip
- http://update.hicloud.com:8180/TDS/data/files/p3/s15/G3536/g1699/v216624/f1/full/BKL-L04_hw_usa/update_full_BKL-L04_hw_usa.zip
Run the following (this can either be from your current ROM, Stock, or TWRP) on your PC:
adb root
adb push recovery_ramdisk_BKL-L04_nocheck.img /sdcard/
adb push update.zip /data/update/HWOTA/update.zip
adb push update_full_BKL-L04_hw_usa.zip /data/update/HWOTA/update_all_hw.zip
/*** Begin libtango_device[|2].java - split to BuildConfig.java, DummyFile.java, C0000R.java ***/
/** --- Begin BuildConfig.java --- **/
package com.google.atap.tango;
public final class BuildConfig {
public static final boolean DEBUG = true;
}
/** --- End BuildConfig.java --- **/
@npjohnson
npjohnson / com.nvidia.graphics.java
Created January 1, 2019 02:31
Yellowstone - KOT49H.161129 - com.nvidia.graphics.jar JADX Output
package com.nvidia.graphics;
import android.graphics.RectF;
import android.graphics.SurfaceTexture;
public class NvBlit {
public static final int AbsColorSpace_AdobeRGB = 3;
public static final int AbsColorSpace_DeviceRGB = 1;
public static final int AbsColorSpace_Rec709 = 5;
public static final int AbsColorSpace_WideGamutRGB = 4;
@npjohnson
npjohnson / gist:7c6292dfb899ce27255face0610a0d67
Created January 1, 2019 02:28
Yellowstone - KOT49H.161129 - com.nvidia.graphics.jar JADX Output
package com.nvidia.graphics;
import android.graphics.RectF;
import android.graphics.SurfaceTexture;
public class NvBlit {
public static final int AbsColorSpace_AdobeRGB = 3;
public static final int AbsColorSpace_DeviceRGB = 1;
public static final int AbsColorSpace_Rec709 = 5;
public static final int AbsColorSpace_WideGamutRGB = 4;