Skip to content

Instantly share code, notes, and snippets.

View divyam234's full-sized avatar
🎯
Focusing

Divyam divyam234

🎯
Focusing
View GitHub Profile
@divyam234
divyam234 / aria2_patch.sh
Created December 24, 2025 14:19
Patch aria2c libaria2.so.0 to change default max-connections-per-server
#!/bin/bash
# Patch system libaria2.so.0 to change max-connections-per-server default value
# Tested with aria2 version 1.37.0
set -e
# Default value
DEFAULT_MAX_CONN=256
services:
librespot:
image: ghcr.io/divyam234/librespot-docker
network_mode: host
container_name: librespot
restart: always
environment:
- DEVICE=default
- FORMAT=S24
- BACKEND=pulseaudio
#!/bin/bash
set -euo pipefail
INSTALL_DIR="/usr/local"
GOROOT_VAL="${INSTALL_DIR}/go"
GOPATH_VAL="${HOME}/go"
GO_VERSION_INFO_URL="https://go.dev/VERSION?m=text"
GO_DOWNLOAD_URL_BASE="https://dl.google.com/go/"
PROFILE_FILES=()
@divyam234
divyam234 / fix_paths.sh
Last active May 4, 2025 17:09
fix docker paths android
#!/bin/bash
target_dir="$1"
raw_path_prefix="$2"
target_paths=(
"/var/run/"
"/var/lib/"
"/run/"
"/usr/lib/"
@divyam234
divyam234 / bypass.js
Last active March 7, 2025 21:17
Bypass Filecrypt
// ==UserScript==
// @name Bypass FileCrypt
// @namespace Bhunter
// @version 1.0.0
// @description Bypass FileCrypt
// @author Bhunter
// @match http://filecrypt.cc/*
// @match http://www.filecrypt.cc/*
// @match http://filecrypt.co/*
// @match http://www.filecrypt.co/*
@divyam234
divyam234 / pysession.py
Last active November 23, 2025 08:51
Telethon , Pyrogram and GramJS string sessions convertors
import struct
import base64
import ipaddress
dc_maps = {
1: {'serverAddress': 'pluto.web.telegram.org', 'ipAddress': '149.154.175.53'},
2: {'serverAddress': 'venus.web.telegram.org', 'ipAddress': '149.154.167.51'},
3: {'serverAddress': 'aurora.web.telegram.org', 'ipAddress': '149.154.175.100'},
4: {'serverAddress': 'vesta.web.telegram.org', 'ipAddress': '149.154.167.91'},
5: {'serverAddress': 'flora.web.telegram.org', 'ipAddress': '91.108.56.130'}
First go here:
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
This site gives information about all msm soc release details with tag + android version
Search your msm here.. Check the latest one and look for correct android version and mark that tag.
Now open one of the following links (dependent on your linux kernel version)