Skip to content

Instantly share code, notes, and snippets.

Allow executable to run sudo w/o password prompt
1. Execute:
sudo visudo
2. Add line:
<username> ALL=NOPASSWD:/path/to/executable
Apt
Auto purge:
apt autoremove --purge
Buttons:
• GTi9105 / s2ve / Samsung S2+
Recovery mode: Home + Volume Up + Power
Download mode: Home + Volume Down + Power
• Nakasig / Tilapia / Nexus 7C 2012
Nicki / Sony Xperia M C1905
Osprey / Motorola Moto G3:
Recovery mode:
On the Bootloader/Fastboot select Recovery mode.
While holding down the Power button, press the Volume Up button.