You will need SQLite Editor: https://play.google.com/store/apps/d...ware.sqleditor
p.s take a backup before you do anything!!
Torch app is not my work.
How to install:
-Place SystemUI.apk and SecSettings.apk in /system/priv-app/ and set right permissions (rw-r-r)
-Place Torch.apk in /system/app/ and set right permissions (rw-r-r)
-Open SqLite Editor and navigate to:/data/data/com.android.providers.settings/databases/ and open settings.db
-Press the "system" line and search for "notification_panel_active_app_list" and highlight it; then press the edit icon at the top
-In the "value" field add ";Flashlight" , then Save and close the program
-Reboot your device. Now you should have the flashlight toggle in the notification panel.
SecSettings.apk download: https://www.dropbox.com/s/7q93qo3zd4...ecSettings.apk