FORUMS
Remove All Ads from XDA

[Tutorial][4.2+]Android L Platlogo With The Game

1,204 posts
Thanks Meter: 710
 
Post Reply Email Thread
Quote:

@mods I did not write the smali code for platlogoactivity,I got it from another forum but it was for KitKat so i edited it some changes were made to this code in order to Bring up the game and platlogo.Hope you understand.

Hello Everyone
I recently posted how to get the Z2 Battery Mod With percentage inside icon Here but I'm unhappy with no responses. But No-Problem here I have brought you another awesome Tutorial for getting the


|||| ANDROID L PLATLOGO ||||

Screenshots






Pre-Requestes

1-)Framework.jar
2-)Apktool with the knowledge of De-compiling-Re-Compiling
3-)Notepad++ for editing files.


Instructions

1-)Decompile your framework.jar
2-)Navigate to framework.jar/smali/com/android/internal/app/ and open the file PlatLogoActivity.smali with Notepad++
3-)Delete everything inside the file and copy the following code there

Code:
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source "PlatLogoActivity.java"


# direct methods
.method public constructor <init>()V
    .locals 0

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

    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .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, "areeb.xposed.eggster"

    const-string v4, "areeb.xposed.eggster.lp.PlatLogoActivity"

    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_0
    invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

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

    .line 41
    return-void

    .line 31
    :catch_0
    move-exception v0

    .line 35
    .local v0, e:Landroid/content/ActivityNotFoundException;
    const-string v2, "First install that app abhishekr700 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_0
.end method
4-)Now save the file and exit.
5-)Recompile your framework.jar and push to /system/framework
6-)Wait not yet ,you are damn excited ,but just few more moments.
Download the tw file in the attchment and push to /system/app with correct permissions
7-)Polite req that please report here if you succeed with/without screenshot .
8-)Press the THANKS button...LOL


If you face any problems Post here.
Attached Files
File Type: apk LollipopLand_signed.apk - [Click for QR Code] (2.94 MB, 188 views)
File Type: apk LollipopPlatlogo_signed.apk - [Click for QR Code] (1.22 MB, 214 views)
The Following 5 Users Say Thank You to abhishekr700 For This Useful Post: [ View ] Gift abhishekr700 Ad-Free
 
 
19th March 2015, 12:21 PM |#2  
serajr's Avatar
Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 18,483
 
Donate to Me
More
Thumbs up
Good job buddy... keep rocking!! \m/
19th March 2015, 12:27 PM |#3  
G.Pawar's Avatar
Senior Member
Thanks Meter: 113
 
More
Quote:
Originally Posted by abhishekr700

Hello Everyone
I recently posted how to get the Z2 Battery Mod With percentage inside icon Here but I'm unhappy with no responses. But No-Problem here I have brought you another awesome Tutorial for getting the


|||| ANDROID L PLATLOGO ||||

Screenshots






Pre-Requestes

1-)Framework.jar
2-)Apktool with the knowledge of De-compiling-Re-Compiling
3-)Notepad++ for editing files.


Instructions

1-)Decompile your framework.jar
2-)Navigate to framework.jar/smali/com/android/internal/app/ and open the file PlatLogoActivity.smali with Notepad++
3-)Delete everything inside the file and copy the following code there

Code:
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source "PlatLogoActivity.java"


# direct methods
.method public constructor <init>()V
    .locals 0

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

    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .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, "areeb.xposed.eggster"

    const-string v4, "areeb.xposed.eggster.lp.PlatLogoActivity"

    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_0
    invoke-virtual {p0, v1}, Lcom/android/internal/app/PlatLogoActivity;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

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

    .line 41
    return-void

    .line 31
    :catch_0
    move-exception v0

    .line 35
    .local v0, e:Landroid/content/ActivityNotFoundException;
    const-string v2, "First install that app abhishekr700 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_0
.end method
4-)Now save the file and exit.
5-)Recompile your framework.jar and push to /system/framework
6-)Wait not yet ,you are damn excited ,but just few more moments.
Download the tw file in the attchment and push to /system/app with correct permissions
7-)Polite req that please report here if you succeed with/without screenshot .
8-)Press the THANKS button...LOL


If you face any problems Post here.

Hey what is this can you tell me in detail and its work in my xperia e1


Sent from my D2105 using XDA Free mobile app
19th March 2015, 12:49 PM |#4  
abhishekr700's Avatar
OP Senior Member
Flag New Delhi
Thanks Meter: 710
 
More
Quote:
Originally Posted by G.Pawar

Hey what is this can you tell me in detail and its work in my xperia e1


Sent from my D2105 using XDA Free mobile app

When u press multiple times on ur android version in about phone then u see a animation that's the platlogo

This code has been tested on various device so it will most probably work for u
19th March 2015, 12:49 PM |#5  
abhishekr700's Avatar
OP Senior Member
Flag New Delhi
Thanks Meter: 710
 
More
Quote:
Originally Posted by serajr

Good job buddy... keep rocking!! \m/

Thanks sir!!
20th March 2015, 03:39 AM |#6  
G.Pawar's Avatar
Senior Member
Thanks Meter: 113
 
More
Quote:
Originally Posted by abhishekr700

When u press multiple times on ur android version in about phone then u see a animation that's the platlogo

This code has been tested on various device so it will most probably work for u

Ohhh thanks bro I'll try now

Sent from my D2105 using XDA Free mobile app
25th April 2015, 03:58 PM |#7  
abhishekr700's Avatar
OP Senior Member
Flag New Delhi
Thanks Meter: 710
 
More
Quote:
Originally Posted by G.Pawar

Ohhh thanks bro I'll try now

Sent from my D2105 using XDA Free mobile app

Have you tried it..

Sent from my C2305 using Tapatalk
25th April 2015, 11:41 PM |#8  
Funkmasterchilla's Avatar
Senior Member
Flag Lorient
Thanks Meter: 129
 
More
I am too lazy to do it all but thank you for your work ! If you manage to make it flashable it'd be great

D5503 UB Dstriker ROM KK.157
26th April 2015, 04:43 AM |#9  
abhishekr700's Avatar
OP Senior Member
Flag New Delhi
Thanks Meter: 710
 
More
Quote:
Originally Posted by Funkmasterchilla

I am too lazy to do it all but thank you for your work ! If you manage to make it flashable it'd be great

D5503 UB Dstriker ROM KK.157

Umm not possible... Its a mod that needs to be implemented... It cannot be made flashable

Sent from my C2305 using Tapatalk
The Following User Says Thank You to abhishekr700 For This Useful Post: [ View ] Gift abhishekr700 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes