Skip to content

anlaki-py/screen-res

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Universal Android Screen Resolution Manager

A simple script to manage screen resolution and density settings on Android devices through Termux.

Capture 1 Capture 2

Requirements

  1. Install Termux from F-Droid (recommended) or Play Store
  2. Required packages:

Install all needed packages with one command:

pkg update && pkg install -y dialog tsu

Or install them individually:

  • pkg install dialog - for the user interface
  • pkg install tsu - for root access

Installation

  1. Create a directory for the script:
mkdir -p ~/phone_settings
  1. Download the script and make it executable:
cd ~/phone_settings
curl -O https://raw.githubusercontent.com/anlaki-py/screen-res/main/screen-res.sh
chmod +x screen-res.sh

Usage

Run the script with:

sudo bash ~/phone_settings/screen-res.sh

On first run: 0. Select Reconfigure Device Settings

  1. Enter your device name
  2. Enter your screen size in inches (e.g. 6.1)
  3. Default resolution and DPI will be automatically detected

Features

  • Change screen resolution
  • Save and load resolution presets
  • Backup and restore settings
  • Automatic DPI calculation
  • Revert to default settings

Troubleshooting

If the script doesn't work:

  1. Make sure you installed all required packages
  2. Check if you have root access (sudo su)
  3. Verify the script has execute permissions

License

This project is open source and available under the MIT License.

About

android screen resolution changer bash script.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages