Quantcast
Channel: xda-developers - Android Themes
Viewing all articles
Browse latest Browse all 4090

[GUIDE]How To Replace Standered Platlogo With Lollipop Platlogo

$
0
0
HELLLO EVERYONE!! I AM BACK WITH MY GUIDE WHICH WILL HELP ALL THE NOOBS IN REPLACING THE STANDERED PLATLOGO WITH THE LATEST LOLLIPOP PLATLOGO......:D
REQUIREMENTS
  • Apktool
  • Java Runtime Environment
  • Java Development Kit
  • Notepad++
  • A WORKING BRAIN!! :p
LETS GET STARTED.....
  • Decompile Framework.jar
  • goto framework.jar.out\smali\com\android\internal\app
  • Open PlatLogoActivity.xml
  • Replace The Whole Code With Mine
    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
        .param p1, "savedInstanceState"    # Landroid/os/Bundle;

        .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 Chetan 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

  • Save The XML
  • Recompile The Framework
  • Now Download The 2 APK's From Attachments And Install Them Before Pushing The Framework
  • Push The framework.jar To Device
  • ENJOY!!;)
AND THE MOST IMPORTANT THING..............HIT THANKS IF YOU LIKE M WORK!!:D


Viewing all articles
Browse latest Browse all 4090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>