|
1 | | -# SAPTeam's Magisk module template |
2 | | -This magis module template made the module creation way easier. |
| 1 | +# Disable Rotation Suggest |
| 2 | +Permanently Disable Rotate screen Suggestion in Android AOSP-Like roms |
| 3 | +works in LOS, Pixel Experience and other AOSP roms. |
3 | 4 |
|
4 | | -## Features |
5 | | -- Automates the build and releasing with Github actions. |
6 | | -- Easily initiates the module properties with setup.py. |
7 | | -- Has a biult in installer script, so you don't need to write a installer script. |
| 5 | +## How it Works? |
| 6 | +Android secure settings has a key called `show_rotation_suggestions` and it has True value by default |
8 | 7 |
|
9 | | -## Getting started |
10 | | -Working with this template is very easy. Most of actions is automated. with this instruction you can benefit all features of this module: |
11 | | -- First you need to make a fork of this repository to your account. |
12 | | -- Then clone your new repository to your computer. |
13 | | -- in module files open `setup.py` with an text editor and replace the variables with your module props. |
14 | | -- Run `setup.py` and after after finishing the first run, delete it. |
15 | | -- Open `module.prop` and `update.json` to correct the github account and repo name if it was wrong. |
16 | | -- Put your module files and update the changelog. |
17 | | -- Create a tag and push it. when a new tag is pushed the action is triggered and new release zip is automatically created. |
18 | | -You must check the Actions tab of your project for checking issues. |
| 8 | +You can turn this Feature off using this command: |
| 9 | +``` |
| 10 | +settings put secure show_rotation_suggestions 0 |
| 11 | +``` |
| 12 | +But after each restart, this value RESETs to Default value. This module changes that setting to `0` after Boot Complete to keep this feature off. |
19 | 13 |
|
20 | | -Note: for using magisk 14.0+ update api you need to update the version string in `update.json` in every releases. |
| 14 | +## Installation |
| 15 | +This module is compatible to Magisk v20.4+ and it have UpdateJson api for Updating within Magisk Manager. |
| 16 | + |
| 17 | +## Credits |
21 | 18 |
|
22 | | -## Credits |
23 | | -This module forked from [MMT-Extended](https://github.com/Zackptg5/MMT-Extended) template. |
| 19 | +- [Magisk](https://github.com/topjohnwu/Magisk/): makes all these possible |
| 20 | +- [MMT-Extended](https://github.com/Zackptg5/MMT-Extended/): created base installer scripts |
| 21 | + |
| 22 | +## License |
| 23 | + |
| 24 | +This Project is licensed under the **GNU General Public License v2 (GPL-2)** (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html). |
0 commit comments