yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] kep2008:
With this apktool you can simply install frameworks, decompile and decompile SystemUI.apk.

For fixing Notification Panel, find in SystemUI\res\layout\tw_status_bar_expanded_header.xml

<com.android.systemui.statusbar.phone.TWStatusBarHeaderView android:layout_gravity=[COLOR="Red"]"fill_horizontal|bottom|center"[/COLOR] android:id="@id/header" android:background="@color/system_secondary_color" android:clickable="false" android:layout_width="@dimen/notification_panel_width" android:layout_height="@dimen/status_bar_header_height" android:baselineAligned="false" android:layout_marginStart="@dimen/qs_panel_side_padding" android:layout_marginEnd="@dimen/qs_panel_side_padding"

and replace the highlighted in red on the highlighted blue

<com.android.systemui.statusbar.phone.TWStatusBarHeaderView android:layout_gravity=[COLOR="Blue"]"center_horizontal"[/COLOR] android:id="@id/header" android:background="@color/system_secondary_color" android:clickable="false" android:layout_width="@dimen/notification_panel_width" android:layout_height="@dimen/status_bar_header_height" android:baselineAligned="false" android:layout_marginStart="@dimen/qs_panel_side_padding" android:layout_marginEnd="@dimen/qs_panel_side_padding"

7zip not needed.

Thank sagitt67 and zmeeed1.
[Galaxy S6 General] thereassaad:
Yes bro its fine , as i did it here simply ,
[Galaxy S6 General] asc1977:
This working fully with decompile and recompile 6.0.1 systemui.apk
[Galaxy S6 General] thereassaad:
Fixing overlapping issues its here by kep2008

http://xdaforums.com/showthread.php?p=66155552
[Galaxy S6 General] asc1977:
Which overlapping issue? I tried to understand but no idea whats that means
[Galaxy S6 General] asc1977:
Did you mean this. Its happend after recompile
[Galaxy S6 General] thereassaad:
This
[Galaxy S6 General] asc1977:
i have a important question for me:

1. Working phone

2. Flash a systemui.apk

3. Reboot and systemui.apk forceclose

4. flash back on right way the old systemui.apk which work 100%

5 Restart but systemui.apk forceclose

wipe dalvik and cache didnt work

what can i do? if i reflash backup all work. its something in data patition which wont let my working systemui.apk work. i think i must reset something but what???
[Galaxy S6 General] Manh_IT:
SecMms_Epic_Common TouchWiz MM Mods - Unlimit SMS

http://xdaforums.com/galaxy-s6/themes-apps/mod-secmmsepiccommon-touchwiz-mods-t3350454
[Galaxy S6 General] thereassaad:
U updated ur guide mate ?

Edit :: i thought it was old guide good dood awesome brother , thanks
[Galaxy S6 General] edzamber:
Confirmed working here !!!

Great :)

So 2 Mods here :

Disable Lockscreen Help Text

Decompil SystemUI and go into res/value/strings.xml

Change :

<string name="keyguard_unlock">Swipe screen to unlock</string>

Into :

<string name="keyguard_unlock"></string>

and change

<string name="lockscreen_unlock_guide_text">Swipe screen to unlock</string>

into

<string name="lockscreen_unlock_guide_text"></string>

Do the same in any res/values for your selected language

For exemple in res/values-fr/strings.xml

Change :

<string name="keyguard_unlock">"Glissez pour dévérouiller"</string>

Into :

<string name="keyguard_unlock"></string>

and change

<string name="lockscreen_unlock_guide_text">"Glissez votre doigt sur l'écran pour dévérouiller"</string>

into

<string name="lockscreen_unlock_guide_text"></string>

Recompil SystemUI

Done

Rounded Notifications

Decompile SystemUI and go into res/values/dimens.xml

Change

<dimen name="notification_material_rounded_rect_radius">2 .0dip</dimen>

Into

<dimen name="notification_material_rounded_rect_radius">9 .0dip</dimen>

Recompil SystemUI

Done

Before

After
[Galaxy S6 General] Manh_IT:
Update mods for S6, S6e, S6e+, Note 5, S7, S7e Androud 6.0.1

---------- Post added at 00:16 ---------- Previous post was at 00:06 ----------

Can fix decompile and recompile android m apk ?, Please tell me !

Thanks.
[Galaxy S6 General] grzegorz354:
Mod S6 not working
[Galaxy S6 General] Manh_IT:
.line 2369
const-string/jumbo v1, "pref_key_threshold"

const/4 v2, 0x4

invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

move-result v1

const/16 v1, 0x3e8

sput [COLOR="Red"]v1[/COLOR], Lcom/android/mms/p;->I:I
[Galaxy S6 General] intxeon:
Same issue on my side.

Logcat report this error:

E AndroidRuntime: Caused by: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{323ad96 31412:com.android.systemui/u0a191} (pid=31412, uid=10191) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS

I solved with deep reset
[Galaxy S6 General] grzegorz354:
I Changed and entry others.xml too not working
[Galaxy S6 General] Manh_IT:
Attach origin p.smali
[Galaxy S6 General] asc1977:
deep reset?

you mean wipe data?
[Galaxy S6 General] grzegorz354:
origin p.smali
[Galaxy S6 General] thereassaad:
Anyway i use baksmali manager for this but definitely its not working for me as its fc , will figure out why it's fc thank's , i can only dec/rec some apks but not setting & mms ok check few post back my friend
[Galaxy S6 General] intxeon:
yes
[Galaxy S6 General] grzegorz354:
Next alarm on the lock screen

thx [MENTION=5198767]ikrom[/MENTION]

Decompile SystemUI.apk

Download the attached file SystemUI.zip and copy the enclosed folders.

SystemUI/res/layout/sec_keyguard_clock_view.xml

add string in BLUE

add at end of file SystemUI/ses/values/ids.xml

recompile and decompile systemui.apk

The file SystemUI/smali/com/android/keyguard/next_alarm/GetNextAlarmTimeText.smali replaced with their values/public

recompile SystemUI.apk

Then drag all the files (sec_keyguard_clock_view.xml,classes.dex and resources.arsc) with 7zip in original SystemUI.apk.
[Galaxy S6 General] grzegorz354:
[MENTION=4507636]edzamber[/MENTION]

Thx for the mistake too little pointed, corrected post, see again, apktool 2.0.1 ther.jar not working, You have to use apktool_2.0.1-2c1226f.jar
[Galaxy S6 General] edzamber:
Great !

Working but not centered...

Edit : Ok find why [emoji2]

Here new code : add blue code...

<LinearLayout android:gravity="bottom" android:layout_gravity="center" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">

<com.android.keyguard.nextalarm.GetNextAlarmTimeText android:id="@id/next_alarm_txt" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sec-roboto-light" style="@style/keyguard_text_shadow" />

</LinearLayout>

[emoji6]
[Galaxy S6 General] bunnys7679:
Hi guys

I need your help once.

Can anyone tell me how I can move the text Vodafone.de up or completely remove me?

View attachment 3705983

Furthermore, I would like to change the color of the numbers, letters, emergency and the Sim card. On Android 5.1.1 issue in SystemUI-values-color.xml.

Under 6.0.1 not

Thank you in advance

View attachment 3705982
[Galaxy S6 General] intxeon:
If I drag resources.arsc with 7zip systemui.apk get corrupted
[Galaxy S6 General] starbucks2010:
Have you checked the compression type? I think it should be just store. Not sure though.
[Galaxy S6 General] intxeon:
I cannot set any compression when I drag files with 7zip
[Galaxy S6 General] violin.siva:
Thanks Master carotix for the wonderful new mode. Question:What mode is 6th gear touchwiz swipe? in what means i can use it. Help:Reboot mode sometimes works and sometimes be invisible what will be the solution.
[Galaxy S6 General] grzegorz354:
Do you use apktool whose place in the post
[Galaxy S6 General] asc1977:
How did you manage that you can show device information. Tried two guides without luck. Please post a guide here
[Galaxy S6 General] thereassaad:
Same guide by and2 on tdunham thread
[Galaxy S6 General] bunnys7679:
Have you inserted it in res-layout?

That does not work.

Add the line in res-layout-v21, and then it goes
[Galaxy S6 General] intxeon:
Yes but the problem is when I drag modded files inside original apk with 7zip.

Usually resources.arsc it's not compressed but 7zip compress it and the new apk doesn't work.
[Galaxy S6 General] kep2008:
With apktool 2c1226f 7zip not need. Try simply decompile and recompile SystemUI as before. Only the more applied the fixes.

http://xdaforums.com/showpost.php?p=66155552&postcount=479
[Galaxy S6 General] asc1977:
Why layout v21??

Systemui.apk use the v21 files and if not there the normal files in layout or what is the reason for v21 files?? Can anyone explain me
[Galaxy S6 General] asc1977:
If i do in layout_v21 folder i get it also on lockscreen. I didnt want. I only want it in dropdown. Anyone a idea
[Galaxy S6 General] thereassaad:
Its on both dropdown & lockscreen mate ,
[Galaxy S6 General] fotis12:
@ asc1977, I have read that you manually changed the animation speed in developer settings to 0,25 . Is there any way you can guide me to do it my self (I am using xtrestolite) or it needs to be from the developer himself....
[Galaxy S6 General] asc1977:
look in s5 thread. there is a thread like that with a guide. only problem is you must also mod on secsettings.apk.

so i changed smalis but not the option to choose that. you need knowledge in decompile and recompile and read that guide there
[Galaxy S6 General] asc1977:
How to integrate potato clock

Original guide for KitKat here

Go to this thread an klick thanks for developer and not for me

Changed smalis i took from a posted statusbar from anywhere i didnt know and also dont know who changed for working on MM

So........

do the mod like guided in original thread but take files from attachment of this thread to work on MM

and additionel you must do followed:

Go to res/layout/statusbar.xml and find and set blue values to 0.0dip

Important !!!

Install Potato Clock App.apk as a normal userapk. DONT PUSH TO SYSTEM

Thanks [MENTION=4715592]mariozawa[/MENTION] for mod for kitkat

Thanks [MENTION=260923]ANyOne[/MENTION] to change smalis to work on L and MM

Thanks [MENTION=4596062]asc1977[/MENTION] to make guide and bring here :)
[Galaxy S6 General] asc1977:
How to all apps multiwindow

Decompile framework.jar

Open /smali_classes2/com/samsung/android/multiwindow/multiwindowapplicationinfos.smali with Notepad++

Find .method public isSupportApp(Ljava/lang/String;)Z

Find at bottom of method:

recompile and finish

Thanks [MENTION=3136944]Repulsa[/MENTION]
[Galaxy S6 General] asc1977:
Remove high volume warning for headphones

Decompile services.jar

Find and open with Notepad++

smali/com/android/server/policy/GlobalActions.smali

or if not found in

smali\com\android\server\audio\AudioS ervice.smali

Goto this method and add blue text:
[Galaxy S6 General] asc1977:
PrivateMode fix

If you want to fix private mode go to this great thread from Wuby986

here
[Galaxy S6 General] asc1977:
Enable Display Scaling in Settings

Decompile SecSettings2.apk

goto Secsettings2 >Smali> Com>android>settings>Displaysettings.smali

remove in red

move-result v25

if-eqz v25, :cond_35

.line 635
const-string v25, "display_scaling"

[COLOR="Red"]	move-object/from16 v0, p0

move-object/from16 v1, v25

invoke-virtual {v0, v1}, Lcom/android/settings/DisplaySettings;->removePreference(Ljava/lang/String;)V[/COLOR]

.line 641
:cond_2b

Thx [MENTION=3136944]Repulsa[/MENTION]
[Galaxy S6 General] asc1977:
Enable TouchKey light duration in settings

Decompile SecSettings2.apk

goto Secsettings2 >Smali> Com>android>settings>Displaysettings.smali

find and remove red

Thx [MENTION=3136944]Repulsa[/MENTION] [MENTION=7308585]kep2008[/MENTION]
[Galaxy S6 General] asc1977:
So Guys

i am sorry for all that double posts here but i have reorganized my thread.

all guides i have i only liked to thread from first post to the post where is written. that i have done that edzamber can help me with thread. because i can only give him permissions to edit first post and not the other

i hope you understand and again sorry for double posts
[Galaxy S6 General] asc1977:
Now first post look like that

Hope you like
[Galaxy S6 General] asc1977:
Anybody have or can write a guide how to build a switch for rom control to switch between left or right wifi and data symbols? [MENTION=6681786]sheard[/MENTION] [MENTION=5405448]thereassaad[/MENTION] [MENTION=4714483]daxgirl[/MENTION]

I read how to build a switch in rom control thread but i havent enough knowledge to write a new guide
[Galaxy S6 General] asc1977:
Next alarm on the lock screen

Original guide you find here

Thanks the developer there and follow his guide but do followed changes:

Take my attachment and not his because i add also pngs which match in size our phone

Dont add his blue text in SystemUI/res/layout/sec_keyguard_clock_view.xml

add this

<LinearLayout android:gravity="bottom" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.keyguard.nextalarm.GetNextAlarmTimeText android:id="@id/next_alarm_txt" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sec-roboto-light" style="@style/keyguard_text_shadow" />
</LinearLayout>

To colorise, juste change hex color value of const-string v6 in smali/com/android/keyguard/nextalarm/GetNextAlarmTimeText

const-string v6, "[COLOR="Blue"]#ff000000[/COLOR]"

And you can change color of Icon or icon. Look for "ic_qs_alarm_on" (in res/drawable-xxhdpi-v4)

All credits to [MENTION=4680052]finist1[/MENTION] for smali and [MENTION=5096388]sagitt67[/MENTION] for guides

[MENTION=5738041]grzegorz354[/MENTION] to bring it here

[MENTION=4596062]asc1977[/MENTION] for editing icons

[MENTION=5198767]ikrom[/MENTION] for writing guide
[Galaxy S6 General] Carotix:
guys, i tried to implement the systemui modded with apktool 2.0.1 dirty in the rom but it gives a lot of problems .... no statusbar , black wallpaper background .....

anyone can confirm?
[Galaxy S6 General] asc1977:
Use apktool from this post. Works well

http://xdaforums.com/showthread.php?p=66170039
[Galaxy S6 General] Carotix:
i used that posted by [MENTION=5405448]thereassaad[/MENTION]

http://xdaforums.com/showpost.php?p=66159982&postcount=4045

is it different your?
[Galaxy S6 General] asc1977:
Keep2008 say yes to edzamber in this time he made the mod next alarm on lockscreen
[Galaxy S6 General] ikrom:
Cleaning memory in the notification panel Android 6.0.1

No nowhere original instructions !!!

Credits to [MENTION=458056]pekaka[/MENTION] for smali here

with toggle and choice of colors

short click in icon - cleaning memory

Screenshots

SystemUI.apk

Decompile SystemUI.apk and copy the files from the downloaded archive

SystemUI\res\values\ids.xml

add at end of file

<item type="id" name="killer_mem_info">false</item>
<item type="id" name="killer_clean_button">false</item>

SystemUI\res\values\dimens.xml

add at end of file

<dimen name="killer_meminfo_txt_size">16.0sp</dimen>

SystemUI\res\values\colors.xml

add at end of file

<color name="killer_meminfo_background">#ff373737</color>
<color name="killer_meminfo_front">#ff25e100</color>
<color name="killer_meminfo_full_front">#ffff5400</color>
<color name="killer_meminfo_txt">#ffffffff</color>

in AndroidManifest.xml

add string

<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>

Recompile SystemUI.apk

P/S. Then drag all the files (killer_layout.xml,quick_settings_brightness_dialog.xml,sec_quick_settings_brightness_dialog.xml, classes.dex and resources.arsc) with 7zip in original SystemUI.apk.

ROMControl.apk

Decompile ROMControl.apk

ROMControl/res/xml/notification_panel_prefs.xml

add anywhere

<SwitchPreference android:title="Show memCleanView" android:key="pekaka_memCleanView" android:summaryOn="Enabled" android:summaryOff="Disabled" />
<com.wubydax.romcontrol.prefs.ColorPickerPreference android:title="Memkiller color" android:key="db_inkeffect_pekaka_memkiller_picker" android:defaultValue="\#ff2aff00" alphaSlider="true" hexValue="true" />

Recompile ROMControl.apk
[Galaxy S6 General] thereassaad:
[MENTION=5198767]ikrom[/MENTION] look mate if i touch clean memory icon then simply ui fc
[Galaxy S6 General] ikrom:
Try adding this string in AndroidManifest.xml

<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
[Galaxy S6 General] thereassaad:
Still no luck & see log
[Galaxy S6 General] Goldie:
Lol....maybe pekaka can help who ikrom took this from and again didnt add credits to his post. Still yet to see anything original from him. Always other peoples mods
[Galaxy S6 General] edzamber:
I use Apktool 2.0.1_there for Next alarm but not use recompiled SystemUI. I drag and drop ressources.arsc, classes.dex, layout file and png directly with 7zip from recompiled one to original one and working fine.

With vrtheme template working too...

Exemple with Ronded Notifications and no help text to unlock (vrtheme with SystemUI ressources.arsc : dimens.xml and values/strings.xml modifications)

http://www.mediafire.com/?dgtnzsgcs3hzdhd
[Galaxy S6 General] asc1977:
Enable OutdoorMode

decompile SecSettings2.apk

open smali/com/android/settings/DisplaySettings.smali

find

change to

you find in Settings-Display-OutdoorMode the option

Thx [MENTION=5405448]thereassaad[/MENTION]

Thx [MENTION=4596062]asc1977[/MENTION] to change guide that it match S6
[Galaxy S6 General] kep2008:
Remove gray status bar when activated PowerSaveMode.

In SystemUI-mod\res\values\colors.xml

<color name="battery_saver_mode_color">#[COLOR="Red"]ff777777[/COLOR]</color>

and replace

<color name="battery_saver_mode_color">#[COLOR="Blue"]00000000[/COLOR]</color>

View attachment 3707688 View attachment 3707689
[Galaxy S6 General] SilverMist1:
Does anyone know how can i change the lockscreen clock text color or add clock to statusbar on lockscreen?
[Galaxy S6 General] bunnys7679:
Lockscreen Date

Find in SystemUI - res- values - color.xml - theme_clock_date_color

Lockscreen Clock

Find in SystemUI - res- values - color.xml - theme_textclock_color
[Galaxy S6 General] asc1977:
Remove gray status bar when activated PowerSaveMode

decompile SystemUI.apk

open SystemUI\res\values\colors.xml

find

replace with

Thx [MENTION=7308585]kep2008[/MENTION]
[Galaxy S6 General] asc1977:
on post2 i added useful tools. if someone want to share tools with other which are not public here anywhere please write me and i share also
[Galaxy S6 General] asc1977:
Someone interested in that statusbar. This are the first try's
[Galaxy S6 General] OMassalia:
it seems good but the line isn't nice
[Galaxy S6 General] asc1977:
What isnt nice? The line itself or the color or what you mean?
[Galaxy S6 General] asc1977:
Small update
[Galaxy S6 General] edzamber:
Remove Unlock Help Text in Locskcreen

Decompil SystemUI and go into res/value/strings.xml

Change :

<string name="keyguard_unlock">Swipe screen to unlock</string>

Into :

<string name="keyguard_unlock"></string>

and change

<string name="lockscreen_unlock_guide_text">Swipe screen to unlock</string>

into

<string name="lockscreen_unlock_guide_text"></string>

Do the same in any res/values for your selected language

For exemple in res/values-fr/strings.xml

Change :

<string name="keyguard_unlock">"Glissez pour dévérouiller"</string>

Into :

<string name="keyguard_unlock"></string>

and change

<string name="lockscreen_unlock_guide_text">"Glissez votre doigt sur l'écran pour dévérouiller"</string>

into

<string name="lockscreen_unlock_guide_text"></string>

Recompil SystemUI

Done
[Galaxy S6 General] OMassalia:
The line itself
[Galaxy S6 General] edzamber:
Rounded Notifications

Decompile SystemUI and go into res/values/dimens.xml

Change

<dimen name="notification_material_rounded_rect_radius">2 .0dip</dimen>

Into

<dimen name="notification_material_rounded_rect_radius">9 .0dip</dimen>

Recompil SystemUI

Done

Before

After

http://xdaforums.com/showthread.php?t=1698352
[Galaxy S6 General] OMassalia:
hello, i have xplore app and this app can open apk like a zip. i can see all folders (res, xml...)

If i change value in xml and i replace systemui without decompile, do you think it will work ?
[Galaxy S6 General] tdunham:
This is a resource edit, not an separate xml edit. It will not work without decompile and edit of strings.xml resource which is only visible if you decompile the apk
[Galaxy S6 General] daxgirl:
1. It would he useful if you just gave a link to my thread.

2. There is a better app for new Samsung devices for controlling toolbox.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] OMassalia:
Thks for your reply

---------- Post added at 06:54 PM ---------- Previous post was at 06:51 PM ----------

Someone have an idea to have full screen caller id ?
[Galaxy S6 General] thereassaad:
I totally agreed with u Anna about linked to ur thread , & about ToolboxController by u , can u add to ur app that we can enable toolbox once we open ur app , as urs its really awesome & i still use it , we just toolbox app by xperiacle just to got toggling it as mm no way to to toggle toolbox as old method instead of sysui toggle , thanks Anna ,
[Galaxy S6 General] edzamber:
Its very difficult, many changes in smali and xml.

[MENTION=4751298]Carotix[/MENTION] know how to but its a very long and hard work to explain and do a guide...
[Galaxy S6 General] daxgirl:
Dear [MENTION=225651]op[/MENTION] kindly change the link on the op for 12 apps toolbox to link to my thread.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] edzamber:
Hi [MENTION=4714483]daxgirl[/MENTION],

You're right, link to your thread added :good:

For new app, can you link me i will add it ;)
[Galaxy S6 General] daxgirl:
Thank you. The idea is though to link just to my thread and remove the guide. Please.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] thereassaad:
Here it is mate,

http://xdaforums.com/showthread.php?t=3177546
[Galaxy S6 General] edzamber:
Done.

Sorry for that...

The idea of this thread is to adapt guides for S6. Smali is in a different location of Framework.jar and code is a little bit different so i have adapt it.

But i understand your point of view then i link to your guide in OP then remove mine.

Cheers,

Ed.
[Galaxy S6 General] daxgirl:
If people have some problems with guide you publish on op, or or needs adaptation, you make comments near the guide link. About possible api related changes. But the idea is to link to original guides. Because believe me, people are ***. And if you write the guides here, no one will ever look at the original guide. That goes for all of your guides. If you are not the ones who wrote the guide, link to guide op and add remarks if necessary. But never rewrite the guide and add thanks to original op. It's nice, but it's really not.

Sent from my ACTUAL SM-N920C using transporter...
[Galaxy S6 General] sarvesh563:
Where is lock icon located for removing it?

And after recompile status bar has overlay issues mentioned on page 49~50.

sorry for posting in here
[Galaxy S6 General] edzamber:
Hi,

There is no Icon, it Remove Unlock Swipe text you can read on lockscreen between Phone and Camera shortcuts as "Swipe to Unlock".

No overlay issue for me.
[Galaxy S6 General] SidRobo:
hi asc1977. how should i recompile SystemUI? i have no problem moding services.jar or secsetting2 but i dont know how should i recompile systemui when i edit res/values :(:confused:
[Galaxy S6 General] sarvesh563:
Icon is there and overlay issue :(
[Galaxy S6 General] bunnys7679:
Use this fix for the Overlapping

http://xdaforums.com/galaxy-s6/sams...pingd-devs-t3321679/post66155552#post66155552
[Galaxy S6 General] SidRobo:
how could you fix app lock i do the same thing but still fc

there is no feature.xml in csc for me just other.xml

my rom is crisscross 4.1
[Galaxy S6 General] ambasadii:
AppLock works with this apk from attach.

Put this apk to system/priv-app

Now active extra smart manager features in others.xml or feature.xml like this:

<CscFeature_SmartManager_ConfigDashboard>dual_dashboard</CscFeature_SmartManager_ConfigDashboard>
<CscFeature_SmartManager_ConfigSubFeatures>roguepopup|autoclean|autorestart|applock|applicationpermission|</CscFeature_SmartManager_ConfigSubFeatures>