yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] kep2008:
Open all toggles in the Quickpanel swipe from the right side of the screen (without double swipe).

Orginal guide here, all credits goes to [MENTION=4413273]S0bes[/MENTION], [MENTION=4445238]Golv[/MENTION], [MENTION=1148003]lyapota[/MENTION], [MENTION=5835736]knski[/MENTION]. I am just a little corrected for SGS-6 (6.0.1).

Go to SystemUI\smali\com\android\systemui\statusbar\phone\NotificationPanelView.smali

Find and add a lines highlighted in blue:

.method private handleQsTouch(Landroid/view/MotionEvent;)Z
.....
.....
.....
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->isFullyCollapsed()Z

move-result v3

if-eqz v3, :cond_5

iget-boolean v3, p0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mQsExpansionEnabled:Z

if-eqz v3, :cond_5

iput-boolean v1, p0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mTwoFingerQsExpandPossible:Z

:cond_5
iget-boolean v3, p0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mTwoFingerQsExpandPossible:Z

if-eqz v3, :cond_6

[COLOR="Blue"]invoke-direct {p0, p1}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->twoFingersInjection(Landroid/view/MotionEvent;)Z

move-result v3

if-nez v3, :cond_bqs[/COLOR]

invoke-direct {p0, p1}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->isOpenQsEvent(Landroid/view/MotionEvent;)Z

move-result v3

if-eqz v3, :cond_6

[COLOR="Blue"]:cond_bqs[/COLOR]
invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I

move-result v3

invoke-virtual {p1, v3}, Landroid/view/MotionEvent;->getY(I)F

Add this method to the end of smali file

.method private twoFingersInjection(Landroid/view/MotionEvent;)Z
.locals 5

const/4 v1, 0x1

const/16 v3, 0x120

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->getContext()Landroid/content/Context;

move-result-object v0

invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v0

const-string v2, "tweaks_qs_pulldown"

invoke-static {v0, v2, v1}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v0

if-eqz v0, :cond_0

invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

move-result v0

const/4 v2, 0x0

if-ne v0, v2, :cond_0

invoke-virtual {p1}, Landroid/view/MotionEvent;->getPointerCount()I

move-result v0

const/4 v2, 0x1

if-ne v0, v2, :cond_0

invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionIndex()I

move-result v0

invoke-virtual {p1, v0}, Landroid/view/MotionEvent;->getX(I)F

move-result v0

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->getWidth()I

move-result v2

sub-int v2, v2, v3

int-to-float v2, v2

cmpg-float v0, v0, v2

if-lez v0, :cond_0

:goto_0
return v1

:cond_0
const/4 v1, 0x0

goto :goto_0
.end method

Where const / 16 v3, 0x120 - the value of indent from the right edge.

Rom Control toggle here. Thx [MENTION=1042140]tdunham[/MENTION]

Video here.
[Galaxy S6 General] ambasadii:
Ambient Display & Tap To Wake

First

framework-res.apk changes here

Then

SecSettings2\res\xml\display_settings.xml

add/change red like this:

<SwitchPreference android:persistent="false" android:title="@string/lift_to_wake_title" android:key="lift_to_wake" />
[COLOR="Red"]<PreferenceScreen android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
<SwitchPreference android:persistent="false" android:title="@string/doze_title" android:key="doze" android:summary="@string/doze_summary" />
<PreferenceScreen android:title="@string/tap_to_wake" android:key="tap_to_wake" android:summary="@string/tap_to_wake_summary" />
<SwitchPreference android:persistent="false" android:title="@string/tap_to_wake" android:key="tap_to_wake" android:summary="@string/tap_to_wake_summary" />[/COLOR]
<PreferenceScreen android:title="@string/wifi_display_settings_title" android:key="wifi_display" android:fragment="com.android.settings.wfd.WifiDisplaySettings" settings:keywords="@string/keywords_display_cast_screen" />
</PreferenceScreen>

Who know how to make it work on S6 MM ? :)
[Galaxy S6 General] asc1977:
This guide work or not because you ask who knows how to work on S6 MM? This guide is for MM.
[Galaxy S6 General] ambasadii:
You can enable it but not work for now, so don't add this to OP
[Galaxy S6 General] sheard:
Double tap to wake is kernel releated as i know, if i am wrong someone correct me
[Galaxy S6 General] Androidwizzard:
Generally I would agree but I have seen an app from playstore lately which had this feature too -> LINK
[Galaxy S6 General] daxgirl:
It is. You need a good kernel dev to port that in. If I memory serves right, at some point AEL kernel had it. Maybe still does. It's a nice feature.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] sheard:
just a one question does this app eats battery like hell lol ? or 1% for 1 hours? i already saw this app but didn't downloaded it because i thinked that it eats battery and this type of apps always make screen on if u lock phone with fingerprint and just hold finger on home button it will open phone so that means screen is always being on :rolleyes:

building kernels is really hard xD , i tried it on 5.1.1 note 5 builded my first kernel in 3 days and it didn't booted even after this i never tried to make kernel and i said i will never do it. I saw this feature on s4 with Voltaqe kernel if remember correctly ,but i never used it
[Galaxy S6 General] Androidwizzard:
No doubt about that and that's not the point of my answer - just to show that it's not exclusive kernel feature but oc better implemented in kernel for power saving purpose.
[Galaxy S6 General] Senthil360:
Yes basically the app just holds the device awake thorough wakelock and also has the screen sensors active , like for any normal screen activity..

Kernel is more sophisticated, the DT2W and S2W features have a deeper level of integration with hardware ('/sys/android_touch')

Certainly a nice feature to have in a kernel :)
[Galaxy S6 General] daxgirl:
If we're talking about double tap to wake it is exclusive to kernel. Because it actually WAKES up the cpu.

What the app does is holds WAKE LOCK. So screen is off. But cpu not idle. So to clarify... it's exclusive to kernel.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] The Sickness:
You are correct. Tap AND swipe to wake are kernel commits[emoji12]
[Galaxy S6 General] daxgirl:
Man did I miss you... ?

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] The Sickness:
Same here ma'am.

I just started on MM a few days ago...
[Galaxy S6 General] tdunham:
[MENTION=7308585]kep2008[/MENTION]

In case you didn't notice the injection method has a toggle built into it so users can turn it on or off.

Tnx I like the mod and it works great too btw. :)

Rom Control toggle:

<SwitchPreference
android:title="Single swipe for Quickpanel"
android:key="tweaks_qs_pulldown"
android:defaultValue="true"
android:summaryOn="Feature is enabled"
android:summaryOff="Feature is disabled" />
[Galaxy S6 General] asc1977:
thx

added to OP
[Galaxy S6 General] bunnys7679:
What exactly do this mod?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] kep2008:
Thank you.

I added a link in the post.

Something people would not have thought that I was so smart... :D
[Galaxy S6 General] ikrom:
new guide Real time toggle between 3minit Battery Mod and Stock battery in the one SystemUI

Android Marshmallow 6.0.1
[Galaxy S6 General] nguyentankiet:
How to enable "Vibration intensity" on MM? My s7 have not it
[Galaxy S6 General] ikrom:
[Guide] How to add a SettingsObserver to your Rom by [MENTION=1042140]tdunham[/MENTION]

this will allow you to add a settings observer to existing smali.

Adding a settings observer allows you to create a real-time update to an existing mod such as colors and toggles so the modification takes effect instantly without any other user intervention such as reboots, etc.

UPDATED for Android Marshmallow 6.0.1
[Galaxy S6 General] tdunham:
[MENTION=7308585]kep2008[/MENTION]

Oops, new problem with this.

It breaks the quickpanel edit feature and now I get force close on SystemUI when I try to edit panel even when it is disabled. I'll take a look when I can, if someone discovers a fix sooner please let us know.

Tnx - TD
[Galaxy S6 General] asc1977:
Yes its right. But you can edit if you swipe on right side down
[Galaxy S6 General] tdunham:
Mine force closes when I select edit even with single swipe.
[Galaxy S6 General] thereassaad:
No fc here td whatever i try to edited & no fc ?
[Galaxy S6 General] asc1977:
After double swipe or right side swipe it works. Only not with single swipe
[Galaxy S6 General] kep2008:
Sorry, i do not quite understand what you mean . Here works wel .

Video.

It may depend on how you decompile and recompile SystemUI?
[Galaxy S6 General] tdunham:
I just got back and its working now. That one was totally on me, it was another edit that took it out on my end. Sorry to send up the flares. :eek:

[MENTION=4596062]asc1977[/MENTION] what is the difference between right side swipe and single swipe?
[Galaxy S6 General] asc1977:
I mean that mod with right side swipe down you get view like double swipe without mod.

And sorry there was no bug. I thinked wrong. Its to late now for me and i am with my head in holidays. Flying now to Mallorca for party for 4 days.

Sorry guys. No bug in mod. My fail [MENTION=834244]keep[/MENTION]2008
[Galaxy S6 General] kumbangdesa:
Hi. I'm looking guide for enable animation scale 0.5x by default. Can someone help which file should I decompile and make adjustment?. Thanks.

Sent from my lolipop phone
[Galaxy S6 General] nguyentankiet:
It work fine for me

https://youtu.be/LywfMuL6ztM
[Galaxy S6 General] tdunham:
http://xdaforums.com/showthread.php?t=2637024
[Galaxy S6 General] kumbangdesa:
Thanks sir. [emoji2]

Sent from my lolipop phone
[Galaxy S6 General] nguyentankiet:
Can you help me?
[Galaxy S6 General] thereassaad:
Mate in MM 6.0.x we faced this issues on S6 & its caused by kernel so , its kernel issues ,
[Galaxy S6 General] nguyentankiet:
But, mate, in settings -> sound and vibrate, it not avilable
[Galaxy S6 General] thereassaad:
Yes i know once kernel add something related to this sound vibration then its will be shown there ,,
[Galaxy S6 General] Er. Aditya:
hey bro how do i remove knox info from about device ? on 6.0.1
[Galaxy S6 General] thereassaad:
I didn't try to remove it but the custom kernel remove it completely from my end ..
[Galaxy S6 General] nguyentankiet:
try this [Guide How-To] Remove Knox info in About screen

http://xdaforums.com/showthread.php?t=2799050

SecSettings smali edit:

smali\com\android\settings\DeviceInfoSettings.smali

Find and delete the following line:

invoke-direct/range {p0 .. p0}, Lcom/android/settings/DeviceInfoSettings;->showKnoxVersion()V

Credit [MENTION=1042140]tdunham[/MENTION]
[Galaxy S6 General] jojobans:
Hi how i can add Virtual Lock Button

??
[Galaxy S6 General] sanoc69:
Build.prop

search for

ro.config.knox=v30

change to

ro.config.knox=0
[Galaxy S6 General] sarvesh563:
I think samsung fixed/optimized vibrations with kernel upgrade along with april security updates.

Update your system and check.
[Galaxy S6 General] senzatiOn-:
Guys.. any idea how enable Secret Mode on Samsung Internet Browser with costum ROM & Kernel ?

I have update to last version.. and i see on other S7 based ROM have this function enabled...

My phone G925F

Thanks.
[Galaxy S6 General] ikrom:
new guide Colorize StatusBar Expanded Header Clock & Date in real time. Android 6.0.1
[Galaxy S6 General] kin201303:
hi:dear ikrom

my english is bad

can you tell me how to make the killer.MemCleanView not fc

i use your guide

AndroidManifest.xml not signapk miss the status_bar, signapk will FC

thank you
[Galaxy S6 General] sarvesh563:
How to add sfinder buttton in statusbar_expanded_header before setting button like in Good-Lock app?

I tried like this-

1)copied sfinder image in drawable. Recompiled and again decompiled for public id.

2)added following code after setting button in res/layout/status_bar_expanded_header

<com.android.systemui.statusbar.AlphaOptimizedFrameLayout android:id="@id/s_finder_button_container" android:clipChildren="false" android:clipToPadding="false" android:layout_width="48.0dip" android:layout_height="@dimen/status_bar_header_height" android:layout_toStartOf="@id/settings_button_container">
<com.android.systemui.statusbar.phone.SFinderButton android:id="@id/s_finder_button" android:background="@drawable/ripple_drawable" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/sfinder_button_image" android:foregroundGravity="center" android:contentDescription="@string/accessibility_desc_s_finder" style="@android:style/Widget.Material.Button.Borderless" />
</com.android.systemui.statusbar.AlphaOptimizedFrameLayout>

3)copied sfinder smalli from goodlock to system-ui.

4) recompiled.

Result-doesn't work :(

Can anybody point out mistake?
[Galaxy S6 General] AntonioMartosMendez:
Where can I get the smali?:confused::confused:

-com.wubydax.romcontrol.prefs.ColorPickerPreference

For my Rom Control Apk....
[Galaxy S6 General] The Sickness:
Has anyone had any issues trying to implement 3Minit Battery Mod?
[Galaxy S6 General] thereassaad:
U put the xml editing in system_icons.xml
[Galaxy S6 General] The Sickness:
Yes I know.....I've done this mod since the day it was developed.

Issue I'm having is I can flash it and it works. If I cook it in I get the ole black screen....

Triple checked my edits and they are right
[Galaxy S6 General] thereassaad:
No status bar ?

Minit smali

https://mega.nz/#!axYizAwT!KbwwAIkzhNaKo4lHFymk36ONV9gJ_8k5ukOA4VTgK-8

Anyway im not friendly with this mod but ur issues its seemed like parsing errors with full rom try to disable signature verification ,
[Galaxy S6 General] The Sickness:
Thanks bro...I'll let ya know how it goes...

Signature check is already removed

EDIT:

Used the smali you provided. Pushed everything manually and it worked. Cooked into rom and have black screen and no lock screen again.

Redid signature verification , cooking it up now.

EDIT: Didnt work. I'm at a loss as to why it will work flashed via Vrtheme, but NOT on a clean flash of my rom. I have ever

had this much of a problem with this b4. Whats sad is its probably something I'm overlooking.
[Galaxy S6 General] nguyentankiet:
If disabled check signature, then no need sign apk, right?
[Galaxy S6 General] thereassaad:
If u use core-libart.jar yes no need to sign apk , ,
[Galaxy S6 General] kep2008:
Once made mod, take out the changed files (system_icons.xml, classes.dex) and through 7zip copy in the original SystemUI.apk
[Galaxy S6 General] _alex74_:
i have similar issue with SystemUI fixed with right apktool.... which one you use?
[Galaxy S6 General] Er. Aditya:
i once had this issue and found my SystemUI was missing meta-inf folder
[Galaxy S6 General] The Sickness:
I got it. It was a smali issue on my end. Thanks for the responses guys.....
[Galaxy S6 General] TENN3R:
Bulldog made ambient display work in his latest Noble 3.1 zip. It's part of the framework, anyone able to make this available for everyone?
[Galaxy S6 General] Repulsa:
You can make it available for yourself , Check this Thread
[Galaxy S6 General] tdunham:
[Guide] Music/Volume Skip Mod for Android 6.0.x
[Galaxy S6 General] TENN3R:
I'm trying to decompile framework-res.apk but gives me arsc error. Any Ideas?
[Galaxy S6 General] bunnys7679:
Which apktool you use

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] TENN3R:
Using apktool 2.1.0, also tried apkstudio d49d3de and the tool provided in the first page of this thread, same error.
[Galaxy S6 General] bunnys7679:
And which framework will decompil ?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] TENN3R:
Tried with xtrestolite 3.2 framework-res.apk
[Galaxy S6 General] bunnys7679:
Can you send me your framework?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] OMassalia:
Someone do that ?
[Galaxy S6 General] ikrom:
what is the problem?
[Galaxy S6 General] Andycar:
Hi,

I'm using apktool_2.1.0.jar and framework-res.apk, twframework-res.apk from TW 6.0.1

Command

java -jar apktool.jar if -t tw601 twframework-res.apk

Gives output:

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:607)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:589)
at brut.androlib.Androlib.installFramework(Androlib.java:640)
at brut.apktool.Main.cmdInstallFramework(Main.java:239)
at brut.apktool.Main.main(Main.java:87)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:292)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:224)
at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:212)
at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:154)
at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:116)
at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
... 6 more

Is there anything can be done? Thanks!
[Galaxy S6 General] thereassaad:
Use apktool v2.0.0 or v2.0.1 posted somewhere in thread ok ,

OP , added the worked apktool in ur #1 or #2 ok
[Galaxy S6 General] tdunham:
apktool 2.1 does not work with mm frameworks currently.
[Galaxy S6 General] thereassaad:
But if u dec/recompile framework-res.apk then u can install it with apktool v2.1 & v2.1.1 ??? , but not twframework-res.apk ?
[Galaxy S6 General] Andycar:
Oh. I see, thanks.

I'd like to decompile SecSettings.apk from MM. Is there any tool for that?

---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------

Found your answer. Thanks.
[Galaxy S6 General] JonathanRAZ:
[MENTION=4596062]asc1977[/MENTION] Hello guys i am a noob and had some trial and errors and had same results maybe someone can verify what is wrong with my systemui code for potato clock wheres are the errors i keep getting black wallpaper no status bar nothing appears just black i can acces app drawer but thats it here is the apk https://mega.nz/#!bFMVSYLD!MKHQoSwP-FRC3eH2nl9CwyJ6HuiCWvolvLykpT8jAKw
[Galaxy S6 General] asc1977:
Write down your steps what you have done. With only a file i cant do anything
[Galaxy S6 General] JonathanRAZ:
Ok so in the code there is a android gravity Center android gravity Horizontal and android gravity Center Vertical so i put clock center on center gravity and left clock on horizontal and righ on center vertical i have changed to different ways and still same thing maybe the code has too many spaces or maybe is put wrong i cant understand whats wrong....yes i am noo wanting to learn cant post code i am on phone right now
[Galaxy S6 General] OMassalia:
When i modify and replace files, System ui fc
[Galaxy S6 General] asc1977:
same for me. mod not work on MM
[Galaxy S6 General] JonathanRAZ:
I have it working [MENTION=4596062]asc1977[/MENTION] the problem was i did not sign it with the new signature but the right one is not working will keep trying i am motivated now lol

I am having this issue too i will redo it again and retry it
[Galaxy S6 General] sarvesh563:
anybody succeeded in recompiling good-lock ?

if yes, attach apktool used .
[Galaxy S6 General] thereassaad:
Overlapping issues few pages back kep2008 & tdunham share how to fix this issues
[Galaxy S6 General] asc1977:
Look where i put my codes and it will work
[Galaxy S6 General] koko115:
This mod works good, but how delay screen shot from power menu, because for now on screen shot see two screen... screen on screen... How delay screen shot after turn on from power menu ?
[Galaxy S6 General] asc1977:
Same problem for me [MENTION=5096388]sagitt67[/MENTION]
[Galaxy S6 General] tdunham:
I don't remember anyone ever asking for this.

You want to be able to adjust the delay for screenshot you mean?
[Galaxy S6 General] tdunham:
[Guide] How to adjust the Screenshot delay for Extended Power Menu Android 5 & 6

Here ya go guys. :good:

This guide and this edit are if you have already implemented screenshot into your power menu.

You will need to open these links so you can do the dec/hex conversions for smali:

Decimal to Hexadecimal Converter

Hexadecimal to Decimal Converter (optional)

Smali changes:

\smali\com\android\server\policy\GlobalActions$Screenshot$1.smali

RED is original BLUE is new value as set by you.

new-instance v1, Landroid/app/Instrumentation;

invoke-direct {v1}, Landroid/app/Instrumentation;-><init>()V

invoke-virtual {v1, v0}, Landroid/app/Instrumentation;->sendKeySync(Landroid/view/KeyEvent;)V

[COLOR="Red"]# const-wide/16 v3, 0x64 ## < -- this is .1 seconds stock value
[/COLOR] [COLOR="Blue"]const-wide/16 v3, 0xfa0 ## < -- this is 4.0 seconds new value
[/COLOR]
invoke-static {v3, v4}, Ljava/lang/Thread;->sleep(J)V

new-instance v0, Landroid/view/KeyEvent;

I have this set to 4.0 seconds but as you can see in the attached screenshots, you can find the perfect value for yourself.

In the Decimal to Hexadecimal Converter browser, you can input the amount you would like to set your delay for and it will provide the hex equivalent (WITHOUT the leading 0x).

So for 3 seconds, input 3000... for 2.5 seconds, input 2500 and so on.

I provide the reverse Hexadecimal to Decimal Converter just so you see how this is done.

Don't forget to add the leading 0x to the beginning of your custom value.
[Galaxy S6 General] asc1977:
i tried but no smali inside mod which you mentioned. look in guide please
[Galaxy S6 General] nyfl2004:
Has anyone one seen this after recompiling SystemUI. I've installed frameworks, decompiled and recompiled SystemUI with "apktool_2.0.1-2c1226f"
[Galaxy S6 General] asc1977:
Yes there is a solution at begin of thread anywhere. Scroll true pages and look for similar picture. Dont know where but there is
[Galaxy S6 General] nyfl2004:
Thank you, much appreciated!

---------- Post added at 11:01 PM ---------- Previous post was at 10:44 PM ----------

Hi [MENTION=1649452]geiti94[/MENTION]. Can you please share how you were able to add Mobile Hotspot toggle.
[Galaxy S6 General] Er. Aditya:
i was trying statusbar gradient its works fine when tested normally but after a clean flash if i setup lock screen with pin lock or any lock it dsnt lets me unlock the phone and i am stuck right there

any help please
[Galaxy S6 General] ikrom:
this works fine.

https://www.youtube.com/watch?v=9cM6h9xt-GM
[Galaxy S6 General] and2:
I get "Video is privat"
[Galaxy S6 General] thereassaad:
Because apktool , because when u edited androidmanifest then recompiling with apktool with any version then its recompiled success but without edited androidmanifest its recompiled with original androidmanifest untouched that's why u can't get it worked , it's happened to me too but now fixed ,,
[Galaxy S6 General] ikrom:
fixed
[Galaxy S6 General] tdunham:
Try this and let me know if it works for you.

SystemUI\smali\com\android\systemui\qs\QSDatabaseUtils.smali

const-string v14, "CscFeature_Common_UseChameleon"

invoke-virtual {v13, v14}, Lcom/sec/android/app/CscFeature;->getEnableStatus(Ljava/lang/String;)Z

move-result v13

if-[COLOR="Blue"]eqz[/COLOR] v13, :cond_3
[COLOR="Blue"]## change this to eqz to enable hotspot toggle[/COLOR]

invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

move-result v13

if-nez v13, :cond_15

Edit:

And before anyone tries to edit the CSC for Chameleon, I tried that and it didn't turn out too well/broke something else I cant recall but just wanted to add the FYI. ;)
[Galaxy S6 General] nyfl2004:
Thanks Troy. I'll let you know how I make out.