yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] :
Thanks for the help ed.

I found the worry with the logcat. My assets folder was not present in my recompiled systemUI: / I added it after the recompilation!

Resolved hehe

thank you very much for your help

Good night
[Galaxy S6 General] edzamber:
Hé hé hé [emoji2]

Yes Logcat is always usefull [emoji2]

Happy to help as always [emoji6]
[Galaxy S6 General] kenpaci:
hai [MENTION=1042140]tdunham[/MENTION], i follow this guide..but after done decom/recom i cannot install any apk, just error, i miss something?
[Galaxy S6 General] edzamber:
Are you on MM or Nougat ?

Did you do the 3 parts step by step ?

Can you logcat when you try to install app ?
[Galaxy S6 General] kenpaci:
im on mm, i do it 3 part , example service.jar in part 1 and 3, i do it all in one decompile/decompile, its wrong?

---------- Post added at 09:33 AM ---------- Previous post was at 09:32 AM ----------

or after done part 1 i need recompile first? and then decompile again to do it part 3?
[Galaxy S6 General] edzamber:
No you can do the twice part in services.jar and recompil one time. Do you mod core-libart as well ?
[Galaxy S6 General] kenpaci:
yes i do it, i try get logcat today..and send here
[Galaxy S6 General] bryanjay420:
any tutorial on how to center clock on nougat touchwiz rom (s8 rom) and disable it on lockscreen? im trying to follow tutorial on the op but the texts on layouts seems to be different. if anyone can guide thanks
[Galaxy S6 General] amieldl143:
Anyone has any guide on how to enable resolution mode in s6 settings. I tried but could not find what to to edit to enable. It is embedded in there. Thanks in advance.
[Galaxy S6 General] MrGet09:
Hello Gay's.

Help me!!!!

After 6 toggles mod Screenshot
[Galaxy S6 General] Eleo:
You need to change integers.xml in values-land folder too. You probably only changed it in values. See screenshots

P.S. It is "guys", not "gays".
[Galaxy S6 General] MrGet09:
Sorry:)

But not work
[Galaxy S6 General] MrGet09:
Thank you Bro:D

I did so

add in values-sw360dp-land-v13 "<integer name="notification_swipe_shadow_radius">9</integer>"

and change " <integer name="quick_settings_num_columns">9</integer>

<integer name="quick_setting_active_apps_max_num">9</integer>"
[Galaxy S6 General] MrGet09:
Hello Guys:)

How change colour notification?
[Galaxy S6 General] Dark_shadow_007:
Hello guyz any one know how to change battery icon color to green:(
[Galaxy S6 General] AbrahamGC:
Use 3MinitBatteryMod, more than 1000 battery icons available and easy to make ... :good:

https://xdaforums.com/showthread.php?t=2799958
[Galaxy S6 General] Dark_shadow_007:
I mean any way to chng its color via editing color.xml
[Galaxy S6 General] Dark_shadow_007:
Hii guyz any one plz send the guide to add outdoor mode near brightbess slider :(
[Galaxy S6 General] wowanbelousov:
Outdoor mode Unlock How it did for Nougat

Editing occurs

SecSettings2\smali\com\samsung\android\settings\display\SecDisplaySettings.smali

We find this code

sput-boolean v27, Lcom/samsung/android/settings/display/SecDisplaySettings;->sIsSupportOutdoor:Z

sget-boolean v27, Lcom/samsung/android/settings/display/SecDisplaySettings;->sIsSupportOutdoor:Z

if-nez v27, :cond_2c

const-string/jumbo v27, "outdoor_mode"

move-object/from16 v0, p0

move-object/from16 v1, v27

invoke-virtual {v0, v1}, Lcom/samsung/android/settings/display/SecDisplaySettings;->removePreference(Ljava/lang/String;)V

Delete Piece of code

move-object/from16 v0, p0

move-object/from16 v1, v27

invoke-virtual {v0, v1}, Lcom/samsung/android/settings/display/SecDisplaySettings;->removePreference(Ljava/lang/String;)V

Below we look for

invoke-static {}, Lcom/android/settings/Utils;->isSupportGraceUX()Z

move-result v27

if-eqz v27, :cond_11

goto/16 :goto_13

:cond_2b
const/16 v27, 0x0

goto/16 :goto_14

:cond_2c
move-object/from16 v0, p0

iget-object v0, v0, Lcom/samsung/android/settings/display/SecDisplaySettings;->mOutdoorMode:Landroid/preference/SwitchPreference;

move-object/from16 v27, v0

if-eqz v27, :cond_12

move-object/from16 v0, p0

iget-object v0, v0, Lcom/samsung/android/settings/display/SecDisplaySettings;->mOutdoorMode:Landroid/preference/SwitchPreference;

And change

const/16 v27, 0x0

on

const/16 v27, 0x1

This is just an example.

Have a nice day ;)
[Galaxy S6 General] Dark_shadow_007:
Thnx bro:angel::) is this also works on marshmallow?
[Galaxy S6 General] wowanbelousov:
slightly different changes, but the essence is the same

More details here

https://xdaforums.com/showpost.php?p=66193058&postcount=543
[Galaxy S6 General] muhasin:
Hi all,

Any guide for Quick PIN unlock for MM?

tried the Lollipop method but failure..
[Galaxy S6 General] LinhNote3:
How to mod UI?

How to mod UI? View image. Thank.
[Galaxy S6 General] muhasin:
Tried some modification In secsettings2 and got a FC..After this original setting2 also not working...any Idea?
[Galaxy S6 General] X-MAN:
How to green battery icon?
[Galaxy S6 General] bill_kevin:
any guide to CustomBg as header of notification panel for nougat without Rc

Edit.

I found qs_background_primary.xml

<?xml version="1.0" encoding="utf-8"?>
<inset
xmlns:android="http://schemas.android.com/apk/res/android">
<shape>
<solid android:color="@color/system_primary_color" />
</shape>
</inset>

I replace XML with a image but I don't like the fill, how to change the fill or how to put a image and color?
[Galaxy S6 General] galaxys s:
Use 3minit battery
[Galaxy S6 General] koko115:
For. Any one have update for nougat armx64 ?
[Galaxy S6 General] rezza99:
good work sir
[Galaxy S6 General] josephpatrick:
this guide looks like for enabling outdoor mode in settings (under display settings) and not to show or add the outdoor mode option (instead of auto brightness) besides brightness slider
[Galaxy S6 General] zfk110:
[MENTION=4598795]Eleo[/MENTION]

Hi, after doing the mod (How to integrate Gradient Statusbar

How to integrate potato clock) on MM my icons jumps down from status bar on lock screen, but when I go to home screen it goes back to normal place, I dont know what is causing this, and could you please also tell me how to take that thick black border away this is another rom Im using? Thanks
[Galaxy S6 General] TaifAljaloo:
Hello all i was wondering if there is guide to get the red brihtness bar when you put the brightness as maximum ? :angel:
[Galaxy S6 General] The Sickness:
I didnt fell like reading a million post, and searched for my answer.....

Will the Power Menu edits here on 6.0.1 work for Nougat?
[Galaxy S6 General] Eleo:
Have you tried these threads?

Touchwiz Unified MODs Thread

Android 7 MODs
[Galaxy S6 General] The Sickness:
Thanks.....

I've been to the 1st

Will check out the 2nd
[Galaxy S6 General] jmckeejr:
For nougat you need to adjust some sizes of things (close_all_button_container need bigger like 110.0dip, incompatible_apps_container smaller to 110.dip, couple more I can find if you want) and add <view ..../> Spacer then looks good. But there are additional options in the QuickLaunchContainer.smali that should be implemented. I have them working but need to reboot. Can some one show me how to make it work without reboot? The smali has its own observer so I'm not sure how to implement. I'm getting there but still trying to figure few things out, maybe someone can help implement the settings without reboot and comment what was added/changed? I think that is most important, not only have things to copy paste but to tell how they work. Then more can learn and get new mods.

Any way some settings that work are > quick_launch_text_visible; background color, text color, divider line visible, not sure about use custom image there is no option to crop, but anyway it could be very handy if settings work without reboot.

For more options ROM control

<PreferenceScreen android:title="Quick Launcher Options">
<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:icon="@drawable/settings_gears" android:title="Show Launcher in Recents" android:key="recents_quick_launch_toggle" android:defaultValue="false" android:summaryOn="QuickLauncher will be shown" android:summaryOff="QuickLauncher will be hidden" />
<PreferenceCategory android:title="Additional Options" android:dependency="recents_quick_launch_toggle">
<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:title="Show Text under Icons" android:key="quick_launch_text_visible" android:defaultValue="true" android:summaryOn="Text will be shown" android:summaryOff="Text will be hidden" app:packageNameToKill="com.android.systemui" />
<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:title="Show Divider Between Icons" android:key="quick_launch_show_devider" android:defaultValue="true" android:summaryOn="Divider will be shown" android:summaryOff="Divider will be hidden" app:packageNameToKill="com.android.systemui" />
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:title="Select Background color" android:key="quick_launch_background_color" android:defaultValue="\#80000000" app:packageNameToKill="com.android.systemui" />
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:title="Select Text color" android:key="quick_launch_text_color" android:defaultValue="\#ffffffff" app:packageNameToKill="com.android.systemui" />
</PreferenceCategory>
</PreferenceScreen>

I tried kill systemui but that doesn't work for me. May work for older ROMs.

On side note, am I the only one on nougat ROM that has issue with CustomBg (power menu) resetting every reboot? Colors stay fine but not image and can only use image from app that's not gallery or photos. Very strange indeed
[Galaxy S6 General] fhelipe009:
Does anyone know how to add these toggles partition buttons?
[Galaxy S6 General] ANDROIDXFOREVER:
Is correct ..nougat style?

Inviato dal mio SM-G955F utilizzando Tapatalk
[Galaxy S6 General] fhelipe009:
Yes, I'm sorry For English evil
[Galaxy S6 General] MrGet09:
Hello Guys.

How add navigation bar for android 6.0.1 ,port a5 2017? :confused:
[Galaxy S6 General] kin201303:
i try

android 5.1.1 work

android 6.0.1 not work

you add this try

build.prop

add

qemu.hw.mainkeys=0
[Galaxy S6 General] rezza99:
thanks sir... but im use code #ff000000 for black icon
[Galaxy S6 General] zain.ahmad:
follow that guide and use my services.jar to mod but follow that guide if method not found try any line in that method it will work it works on my S8 Port

Cheers
[Galaxy S6 General] The Sickness:
Thanks, but I already got it done
[Galaxy S6 General] zain.ahmad:
do you know how to get screenshot and screen recorder in power menu old method doesnot work
[Galaxy S6 General] The Sickness:
Naw, I never added that
[Galaxy S6 General] Zomby77:
HOW TO FIX THIS?

After added battery colors (each 10,20....100% changed battery colors)...

SystemUI\res\values\arrays.xml :

<integer-array name="batterymeter_color_levels_sec">

<item>15</item>

<item>100</item>

</integer-array>

<array name="batterymeter_color_values_sec">

<item>#ffffffff</item>

<item>#ffffffff</item>

</array>

To:

<integer-array name="batterymeter_color_levels_sec">

<item>10</item>

<item>20</item>

<item>30</item>

<item>40</item>

<item>50</item>

<item>60</item>

<item>70</item>

<item>80</item>

<item>90</item>

<item>100</item>

</integer-array>

<array name="batterymeter_color_values_sec">

<item>#ffb71c1c</item>

<item>#ffbf360c</item>

<item>#ffe65100</item>

<item>#ffff6f00</item>

<item>#fff57f17</item>

<item>#ffaeea00</item>

<item>#ff33691e</item>

<item>#ff1b5e20</item>

<item>#ff01579b</item>

<item>#ff0d47a1</item>

</array>

and com/android/systemui/BatteryMeterView.smali

mul-int/lit8 v24, v5, 0x2

to

mul-int/lit8 v24, v5, 0xa

This error has occurred!
[Galaxy S6 General] AttoR:
no, it still works perfectly with old method... :good:
[Galaxy S6 General] Eleo:
The original question was asking for MOD to nougat. The one we used is for marshmallow
[Galaxy S6 General] AttoR:
aaa... i think for marshmallow... :laugh: sorry...
[Galaxy S6 General] zain.ahmad:
lol i remember for MM on my fingers lol

thanks
[Galaxy S6 General] snifing:
TouchWizHome S8​

Change the search widget on your phone

TouchWizHome S8/res/drawable/widget_searchbar_background.xml

#3f000000 - 75% transparent

#7f000000 - 50% transparent

#bf000000 - 25% transparent

<corners android:radius="39.0dip" /> [COLOR="RoyalBlue"]change the value on "0.0dip"[/COLOR]
<solid android:color="@color/searchbar_background_color" /> [COLOR="RoyalBlue"]the color of the widget "#99000000"[/COLOR]

Six icons in the dock bar

TouchWizHome S8/res/values/integers.xml

<integer name="hotseat_cellCount">5</integer> [COLOR="RoyalBlue"]change the value on >6< [/COLOR]

The increase of speed of the animation

TouchWizHome S8/res/values/integers.xml

Change the value on >150<

<integer name="widget_itemview_icon_anim_duration">150</integer>
<integer name="config_appsDragTransitionDuration">150</integer>
<integer name="config_appsScreenGridTransitionDuration">150</integer>
<integer name="config_appsSearchTransitionDuration">150</integer>
<integer name="config_appsSelectTransitionDuration">150</integer>
<integer name="config_appsTidyUpTransitionDuration">150</integer>
<integer name="config_appsViewTypeTransitionDuration">150</integer>
<integer name="config_dragOutlineFadeTime">150</integer>
<integer name="config_enterFolderAddAppsDuration">150</integer>
<integer name="config_enterHomeFromAppsPickerDuration">150</integer>
<integer name="config_exitFolderAddAppsDuration">150</integer>
<integer name="config_exitHomeToWidgetDuration">150</integer>
<integer name="config_folderCloseDuration">150</integer>
<integer name="config_folderEditTransitionDuration">150</integer>
<integer name="config_folderExpandDuration">150</integer>
<integer name="config_folderFadeInDuration">150</integer>
<integer name="config_folderFadeOutDuration">150</integer>
<integer name="config_homeDragTransitionDuration">150</integer>
<integer name="config_homeScreenGridTransitionDuration">150</integer>
<integer name="config_multiSelectTransitionDuration">150</integer>
<integer name="config_overviewTransitionDuration">150</integer>
<integer name="config_swipeAffordanceArrowShowDuration">150</integer>
<integer name="config_widgetFolderTransitionDuration">150</integer>
<integer name="config_widgetTransitionDuration">150</integer>
<integer name="new_app_alpha_ani_duration">150</integer>
<integer name="new_app_delay_duration">150</integer>
<integer name="new_app_scale_ani_duration">150</integer>

Icons on the widget "Search phone"

TouchWizHome S8/res/drawable-xxhdpi-v4

The format of the icons may differ .bmp .qio .qmg .png

The color of the text "Search phone"

TouchWizHome S8/res/values/colors.xml

<color name="widget_searchview_text_color">#fffafafa</color> [COLOR="RoyalBlue"]transparent >#00000000<[/COLOR]
[Galaxy S6 General] jashancheema:
how to add rom thread link in note 7 rom settings about
[Galaxy S6 General] yash92duster:
Camera Flash Light 1% Mod:

​

Decompile

framework-res.apk

Locate to

res/values.integer.xml

Find this

<?xml version="1.0" encoding="utf-8"?>

<resources>

<integer name="config_lowBatteryWarningLevel">1</integer>

</resources>

Change The Value

From

<integer name="config_lowBatteryWarningLevel">15</integer>

To

<integer name="config_lowBatteryWarningLevel">1</integer>

Use Any Value from 1 to 100

Now Flashlight in Camera Will work till 1% of Battery

Tried on S8+ it works

---------- Post added at 11:19 PM ---------- Previous post was at 11:18 PM ----------

Change Fota Upgrade Screen To Any Color for Android Nougat:

​

Decompile framework-res.apk

Locate

res/layout folder

Open

tw_upgrade_dialog_layout.xml

Locate

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout android:orientation="vertical" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="fill_parent"

Change the code

android:background="#ff000000" to any value done

Like Example

#000000 is Black

#ffffff is White

#ff008a73 is Default Value ( Green Color )

By [MENTION=6377149]yash92duster[/MENTION]

Thanks to [MENTION=6173089]malbert16442[/MENTION]
[Galaxy S6 General] `SBR`:
isn't the low battery warning for phone also changed to 1% with the mod? then it may be hard for ppl after warning don't have much time to react (switch to ultra mod) in some situations like in business trips..
[Galaxy S6 General] yash92duster:
Mod is only for those who needs it

I need camera flash to work till death so I added it in my roms

Others can ignore it if this mod can cause mobile explosion
[Galaxy S6 General] galaxys s:
how to on off hide text toggleg with rom control .. mate ???? tks
[Galaxy S6 General] ANDROIDXFOREVER:
Work perfect tanks??

Inviato dal mio SM-A710F utilizzando Tapatalk
[Galaxy S6 General] TenzoSRx:
does any know how to change the data icons like the one from at&t to an international one? i decompiled the systemui and those files are in res/drawable but i dont know how to set them or implement them . can anyone assist me with this?
[Galaxy S6 General] ANDROIDXFOREVER:
I sent you the file that was edited privately

What icons are you talking about? screenshots?

---------- Post added at 11:47 AM ---------- Previous post was at 11:43 AM ----------

This icons data?

Inviato dal mio SM-A710F utilizzando Tapatalk

---------- Post added at 11:54 AM ---------- Previous post was at 11:47 AM ----------

http://cloud.tapatalk.com/s/5974724019d64/20170723_115300.png?

Inviato dal mio SM-A710F utilizzando Tapatalk
[Galaxy S6 General] TenzoSRx:
when youre using mobile data and it shows 4glte i want to change it h+
[Galaxy S6 General] Eleo:
Dude. 4G/LTE and 3G/H+ are different connection types. I advise you to search web for 4G vs 3G difference
[Galaxy S6 General] TenzoSRx:
i know the differences, but the icons to represent the connection types are incorrect and i wanna change them in the systemui.apk
[Galaxy S6 General] ANDROIDXFOREVER:
nice job bro , for change app drawer e home 6x6 ? tanks
[Galaxy S6 General] zfk110:
hi, I got some bug, I was trying to mod with potato clock, gradient, and 3mint battery. Im able to do all the mods and they work perfect, but as soon I do factory reset for any reason, after that my status bar just goes black, with my wallpaper and if I tried to change wallpaper it wont let me do it, it stay black and it start to lag, if I dont implement any of those mods then its work fine with or without reset.

I also tried one mod at a time to see which was causing it, but it really doesn't matter which mod I try after reset, status bar and wallpaper goes black. I asked around for help but I couldn't get any help.

Im attaching my status bar.xml

this is the rom I was trying to do it

https://xdaforums.com/gal...-fast-t3406315

Thanks for your time!
[Galaxy S6 General] kep2008:
Try to extract all modified files (.... xml, classes.dex and resources.arsc) and, through 7zip, copy them to the original SystemUI.apk.
[Galaxy S6 General] zfk110:
I will try, I edit three files all together with adding some smali files for mods which came with the mods, I also tried different rom and different phone, still the same result
[Galaxy S6 General] josephpatrick:
it should also be possible to hide the search bar, right?

---------- Post added at 06:09 AM ---------- Previous post was at 05:43 AM ----------

i have been able to get it working by using 2 methods but i cannot share it unless the below original developers approve it.
[MENTION=7937275]Craftingmod[/MENTION] - 1 method
[MENTION=7069602]Allooosh98[/MENTION] - alternate method
[Galaxy S6 General] corsicanu:
S8 Launcher Blur with a toggle in RC

This only works with s8 launcher. Special thanks for the idea to [MENTION=6911575]BlackMesa123[/MENTION]

1. Decompile launcher

2. Open com/android/launcher3/LauncherFeature and search for .method public static supportBackgroundBlurByWindow()Z

3. Replace entire method with this

.method public static supportBackgroundBlurByWindow()Z
.locals 4

const/4 v0, 0x0

const/4 v1, 0x1

new-instance v3, Ljava/io/File;

const-string v2, "/data/data/com.wubydax.romcontrol.v2/files/hades_launchblur"

invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

invoke-virtual {v3}, Ljava/io/File;->exists()Z

move-result v2

if-nez v2, :cond_crs

return v0

:cond_crs

return v1
.end method

4. Add this part anywhere in RomControl v2

<com.wubydax.romcontrol.v2.prefs.FilePreference
android:title="Launcher blur"
android:key="hades_launchblur"
android:defaultValue="true"
android:summaryOn="Launcher blur enabled"
android:summaryOff="Launcher blur disabled"
app:isSilent="false"
app:packageNameToKill="com.sec.android.app.launcher"/>

5. Enjoy it :good:
[Galaxy S6 General] g4brielmleal:
?

mito
[Galaxy S6 General] AbrahamGC:
Working perfect in Note 7 TW :D :D

Thx for share :good:
[Galaxy S6 General] star53:
Hello everyone

How to fix this small problem as in screenshot

View attachment 4225046View attachment 4225047

Envoyé de mon SM-N930F en utilisant Tapatalk
[Galaxy S6 General] josephpatrick:
ensure the following values are set to 6 and not 5

quick_settings_num_columns

quick_setting_active_apps_min_num

you will have to check all different folders that have integers.xml
[Galaxy S6 General] sourav143:
I think decrese dpi by changing at build.prop can be solution

U can change it, if not solved change back to previus dpi
[Galaxy S6 General] AbrahamGC:
SHOW/HIDE TEXT IN TOGGLES (ON THE FLY)

ONLY TESTED IN NOTE 7 UI

NOTE : I taked code for make toggle from [MENTION=4658360]corsicanu[/MENTION] so thanks to him, and code for hide text by [MENTION=6947871]ROBERT CM[/MENTION] :good: I only adapted :D

Decompile SystemUI and go to smali\com\android\systemui\qs\QSPanel.smali and search :

.method public getSingleTileLineHeight()I

In this method are 3 ".line xxxx" . Save that in order, needed later.

Replace whole method with this :

.method public getSingleTileLineHeight()I
.locals 4

.prologue
.line 1528
iget-object v0, p0, Lcom/android/systemui/qs/QSPanel;->mRecords:Ljava/util/ArrayList;

invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

move-result v0

if-lez v0, :cond_2

.line 1530
const/4 v0, 0x1

const/4 v1, 0x0

new-instance v3, Ljava/io/File;

const-string v2, "/data/data/com.wubydax.romcontrol.v2/files/hide_text_toggles"

invoke-direct {v3, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

invoke-virtual {v3}, Ljava/io/File;->exists()Z

move-result v2

if-nez v2, :cond_0

iget v0, p0, Lcom/android/systemui/qs/QSPanel;->mCellHeight:I

return v0

.line 1533
:goto_0

return v0

:cond_0
iget v0, p0, Lcom/android/systemui/qs/QSPanel;->mCellHeight:I

div-int/lit8 v0, v0, 0x2

add-int/lit8 v0, v0, 0x1

return v0

:cond_2
const/4 v0, 0x0

goto :goto_0
.end method

Now replace the 3 ".line xxxx" with your lines and recompile SystemUI :D

In RomControl add on you want :

<com.wubydax.romcontrol.v2.prefs.FilePreference android:title="Hide text in toggles" android:key="hide_text_toggles"
android:defaultValue="true"
android:summaryOn="Text hided"
android:summaryOff="Text showed" />

Done :good:
[Galaxy S6 General] sourav143:
Sir, i am following some tutorial, in those method talking about rom control app, its a 3rd party app, i cant understand it what the use of it?

In ur tutorial also, if i do the whole method exept rom control can this be working or not?
[Galaxy S6 General] corsicanu:
Check this [emoji4]

https://xdaforums.com/android/general/source-code-6thgear-romcontrol-v2-devs-t3411916
[Galaxy S6 General] AbrahamGC:
RomControl it's used for change the value of toggle Yes-No. If you want to do without RomControl search original guide two pages back, but you can't enable-disable, only hide text permanent. [emoji106]

Enviado desde mi SM-N930F mediante Tapatalk