[Galaxy S6 General] josephpatrick:
i was able to remove "user manual" from settings by removing the following line as suggested by [MENTION=6377149]yash92duster[/MENTION] from "dashboard_categories_note_6.xml" under res\xml

<dashboard-tile android:icon="@drawable/st_ic_user_manual" android:id="@id/online_help" android:title="@string/help_title" android:summary="@string/user_manual_mos" settings:removetileapps="KIOSKCONTAINER">

<intent android:action="android.intent.action.VIEW" android:data="http://www.samsung.com/m-manual/common" />

</dashboard-tile>

the xml file may vary from phone to phone and ROM to ROM and in some cases the method too

---------- Post added at 01:00 AM ---------- Previous post was at 12:27 AM ----------

[GUIDE| How to get brightness slider in first swipe and also retain it when notification panel is expanded

1st version:

Please note this may work only on note 7 ported Roms. Please also note that i have only tested on a5 2015 which is running a ported n7 Rom.

You may also need to disable signature verification check by following this guide

https://xdaforums.com/showthread.php?t=2725233

Step 1:

decompile systemui.apk file and look for feature.smali file

1) Decompile systemui.apk, then go to \smali\com\android\systemui\statusbar\Feature.smal i and open as text.

Find these lines. You can search for "mbrightnessconceptv2" to find the line that is needed to change. For brightness bar not available on first swipe, you need this configuration. You basically need to add the const line and then move the brightnessconceptv2 line below it. In some cases you may need to move sfinder line also below the const line as per post

https://xdaforums.com/showpost.php?p=72039861&postcount=7971

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mSwitchBlockNotification:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mSwitchBlockNotification:Z

sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mBlockAndClearButtonForGrace:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mIsGrace:Z

sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mBrightnessConceptV2:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mIsGrace:Z

return-void

:cond_35
move v0, v2

Change this to

invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mSwitchBlockNotification:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mSwitchBlockNotification:Z

sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mBlockAndClearButtonForGrace:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mIsGrace:Z

sget-boolean v0, Lcom/android/systemui/statusbar/Feature;->mIsGrace:Z

[B]sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mSupportSFinderBarStyle:Z[/B]

[B]const/4 v0, 0x0[/B]

[B] sput-boolean v0, Lcom/android/systemui/statusbar/Feature;->mBrightnessConceptV2:Z[/B]

[B]return-void[/B]

:cond_35
move v0, v2

in my A5 phone, it was seen that this step was not sufficient to get this working completely since the brightness bar used to vanish when the notification panel was fully expanded. So, for those who notice this behavior, you need step 2 as well.

Anyways, it is better to recompile the file and test it out.

With this step 1 modification, you should be able to get the brightness slider on the first swipe.

If it works and if the brightness slider vanishes when the notification panel is expanded, then only step 2 is required.

Please also note that you may see a sfinder icon to the left of the settings button on the notification header, will give a separate guide on how to remove that too.

Please also note that there may be a small bug if data usage is enabled. For my ROM, the data usage line seems to become transparent when the panel is expanded or collapsed and you can sort of see through the panel.

Step 2:

under \smali\com\android\systemui\statusbar\phone\NotificationPanelView.smal i

look for method ".method private updateQCBottomArea(FZI)V"

If you do not find this method, then this procedure is not meant for you (your ROM).

search for the following line:

iget-object v0, v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBrightnessControllerView:Landroid/view/ViewGroup;

This line will be immediately followed by these lines

const/high16 vxx [xx could be any variable which may vary in your case]

and

sub-float vxx

iget-object v0, v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBrightnessControllerView:Landroid/view/ViewGroup;

move-object/from16 v23, v0

const/high16 v24, 0x3f800000 # 1.0f

[COLOR="Red"]sub-float v24, v24, v4[/COLOR]==>replace this with below line, the variable has to be same as below line, 1st variable, in my case v23

[B][COLOR="RoyalBlue"]invoke-virtual/range {[B][COLOR="blue"]v23 .. v23[/COLOR][/B]}, Landroid/view/ViewGroup;->bringToFront()V[/COLOR][/B]

invoke-virtual/range {[B][COLOR="Blue"]v23[/COLOR][/B] .. [COLOR="green"][COLOR="Plum"]v24[/COLOR][/COLOR]}, Landroid/view/ViewGroup;->setAlpha(F)V

const/high16 v23, 0x3f800000 # 1.0f

Few lines below, around 6-8 lines below you need to replace 0x8 with 0x0. Plum color highlighted variable, in my case it is v24.

const/16 v24, 0x8==>replace with const/16 v24, 0x0 [variable maybe 23 or 24 or something around this range, you only need to change 0x8 to 0x0

There is one more instance for similar code

iget-object v0, v0, Lcom/android/systemui/statusbar/phone/NotificationPanelView;->mBrightnessControllerView:Landroid/view/ViewGroup;

move-object/from16 v23, v0

const/high16 v24, 0x3f800000 # 1.0f

[COLOR="Red"]sub-float v24, v24, v4[/COLOR]==>replace this with below line

[B][COLOR="RoyalBlue"]invoke-virtual/range {[B][COLOR="blue"]v23 .. v23[/COLOR][/B]}, Landroid/view/ViewGroup;->bringToFront()V[/COLOR][/B]

invoke-virtual/range {v23 .. v24}, Landroid/view/ViewGroup;->setAlpha(F)V

const/high16 v23, 0x3f800000 # 1.0f

Few lines below, around 6-8 lines below you need to replace 0x8 with 0x0, the variable matches on the line above.

const/16 v24, 0x8==>replace with const/16 v24, 0x0

That is it.....recompile and try replacing the file but to be on the safer side, try deleting "runtime-permissions.xml" file from \data\system\users\0" before rebooting

credits to [MENTION=4598795]Eleo[/MENTION] and also the Note3 Magma ROM which had this (credits to [MENTION=6781297]oidy[/MENTION] and [MENTION=5150446]karkasss[/MENTION] as well)