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 / Android.Dependencies-to-Manifest.xml.md
Last active December 11, 2020 21:48
Android_Dependencies to Manifest.xml

Example

./ad2mf.sh aosp.dependencies

mkdir -p ~/android; podman run -v $HOME/android/:/android-build/android --rm -it koumaza/android_rom
@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
@koumaza
koumaza / unlimit.sh
Created June 11, 2020 08:01
Unlimit tether limit for jp smart phone
adb shell
settings get global tether_dun_required # Get value
settings put global tether_dun_required 1 # Disabled
settings put global tether_dun_required 0 # Enbaled
echo "b c a n z d g q v h a g d"|tr ' ' '\n'|sort|uniq|tr '\n' ' '
@koumaza
koumaza / fix.md
Last active May 26, 2020 05:27
Fix TWRP in Failed to mount '/data'
1 (Optional)

1-a adb push busybox-*** / ; adb shell

1-b chmod a+x busybox-* ; busybox mkfs.vfat /dev/block/bootdevice/by-name/userdata

2

2-a unmount data

@koumaza
koumaza / README.md
Last active May 26, 2020 02:56
Translate in Terminal

TiT (Translate in Terminal)

This page: https://git.io/TiT

using translate google;
  • En to Ja
@koumaza
koumaza / apk-fm-uri.fish.sh
Created May 24, 2020 06:42
Install Apk from URI
#!/usr/bin/fish
while true
rm .tmp.target.apk 2&> /dev/null || true
set uri $argv
if test -z "$uri"
read uri -p "echo 'URI |> '"
set -gx uri $uri
end
aria2c -x10 -s10 -o .tmp.target.apk "$uri"
@koumaza
koumaza / ovulation_day_calc.fish
Created May 9, 2020 07:14
Ovulation day Calculator for fish
# notyet!!!!!
#!/usr/bin/fish
# if Regular cycle
function regular_c
while true
echo 'How many days is your menstrual cycle?'
read regular_day -p "echo '(day) > '"
end
echo $regular_day
@koumaza
koumaza / flashall.fish
Created May 7, 2020 16:08
flashall for payton
#!/usr/bin/fish
function device
echo 'devices'
fastboot devices
end
function getvar_max-sparse-size
echo 'getvar max-sparse-size'
fastboot getvar max-sparse-size