1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

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

Discussion in 'Android Unlocking & Rooting' started by Khim Briones, Nov 21, 2013.

  1. 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)

    [​IMG] [​IMG]

    The app is open source, and licensed under GPLv3: Please or Register to view links

    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.

    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.

    Get it from the Play Store!:

    Please or Register to view links
    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! Please or Register to view links (430.14KB)


    • Added homescreen/lockscreen widget.
    • Fixed wrong values on devices with inverted values when using notification buttons.

    • Fixed regression due to changes in code.

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

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

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

    • 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.
Tags / Keywords: