Skip to content

Instantly share code, notes, and snippets.

@Snuupy
Last active April 1, 2024 07:05
Show Gist options
  • Save Snuupy/b2aafd64bfe6f414e59edb2272913deb to your computer and use it in GitHub Desktop.
Save Snuupy/b2aafd64bfe6f414e59edb2272913deb to your computer and use it in GitHub Desktop.
things I keep having to dig up every time but are in various different places when I have to reflash various devices

temp path on windows

SET PATH=%PATH%;C:\Users\admin\Downloads\platform-tools_r34.0.5-windows\platform-tools\

PixelXpert

clock status bar: $GEEE $GMMM $Gd

Logs

logcat: adb logcat

Drivers:

https://developer.android.com/tools/releases/platform-tools https://developer.android.com/studio/run/oem-usb

Root

ACC charging switch: battery/voltage_max 4470000 3600mV --

Custom ROMs:

custom ROM: https://t.me/mipad6/10650

Set Wi-Fi Country Code for 5 GHz DFS

su
mount -o rw,remount /
nano /system/build.prop

add ro.boot.wificountrycode=US to the end of the file (or whatever country you're in)

reboot

One-Handed Mode (LineageOS)

su
mount -o rw,remount /product
nano /product/etc/build.prop

add ro.support_one_handed_mode=true to the end of the file

reboot

disable smart cover

https://github.com/DragonEmperor9480/pipa_notes?tab=readme-ov-file#about-smartcover-in-custom-roms

adb shell settings put global lid_behavior 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment