Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,588 Members 46,714 Now Online
XDA Developers Android and Mobile Development Forum

[Q] how to hide the NFC icon [kk]?

Tip us?
 
mcjordan92
Old
#1  
Senior Member - OP
Thanks Meter 31
Posts: 379
Join Date: May 2011
Question [Q] how to hide the NFC icon [kk]?

Anyway its always on "ON" state all the time.. I dont want it to waste place for that..
Any idea how to hide it?
 
St.Jimmy90
Old
#2  
St.Jimmy90's Avatar
Senior Member
Thanks Meter 134
Posts: 566
Join Date: Jul 2013
Location: Frankfurt
Quote:
Originally Posted by mcjordan92 View Post
Anyway its always on "ON" state all the time.. I dont want it to waste place for that..
Any idea how to hide it?
Open a buildprop editior and change the value of ro.nfc.icon.enable to false. You need root for that
"We're here for a good time, not a long time" - Colin McRae
You can't control the wind, but you can set your sails
“Whenever you find yourself on the side of the majority, it is time to pause and reflect.” - Mark Twain
The Following User Says Thank You to St.Jimmy90 For This Useful Post: [ Click to Expand ]
 
kingvortex
Old
#3  
kingvortex's Avatar
Senior Member
Thanks Meter 2,286
Posts: 3,314
Join Date: Mar 2010
Location: Nottingham
You need to be rooted and edit your build.prop. An easy way to do this is with Build Prop Editor.

You need to find the entry -
ro.nfc.icon.enable
Change the value from true to false, then reboot.

Edit - Beaten to it. 😃

Sent from my C6603 using Tapatalk
The Following User Says Thank You to kingvortex For This Useful Post: [ Click to Expand ]
 
mcjordan92
Old
#4  
Senior Member - OP
Thanks Meter 31
Posts: 379
Join Date: May 2011
Nice idea! but some what it didn't work for me.
It was already on false when I first saw it.
I tried to 'true' it and re'false', tried to change every one there except the first but nothing worked (I restarted each time ofc, I've played with build.prop many times before)
Click image for larger version

Name:	Screenshot_2014-07-06-13-12-44.jpg
Views:	43
Size:	173.9 KB
ID:	2835790

I was sure that the Gravity Xposed tool is related to that but disabling it didn't help.. any idea?
 
androidfreak70
Old
#5  
androidfreak70's Avatar
Senior Member
Thanks Meter 425
Posts: 2,646
Join Date: Feb 2014
Location: here!

 
DONATE TO ME
Quote:
Originally Posted by mcjordan92 View Post
Nice idea! but some what it didn't work for me.
It was already on false when I first saw it.
I tried to 'true' it and re'false', tried to change every one there except the first but nothing worked (I restarted each time ofc, I've played with build.prop many times before)
Attachment 2835790

I was sure that the Gravity Xposed tool is related to that but disabling it didn't help.. any idea?
hmm i have a bit HARD way for that but im sure you can do it!
take systemUI.apk from system/priv-app or system/app
then rename it to SystemUI.zip then extract it in empty folder
then open folder called "res"
you will find alot of folders! open them ONE BY ONE and delete every NFC icon you find!
after you finish deleting all NFC icons go back to the place you extracted SystemUI.zip
select all the files and folders and compress them (put them in zip file) and select store compressing mode
after you finish rename the zip to SystemUI.apk ( the upper case letters keep them upper case!!)

download zipsigner app

install it and open it!
click CHOOSE IN/OUT button! and select the place the you put the new SystemUI.apk and select it
click the sign the file button
when finish open your file manager and go to the same folder you have SystemUI.apk
you will find apk file with the same name with extra SIGNED text!
rename it to SystemUI.apk and move to system/app or system/priv-app and REPLACE the old one then set the permissions to rw-r-r

reboot and enjoy it!

ps. i didnt tried it for sure but i found the icons inside the apk
BACKUP THE ORIGINAL SYSTEMUI.APK BEFORE TRY!!!!!!!



Xperia™ Z (C6602) with tapatalk
THATS FROM MY XPERIA™ Z
RUNNING ROM
C6602
Android 4.4.4
Stock Omni kernel
Xposed modules

---------------------------------------------------
don't forget hit thanks if helped
-----------------------------------------------------
and ALWAYS QUOTE my posts if you replying to my post!
The Following User Says Thank You to androidfreak70 For This Useful Post: [ Click to Expand ]
 
mcjordan92
Old
(Last edited by mcjordan92; 7th July 2014 at 08:18 AM.)
#6  
Senior Member - OP
Thanks Meter 31
Posts: 379
Join Date: May 2011
Quote:
Originally Posted by androidfreak70 View Post
hmm i have a bit HARD way for that but im sure you can do it!
take systemUI.apk from system/priv-app or system/app
then rename it to SystemUI.zip then extract it in empty folder
then open folder called "res"
you will find alot of folders! open them ONE BY ONE and delete every NFC icon you find!
after you finish deleting all NFC icons go back to the place you extracted SystemUI.zip
select all the files and folders and compress them (put them in zip file) and select store compressing mode
after you finish rename the zip to SystemUI.apk ( the upper case letters keep them upper case!!)

download zipsigner app

install it and open it!
click CHOOSE IN/OUT button! and select the place the you put the new SystemUI.apk and select it
click the sign the file button
when finish open your file manager and go to the same folder you have SystemUI.apk
you will find apk file with the same name with extra SIGNED text!
rename it to SystemUI.apk and move to system/app or system/priv-app and REPLACE the old one then set the permissions to rw-r-r

reboot and enjoy it!

ps. i didnt tried it for sure but i found the icons inside the apk
BACKUP THE ORIGINAL SYSTEMUI.APK BEFORE TRY!!!!!!!



Xperia™ Z (C6602) with tapatalk
Well done my friend !
I feel like an hero after proccessing this and succussing.
I didn't completely followed your guide because the saying of "search every NFC icon and delete it" gave me a red light that this might be bad..
after done I can say that the only needed files for deleting are
stat_sys_nfc_forum.png and they are in 3 places:
SystemUI\res\drawable-hdpi
SystemUI\res\drawable-xhdpi
SystemUI\res\drawable-xxhdpi

Trying to zip it / unzip it apk it and sign it didn't work.
After renaming it once the file is ruined and can't use it anymore no matter signing or not.. (I probably didn't do it right but I couldn't do it that way..)
So what I did was copying the apk file to PC, opening it with winrar and deleting the files through it without changing the apk extension.
After that I sent back to phone and went to system/priv-apk folder, renamed the original systemUI.apk to .BAK (so I won't lose it)
and copied the edited 1 to there.
set permission to:
owner: read+write
Group: read+wrote
others: read

only this way it works, don't know what rw-r-r means but putting owner: r,w and others only read didn't work.
(I simply watched the premission on the original and did the same for the modified)
reboot and bam! it works!


Huge thanks for your guide !
 
androidfreak70
Old
#7  
androidfreak70's Avatar
Senior Member
Thanks Meter 425
Posts: 2,646
Join Date: Feb 2014
Location: here!

 
DONATE TO ME
Quote:
Originally Posted by mcjordan92 View Post
Well done my friend !
I feel like an hero after proccessing this and succussing.
I didn't completely followed your guide because the saying of "search every NFC icon and delete it" gave me a red light that this might be bad..
after done I can say that the only needed files for deleting are
stat_sys_nfc_forum.png and they are in 3 places:
SystemUI\res\drawable-hdpi
SystemUI\res\drawable-xhdpi
SystemUI\res\drawable-xxhdpi

Trying to zip it / unzip it apk it and sign it didn't work.
After renaming it once the file is ruined and can't use it anymore no matter signing or not.. (I probably didn't do it right but I couldn't do it that way..)
So what I did was copying the apk file to PC, opening it with winrar and deleting the files through it without changing the apk extension.
After that I sent back to phone and went to system/priv-apk folder, renamed the original systemUI.apk to .BAK (so I won't lose it)
and copied the edited 1 to there.
set permission to:
owner: read+write
Group: read+wrote
others: read

only this way it works, don't know what rw-r-r means but putting owner: r,w and others only read didn't work.
(I simply watched the premission on the original and did the same for the modified)
reboot and bam! it works!


Huge thanks for your guide !
wow great!
any time to help

Xperia™ Z (C6602) with tapatalk
THATS FROM MY XPERIA™ Z
RUNNING ROM
C6602
Android 4.4.4
Stock Omni kernel
Xposed modules

---------------------------------------------------
don't forget hit thanks if helped
-----------------------------------------------------
and ALWAYS QUOTE my posts if you replying to my post!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes