FORUMS
Remove All Ads from XDA
Honor 9 Lite

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

737 posts
Thanks Meter: 721
 
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)
-> Marshmallow.zip (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.
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, "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
    :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, "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 Platlogo.zip' using CWM or other recovery (Available in the Download link gicen below)


Downloads and Credits : http://www.romclaims.com/2017/09/apktool-4.1.x-how-to-add-android-marshmallow-platlogo-on-jellybean-device.html
The Following 2 Users Say Thank You to iSiddharth For This Useful Post: [ View ] Gift iSiddharth Ad-Free
 
 
24th September 2017, 10:27 PM |#2  
iSiddharth's Avatar
OP Senior Member
Flag Indore
Thanks Meter: 721
 
Donate to Me
More
[RESERVED]
[RESERVED]
The Following User Says Thank You to iSiddharth For This Useful Post: [ View ] Gift iSiddharth Ad-Free
25th September 2017, 06:19 PM |#3  
Maxx_Yamano's Avatar
Senior Member
Flag Thane
Thanks Meter: 46
 
More
Wow !! Interesting iSiddharth (Reserved)
31st October 2017, 03:01 PM |#4  
Senior Member
Flag syria
Thanks Meter: 24
 
More
Good work thanks you
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