Skip to content

Instantly share code, notes, and snippets.

View wolverine2k's full-sized avatar
💭
Looking forward to picking up my android builds again...

Naresh wolverine2k

💭
Looking forward to picking up my android builds again...
View GitHub Profile
@wolverine2k
wolverine2k / gist:538d4d74a123f3c5cfaf5dc166ed41f1
Created April 9, 2025 11:32
Search for a file in a CSV and get the proper path as needed
#!/bin/bash
# Check if the folder and file list are provided as arguments
if [ -z "$1" ]; then
echo "Usage: $0 <file_list_file>"
echo " <file_list_file>: A file containing a list of filenames (one per line) to search for."
exit 1
fi
file_list_file="$1"
@wolverine2k
wolverine2k / gist:f647be12fbdf95ad8beec416f107772b
Created September 13, 2021 15:40
Samsung Galaxy S21 G991B (NEE) extracted Kernel Config - Exynos version
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.4.61 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Android (6443078 based on r383902) clang version 11.0.1 (https://android.googlesource.com/toolchain/llvm-project b397f81060ce6d701042b782172ed13bee898b79)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_LD_IS_LLD=y
CONFIG_CLANG_VERSION=110001
CONFIG_CC_CAN_LINK=y
@wolverine2k
wolverine2k / keygenme_2.c
Last active March 29, 2019 13:59
OldSoft's KeyGenMe #2 -- Upgraded from DOS by wolverine2k
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define NAME_LENGTH 50
//#define IS_KEYGEN 1
void generateSerial(char* p_buffer)
{