[Guide] Add WiFiHotspot Toggle to any rooted Touchwiz Rom
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.
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.
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:
Allow the permissions... copy in:
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:
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:
Sent from my SM-N900V using Tapatalk