FORUMS

[GUIDE][GB 2.3+]Add Android-N PlatLogo App To Your Device

26 posts
Thanks Meter: 46
 
Thread Closed Email Thread



SOURCE CODE AVAILABLE!
(Check At The End Of Post)


/*I 'm Not Responsible For Any Damage Of Your Phone. Take Necessary Backup If You Are Indoubt.*/
Android is the most Popular, Flexible OS at present.
The number of smarphones users are increasing day-by-day, So as the Android Users.

Apparently, Android Official Updates are not availabe for all devices. So, some of you-Well Beings, Raise Up, Develop further their device's OS, Modify, Customize, and bring up the Android-Customization to its zenith.

Well, Customizing the Android is what makes us SMILE
So, I have a good news for you all Users (Devs & Noobs both)

Today, I, Aryan or you all can call me (A.R.), proudly presenting:
THE-

Not wasting your that much precious time, lets jump on to the features:


Features:

1. All Density Support. No Matter, Whats Your Screen Size, This PlatLogo Will Surely Work Fine.

2. Customize your PlatLogo

3. Multiple Themes/Games


4. Beautiful Animations.



Requirements:


1. De-compile your framework.jar. (In some cases like some Samsung Roms, and kitkat Roms it can be framework2.jar).

2. Know how to decompile JARs

3. PlatLogo app Download From-
mod edit - links removed

(If You Need To Just Test This App, You Are Free To Download It From Above)


Procedure:

1. Decompile framework.jar

2. Go to smali/com/android/internal/app and open PlatLogoActivity.smali

3. Select all and replace it with this code:
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.aryan.nplatlogo"

const-string v4, "com.aryan.nplatlogo.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, "Install AndroidN PlatLogo By Aryan"

    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
4. Recompile framework.jar, Push it into system/framework. Set correct permissions(rw-r--r--).

5. Install My Android-N Platlogo.


Credits:
iamareebjamal
[email protected]
Droidbuster

If You Are Using This PlatLogo In Your ROM, Just Give A Credit To My Work.
If Your Liked My Work, Just Press Thanks Below

[CENTER]

-----------------------------------------------------------------------


LATEST EDIT: SOURCE CODE


mod edit - links removed
The Following 14 Users Say Thank You to aryan_ar For This Useful Post: [ View ] Gift aryan_ar Ad-Free
20th April 2016, 04:06 PM |#2  
nakul Kashyap's Avatar
Member
Thanks Meter: 9
 
More

https://youtu.be/DR2nhF3gf7E

Sent from my YU5510 using Tapatalk
20th April 2016, 05:02 PM |#3  
Senior Member
Flag Kiev
Thanks Meter: 30
 
More
thx, I wiil try
20th April 2016, 05:42 PM |#4  
Zane Kilgore's Avatar
Member
Flag Bolivia
Thanks Meter: 151
 
More
Awesome thank you
20th April 2016, 06:22 PM |#5  
Nobbienoob79's Avatar
Member
Flag Hyderabad
Thanks Meter: 19
 
More
Awesome...I will try it asap...
21st April 2016, 01:10 AM |#6  
joeBiever's Avatar
Senior Member
Flag denpasar-Bali
Thanks Meter: 129
 
More
awensome bro 😁😁😁
21st April 2016, 01:14 AM |#7  
Senior Member
Thanks Meter: 1,453
 
More
Error recompiling... Here's the log and my modded file. Can you take a look? (I changed the extension of platlogo file, bc I can't attach smali files)
Attached Files
File Type: txt framework.jar_2016-04-20-_19-57.txt - [Click for QR Code] (1.2 KB, 316 views)
File Type: txt PlatLogoActivity.txt - [Click for QR Code] (2.0 KB, 342 views)
21st April 2016, 02:53 AM |#8  
OP Junior Member
Flag Gwalior
Thanks Meter: 46
 
More
Quote:
Originally Posted by levone1

Error recompiling... Here's the log and my modded file. Can you take a look? (I changed the extension of platlogo file, bc I can't attach smali files)


Well I have solved this before,,,
i know dont know what's the exact method...a bit confused...so i m posting two methods,
try each of them,,,hope it might work.

1. Use ROM TOOL BOX,, no other tool for decompiling nd recompiling jars.
VISIT HERE
2. Open PlatLogoActivity.java, paste my code, search ".parameters", and rename it to ".param"
21st April 2016, 05:57 PM |#9  
Junior Member
Thanks Meter: 7
 
More
I got the same error while recompiling what should I do ??
22nd April 2016, 10:29 AM |#10  
Junior Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by aryan_ar

Well I have solved this before,,,
i know dont know what's the exact method...a bit confused...so i m posting two methods,
try each of them,,,hope it might work.

1. Use ROM TOOL BOX,, no other tool for decompiling nd recompiling jars.
VISIT HERE
2. Open PlatLogoActivity.java, paste my code, search ".parameters", and rename it to ".param"

Thank you now its working fine ...
22nd April 2016, 03:00 PM |#11  
Senior Member
Thanks Meter: 1,453
 
More
Quote:
Originally Posted by jayent

Thank you now its working fine ...

Which method did you use, 1 or 2? Did you just change parameter to param?
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes