Skip to content

Instantly share code, notes, and snippets.

View Bradford1040's full-sized avatar
🏠
Working from home

Bradford1040 (aka-Hammer) Bradford1040

🏠
Working from home
View GitHub Profile
@Bradford1040
Bradford1040 / GPG_GIT.md
Last active April 21, 2025 02:21
GPG Issues using Kleopatra switching to GIT_BASH with commit signings on Windows 10 & 11

Kleopatra: "# Warning: error reading existing file /c/Users/<USER_NAME>/.gnupg/S.gpg-agent: Operation not supported"

Indicates that GPG (GNU Privacy Guard) is having trouble accessing the GPG agent's socket file. This typically happens when there's a conflict between different GPG installations or when the user's environment isn't correctly configured for GPG to access the agent.

Here's a breakdown of potential causes and solutions (as it was in my case):

  • Different GPG versions or packages:

You might have GPG installed through different sources (e.g., Git Bash and GnuPG4Win) and they might not be compatible or recognize each other's agent.

@Bradford1040
Bradford1040 / mainsail.py
Created April 11, 2025 19:46
mainsail include for Happy-Hare
import requests
import io
import zipfile
import shutil
import os
BASE = os.path.expanduser('~')
with open(BASE + '/.mainsail-token') as file:
TOKEN = file.read().strip()
@Bradford1040
Bradford1040 / fastboot_help.md
Created March 21, 2025 16:10 — forked from MrHallows/fastboot_help.md
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
@Bradford1040
Bradford1040 / Boot image extraction guide.md
Created March 8, 2025 17:02 — forked from gitclone-url/Boot image extraction guide.md
Guide on how to extract boot image from any android phone without needing to root using magisk and without custom recovery.

Boot Image Extraction Guide

Guide on how to extract a boot image from any Android phone without needing to root using Magisk and without a custom recovery.

Most Android users face hurdles when attempting to root their phones because they require a boot image for patching, and custom recoveries specifically designed for their devices are often unavailable. Additionally, finding the phone firmware online can be challenging. As a result, rooting such phones becomes a daunting task. In this guide, I'll provide a comprehensive solution for users who want to extract the boot image from their phone without the need to root it first, download firmware from the internet, or rely on custom recoveries.

Getting started!

Before diving into the guide, please thoroughly review the Frequently Asked Questions (FAQ) to understand the basics of GSI and the various naming conventi

@Bradford1040
Bradford1040 / ADB_CMDS_CHEATSHEET.md
Last active January 25, 2025 13:32
adb commands redone with markdown extension (editing as of July 23, 2024, should be done in a few days)

adb help // List all comands

== Adb Server

adb kill-server

adb start-server

== Adb Reboot

@Bradford1040
Bradford1040 / AdbCommands
Created July 23, 2024 18:05 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader