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:
Related
I'm trying to remove the clock on the notification bar and I specifically remember the instructions from somewhere on the Mikmik forums, on how to do so with Ninjamorph. I tried going to; system/framework.apk/res/layout (I think it's in the right order) and I see no "status_bar.xml" to switch it out with. Can someone tell me what I'm doing wrong? Oh yeah, I tried a zip to remove it, but it resulted in bootloops and I'm running SSv7.5. Thanks and God bless in advance.
EDIT: I found the post thank you Father . It was in the Evo section of the Mikmik forums. I guess I will post it, in case someone needs the info;
"Anyway, you just need two things. One is the mod you want, so you'll need to download steal25's mod, two is Ninjamorph, its a free app on the market. Oh, you'll also need a file explorer. Root explorer is the best but es will do. Use the file explorer to extract the systemui apk from steal25's zip. Go to the extracted apk, long press and extract all. Make sure the extracted files are in an easy to find area. Exit the file explorer. Launch ninjamorph, authorize superuser, and start checks. Then select new project, go to system, then apps, and select systemui apk. When the select item you'd like to change comes up, select res, then select layout, and find and select the statusbar.xml. Then it will ask you to select the item to replace it with, navigate to where you put the extracted files from the mod, and go select the modded statusbar.xml. You won't need to make any other changes, so hit back after it applies, then hit finish project and select the newly modded systemui.apk. Hit yes to overwrite, yes to zipalign, and no to clean up. Then your phone will start acting crazy, its ok it happens when you change stuff in that apk with this app. Just yank the battery and reboot." - (urrgevo)
phreshy said:
I'm trying to remove the clock on the notification bar and I specifically remember the instructions from somewhere on the Mikmik forums, on how to do so with Ninjamorph. I tried going to; system/framework.apk/res/layout (I think it's in the right order) and I see no "status_bar.xml" to switch it out with. Can someone tell me what I'm doing wrong? Oh yeah, I tried a zip to remove it, but it resulted in bootloops and I'm running SSv7.5. Thanks and God bless in advance.
EDIT: Of course, I did try to find it, but couldn't.
Click to expand...
Click to collapse
If I'm not mistaken the guide you talking about was writing by jkilo no? Look under MikShift, I just woke up so give me a few to limp around the house and see if I can dig it up for you
http://themikmik.com/showthread.php?5825-Guide-How-To-Remove-Clock-From-Statusbar-FROYO
Sent From My MikSupremed Shift Using Tapatalk
I talked to one_love he said this thread wouldn't be of any use to us, but nevertheless I found it LOL Ill look into it to see what i can do it might not be today tho as I'm planning a trip to the ER...
Sent From My MikSupremed Shift Using Tapatalk
Lol, it's okay, take your time and I pray everything is okay on your end.
I know there is already a CRT Off Animation flashable zip in this section, but if you already have a themed framework then it can be a pain in the a$$ trying to flash it over whatever you have. As for SIP over LTE/HSPA, I've seen a lot of requests from people on how to enable it, so here it is. I'm also making this kind of for myself, since I always search for tutorials on how to change things, but always just end up finding .zip files, which can get quite annoying if I only want to change one thing. In any case, here we go...
Prerequisites
Superuser (Duh)
Apk Manager by Daneshm90
ADB + Understanding How To Pull/Push Files (Need help? Read this!)
Patience
A Good Texteditor (I recommend Notepad++)
Know why "sudo rm -rf /" is always a bad idea
Steps To Follow
Pull your framework-res.apk file from your system folder
Place said framework-res.apk file into the "place-here-for-modding" folder included in the Apk-Manager Folder
Run the Script.bat file also included in the Apk-Manager Folder.
Run option 9 in the newly opened window (Don't use the dependency option)
Go back into the Apk-Manager Folder; there should now be a folder dubbed "projects".
Head into that folder and open framework-res/res/values/bools.xml with that good texteditor you're supposed to have if you read the prerequisites.
Don't be intimidated by some of the code you see. Ignore everything else in the file and head straight for/search "config_animateScreenLights". This controls the state of the CRT Off Animation.
This step may sound a little counter-intuitive, but in order to get the CRT Off to activate correctly, you need to set the boolean to "False".
Now that CRT Off Animation taken care off, we can move on to enabling SIP over HSPA/LTE. Go to/search for "config_sip_wifi_only" and set this boolean to false as well.
There are actually other things you can enable/disable in the bools.xml file, although I would not recommend poking around unless you know what you're doing. Example: Enable Menu Unlock by setting that specific bool (not entirely sure of its name) to true.
Save the bools.xml file, and return back to the main menu of Apk Manager.
Select option 11 and say y (system app) and then n (no need to retain anything)
If you head back to your "place-apk-here-for-modding" folder, there should be a new file named unsignedframwork-res.apk. Open this (DO NOT EXTRACT THE FILES) using a tool such as winrar or 7zip, and delete both the META-INF folder and the AndroidManifest.xml
Copy the META-INF and the AndroidManifest.xml from the original framework-res.apk and place it in the new unsignedframework-res.apk. Remember to not extract the files, just copy/paste.
Rename unsignedframework-res.apk to framework-res.apk and push that back to the system folder on your phone.
Reboot
Enjoy Your CRT Off Animation + SIP Over HSPA/LTE!
FAQ
What is SIP? SIP stands for Session Initiation Protocol, and is used for controlling communications such as Voice over Internet Protocol, or Video over Internet Protocol. It's used in a lot of applications on the market, a big one being Skype. If you want to learn more, go here, here, or here.
Why would I need SIP over HSPA/LTE? Because I told you so. No, but seriously, this will allow you to use all kinds of SIP applications found on the market not only on wifi networks, but also on the go.
Can you haz build me a flashable zip? The whole point of this thing is to teach people how to mod their own already modded files without having to replace everything. But yeah, if you PM me I'll probably do it.
IAQ
Why is jomeister15 so amazing? Sorry, this question is not infrequently asked.
nice tutorial, it took me a while to find this information a few days ago, good to know someone has gathered it and made it easy to find.
very nice i know i did that while back ago and i was like ughhh ** also there is a post for crt animation on you should include that too. i know id like to get it on my theme but im working through it and it blows my head into 2 .. but moderator please pin this thread or make it a sticky right @ top with cherry.
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
plwalsh88 said:
Awesome tutorial! Been wanting to add the CRT off animation to my ROM for a while now, just haven't gotten around to it. And I will definitely be following your guide. However, can someone please explain to me what SIP is? I've seen a couple of threads about it but none of them have actually explained what it is. Thanks!
Sent from my SAMSUNG-SGH-I727 using XDA App
Click to expand...
Click to collapse
Just updated OP with FAQ section that includes explanation of SIP if you want to take a look.
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
gkrananth said:
i am getting FC. Not working. After changing the file size reduced to around 5mb which before it is 7mb.
Click to expand...
Click to collapse
What app in specific are you getting FC with? It may just be in issue with fixing permissions. Try that first, and if that doesn't work, re-try the procedure but do not carry the android manifest and meta-inf over. May I also ask what rom you're on? Every dev's framework is different.
oh CRT
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
sakunakia said:
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Originally Posted by sakunakia
hay i did it.. no FC no ERRORS or no CRT off animation.. phone is working normally .. (i made a zip also)
im using samsung skyrocket with embryo 6.1 plz help me to fix this(as above mentioned my framework-res also decreased like 2mb)
Click to expand...
Click to collapse
Dude you just necro'd a thread that's almost a year since last post and half these guys aren't even around anymore.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
omg this
Sent from my SGH-T999 using xda premium
Anyone successfully remove the Verizon Wireless from the lock screen yet. I have made many attempts via frameworkâres to no avail. I have made changes to the eri.xml as well as adding/changing the spn-conf. Any ideas or tips would be appreciated.
Thanks
I am assuming the info comes from the SIM card because when its not inserted the phrase, "No SIM card, Emergency Calls Only" is displayed in the same place Verizon Wireless normally is. There has to be a handoff between the SIM Card and code via an XML file someplace but I have yet to find it. If anyone has any info please let me know.
I'd be willing to bet 5 bucks there is an xml edit in framework-res.apk or systemui.apk that would get rid of it , If I come across it i'll let you know for sure.
natethegreat86 said:
I'd be willing to bet 5 bucks there is an xml edit in framework-res.apk or systemui.apk that would get rid of it , If I come across it i'll let you know for sure.
Click to expand...
Click to collapse
Ive checked strings in both and neither had any reference. I will check again because i am pretty sure it has to be in framework-res.
Ya I see a lot of lock screen entries in framework-res strings.xml but nothing with plain verizon wireless, i see all the other possible things that could popup and it does look like its linked to the sim from there. I also see a reference to carrierLabel in systemui public.xml with an id of 0x7f0f00ae no idea where its linked to though as of yet will keep digging.
EDIT: Question for you guys are you running ICS touchwiz roms or aosp or what? I ask because I'm on a AOSP jelly bean rom and it might be different then what you guys have
I'm thinking this is going to require editing some smali files most likely, do me a favor and see if you have this file in your systemui.apk:
SystemUI\com\android\systemui\statusbar\phone\CarrierLabel.smali
natethegreat86 said:
Ya I see a lot of lock screen entries in framework-res strings.xml but nothing with plain verizon wireless, i see all the other possible things that could popup and it does look like its linked to the sim from there. I also see a reference to carrierLabel in systemui public.xml with an id of 0x7f0f00ae no idea where its linked to though as of yet will keep digging.
Click to expand...
Click to collapse
Thanks.
The two entries I am looking for are:
Verizon Wireless
No Sim Card..Emergency calls Only
Those two phrases pop up in the same place on the lock screen when booting and/or once booted up.
Some other phones like the Nexus have thier carrier lable linked to an eri.xml and/or an spn-conf.xml located in /system/etc and or in /data right on the phone. No need to even decompile an APK, but the GS3 seems to be a little different as none of those tricks worked.
There is an eri.xml located in framework-res/res/xml/eri.xml. But nothing there referencing verizon or a sim card. Looks like a generic xml.
natethegreat86 said:
EDIT: Question for you guys are you running ICS touchwiz roms or aosp or what? I ask because I'm on a AOSP jelly bean rom and it might be different then what you guys have
I'm thinking this is going to require editing some smali files most likely, do me a favor and see if you have this file in your systemui.apk:
SystemUI\com\android\systemui\statusbar\phone\CarrierLabel.smali
Click to expand...
Click to collapse
I am running a stock deodexed TW ICS Rom.
Yes I have that xml in SystemUI but that smali should reference a string I would have thought? I thought the smali was to execute and not dictate what the actual phrase. I am far from an experienced coder though so what do I know.
Its late, I will look over this smali tomorrow when I have a little more time.
If we could get a few people digging for this we could probably find it in less than a week...
Thanks for the help!
Not sure if this will do it or not but seems like its definitely worth a try http://forum.xda-developers.com/showthread.php?t=1773879
As that xml is there in that location and the id is also there, I'll try it out on my rom when I get the chance as well and let you know.
---------- Post added at 03:58 AM ---------- Previous post was at 03:08 AM ----------
Well after some more searching I came across a post to remove the carrier name on jelly bean for the nexus and it actually worked for me, I don't know if this will work on touchwiz ICS or not but you may want to do a nandroid and try it. I used the second set of steps putting the eri.xml in /data and left the values blank and no more carrier label
natethegreat86 said:
Not sure if this will do it or not but seems like its definitely worth a try http://forum.xda-developers.com/showthread.php?t=1773879
As that xml is there in that location and the id is also there, I'll try it out on my rom when I get the chance as well and let you know.
---------- Post added at 03:58 AM ---------- Previous post was at 03:08 AM ----------
Well after some more searching I came across a post to remove the carrier name on jelly bean for the nexus and it actually worked for me, I don't know if this will work on touchwiz ICS or not but you may want to do a nandroid and try it. I used the second set of steps putting the eri.xml in /data and left the values blank and no more carrier label
Click to expand...
Click to collapse
I have tried those too...LOL. They seem to be for either ASOP only or JB. Just for giggles I tried them again to be sure and still no go.
Glad it worked for you though!
Derp I goofed I didnt give you the link in the second edit for what actually worked for me anyhow I'll give you what you need for your ics version.
Do a nandroid backup before making any changes just in case
1) Download eri.xml onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit everywhere you see "Whatever you want or delete this and nothing will show up". You can simply change the text or delete the text between the quotations and nothing will show up.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory.
5) Reboot, and Enjoy!
eri.xml http://www.mediafire.com/?edv0q6jvyh7hk4g
natethegreat86 said:
Derp I goofed I didnt give you the link in the second edit for what actually worked for me anyhow I'll give you what you need for your ics version.
Do a nandroid backup before making any changes just in case
1) Download eri.xml onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit everywhere you see "Whatever you want or delete this and nothing will show up". You can simply change the text or delete the text between the quotations and nothing will show up.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory.
5) Reboot, and Enjoy!
eri.xml http://www.mediafire.com/?edv0q6jvyh7hk4g
Click to expand...
Click to collapse
Tried that one too....no go.
Stupid Verizon.....
Grrr lol we will find a way for you eventually. Alright just for kicks try the eri.xml file I used for JB it just may work follow my thread over here http://forum.xda-developers.com/showthread.php?t=1897808
natethegreat86 said:
Grrr lol we will find a way for you eventually. Alright just for kicks try the eri.xml file I used for JB it just may work follow my thread over here http://forum.xda-developers.com/showthread.php?t=1897808
Click to expand...
Click to collapse
No go...strike #8....lol. Where the hell is this thing hiding?
Lmao dang was worth a try, this is harder for me now since i'm on cm10 aosp and I don't have a ics tw rom to look further into.
Alright one more try on one other thing that may work as well, definitely do a nandroid before you try this one as well.
1) Download spn-conf.xml file i have attached onto your desktop or some folder you will remember where it has been placed.
2) Open "spn-conf.xml" with something such as NotePad or WordPad and edit where you see Verizon Wireless.
3) Save "spn-conf.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "spn-conf.xml" from your SD card to "System/etc" directory.
5) Reboot, and Enjoy!
spn.conf.xml http://www.mediafire.com/?qz6o28y822lxh5g
Strike #9.
The search continues.
Grrr lol I can't believe none of those worked, what rom are you running just curious?
natethegreat86 said:
Grrr lol I can't believe none of those worked, what rom are you running just curious?
Click to expand...
Click to collapse
Stock Deodexed Rom with a dozen or so self installed MODs. All I did was root, custom recovery, and start loading up a few favorite mods like:
Time toggle on/off
AM/PM toggle on/off
center clock
small am/pm
expanded setting for MMS
battery full removed
keyboard icon removed
...and a few others.
Otherwise, stock ROM rooted and deodexed.
Well you may want to consider going with a custom rom, things like this are so much easier on a custom rom because dev's enable these type of goodies . I don't know why anybody isn't on cm10 builds personally ive been running paranoid android for several weeks as my daily driver with no issues at all. But if you like the TW UI I can understand.
natethegreat86 said:
Well you may want to consider going with a custom rom, things like this are so much easier on a custom rom because dev's enable these type of goodies . I don't know why anybody isn't on cm10 builds personally ive been running paranoid android for several weeks as my daily driver with no issues at all. But if you like the TW UI I can understand.
Click to expand...
Click to collapse
well I have painfully gone through each and every XML in framework and none hold the key to removing the carrier name from the lockscreen. I know this because I have swapped each XML from a sprint rom (which does not have the carrier name on the lockscreen) with mine and the Verizon Wireless remained in place. I will go through some of the APKs in /system/app next and see what I can find. I was sure it would have been in framework though.
Didact74 said:
well I have painfully gone through each and every XML in framework and none hold the key to removing the carrier name from the lockscreen. I know this because I have swapped each XML from a sprint rom (which does not have the carrier name on the lockscreen) with mine and the Verizon Wireless remained in place. I will go through some of the APKs in /system/app next and see what I can find. I was sure it would have been in framework though.
Click to expand...
Click to collapse
I have a cool crisp $1 bill waiting to be donated to who ever can figure out how to make this go away on a stock, rooted, deodexed, ICS 4.04 ROM.
Seriously, I have just about exhausted all possibilities that I can think of.
Thanks for any help anyone can offfer!
I am in the mid of Making my own ROM and it's almost done. I want to change the icon of the toggle switch button just below the status bar. I also like to change the pop up message when I press shutdown and reboot. How can I do that ? Pls reply fast. I know decompile using APK but I don't know which file to decompile and where can I find the file to edit . Can anyone please tell me and don't ignore my post ?
leezhijiang said:
I am in the mid of Making my own ROM and it's almost done. I want to change the icon of the toggle switch button just below the status bar. I also like to change the pop up message when I press shutdown and reboot. How can I do that ? Pls reply fast. I know decompile using APK but I don't know which file to decompile and where can I find the file to edit . Can anyone please tell me and don't ignore my post ?
Click to expand...
Click to collapse
If you are making your own rom (and not being a winzip wizard) them you should know that it is controled by the framework files.
zelendel said:
If you are making your own rom (and not being a winzip wizard) them you should know that it is controled by the framework files.
Click to expand...
Click to collapse
What do you mean ? I am a newbie actually. I made my rom based on a custom rom and follow the guide on this forum.
See the attachment.
How can I change the MindCr ROM to my own text ? I really don't know where to find it. What I know is how to edit those png files
leezhijiang said:
What do you mean ? I am a newbie actually. I made my rom based on a custom rom and follow the guide on this forum.
See the attachment.
How can I change the MindCr ROM to my own text ? I really don't know where to find it. What I know is how to edit those png files
Click to expand...
Click to collapse
You will have to decompile the jar files and edit the java code. As I stated in your other thread take some time and learn to make a rom properly. Mainly when you will be required to follow all the same rules that the devs are. New to this or not. Take some time and learn linux and then learn to build a rom the proper way.
I already have the basic knowledge. How am going to learn if I don't know. Asking is a way of learning too! I already good in decompiling and compiling and script editing. The problem is don't know which xml file should I edit. I can do basic programming. I did found out the directory of those icons but I don't know how to change the title text of the pop up menu that appear after I press the "restart" and "shutdown" button.
I almost finish my ROM already just left theming and that part only. For your information, I actually modified quite a number of apk files successfully based on Nero Young tutorial.
leezhijiang said:
I already have the basic knowledge. How am going to learn if I don't know. Asking is a way of learning too! I already good in decompiling and compiling and script editing. The problem is don't know which xml file should I edit. I can do basic programming. I did found out the directory of those icons but I don't know how to change the title text of the pop up menu that appear after I press the "restart" and "shutdown" button.
I almost finish my ROM already just left theming and that part only. For your information, I actually modified quite a number of apk files successfully based on Nero Young tutorial.
Click to expand...
Click to collapse
You learn by spending a few days searching. Trust me your not the first to ask this question. There are tons of TUT all over the site to help you learn how to make a rom. What you are missing to understand is that you have not really given any info like what style rom, for what device? These things matter as depending on device and rom then it is in different places. So I could tell you were it is in my rom (which i did) but it may not be there in your rom.
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