Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,775 Members 40,906 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] [MOD] SCen Easter Egg For Samsung Galaxy Y GT-S5360

Tip us?
 
GalKill
Old
(Last edited by GalKill; 9th June 2014 at 04:12 AM.)
#1  
GalKill's Avatar
Senior Member - OP
Thanks Meter 231
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Default [GUIDE] [MOD] SCen Easter Egg For Samsung Galaxy Y GT-S5360

Hello' today, I brought a new Platlogo, named SCen Easter Egg. It's made by my friend ,Salim Shadman

Requirements:

1. A good working brain :P
2. Know how to decompile/recompile
3. Platlogo app ( link : HERE !!! )
4. Framework.jar

Instructions:

1. Install the Platlogo app (if it show app not installed then install it after you push your modified framework.jar)
2. Decompile your Framework.jar (don't know how to ? HERE !!! )
3. Go to smali/com/android/internal/app/PlatLogoActivity.smali
4. Open the PlatLogoActivity.smali
5. Remove all lines
6. Add this :

Code:
Select Code
.class public Lcom/android/internal/app/PlatLogoActivity;

.super Landroid/app/Activity;

.source "PlatLogoActivity.java"



# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 12
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .registers 7
    .parameter "savedInstanceState"

    .prologue
    .line 16
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 18
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.MAIN"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 19
    .local v1, intent:Landroid/content/Intent;
    new-instance v2, Landroid/content/ComponentName;

    const-string v3, "com.shadman.sensor.platlogo"

    const-string v4, "com.shadman.sensor.platlogo.SensorPlatlogo"

    invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 23
    :try_start_16
    invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_19
    .catch Landroid/content/ActivityNotFoundException; {:try_start_16 .. :try_end_19} :catch_1d

    .line 39
    :goto_19
    invoke-virtual {p0}, Lcom/android/internal/app/PlatLogoActivity;->finish()V

    .line 41
    return-void

    .line 31
    :catch_1d
    move-exception v0

    .line 35
    .local v0, e:Landroid/content/ActivityNotFoundException;
    const-string v2, "First install that app Salim Shadman told you to!"

    const/4 v3, 0x0

    invoke-static {p0, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    goto :goto_19
.end method
7. Recompile your Framework.jar
8. Push via Rootex and set the permission rw-r-r
9. Done !

Screenshot :



Source : HERE !!!

Blog HERE !!!

Credits:
Salim Shadman (Main Maker)
IamAreebAjmal (PlatlogoSmali)

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
The Following 2 Users Say Thank You to GalKill For This Useful Post: [ Click to Expand ]
 
EpullSalvatrucha
Old
#2  
EpullSalvatrucha's Avatar
Senior Member
Thanks Meter 15
Posts: 126
Join Date: Feb 2014
Location: Muar, Johor
Quote:
Originally Posted by GalKill View Post
Hello' today, I brought a new Platlogo, named Sensor Platlogo. It looks like compass.
what you mean "LOOKS LIKE COMPASS" ?
its not a real compass?
XDA SENIOR MEMBER

I LEARN, I DEVELOPE, I SHARE
The Following User Says Thank You to EpullSalvatrucha For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#3  
GalKill's Avatar
Senior Member - OP
Thanks Meter 231
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Quote:
Originally Posted by EpullSalvatrucha View Post
what you mean "LOOKS LIKE COMPASS" ?
its not a real compass?
Sorry ,it is a real one, I will fix it

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
The Following User Says Thank You to GalKill For This Useful Post: [ Click to Expand ]
 
GalKill
Old
#4  
GalKill's Avatar
Senior Member - OP
Thanks Meter 231
Posts: 310
Join Date: Oct 2013
Location: Reim Empire :P
Update : The app isn't signed, so I upload the signed one Check it!!

IT'S NOT ABOUT RECOGNITION OR
THE NUMBER OF THANKS YOU
RECEIVE, IT'S ABOUT THE
CONTRIBUTION YOU GIVE TO THE
COMMUNITY.
The Following User Says Thank You to GalKill For This Useful Post: [ Click to Expand ]
Tags
easteregg, mods
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes