[MOD] Add Mobile Data & other Toggles to Quick Settings (Requires Sqlite & Root)

Gam3r 4 Life

Senior Member
Mar 5, 2011
722
302
0
Napa, California
[MOD] Add Mobile Data & other Toggles to Quick Settings (Requires Sqlite & Root)

Updated to add the other missing toggles. Thank you Poetic Vampire.

Update 5-21-14: I finally updated to 4.3 and had to redo this mod. Just confirming it worked for me.

DISCLAIMER: This was done on a T-Mobile Samsung Galaxy S4. Model # SGH-M919. It may or may not work on other devices. If you have another device and it doesnt work thats probably why. So please be careful. This requires root as well. And please make a Nandroid backup before making changes. Of course please dont blame me if your device goes thermonuclear. It worked for me and it should work for anyone running stock rooted like I am. Again please take the time to do a Nandroid backup first just in case. It takes a little more time, but is worth it just in case you have an issue. So far I haven't had any issues if you name or spell something wrong. Unlike a build prop theres less chance of a brick. OK, so onto the Mods.

Hello all. After reading several threads about asking about the missing data toggle from the notification area I did some research and testing and figured out how to get it back with root and sqlite editor using the stock rom. I remembered a thread about a similar issue with the Verizon S4 and it missing the Wifi toggle. I used the same steps and the sqlite editor from here and was able to add the data toggle back.

Here are the steps I used for the Mobile Data Toggle, read on below for how to add others. (Thanks to The Poetic Vampire)

1) Download sqlite editor app. I got it from here.

2) Open the app and give it root permissions. It should populate a list.

3) Scroll and Tap the "Settings Storage"

4) Tap "Settings.db"

5) Tap "System"

6) Scroll down until you find "notification_panel_active_app_list", tap to highlight it. I noticed its a little hard to get it highlighted because it seems to want to highlight the one under it. So you might have to tap the one right above it to get it highlighted. Make sure its the notification_panel_active_app_list, and NOT the notification_panel_default_active_app_list. I picked the wrong one the first time and it didnt work.

7) Once it is highlighted tap the phones menu button.

8) Tap "Edit Record"

9) You'll see a list of all the toggles that are currently enabled to show in notification area.

10) At the bottom of the list add ; and the words MobileData then another ;. So it will look like this at the end. ;AirplaneMode;MobileData; Then press Save.

11) Reboot and you should have a data toggle now. You can now use the edit feature and move it anywhere you want in the list of toggles.

Note: After I edited it and rebooted the "notification_panel_active_app_list" moved closer to the bottom of the list. So if you go back in and dont see it scroll further down.

OK. Thanks to member "The Poetic Vampire" you can also add several more of the missing toggles. Use the same method as above. Just add the words exactly as below to get SmartPause, Brightness (Thanks Mister Junky), and Wifi Hotspot. You must end the string with ; for this to work.
SmartPause;
Brightness; (mentioned by Misterjunky)
WiFiHotspot;

UPDATE: Im getting a lot of requests for the flashlight toggle so I decided to add this to the OP so that others with the same question have the answer without having to read the whole thread. As far as I know this isnt possible using this method. In order for it to work it would have to be a toggle that was originally there, but removed. Like T-Mobile removing the Data toggle. Im sure it is possible in a custom rom, but that is way out of my expertise. For flashlight toggle I use Power Toggles in the play store. It works great to set up almost any toggle you want. And highly customizable. Ive added a pic here to show the way I have Power Toggles set up. The lightning bolt shaped toggle is flashlight. Hope this helps.



Uploaded with ImageShack.us
 
Last edited:

widto08

Senior Member
Nov 26, 2008
215
46
0
Roseville, MI
Hello all. After reading several threads about asking about the missing data toggle from the notification area I did some research and testing and figured out how to get it back with root and the stock rom. I remembered a thread about a similar issue with the Verizon S4 and it missing the Wifi toggle. I used the same steps and the sqlite editor from here and was able to add the data toggle back. Of course please dont blame me if your device goes thermonuclear. It worked for me and it should work for anyone running stock rooted like I am. So please take the time to do a nandroid backup first just in case.
Heres the steps I used.

1) Download sqlite editor app. I got it from here.

2) Open the app and give it root permissions. It should populate a list.

3) Scroll and Tap the "Settings Storage"

4) Tap "Settings.db"

5) Tap "System"

6) Scroll down until you find "notification_panel_active_app_list", tap to highlight it. I noticed its a little hard to get it highlighted because it seems to want to highlight the one under it. So you might have to tap the one right above it to get it highlighted. Make sure its the notification_panel_active_app_list, and NOT the notification_panel_default_active_app_list. I picked the wrong one the first time and it didnt work.

7) Once it is highlighted tap the phones menu button.

8) Tap "Edit Record"

9) You'll see a list of all the toggles that are currently enabled to show in notification area.

10) At the bottom of the list add ; and the words MobileData then another ;. So it will look like this at the end. ;AirplaneMode;MobileData; Then press Save.

11) Reboot and you should have a data toggle now. You can now use the edit feature and move it anywhere you want in the list of toggles.

Note: After I edited it and rebooted the "notification_panel_active_app_list" moved closer to the bottom of the list. So if you go back in and dont see it scroll further down.

Hope this helps.

Do you know if this would work to add the flashlight toggle to the menu and what that entry would be?
 

brando56894

Senior Member
Dec 16, 2010
1,881
257
0
Jersey City
Awesome, thanks! I was missing this because whenever i'd drop down to EDGE if I toggled airplane mode it would jump back on HSPA and I really had no reason to kill the cell connection.
 

Greg1964

Senior Member
Oct 9, 2012
318
24
0
My phone rebooted as it was downloading now when I tap on the app it just brings up all my apps. what do I do from here I apologize for my Gs4 for rebooting in yhe middle of the download. Thanks

Sent from my SGH-M919 using xda app-developers app
 

Gam3r 4 Life

Senior Member
Mar 5, 2011
722
302
0
Napa, California
My phone rebooted as it was downloading now when I tap on the app it just brings up all my apps. what do I do from here I apologize for my Gs4 for rebooting in yhe middle of the download. Thanks

Sent from my SGH-M919 using xda app-developers app
Not sure I understand your question. Were you able to figure it out?
Does anyone know what to add to get the flashlight toggle?

Sent from my SGH-M919 using Tapatalk 2
I was actually wondering this too. If there is a toggle for the flashlight, then all we would need is the exact name of it. Then follow the same instructions. Im not sure Ive seen any galaxies with the flashlight/ torch toggle? I use Power Toggles to turn on the flash light for now. I dont think there is a "stock" way to add the flash light toggle to the dropdown. I have seen custom roms with it though.
 
Last edited:
  • Like
Reactions: Greg1964

Babyj303

Senior Member
May 8, 2011
1,180
290
0
5280
I was actually wondering this too. If there is a toggle for the flashlight, then all we would need is the exact name of it. Then follow the same instructions. Im not sure Ive seen any galaxies with the flashlight/ torch toggle? I use Power Toggles to turn on the flash light for now. I dont think there is a "stock" way to add the flash light toggle to the dropdown. I have seen custom roms with it though.
Ive tried a few different ones for the torch no luck as of right now but will keep trying



Sent from my SGH-M919 using xda premium
 

Gam3r 4 Life

Senior Member
Mar 5, 2011
722
302
0
Napa, California
Ive tried a few different ones for the torch no luck as of right now but will keep trying



Sent from my SGH-M919 using xda premium
I did too. I tried adding torch, light, flash light, flashlight, and maybe a couple others and none worked. Unless it is a stock feature that was removed its not going to work unless it gets modded into a rom. If someone can figure out what the devs did that added it to their rom we might be able to figure it out. Im by no means a dev.
 

rel500

Senior Member
Aug 4, 2009
1,136
353
0
Miami
I did too. I tried adding torch, light, flash light, flashlight, and maybe a couple others and none worked. Unless it is a stock feature that was removed its not going to work unless it gets modded into a rom. If someone can figure out what the devs did that added it to their rom we might be able to figure it out. Im by no means a dev.
Hey you helped me out a lot tho.. pure awesomeness. You taught me a new trick :)


Sent from my SGH-M919 using Tapatalk 2
 
  • Like
Reactions: Gam3r 4 Life