Skip to content

Instantly share code, notes, and snippets.

Dan Pasanen invisiblek

Block or report user

Report or block invisiblek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View branches.py
#!/usr/bin/python3
targetBranches = ["cm-14.1", "cm-13.0", "cm-12.1", "cm-11.0"]
orgName = "LineageOS"
import os
import sys
from github import Github
View substratum
#!/bin/bash
sourcedir=/home/dp/lineage/14.1
function invisiblekremote() {
OIFS=$IFS
IFS='/'
topdir=`git rev-parse --show-toplevel`
repoarray=`cat "$topdir/.git/config" | grep -m1 "url = "`
View -
9eb72f7cc9a0d2c7858cedc0bec207f6b6747085 (blek/cm-14.1_android-7.1.1_r22, blek/cm-14.1_android-7.1.1_r21) marlin: regen defconfig
ee15ebcad41d271d02bac43a9f53696ad86c1a4e Merge remote-tracking branch 'aosp/android-msm-marlin-3.18-nougat-mr1.3' into cm-14.1
367e64520dba1652d8f6d0ac1ebda3cab0f9e374 input: synaptics_dsx: remove update sysfs entries
1d6d364ee174676a225a77dc7ca8dac887199718 fs/proc/array.c: make safe access to group_leader
773179468893965c2b81aa7ffe3722b6868ef749 input: touchscreen: disable generic update i/f
123b90a61aa365d59a3621bcb49601a70d90ca04 drivers: soc: add size checks and update log messages
09b679d2ba35c87fcffe3d79cbea69e59102fe22 qcacld-2.0: wlan host driver upgrade to 4.4.25.027s_1
3f9a4ada777f9989acc1cf066dc810a9af3d888f qseecom: remove entry from qseecom_registered_app_list
57ac3404a192eb697d7d7422cbb093837afbf2b2 qcacld-2.0: Avoid overflow of "set_bssid_hotlist" params
f6080d05ac3b5cd554bd4a16b6b75da5c80c8665 qcacld-2.0: Avoid overflow of "significant change" params
View -
9eb72f7cc9a0d2c7858cedc0bec207f6b6747085 (blek/cm-14.1_android-7.1.1_r22, blek/cm-14.1_android-7.1.1_r21) marlin: regen defconfig
ee15ebcad41d271d02bac43a9f53696ad86c1a4e Merge remote-tracking branch 'aosp/android-msm-marlin-3.18-nougat-mr1.3' into cm-14.1
367e64520dba1652d8f6d0ac1ebda3cab0f9e374 input: synaptics_dsx: remove update sysfs entries
1d6d364ee174676a225a77dc7ca8dac887199718 fs/proc/array.c: make safe access to group_leader
773179468893965c2b81aa7ffe3722b6868ef749 input: touchscreen: disable generic update i/f
123b90a61aa365d59a3621bcb49601a70d90ca04 drivers: soc: add size checks and update log messages
09b679d2ba35c87fcffe3d79cbea69e59102fe22 qcacld-2.0: wlan host driver upgrade to 4.4.25.027s_1
3f9a4ada777f9989acc1cf066dc810a9af3d888f qseecom: remove entry from qseecom_registered_app_list
57ac3404a192eb697d7d7422cbb093837afbf2b2 qcacld-2.0: Avoid overflow of "set_bssid_hotlist" params
f6080d05ac3b5cd554bd4a16b6b75da5c80c8665 qcacld-2.0: Avoid overflow of "significant change" params
View aospmerge.sh
#!/bin/bash
# Usage
# aospmerge.sh [caf/aosp] <old tag> <new tag>
# If the first parameter is not set to 'caf' or 'aosp' it defaults to an aosp merge
#
export cmversion=14.1
if [ $1 == "caf" ]; then
View -
commit 5caa388373f6e713e17203290e50efc2e615ed63 (HEAD -> nougat-mr1.1-release, origin/nougat-mr1.1-release, origin/HEAD)
Author: Daniel Micay <danielmicay@gmail.com>
AuthorDate: Wed Feb 1 07:14:37 2017 -0500
Commit: Daniel Micay <danielmicay@gmail.com>
CommitDate: Thu Feb 2 05:50:15 2017 -0500
hide MAC randomization toggle when not supported
Change-Id: I0ff0d4e9e53ce61c585c4de5f05d43a6b13ffe6f
View sepo
allow init block_device : dir { search };
allow dumpstate dumpstate : rawip_socket { ioctl read write create getattr setattr lock append bind connect getopt setopt shutdown };
allow init qmuxd_socket : fifo_file { read create getattr setattr relabelfrom relabelto unlink open };
allow init sockfs : dir { read setattr search open };
allow init proc_security : dir { read setattr search open };
allowxperm untrusted_app untrusted_app : udp_socket ioctl { 0x5411 0x5451 };
allowxperm untrusted_app untrusted_app : udp_socket ioctl { 0x8906-0x8907 0x8910 0x8912-0x8913 0x8915 0x8917 0x8919 0x891b 0x8921 0x8933 0x8938 0x8942 };
allowxperm untrusted_app untrusted_app : udp_socket ioctl { 0x8b01 0x8b05 0x8b07 0x8b09 0x8b0b 0x8b0d 0x8b0f 0x8b11-0x8b13 0x8b21 0x8b23 0x8b25 0x8b27 0x8b29 0x8b2d };
allow untrusted_app untrusted_app : udp_socket { ioctl read write create getattr setattr lock append bind connect getopt setopt shutdown };
allow drmserver mediaserver : fd { use };
View logcat.txt
--------- beginning of main
02-01 08:36:38.449 1002 1431 D AudioService: Stream muted, skip playback
--------- beginning of system
02-01 08:36:38.467 1002 1002 I Telecom : CallIntentProcessor: onReceive - isUnknownCall: false: PCR.oR@BZU
02-01 08:36:38.467 1002 1002 I Telecom : Class: processOutgoingCallIntent isCallPull = false: PCR.oR@BZU
02-01 08:36:38.467 1002 1002 I Telecom : Class: processOutgoingCallIntent handle = tel:266-2751,scheme = tel, uriString = 266-2751, isSkipSchemaParsing = false, isAddParticipant = false: PCR.oR@BZU
02-01 08:36:38.474 1002 1002 I Telecom : Event: Call TC@3: CREATED, null: PCR.oR@BZU
02-01 08:36:38.475 1002 1002 I Telecom : Event: Call TC@3: SET_CONNECTING, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [133551f45f85c5d21a12856b0fa9438a0750b453], UserHandle{0}: PCR.oR@BZU
02-01 08:36:38.475 1002 1002 I Telecom : InCallController: onCanAddCallChanged : false: PCR.oR@BZU
02-01 08:36:38.476 1002 1002 I Telecom : Tel
View foo.diff
diff --git a/src/com/cyanogenmod/updater/service/DownloadCompleteIntentService.java b/src/com/cyanogenmod/updater/service/DownloadCompleteIntentService.java
index 1eacc4a..b8dd0c1 100644
--- a/src/com/cyanogenmod/updater/service/DownloadCompleteIntentService.java
+++ b/src/com/cyanogenmod/updater/service/DownloadCompleteIntentService.java
@@ -87,6 +87,11 @@ public class DownloadCompleteIntentService extends IntentService {
FileChannel inChannel = inStream.getChannel();
FileChannel outChannel = outStream.getChannel();
inChannel.transferTo(0, inChannel.size(), outChannel);
+
+ inChannel.close();
View aospmerge.sh
#!/bin/bash
export oldtag=android-7.1.1_r6
export newtag=android-7.1.1_r9
export cmversion=14.1
# CAF
#export remotebase=https://source.codeaurora.org/quic/la/platform
# AOSP
export remotebase=https://android.googlesource.com/platform
You can’t perform that action at this time.