[APP][ROOT][7.1.1]QuickSettings Flashlight fix for all nougat roms

Umang96

Recognized Developer / Themer
Oct 1, 2011
2,755
9,660
0
New Delhi
What is this ?
I've been experimenting with flashlight and I have been able to make this flashlight app which could be used as a flashlight tile replacement in quicksettings and also as a standalone torch app, this should be very helpful for nougat users since we have a very buggy default flashlight tile.

How does this work ?
First my friend Shayan gave me the idea that we should toggle flash light from flashlight led brightness nodes, then I decided to try implementing in the native quicksettings flashlight toggle, first I started by writing a small torch app for this then hichaam helped and converted it into a tile service, it took few hours but I successfully managed to make it working without any visible defects or bugs.

Does this have any limitation or glitch ?
Only concern is that you must provide root access to the flashlight and then your flashlight will work just like any marshmallow rom, just edit your notification panel quicksettings and you will see a new flashlight tile is available, just remove your old flashlight tile and add this new one.

How to use this ?
Just download the app from play store, open it and provide root access, add the tile in your quicksettings and enjoy !

Downloads -
Flashlight Tile Fix Kenzo

Sources and tutorials -
Check post #2, please mention me in your rom if you use this.

Donate to me -
Paypal, Paytm

Contributors -
@Umang96, @shayanism, @hichaam
 
Last edited:

BabyTedhu

Senior Member
Nov 22, 2016
384
118
43
Are you all such Stupid, can't read this patch is rom specific ?
Get your eyes tested

---------- Post added at 10:04 AM ---------- Previous post was at 10:03 AM ----------

What is this ?
I've made some modifications in SystemUI and successfully fixed the flashlight toggle, it will work 10/10 times now, these patches will be rom specific and right now I've only made it for few roms, you may send me your SystemUI.apk and I will fix flashlight toggle on your rom too if I'm not feeling lazy.

is.

Can i use this in Nitrogen OS...?
works for RR unofficial? will you made an app so users can install it on every rom? thanks
Resurrection remix?
Hey All Idiots out there , read in first para that it's rom specific.
 
  • Like
Reactions: naturist

VaibhavKumarReddy

Senior Member
Jul 11, 2016
1,079
356
83
What is this ?
I've made some modifications in SystemUI and successfully fixed the flashlight toggle, it will work 10/10 times now, these patches will be rom specific and right now I've only made it for few roms, you may send me your SystemUI.apk and I will fix flashlight toggle on your rom too if I'm not feeling lazy.

How does this work ?
First my friend Shayan gave me the idea that we should toggle flash light from flashlight led brightness nodes, then I decided to try implementing in the native quicksettings flashlight toggle, first I started by writing an app for this and then a little hack in systemui tile to call the flash related functions of my app instead of standard android flash light, it took few hours but I successfully managed to make it working without any visible defects or distortion.

Does this have any limitation or glitch ?
Only concern is that you must provide root access to the flashlight and then your flashlight will work just like any marshmallow rom, patches will need updates whenever there are any changes in your rom's Systemui, so if you flash roms everyday then this might not be a comfortable solution for you.

How to use this ?
Just download the patch specific to your rom and rom build date and flash it in recovery, toggling flashlight first time will ask you to grant root permission, do that and you are good to go, quicksettings flashlight is fixed now.

Downloads -
QSFlashFix_Lineage 21 Jan Build (by TheStrix)
QSFlashFix_Slim7 21 Jan Build (official slim7)

Sources and tutorials -
Check post #2, please mention me in your rom if you use this.

Donate to me -
Paypal, Paytm

Contributors -
Shayan - For initial idea to toggle flashlight with commands.
Me - For the flashlight app and successfully implementing it in our system.
Hey Umang ,

Thanks for the Toggle Fix , I'm providing a link to official RR System UI
https://www.dropbox.com/s/y22xqzntai89vng/SystemUI.apk?dl=0

Maybe if you have time to make changes & update the post with the fix , that would be great [emoji2]



Sent from my Redmi Note 3 using Tapatalk
 

Umang96

Recognized Developer / Themer
Oct 1, 2011
2,755
9,660
0
New Delhi