yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] a.raul:
I think you want to work on SmartManager_v4?

Decompile the application

You'll AndroidManifest.xml

Add what is in blue

<activity android:launchMode="singleTask" android:name="com.samsung.android.sm.ui.scoreboard.ScoreBoardActivity" android:screenOrientation="portrait">
<intent-filter>
<action android:name="com.samsung.android.sm.ACTION_DASHBOARD"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
[COLOR="Blue"] <activity-alias android:label="Smart Manager" android:name="com.samsung.android.sm.ui.scoreboard.ScoreBoardActivity" android:targetActivity="com.samsung.android.sm.ui.scoreboard.ScoreBoardActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity-alias>[/COLOR]
<activity android:exported="false" android:label="@string/notification_settings" android:name="com.samsung.android.sm.ui.notification.SmNotificationSettingsActivity" android:screenOrientation="portrait">
<intent-filter>
<action android:name="com.samsung.android.sm.ACTION_SM_NOTIFICATION_SETTING"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>

Compiles in apktool with:

apktool b SmartManager_v4

The apk is still not signed the new AndroidManifest.xml

You have to sign it with:

java -jar SignApk.jar testkey.x509.pem testkey.pk8 SmartManager_v4.apk SmartManager_v4_sig.apk

Sorry for the English :D

Greetings and luck
[Galaxy S6 General] Umair Ahmad:
Mate do you have any idea how to remove that lock icon ??? i think it's in drawable folder but i don't remember the exact name and can't find it by pic because it's png now...
[Galaxy S6 General] bunnys7679:
In drawable-xxhdpi-v4 . The name is lock_ic_secure.pio

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] josephpatrick:
will a script like this (in a flashable zip) work in deleting this specific file work? Are the commands right?

run_program("/sbin/busybox", "mount", "/system");

run_program("/sbin/busybox", "mount", "/data");

delete("/data/system/users/0/runtime-permissions.xml");

unmount("/system");

unmount("/data");
[Galaxy S6 General] asc1977:
yes that work
[Galaxy S6 General] thermax04:
Not working on 6.0.1 UX , Note5 with Note7 port rom.

Any advice?

Note 5 with Note 7 Rom
[Galaxy S6 General] Frozen27:
After applying Rom control I have this problem any help please

Note7 (graceUX) port for Note4 N910c
[Galaxy S6 General] JavixKGD:
Deleted
[Galaxy S6 General] yash92duster:
Guide For Native Blur on TouchWiz Roms

Only For TouchWiz Ported S7 Edge, Note 5, Note 7 & UX Based Roms

I Have Tested on the following Devices:

*Samsung Galaxy S5 G900H,

*Samsung Galaxy S5 G900F,

*Samsung Galaxy A5 2015 and

*Samsung Galaxy J5 2015

I have attached the " System/Libs " For Both Exynos & SnapDragon Variant Devices

Download And Flash the zip via TWRP Recovery

Download Here:

*Samsung Galaxy S5 G900H Exynos Variant

- View attachment 4077826

*Samsung Galaxy S5 G900F Snapdragon Variant

- View attachment 4077825

*Samsung Galaxy A5 2015 & Samsung Galaxy J5 2015 Snapdragon Variant

- View attachment 4077824

View attachment 4077821View attachment 4077822View attachment 4077823

By [MENTION=4710752]amtra[/MENTION] [MENTION=6377149]yash92duster[/MENTION] :good:

Thanks To [MENTION=2739548]tamirda[/MENTION] & [MENTION=7620420]By Zonik[/MENTION] - For Guides & Help :good::D​
[Galaxy S6 General] tamirda:
Well [MENTION=4450273]Amta[/MENTION]ra i told you it is possible with a little search ;)

Sent from my SM-G900F boosted by PhoeniX ROM
[Galaxy S6 General] amtra:
Yes mate, i searched TW unified and forget this thread at all. thanks for ur help.. :highfive::highfive:
[Galaxy S6 General] LuanTeles:
how did you add FloatingMessages, WifiCalling and ColorInversion? mine doesnt show, when tried to enable system ui fcs

---------- Post added at 05:13 AM ---------- Previous post was at 05:05 AM ----------

how did you enabled smartstay icon?
[Galaxy S6 General] Ufo71:
Meanwhile, good Sunday to all. Who is kind enough to provide the guidance for the "Reboot Options". Thank you.
[Galaxy S6 General] stangdriver44:
FloatingMessage some smali and res files are needed with some edits to existing files as well.

WifiCalling should work fine, but can vary based on the FW your rom is based off, mine is showing the WifiCalling icon for US based rom.

ColorInversion toggle should be fine as I did nothing to add that except the edit to the xml file just as shown.

Of course a clean install is needed for normal users to have these and a database editor would be needed for yourself to test.

If you're getting SystemUI fc, try it without the FloatingMessage edit, again that one requires additional files and editing to get, and of course the AirMessages files as well...

Lol, looks like the mod is working great fine?

If you're just looking to change some strings, maybe talk to the original dev who made the edits to the file you want or follow the original guide to show you where the edits are for the changes you want to make?

Again, the mod looks fine, so not sure what you're wanting?

I know there have been some updates to the original for adding items with rom control. If not this thread, check tdunham's guide thread, everything is there.

Good luck bro!

Good to see you back, I thought I saw your acct was disabled or closed, something like that?

Either way, good to have you back...
[Galaxy S6 General] thereassaad:
I post on tdunham thread how to add FloatingMessage with smali too ..
[Galaxy S6 General] Ufo71:
Great [MENTION=364033]stangdriver44[/MENTION] Since I have to do the mods in new firmware, I do not remember anything (I was also in the hospital). And thanks for the welcome back. Then my dear friend who also put us 46 years begin to weigh ???
[Galaxy S6 General] LuanTeles:
can you add it here, because tdunhan thread is messy, too many posts and most of the links on the OP is old, and new ones are not add
[Galaxy S6 General] ROBERT CM:
deleted

solved! :D
[Galaxy S6 General] ryan42680:
deleted sorry
[Galaxy S6 General] asc1977:
How to add AOD brightness slider to RomControl

First of all i must say that is never needed to download my rom and kang the mod. i will release it now here for open source for everyone.

BIG THANKS TO [MENTION=3026895]DaOldMan[/MENTION] also because we work hard on weekend for this mod

REMEMBER TO GIVE US THE FULL CREDITS

SO THIS GUIDE SHOULD WORK FULLY ON ANY PORT THAT HAVE AOD LIKE S7 & N7

decompile framework-res.apk

open res/values/integers

search for integer of doze (its the integer where you can set a value for aod)

now open res/values/public.xml

search the integer in public.xml to get id

now go to services.jar

decompile

open com/android/server/display/DisplayPowerController.smali

search for the id from framework ( dont forget to delete one 0 after the 0x010e005b or you didnt find)

now you see the followed lines. add text in blue

iput-object v2, v0, Lcom/android/server/display/DisplayPowerController;->mWindowManagerPolicy:Landroid/view/WindowManagerPolicy;

move-object/from16 v0, p5

move-object/from16 v1, p0

iput-object v0, v1, Lcom/android/server/display/DisplayPowerController;->mBlanker:Lcom/android/server/display/DisplayBlanker;

move-object/from16 v0, p1

move-object/from16 v1, p0

iput-object v0, v1, Lcom/android/server/display/DisplayPowerController;->mContext:Landroid/content/Context;

invoke-virtual/range {p1 .. p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v23

const v2, 0x10e005b ( id of integer of doze value from framework-res.apk )

move-object/from16 v0, v23

invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getInteger(I)I

move-result v2

[COLOR="Blue"] const v3, 0x11

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/server/display/DisplayPowerController;->mContext:Landroid/content/Context;

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

move-result-object v0

const-string/jumbo v2, "aod_brightness"

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

move-result v2[/COLOR]

invoke-static {v2}, Lcom/android/server/display/DisplayPowerController;->clampAbsoluteBrightness(I)I

move-result v26

const v2, 0x10e005e

move-object/from16 v0, v23

invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getInteger(I)I

move-result v2

invoke-static {v2}, Lcom/android/server/display/DisplayPowerController;->clampAbsoluteBrightness(I)I

move-result v2

move-object/from16 v0, p0

iput v2, v0, Lcom/android/server/display/DisplayPowerController;->mScreenBrightnessDozeConfig:I

const v2, 0x10e0062

RC

<PreferenceCategory android:title="AOD brightness " />

<com.wubydax.romcontrol.v2.prefs.MySeekBarPreference android:title="AOD brightness" android:key="aod_brightness" android:defaultValue="17" app:minValue="0" app:maxValue="255" app:rebootDevice="true" />
[Galaxy S6 General] edzamber:
[emoji23] [emoji23] [emoji23] [emoji23]

Many Thanks my bro [MENTION=4596062]asc1977[/MENTION], many thanks [MENTION=3026895]DaOldMan[/MENTION] [emoji4]
[Galaxy S6 General] bunty_parona:
Salute for hard work brother
[Galaxy S6 General] kenpaci:
anyone have done with UX secsetting?
[Galaxy S6 General] amieldl143:
After adding rom info and my logo my secsettings2 quicksettings force closing when i back out. Anyone know of fix rught off the bat. Thanks. Ill try to get logs...
[Galaxy S6 General] amieldl143:
Please help..
[Galaxy S6 General] ANDROIDXFOREVER:
in these guides it is always missing a piece I've never understood why 'then post them,:confused:
[Galaxy S6 General] amieldl143:
Tried with regular secsetting didnt work. Found missing typos on it.
[Galaxy S6 General] kenpaci:
Yes not work to for me, mybe missing some line or different names, i follow 100% and not showing in settings, mybe need new guide for this
[Galaxy S6 General] amieldl143:
Ill figure it out and ill get the scripts corrected.
[Galaxy S6 General] genuine55:
[MENTION=5978360]nguyentankiet[/MENTION] I tried your mod to put signal on left after doing mod nothing changed still in same place
[Galaxy S6 General] ANDROIDXFOREVER:
This mod is incomplet very bad work
[Galaxy S6 General] ambasadii:
I see you are stalker and criticize all tutotials from here
[Galaxy S6 General] karan2012:
hi i am using latest N920G(Inidan) firmware and this guide but when i change the value in the above mentioned method to 01 there is no change in multiwindow even after successful recompilation.

please assist if we need to edit other values as well?
[Galaxy S6 General] OMassalia:
This mod works fine.

---------- Post added at 00:31 ---------- Previous post was at 00:30 ----------

Are you better ?
[Galaxy S6 General] stangdriver44:
It been working for me since Jelly Bean.

With every version Android some adjustments have been needed to adapt with the code I'm working with.

Just look at the guide and compare to your code and figure out how code is being read by the system.

At first it takes some time and can be frustrating, but if you stick with it, it will get easier.

Once you understand it better you can start to venture out on you own and make new mods for the needs you have.

Good luck

I am not familiar with this guide, but I do have rom logo in my settings.

Sounds like you may have missed something for sure.

Remember you need you edit xml files in the xml and layout folder and you may need to add a new xml file to layouts as well? Obviously you need a rom logo image file too.

Just stick with it, you'll get it.

Go through each line and go step by step to confirm you have everything you need.

I agree, some, very few, guides are actually incomplete. I may have seen 1, maybe 2 of them.

These and any guide are meant to guide you to gain the mod you are looking at!

With so many devices and versions of Android looking at these guides, it's almost impossible to make an exact "how to" guide.

If you are learning development and truly learning (not copy and paste), by actually understanding why that line is added or what that value was changed, then these guides, all of the guides, have more than enough information for you to finish the mod you want!

Yes, some are easier than others that need lots of adaption to your code, but they ALL work!

I can assure you [MENTION=4596062]asc1977[/MENTION] wouldn't add to his OP if it wasn't confirmed working.

This next part isn't directed towards you, but toward any new user wanting to learn and become a developer.

Just be patient and try to understand what and why you are editing what you are for the mod you want.

If you just copy and paste you truly don't learn anything! All that does is prove that you know how to decompile/recompile ask and jar files.

It doesn't happen overnight and takes a commitment in your end to invest lots of hours with many headaches trying to figure it out.

One day down the road, it will just click, you start understanding things better and having fun with be the result!

Good luck to everyone
[Galaxy S6 General] amieldl143:
Found the issue. I ran logcat and found dashboard issue error. Figured it was themes store from s7 nougat port causing issue because of target layout on dashboard was not compatible. Deleted and reverted back to regular theme store and voila profit...lol

---------- Post added at 05:10 PM ---------- Previous post was at 05:05 PM ----------

Make sure you have framework and tw framework installed on apk tool and latest files. AT ONE POINT WHEN I RECOMPILED I FOUND NOTHING CHANGED BECAUSE IT NEVER COMPILED IT. CHECK THE DATE IF IT ACTUALLY COMPILED AT THE TIME OF SUCCESS PROMPT. DECOMPILE THAT SAME FRAMEWORK AND SEE IF IT ACTUALLY APPLIED.
[Galaxy S6 General] karan2012:
thanks alot

i checked the recompiled framework by decompiling it again and there was no change in the value but how to solve this i am using TMA i tried changing apktool version also i double checked that both framework (tw and normal) are installed.
[Galaxy S6 General] asc1977:
I told him that more than one time but he dont learn. Thats why i never answer him. All is bad in his opinion but always the misstake is on his side.

I gave up with him. He didnt want to learn
[Galaxy S6 General] asc1977:
Check if you did really right. I know that it work 100%

After reboot clear all tasks. Open apps new and you see the multiwindow icon is there if you did right
[Galaxy S6 General] karan2012:
I checked It actually after changing the value TMA showing the file is recompiled successfully but when I decompile it again there is no change in the value
[Galaxy S6 General] asc1977:
Oh OK

So its a problem with tma
[Galaxy S6 General] karan2012:
Any other tool that you can tell?
[Galaxy S6 General] asc1977:
Normally work with tma

Mayby try batchapktool

Search in google. Its a russian tool. Work great
[Galaxy S6 General] edzamber:
Try to recompil with option 4 (7.0+)
[Galaxy S6 General] amieldl143:
Bro I followed tutorial super su , viper and Dolby link to secsettings. Not working. Any advice.
[Galaxy S6 General] karan2012:
Thank you so much it worked ?
[Galaxy S6 General] LuanTeles:
u need to place them in all dashboard.xml all the three, dashboard, dashboard for verizon and the dashboard note6
[Galaxy S6 General] josephpatrick:
This method works, thanks for the procedure.

However, consider the following 2 scenario:

1st scenario:

1) i install ROM which has default systemui.apk

2) i replace the file and i delete the runtime_permissions.xml file and reboot

2) new systemui loads up fine

2nd scenario:

1) Before flashing ROM, in the ROM zip file itself, replaced modded systemui.apk and flashed ROM

2) System FC when the ROM finally loads

3) cwn flashable zip file created to delete the runtime_permissions.xml file did not work (http://xdaforums.com/showpost.php?p=69451736&postcount=3470), could be some formatting error, getting (status 6) error

But the question is, why does this second scenario work? If i go into twrp and delete the xml file, the same modded systemui loads up fine.
[Galaxy S6 General] asc1977:
Hi my friend. If you choose option 4 its with new signature. I am right? So we need to copy and paste meta inf and androidmanifest to recompiled one from original apk. If not we become pin unlock problem
[Galaxy S6 General] amieldl143:
Totally correct. I've experienced this before.
[Galaxy S6 General] edzamber:
I was force to recompil SystemUI with option 4 for Weather widget in lockscreen because if i flash any vrtheme to change some png as SpeedMeter arrows, my systemUI is broken. Then i need to delete runtime-permissions.xml and reflash my SystemUI to solve.

I have pin Unlock issue because New signature.

If i drag and drop original META-INF and original androimanifest into my modded SystemUI, it break it again.

So i need New signature to make working Weather Widget lockscreen mod and be able to flash vrtheme.

Does someone know how to fix pin Unlock issue with new signature ?

---------- Post added at 11:53 AM ---------- Previous post was at 11:11 AM ----------

Flash my Zip to delete runtime-permissions.xml, it working for me

https://mega.nz/#!at9BjQJZ!ikydgrH5vKiNhcH9sntJ0Bu0J1BQ1PE4PCkYZEhQ-gc

Then flash directly a working SystemUI and Reboot
[Galaxy S6 General] josephpatrick:
will try, thanks
[Galaxy S6 General] amieldl143:
What I did was downloaded xplorer copy resource or smali which ever modified to original systemui and that fixed my pinup lock. Make sure after opening xplorer app go to settings of app and change superuser permissions to max and tick apk option apk open as zip for access.
[Galaxy S6 General] and2:
The problem is the androidmanifest...
[Galaxy S6 General] amieldl143:
Right so copying the files compiled smali or resource to original apk with original signature fixed the issue for me. Running modified systemui till now with my rom and flawless.
[Galaxy S6 General] edzamber:
Ok ! So i need to drag and drop modded ressources.arsc + classes.dex + res to original SystemUI, not AndroidManifest + META-INF from original to modded one, that's right ?
[Galaxy S6 General] amieldl143:
Yes. That's correct. Let me know how that goes.

---------- Post added at 09:21 AM ---------- Previous post was at 09:17 AM ----------

https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplore

Link to app
[Galaxy S6 General] edzamber:
Bingo !!!!!!

That's working great !

I do it in vrtheme on top of my original SystemUI with Root explorer [emoji6]

Now i can set a security Unlock and flash vrthemes [emoji2]

Curious way also, because if i do the inverse, drag and drop META-INF and androimanifest from original SystemUI to modded one it don't working.
[Galaxy S6 General] and2:
I do it like this since MM but some mods needs modifying the AndroidManifest.xml. Than you have to sign the apk means you can't use the original one.
[Galaxy S6 General] edzamber:
That's right.

Personnally i don't use any mod that's need to modify androimanifest in SystemUI, only in SecContact2 for dialer mod (images, colors...)
[Galaxy S6 General] amieldl143:
Sorry FYI. Even if you didn't edit smali and you edited resource etc. Always move smali from compiled to original other wise you get fingerprint issue unlock as you did with pin unlock. Hoped I have helped you.

---------- Post added at 03:34 PM ---------- Previous post was at 02:51 PM ----------

@asc1977 Do you mind adding to OP regarding SystemUI.apk discussion regarding fix. Thanks...
[Galaxy S6 General] Ufo71:
Who 'kind enough to provide me with the guide for the "Clock scaling (clock size lockscreen). Thanks I'd be grateful, perhaps with the' age 'lose sight..
[Galaxy S6 General] josephpatrick:
any inputs on 2nd scenario points 1 and 2

2nd scenario:

1) Before flashing ROM, in the ROM zip file itself, replaced modded systemui.apk and flashed ROM

2) System FC when the ROM finally loads

---------- Post added at 03:40 AM ---------- Previous post was at 03:32 AM ----------

so let me understand this please.

say i have orig.apk and mod.apk. Mod is mod of the original file orig.apk.

my mod.apk has updated/modded resources.arsc

so i make a copy of the orig.apk file (say orig-copy.apk), then drag and drop resources.arsc from mod.apk to orig-copy.apk.

is this right?

---------- Post added at 04:20 AM ---------- Previous post was at 03:40 AM ----------

were you able to find a fix for this?
[Galaxy S6 General] josephpatrick:
does this launcher have a icon bounce effect when the icon is long pressed?
[Galaxy S6 General] ambasadii:
Yes
[Galaxy S6 General] yash92duster:
This mod works fine in all my port roms except on SM-G532F port rom

In SShareCommon.smali i cant see

.method private setAlwaysUseFeature()V

i tried adding that method alone and flashed but not showing the option

I have attached my smali

can you help:):D

My rom is ThisSmG532F Full Port ( Its Light version of note 7 rom )
[Galaxy S6 General] AlexisXDA:
On N7 port should be enabled by default like on all S6/S7 newer firmwares, find out it on Settings/Applications
[Galaxy S6 General] yash92duster:
Totally forgot that new firmware has that feature by default:cool:

thanks a lot
[Galaxy S6 General] stangdriver44:
The lock security issue has already been discussed and resolved months ago. Lol

I thought that most people, especially the people who follow this thread already knew the cause and solution to prevent this.

It has been discussed first here, then

here,

and again where I personally gave details here as to why and how to fix and prevent using cmd prompt apktool!

That's just on this thread! I personally have given details post in at least 2 other threads including td's guide thread.

I expect noobs to be this lazy or lack the skills to search, but these questions are coming from experienced modders who have been active here for some time now!

For those who don't know how to use the search feature here, below are 3 videos showing how to search using a browser, XDA Labs and Tapatalk

BROWSER SEARCH FEATURE

XDA LABS SEARCH FEATURE

TAPATALK SEARCH FEATURE

Come on guys, your problems have answers already, just use the search bar near the top of the page!

A full page spent answering questions that already have answers!

Agreed that this lock security issue should be pinned with the rest of SystemUI fixes! [MENTION=4596062]asc1977[/MENTION] just put a link to this post if you want! You should have to spend time writing details about this when it's been written several times in the links I've posted here! They can figure it out by the links here with different methods to solve! Thanks

Another method for a solution to the same issue is here

Then we wouldn't have to waste time reading the same thing over and over again!
[Galaxy S6 General] asc1977:
You are complete right with your post. I do in op. Hope i dont forget :D
[Galaxy S6 General] and2:
You're not totaly right. My "problem" is like your last question from this post here
[Galaxy S6 General] Guroff1974:
Hello! Whether it is possible to make cyclic scrolling of tables and the menu on TouchWiz Port Note7?
[Galaxy S6 General] amieldl143:
I agree. Some of the methods given were totally different. May not always work for everyone. I would of totally referred them to the links if I thought those would of work. I gave my input on steps on how to fix it and totally worked for that dev. So no harm done. Let's move on. Lol
[Galaxy S6 General] kenpaci:
before ask question i trying a lot guide from op, like how to add dolby viper in secsetting UX, guide in op not work, that's why i ask here, because off you guy's its awesome dev, i read and read and read here, search and search, and no result about secsetting UX
[Galaxy S6 General] mohammad105:
Hi

Is there any way to change volume panel icons and names in android mm ?
[Galaxy S6 General] kenpaci:
anyone try this in system ui UX? i have done compile/ recompile, after flash my system ui is hidden, no fc but hidden, i dont know why, help me someone
[Galaxy S6 General] Alexandr Ivanov:
Everything works well on the basis of N920KKKU2CPJ4
[Galaxy S6 General] LuanTeles:
Guys Chinese Rom of N7, New GraceUX N5 , or even Normal MM roms

have festival effect , how to enable them in other bases?

I really like those effects

-----edit--

i got it working