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
@koumaza
koumaza / podman-in-podman-privilege.md
Created June 11, 2020 18:15
podman in podman with privilege
podman run --privileged -it koumaza/podman /bin/bash
podman run --cgroup-manager=cgroupfs --net=host -it koumaza/podman /bin/bash
mkdir -p ~/android; podman run -v $HOME/android/:/android-build/android --rm -it koumaza/android_rom
@koumaza
koumaza / Android.Dependencies-to-Manifest.xml.md
Last active December 11, 2020 21:48
Android_Dependencies to Manifest.xml

Example

./ad2mf.sh aosp.dependencies

@koumaza
koumaza / README.md
Last active July 3, 2020 04:54
MBP power plan configuration

powercfg --import koumaza-mbp.pow

@koumaza
koumaza / fix-repo-git-error.md
Last active July 4, 2020 04:33
Fix repo command outputs GitError

Errors: (Not a git repository (or any of the parent directories): .git)
At project root

Example: aosp platform/external/brotli

rm -rf  .repo/project-objects/platform/external/brotli.git \
        .repo/projects/external/brotli.git \
        external/brotli/

Xenial apt install gcc-arm\* gcc-5-arm-linux-gnueabi

tr '\r' '\n'
@koumaza
koumaza / ancientroottree-payton.xml
Last active July 12, 2020 17:10
tree tree tree
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/motorola/payton" name="ancient-devices/device_motorola_payton" remote="github" revision="ten" />
<project path="device/motorola/sdm660-common" name="ancient-devices/device_motorola_sdm660-common" remote="github" revision="ten" />
<project path="kernel/motorola/msm8998" name="ancient-devices/kernel_motorola_msm8998" remote="github" revision="ten" />
<project path="vendor/motorola" name="ancient-devices/vendor_motorola_payton" remote="github" revision="ten" />
<project path="packages/apps/MotoCamera2" name="trpsl/packages_apps_MotoCamera2" remote="github" revision="ten" />
<project path="external/bson" name="LineageOS/android_external_bson" remote="github" revision="lineage-17.1" />
<project path="system/qcom" name="LineageOS/android_system_qcom" remote="github" revision="lineage-17.1" />
<project path="packages/resources/MotoActions" name="SuperiorOS/android_packages_resources_MotoActions" remote="github" revision="pie" />
@koumaza
koumaza / content.md
Last active July 8, 2020 16:11
Fix Ticwatch `Reboot in 1 second...` bug
# Reboot to Bootloader
adb reboot bootloader

# Remove cache
:if; fastboot oem unlock
fastboot format cache

# Reboot to System
fastboot reboot
@koumaza
koumaza / pacman.conf
Created July 10, 2020 19:09
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.