Remove All Ads from XDA
H10 Turbo

[GUIDE] how to add Marshmallow Platlogo to your JellyBean Device

737 posts
Thanks Meter: 734
Post Reply Email Thread
This guide will tell you how you can add Marshmallow Platlogo to your JellyBean Device.

(Found it on Internet)

Requirements :
-> Android 4.1 or up
-> APK Tools (Download Here)
-> 7-zip
-> framework.jar (from System\Framework\framework.jar)
-> (Link Below)
-> Notepad++
-> Custom Recovery (eg.CWM)
-> Basic Knowledge of Decompiling, Recompiling, Flashing

Now, How to do it :

STEP 1: Decompile 'framework.jar' using APK Tools. (If you don't know how to do it, Click Here)
STEP 2: Go to '\smali\com\android\internal\app\PlatLogoActivity. smali'
STEP 3: Open 'PlatLogoActivity.smali' using Notepad++ and delete all content. and Copy the code from here down below and save the file.
.class public Lcom/android/internal/app/PlatLogoActivity;
.super Landroid/app/Activity;
.source ""

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

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

.end method

# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .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, "androstarkdeveloper.marshamlloweasteregg"

    const-string v4, "androstarkdeveloper.marshamlloweasteregg.MainActivity"

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

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

    .line 41

    .line 31
    move-exception v0

    .line 35
    .local v0, "e":Landroid/content/ActivityNotFoundException;
    const-string v2, "Error"

    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

STEP 4: Recompile the framework.jar file and place it back into the System. (Permissions : rw- r-- r--)
STEP 5: Flash the 'Marshmallow' using CWM or other recovery (Available in the Download link gicen below)

Downloads and Credits :
The Following 2 Users Say Thank You to iSiddharth For This Useful Post: [ View ] Gift iSiddharth Ad-Free
25th September 2017, 05:19 PM |#3  
Maxx_Yamano's Avatar
Senior Member
Flag Thane
Thanks Meter: 62
Wow !! Interesting iSiddharth (Reserved)
31st October 2017, 02:01 PM |#4  
Senior Member
Flag syria
Thanks Meter: 31
Good work thanks you
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes