[Q] How to change Phone Defaults except build.prop? - General Questions and Answers

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?

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

krishneelg3 said:
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
Click to expand...
Click to collapse
Can u suggest me some apk decompilers?

Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk

krishneelg3 said:
Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
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.

This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk

krishneelg3 said:
This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
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

Problem fixed
The unsigned settings.apk worked now....

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

Related

Anyone managed to change style.xml and recompile/add resources.arsc

Tried everything I can find and no luck with this with Sony framwork-res.apk doing my head in, My new resources.arsc is alwyas about 200kb smaller aswell after recompiling, furthest ive got is bootanimation then restart lol. Anyone had any luck with it? All i need to change is 1 bloody line in style.xml to change bottom popup menu to black, driving me mad lol
go3asy said:
Tried everything I can find and no luck with this with Sony framwork-res.apk doing my head in, My new resources.arsc is alwyas about 200kb smaller aswell after recompiling, furthest ive got is bootanimation then restart lol. Anyone had any luck with it? All i need to change is 1 bloody line in style.xml to change bottom popup menu to black, driving me mad lol
Click to expand...
Click to collapse
Have you followed this guide to the letter?
I changed the progressbar_horizontal.xml in my framework using this guide and it worked!
yeah , changed that worked fine but the style.xml file isnt viewable unless you decompile the apk then when you recompile the folder value with style.xml is compiled into the above file resources.arsc and not had any luck with it at all lol
Try asking Mr.Rusch or Calum?
Sent from my X10a using XDA App
go3asy said:
yeah , changed that worked fine but the style.xml file isnt viewable unless you decompile the apk then when you recompile the folder value with style.xml is compiled into the above file resources.arsc and not had any luck with it at all lol
Click to expand...
Click to collapse
Hmm style.xml is not viewable but also not any other .xml is viewable or readable if you do not decompile.
So I return to My_Immortal's initial question. Have you followed calum's guide about decomipling/recompiling the resources to the letter? What about the part where you take the .asrc file from the unsigned.apk and you chose to add it to the copmressed .zip file (which is the original signed apk that you have renamed). Have you done that exactly as you should?
_calum_ said:
This will create a new framework-res.apk in a subfolder out.
IMPORTANT: Do not push this apk to your phone unless you want to reflash
Extract the xml files and images from the newly generated apk (you can use the original images, but the xml files must be the newly compiled ones from the new apk). Add these files to the original framework-res.apk that you want to push to your phone (see the previous post).
Extract the resources.arsc from the root of the apk
Rename the original framework-res.apk from your theme to framework-res.zip
Right-click the extracted resources.arsc and choose the 7zip menu item ‘Add to archive’
In the dialog that appears set the achive field at the top to the framework-res.zip from step 7. And set the archive format to zip. Now set the Compression level to store and click OK(if you do not do this your phone will not boot). The settings are in the attached screenshot.
Rename framework-res.zip to framework-res.apk and double check that the compressed size or resources.arsc is the same as the original size (see screenshot)
Done. Push the new framework to your phone.
Click to expand...
Click to collapse
Its tge re compiling tgatsvthe problem aleays get sources not founf error in apktool. Read that it might be im not using fresh framework files tgat havent already been fiddlef eith but dont have any originnalsat the moment they all gave battery mod
Sent from my X10i using XDA App

Modding the sense 3.0 (step by step directions needed)

I love all the beautiful modified skins of Thypancy's intial theme. Is there a post where we could learn to mod these themes. too. I have 4 in mind that I would like to make or have modified, but i would rather learn how to do it myself. Can someone point me in the right direction.
Hi,
I am not a PRO at this... but i would just explain you the procedure:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
Well, this is the basic idea for modding, and it would work if you have a little bit knowledge. I have been taught all this by "laletsehgal21", who has a good thread of his MODS... you can ask him for a detailed help.
Happy Modding
mathrania said:
Hi,
I am not a PRO at this... but i would just explain you the procedure:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
Well, this is the basic idea for modding, and it would work if you have a little bit knowledge. I have been taught all this by "laletsehgal21", who has a good thread of his MODS... you can ask him for a detailed help.
Happy Modding
Click to expand...
Click to collapse
Thanks for the Info!!!
mathrania said:
Hi,
I am not a PRO at this... but i would just explain you the procedure:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
Well, this is the basic idea for modding, and it would work if you have a little bit knowledge. I have been taught all this by "laletsehgal21", who has a good thread of his MODS... you can ask him for a detailed help.
Happy Modding
Click to expand...
Click to collapse
cool man.....
Jst one thing attach the base file that one must use to decompile so that he does not have errors while re-compiling
In de-compiled files changes have to b made in three places.
1. Androidmanifest.xml (name of package).
2. Res\values\strings.xml (name of theme).
3. Assets\shared(change this to theme name)
Now compile and then edit
lalitsehgal21 said:
cool man.....
Jst one thing attach the base file that one must use to decompile so that he does not have errors while re-compiling
In de-compiled files changes have to b made in three places.
1. Androidmanifest.xml (name of package).
2. Res\values\strings.xml (name of theme).
3. Assets\shared(change this to theme name)
Now compile and then edit
Click to expand...
Click to collapse
I tried this but instead of pngs, i'm getting dat files in the "\\\drawable\shared" folder? Is anyone else having this problem?
keedog said:
I tried this but instead of pngs, i'm getting dat files in the "\\\drawable\shared" folder? Is anyone else having this problem?
Click to expand...
Click to collapse
no after using m10 editor u'll play with dat files only best part is inverted
lalitsehgal21 said:
no after using m10 editor u'll play with dat files only best part is inverted
Click to expand...
Click to collapse
What???? I'm way confused by that last sentence.
keedog said:
What???? I'm way confused by that last sentence.
Click to expand...
Click to collapse
he means, that the images you would like to EDIT would be inverted(up side down kind of) already...... the way it looks in your android phone...it wd be inverted
keedog said:
I tried this but instead of pngs, i'm getting dat files in the "\\\drawable\shared" folder? Is anyone else having this problem?
Click to expand...
Click to collapse
In the m10 editor, on the second tab "m10files", select "decode images". And then start the process.....
I have attached an .apk file. Install it on your sensation, apply the theme to your mobile. Observe the stuff. Then try to decompile the same file, and edit the images to your choice. It will help you to recognize what files you should change to get your desired result.
mathrania said:
I have attached an .apk file. Install it on your sensation, apply the theme to your mobile. Observe the stuff. Then try to decompile the same file, and edit the images to your choice. It will help you to recognize what files you should change to get your desired result.
Click to expand...
Click to collapse
Thatz a pretty nice one, and i like how u pointed out all the pages with text. thanks again.
mathrania said:
Hi,
I am not a PRO at this... but i would just explain you the procedure:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
Well, this is the basic idea for modding, and it would work if you have a little bit knowledge. I have been taught all this by "laletsehgal21", who has a good thread of his MODS... you can ask him for a detailed help.
Happy Modding
Click to expand...
Click to collapse
I have all the pngs replaced and the its back in a apk, but now I don't see a autosign file in the sdk folder. am I looking in the wrong place?
This is the Android-sdk (along with java jdk) that i downloaded. I can't find a autosign file anywhere.
i found the autosign bat fle. but now im getting errors.
question: how/where do i change these?
In de-compiled files changes have to b made in three places.
1. Androidmanifest.xml (name of package). how do u change this?
2. Res\values\strings.xml (name of theme). how/where do u change this?
3. Assets\shared(change this to theme name) h0w/where do u change this?
---
also when I replaced the background image, and he skin png, they resorted back to the original and didn't keep my background image nor skin pmg.
Sorry to hijack, but how would I change the dock/nav bar?
Sent from my HTC Sensation Z710e

[TUTORIAL] Speed up notification pullup and dropdown (SystemUI.apk) all devices :)

Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.
7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON
EDIT: It was pointed out that in newer versions of android (dip=dp) its the same thing so don't change it.
Mr.Nigma... said:
Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.
7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON
Click to expand...
Click to collapse
I decompiled systemui.apk but i can/t find \SystemUI\res\values
I have the same question. maybe your decompilation have some problems.
Sent from my lenovo A789 using xda app-developers app
Got it working... FINALLY
OK first of all thanks for this, makes a huge difference on the notification pullup and dropdown speed.
I couldn't apply the path with just the regular apktool, tried different revisions and none worked until I found apktoolsjb on this forum
http://forum.xda-developers.com/showthread.php?t=1809649
Thanks again
yonutz said:
I decompiled systemui.apk but i can/t find \SystemUI\res\values
Click to expand...
Click to collapse
it is in that folder for sure. have followed the guide step by step? maybe u havent decompiled just extracted the apk.
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
.field public static final self_collapse_velocity:I = 0x7f0c001c
.field public static final self_expand_velocity:I = 0x7f0c001b
Click to expand...
Click to collapse
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
matejdro said:
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
Click to expand...
Click to collapse
Looks more like a reference to resources to me.
matejdro said:
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
Click to expand...
Click to collapse
Try to check for that id (0x7f0c001c and/or 0x7f0c001b) in res/values/ids.xml. It could point to any value in any of the xml inside res/ folder.
No xml file contains those values (I ran search over whole folder). Only before mentioned R$layout.smali and com\android\systemui\statusbar\phone\PhoneStatusBar.smali
Linux
Any way I con do this in Linux, ubuntu to be specific.
I figured it out, Ijust hope I can put back into .apk format.
Be careful:
"dp" was actually called "dip" in early versions of the SDK. They changed it to "dp" shortly after.
Click to expand...
Click to collapse
That screenshot isn't from a 4.1/4.2 rom - So anyone who wants to try this and has 4.2 (I'm having 4.2.2), change only the values. leave the "dp" as is, don't change it into "dip".
OP - you might as well write this down!
Great, some developer with Xposed skills to do that through an Xposed module .... (You know that would be great)
I used your MOD as an Add On for my ROM. I hope thats ok credit was given (see bottom of OP). Thanks for the Info..
http://forum.xda-developers.com/showpost.php?p=37148754&postcount=1
Thanks. I already hitted it.
Sent from my C6603 using xda app-developers app
Great tut, I would suggest turning off animations entierly in developers options for the best UI smoothness.
self_expand_velocity, self collapse velocity NOT FOUND
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
I can't find a values folder in my SystemUI
riteshpanjwani said:
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
Click to expand...
Click to collapse
As some people replied these values are in another file. But i'll look again and edit the op with SAMSUNG specific files
Hmmm
JDogg1329 said:
I can't find a values folder in my SystemUI
Click to expand...
Click to collapse
Check your ROM if it is odex, check /system/app/ if there is SystemUI.odex. You need to deodexed if first so you can edit. However you can also di it using baksmali you just need the SystemUI.odex.
I have this, dont have this what you say.What do now?.Custom ROM - CM7

[MOD] [GUIDE] Add Custom Font(s) To Any App

Hello XDA,
This guide will show you how to add a custom font to any string of text, in any app. When done right, it can really enhance the look of any theme. For the purposes of this guide, I'm going to assume you already have the tools and basic knowledge required to decompile, modify, and recompile apk files. If not, there are plenty of threads on XDA that will teach you how.
**** Before proceeding, MAKE A BACKUP ****
**** I am not responsible for any loss of data, bricked devices, ***
*** your wife leaving you, or any other consequences that ***
*** may arise as a result of this mod. ****​
First, download and extract the attached zip file. The included .ttf is for example purposes, and can be replaced with any font you choose.
Next, decompile whatever apk you want to use your font in. For this guide, I will be using SystemUI.
In your decompiled apk folder, place your .ttf file in the 'assets' folder. If there is no 'assets' folder, create one.
Move the included .smali file into you app's 'smali' folder. The exact location shouldn't really matter, just make a note of what that location is. In my SystemUI example, I have placed it in com/android/systemui/.
*** NOTE: The .smali file I've included is named 'WurlyTextView' because the font it uses is called 'Wurly Fool'. ***
*** While not necessary, I would highly recommend renaming the smali file to something more indicative ***
*** of the font you are using, just to keep things less confusing for yourself. ***​
After you have moved and renamed the .smali file, open it in Notepad++ and look at the first line:
Code:
.class public Lcom/android/systemui/WurlyTextView;
If you are using this mod in any apk other than SystemUI, you will need to change the path. For instance, if you were working in SecMms, the path would be:
Code:
.class public Lcom/android/mms/WurlyTextView;
In Notepad++, open the find dialogue (ctrl+f), and search for "Lcom/android/systemui/" and replace every instance with the path from your apk.
Next, assuming you renamed the .smali to something more descriptive of your font, search for:
Code:
WurlyTextView
And again, replace every instance with whatever you renamed the .smali to. Be sure to watch the capitalization, as it is important.
Now, search again, this time for:
Code:
wurly.ttf
There should be three instances of it. Change all three to the file name of the font you placed in the 'assets' folder.
*** NOTE: If there is a space in the file name of your font, be sure to right-click it, ***
*** look at it's properties, and see what the file name is there, as it will probably not ***
*** include the space, or anything after it. This is the file name you want to use. ***​
Search the .smali file one more time, this time for:
Code:
wurly_fool
Replace every instance with something descriptive of your font. Note that whatever you change it to must be all lowercase.
*** NOTE: This step is only necessary if you are adding more than one custom font. ***
*** If you are only using one font, this may be left as "wurly_fool", regardless of your font's name. ***​
Close your .smali file, saving changes, and navigate to your decompiled apk's res/layout folder.
Locate and open the layout that points to the string you want your new font to be used on. For example, if you want to change the text that says "No Recent Apps" when you long-press the Home button, you would open /res/layout/tw_status_bar_no_recent_apps.
Within that layout file, locate the line pointing to the string you want to change, and replace the <TextView> tag with the path to the smali file. For example, if you left the smali with the name WurlyTextView, and put it in settings, the correct tag might look like this:
Code:
<com.android.settings.WurlyTextView>
.
And that's it....Hopefully part of this post doesn't disappear again...Not quite sure how that happened...
Thanks @Morningstar.. Great tutorial. Will give it a try when I have some time.
Sent from my SM-N910P using XDA Free mobile app
kevinoliva113 said:
Thanks @Morningstar.. Great tutorial. Will give it a try when I have some time.
Sent from my SM-N910P using XDA Free mobile app
Click to expand...
Click to collapse
Thank you, and let me know how it goes! I tried making the tutorial as idiot proof as possible, so while it may seem somewhat complicated, it's really quite simple to implement, and only takes a couple of minutes.
Morningstar said:
Thank you, and let me know how it goes! I tried making the tutorial as idiot proof as possible, so while it may seem somewhat complicated, it's really quite simple to implement, and only takes a couple of minutes.
Click to expand...
Click to collapse
I'm just the idiot to see if you succeed.
Sent from my SM-N910P using XDA Free mobile app
.. Right after I did the mod, my wife left me.. But the mod worked great, so I'm calling it a win!!!!
Being lazy like I am, I group edited several .xmls to replace <Textview and did my mms in seconds.
Great work @Morningstar
kevinoliva113 said:
.. Right after I did the mod, my wife left me..
Click to expand...
Click to collapse
Sorry to hear that, but that's what the disclaimer is for lol. [emoji14]
kevinoliva113 said:
Being lazy like I am, I group edited several .xmls to replace <Textview and did my mms in seconds.
Great work @Morningstar
Click to expand...
Click to collapse
Looks great!
[emoji106]
How to add it to <textview in xml ?? last code missing here .. I need it
Sent from my GT-S6102 using Tapatalk 2
thotupala said:
How to add it to <textview in xml ?? last code missing here .. I need it
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
That's the weirdest thing.. I know for a fact that the rest of the instructions used to be in the OP, and it says I haven't edited it since January, but sure enough, the last bit is missing....Weird.
Anyway, I just updated the OP with the rest of it....
who can share the zip file from the tutorial?

[GUIDE] Hide "No Notification" Label on Notification drawer

Hello,
Some of you may be annoyed by the "No Notification" label on Android lollipop/marshmallow when there is no notification in the notification drawer in stock android
For those i made a quick guide how to remove this label!
lets start
Things needed:
Knowledge how to De/Recompile Apk's Get Knowledge HERE
Notepad++Download HERE
SystemUI.apk of rom
Patience if re/decompiling goes wrong
LETS START WITH THE GUIDE:
1) Extract SystemUI.apk with any root browser and paste to your PC (SystemUI.apk located in "root/system/Priv-app/SystemUI") do a Backup of orig. SystemUI.apk
2) Decompile the SystemUI.apk with apktool or any other Apk-Decompiler
3) Go to folder called "res". Than go to "values-xx" (xx stands for the language. I use my phone in German language so i will go for "values-de". Turkish people go to"values-tr" and so on)
4) After you are in "values-xx" folder open "Strings.xml" WITH NOTEPAD++
5) Press Ctrl+F and search for "No notifications" in your language you are using. In my case it will be "Keine Benachrichtigungen" (German)
(WARNING: There will be 2 results -> concentrate on the 2nd result)
6) Replace the "No notification" text with something you want to appear there. If you want to hide it, delete the "no notification" text and do not add anything.
(WARNING: Do not delete more than the "no notification" Text; So do not delete the whole string)
7) Save the file and close Notepad++
8) Recompile the apk and push it to your phone: "root/system/priv-app/SystemUI"
9) Reboot your phone and voila, you got a Notification drawer with no "no notification" text
tested by me on CM12 5.0.2 and CM12.1 5.1.1
I also made a German Video tutorial on this click Here
Thanks to:
@PulseDroid - for very good apk de/recompile guide
@Flextrick - for very cool apk De/Recompile Tool i am using
Didn't work :/
Couldn't find the "values" file or "strings.xml" or "No notifications"
I used Notepad++'s "Search in Files" to search through every file in systemUI's and framework's xmls and everything for the words "No notifications" . . . . and zero hits.
But I'm runnnig PAC Rom on the Nexus 5 so I guess it's not there for me. That's okay though, sometime when I try Cyanogen again I'll give this guide a shot.
GuitarGuy96 said:
Couldn't find the "values" file or "strings.xml" or "No notifications"
I used Notepad++'s "Search in Files" to search through every file in systemUI's and framework's xmls and everything for the words "No notifications" . . . . and zero hits.
But I'm runnnig PAC Rom on the Nexus 5 so I guess it's not there for me. That's okay though, sometime when I try Cyanogen again I'll give this guide a shot.
Click to expand...
Click to collapse
if you are using your phone in english language go "values-en" and there must be a "strings.xml" (if you are not using in english set your phone to english and try) :/
timuralaskara said:
if you are using your phone in english language go "values-en" and there must be a "strings.xml" (if you are not using in english set your phone to english and try) :/
Click to expand...
Click to collapse
Yeah, and I even used a Cyanogenmod ROM this time, still no "values-en" folder, no strings.xml , and yes I've been using English.
Still no luck
Could you send me your modified systemUI, somehow?
I could try a few things, maybe create a flashable zip if I find a solution.
I will send you my decompiled systemui.apk folder later on maybe tomorrow. Or give ya a screenshot. Because on every device i do own there is a values-XX folder in systemui :S
Are you sure that you have successfully decompiled it and had no errors? Because sometimes it does not decompile everything. Use
android multitool its tha best decompiler and do not forget to install framework-res.apk (located in system/framework).
You can send me your systemui too i will try it (send me systemui in system/priv-app and framework-res.apk located in system/framework)
Sent from my SM-G900F using XDA Free mobile app
This is probably the most delayed reply ever but...
I finally got it working! I tried it out again today - this time absolutely focused xD I still have absolutely no idea what went wrong back then, but I'm so glad it's working now. I followed on through that German YouTube video (made the first comment to it too!) and it worked!
I think I'll even use this method to change other text all over the phone xD Make it more informal (Battery is charging > Battery's charging - lil stuff like that) and stuff to be more like me haha.
I'll have to do this every time I change ROMs though and I'm pretty frequent at that.. I'll see if I can try adding only my customized values-en xml to a new ROM's SystemUI apk and hopefully having it work..?
But that's for another time, for now, I'm kinda happy to have this clean, empty notification shade. Real slick!
Thanks! :laugh: :highfive: :highfive:
GuitarGuy96 said:
This is probably the most delayed reply ever but...
I finally got it working! I tried it out again today - this time absolutely focused xD I still have absolutely no idea what went wrong back then, but I'm so glad it's working now. I followed on through that German YouTube video (made the first comment to it too!) and it worked!
I think I'll even use this method to change other text all over the phone xD Make it more informal (Battery is charging > Battery's charging - lil stuff like that) and stuff to be more like me haha.
I'll have to do this every time I change ROMs though and I'm pretty frequent at that.. I'll see if I can try adding only my customized values-en xml to a new ROM's SystemUI apk and hopefully having it work..?
But that's for another time, for now, I'm kinda happy to have this clean, empty notification shade. Real slick!
Thanks! :laugh: :highfive: :highfive:
Click to expand...
Click to collapse
am glad to see it is working now for you
i think it was because you hadnt got the right apktool, so you hadnt the values folder after decompiling
you can also look in the normal "values" folder in dimens, bools, and integers.xml there are some really amazing values you can modify :good:

Categories

Resources