TUTORIAL Smarters hide any name text box

betotun

Well-known member
Joined
May 28, 2021
Messages
361
Awards
4
Offline
In days past someone asked how to hide the any name box in "smarters" he found a way but he never shared the information, I started to investigate and found a tutorial on how to do it, it was very difficult to understand for beginners, that's why based on that tutorial find a way to make it easier for you

 
Last edited:

ReaperDevil7

Well-known member
Joined
Aug 23, 2021
Messages
557
Awards
3
Offline
In days past someone asked how to hide the any name box in "smarters" he found a way but he never shared the information, I started to investigate and found a tutorial on how to do it, it was very difficult to understand for beginners, that's why based on that tutorial find a way to make it easier for you

*** Hidden text: cannot be quoted. ***
*** Hidden text: cannot be quoted. ***
followed these steps and still getting the ANY NAME as logged in user
 

ReaperDevil7

Well-known member
Joined
Aug 23, 2021
Messages
557
Awards
3
Offline
In days past someone asked how to hide the any name box in "smarters" he found a way but he never shared the information, I started to investigate and found a tutorial on how to do it, it was very difficult to understand for beginners, that's why based on that tutorial find a way to make it easier for you

*** Hidden text: cannot be quoted. ***
*** Hidden text: cannot be quoted. ***
where is the public.xml again if using mt manager
 

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
491
Awards
4
Offline
Does anyone know these invoke values to be changed for Smarters v4 ?
 

credibletv

Well-known member
Joined
Jul 31, 2022
Messages
142
Awards
3
Offline
Does anyone know these invoke values to be changed for Smarters v4 ?
No it is still sameyou can hide it with same method, but if you are doing in 4.1 it have multiple system files you need to identify which one is effecting your main functions.
 

MrAnhell

Well-known member
Joined
Jul 24, 2021
Messages
317
Awards
3
Offline
You can Possibly just fill in with empty spaces and hide either in Dex or XML somewhere.
 

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
491
Awards
4
Offline
No it is still sameyou can hide it with same method, but if you are doing in 4.1 it have multiple system files you need to identify which one is effecting your main functions.
Thank you for the reply @credibletv

All "rl_name" boxes are set to gone, and focusable=false

I edited the loginactivity smali to v1, v2 and v0, v4 but the numbers here in this guide did not correspond to what I was seeing in my loginactivity

Also change setHint to setText

No dice :(

Any ideas
 

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
491
Awards
4
Offline
I'm pretty sure I'm looking at the right code, lol


Code:
const v7, 0x7f14008a

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/nst/iptvsmarterstvbox/view/activity/LoginActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0, v4}, Landroid/widget/EditText;->setVisibility(I)V

    iget-object v0, p0, Lcom/nst/iptvsmarterstvbox/view/activity/LoginActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setVisibility(I)V

    iget-object v0, p0, Lcom/nst/iptvsmarterstvbox/view/activity/LoginActivity;->e:Landroid/widget/EditText;

    invoke-virtual {p0}, Lb/b/k/c;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    invoke-virtual {v6, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/nst/iptvsmarterstvbox/view/activity/LoginActivity;->password_full:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/nst/iptvsmarterstvbox/view/activity/LoginActivity;->rl_name:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V
 

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
491
Awards
4
Offline
I sorted it out guys, thank you, had to change it in LoginActivityOneStream, as well as Stalker
 
Top