Command | Purpose |
---|---|
fastboot devices |
Lists attached devices, along with their serial number |
fastboot oem unlock |
Unlocks bootloader on most phones |
fastboot oem unlock UNLOCK_CODE |
Use this if you have an unlock code |
fastboot flashing unlock |
May be needed on older devices and some weird mtk phones (Tecno ke5k needed this for some reason) |
fastboot flash PARTITION_NAME PATH_TO_IMAGE |
Flashes the partition with the image file |
--disable-verity --disable-verification |
Add to a vbmeta flash command to disable verified boot |
fastboot erase PARTITION NAME |
Erases the partition USE WITH CAUTION |
fastboot -w |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the pygame module | |
import pygame | |
# Import pygame.locals for easier access to key coordinates | |
from pygame.locals import ( | |
K_UP, | |
K_DOWN, | |
K_ESCAPE, | |
KEYDOWN, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--colors-one: #9be9a8; | |
--colors-two: #40c463; | |
--colors-three: #30a14e; | |
--colors-four: #216e39; | |
} | |
@media (prefers-color-scheme: dark) { | |
:root { | |
--colors-text: #FFFF00; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package miui.os; | |
public class Build extends android.os.Build { | |
public static final boolean IS_INTERNATIONAL_BUILD = false; | |
public static String getRegion() { | |
return "CN"; | |
} |