Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD][How To] SecSettings Torchlight Option

OP Stavr0s91i

8th July 2013, 07:53 PM   |  #1  
Stavr0s91i's Avatar
OP Senior Member
Flag Nicosia
Thanks Meter: 655
 
202 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Adding TorchLight Option In Settings>Display.
  1. Decompile SecSettings.apk
  2. Goto res/xml/display_settings.xml
  3. Apply Changes Below (Bold Red)
Code:
<PreferenceCategory android:title="@string/tts_general_section_title" android:key="general" />
<PreferenceScreen android:title="@string/wallpaper" android:key="wallpaper" android:fragment="com.android.settings.WallpaperSettings" />
<PreferenceScreen android:title="@string/led_indicator_settings" android:key="led_indicator_settings" android:fragment="com.android.settings.LedIndicatorSettings" />
<PreferenceScreen android:title="Torchlight" android:key="torchlight" android:fragment="com.android.settings.torchlight.TorchlightSettings" />
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit" android:fragment="com.android.settings.NotificationPanelMenu" />
<CheckBoxPreference android:title="@string/multi_window_title" android:key="key_multi_window" android:summary="@string/multi_window_summary" android:widgetLayout="@touchwiz:layout/preference_widget_twcheckbox" />
<SwitchPreferenceScreen android:title="@string/page_buddy" android:key="contextualpage_settings" android:summary="@string/page_buddy_summary" android:fragment="com.android.settings.ContextualPageSettings" />
Compile SecSettings.apk !

Download Complete Mod For MF8 Deodexed
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-07-08-20-39-47.jpg
Views:	5364
Size:	25.3 KB
ID:	2101586   Click image for larger version

Name:	Screenshot_2013-07-08-20-39-52.jpg
Views:	4582
Size:	18.0 KB
ID:	2101587  
Last edited by Stavr0s91i; 8th July 2013 at 08:21 PM.
The Following 25 Users Say Thank You to Stavr0s91i For This Useful Post: [ View ]
9th July 2013, 12:28 AM   |  #2  
Member
Thanks Meter: 34
 
70 posts
Join Date:Joined: Jun 2013
Another way to get to those settings is to create a custom shortcut for them.

In Nova for instance;

Long click on home screen, go to Shortcuts, Activities, Settings, Torch Light. Pick the one that points to torchlight.TorchlightSettings

Now you've got the same options.
Last edited by Obscure Reference; 9th July 2013 at 12:35 AM.
The Following 11 Users Say Thank You to Obscure Reference For This Useful Post: [ View ]
10th July 2013, 04:46 AM   |  #3  
Lantek23's Avatar
Recognized Themer
Flag Orlando, Fl.
Thanks Meter: 1,513
 
1,336 posts
Join Date:Joined: May 2011
Donate to Me
More
This what I'm going on my rom but it isn't working any ideas



Sent from my SGH-M919 using Tapatalk 2
10th July 2013, 09:05 AM   |  #4  
bobbydigital222's Avatar
Senior Member
Flag Edmonton
Thanks Meter: 61
 
225 posts
Join Date:Joined: Apr 2008
Quote:
Originally Posted by Lantek23

This what I'm going on my rom but it isn't working any ideas



Sent from my SGH-M919 using Tapatalk 2

Ya I tried this on a friends phone and it didn't work, I tried the nova way, any ideas?
10th July 2013, 08:40 PM   |  #5  
Member
Thanks Meter: 34
 
70 posts
Join Date:Joined: Jun 2013
Odd, it works like a charm for me using the shortcut method.

After setting that check box and turning the screen off the volume off button turns the light on. It stays on for as long as set in the second option or until I hit the volume down button.

I'm currently running stock firmware XXUMBF5 in case that makes any difference.
11th July 2013, 01:35 AM   |  #6  
Stavr0s91i's Avatar
OP Senior Member
Flag Nicosia
Thanks Meter: 655
 
202 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Make sure "TorchlightSettings" in the end is written like this.capital T and S

Sent from my GT-I9505
11th July 2013, 06:16 AM   |  #7  
botsaris's Avatar
Member
Flag Patras
Thanks Meter: 14
 
61 posts
Join Date:Joined: Dec 2011
Is this mod in any way in conflict with 3minit framework, or is it ok to flash over it?
15th July 2013, 01:19 PM   |  #8  
saywhatt's Avatar
Recognized Contributor
Flag Land of Ooo
Thanks Meter: 1,539
 
2,876 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Nice mod mate! will be putting it on the index of mods soon. Good job

Sent from my GT-I9505 using xda premium
15th July 2013, 06:53 PM   |  #9  
Jake_MS3's Avatar
Member
Thanks Meter: 17
 
64 posts
Join Date:Joined: Jun 2012
More
Just in case anyone was wondering, this works flawlessly on the GOLDENEYE v3.0 ROM in the AT&T forum

Sent from my Samsung Galaxy S4
16th July 2013, 07:38 AM   |  #10  
Senior Member
Thanks Meter: 20
 
246 posts
Join Date:Joined: Jan 2013
i flashed the zip gave me torch option i checked it on, and turn screen off pressed button, nothing happens

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes