[MODULE][TERMINAL EMU] Increase Volume Steps + UI

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
INCREASE VOLUME STEPS

Yep, that's just it. It increases volume steps, but it doesn't make your sound louder.
By default, it increases vol steps by 30.
You can customize the volume steps by doing this command in terminal emulator:
Code:
vol_magisk
You can then enter your choice.
And then reboot to apply the change.

GitHub
Downloads
 
Last edited:

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
After installation, rebooted and then my supersu says I need to update my binary. I try to update but failed. I go to magisk manager and then the magisk framework (12.0) didn't detect correctly. I disable the module and it back to normal.
 
  • Like
Reactions: veez21

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
After installation, rebooted and then my supersu says I need to update my binary. I try to update but failed. I go to magisk manager and then the magisk framework (12.0) didn't detect correctly. I disable the module and it back to normal.
I don't know about that. I don't think it affects su since it just sets a build property and a script in /system/bin. I use magisk su but no problems.
 

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
I don't know about that. I don't think it affects su since it just sets a build property and a script in /system/bin. I use magisk su but no problems.
I don't use magisksu because I have a problem sticking permissive selinux status, if you know how to stick permanently permissive selinux in magisksu, please let me know and I will glad to shift to magisksu.

Sent from my AndroidOne SEED using Tapatalk
 

Didgeridoohan

Forum Moderator / Developer Relations
Staff member
May 31, 2012
10,950
10,720
253
Gothenburg
I don't use magisksu because I have a problem sticking permissive selinux status, if you know how to stick permanently permissive selinux in magisksu, please let me know and I will glad to shift to magisksu.

Sent from my AndroidOne SEED using Tapatalk
Put the following in a file (name doesn't really matter) in /magisk/.core/post-fs-data.d:
Code:
#!/system/bin/sh
setenforce 0
That'll set SELinux to permissive at boot.
 
  • Like
Reactions: pbergonzi and vhick

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
I don't use magisksu because I have a problem sticking permissive selinux status, if you know how to stick permanently permissive selinux in magisksu, please let me know and I will glad to shift to magisksu.

Sent from my AndroidOne SEED using Tapatalk
Put the following in a file (name doesn't really matter) in /magisk/.core/post-fs-data.d:
Code:
#!/system/bin/sh
setenforce 0
That'll set SELinux to permissive at boot.
What @Didgeridoohan said ;)
 
  • Like
Reactions: vhick

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
Put the following in a file (name doesn't really matter) in /magisk/.core/post-fs-data.d:
Code:
#!/system/bin/sh
setenforce 0
That'll set SELinux to permissive at boot.
Thanks guys. I having a hard time to get it work. Now my problem is the permission of the script. When I set it to 777, it always go back to 755.

Sent from my H220 using Tapatalk
 

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
Put the following in a file (name doesn't really matter) in /magisk/.core/post-fs-data.d:



Thanks guys. I having a hard time to get it work. Now my problem is the permission of the script. When I set it to 777, it always go back to 755.
why set it to 777? 755 is good enough since we have root and all the execute permissions are granted.
 
  • Like
Reactions: Didgeridoohan

Didgeridoohan

Forum Moderator / Developer Relations
Staff member
May 31, 2012
10,950
10,720
253
Gothenburg
Thanks guys. I having a hard time to get it work. Now my problem is the permission of the script. When I set it to 777, it always go back to 755.

Sent from my H220 using Tapatalk
You shouldn't have to worry about permissions on the scripts placed in post-fs-data.d and 755 should be enough. What is it that doesn't work?

Edit: Dammit! To slow this time... :p
 
  • Like
Reactions: veez21

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
I don't know. When it comes to permission for permissive, it never work on 755, it work on 777.
Ok, I'll update it to 777 in the next release. Also, for it to probably work for you for now, extract the zip and then edit config.sh. Then go to the bottom, you should find this line:

set_perm $MODPATH/system/bin/vol_magisk 0 0 0755

replace 0755 with 0777 and repack and then flash. See if it works ;)

EDIT: What's the output when you try to run vol_magisk in terminal emulator while in 755?
 
Last edited:
  • Like
Reactions: vhick

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
Ok, I'll update it to 777 in the next release. Also, for it to probably work for you for now, extract the zip and then edit config.sh. Then go to the bottom, you should find this line:

set_perm $MODPATH/system/bin/vol_magisk 0 0 0755

replace 0755 with 0777 and repack and then flash. See if it works ;)

EDIT: What's the output when you try to run vol_magisk in terminal emulator while in 755?
There's a slight misunderstanding here sir. The module is working in enforce. It just that I need to set my selinux to permissive because my other modules didn't work in enforce like sd write access module that only work on permissive selinux. And I only achieve stable permissive in edited boot.img with supersu.

Sent from my H220 using Tapatalk
 

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
There's a slight misunderstanding here sir. The module is working in enforce. It just that I need to set my selinux to permissive because my other modules didn't work in enforce like sd write access module that only work on permissive selinux. And I only achieve stable permissive in edited boot.img with supersu.
So this module doesn't work on permissive? The volume steps only increased while on enforcing?
 

veez21

Senior Member
Feb 22, 2016
2,172
2,704
183
Guess Where
There's a slight misunderstanding here sir. The module is working in enforce. It just that I need to set my selinux to permissive because my other modules didn't work in enforce like sd write access module that only work on permissive selinux. And I only achieve stable permissive in edited boot.img with supersu.
Also, keep in mind that it only works on media volume. Go to any music player app and play a song and see if it works.
 

vhick

Senior Member
Feb 13, 2012
625
123
63
Antipolo City
So this module doesn't work on permissive? The volume steps only increased while on enforcing?
Now I get it work.[emoji1]

Suggestion: make a selection if I decided to change. For example, enter number or type c to cancel.

Sent from my Android One SEED using Tapatalk
 
Last edited: