yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] ShaDisNX255:
Yeah it's rebooting when I open the power menu, I can't access it at all I just get a small vibration and after about 5 seconds it gets a soft reboot without opening the power menu at all.

I'm attaching the old and new GlobalActions smali file, thank you so much for taking a look. On both I've already implemented the advanced restart menu :) that one was easy lol

My phone is MM 6.0.1 Samsung J2 Prime (G532M) running stock, partially deodexed ROM.

Thank you so much for your help I seriously can't find the error D;
[Galaxy S6 General] edzamber:
Did you mod framework-res.apk as well ? I mean add drawables, strings and arrays ?
[Galaxy S6 General] ShaDisNX255:
Yes, I added that to the phone as well
[Galaxy S6 General] cnkzlyr:
How to add ram optimizer near to brightness slider?
[Galaxy S6 General] JNTN666:
deleted
[Galaxy S6 General] AxelCC:
Es un bug...

Que rom tenes ?
[Galaxy S6 General] AxelCC:
Ok trata de aumentar tus dpi

Si lo tienes en 420 aumentalo a 480
[Galaxy S6 General] AxelCC:
Mmmm es que yo tengo el galasy s5 y pues eso se tiene que arreglar desde el framework

Intenta contactar con el desarrollador de tu rom para poder solucionar tu problema
[Galaxy S6 General] Bajanman:
Hello and thank you for posting on XDA!

In case you weren't aware, it is against XDA policy to post in any language other than English if not directly below an English translation. Please see Rule #4 as outlined HERE

If you do not speak English, you are welcome to use a free translator to do so such as http://translate.google.com

http://translation2.paralink.com/

https://www.freetranslation.com/

http://www.worldlingo.com/en_us/products_services/worldlingo_translator.html

Thank you in advance for your cooperation,

Bajanman,

Forum Moderator
[Galaxy S6 General] cnkzlyr:
Dear developers. Im trying to learn something.

Im on samsung galaxy s5 exynos stock mm Odexed debloated zipaglined rom which made by me on assayed kitchen.

Im using apktool x latest 7.3.3 on mobile.

Can anyone help me please. Dont have problems while importing framework compiling apk or recompiling. There is a problem about signature. Im trying to modify systemui dimens xml. Compiled. Signed via apktool x. But after flash systemui Im getting black background after boot, no lockscreen recents or status bar. Also tried to sign with mixplorer mix signer addon. I heard about something systemui signature needs to be fixed by replacing some files from recompiled apk to original apk. But this information is in everywhere complicated.

Can anyone tell me what to do after recompiling systemui apk step by step about the signature thing?

The other question, do I need to use zipagline button after signing apk? Why need?
[Galaxy S6 General] Eleo:
Firstly, to check whether it is signature problem or else, you need to be able to do logcat, which requires a laptop/PC to be connected to phone.

But there is one more way. You can try replace systemUI (with a root explorer like MiXplorer) while booted to ROM and then reboot systemUI (if you dont have that function directly in ROM/ROM control, there are free 3rd party apps for that in PS like this). Signature checking is done at boot. So if you replace a systemUI even with failed signature and dont reboot (only reboot systemUI, though sometimes systemUI reboots itself without manual systemUI reboot), it will still work until next reboot. If the steps above will provide you with working systemUI till next reboot, then it is only signature fail. If it will not work even after manual replacing and restart UI, then the issue is not only signature (or at least smth else other than signature).

I cant comment more without seeing your edited and stock UI apks.

Good luck.
[Galaxy S6 General] cnkzlyr:
Very great answer bro thanks much ?
[Galaxy S6 General] Eleo:
By the way, have you disabled signature verification?

Check this thread:

https://xdaforums.com/showthread.php?t=2725233&p=52060796
[Galaxy S6 General] cnkzlyr:
[MENTION=4598795]Eleo[/MENTION]

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

How to add s8 battery icon to s5 exynos stock mm rom?

How to add A7 launcher's app launch animation (zoom to app icon) to s8 launcher for mm?
[Galaxy S6 General] Eleo:
Are you using stock nougat launcher ported to MM by jjjhitel or MODded Nougat launcher by josete_1976 ported to MM by AleR95?

Hmm that was done by CraftingMod firstly... I believe he changed drawables but if he added smali too then I may not know that part.
[Galaxy S6 General] ShaDisNX255:
Hey [MENTION=4598795]Eleo[/MENTION] one question about this signature verification. I noticed that when I disable it, it is impossible to unlock via PIN/Pattern/Password. Any idea why?

Whether I input the correct or incorrect pattern/PIN/password, it always turns the screen black (as if something FCd but since the screen is locked you don't know what it is) and then it turns on again. What could it be conflicting with? Should I try to get a log cat?
[Galaxy S6 General] cnkzlyr:
It is not described bro. Is it possible to do and how for both ports?
[Galaxy S6 General] cnkzlyr:
How to change color of volume panel for samsung s5 exynos stock mm rom?

Looked in systemui colors but couldnt find. And also couldnt find a guide about it. I want to make it some transparent so I need the lines to add color hex code

Note:

I hope Im not disturbing users with frequently questions but I just learnt to modify apks succesfully (thanks devs) ? and I have many thanks to learn.
[Galaxy S6 General] edzamber:
Hi

Look here...

https://xdaforums.com/showpost.php?p=70140908&postcount=10179
[Galaxy S6 General] JNTN666:
Does anyone know how to change the color of green battery to white, or like that of the s8?
[Galaxy S6 General] JavixKGD:
It is a line in floating_feature.xml. I cant remember which one but it has battery on its title. If I come accross it I will tell u which one it is

Edit: should be this line

<SUPPORT_BATT_SAFE_CHECK>TRUE</SUPPORT_BATT_SAFE_CHECK>

Delete it, save and reboot. If it does not work. Then I dont know.

Sent from my TWIZtd N8
[Galaxy S6 General] AxelCC:
The problem are in these styles

Try to delete "Animation" in the style's names
[Galaxy S6 General] ¥ Abu ¥:
Volume panel dialog

hi guys i am wondering if there is any xml way to implement color/background image to volume panel

here is the smali way https://xdaforums.com/showpost.php?p=70140908&postcount=10179

i tried too many xml possibilities in

(systemui.apk/res/layout/volume_dialog )(systemui.apk/res/drawable/volume_dialog_background;volume_dialog_ripple_drawable) but still no luck.

i even tried background image with nearly same resolutionin(systemui.apk/res/layout/volume_dialog)
[Galaxy S6 General] AxelCC:
You already try with colors.xml ?
[Galaxy S6 General] ¥ Abu ¥:
yep for colors.xml i tried changing (system_primary_color) in (systemui.apk/res/darwable/volume_dialog_background)

but no luck
[Galaxy S6 General] ShaDisNX255:
Dude, THANK YOU VERY MUCH! This right here:

Is what kept me going, I know I could do better, I just HAD to try and wow, it was a very simple mistake. I was able to see it after reading a few guides of understanding smali files a bit more. While I do not understand the structure of smali files as a pro, or even as an advanced user, I was able to atleast understand it to a level where I can follow a guide.

This was my mistake (leaving it here for future reference maybe if people have the same problem):

The guide asks you to add this:

[COLOR="blue"]:cond_315
const-string/jumbo v4, "screenshot"

invoke-virtual {v4, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z [/COLOR]

But what I didn't pay attention to is that this is invoking v4 and v11, referenced earlier in that same step:

:cond_2cc
const-string/jumbo v4, "emergencymode"

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

move-result v4

However, in my original smali file it invokes v4 AND v12, not v11 in "emergencymode"

So I just changed all v11 to v12 in the added code and SHAZAM, that was my problem right there :)

Thank you for your assistance [MENTION=4598795]Eleo[/MENTION] :o
[Galaxy S6 General] Eleo:
I told you. When you get away and come back to it later, you look at it from a different angle that helps you to change your perspective and find the clue. When you keep on looking at same thing continuously, you stare at same thing and cannot change your perspective.

Why do you think Sherlock Holmes was playing a violin?

:D
[Galaxy S6 General] cnkzlyr:
Guys I changed some lines of colors.xml like notification_header_bg_tw and made it %85 opac on systemui apk. But I couldnt change background colors of these red marked areas. These red marked areas are not affecting by transparency. Is there any other value to change these red marked areas background colors?

How to change recents buttons background colors?

How to change volume panel bacground colors? For example white to gray?

My other question, I had changed volume panel dialog values but forgot what. How to get rounded corners for volume panel as you see in screenshot it is sharp now.

To contact easier can anyone who knows, give me file names and lines of numbered areas?
[Galaxy S6 General] Abdullah...:
for volume panel dialog round corners change notification_material_rounded_rect_radius in dimens.xml(note:it will change radius of notifications too as both uses the same value)i didnt tried but u can try redeclaring new android:radius in systemui.apk/res/drawable/volume_dialog_background.xml

---------- Post added at 02:44 PM ---------- Previous post was at 02:21 PM ----------

Volume panel dialog

hi guys i am wondering if there is any xml way to implement color/background image to volume panel

here is the smali way https://xdaforums.com/sho...ostcount=10179

i tried too many xml possibilities in

(systemui.apk/res/layout/volume_dialog )(systemui.apk/res/drawable/volume_dialog_background;volume_dialog_ripple_draw able) but still no luck.

i even tried background image with nearly same resolutionin(systemui.apk/res/layout/volume_dialog)

IN colors.xml i tried changing (system_primary_color) in (systemui.apk/res/darwable/volume_dialog_background)

but no luck
[Galaxy S6 General] cnkzlyr:
How to add charging speed and remaining time to full charge on lockscreen for s5 exynos g900h marshmallow?
[Galaxy S6 General] SXS4:
is there anyway to add fingerprint unlock effect after reboot and don't need to enter password?

because fingerprint unlock module not supports 7.0+
[Galaxy S6 General] edzamber:
Hi

Look Here...

https://xdaforums.com/showpost.php?p=68877451&postcount=3275
[Galaxy S6 General] SXS4:
thanks it look complex.. but I am afraid I will brick my device..
[Galaxy S6 General] Abdullah...:
Volume panel dialog

hi guys i am wondering if there is any xml way to implement color/background image to volume panel

here is the smali way https://xdaforums.com/sho...ostcount=10179

i tried too many xml possibilities in

(systemui.apk/res/layout/volume_dialog )(systemui.apk/res/drawable/volume_dialog_background;volume_dialog_ripple_draw able) but still no luck.

i even tried background image with nearly same resolutionin(systemui.apk/res/layout/volume_dialog)

IN colors.xml i tried changing (system_primary_color) in (systemui.apk/res/darwable/volume_dialog_background)

but no luck
[Galaxy S6 General] AxelCC:
I dont know very well how to do that but i have a idea

I think you need to put an image and set like a volumen dialog background in xml

---------- Post added at 03:58 PM ---------- Previous post was at 03:50 PM ----------

I dont know very well how to do that but i have a idea

I think you need to put an image and set as a volumen dialog background in xml
[Galaxy S6 General] Abdullah...:
i tried too many times and also with different resolution image
[Galaxy S6 General] AxelCC:
How do you change tu music notification background and the qs panel background ?
[Galaxy S6 General] Abdullah...:
[MENTION=4714483]daxgirl[/MENTION] how can i add an app launch when clicked on ImageView/TextView is anything like this possible

<TextView android:background="@drawable/ripple_drawable" android:focusable="true" android:clickable="true" android:textSize="18.0dip" android:textColor="@color/qs_edit_panel_summary_color" android:gravity="center" android:id="@id/quickpanel_summary_text" android:layout_width="fill_parent" android:layout_height="@dimen/qs_summary_height" android:text="@string/quickpanel_long_preesed_description" android:fontFamily="samsung-neo-num3T" >

<intent android:targetPackage="com.keramidas.TitaniumBackup" android:action="android.intent.action.MAIN" android:targetClass="com.keramidas.TitaniumBackup.MainActivity" />

</TextView>
[Galaxy S6 General] cnkzlyr:
[MENTION=4507636]edzamber[/MENTION] can this work on s5 mm ui?
[Galaxy S6 General] edzamber:
Hi

I think yes.

Try and let me know.
[Galaxy S6 General] cnkzlyr:
Bro I will try. Can you also check this ss. I want to make all noti panel transparent but some areas are still opac. Can you tell me the areas' lines on colors.xml?

Also edit button is not working I changed ro.build.scafe lines on build.prop
[Galaxy S6 General] cnkzlyr:
I need Number 1 3 4 5 5 and 7
[Galaxy S6 General] edzamber:
Theses are in smali from framework.jar into notificationbuilder.smali and some others ones

https://xdaforums.com/showpost.php?p=62296264&postcount=2744

Or Here

https://xdaforums.com/showpost.php?p=68228680&postcount=9059

For edit button i don't know on MM
[Galaxy S6 General] carlosggb:
Good evening guys!

Was away for awile myself.

One question, i dumped the oreo rom (8.1) and was able to deodex the app and priv-app folder only (framework folder gives error)

Can i use the deodexed app and priv-app with an odexed framework folder or is there a workaround to deodex it?

Thanks in advance
[Galaxy S6 General] cnkzlyr:
Hey Im using s5 exynos. I edited toggle colors to red. It worked. But when I changed ro.build.scafe to macchiato from americano, they changed to dimmed green again. When I edit build prop again to americano or mocha they turns to red.

I want to use macchiato bcoz of its animations and wifi name under toggle.

How can I apply red icons for this macchiato scafe

and how to edit button?

How to fix wifi connection strength in wifi toggle?
[Galaxy S6 General] alirezaanik:
hey bro pls guide me how can i do it on my old TouchWiz samsung Galaxy a7 exynos.

which link u should follow
[Galaxy S6 General] ShaDisNX255:
May I ask what tutorial you are using or were using?
[Galaxy S6 General] cnkzlyr:
Not a tutorial bro. A s5 developer Hyper alvi has a n7 port rom for s5. Asked him. He said take batterymeter files and match some ids etc... but I dont know how to match ids
[Galaxy S6 General] ShaDisNX255:
Huh, I always thought it was all about taking the battery icons and just replacing the stock ones. Do you know what the batterymeter files are? Smali files?
[Galaxy S6 General] ANDROIDXFOREVER:
hi bro thanks for guide but for add button telegram page from settings android 7.1.1? thanks
[Galaxy S6 General] cnkzlyr:
Batterymeter files are in smali folder but Im very noob about smalis so I couldnt do it. Im always running away when see a guide that contain smali edit ?
[Galaxy S6 General] edzamber:
Hi

Try this

https://xdaforums.com/showpost.php?p=76672397&postcount=181
[Galaxy S6 General] cnkzlyr:
Im using s5 g900h and 6.0.1 a8 2016 port rom I have 2 questions.

1- How to add more languages that is missing on a ported rom?

2- There is a youtube fc bug in all versions, (also vanced) getting fx after play any video. (Asked without log bcoz it may be a common possible issue on ported roms, if required I can take log later)

Thanks in advance.
[Galaxy S6 General] LuanTeles:
how to add apps link in settings N and Oreo,i forgot how
[Galaxy S6 General] Eleo:
This thread is for android 6.0 mods. Please follow oreo mods thread:

https://xdaforums.com/android/general/guides-android-8-0-oreo-mods-thread-t3772017/post76672397
[Galaxy S6 General] cnkzlyr:
[MENTION=6681786]sheard[/MENTION] [MENTION=4596062]asc1977[/MENTION] [MENTION=4598795]Eleo[/MENTION] Hi devs. [MENTION=4507636]edzamber[/MENTION]

Thank you for guides.

I have s5 exynos mm stock deodexed rom and my edited ui.

I followed the mentioned guide step by step and got fc.

Copied files to systemui/smali after decompile

Then edited status_bar.xml(see attachment) and recompiled

Then moved status_bar.xml and classes.dex to original apk and copied the result apk to system privapp systemui path

What can be the problem? No issues about recompiling, used apktool x.

Can problem about my device s5? [MENTION=2174044]Many40[/MENTION] bro u have s5 how can I add network traffic do u have any idea?

If this seperated not possible, only download speed meter is also enough for me.

Note: I dont have pc so I cant take log of FC :(

Thanks in advance
[Galaxy S6 General] ANDROIDXFOREVER:
hi all i want any help o guide for add scroll animation from android nougat o oreo thanks for any help
[Galaxy S6 General] Eleo:
I believe [MENTION=5405448]thereassaad[/MENTION] already wrote to you to look for listview on nougat. You can head to [MENTION=5829833]a.raul[/MENTION]'s post on tw mods thread (this thread is rather for TW mods for MM Android 6.0.1) and if you need to add it to secsettings rather than to ROM Control, you will need to follow the discussion on that topic with [MENTION=4265336]stangdriver[/MENTION] and [MENTION=4691155]renzetti.s[/MENTION]
[Galaxy S6 General] JavixKGD:
So, I am not the best modder in town, that is for sure, but, have you added the invoke to this method like so...

.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
........
........
.........
move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setNotiSettDoneBottomColor()V

If you did not add the invoke then, for any effect, it is as if that method does not exist in the smali, hence why there are no changes. If it is not there, then add it in the same place you invoked previous mod methods inside that method. If the invoke is there, then I really dont know what else to give you.
[Galaxy S6 General] ShaDisNX255:
I kinda knew I was missing something, I was trying to base myself on other MODs where I also implemented a color picker, but I crashed the UI so many times I decided it would be better to ask for assistance.

But yeah, placing the invoke-virtual would be my next step I guess, but I really wouldn't know if it needs to be placed in a specific spot. I usually see these types of codes placed before a return-void, but I am still new to this and haven't implemented that many things o:

---------- Post added at 03:46 PM ---------- Previous post was at 03:28 PM ----------

HOLY MOLY, IT WORKED!!!

Yes, I was missing this piece of information. I placed it similar to where other MODs asked me to place them

Taking a cue from this tutorial

I placed it right here:

Thanks [MENTION=6666032]JavixKGD[/MENTION] !!!!! I hope this is usefull to other people :)
[Galaxy S6 General] JavixKGD:
Ok so this is to give you the general idea of where these mods should be put in inside the method I just told you, there are some examples of some of the mods I used in MM UIs in some of my roms. So look in .method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView; and scroll down till you see something familiar to this, and add the changes in blue.......

const-string v5, "display_battery_percentage"

invoke-static {v5}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;

move-result-object v5

const/4 v6, 0x0

move-object/from16 v0, p0

iget-object v8, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryTextObserver:Lcom/android/systemui/statusbar/phone/PhoneStatusBar$BatteryTextObserver;

invoke-virtual {v4, v5, v6, v8}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V

move-object/from16 v0, p0

iget-object v4, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryTextObserver:Lcom/android/systemui/statusbar/phone/PhoneStatusBar$BatteryTextObserver;

const/4 v5, 0x0

invoke-virtual {v4, v5}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$BatteryTextObserver;->onChange(Z)V

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

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setNotiSettDoneBottomColor()V[/COLOR]

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->header_clock_on_off_toggles()V

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setHeaderClockDateColor()V

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setAllBgColor()V

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setBatteryTextColor()V

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->HideStockBattery()V

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->HideKeyguardStockBattery()V

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->Settings_on_off_toggles()V

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->updateNextAlarmView()V

move-object/from16 v0, p0

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->updateSignalPosition()V

invoke-virtual {v0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setBatteryTypeView()V

Now, like I said, this is just to give you the general idea. It could change depending on what UI you are using. Hope this helps bud!
[Galaxy S6 General] ShaDisNX255:
I was so eager to try I hurried and tried it :)

Thanks so much dude, your help really made my day :D
[Galaxy S6 General] JavixKGD:
So, did it work? Yeah if you have a move already there, you dont really need to keep adding more, unless you were a newbie like me when I started making those roms. But essentially that is the idea, each mod needs to be invoked somehow. Glad I could help out

---------- Post added at 08:59 PM ---------- Previous post was at 08:57 PM ----------

You are writing back faster than I respond, hahahaha. Glad it worked bud. Now, all you need to do is implement gear observer or phonestatusbar$settingsobserver to make these changes on the fly. Keep looking around, there is much to learn and do