Hey Guys,
I have seen some Custom-ROMs with Screen Off NFC Options but I like CM11S and would like to ask if there is any way to make this possible in CM11S as well.
Thanks in advance
Install Xposed and NFC LockScreenOff Enabler.
repo.xposed.info/module/de.robv.android.xposed.installer
repo.xposed.info/module/pk.qwerty12.nfclockscreenoffenabler
mudkip908 said:
Install Xposed and NFC LockScreenOff Enabler.
repo.xposed.info/module/de.robv.android.xposed.installer
repo.xposed.info/module/pk.qwerty12.nfclockscreenoffenabler
Click to expand...
Click to collapse
I did it several weeks ago but id didn't work properly for me in my OPO.
It works fine for some time, maybe some hours, but then the NFC doesn't work at all, even with the screen on.
I had to turn the NFC off and on again to start reading nfc tags again.
Does it work properly in his OPO to someone here in the forum?
I'm using it since day 1 on my OPO (a bit more than a month ago), and never had any issue with it
Do yo set it up with screen off or with screen locked?
Screen off for me
bud77 said:
Screen off for me
Click to expand...
Click to collapse
thanks. I have installed it again. I will try it again for some time.
capdcanoa said:
thanks. I have installed it again. I will try it again for some time.
Click to expand...
Click to collapse
Your issues might also be ROM related
If you still get errors, try a clean install and reinstall the module
Related
I've modded the policy of Nfc.apk, so that the Nfc service is active even when screen is locked. Now you don't have to unlock anymore if you press the phone against a tag.
Screen must be "on" for sure, as Nfc is never active when phone is in standby - it would never enter deep sleep then.
Flash in CWM, odexed or deodexed Jelly Bean, enjoy!
If you encounter problems, I attached the original Nfc.apk too, so you can roll back whenever you want.
Update: added a fixed version, some had problems with the other. It works on odexed and deodexed systems.
shaftenberg said:
I've modded the policy of Nfc.apk, so that the Nfc service is active even when screen is locked. Now you don't have to unlock anymore if you press the phone against a tag.
Screen must be "on" for sure, as Nfc is never active when phone is in standby - it would never enter deep sleep then.
Flash in CWM, odexed or deodexed Jelly Bean, enjoy!
If you encounter problems, I attached the original Nfc.apk too, so you can roll back whenever you want.
Click to expand...
Click to collapse
Hai shaftenberg, Sorry to ask you here, how should i create a cmw zip to enable init.d for my Omar 1.8 kernel in my stock JB GB rom ?
Thank in advance.
Wrong thread?
Maybe you want to ask Omar himself.
shaftenberg said:
I've modded the policy of Nfc.apk, so that the Nfc service is active even when screen is locked. Now you don't have to unlock anymore if you press the phone against a tag.
Click to expand...
Click to collapse
Nice.
I use NFC every day, and unlocking the screen does not bother me, but I remember thinking at the beginning it would be more useful if I did not have to unlock first. I am going to try it.
It did not work for me. The NFC option disappeared altogether
The stock NFC zip restored it without any problem.
arman68 said:
It did not work for me. The NFC option disappeared altogether
Click to expand...
Click to collapse
Do you mean the "option" in "Settings"?
I see no reason for that in my mod, as I changed 2 variables in smali only. Strange... Might it be that it depends on your ROM?
I am on Stock 4.1.2 and I know from others that it worked for them very well.
shaftenberg said:
Do you mean the "option" in "Settings"?
I see no reason for that in my mod, as I changed 2 variables in smali only. Strange... Might it be that it depends on your ROM?
I am on Stock 4.1.2 and I know from others that it worked for them very well.
Click to expand...
Click to collapse
I will try again, and if it still does not work, I will redo the mod and compile it myself. It could be something to do with the framework.
arman68 said:
I will try again, and if it still does not work, I will redo the mod and compile it myself. It could be something to do with the framework.
Click to expand...
Click to collapse
same not work
P.S write please what changes it is need to make and I will try it to make with the decompilled file
Seems only to be working on deodexed ROMs.
Shaftenberg are you sure, that this is also working on non-deodexed ROMs?
Tried with Omars ROM: works like a charm.
Tried on modified Stock-ROM: NFC option dissapears. :crying:
varalex said:
same not work
Click to expand...
Click to collapse
Which ROM?? What exactly does not work? Can't believe this...
I've changed two files:
-> smali/com/android/nfc/NfcService.smali
after line 2470 add: const/4 v0, 0x0
-> smali/com/android/nfc/NfcService$2.smali
after line 164 add: const/4 v10, 0x0
That's it...
fuxi222 said:
Shaftenberg are you sure, that this is also working on non-deodexed ROMs?
Click to expand...
Click to collapse
Yes, absolutely. Odex or Deodex, both work.
Maybe it's a signing problem, I'll try something and will tell you in a few hours, please stay tuned.
Updated OP, for those who have problems, install the fixed version and see, if it works, thanks!
The new version works very well for me.
shaftenberg said:
Updated OP, for those who have problems, install the fixed version and see, if it works, thanks!
The new version works very well for me.
Click to expand...
Click to collapse
Works now fine for me, also on InfiniROM :good:
Same here: working fine now.
What did you change to make it work?
I was so stupid and signed the app the first time.
What wonders is, that it worked for me and others... Really strange.
shaftenberg said:
I was so stupid and signed the app the first time.
What wonders is, that it worked for me and others... Really strange.
Click to expand...
Click to collapse
i'm using omar's rom and so far it doesn't work for me. if i install it nfc settings get removed. anny idea?
mercurio. said:
i'm using omar's rom and so far it doesn't work for me. if i install it nfc settings get removed. anny idea?
Click to expand...
Click to collapse
Did you install my "fixed"-Version or the old one, which isn't online anymore?
If so, install the fixed one. If you did that already, please ask Omar, because Nfc.apk is stock out of the box, nothing changed but only two variables. On stock ROM it works flawlessly.
shaftenberg said:
Did you install my "fixed"-Version or the old one, which isn't online anymore?
If so, install the fixed one. If you did that already, please ask Omar, because Nfc.apk is stock out of the box, nothing changed but only two variables. On stock ROM it works flawlessly.
Click to expand...
Click to collapse
thanks for the reply. i installed the fixed version but it doesn't work. i'll ask omar.
Damn it doesn't work for me neither
I use an EU JB homemade fastboot from here:
http://forum.xda-developers.com/showthread.php?t=1936512
No kernel mod, only a boot mod for SDcard swap
As the other, NFC disappear from settings if I install the modded NFC app.
I tried to copy the nfc.apk on systme\app\
But as soon as I try to enable NFC it Force close, an the phone became totally unusable
Le_Poilu said:
Damn it doesn't work for me neither
I use an EU JB homemade fastboot from here:
http://forum.xda-developers.com/showthread.php?t=1936512
No kernel mod, only a boot mod for SDcard swap
As the other, NFC disappear from settings if I install the modded NFC app.
I tried to copy the nfc.apk on systme\app\
But as soon as I try to enable NFC it Force close, an the phone became totally unusable
Click to expand...
Click to collapse
re- and deinstalled it some more times and somehow it started working. no idea why, but it works now.
I'll give it a new shot but I already re- and deinstalled the app few times ... strange
EDIT: this is silly.. I retry today and now it work ! ... sometimes android is a kind of magic
I thought I'd just stick this up here as a little warning to others. I have a N9005, stock rom but rooted with cf autoroot. Had phone a month with no issues what so ever, 3 days ago I decided to put xsposed on there and find some some modules. Before I found any I got a warning saying sd card umounted so decided to try sort that out. I then quickly found out the power button had gained a 5 second delay from press to any responses. Next the dialer keeps freezing and when I'm on a call the proximity sensor won't turn the screen back on for 10 seconds after I move phone away from my head. Most annoying of all is the clock app has just totally derpt. Got no alarm clock at all and clock widget keeps saying I'm in Israel!! The sd card seams to be totally dead as neither my sensation, G nexus or pc will read it now and my backups are on it so I guess today's job is finding stock rom and starting from scratch again.
All this may just only happen to me but I thought I'd put it out there as a little warning
shottle said:
I thought I'd just stick this up here as a little warning to others. I have a N9005, stock rom but rooted with cf autoroot. Had phone a month with no issues what so ever, 3 days ago I decided to put xsposed on there and find some some modules. Before I found any I got a warning saying sd card umounted so decided to try sort that out. I then quickly found out the power button had gained a 5 second delay from press to any responses. Next the dialer keeps freezing and when I'm on a call the proximity sensor won't turn the screen back on for 10 seconds after I move phone away from my head. Most annoying of all is the clock app has just totally derpt. Got no alarm clock at all and clock widget keeps saying I'm in Israel!! The sd card seams to be totally dead as neither my sensation, G nexus or pc will read it now and my backups are on it so I guess today's job is finding stock rom and starting from scratch again.
All this may just only happen to me but I thought I'd put it out there as a little warning
Click to expand...
Click to collapse
I have been using xposed for about a month since i got my Note 3. Never had any issues. So this happened even before you installed any modules?
Well xposed had been known to be tricky. Most times it works, sometimes it messes up and sometimes it gets you into a boot loop.
Yeah, was scrolling through the modules to download when the sd warning came on and all the other problems have since followed. Just want to note that I haven't installed anything else since Xposed and had no issues before installing
You installed the latest xposed version right? The previous ones are not compatible with 4.3. I've been using it with no problems.
Sent from my SM-N9005 using Tapatalk
Yeah, the latest version. What is really confusing me is why it's getting my location as Israel constantly. Doesn't matter if I'm on wifi or 4G
shottle said:
Yeah, the latest version. What is really confusing me is why it's getting my location as Israel constantly. Doesn't matter if I'm on wifi or 4G
Click to expand...
Click to collapse
The next logical question would be - Have you tried uninstalling it to see if the issues go away? If they do go away, try reinstalling it and see if you experience the same thing.
I've been using Xposed with the Wanam module and don't have any issues.
Have uninsulated. Made no difference. Factory reset made no difference either. Just had a full wipe and flashed clean stock rom. Will see how that does then will know if all is fixed
Ive had similar issues with xposed myself
~hy from germany~
Not all Xposed module is working in every phone.
You should name which Xposed framework module give you problem.
So far I using Xposed framework till now fine and not much issue.
I only use few module:
App Settings - 100% working.
Wanam Xposed - theming is working, hide smart stay, blocking mode and etc is working but not all example center clock not working since MJ6 firmware as it will give you FC after end call.
Instagram Downloader - 100% working.
Andrewtst said:
Not all Xposed module is working in every phone.
You should name which Xposed framework module give you problem.
So far I using Xposed framework till now fine and not much issue.
I only use few module:
App Settings - 100% working.
Wanam Xposed - theming is working, hide smart stay, blocking mode and etc is working but not all example center clock not working since MJ6 firmware as it will give you FC after end call.
Instagram Downloader - 100% working.
Click to expand...
Click to collapse
I never installed any modules
victorlht88 said:
Sounds more like a hardware issue.
Sent from my SM-N9005 using xda premium
Click to expand...
Click to collapse
It's simple. Your device is hacked by mossad.
Just to say, after a full wipe and clean flash back to stock rom all is normal again. I'm guessing just got unlucky with xposed this time. Not sure if I'll be in any rush to try again for a little while
I have xposed with a lot of modules, but xblast and 3 dot menu modules cause troubles, screen freezes and ui stops working
Mine, if this helps anyone (I've never had any problems):
App Settings
Boot Manager (Amazing)
Disable Clear Defaults Dialog
GravityBox (I disabled for messing something up - tread carefully)
GreenYoutube
NotificationMod
NotifyClean (Amazing)
Per App Hacking
Play Store Fixes
ReceiverStop (Amazing)
Tinted Status Bar (Great)
Wanam Exposed
XBatteryThemer
XBlast Tools (Great, but tread carefully)
XHaloFloatingWindow (I've not managed to get working)
Xposed Recent Tasks
What is the make of the SD card that failed? Was it SanDisk?
shottle said:
Just to say, after a full wipe and clean flash back to stock rom all is normal again. I'm guessing just got unlucky with xposed this time. Not sure if I'll be in any rush to try again for a little while
Click to expand...
Click to collapse
How do you do your full wipe?
columbo said:
What is the make of the SD card that failed? Was it SanDisk?
Click to expand...
Click to collapse
No, was a Samsung
sofes said:
How do you do your full wipe?
Click to expand...
Click to collapse
Through TWRP
Hello guys,
I've got a problem with my 'screen'. If i go to Settings > Battery there is no 'screen' so I cant see for how long my screen has been on. I couldnt find a good answer with google. On XDA there is also only one thread about this problem with no answer. I'm running a Nexus 5 stock 4.4.4 with Root & Xposed.
Things I've done trying to fix it:
* Wiped Cache and Dalvik Cache
* Wiped batterystats
* Plug in and out charger
Is there any option I have forgotten? I dont want to do a full factory reset. Don't blame me for my English please, it's not my nativ language.
Edit:
Did a full recharge and suddenly 'Screen' appeared. Anyone knows why?
Are you using any theme? Or are you using any xposed modules which might affect it? Install gsam monitor and see whether the screen time is recorded over there or not.
vin4yak said:
Are you using any theme? Or are you using any xposed modules which might affect it? Install gsam monitor and see whether the screen time is recorded over there or not.
Click to expand...
Click to collapse
I do use some Xposed modules. I use Gravitybox & Heads Up Notifications. Didnt install new modules when the problem appeared.
bas1234rule said:
I do use some Xposed modules. I use Gravitybox & Heads Up Notifications. Didnt install new modules when the problem appeared.
Click to expand...
Click to collapse
Very difficult to judge the culprit over here. Uninstall all modules, reboot and see if the screen shows up? If it still doesn't install Gsam battery monitor to see the screen on time if you don't want to reset.
If you're just worried about your /sdcard data then flashing a stock rooted 4.4.4 rom won't wipe it at all. Give it a try.
vin4yak said:
Very difficult to judge the culprit over here. Uninstall all modules, reboot and see if the screen shows up? If it still doesn't install Gsam battery monitor to see the screen on time if you don't want to reset.
If you're just worried about your /sdcard data then flashing a stock rooted 4.4.4 rom won't wipe it at all. Give it a try.
Click to expand...
Click to collapse
I've deactivated all Xposed modules, changed system language and did a reboot after my phone was fully charged. Did activate the modules again and problem went away. Thanks for the help, maybe you help out other XDA users in the future with this problem
bas1234rule said:
I've deactivated all Xposed modules, changed system language and did a reboot after my phone was fully charged. Did activate the modules again and problem went away. Thanks for the help, maybe you help out other XDA users in the future with this problem
Click to expand...
Click to collapse
Hmm.. I guess something went bad with the installed modules or may be not. Actually, this is the first time I'm seeing about this issue. Anyways, glad you got it sorted!
Please help me the title says it all my nokia x2ds is not working fine coz it is changing the brightness auto maticall so what should i do with it!!!!!!!!
alijaved154 said:
Please help me the title says it all my nokia x2ds is not working fine coz it is changing the brightness auto maticall so what should i do with it!!!!!!!!
Click to expand...
Click to collapse
Go to Settings->Display and turn off Auto Brightness
GokulNC said:
Go to Settings->Display and turn off Auto Brightness
Click to expand...
Click to collapse
It is off still it is happening may be it is a bug in the rom??
Or it could be because of iroot it recentle swicthed to supersu!!
alijaved154 said:
It is off still it is happening may be it is a bug in the rom??
Or it could be because of iroot it recentle swicthed to supersu!!
Click to expand...
Click to collapse
You can say it's a bug only if it was like this from the day you bought it.
Maybe some recent change that you made could have caused it.
Try recollecting what you did while it was working properly.
I don't think SuperSU will cause this.
Anyway, try switching back to the previous root app.
Even some Xposed module could have caused it.
If nothing works, the only way is flashing ROM again, if you don't have backup
gokulnc said:
you can say it's a bug only if it was like this from the day you bought it.
Maybe some recent change that you made could have caused it.
Try recollecting what you did while it was working properly.
I don't think supersu will cause this.
Anyway, try switching back to the previous root app.
Even some xposed module could have caused it.
If nothing works, the only way is flashing rom again, if you don't have backup
Click to expand...
Click to collapse
i did it it wasent working so now i am using a screen dimmer!!!
Thank alot bro)))
Hi Experts,
I am using the Chinese variant of Honor 6X which came without Google preinstalled on it. Eventually I was able to get this working with manually installing the Google core apps and play store on MM version.
Currently I am on B375 version/Nougat.
Recently, I thought of complete factory reset and then installing gapps. In TWRP, I did complete factory reset. Booted fine to system, reboot to recovery and flashed Micro gapps 7.0 for ARM 64 and booted fine but it was complete black screen on system. When pressed home key, no action (it was giving me a cross symbol that we get while clearing recent apps), back navigation key was not working either but only recent app key was working fine. Once I click on the app from this recent app menu, I was able to open the apps, settings etc but no luck from home screen and I could only launched apps which were in recent app memory.
am I doing anything wrong here or Gapps are not supported with Stock EMUI? Was able to get this done on my Honor 5X phone but not on Kirin.
Any advice?
I've seen similar issues here on the forum with Chinese galaxy s7, someone said something about PIT file difference between Chinese and other phones.
He tried pico gapps and he reported that it worked
PalakMi said:
I've seen similar issues here on the forum with Chinese galaxy s7, someone said something about PIT file difference between Chinese and other phones.
He tried pico gapps and he reported that it worked
Click to expand...
Click to collapse
Let me try that as well. Hope it solves the issue but will take time
All the best
Micro has some other functionality added. Maybe you can try pico instead.
sniperlife:D said:
Micro has some other functionality added. Maybe you can try pico instead.
Click to expand...
Click to collapse
Let me see once get time. As of now phone is fully functional, dont want to mess and time
shashank1320 said:
Let me see once get time. As of now phone is fully functional, dont want to mess and time
Click to expand...
Click to collapse
Goodluck dude.
shashank1320 said:
Let me see once get time. As of now phone is fully functional, dont want to mess and time
Click to expand...
Click to collapse
So did pico package work?!
He's still not trying
PalakMi said:
So did pico package work?!
Click to expand...
Click to collapse
On weekends
May be tomorrow
shashank1320 said:
On weekends
May be tomorrow
Click to expand...
Click to collapse
We'll be waiting.
shashank1320 said:
On weekends
May be tomorrow
Click to expand...
Click to collapse
All the best