Skip to content

Instantly share code, notes, and snippets.

View wuhanstudio's full-sized avatar
🎯
Focusing

Han Wu wuhanstudio

🎯
Focusing
View GitHub Profile
@wuhanstudio
wuhanstudio / BCC0 incorrect, got 0x04, expected 0x00
Last active October 18, 2023 20:58
Fix Mifare Classic Gen2
hf 14a config --bcc ignore
hf mf wrbl --force --blk 0 -k FFFFFFFFFFFF -d 010203040408040000004A495256494E
hf 14a config --bcc std
adb shell getprop ro.build.version.sdk
aapt dump badging youbube.apk
adb shell pm list packages
adb shell monkey -p com.google.android.youtube 1
adb shell am start -n com.google.android.youtube/Main
@wuhanstudio
wuhanstudio / gist:a984b48778448734a70cec9d2c08adee
Created February 1, 2024 22:49
Mi Router 4C update firmware
telnet 192.168.1.1
wget http://192.168.1.208:8000/x-wrt-24.01-b202401270830-ramips-mt76x8-xiaomi_mi-router-4c-squashfs-sysupgrade
flash erase 0x160000 0xea0000
flash write 0x160000 0x80000000 0xea0000