yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 General] tdunham:
you did not expand your array to include new items and pointers to new conditions:

const v2, 0x7

if-eq v1, v2, :cond_6

[COLOR="Blue"] const v2, 0x8

if-eq v1, v2, :cond_7

const v2, 0x9

if-eq v1, v2, :cond_8

const v2, 0xa

if-eq v1, v2, :cond_9

const v2, 0xb

if-eq v1, v2, :cond_a
[/COLOR]

and so on until you have all items and conditions met.

Just a note, as you can see in above the letter 'a' comes after 9.

so for example after cond_9 will be cond_a, then cond_b and so on...

---------- Post added at 02:59 PM ---------- Previous post was at 02:49 PM ----------

Also, the array is sort of confusing because of the numbering.

Personally, I would renumber it so it makes more sense in case you ever need to go back and make changes:

const v2, 0x[COLOR="Red"]1[/COLOR]

if-eq v1, v2, :cond_[COLOR="Red"]0[/COLOR]

const v2, 0x[COLOR="red"]2[/COLOR]

if-eq v1, v2, :cond_[COLOR="red"]1[/COLOR]

const v2, 0x[COLOR="Red"]3[/COLOR]

if-eq v1, v2, :cond_[COLOR="red"]2[/COLOR]

to

const v2, 0x1

if-eq v1, v2, :cond_1

const v2, 0x2

if-eq v1, v2, :cond_2

const v2, 0x3

if-eq v1, v2, :cond_3

Just a personal preference, it makes it easier to read and make sense of things. So I make 0x1 match cond_1, 0x2 match cond_2 right on down... and this makes it simpler to add or modify later too.
[Galaxy S6 General] bunnys7679:
Thanks my Friend it works very well ;)

---------- Post added at 03:37 PM ---------- Previous post was at 03:17 PM ----------

It is possible great a guide to change Toogle Icon Color with Rom Control

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] rvlnic:
This features works for Note 5?
[Galaxy S6 General] ANDROIDXFOREVER:
​

What resolution did you use? and you can test your signal icons? thank you
[Galaxy S6 General] asc1977:
I think yes but i cant try. I have no note5
[Galaxy S6 General] asc1977:
There is a guide in op

Change toggle on and toggle off color
[Galaxy S6 General] asc1977:
New tool in a new thread

IconThemer

http://xdaforums.com/showthread.php?t=3388520

Try it out. Work on all S6 and S6edge variants

Without s6edge plus
[Galaxy S6 General] ANDROIDXFOREVER:
from s6edge plus not work :(
[Galaxy S6 General] asc1977:
Its only 920 and 925 variants. Not for 928.
[Galaxy S6 General] bunnys7679:
I can't find this. I mean the Wi-Fi data icon color not background color

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] SidRobo:
i used 160x70 for signal and 60x60 for wifi. it depends on your icon but the stock height is 66.

i attached my icons .
[Galaxy S6 General] nguyentankiet:
I dont flash zip. I copy it by x-plore, work with s7e systemui[emoji4]
[Galaxy S6 General] asc1977:
Thats it

http://xdaforums.com/showpost.php?p=66779411&postcount=6140
[Galaxy S6 General] bunnys7679:
The link is incorrect my Friend

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] asc1977:
i edited my post. misstake by talpatalk app
[Galaxy S6 General] nguyentankiet:
Please guide for rom control to left and right network speed
[Galaxy S6 General] ANDROIDXFOREVER:


---------- Post added at 08:00 PM ---------- Previous post was at 07:58 PM ----------

working great perfect resolution
[Galaxy S6 General] SidRobo:
do you use 3minit battery?
[Galaxy S6 General] boostermbkking:
hi [MENTION=4596062]asc1977[/MENTION] sorry for OT but I need help for my rom...

when my s7 edge g935f boot, the bootanimation (all like stock or custom, .qmg or .zip) work for 70% of the time, then appear the green background with white "Android updating" and the 2 turning gear...

how I can fix this??? it's very ugly...

thanks so much for any helps...
[Galaxy S6 General] ANDROIDXFOREVER:
Yes
[Galaxy S6 General] asc1977:
So any app trigfered that. I have this problem one time if i pushed a app like potato clock in system/privapp but i have to install it like a normal app. So i tgink same is for you
[Galaxy S6 General] asc1977:
I fixed the tool. Read how to in thread and it will work.
[Galaxy S6 General] albertmurcia:
[MENTION=4596062]asc1977[/MENTION], when reset, the signals return to the right

☆ POWERED BY REBEL ROM RS ☆
[Galaxy S6 General] gharrington:
Thanks all for looking out on this it's really appreciated.

---------- Post added at 07:54 AM ---------- Previous post was at 07:52 AM ----------

Apologie accepted mate but please be sure to read all ops before adding anyone's work to avoid the loss of such work for everyone. I now no longer create many mods because of this behavior in the past..
[Galaxy S6 General] boostermbkking:
I moved all apps that I had added in system/app and system/priv-app in data/app and did wipe cache and Dalvik cache but I have the same problem !!!

this problem appears every time I add one thing in /system or only in system/app and system/priv-app?

I do not know how to solve !!! some help?
[Galaxy S6 General] asc1977:
Dont move. You have to install it
[Galaxy S6 General] boostermbkking:
and how I make a custom rom with potato clock and other app without put in data/app?
[Galaxy S6 General] asc1977:
Common guy. Take the apk on sd card and click on it. Than the app installs. Potatoe was also the problem for me
[Galaxy S6 General] SidRobo:
hi. is it possible to put some space between signal icon and wifi icon??1
[Galaxy S6 General] nguyentankiet:
Try change width 8.0 and 6.0dip with your systemui
[Galaxy S6 General] SidRobo:
you mean in these lines?

<View android:id="@id/spacer" android:visibility="gone" android:layout_width="8.0dip" android:layout_height="8.0dip" />

<View android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />

i tested some changes but nothing happend:rolleyes::confused:
[Galaxy S6 General] asc1977:
How to fix a SystemUI.apk fc after flashing a bad SystemUI.apk and no SystemUI.apk helps

sometimes it happens that after modding a SystemUI.apk it fc after restart. The way out normally is to flash or push a working or stock SystemUI.apk to get back the phone is working.

But if you do that and restart it can be possible on MM that the normally working SystemUI.apk gives also a fc. The one way out of this is a data wipe means a clean install of rom.

Because that is not the best way because we lose data i tried and tried and find out what is to do

1. After a bad flash of SystemUI.apk flash a working SystemUI.apk on phone.

2. Reboot (normally a fc also)

3. Boot in TWRP and remove followed file data/system/users/0/runtime-permissions.xml

4. Reboot

5. All is fine and data is not gone

Hope everyone can help this sometimes !
[Galaxy S6 General] SidRobo:
you had mention it before and it really realy help me. i thanked you in that post too.:good::good:
[Galaxy S6 General] nguyentankiet:
Yes. Because i try add padding left or right not happen
[Galaxy S6 General] SidRobo:
so is there any way??:(
[Galaxy S6 General] nguyentankiet:
Very helpfull. Thank mate
[Galaxy S6 General] ANDROIDXFOREVER:
It is interesting to me if you can show me the way? thank you
[Galaxy S6 General] JonathanRAZ:
Hahaha thats the first problem i had weeks ago that i posted here i never tested this because i saw it after a clean install lol
[Galaxy S6 General] SidRobo:
sorry, about what?

Sent from hell
[Galaxy S6 General] boostermbkking:
I do a try...

I download a new firmware base, extract system with superr kitchen and deodex, so build the zip and clean flash with fully wipe, and the problem is the same...

It's hard to fix...

how can I fix this?
[Galaxy S6 General] Wuby986:
Looks like a permission issue.. check the metadata and the permission you set to apps you add.. i have 4 custom apps installed and all is good

Inviato dal mio SM-G935F utilizzando Tapatalk
[Galaxy S6 General] daxgirl:
Try adding margin.

Padding and margin are not the same thing. And if you want to add distance between two object you add margin. If you want to add distance between object and its contents, you add padding.

Of course, might need some playing around. But definitely possible.

Also, view in Android will always respect margin, and of there is no room will reduce own size, no so with padding.

---------- Post added at 10:28 PM ---------- Previous post was at 10:23 PM ----------

Where did you get so many custom apps to shove into priv-app? ???
[Galaxy S6 General] royorbs3:
You ever figure this out? I'mean pretty much in the same boat. Tried every variation in feature xml and others xml and cannot get the secondary symbols. Using crisscross rom but have language set to English
[Galaxy S6 General] SidRobo:
tnx[emoji7] . i killed myself but i couldn't do it. nothing is better than doing sth with knowledge.

Sent from hell
[Galaxy S6 General] daxgirl:
Well follow the guide and you just might live ?

Most importantly pay attention to the I'd name. I suggest use it as it is. If you change it, change it in method as well.

It's tested and working.

Also... don't be upset by it. People learn. I write methods and classes in Java and convert to smali. It's easy for me because java is a normal language and small is .. well... crap. Lol.

But the idea is that you see how it's done. And understand it. You'll get there sooner than you think of you keep trying.

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

For the pleasure of having it working...
[Galaxy S6 General] SidRobo:
oh? you misunderstand me! [emoji4]

i said i KILLED myself MAKE this mod(the toggle) befor you post it... so i died and couldn't make it.

eveyone who have eyes can add mods that others make them so adding is no problem if i could i would add it now( it's 3:37 am)

p.s. love your icons in 3minit battery

Sent from hell
[Galaxy S6 General] daxgirl:
Lol thanks ?

And goodnight, I guess ?

Now new challenge... Someone give it a custom color. Hint... not that different than what we just did. And for someone who really wants a challenge... a custom text... ? hint: it's a text view.
[Galaxy S6 General] SidRobo:
i was sleeping then i remembered something.

we can add carrier text without those smalis just use CarrierText.smali .

Sent from hell
[Galaxy S6 General] daxgirl:
Well I really didn't get into that. See, I don't use that mod. Someone (could be you?) Posted here a link to guide by Adi. So later on someone asked how to do it with toggle. So I waited for someone to do it. And decided to show how it's done. Can be applied to any view. Doesn't have to be by Adi. My method remains unchanged as long as the view has same id name.
[Galaxy S6 General] SidRobo:
Yes it was me. again tnx alot.[emoji106]

Sent from hell
[Galaxy S6 General] daxgirl:
Pleasure. Let's see how it goes for you. Don't forget to add the id to ids.xml.

See ya all tomorrow.
[Galaxy S6 General] gharrington:
[MENTION=4714483]daxgirl[/MENTION] let me know if you plan to add more battery icons I will sort you out with a username and password so you can log into my server and add them anytime thanks for your work so far...
[Galaxy S6 General] daxgirl:
Oh dear... I wish I had time for it...

I will try to get half an hour a day to make couple more and I'll let you or pas know. Thank YOU!
[Galaxy S6 General] gharrington:
All good, I hear you, wish I had more time too.
[Galaxy S6 General] nguyentankiet:
They have available in my signal_cluster_view. Yours not?

---------- Post added at 09:50 ---------- Previous post was at 09:23 ----------

Below is my lock when compile. What I need to do? I can delete .parameter?

------------------------------------------------------

..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[24,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[39,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[40,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/phone/CarrierLabel$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:67)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:51)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:38)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:364)
at brut.androlib.Androlib.buildSources(Androlib.java:295)
at brut.androlib.Androlib.build(Androlib.java:278)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)

------------------------------------------------------

Edit: try delete .parameter and compile, this error

..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[48,15] no viable alternative at input 'action'
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\phone\CarrierLabel$1.smali[48,22] no viable alternative at input 'Ljava/lang/String;'
[Galaxy S6 General] ANDROIDXFOREVER:
know the way to give more space between signal icon and wifi icon thanks
[Galaxy S6 General] daxgirl:
I think you're using smali for apktool 1.5 with apktool 2.0. Could be?
[Galaxy S6 General] SidRobo:
use this smali

---------- Post added at 12:57 PM ---------- Previous post was at 12:29 PM ----------

tnx it works on th fily :D
[Galaxy S6 General] daxgirl:
Great!!! Now do some coloring and maybe even custom text ? ???
[Galaxy S6 General] ANDROIDXFOREVER:
hi i send OP see please tnx
[Galaxy S6 General] tamirda:
Look who is back to smali hacking xD[emoji12]
[Galaxy S6 General] daxgirl:
Yours truly... have the device... ???
[Galaxy S6 General] tamirda:
Haha it is nice to see that you still remember hacking , like riding on a bicycle [emoji6]
[Galaxy S6 General] SidRobo:
tnx :good::laugh:
[Galaxy S6 General] SidRobo:
see here
[Galaxy S6 General] asc1977:
But correct me if i am wrong but its easy without smali. Only take same xml line from keyguard and insert in status_bar.xml

No smalis needed. I do that many times on 5.1.1 and must also work on 6.0.1

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] SidRobo:
yes you are right but not CarrierText.smali [emoji4]because it has some problems. you should use the one in the botton of expanded notification (if its diffirent from CarrierText.smali) or useing those smalis.

Sent from hell
[Galaxy S6 General] asc1977:
No i use that from lockscreen and work well. Ithink its same like the bottom of expanded view. If you geht managed to switch it on and of and coloring for example can you write a guide for all here? That was great if you can

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] SidRobo:
the problem that i said is about sim check. now that you use CarrierText.smali when you pull out the sim you will see No Sim Card I Emergency Call Only on status bar that is too log. and for switch daxgirl did it in post #2044

and for apply on the fly i think ,as you know, you should add both adi_carrier_label and dax_sb_carrier_label in settings observer.

for color if you use CarrierText.smali the guid that you add in op will help. i tried it on [MENTION=5204709]Adi Aisiteru Reborn[/MENTION] smalis but i faild.
[Galaxy S6 General] daxgirl:
I can't see the difference between images. Did you manage to make spaces where you needed?
[Galaxy S6 General] ANDROIDXFOREVER:
Is different

---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------

to insert between the signal and wifi ??

---------- Post added at 06:28 PM ---------- Previous post was at 06:23 PM ----------

What I have to do to enter the operator between signal icon and wifi icon? thanks for help
[Galaxy S6 General] daxgirl:
Change the order of views in linear layout...
[Galaxy S6 General] ANDROIDXFOREVER:
Can you explain better thanks
[Galaxy S6 General] daxgirl:
Linear layout has 2 ways of orientation: horizontal and vertical. Here you're dealing with horizontal linear layout. That means all the children of the view group are arranged one after another from left to right. That means, t he order you put views in xml from top to bottom, is how they will appear on the screen from left to right. The first view you put into layout will be to the most left. Second right after it... and so on.
[Galaxy S6 General] SidRobo:
loL :laugh: it is just one :D my fault. i uploaded the image and copied link to message to show it big size. tapatalk shows both big :D .

i just put small space (4.0dip) and added carrier between them.
[Galaxy S6 General] ANDROIDXFOREVER:
tnx for your help
[Galaxy S6 General] rubendario067:
hello, these commands are placed where? I want to install several, but not in that file. Thanks in advance !!

CSC ?
[Galaxy S6 General] Er. Aditya:
first its rude to quote whole OP and second you have to decompile the defined apk and check those edits said here :o
[Galaxy S6 General] ANDROIDXFOREVER:
I tried various combinations without success . i send you OP see please tnx
[Galaxy S6 General] asc1977:
Here if anybody want to change icons on statusbar. Feel free to take what you want. Its free to use for everybody without asking for s**t permissions if you want take icons for your own work

IconThemerV3

>>>>klick here<<<<
[Galaxy S6 General] ANDROIDXFOREVER:
and hello 'can make a guide that you can share with the community'? then that would be the one for which and 'born xda tnx:D
[Galaxy S6 General] SidRobo:
hi. It still have some bugs and i'm working on it. so if it complete i will share it :o.
[Galaxy S6 General] ANDROIDXFOREVER:
nice tnx for your help:D
[Galaxy S6 General] bunnys7679:
First of all thanks for this Super Mod. A question. Is it possible in Rome Control thumbnails installed for the respective background?

Thanks in advance for an answer
[Galaxy S6 General] asc1977:
Yes there is. Go in RC thread and search. I heard any time about this
[Galaxy S6 General] bunnys7679:
Do you have a link for me my Friend?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] asc1977:
No sorry. Its on my todo list but didnt find free time till now. But if you find you can send me too
[Galaxy S6 General] SidRobo:
hi. i already test this for center clock but with this method clock is visible in lock screen status bar and i don't like it. so is there any guid or way to do this?
[Galaxy S6 General] ambasadii:
yes here provide by [MENTION=7308585]kep2008[/MENTION]

but if you use sview cover bug still exist.
[Galaxy S6 General] amtra:
I was always suffering from this kinda problem and wiped out the data many times. Thanks for Ur tip so that it can save many users data.. What that bad systemui.apk means. As we always sign the apk properly and even stock systemui gives us fC. Is there any specific reason for that. And i am facing this issue since Lollipop.

---------- Post added at 12:40 AM ---------- Previous post was at 12:37 AM ----------

Is there any way to toggle the visibility of WiFi icon on or off.
[Galaxy S6 General] asc1977:
I think the systemui writes something in the runtime file or database which make this fc.

For wifi icon no existing guide i know
[Galaxy S6 General] LuanTeles:
How to do this only to show 5 instead of a setting for rom control?
[Galaxy S6 General] nguyentankiet:
Delete item 2 3 4 and set default value 5
[Galaxy S6 General] asc1977:
Only add line const/v1 0x2

But write 0x5

I am right [MENTION=4714483]daxgirl[/MENTION] ???
[Galaxy S6 General] SidRobo:
hi again. i want to manage myself where notifications icons become invisible so i manage signal cluster not to recognize clock but how can i put a limit to show icons? for example put a limit to show icons til after clock or before that. is there any command with kind of values?
[Galaxy S6 General] kin201303:
over 5 notifications icons it have a icon

View attachment 3771082

View attachment 3771083
[Galaxy S6 General] SidRobo:
what you say is the stock i want manage it myself. you send me status bar xml with potato clock and without it,right? i think it's not related but tnx
[Galaxy S6 General] grzegorz354:
Fix

Change

Into
[Galaxy S6 General] edzamber:
Well done [emoji2]
[Galaxy S6 General] buiducphuc:
I can not open the jar file on the phone, asking me to do? Thank you very much !!
[Galaxy S6 General] bunnys7679:
Have someone a link to Rom Control Threat?

Thank I'm advanced

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S6 General] asc1977:
http://xdaforums.com/showthread.php?t=3146567
[Galaxy S6 General] LuanTeles:
Does anyone knows how to restore the strenght of the feedback vibration on the hardware keys,since marshmallow its to low, and vibration on clock when settings the time?

like old days of lollipop? only room out there that keeps it like before is Noble rom 3.2

and brightness too? the new custom roms has the bright so low! nano rom got it on max 255 others 115. i think its an error on adding record and screenshot to power menu, cuz every rom that has it suffer this issue
[Galaxy S6 General] ANDROIDXFOREVER:


work great from audax plus 6.0 s6edge plus
[Galaxy S6 General] SidRobo:
deleted
[Galaxy S6 General] ANDROIDXFOREVER:
excuse joker forget bye
[Galaxy S6 General] tamirda:
How did you do 6 hotseat apps? Every time i change from 5 to 6 i have big icons... which lines did you edit?
[Galaxy S6 General] ANDROIDXFOREVER:
I use small-screen proportion [emoji6]
[Galaxy S6 General] zioriky:
this is only for normal screen proportion

go to:

TouchWizHome_2016/res/values-sw360dp-h610dp-xxxhdpi-v13

Find:

<dimen name="hotseat_icon_size_4">[COLOR="Red"]58.0[/COLOR]dip</dimen>

and change to

<dimen name="hotseat_icon_size_4">[COLOR="RoyalBlue"]50.0[/COLOR]dip</dimen>

but there's a problem

I can not find the right value for the width

I changed all the values of all the folders "hotseat_cellWidth" and "hotseat_barSize"

but without result

can you help me?

Thank you
[Galaxy S6 General] asc1977:
Hi devs and modders,

can somebody please help me and add a custom text option in this smali for carrier label? i added succesful a color option but cant handle it to add a custom text option. i spend now 5 hours but always fc and no log can help me

.method updateNetworkName(ZLjava/lang/String;ZLjava/lang/String;)V
.locals 3
.param p1, "showSpn"
.param p2, "spn"
.param p3, "showPlmn"
.param p4, "plmn"

.prologue
.line 94
new-instance v1, Ljava/lang/StringBuilder;

invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

.line 95
.local v1, "str":Ljava/lang/StringBuilder;
const/4 v0, 0x0

.line 96
.local v0, "something":Z
if-eqz p3, :cond_0

if-eqz p4, :cond_0

.line 97
invoke-virtual {v1, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

.line 98
const/4 v0, 0x1

.line 100
:cond_0
if-eqz p1, :cond_2

if-eqz p2, :cond_2

.line 101
if-eqz v0, :cond_1

.line 102
const/16 v2, 0xa

invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

.line 104
:cond_1
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

.line 105
const/4 v0, 0x1

.line 107
:cond_2
if-eqz v0, :cond_3

.line 108
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v2

invoke-virtual {p0, v2}, Lcom/android/systemui/statusbar/phone/CarrierLabel;->setText(Ljava/lang/CharSequence;)V

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

iget v1, p0, Lcom/android/systemui/statusbar/phone/CarrierLabel;->mCarrierColor:I

invoke-virtual {p0, v1}, Landroid/widget/TextView;->setTextColor(I)V

.line 112
:goto_0
return-void

.line 110
:cond_3
const v2, 0x10402fd

invoke-virtual {p0, v2}, Lcom/android/systemui/statusbar/phone/CarrierLabel;->setText(I)V

goto :goto_0
.end method