FORUMS

How to Root the LG G4 and Install TWRP Recovery – XDA TV

A rooting method has finally been found for the flagship LG G4. In this … more

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

[TUTORIAL] [MOD] How to Add Colorey Platlogo

151 posts
Thanks Meter: 216
 
Post Reply Subscribe to Thread Email Thread
Note: Do at your own risk, I won't take responsibility


Required
  • Framework.jar
  • Deodex ROM
  • Colorey Platlogo
  • Apktool or other tool to decompile

[B]Instructions:[b]
1) Decompile Your framework.jar
2)Go in /smali/com/android/internal/app/PlatLogoActivity.smali
3)Remove All Lines
4) Add This
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.androidfire.colorey"

    const-string v4, "com.androidfire.colorey.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_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 iamareebjamal 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
5)Recompile Push to /system/framework
6)Install ColoreyPlatlogo as Normal App
7)Reboot Your Phone
8)Go to Settings\About Section
9)Click 3.x Times on Android Version Shake Your Phone

Credits:
iamareebjamal
Attached Files
File Type: apk ColoreyPlatlogo.apk - [Click for QR Code] (271.3 KB, 55 views)
Last edited by AndroidFire; 25th July 2014 at 11:41 AM. Reason: Changing The Title
The Following User Says Thank You to AndroidFire For This Useful Post: [ View ]
 
 
20th July 2014, 12:32 PM |#2  
AndroidFire's Avatar
OP Senior Member
Flag Looking for it
Thanks Meter: 216
 
More
Reserved
20th July 2014, 03:19 PM |#3  
GSculerlor's Avatar
Senior Member
Flag Malang
Thanks Meter: 86
 
More
Could you give some SS of your work ?
20th July 2014, 06:47 PM |#4  
Member
Flag Surakarta, Indonesia
Thanks Meter: 11
 
More
Nice share bro
21st July 2014, 12:48 AM |#5  
AuliaYF's Avatar
Senior Member
Flag Bekasi, Indonesia
Thanks Meter: 183
 
More
wanna see first before decompile? try this
Quote:

>adb shell
>am start -n com.androidfire.colorey/.PlatLogoActivity

The Following User Says Thank You to AuliaYF For This Useful Post: [ View ]
21st July 2014, 03:29 AM |#6  
AndroidFire's Avatar
OP Senior Member
Flag Looking for it
Thanks Meter: 216
 
More
Quote:
Originally Posted by SHA20

Nice share bro

Don't need To Say Anything just press
The Following User Says Thank You to AndroidFire For This Useful Post: [ View ]
21st July 2014, 05:10 AM |#7  
Member
Flag Surakarta, Indonesia
Thanks Meter: 11
 
More
Quote:
Originally Posted by AndroidFire

Don't need To Say Anything just press

Ok sir
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes