Skip to content

Instantly share code, notes, and snippets.

View koumaza's full-sized avatar
REPLACED THIS USER SUCCESSFULLY.

shanghai nyaa chan! koumaza

REPLACED THIS USER SUCCESSFULLY.
View GitHub Profile

export PATH=~/rr-payton/vendor/clang/bin/:~/rr-payton/vendor/clang/aarch64-linux-gnu/bin:aarch64-linux-gnu/bin:${PATH}

export CROSS_COMPILE=aarch64-linux-gnu-

export CC=clang

export ARCH=arm64

export USE_CCACHE=1

TARGET_FACE_UNLOCK_SUPPORTED := true
@koumaza
koumaza / JoinOfficeInsider.png
Last active July 30, 2020 09:54
Use Office Insider with Microsoft Office Pro Plus. (Microsoft Office Pro PlusでOffice Insiderを使う。)
JoinOfficeInsider.png
@koumaza
koumaza / manifest-template.md
Last active July 24, 2020 08:34
Winget Manifest Template
License
WTFPL
## <-- Note --> ##

### 

## <-- General --> ##

hardware/qcom/bootctrl/Android.mk

ifneq ($(filter msm8996 msm8998 sdm710,$(TARGET_BOARD_PLATFORM)),)

Use Python2

At recovery

rm /data/system/locksettings.db
@koumaza
koumaza / fix-build_verity_metadata-needed-by-Error.md
Last active July 22, 2020 18:10
Fix `build_verity_metadata needed by` Error

Fix this error

FAILED: ninja: 'out/host/linux-x86/bin/build_verity_metadata', needed by 'out/target/product/codename/obj/PACKAGING/target_files_intermediates/aosp_*-target_files-*.zip', missing and no known rule to make it

Run

m -j build_verity_metadata.py

*.zip.json

{
   
}
Details
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Focal Fossa (development branch)"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
@koumaza
koumaza / startbuild-android.sh
Last active July 22, 2020 04:59
Android Build Startup Script (ABSS)
#!/usr/bin/env bash
export origpwd=$PWD
export aftercd=$1
cat << 'EOF' > .bash-android.rc
sudo /koumazainit >/dev/null 2>/dev/null
export origpwd=$PWD
if [ -n "$aftercd" ]; then
cd $aftercd
fi