TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.96k stars 741 forks source link

Suggestion: Toggle files #1058

Open lars18th opened 7 years ago

lars18th commented 7 years ago

Hi,

I suggest to add a button or option to toggle subsystems using touch of files. For example:

Disable(/Enable) Magisk: touch /cache/.disable_magisk Disable(/Enable) Xposed: touch /data/data/de.robv.android.xposed.installer/conf/disabled

This is by far more easy than opening the Terminal and type the command. Perhaps the most simple option is a button for execute scripts. You agree?

that1 commented 7 years ago

You can package your script as update-binary in a "flashable" ZIP which comes close to what you want.

lars18th commented 7 years ago

Hi @that1 ,

Now this is my current behaviour. After several times opening the terminal and typing manually I created a script and I put it inside a ZIP. However, I feel this quite intricante. Why not add some section for launching custom user scripts?

This is only an idea! :smile: