Skip to content

Instantly share code, notes, and snippets.

# define variables
export DRIVE=/dev/nvme0n1
export ROOT_PASSWORD=password
export USER_NAME=user
export USER_PASSWORD=password
export LOCALE="en_SG.UTF-8"
export TIMEZONE="Asia/Singapore"
export HOSTNAME=archlinux
# create partitions
@fikri-izzuddin
fikri-izzuddin / dual_secure_boot.md
Last active April 2, 2024 14:20
Arch Linux dual secure boot with Windows 11
  • secure boot
  • encrypted root Arch Linux partition
  • Windows 11 with bitlocker on C partition
  • enable TPM2

Installation

Download Arch Linux and Windows 11 ISO

Arch Linux ISO: https://archlinux.org/download/

@fikri-izzuddin
fikri-izzuddin / Boot image extraction guide.md
Created June 15, 2024 03:54 — forked from gitclone-url/Boot image extraction guide.md
Guide on how to extract boot image from any android phone without needing to root using magisk and without custom recovery.

Boot Image Extraction Guide

Guide on how to extract a boot image from any Android phone without needing to root using Magisk and without a custom recovery.

Most Android users face hurdles when attempting to root their phones because they require a boot image for patching, and custom recoveries specifically designed for their devices are often unavailable. Additionally, finding the phone firmware online can be challenging. As a result, rooting such phones becomes a daunting task. In this guide, I'll provide a comprehensive solution for users who want to extract the boot image from their phone without the need to root it first, download firmware from the internet, or rely on custom recoveries.

Getting started!

Before diving into the guide, please thoroughly review the Frequently Asked Questions (FAQ) to understand the basics of GSI and the various naming conventi