Skip to content

Instantly share code, notes, and snippets.

08-13 00:58:39.963 718 718 D SettingsActivity: Starting onCreate
08-13 00:58:40.006 718 718 D SettingsActivity: Starting to set activity title
08-13 00:58:40.006 718 718 D SettingsActivity: Done setting title
08-13 00:58:40.006 718 718 D SettingsActivity: Switching to fragment com.android.settings.network.NetworkDashboardFragment
08-13 00:58:40.021 718 718 D PrefCtrlListHelper: Could not find Context-only controller for pref: com.android.settings.network.AirplaneModePreferenceController
08-13 00:58:40.025 718 718 D MobilePlanPrefContr: onCreate: mMobilePlanDialogMessage=null
08-13 00:58:40.053 718 718 D SettingsActivity: Executed frag manager pendingTransactions
08-13 00:58:40.079 442 1636 D ConnectivityService: requestNetwork for uid/pid:1000/718 NetworkRequest [ TRACK_DEFAULT id=10, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 1000] ]
08-13 00:58:40.079 442 547 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=10, [ Capabilities: INTERNET&NOT_RES
03-19 13:02:52.809 267 350 D MDP : DpPath: dump debug info end
03-19 13:02:52.809 267 350 E MDP : DpPathControl: start stream path (0xe9bf4680) failed (-6)
03-19 13:02:52.809 267 350 E MDP : DpStream: start the stream failed(-6)
03-19 13:02:52.809 267 350 E MDP : DpBlitStream::start stream failed: -6
03-19 13:02:52.809 267 350 E hwcomposer: ! (0:0) INVALIDATE/blit fail/err=-6
03-19 13:02:52.838 267 405 W ComposerHal: failed to dup fence 31411
03-19 13:02:52.839 267 405 E hwcomposer: ! (0:1) Failed to get releaseFence !!
03-19 13:02:52.839 267 405 E ion : ioctl c0084905 failed with code -1: Invalid argument
03-19 13:02:52.839 267 405 E hwcomposer: ! ion_import is failed: Invalid argument, ion_fd(31092)
03-19 13:02:52.839 267 405 E hwcomposer: ! (0xe9b88138) can't create sync point: Too many open files
clear
TARGET_TOOLCHAIN=$(pwd)/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
OUT_DIR=$(pwd)/out
TARGET_ARCH=arm64
TARGET_KERNEL=$(pwd)/kernel/mediatek/mt8163/5.4
rm -rf $OUT_DIR
colormake -C $TARGET_KERNEL O=$OUT_DIR ARCH=$TARGET_ARCH CROSS_COMPILE=$TARGET_TOOLCHAIN defconfig
colormake O=$OUT_DIR -C $TARGET_KERNEL ARCH=$TARGET_ARCH CROSS_COMPILE=$TARGET_TOOLCHAIN -j8 $@
@488315
488315 / sysprep
Last active February 14, 2021 10:46
#!/bin/bash
echo "running full system update"
sudo pacman -Syyu --noconfirm
# needs user interaction
echo "installing yay"
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
@488315
488315 / myzsh
Created February 14, 2021 10:07
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
@488315
488315 / grub
Created February 14, 2021 10:42
grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
Version="1">
<LayoutOptions StartTileGroupsColumnCount="2" />
<DefaultLayoutOverride>
<StartLayoutCollection>
Set-ExecutionPolicy Unrestricted -force
Install-Module PSWindowsUpdate
AddWUServiceManager -MicrosoftUpdate
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot
#!/bin/bash
echo "Disabling swap...."
sudo swapoff -a
sudo sed -i.bak '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab
echo "Installing necessary dependencies...."
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
echo "Setting up hostname...."
sudo hostnamectl set-hostname "k8s-master"
PUBLIC_IP_ADDRESS=`hostname -I|cut -d" " -f 1`
sudo echo "${PUBLIC_IP_ADDRESS} k8s-master" >> /etc/hosts
#!/bin/sh
## configuration variables:
VLAN=5
IPV4_IP="10.0.7.3"
# This is the IP address of the container. You may want to set it to match
# your own network structure such as 192.168.5.3 or similar.
IPV4_GW="10.0.7.1/24"
# As above, this should match the gateway of the VLAN for the container
# network as above which is usually the .1/24 range of the IPV4_IP