Skip to content

Instantly share code, notes, and snippets.

@Zackptg5
Zackptg5 / Manjaro_HyperV_Setup.md
Last active September 12, 2024 07:04
Manjaro HyperV Install Guide

Deprecated - Microsoft quit updating vm tools in favor of WSL2, it's only a matter of time before this breaks untirely (if it isn't already).

Credits, the original guide which has strangely vanished but can still be found via wayback machine here

This is largely the same as the original but with some updates

  • Setup a new machine in HyperV Manager. Make sure you choose 'Generation 2' and assign default switch for networking (or whatever other adapter you use). Then go to the new VM's settings, disable secure boot, and attach the manjaro iso to it (at the time of writing this, gnome doesn't work).
  • Boot up the vm, you'll be meeting with a black screen or the cli will show it stopped around display starting or whatever. Drop into terminal with CTL + ALT+ F2.
  • Login and type: pacman -Sy && pacman -S xf86-video-fbdev
  • Then restart the display manager: `systemctl r
@Zackptg5
Zackptg5 / DNSCrypt_Server_Setup.bash
Last active July 8, 2023 12:11
DNSCrypt Server Setup for Debian
#!/usr/bin/env bash
set -x
server="$(hostname)"
server_ip="$(hostname -I | awk '{print $1}')"
server_ip6="$(hostname -I | awk '{print $NF}')"
sshport=1024
# Update and configure ssh
apt update && apt upgrade -y
apt install htop speedtest-cli -y
@Zackptg5
Zackptg5 / Making a DualBoot Mod for TWRP.md
Last active August 7, 2024 05:11
Making a DualBoot Mod for TWRP

Making a DualBoot Mod for TWRP

I no longer have a device where this is capable but there's a growing interest in it so figured I make a guide on it

What you will need

  • A working brain
  • Magisk zip
  • Some binaries (Some of these are included in twrp but varies by device so I'd just pack your own)
    • From magisk zip: busybox, magiskboot, magiskinit (rename magiskinit64 to magiskinit and use it if device is 64bit)
  • For ext4 partitions: e2fsdroid, mke2fs
@Zackptg5
Zackptg5 / Audio Mod Troubleshooting Guide.md
Last active August 10, 2024 12:58
Audio Mod Troubleshooting Guide

Audio Mod Troubleshooting Guide

Search the XDA thread

This should always be your first step. More than likely, your question has already been answered...multiple times

Logs

If you make a post stating a problem without any logs, nobody can help you and will likely ignore it (at least I will)

  • Get a full logcat. If using adb, use adb logcat -d > log.txt
    • This should be taken after attempting to open the app
  • Get an audio dumpsys: