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
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
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:
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.
Now go to line 157 and see that things will get a little bit complicate:
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.
Now head to line 198 and you'll have this:
Here is just like the line 151. Change the JELLY BEAN text for whatever you want.
e.g.
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.
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:
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:
- 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:
[B]1st -> [/B]const-string v9, "Android "
[B]2nd -> [/B]sget-object v9, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
[B]3rd -> [/B]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.
Last edited: