Skip to content

Instantly share code, notes, and snippets.

@Husseinfo
Husseinfo / unbrick.sh
Created April 27, 2024 15:06
magisk-unbrick-android
#!/bin/bash
# unbrick android after installing a magisk module that caused a bootloop
# boot from magisk-boot.img
fastboot boot /path/to/magisk-boot.img
# run
adb wait-for-device shell magisk --remove-modules
@Husseinfo
Husseinfo / create_playlists.py
Last active June 23, 2019 07:34
M3U playlists creator from audio directories for BMW and other similar car audio players
#!/usr/bin/python3
from sys import argv
from os.path import isdir, join, getmtime
from os import listdir
from glob import glob
if len(argv) < 2 or not isdir(argv[1]):
print('Usage: python3 createplaylists.py <root_directory>')
exit(1)