Skip to content

Instantly share code, notes, and snippets.

View emeryao's full-sized avatar
🚀
To infinity and beyond 🚀

Emeryao emeryao

🚀
To infinity and beyond 🚀
View GitHub Profile
@emeryao
emeryao / P9P.md
Last active November 14, 2024 06:08
Pixel 9 Pro

Preparation

  1. Android SDK Platform Tools
  2. Factory Images

Steps

  1. Open Developer Mode
    1. Settings -> About -> Build No Keep Tapping on BuildNo
  2. OEM unlock
    1. Settings -> System -> Developer Options -> OEM Unlock & USB Debug
    2. USB Cable to Phone and PC
@emeryao
emeryao / store-on-ltsc.md
Last active November 10, 2024 12:00
Store on LTSC
PS > Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
@emeryao
emeryao / mcbe-server-docker.dockerfile
Created September 23, 2022 11:36
Build Docker image for Minecraft Bedrock Server
FROM ubuntu:latest AS build
WORKDIR /build
RUN apt update -qq && apt install --yes -qq unzip curl
RUN curl -fSsL https://minecraft.azureedge.net/bin-linux/bedrock-server-1.19.30.04.zip --output bedrock-server-1.19.30.04.zip
RUN unzip bedrock-server-1.19.30.04 -d ./bin/
@emeryao
emeryao / minecraft-full-enchanted-artifacts.md
Last active April 25, 2022 18:11
Minecraft Full Enchanted Artifacts

MC神器 | Minecraft Full Enchanted Artifacts

名称 Name Link
bow 🔗
钓鱼竿 fishing_rod 🔗
剪刀 shears 🔗
打火石 flint_and_steel 🔗
盾牌 shield 🔗
三叉戟 trident 🔗
@emeryao
emeryao / P6P.md
Last active July 11, 2025 18:19
Pixel 6 Pro

Root with magisk

  1. flash latest factory image
  2. use canary version of magisk to patch boot.img
  3. fastboot flash boot magisk_boot.img

Change Model ID

  1. get devinfo.img
C:\ $ adb shell
raven:/ $ su