Skip to content

Instantly share code, notes, and snippets.

View Matthew0x's full-sized avatar
💭
V3JpdGluZyB+MjAwIHBhZ2VzIG9mIG5vdGVzLiBTdWZmZXJpbmcsIEphdmFTY3JpcHQgaXMgd29yc2Uu

Matthew A. Matthew0x

💭
V3JpdGluZyB+MjAwIHBhZ2VzIG9mIG5vdGVzLiBTdWZmZXJpbmcsIEphdmFTY3JpcHQgaXMgd29yc2Uu
View GitHub Profile
@Matthew0x
Matthew0x / smartphonesDebloatXiaomi.md
Last active April 4, 2024 14:29
Xiaomi Debloat 2023 (published)

#published

License

GPLv3

tl;dr - do what you want, I hold no liability for usage/misuage of this note.

Remarks

Some packages are guaranteed to brick the phone if you try removing them. Always do some research (the web, forums) on what a specific package does. This list is the "default" I ran in 2023 and it worked nearly fine in my case (I had to hard reset one phone). Certain features might stop working (mostly gimmicks, e.g. wallpapers).

Always back up your data before tinkering with ADB. You either F up and lose data or you F up and lose 30 minutes of time. If you bootloop the phone then hard reset might resolve all the issues.

Disabled packages can be re-enabled, which makes for a safer alternative.

@Matthew0x
Matthew0x / linuxCybersecurityTPM.md
Created April 4, 2024 14:04
TPM with LUKS2 (published)

#published

License

GPLv3

tl;dr - do what you want, I hold no liability for usage/misuage of this note.

Remarks

Worked for me in 2024. If you don't know what you're doing then don't do it (not that I know). I take no responsibility and some of these commands could potentially break your fstab/crypttab/luks configuration.

LUKS2

The already existing guide explains how to use LUKS2, provided by RH. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/security_hardening/encrypting-block-devices-using-luks_security-hardening