Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anlaki-py/screen-res
android screen resolution changer bash script.
https://github.com/anlaki-py/screen-res
android bash-script root screen-resolution termux
Last synced: about 1 month ago
JSON representation
android screen resolution changer bash script.
- Host: GitHub
- URL: https://github.com/anlaki-py/screen-res
- Owner: anlaki-py
- License: mit
- Created: 2024-10-21T19:35:28.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T19:33:41.000Z (about 1 month ago)
- Last Synced: 2024-11-23T20:25:58.320Z (about 1 month ago)
- Topics: android, bash-script, root, screen-resolution, termux
- Language: Shell
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Universal Android Screen Resolution Manager
A simple script to manage screen resolution and density settings on Android devices through Termux.
## Requirements
1. Install Termux from F-Droid (recommended) or Play Store
2. Required packages:Install all needed packages with one command:
```bash
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:
```bash
mkdir -p ~/phone_settings
```2. Download the script and make it executable:
```bash
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:
```bash
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](LICENSE).