• 0 Posts
  • 15 Comments
Joined 2 个月前
cake
Cake day: 2026年8月15日

help-circle







  • If you mean those ro.product.*, ro.system.*, ro.vendor.*, etc. and some other device identifiers, I think you can adjust many of them when compiling GrapheneOS yourself, which, however, requires a lot of storage and computational resources. If you mean the user agent HTTP header (and navigator object), there’s no such thing as a system wise UA since UA is to recognize the OS and browser combination, and the UA header can be spoofed with those user agent switcher extensions or, if you are advanced user and want fine control, Header Editor, which can be added to Android Firefox by visiting it with desktop enabled.





  • update_pm() {
      sudo apt update
      sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo apt clean
      sudo apt autoclean
      flatpak update -y || true
      flatpak uninstall --unused -y || true
      sudo snap refresh || true
      brew update
      echo y | brew upgrade
      echo y | brew autoremove
      brew cleanup
      uv self update
      uv tool upgrade --all
      npm i -g npm
      npm update -g
    }