This file contains hidden or 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/bash | |
| set -euo pipefail | |
| cd $(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P) | |
| build_dir=$(mktemp -d) | |
| cleanup() { | |
| if [[ -d "$build_dir" ]]; then | |
| rm -rf "$build_dir" | |
| fi |
This file contains hidden or 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 | |
| # run while loop for boot_completed status & sleep 10 needed for magisk service.d | |
| while [ "$(getprop sys.boot_completed | tr -d '\r')" != "1" ]; do sleep 1; done | |
| sleep 10 | |
| # save currently active function name | |
| echo "$(ls -al /config/usb_gadget/g1/configs/b.1/)" | grep -Eo f1.* | awk '{print $3}' | cut -d/ -f8 > /data/adb/.fixdd | |
| # loop |
This file contains hidden or 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
| To build a A14+ (AOSP/LOS based) on Ubuntu 24.04+ (or distros based on it), there are four main steps: | |
| (This guide is applicable for recoveries as well (TWRP, OFRP...)) | |
| Working on Android 14 and upper | |
| ################################################################# | |
| # Step 1: Setup your environment # | |
| ################################################################# | |
| ****Setup Linux to build Android**** |
This file contains hidden or 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
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm64 4.4.111 Kernel Configuration | |
| # | |
| # modified by crazo7924 | |
| # | |
| CONFIG_ARM64=y | |
| CONFIG_64BIT=y | |
| CONFIG_ARCH_PHYS_ADDR_T_64BIT=y | |
| CONFIG_MMU=y |
This file contains hidden or 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
| """ | |
| Simple script I whipped up to dump MSN Messenger logs in XML to a readable | |
| plaintext format. It's not very robust, nor am I sure which versions of MSN | |
| Messenger it's compatible or incompatible with; I just had a specific | |
| conversation I wanted to read, and this was the vehicle to that end. | |
| By David Warde-Farley -- user AT cs dot toronto dot edu (user = dwf) | |
| Redistributable under the terms of the 3-clause BSD license | |
| (see http://www.opensource.org/licenses/bsd-license.php for details) |