Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Guide] Add WiFiHotspot Toggle to any rooted Touchwiz Rom

OP Grompy

1st May 2014, 05:08 AM   |  #1  
Grompy's Avatar
OP Senior Member
Flag Noblesville, IN
Thanks Meter: 155
 
431 posts
Join Date:Joined: Oct 2009
More
This method doesn't require purchasing any app. It does require the use of sqlite3 in /system/xbin/. As well as terminal emulator from the play store. This will work for both 4.3 and 4.4 roms.

First if you don't already have terminal emulator installed install it now.

https://play.google.com/store/apps/d...al.androidterm

Open up the terminal emulator and type in sqlite3 if the prompt doesn't change to sqlite> then you need to install sqlite3.

To install sqlite3: install sqlite installer root from the play store.

https://play.google.com/store/apps/d...sqlite3forroot

Open the program, press install, and allow root permissions. Once the installation is complete go ahead and Uninstall the sqlite installer app.

Open terminal emulator back up and copy paste in the following:

su

Allow the permissions... copy in:

sqlite3 /data/data/com.android.providers.settings/databases/settings.db

Your prompt should change to sqlite>

At this point if you don't have any custom toggles in your rom you can just copy and paste the below into terminal emulator. If you're not sure or if you do then you can get your current value(see end of post) and add WiFiHotspot; to the end of it using the syntax below.

update system set value='Wifi;MobileData;Location;Bluetooth;AutoRota te;SilentMode;Sync;Ebook;AirplaneMode;DrivingMode; AllShareCast;MultiWindow;SmartStay;PowerSaving;SBe am;Nfc;AirView;AirGesture;SmartPause;SmartScroll;D ormantMode;WiFiHotspot;' where name='notification_panel_active_app_list';

After you update the value exit sqlite using:

.quit

You should now be able to add the WiFiHotspot Toggle in settings under display> notification panel.

To query your current value use the following command:

select * from system where name='notification_panel_active_app_list';

You should see something like the below returned. (Long pressing and using select text will copy whatever text you select.)

4034|notification_panel_active_app_list|Wifi;Mobil eData;Location;Bluetooth;AutoRotate;SilentMode;Syn c;WiFiHotspot;Ebook;AirplaneMode;AllShareCast;Mult iWindow;SmartStay;PowerSaving;SBeam;Nfc;AirView;Ai rGesture;SmartPause;SmartScroll;DormantMode;Drivin gMode;

You'll need to copy from after the | to the end and add WiFiHotspot; to the end for the update command shown above.

Thanks to jbeitel for the original guide here:

http://forum.xda-developers.com/show....php?t=2483258


Sent from my SM-N900V using Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes