Post Reply

[Q] How to change Phone Defaults except build.prop?

OP coolsuper13

14th June 2014, 03:19 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
27 posts
Join Date:Joined: Jun 2014
I have installed a ROM.When i go to settings,it shows at the end 'Custom build by Rocky" This really sucks.
I tried to change it by build.prop but i couldn't do that as 'Custom build by Rocky';this text was even not present there. I searched a lot for this.Now can anyone tell me how to change this..I am sure this specific text is not present in build.prop,is there any other file to do that?
14th June 2014, 04:14 PM   |  #2  
TheArc's Avatar
Recognized Themer
Flag Auckland City
Thanks Meter: 1,802
 
2,293 posts
Join Date:Joined: Jan 2012
Donate to Me
More
I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.

But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.

Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.

I do not encourage you to do this. And you can do this at your own risk. I will not take any responsibility if you mess up your phone.

Sent from my Nexus 5 using Tapatalk
Last edited by TheArc; 14th June 2014 at 04:31 PM.
14th June 2014, 05:03 PM   |  #3  
OP Junior Member
Thanks Meter: 1
 
27 posts
Join Date:Joined: Jun 2014
Quote:
Originally Posted by krishneelg3

I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.

But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.

Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.

Sent from my Nexus 5 using Tapatalk



Can u suggest me some apk decompilers?
15th June 2014, 01:02 AM   |  #4  
TheArc's Avatar
Recognized Themer
Flag Auckland City
Thanks Meter: 1,802
 
2,293 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Try "APKTool" just search for it on the search part of this site, it should come up.

Sent from my Nexus 5 using Tapatalk
15th June 2014, 03:49 PM   |  #5  
OP Junior Member
Thanks Meter: 1
 
27 posts
Join Date:Joined: Jun 2014
Quote:
Originally Posted by krishneelg3

Try "APKTool" just search for it on the search part of this site, it should come up.

Sent from my Nexus 5 using Tapatalk


Hey bro! This method worked..
But,now i am in a more big problem.
By the way that test was 'Custom build by Jatin' not Rocky.
The new settings.apk which i recompiled after editing that line successfully was not directly installing on my phone.
So,i replaced that new apk with the settings.apk in my ROM which contains 'Custom Build by Jatin' text..
Now,when i installed that ROM again,everthing went right ..but when i cheked the apps ...My settings option was no more..It was not installed during the ROM installation..I manually also tried to install that but nothing was achieved!
Now ,how to fix this? Hey bro,I am also attaching that settings.apk ,see if you can edit that line yourself and then again attach here for my use.Its line 176 in res/strings ,,just replace that line from 'Custom Build' only...
Please help me bro.
Attached Files
File Type: apk Settings.apk - [Click for QR Code] (4.29 MB, 2 views)
15th June 2014, 08:01 PM   |  #6  
TheArc's Avatar
Recognized Themer
Flag Auckland City
Thanks Meter: 1,802
 
2,293 posts
Join Date:Joined: Jan 2012
Donate to Me
More
This happens sometimes. Its best to push the .apk to your device rather than moving it

Sent from my Nexus 5 using Tapatalk
16th June 2014, 07:16 AM   |  #7  
OP Junior Member
Thanks Meter: 1
 
27 posts
Join Date:Joined: Jun 2014
Quote:
Originally Posted by krishneelg3

This happens sometimes. Its best to push the .apk to your device rather than moving it

Sent from my Nexus 5 using Tapatalk


Now,the settings.apk is crashing..Bro,there is somewhere error between the app..I have attached that apk in this forum before..Can't u yourself rename that line and attach here..Please bro
16th June 2014, 12:11 PM   |  #8  
OP Junior Member
Thanks Meter: 1
 
27 posts
Join Date:Joined: Jun 2014
Problem fixed
The unsigned settings.apk worked now....
16th June 2014, 12:44 PM   |  #9  
TheArc's Avatar
Recognized Themer
Flag Auckland City
Thanks Meter: 1,802
 
2,293 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Sorry, I just saw your post. Oh and I'm glad it works now. With system apps, you mustn't sign them. They don't work properly.

Sent from my Nexus 5 using Tapatalk

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

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank