[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
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.
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 you can head to SystemUI.apk/res/drawable-nodpi/
to change the jandycane.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:1st step:
- 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:
1st -> const-string v9, "Android "
2nd -> sget-object v9, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
3rd -> const-string v8, "JELLY BEAN"
Head to com/android/internal/app/PlatLogoActivity.smali
Go to line 151
, the line will be like this:
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".
const-string v9, "RaphaDroid "
Now go to line 157
and see that things will get a little bit complicate:
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. **
const-string v9, "v1.0"
Now head to line 198
and you'll have this:
const-string v8, "JELLY BEAN"
Here is just like the line 151. Change the JELLY BEAN text for whatever you want.
const-string v8, "TUTORIAL"
Since this line is located under the other ones, there's no need to add space (" ").
(in portuguese, but it's easily understandable)[/indent]
Editando o arquivo framework.jar (Galaxy S3)
- Editing framework.jar file (Galaxy S3)
After changing everything you want, just copy/paste your apks and framework.jar in the right place, give permissions "-rw-r--r--" and reboot!
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 **
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!
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