5,598,542 Members 44,614 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Changing Plat Logo and Text - Easter Egg (JB)

Tip us?
 
RaphaDroid
Old
(Last edited by RaphaDroid; 3rd December 2013 at 02:05 PM.)
#1  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
Default [GUIDE] Changing Plat Logo and Text - Easter Egg (JB)

Guys, I know there's a thread about this here, but that guide is about Gingerbread, and if any of you go to the file mentioned there, you'll see that its completely different.

What you'll need

Tools

I made it using Virtuous Ten Studio, but you can use whatever you want. If you prefer, you can take a look here and choose the tool that best fits in your needs.

Files
  • /system/app/SystemUI.apk
  • /system/framework/framework-res.apk
  • /system/framework/framework.jar

Let's start!

Changing the Plat Logo

This one is pretty much the same, go to framework-res.apk/res/drawable-nodpi/ to change the platlogo.png and platlogo_alt.png, and you can head to SystemUI.apk/res/drawable-nodpi/ to change the jandycane.png, redbean0.png, redbean1.png, redbean2.png and redbeandroid.png.

Changing the Text
For this example, I'll use the lines on 4.2.2 Sammy ROMs. If you are on another build/version, the lines should be like this:
  • 4.2.2 Sammy -> 151, 157 and 198
  • 4.3.1 AOSP ->182, 188 and 238

But I higly suggest you to not do it based on the line numbers, but in the line itself. Here are how the lines should look like:
Code:
1st -> const-string v9, "Android "
2nd -> sget-object v9, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
3rd -> const-string v8, "JELLY BEAN"
1st step: Decompile framework.jar
2nd step: Head to com/android/internal/app/PlatLogoActivity.smali

Go to line 151, the line will be like this:

Code:
const-string v9, "Android "
Here you can change the "Android " text for whatever you want. Note the space (" ") between the word "Android" and the right quote, that's what divides the sentence "Android" from "4.2.2".

e.g.
Code:
const-string v9, "RaphaDroid "
Now go to line 157 and see that things will get a little bit complicate:

Code:
sget-object v9, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
The command sget-object is "calling" a variable somewhere in the file. But we can change it to const-string, just like in line 151. ** I've tried to delete the lines that I thought were responsible for this line, but (probably due to my lacking smali habilities) the phone got into a bootloop. **

e.g.
Code:
const-string v9, "v1.0"
Now head to line 198 and you'll have this:

Code:
const-string v8, "JELLY BEAN"
Here is just like the line 151. Change the JELLY BEAN text for whatever you want.

e.g.
Code:
const-string v8, "TUTORIAL"
Since this line is located under the other ones, there's no need to add space (" ").

Video tutorial (in portuguese, but it's easily understandable)[/indent]
Editando o arquivo framework.jar (Galaxy S3) - Editing framework.jar file (Galaxy S3)

Mission accomplished!

After changing everything you want, just copy/paste your apks and framework.jar in the right place, give permissions "-rw-r--r--" and reboot!

Result

Here we have the result of what we've done.



** The words "RaphaDroid" and "v1.0" are divided by that space (" ") that we've added in line 151 **

Please...

All I'll ask you, is that if you are going to change something in your ROM because of this guide, just mention me somewhere in your thread. It helps me A LOT!

Thanks!

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

Thanks to...

DanielBT for his tutorial in BrasilDroid for editing Plat Logo and Text in Gingerbread

Original guides in BrasilDroid can be found here: for Gingerbread by DanielBT and for Jelly Bean by me.
The Following 15 Users Say Thank You to RaphaDroid For This Useful Post: [ Click to Expand ]
 
RaphaDroid
Old
(Last edited by RaphaDroid; 5th November 2013 at 02:23 PM.)
#2  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
reserved
The Following User Says Thank You to RaphaDroid For This Useful Post: [ Click to Expand ]
Zpik Old
#3  
Guest
Thanks Meter
Posts: n/a
really it works for all aosp roms, just different line numbers. I used this guide with N7 no issues. You should post this in xda android theme section too, its extremely useful
 
RaphaDroid
Old
(Last edited by RaphaDroid; 5th November 2013 at 02:19 PM.)
#4  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
Quote:
Originally Posted by Zpik View Post
really it works for all aosp roms, just different line numbers. I used this guide with N7 no issues. You should post this in xda android theme section too, its extremely useful
Lol
I tried to edit but got into a bootloop. @Zpik, could you tell the lines you used?

Thanks!

Edit: I posted here cause because I wasn't sure it was going to work on other devices.

 

ROM: OmniROM

ROM: 4.1.2 Stock unrooted (just like a rehab)
 
zamzameir
Old
#5  
zamzameir's Avatar
Senior Member
Thanks Meter 138
Posts: 201
Join Date: Sep 2013
Location: Kuala Lumpur

 
DONATE TO ME
can someone help me for this?Im totally noob for this :')

Sent from my Galaxy Nexus using XDA Premium 4 mobile app

Google Nexus⁴
Galaxy Nexus

" Nexus ; lead the way "
The Following User Says Thank You to zamzameir For This Useful Post: [ Click to Expand ]
 
RaphaDroid
Old
#6  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
Quote:
Originally Posted by zamzameir View Post
can someone help me for this?Im totally noob for this :')

Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Looking at framework.jar inside crDroid AOSPA, I guess you could try this method in lines 182, 188 and 238 (at least in mako). But in CM-based ROMs, I have no clue on what could it be...
There are so many possibilities and I don't know smali... lol

 

ROM: OmniROM

ROM: 4.1.2 Stock unrooted (just like a rehab)
 
zamzameir
Old
#7  
zamzameir's Avatar
Senior Member
Thanks Meter 138
Posts: 201
Join Date: Sep 2013
Location: Kuala Lumpur

 
DONATE TO ME
Quote:
Originally Posted by RaphaDroid View Post
Looking at framework.jar inside crDroid AOSPA, I guess you could try this method in lines 182, 188 and 238 (at least in mako). But in CM-based ROMs, I have no clue on what could it be...
There are so many possibilities and I don't know smali... lol
luckily I'm in paranoid android rom.. can you help me with it? I'll post my framework. jar

Sent from my Galaxy Nexus using XDA Premium 4 mobile app

Google Nexus⁴
Galaxy Nexus

" Nexus ; lead the way "
The Following 2 Users Say Thank You to zamzameir For This Useful Post: [ Click to Expand ]
 
zamzameir
Old
#8  
zamzameir's Avatar
Senior Member
Thanks Meter 138
Posts: 201
Join Date: Sep 2013
Location: Kuala Lumpur

 
DONATE TO ME
Quote:
Originally Posted by zamzameir View Post
luckily I'm in paranoid android rom.. can you help me with it? I'll post my framework. jar

Sent from my Galaxy Nexus using XDA Premium 4 mobile app
no need I finally got it working here.. thanks for the tutorial
The Following 2 Users Say Thank You to zamzameir For This Useful Post: [ Click to Expand ]
 
RaphaDroid
Old
#9  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
Quote:
Originally Posted by zamzameir View Post
luckily I'm in paranoid android rom.. can you help me with it? I'll post my framework. jar

Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Quote:
Originally Posted by zamzameir View Post
no need I finally got it working here.. thanks for the tutorial
Great! I'm very happy for you!

Cheers!


Sent from my

 

ROM: OmniROM

ROM: 4.1.2 Stock unrooted (just like a rehab)
The Following User Says Thank You to RaphaDroid For This Useful Post: [ Click to Expand ]
 
RaphaDroid
Old
(Last edited by RaphaDroid; 6th November 2013 at 12:07 PM.)
#10  
RaphaDroid's Avatar
Senior Member - OP
Thanks Meter 351
Posts: 680
Join Date: Dec 2012
Location: São José
I changed the first post to get it more widespread and cover more devices/versions. Could some Mod move it to a more general theming area?

Thanks!

 

ROM: OmniROM

ROM: 4.1.2 Stock unrooted (just like a rehab)

The Following User Says Thank You to RaphaDroid For This Useful Post: [ Click to Expand ]
Tags
easter egg, guide, jelly bean, platlogo, text
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes