This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
# ╭─────────────────────────────────────────╮ | |
# │ Android App Permissions Batch Fixer │ | |
# │ gist.github.com/MrCarb0n │ | |
# ├─────────────────────────────────────────┤ | |
# │ l a z i n e s s d r i v e s │ | |
# │ i n n o v a t i o n │ | |
# ├─────────────────────────────────────────┤ | |
# │ Author: @MrCarb0n │ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ALIASES="" | |
PASS="" | |
VALIDITY=36500 | |
ISSUED_DATE="yyyy/mm/dd hh:mm:ss" | |
CommonName="" | |
OrganizationalUnit="" | |
Organization="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# AOSP Enhancer | |
# Author: LOOPER (iamlooper @ github) | |
# Todo: If you do changes in code then make sure to change referring line numbers to code in comments respectively. | |
############################### | |
# Required Tools | |
############################### | |
# $1:filepath $2:value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# set -x | |
# detect total RAM | |
RAM="$(awk -F':' '/MemTotal/{gsub(/ /,"");print int($2/1024)}' /proc/meminfo)" | |
# aggressive LMK | |
MATH() { awk "BEGIN{print int($RAM*$1)}"; } | |
LMK1="$(MATH 5.1200)" | |
LMK2="$(MATH 7.6800)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kill Google font | |
# Attempt #2 | |
su -c '{ | |
PM=$(which pm) | |
GMSF="com.google.android.gms/com.google.android.gms.fonts" | |
for i in $(ls /data/user); do | |
$PM disable --user $i "$GMSF.update.UpdateSchedulerService" | |
$PM disable --user $i "$GMSF.provider.FontsProvider" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# debug | |
# set -xv | |
BANNER() { | |
echo -e $B | |
echo "╭─────────────────────────────────────╮" | |
echo "│ Commit' title to CHANGELOG.md │" | |
echo "│ generator for magisk module repo. │" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NotoEmojiPlus OMF Extension | @MrCarb0n | |
# Don't modify file or filename: 88_NotoEmojiPlus.sh | |
# Style: Google, Unicode 15 | |
# Resources: @rkbdiemoji | |
# Thanks: @nongthaihoang, MFFM! | |
${EMOJ:=false} && return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# Yellow flashlight disabler for RedmiNote4 (mido) | |
# Author: Tiash (@MrCarb0n) <MrCarb0n@proton.me> | |
# Gist: https://gist.github.com/1f3be90056ff8c238fc15ba8acb13f0a | |
F=/data/adb/service.d/YellowFlashDisabler.sh | |
echo "#!/system/bin/sh | |
# Yellow flashlight disabler for RedmiNote4 (mido) | |
# Author: Tiash (@MrCarb0n) <MrCarb0n@proton.me> |