Skip to content

Instantly share code, notes, and snippets.

View ungeskriptet's full-sized avatar
🏳️‍🌈

David Wronek ungeskriptet

🏳️‍🌈
View GitHub Profile
@ungeskriptet
ungeskriptet / alpine-bootstrap-install.txt
Last active June 9, 2025 18:39
Installing Alpine Linux "the Arch way"
# Installing Alpine Linux "the Arch way" by bootstrapping a chroot
# This sequence of commands will setup a sys install with edge repos for an EFI system
# Setup internet connection and keyboard layout
# Exit with Ctrl+C once it asks you to change the root password
setup-alpine
# Create 512 MiB EFI boot partition and rootfs partition
apk add sfdisk e2fsprogs
sfdisk /dev/vda
@ungeskriptet
ungeskriptet / firetv_debloater.sh
Last active June 9, 2023 15:16
Amazon Fire TV Stick debloater (Tested with Fire OS 7.6.2.4)
#!/usr/bin/sh
set -e
TEMP_DIR=aftv-tcl-debloater
KODI_URL=https://mirrors.kodi.tv/releases/android/arm/kodi-20.1-Nexus-armeabi-v7a.apk
FLAUNCHER_URL=https://gitlab.com/flauncher/flauncher/-/releases/0.18.0/downloads/flauncher-0.18.0.apk
LM_URL=https://forum.xda-developers.com/attachments/lm-fos-1-1-8-apk.5862251
BLOAT=$(cat <<EOF
com.amazon.alexamediaplayer.runtime.ftv
com.amazon.net.smartconnect
com.amazon.tv.resolutioncycler
@ungeskriptet
ungeskriptet / prgmMATH.txt
Created May 18, 2023 15:14
prgmMATH - A program full of formulas for a perfect math class
Degree
Lbl 0
ClrHome
Menu("SEITE 1/1","STOCHASTIK",1,"DREIECK",4,"BEENDEN",7
Lbl 7
Return
Lbl 1
ClrHome
Menu("STOCHASTIK","MULTIPLIKATION",2,"ADDITION",3,"ZURUCK",0
Lbl 2
@ungeskriptet
ungeskriptet / wiiu-pin-generator.py
Created December 7, 2022 13:55
Nintendo Wii U GamePad pin generator with timer
#!/usr/bin/env python
import threading
from time import sleep
from itertools import product
def generator():
print("Press enter to continue the list")
for i in product(["♠", "♦", "♥", "♣"], repeat=4):
print(i)
input()
@ungeskriptet
ungeskriptet / dmesg.txt
Created November 7, 2022 12:32
Samsung Galaxy Tab 3 10.1 dmesg
[ 0.000000] C0 [ swapper] Initializing cgroup subsys cpuset
[ 0.000000] C0 [ swapper] Initializing cgroup subsys cpu
[ 0.000000] C0 [ swapper] Linux version 3.4.34-lineage-01570-g463c91c87b07 (build@android) (gcc version 4.9 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Mon Apr 26 11:00:56 CEST 2021
[ 0.000000] C0 [ swapper] BIOS-provided physical RAM map:
[ 0.000000] C0 [ swapper] BIOS-e820: 0000000000000000 - 0000000000098000 (usable)
[ 0.000000] C0 [ swapper] BIOS-e820: 0000000000100000 - 0000000001000000 (reserved)
[ 0.000000] C0 [ swapper] BIOS-e820: 0000000001000000 - 0000000036ff0000 (usable)
[ 0.000000] C0 [ swapper] BIOS-e820: 0000000036ff0000 - 00000000378fd000 (reserved)
[ 0.000000] C0 [ swapper] BIOS-e820: 00000000378fd400 - 00000000379fd400 (reserved)
[ 0.000000] C0 [ swapper] BIOS-e820: 00000000379fd400 - 0000000039fff400 (usable)
@ungeskriptet
ungeskriptet / regulator-name-generator.py
Created October 2, 2022 11:53
Generate the name of a regulator
#!/usr/bin/env python
print('Input the first letter of your regulator type. E.g. "smpf1" has type "s"')
REG_TYPE = input('Regulator type: ')
print('\nInput your PMIC ID. The PMIC ID is the letter after "ldo". E.g. "ldoc5" has ID "c".')
PMIC_ID = input('PMIC ID: ')
print('\nNow input your regulator number and microvolt value. The script will run in a loop here.')
while True:
@ungeskriptet
ungeskriptet / firmware.md
Created February 28, 2022 14:37
Firmware for Ubuntu Touch on surya/karna

Ubuntu Touch for surya/karna is based on Halium 10 and Android 10 Ubuntu Touch rootfs so it requires an Android 10 base firmware before it can be flashed on your phone. While custom ROMs like LineageOS 17.1 might work, they are untested and not recommended. Instead, use one of the MIUI Android 10 based firmware from below.

Pay attention to your device name before downloading the firmware below. Make sure you download the right firmware for your device, the correct region, the firmware type is fastboot, and the Android version is 10.0!

Poco X3 NFC (surya): LINK Note: For Poco X3 (karna) use the link above and download firmware for POCO X3 India