Skip to content

Commit

Permalink
Add volume steps increase to template
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdstel committed Sep 2, 2018
1 parent e4463fd commit 5ad2055
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Magisk Module Template

**Update `README.md` if you want to submit your module to the online repo!** This `README.md` will be shown in a Webview dialog when a user taps your module in Magisk Manager, so make sure to place some information / changelog / notes here.
Doubles the amount of volume steps available on most Android devices to allow for more granular volume control. Based on [this template](https://github.com/topjohnwu/magisk-module-template).

If you are not familiar with the Markdown syntax, you can start by experimenting on GitHub's online Markdown editor, which will let you preview before publishing. If you need more help, the [Markdown Cheat Sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) will be handy.

For more information about modules and repos, please check the [official documentation](https://github.com/topjohnwu/Magisk/blob/master/docs/modules.md)
No module seemed to be available for Magisk 17+ so I just made this mini module.
3 changes: 3 additions & 0 deletions common/system.prop
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file will be read by resetprop
# Example: Change dpi
# ro.sf.lcd_density=320

ro.config.vc_call_vol_steps=14
ro.config.media_vol_steps=30
4 changes: 2 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
AUTOMOUNT=true

# Set to true if you need to load system.prop
PROPFILE=false
PROPFILE=true

# Set to true if you need post-fs-data script
POSTFSDATA=false
Expand All @@ -41,7 +41,7 @@ LATESTARTSERVICE=false

print_modname() {
ui_print "*******************************"
ui_print " Magisk Module Template "
ui_print " Double Volume Steps "
ui_print "*******************************"
}

Expand Down
10 changes: 5 additions & 5 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=template
name=Template Module
version=v1
versionCode=1
author=topjohnwu
description=A short description
name=Volume steps increase
version=v0.1
versionCode=0.1
author=pvdstel
description=Increases the number of volume steps on Android, using Magisk 17+.
minMagisk=17000
1 change: 0 additions & 1 deletion system/placeholder

This file was deleted.

0 comments on commit 5ad2055

Please sign in to comment.