Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more
Post Reply

[MOD] Add Flashlight LED Quick Toggle to SystemUI

OP croxray

11th July 2014, 01:53 AM   |  #1  
OP Junior Member
Thanks Meter: 13
 
14 posts
Join Date:Joined: May 2014
NOTE: I am not able to test this (because I use S5 mod) but I have modded my SystemUI the same way as I did this so it should work. This will work only on DEODEXED tw-based roms and stock (It works on Omega v31). I am not responsible for any damages you do to your phone! It would be much appreciated if someone could test it and take a screenshot of it and upload it here (the screenshot provided is from my phone but with s5 mod)
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.

Click image for larger version

Name:	Screenshot_2014-07-01-03-08-51.png
Views:	770
Size:	192.8 KB
ID:	2844750

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
Attached Files
File Type: apk Torch.apk - [Click for QR Code] (164.5 KB, 96 views)
File Type: apk SystemUI.apk - [Click for QR Code] (3.99 MB, 59 views)
Last edited by croxray; 11th July 2014 at 06:34 PM. Reason: changing title
The Following 6 Users Say Thank You to croxray For This Useful Post: [ View ]
24th July 2014, 03:44 PM   |  #2  
asia559571's Avatar
Member
Thanks Meter: 4
 
70 posts
Join Date:Joined: Jul 2013
Hi croxray! Really like the idea of this mod but I'm on stock S4 i9500, Odexed 4.4.2 XXUFNB3. I want to keep the SystemUI as is but have your Flashlight Quick Toggle, would this be possible? if so will it help if I sent you a copy of my SystemUI.apk to modify. Thanks in advance & Kind Regards to You
24th July 2014, 04:42 PM   |  #3  
AL_IRAQI's Avatar
Recognized Contributor
Flag Samsun/Turkey
Thanks Meter: 2,860
 
2,400 posts
Join Date:Joined: May 2012
Donate to Me
More
@croxray can you please give me the method
i want to keep my systemui and secsettings
24th July 2014, 05:00 PM   |  #4  
OP Junior Member
Thanks Meter: 13
 
14 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by asia559571

Hi croxray! Really like the idea of this mod but I'm on stock S4 i9500, Odexed 4.4.2 XXUFNB3. I want to keep the SystemUI as is but have your Flashlight Quick Toggle, would this be possible? if so will it help if I sent you a copy of my SystemUI.apk to modify. Thanks in advance & Kind Regards to You

Send me your secsettings.apk and systemui.apk and i will modify it for you tomorrow in the evening.
The Following User Says Thank You to croxray For This Useful Post: [ View ]
24th July 2014, 05:05 PM   |  #5  
OP Junior Member
Thanks Meter: 13
 
14 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by AL_IRAQI

@croxray can you please give me the method
i want to keep my systemui and secsettings

Yes I will send you the complete method tomorow in the evening because my girlfriend is sleeping over tonight so I wont have any time. So tomorrow I will contact you
The Following User Says Thank You to croxray For This Useful Post: [ View ]
24th July 2014, 05:06 PM   |  #6  
AL_IRAQI's Avatar
Recognized Contributor
Flag Samsun/Turkey
Thanks Meter: 2,860
 
2,400 posts
Join Date:Joined: May 2012
Donate to Me
More
Quote:
Originally Posted by croxray

Yes I will send you the complete method tomorow in the evening because my girlfriend is sleeping over tonight so I wont have any time. So tomorrow I will contact you

ok, thanks
25th July 2014, 01:37 PM   |  #7  
asia559571's Avatar
Member
Thanks Meter: 4
 
70 posts
Join Date:Joined: Jul 2013
for the attention o croxray 1
Quote:
Originally Posted by croxray

Send me your secsettings.apk and systemui.apk and i will modify it for you tomorrow in the evening.

NICE ONE! Croxray and Thankyou. Will come in two seperate parts.
Attached Files
File Type: rar SystemUI.rar - [Click for QR Code] (1.75 MB, 4 views)
File Type: zip SecSettings.zip - [Click for QR Code] (13.47 MB, 6 views)
25th July 2014, 05:15 PM   |  #8  
OP Junior Member
Thanks Meter: 13
 
14 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by asia559571

NICE ONE! Croxray and Thankyou. Will come in two seperate parts.

Actually I will need .odex files from those two apps too.
26th July 2014, 12:29 PM   |  #9  
asia559571's Avatar
Member
Thanks Meter: 4
 
70 posts
Join Date:Joined: Jul 2013
Odex Files
Quote:
Originally Posted by croxray

Actually I will need .odex files from those two apps too.

Hi Croxray! attached are the Odex files you requested, also a quick question! can I use this mod with the stock flashlight?
Kind Regards
Attached Files
File Type: rar SecSettings.rar - [Click for QR Code] (1.65 MB, 4 views)
File Type: rar SystemUI.rar - [Click for QR Code] (361.4 KB, 4 views)

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

Advanced Search
Display Modes


Top Threads in Galaxy S 4 Themes and Apps by ThreadRank