[Sprint Samsung Galaxy S 4 Android Development] quan74:
Working method to add WiFiHotspot toggle

After failing to get wifi hotspot toggle in the notification bar by using sqllite editor method (error code 14 opening db), I tried editing /system/csc/feature.xml, but that also didn't work, it seems this file is read into the settings database on first boot then ignored on subsequent boots with this ROM. I discovered that if you edit feature.xml before the first boot (e.g. while still in recovery, just after flashing the ROM) that it works!

The lock screen fix (in build.prop) can be done at any time, but it saves a reboot later to do it at the same time.

Note: Props to others, I did not come up with these config file edits, just the idea to copy the files over while still in recovery after flashing the ROM

WARNING! Only apply the attached files to the stock rooted NAE ROM from the OP in this thread. Applying to any other ROM will likely cause problems.

Steps:

1.) Download AromaFM from the second post here: http://xdaforums.com/showthread.php?t=1646108

2.) Rename the zip to aromafm and place it on your external SD card in /clockworkmod/aromafm

3.) Download the two attached files (or edit your own copies) and copy to your external SD Card. Be sure to remove the .txt extension.

4.) After flashing stock rooted NAE ROM in philz recovery (and before you reboot!) double tap in an empty spot (not over a menu item) on the screen. This should launch aromafm.

5.) In aromafm scroll down and tap storage, then tap sdcard1 (this is your external SD)

6.) Tap and hold build.prop then select copy

7.) Navigate back up to /system and tap paste at the bottom of the screen. Select yes to overwrite when prompted.

8.) Navigate back to /storage/sdcard1 and copy & paste feature.xml to /system/csc using the same preocedure

9.) Exit aromafm and reboot. Enjoy your new ROM and toggles.

Advanced users: if you don't have a copy and don't want to use the ones I provided, you can copy them to your external SD card using aromafm, exit aromafm, mount usb in philz, edit the files on your computer, then copy them back using aromafm again.

Just remember, the key here is to add the edited feature.xml before booting the ROM for the first time

Summary of changes for those that wish to edit their own:

/system/build.prop

commented out security.mdpp=None (to fix missing lockscreen options)

#security.mdpp=None

feature.xml

Added the following two lines under <!-- Settings --> to enable missing toggles. You can google for other toggles that can be added (e.g. flashlight)

<CscFeature_Setting_DefNotificationPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode</CscFeature_Setting_DefNotificationPanelOrder>
<CscFeature_Setting_DefQuickPanelOrder>Wifi;MobileData;Location;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode</CscFeature_Setting_DefQuickPanelOrder>