Post Reply

[APP][ROOT][4.0+] Adjustable Torch

8th August 2013, 05:50 PM   |  #1  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 4,949
 
1,071 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Adjustable Torch is an application that allows you to use the torch at different brightness levels.

Screenshots:


Compatibility:
Tested on the Galaxy S4 (GT-I9500), will work on all devices with either of these files /sys/class/camera/flash/rear_flash or /sys/class/camera/rear/rear_flash
Installing and running the app will tell you if the app is compatible.

Reported working on:
  • Samsung Galaxy S4 (GT-I9500, GT-I9505, SGH-l337, SCH-I545)
  • Samsung Galaxy Note 2 (GT-N7100, SGH-I317)
  • Samsung Galaxy SIII (GT-I9300)

Source:
The app is open source, and licensed under GPLv3: https://github.com/MohammadAG/android-AdjustableTorch

WARNING:
Using the flash at maximum brightness may cause damage to the flash. The developer of this application is not responsible for any damage caused to your device due to prolonged usage of the flash at a high brightness.

Permissions:
I request and use the following permissions:
  • Internet: used for ads, ads can be disabled in Action Menu.
  • Superuser: obviously needed to write to sysfs.
  • Receive boot complete: needed to reset app settings at startup. A reboot would turn off the flashlight so this is needed.
If your privacy app is picking up location as a used permission, please report a bug against it, again, I DO NOT use location.

Download:
Get it from the Play Store!
If you can't access the Play Store, here's an exact copy of the APK on the store, please use the store if possible, thanks! http://mohammadag.xceleo.org/public/...eTorch_1.6.apk

Changelog:
[1.6]
  • Added homescreen/lockscreen widget.
  • Fixed wrong values on devices with inverted values when using notification buttons.

[1.5]
  • Fixed regression due to changes in code.

[1.4]
  • Added "Invert values" option to fix the weird values on the Galaxy SIII.

[1.3]
  • Fix possible crash at startup for unrooted users.
  • Fixed notification read incorrect value when adjusting using +/- buttons

[1.2]
  • Added notification actions.
  • Moved notification handling to Service, which is faster.
  • Added uses-feature android.hardware.camera.flash to reduce Play Store supported devices.

[1.1]
  • Support more devices (/sys/class/camera/rear/rear_flash)
  • Turning off flash from notification would cause the app to close when launched from recents list, fixed.

Support development:
If you found this app useful, consider donating with PayPal.
Last edited by MohammadAG; 12th November 2013 at 11:49 AM.
The Following 42 Users Say Thank You to MohammadAG For This Useful Post: [ View ]
8th August 2013, 06:55 PM   |  #2  
Senior Member
Flag Melbourne
Thanks Meter: 449
 
1,497 posts
Join Date:Joined: Oct 2010
More
Great app! Very bright if needed and not so bright when less light is required.

Sent from my GT-I9505 using xda premium
8th August 2013, 09:18 PM   |  #3  
Senior Member
Purmerend
Thanks Meter: 32
 
168 posts
Join Date:Joined: Mar 2011
Works fine on an i9505 with the latest Google edition software. Thanks for this app

Sent from my GT-I9505G using Tapatalk 4 Beta
13th August 2013, 11:10 PM   |  #4  
enigma1981's Avatar
Senior Member
Flag Port Talbot
Thanks Meter: 736
 
2,299 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Half works on my I9300 but the brightness doesn't coincide with the slider.

For example if I tap it to "full" it's off again and no matter where I tap along the line it goes brighter or dimmer as it pleases

Otherwise, brilliant app! Been liking for exactly this for months!!

Looking forward to updated versions

Swyped from my Galaxy S3 using Tapatalk 4
13th August 2013, 11:20 PM   |  #5  
Porobu's Avatar
Senior Member
Thanks Meter: 401
 
785 posts
Join Date:Joined: Oct 2011
Tried on my galaxy Ace II I8160. The led brightness goes from 0 to five and then continues from 1 to 5 while moving the slider from left to right and right to left

Sent from my GT-I8160 using xda app-developers app
The Following User Says Thank You to Porobu For This Useful Post: [ View ]
13th August 2013, 11:57 PM   |  #6  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 4,949
 
1,071 posts
Join Date:Joined: Sep 2009
Donate to Me
More
I guess I'll have to add a settings option to set the maximum brightness, for the S4 it was 15, anything more than that and it the brightness stays the same.
The Following User Says Thank You to MohammadAG For This Useful Post: [ View ]
14th August 2013, 12:39 AM   |  #7  
Junior Member
Thanks Meter: 0
 
21 posts
Join Date:Joined: Feb 2010
Question Permissions question
Thanks for the app.
Can you please explain the need for some of the permissions?

Using Xprivacy, I can see that it requires Location, Network, Phone, Storage and other permissions I would normally not associate with an app like this.

Thank you.
14th August 2013, 12:52 AM   |  #8  
OP Recognized Developer
Flag Jerusalem
Thanks Meter: 4,949
 
1,071 posts
Join Date:Joined: Sep 2009
Donate to Me
More
Quote:
Originally Posted by defiant_nx74205

Thanks for the app.
Can you please explain the need for some of the permissions?

Using Xprivacy, I can see that it requires Location, Network, Phone, Storage and other permissions I would normally not associate with an app like this.

Thank you.

I explain the permissions used in the Play Store description.
I don't request permissions for Location or Storage, it might be AdMob or writing to my own app's preferences.
If you still don't trust that, it's open source

Sent from my GT-I9500 using xda app-developers app
14th August 2013, 01:42 AM   |  #9  
Amazing app. It works on my international S3.

Enviado de meu GT-I9300 usando Tapatalk 4
14th August 2013, 01:55 AM   |  #10  
Moz007's Avatar
Senior Member
Flag France
Thanks Meter: 51
 
429 posts
Join Date:Joined: Feb 2011
More
Can you add a small widget with vibrations when we put on/off the light ?

The Following User Says Thank You to Moz007 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
brightness, camera, flash, flashlight, torch
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