Skip to content

Instantly share code, notes, and snippets.

@iGlitch
iGlitch / saveme.sh
Last active June 2, 2024 10:39
init.d script for Google Pixel for performance and battery tweaks
#!/system/bin/sh
# assuming youu have magisk, put this in /data/adb/service.d/
sleep 22;
# Disable sysctl.conf to prevent ROM interference #1
if [ -e /system/etc/sysctl.conf ]; then
mount -o remount,rw /system;
mv /system/etc/sysctl.conf /system/etc/sysctl.conf.bak;
mount -o remount,ro /system;
@Pulimet
Pulimet / AdbCommands
Last active June 30, 2024 07:29
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader