yashsingh1/xdaforums huggingface dataset:
[Android General] JesseBenson:
Hello, Just tested this out this works but for bike mod popup comes saying bike mod not supported upgrade ur firmware

thanks for the guide

Edit: Is it possible that Emergency mod can also be made as a toggle

const-string v1, "emergency_null"

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

move-result v1

if-eqz v1, :cond_8

const/4 v1, 0x3

goto :goto_1

:sswitch_3

this is the code for emergency mod

---------- Post added at 05:52 AM ---------- Previous post was at 05:16 AM ----------

If we work according to the last guide made by him for all of those toggles then this toggle dont fir the position i mean he kinda removed the sysui reboot thanks for this sadly wasnt able to put this to work because i wasn able to find missing strings
[Android General] wlryss:
:rolleyes:

And at last - made switched the Emergence Mode point. It is possible to disconnect absolutely this point, but, I think, it isn't absolutely correct in terms of a trust relationships policy of Samsung

1. After execution of the guide with the previous points (and when this modification works) - open SystemUI/smali_classes2/com/samsung/android/globalactionsdlx/presentation/viewmodel/DefaultActionViewModelFactory.smali:

In .method public createActionViewModel(Lcom/samsung/android/globalactionsdlx/presentation/SecGlobalActions;Ljava/lang/String;)Lcom/samsung/android/globalactionsdlx/presentation/viewmodel/ActionViewModel;

we look for such code:

:sswitch_1
const-string v1, "bug_report"

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

move-result v1

if-eqz v1, :cond_f

const/4 v1, 0x4

goto :goto_1

:sswitch_2
const-string v1, "emergency" ### Look for this

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

move-result v1

if-eqz v1, :cond_f

const/4 v1, 0x3

goto :goto_1

:sswitch_3
const-string/jumbo v1, "restart"

And also we make the code to such look:

:sswitch_1
const-string v1, "bug_report"

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

move-result v1

if-eqz v1, :cond_f

const/4 v1, 0x4

goto :goto_1

:sswitch_2
move-object/from16 v5, p0 ###Start new 1

move-object/from16 v6, p1

const/4 v5, 0x0

const-string v6, "power_emergency_show"

invoke-static {v6, v5}, Lcom/android/wubydax/GearUtils;->getDbIntForKey(Ljava/lang/String;I)I

move-result v6

if-nez v6, :cond_next

if-eqz v6, :cond_f

:cond_next ### End new 1
const-string v1, "emergency"

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

move-result v1

if-eqz v1, :cond_f

const/4 v1, 0x3

goto :goto_1

:sswitch_3
const-string/jumbo v1, "restart"

2. To Rom Control it is necessary to add such line:

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:icon="@drawable/tw_ic_do_emergencymode_square" android:title="Emergency mode" android:key="power_emergency_show" android:defaultValue="false" android:summaryOn="Show" android:summaryOff="Hide" />

Picture-Icon with Name tw_ic_do_emergencymode_square is in the archive which is laid out above. If the icon in RomControl isn't necessary - we remove android:icon="@drawable/tw_ic_do_emergencymode_square"
[Android General] JesseBenson:
Awesome!!!!!!!!!!, Watching S10 Live event At The Moment, Will test this tomorrow and reply can you share your beautifull icons :)
[Android General] edzamber:
[MENTION=4715658]wlryss[/MENTION]

I send you a pm about reboot menu bg...
[Android General] Frankelvis97:
Samsung Experience

Thankyou for making this thread
[Android General] Thor1964:
Can someone help me please?

In oreo everything worked, but with android pie I can not recompiling the systemui !! what am I doing wrong?

framework same, have read the tutorial for pie, but does not work:confused::confused:
[Android General] wlryss:
Pay attention to lines 2841 (and 5), 2846 (and 3), 2849 ( and 4) in your SystemUI/res/values/strings.xml.

Or you added the duplicating lines or it is apktool error when decompiling.

Need to delete lines 2841, 2846,2849 (or 5,3,4 - if you made changes in lines 2841, 2846,2849 and contents of these lines are important for you ).

Errors in compilation won't be further
[Android General] Thor1964:
THX for help, wil check, i am a beginner in decompiling with pie!!!

Oreo without problems!!!!!!

THX sytemui know works :)
[Android General] JesseBenson:
Matrix effects and custom bg in power menu bg will rock

---------- Post added at 10:11 AM ---------- Previous post was at 10:09 AM ----------

@yash92duster Congrats Bro Thread is of 100 pages ?
[Android General] joluke:
Any guide on how to enable dual speaker on Oreo or Pie for Note8 (SM-N950F)?

Not on my phone and can't use the search function on Tapatalk :(
[Android General] wlryss:
Power Menu bg and text colors(main and status) - today (may be tonight) later when I am with the computer
[Android General] JesseBenson:
Take ur time ? Thanks for everything you do how can i give you a cup of coffee , Also why not matrix effect? ?

---------- Post added at 10:18 AM ---------- Previous post was at 10:17 AM ----------

Editing mixer gains xml can enable dual speaker if im not wrong
[Android General] joluke:
Yeah but I dunno what to modify that's why I asked. Thanks trying to help [emoji4]

Enviado do meu SM-N950F através do Tapatalk
[Android General] wlryss:
Didn't do on Android Pie 9 Matrix Effect in Power Menu yet. All remaining is already made.

.
[Android General] JesseBenson:
Thats so lit on my note8 i was using rom it had matrix effect in noti panel status bar recents menu nav bar power menu everywhere ?
[Android General] wlryss:
On everything time is necessary.

But Matrix in Power Menu already made. Tonight - guide with custom bg in Power Menu..
[Android General] JesseBenson:
Awesome?????? Read pm now ?
[Android General] edzamber:
Very great job [emoji106][emoji106][emoji106]

Just a thing about text colors : there is a little delay for color applied. Do you know how Fix that ?

https://youtu.be/ybNbnJBsBwM
[Android General] wlryss:
Yes, I saw this time delay and at myself. But we all have now not deodexed framework.jar in our devices. After official release Android 9 Pie i hope we will have in use custom kernels and at last deodexed framework.jar in firmware in device. End then try to solve this and same problems.
[Android General] wlryss:
Sorry guys - I forgot that I made modification of Matrix - Switching on/Switching off - without need to edit Statusbar.smali and other smalies. Therefore it isn't necessary to reboot SystemUI in case of change of the Matrix settings in Rom Control.

After <PreferenceCategory android:title="Matrix Animation Settings in Power Menu" /> - see above - it is possible to remove part of lines app:packageNameToKill="com.android.systemui" app:isSilent="false" in RomControl - in the main guide I made it
[Android General] Freakyd9984@gmail.com:
Is their a icon set like this those are sweet
[Android General] wlryss:
I have 3 full custom variants icons for Extended Power Menu now - including Restart UI icon.. Made by sagitt67
[Android General] JesseBenson:
Sorry my wifi is having problems once all is fine gonna test the matrix effect in bg thanks alot ?

How about matrix in recent menu? Or expanded status bar or in navbar ?
[Android General] wlryss:
Hi, for statusbar and navbar i have more interesting modification. In Recent - will made..

Отправлено с моего SM-G955F через Tapatalk
[Android General] Dovanchuc7521:
Thanks for all your guide!!

Gửi từ SM-G955F của tôi bằng cách sử dụng Tapatalk
[Android General] lâm1990:
Please share SystemUI.apk you modified

---------- Post added at 03:18 AM ---------- Previous post was at 03:18 AM ----------

Please share SystemUI.apk you modified

Thank you!
[Android General] JesseBenson:
can i get those icons wifi is fixed
[Android General] a.raul:
I'm des cojono when I read this
[Android General] wlryss:
Yes, tonight with guide how to change..
[Android General] JesseBenson:
Thanks
[Android General] wlryss:
3 Styles custom icons for ExtendedPower Menu​

.

Including - Restart SysUI, Safe mode.

Made by sagitt67

1. Delete previos icons from decompilied SystemUI/res/drawable-xxhdpi - 14 pieces

2. Add custom icons from archive to decompilied SystemUI/res/drawable-xxhdpi - with the appropriate style. Counterparts by the name and extension shan't be.

3. Recomile SystemUI.apk
[Android General] filchi756:
Mirror link

deleted
[Android General] JesseBenson:
Thanks was looking for this actually i needed emrgency icon aswell thank got got it to put in rc

So tested the matrix effect they worked fine colour and bg everything fine i know that you know thats their is a text delay . Now what about recents and noti panel bg? ??

Edit: also tested the toggle for emergency mod its working fine aswell thanks ?
[Android General] youmbi:
hi brother thank for this post please i need more explenation

i have g955n i whant to convert to dual sim how can i use this methode for convert it to 2 dual Sim thank
[Android General] thereassaad:
Use vpn to download it my friend ..
[Android General] JesseBenson:
Hey power button recovery and emergency and data toggles were stretched out and idk they were looking strange changing the name from .webp to .png fixed issue
[Android General] filchi756:
As I told you via pm(I think last year) mate,as far as I know all kinds of vpn are blocked here in China for almost 2years now:crying::crying::crying:. So I have no access to any google stuffs,facebook ,telegram,xda app etc...
[Android General] Azazel6002:
I need some help with this mod. This is on a Galaxy Tab S4

I have the tile and menu for it but its not working. The tile disappears sometime and if I use the menu and adjust the slide bar systemui crashes. I have attached Logcat.

Thanks
[Android General] Dovanchuc7521:
You dont add method in statusbar.smali

Gửi từ SM-G955F của tôi bằng cách sử dụng Tapatalk
[Android General] Azazel6002:
where do i add these methods? attachment from zip
[Android General] Dovanchuc7521:
You can add it at end of statusbar.smali

Gửi từ SM-G955F của tôi bằng cách sử dụng Tapatalk
[Android General] Azazel6002:
Thank you. I dropped those files in statusbar folder instead of phone.
[Android General] lijianjunyonghu:
How to fix pie odex Lag ？
[Android General] Carotix:
hi my friend,

thanks for this mod :good:

have you time to remake the guide please?

i don't understand some things

thanks
[Android General] thereassaad:
What you don't understand in the guide ? It's simply compare the the smali in updated folder then added it in ur SystemUI.apk where the smali it is ... the guide is very simple ..
[Android General] Carotix:
for example tou wrote Lcom/android/systemui/statusbar/phone/StatusBar$H;, what do i need to do in this smali?

then

i need to add this method at the end of statusbar.smali ? but do i need to delete your # or not? (i have not this method in my smali)

.method public updateNotificationTextColors()V
.locals 1

const-class v0, Lcom/android/systemui/statusbar/NotificationColorPicker;

invoke-static {v0}, Lcom/android/systemui/Dependency;->get(Ljava/lang/Class;)Ljava/lang/Object;

move-result-object v0

check-cast v0, Lcom/android/systemui/statusbar/NotificationColorPicker;

if-eqz v0, :cond_exit

invoke-virtual {v0}, Lcom/android/systemui/statusbar/NotificationColorPicker;->setNotiTextColor()V

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/StatusBar;->onDensityOrFontScaleChanged()V

# iget-object v0, p0, Lcom/android/systemui/statusbar/phone/StatusBar;->mEntryManager:Lcom/android/systemui/statusbar/NotificationEntryManager;

# invoke-virtual {v0}, Lcom/android/systemui/statusbar/NotificationEntryManager;->updateNotificationsOnDensityOrFontScaleChanged()V

:cond_exit
return-void
.end method
[Android General] thereassaad:
When i add # before the line it's means its for deleted in recompiling ui it will be deleted , so this is not important man ..
[Android General] Carotix:
i know that # before , it delete the line .. but i have not that method in smali
[Android General] thereassaad:
What method ?
[Android General] Carotix:
.method public updateNotificationTextColors()V

in statusbar.smali
[Android General] thereassaad:
Its in guide text man
[Android General] Carotix:
how many people have made this mod ?
[Android General] wlryss:
I made, but at me didn't earn color of one text (as the author a mode prevented) and color of the icon of the application. Then made on another - text color earned, but color of the icon of the application didn't
[Android General] Tchania:
Anybody found a way to enable native boot animations on samsung pie?

I literally went through all google search results but I found nothing but custom roms that support bootanimation.zip or qmg files converted from zips. And qmgs look so poor :(
[Android General] Carotix:
thanks :)

wow very nice your notification background !!

are you using night mode? i'm using it and i can't find that background

can you help me or make a guide for it?

look
[Android General] wlryss:
I have Android 9 (S8+) and Night Mode (in firmware on default) doesn't join if the Theme is set. Just finished modification - Custom Background in Noti Panel, Background in QS Panel and Notifications Background. I shall test. If it is necessary to help - without problems. Only I not really well understand English and shall understand questions
[Android General] Er. Aditya:
Hi mate is there a guide for qs panel colors ?
[Android General] wlryss:
For QS Panel background color only..

Отправлено с моего SM-G955F через Tapatalk
[Android General] thereassaad:
For coloring noti app icon it's on the guide man just look where i do it & i provided another key switch for the apps icon coloring in new update , .. if you use the old guide yes it's not there but it's in new update there coloring key & switch key too ..

---------- Post added at 10:18 PM ---------- Previous post was at 10:16 PM ----------

I didn't know that i do a confused mod man , it's simple guide compare & add to your smali what i add in my smali that's it that's the logic i use it man & if it's confused guide then sorry i won't anymore waste my time to do mods or guides or even sharing it .. sorry for my confusing guide ...
[Android General] Dovanchuc7521:
I was unable to apply your lead enjoyment. It is indeed very difficult to understand

Gửi từ SM-G955F của tôi bằng cách sử dụng Tapatalk
[Android General] Grouxho:
Difficult?. Omg...

Enviado desde mi SM-G960F mediante Tapatalk

---------- Post added at 08:40 PM ---------- Previous post was at 08:33 PM ----------

I see many guys that instead of trying to undertand what a mod does or how it works they only want copy paste mods.

It is really dissapointing

Enviado desde mi SM-G960F mediante Tapatalk
[Android General] ShaDisNX255:
People go head-in first on these mods instead of doing through the trouble of learning the basics of smali. I myself am guilty of this but I always try my best to learn something new every day. I may know the basics, but I know that I have a long way to go.

My method of learning is practice over reading, so that's mainly my fault :highfive:
[Android General] Grouxho:
If you only do so, it will take you very long to undertand why global actions texts colors have got that delay...

Enviado desde mi SM-G960F mediante Tapatalk
[Android General] ShaDisNX255:
I usually read this guide: https://xdaforums.com/galaxy-s2/dev...de-understanding-creating-smali-mods-t2488033

I've been re-reading it for a couple of weeks now, I learn something new every day. But idk if there is a newer guide that can teach the basics a little bit clearer. I feel like this guide may be out-dated and newer discoveries have been made :o
[Android General] TheDevelopper:
Hi everyone! Today I wanna share with you something special for any custom Galaxy S9/Note8/S8_+/S7_Edge ..Samsung rom user, so to be clear I have found the secret of the Galaxy S10's fast app launching, it's in the "dvfs" policy profile that is located in system/framework/framework-res.apk/res/raw, for the Galaxy S10, it uses ""dvfs_policy_exynos9610_xx.xml" for the Exynos variant and there are also the same values that the snapdragon model uses as well, so I just took the Exynos one.

To port it to your framework-res.apk you need to know first of all how your device "dvfs" policy profile is defined in /system/framework/services.jar/smali/com/android/server/SsrmService.smali you will find something like this:

.filed public static final
DVFS_FILENAME : Ljava/lang/String =
"your device dvfs policy"

In my case it is like this running Galaxy S9+ port on my SM-G9350 Galaxy S7 edge :

.filed public static final
DVFS_FILENAME : Ljava/lang/String =
"dvfs_policy_sdm845_xx.xml"

So, what you need to do is to rename the dvfs policy xml file of the Galaxy S10 to the one of your device dvfs policy xml file name, in my case I renamed "dvfs_policy_exynos9610_xx.xml" to "dvfs_policy_sdm845_xx.xml", once done take your device framework-res.apk and use something like 7zip to open the app (you don't need to decompile it and the xml file is not encoded) then scroll to /res/raw ..and place the dvfs xml file that you renamed and overwrite the original one. Notice that you can modify the dvfs xml file and change the defined CPU frequencies according to your device's kernel ones and set them compared with the S10 ones and make the across to be similar.

That all and enjoy the fastest ever app launching experience, the xml file is attached below.
[Android General] JesseBenson:
No such smali :( i looked in services.jar im on note9pie so what can be my dvs policy? So i can search entire services.jar

---------- Post added at 04:04 PM ---------- Previous post was at 03:56 PM ----------

please share the guide for custom and qs panel ??,You are doing really great bud. Thanks in advanve
[Android General] wlryss:
Thanks... I shall mark that to achieve approximately such effect as on screenshots - it is necessary to carry out about 5-6 instructions sequentially. And I didn't complete something yet.
[Android General] JesseBenson:
Alright. No problem I'll wait
[Android General] AttoR:
This is oreo or pie sir...?
[Android General] JesseBenson:
Pie ?
[Android General] JesseBenson:
Also share the custom bg and colouring guide for qs panel bud thanks for this really appreciate it
[Android General] :
Hello

Thanks a lot for sharing dear friend :D, works perfectly :good:
[Android General] Carotix:
yeah!! i got everything thanks guys

if someone want to change the notifications background (with image or colors) on fly , tell me
[Android General] JesseBenson:
I want to change tell please
[Android General] Carotix:
PIE - Guide to change Notifications Background with or without Rom Control

everyting in the zip file

Download guide
[Android General] JesseBenson:
This is very incredible can you give rc lines for 6th gear? And how about matrix effect there
[Android General] filchi756:
Mate do you by any chance have a guide to color the qs toggles and statusbar icons? Please post if you have.
[Android General] Carotix:
no sorry , i haven't made it

i realized everything step by step in a few days
[Android General] thereassaad:
Hi

Isn't this broken the noti panel carrier ? Because i see u replace the logic for noti panel carrier there with the device info , which is can be done in different way btw ..

Edit :: sorry for qouted whole guide but this reply is from phone so sorry [emoji58]
[Android General] wlryss:
I made at first on another (but the same status_bar_expanded.xml) and I had carrier label in noti panel (with regulation of color), but in that case Device Info was periodically displayed on the Lockscreen through NotificationPanelView.smali. Therefore made on new guide
[Android General] thereassaad:
Yes in old way it's shown in lockscreen too but even this can fixed in NotificationPanelView.smali ,
[Android General] cnkzlyr:
[MENTION=5405448]thereassaad[/MENTION] [MENTION=6377149]yash92duster[/MENTION] how to add S8 battery icon on marshmallow grace ux roms?
[Android General] cnkzlyr:
[MENTION=6913647]Hyper.Alvi[/MENTION] bro can you share a guide for S8 battery icon on mm roms? Your s5 hyper v7 and v8 roms has it.
[Android General] ShaDisNX255:
That is done with smali. BatteryMeterView.smali I think in SystemUI/smali/com/android/systemui

You can try to port it, but you need to ask for permission obviously
[Android General] cnkzlyr:
bro only replacing the batterymeter smali will give me fc I know that. can you please instruct me to port it? for examle you needto take this id from these type files, lines with this way and you need to match it with this one.

In fact Im noob about this. :) [MENTION=5802828]ShaDisNX255[/MENTION] [MENTION=6913647]Hyper.Alvi[/MENTION] bro do you allow me to try it and can you help me if possible?

thanks in advance guys I love this forum
[Android General] ShaDisNX255:
Of course not it will not work just as simple as that. You would need to take a logcat and figure out why it is crashing, try to fix, and then repeat until you fix it
[Android General] efx7n:
How can I move to clock position left on statusbar? S7 edge oreo.

Please help me very important.
[Android General] yash92duster:
Read post 1 asap

Thread is for only mod makers and learners
[Android General] JesseBenson:
Bud 6th gear rc lines please:eek:
[Android General] a.raul:
Well, fatigue partner, ummmm

The exposed to implement the mod is what serves me, under my opninion, for the necessary information of the telephone company ...

Nor do I have the problem that the panel information, when the mod is implemented, is transferred to the blocking screen, it is seen simply and plainly, as it should be seen ...

If you, for the implementation of this mod have a better idea than the one explained by me, welcome it ...

Always and without acrimony, greetings

Well in this thread

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

and in this where you are reading these letters, you have almost all the solutions to implement modifications, it is only trying to adapt them and give yourself hits when trying, based on fcs and look where the work is poorly done ....

And in the worst case, and when you have lost a night to adapt the mod, and have no solution, exposes it here and sure that one of us, lends a hand ...

Always and without acrimony, greetings
[Android General] sanoc69:
Here

<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:defaultValue="false" android:key="enable_gear_custom_bg_notification" android:summaryOff="disabled" android:summaryOn="enabled" android:title="Activate"/>

<com.wubydax.romcontrol.v2.prefs.MyListPreference android:defaultValue="1" android:entries="@array/custom_bg_type_entries" android:entryValues="@array/custom_bg_type_values" android:key="enable_gear_custom_bg_notification" android:title="gear_custom_bg_type_notification" app:dependentValue="0"/>

<com.wubydax.romcontrol.v2.prefs.UriSelectionPreference android:key="gear_bg_image_uri_notification" android:title="Select image"/>

<com.wubydax.romcontrol.v2.prefs.MyListPreference android:defaultValue="0" android:entries="@array/crop_entries" android:entryValues="@array/crop_values" android:key="gear_bg_crop_type_notification" android:title="SetImageScalingType"/>

<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="#00000000" android:dependency="gear_custom_bg_type_notification" android:key="gear_bg_primary_color_notification" android:title="Main color"/>

<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="#00000000" android:dependency="gear_custom_bg_type_notification" android:key="gear_second_gradient_color_notification" android:title="Gradient"/>

<com.wubydax.romcontrol.v2.prefs.MyListPreference android:defaultValue="0" android:dependency="gear_custom_bg_type_notification" android:entries="@array/gradient_entries" android:entryValues="@array/gradient_values" android:key="gear_bg_gradient_orientation_notification" android:title="Orientation of the gradient"/>
[Android General] JesseBenson:
Thank you, RC crashes as soon as it opens im trying to fix will tell what happens
[Android General] Carotix:
you need to add

from

<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="#00000000"

to

<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="\#00000000"