Google Play Music Customizations – XDA Xposed Tuesday

If Cyanogen Inc. has its way, you won’t be forced into the Google … more

Sony Xperia Z3 Lollipop Framework Ported to CM12

Android 5.0 for Xperia has a unique look and feel. You don’t have to get a Sony … more

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for … more

YU Yureka All-in-One ToolBox (CM12S Only)

This packed toolbox by XDA Senior Member gohel.vishal makes many useful tweaks … more
Post Reply Subscribe to Thread Email Thread

[MOD]Enable Flashlight Toggle - Stock NB4 - 4.4.2

25th May 2014, 09:30 AM |#51  
EeeK's Avatar
Thanks Meter: 4
88 posts
Join Date:Joined: Nov 2011
Just got my note 3, does this need to be rooted?
2nd June 2014, 03:54 AM |#52  
Androidwarrior's Avatar
Senior Member
Thanks Meter: 79
330 posts
Join Date:Joined: Apr 2014
Will this work for the lastest sprint nc5 update?

Sent from my SM-N900P using XDA Premium 4 mobile app
Last edited by Androidwarrior; 2nd June 2014 at 09:40 PM.
25th June 2014, 06:37 AM |#53  
imdatslaya's Avatar
Flag Florida
Thanks Meter: 18
96 posts
Join Date:Joined: Oct 2010
Donate to Me
I've been trying to do this on Dynamic Kat 4.0 with no luck. Can anyone help?

Sent from my SM-N900A using Tapatalk
3rd July 2014, 11:45 PM |#54  
EeeK's Avatar
Thanks Meter: 4
88 posts
Join Date:Joined: Nov 2011
Sorry noob here with a note 3 just rooted with towelroot. How do I flash the 2 zip files?
20th July 2014, 07:26 PM |#55  
padre629's Avatar
Senior Member
Flag Cali, Colombia
Thanks Meter: 26
175 posts
Join Date:Joined: Mar 2013
Thumbs up
Originally Posted by EeeK

Sorry noob here with a note 3 just rooted with towelroot. How do I flash the 2 zip files?


1. Put both files ( and into your sdcard.
2. Reboot into your custom recovery.
3. Make a NANDroid backup (Backup'n'restore / Backup)
4. Flash first file (flashlight_toggle_nb4_stock_part1), then second file (flashlight_toggle_enable_part2), both at "install .zip from sdcard" option.
5. Reboot system
6. Open Root Explorer / ES Explorer and go to "/system/priv-app" directory and delete these files: SystemUI.odex and SecSettings.odex
7. Reboot system
8. ENJOY!!

Press Thanks if this was useful!

---------- Post added at 01:26 PM ---------- Previous post was at 12:41 PM ----------

Excellent and great post my dear OP.
However, can you make the flashlight a bit brigther? E.g. like some third party apps make?

Moreover I've added some toggles to settings.db, located at "/data/data/", this can be edit with "SQL Editor" app.
Append to register: MobileData; (for mobile data), WiFiHotspot; (to enable wifi hotspot)

How do I add Brightness and Screen Timeout toggles? which "commands" do I use? I'll edit this post when I found them!

Some suggestion: delete automatically in second script the SystemUI.odex and SecSettings.odex files, in order to avoid possible hand-errors.
Thanks, great post.
21st July 2014, 06:10 AM |#56  
Junior Member
Thanks Meter: 0
8 posts
Join Date:Joined: Jun 2007
Mobile Data Flashable
Originally Posted by antiochasylum

Those are already there, you just need to add them to the settings.db with an sqlite editor, as you can see from the screenshots. Mobile data is already enabled for me

I suppose I could add it to the second part of the flashable zip. Where it enables mobile data and flashlight.

can put the mobile toggle into a flashable file please
29th July 2014, 04:21 AM |#57  
Senior Member
Thanks Meter: 846
1,372 posts
Join Date:Joined: Dec 2010
I flashed this on my wifes phone. She has fenny stock 1.3 and system ui just keeps crashing. It does not let me do anything but to remove the battery. Any help is appreciAted. Thanks.
1st September 2014, 04:03 AM |#58  
Austtin's Avatar
Senior Member
Thanks Meter: 1,141
840 posts
Join Date:Joined: Nov 2013
I must say something and may be I repost this post on some other threads. Why instead of say hey flash this, tell us how to proceed with the new smali code?
I mean before it was
.parameter "context"

now it's
.param p1, "context" #Landroid/content/context;

many thing has changed like registers(before) now are named as locals.

so this mod is working if you flash as it is, but if you decompile the systemUI you'll face an error on log(or if you extract the FlashlightQuickSettings and push it to your system ui it's showing error), that smali files can't be decompiled, because of the old code (at least happened to me using android tool latest one) I think it's using latest apktool, so I'm gonna check if using an older apktool (not android tool) happens this to me again. Because I wonder how da hell they made this without getting any error on log?? I don't know all the smali language, there's no a guide on web of it too. I know that you can decompile the classes.dex using other tool without the need of apktool. But if you do something like that you can get a systemui fc. so tell us how to proceed please? or are you planning to keep info as a secret??? lol
Post Reply Subscribe to Thread

flashlight quicktoggle kitkat mod
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes