Please note the same information used to develop the app is in the guide for free... the app just makes it easier
You can find the app here
CALIBRATION REQUIRES ROOT... PLEASE GO GET ROOT ON YOUR PHONE AND THEN COME BACK.
Oh and BTW... I cannot be held responsible for anything that happens to your phone.... EVER!
use "adb shell" or a terminal emulator to get a terminal prompt and run the following commands
Step 1. - Save old calibration value (Optional)
Code:
su
mkdir /sdcard/S4data/
cat /efs/prox_cal >> /sdcard/S4data/prox_cal
Step 2. - Edit calibration value and update permissions
Grab the current value with everything clear of the proximity sensor.
Code:
cat /sys/devices/virtual/sensors/proximity_sensor/state
The value on mine was between 45 and 55. If you a lot higher then there might be something wrong with your phone. I used 150 for my value. You can use whatever you want but 150 is working great for me.
Convert your calibration value to hex (The windows calculator works great for this... use programmer mode). Put your calibration value in place of the 96 in the command below.
Code:
su
echo -en $'\x96' > /efs/prox_cal
chown system:system /efs/prox_cal
chmod 644 /efs/prox_cal
sync
Now reboot and your proximity sensor should be working.
Big thanks to greaty for his post here
Does this app remove dirt/lint from your proximity sensor?
Pp.
Sent from my Touchwiz device that never forgets gapps and everything works the way its supposed to.
I took my phone all the way apart and cleaned the sensor and it still had the issue. It seems that the sensor reads about 50 all the time and that is where they have the trip point set. This guide and the app just move that trip point.
Sent from my GT-I9505G using XDA Free mobile app
This saved my phone! Thank you!
Sent from my SGH-M919 using Xparent Red Tapatalk 2
Armandopjr said:
This saved my phone! Thank you!
Sent from my SGH-M919 using Xparent Red Tapatalk 2
Click to expand...
Click to collapse
Glad it worked for you!
dagentooboy said:
I took my phone all the way apart and cleaned the sensor and it still had the issue. It seems that the sensor reads about 50 all the time and that is where they have the trip point set. This guide and the app just move that trip point.
Sent from my GT-I9505G using XDA Free mobile app
Click to expand...
Click to collapse
because you dont know how to clean... i had 46 all the time and now i have 11-12 for month or two and it is not increasing anymore because i shielded it with silicone/rubber and no more dust come inside - thats the only permanent way to fix this.
I dont think its for CM11 also
FYI, this file (/efs/prox_cal) does not exist in Google Edition S4.
fincan said:
FYI, this file (/efs/prox_cal) does not exist in Google Edition S4.
Click to expand...
Click to collapse
I believe it's only in TouchWiz roms.
Cleaning the dirt out of the sensor is the only long term solution to fix it. But even then it's not permanent. It will eventually get dirty again.
This guide solve my problem.
I noticed about the problem when flashed AOSP based Rom. So, thinked it was a rom bug.
Then, flashed stock again and find the issue was still there.
After trying whit compressed air, and nothing changes, rooted my phone (again) and follow this guide, and proximity sensor is working again.
Thanks.
it was driving me nuts! this worked and thanks so much!
djdivan said:
This guide solve my problem.
I noticed about the problem when flashed AOSP based Rom. So, thinked it was a rom bug.
Then, flashed stock again and find the issue was still there.
After trying whit compressed air, and nothing changes, rooted my phone (again) and follow this guide, and proximity sensor is working again.
Thanks.
Click to expand...
Click to collapse
I am glad it worked for you. I have heard that this is a huge issue for the S4. Not sure about other models.
Manual method worked perfectly fine. You SAVED my LIFE! Tons of thanks from the Philippines!
You're awesome! Been using this phone without a proper sensor for almost a year!
Skipjacks said:
I believe it's only in TouchWiz roms.
Cleaning the dirt out of the sensor is the only long term solution to fix it. But even then it's not permanent. It will eventually get dirty again.
Click to expand...
Click to collapse
I'm using an AOSP ROM (http://forum.xda-developers.com/showthread.php?t=2643031) and worked for me.
But the point of my post (and I have the Verizon edition BTW) is to say THANK YOU! I got to the point where every time I made a phone call I knew almost certainly my screen wouldn't turn on and even half the time hitting the home button wouldn't do the trick. I know the issue is my otter box defender series, which never caused this problem until about a month or two ago. But I need the otter box and this fixed my problem... Thank you thank you! No more random voice mails from me because my screen won't turn on haha
Edit: For those on AOSP, if you type the value in the calculator, swipe left and hit HEX, it will give you the hexadecimal value you need
Ever since I flashed any custom ROM on my tmo S4, the proximity sensor hasn't worked right. Screen would never wake after a call ended, even the app I use to keep the screen off in my pocket (Gravity Screen, pretty cool app) wasn't working. I used the little app referenced in the OP, and it all works again! Thanks! :good: :highfive: :victory:
fincan said:
FYI, this file (/efs/prox_cal) does not exist in Google Edition S4.
Click to expand...
Click to collapse
Previously I wrote that that file and value does not exist in S4 GPE (Google Play Edition), but just for the heck of it I gave it a shot and created the file, and what do you know, it works. Since you saved my sanity and also my phone from being smashed with a hammer, I purchased the app to show my support. Thank you dagentooboy.
Thank you so much you saved my life!!!!!
Thank you! i bought the app & in about 1-2 min it was fixed! im on 5.0.1 awesome!!
Wow, following this steps help solved my problems, Thank you~!!
Related
This free app lets you turn the screen off by waving at the proximity sensor near your earpiece! No Widgets to press! Just the swipe of your hand!
Marketplace Search: ProximityScreenOff
A lil thanks if you like it will be appreciated ;D
The idea is nice but beeing left handed it triggers accidentally too much for me. Works pretty sweet though. Wish the prox sensor was on the right
Be cautious... Just tried playing with this on CM7 #B30, and almost couldn't get it off my phone. Also, didn't appear to work properly (I'm guessing its a Gingerbread issue). Not sure if these results are typical, but I had to reboot 3 times, uninstall through both the market, and app manager, and without being able to do nandroid yet, I was a little nervous.
Idea sounds great though. It'd be a fun trick to show friends, that's why I gave it a shot.
I am LOVING this!
This is the type of app that makes me go week at the knees! <3
Seattleite said:
Be cautious... Just tried playing with this on CM7 #B30, and almost couldn't get it off my phone. Also, didn't appear to work properly (I'm guessing its a Gingerbread issue). Not sure if these results are typical, but I had to reboot 3 times, uninstall through both the market, and app manager, and without being able to do nandroid yet, I was a little nervous.
Idea sounds great though. It'd be a fun trick to show friends, that's why I gave it a shot.
Click to expand...
Click to collapse
You don't follow directions. And it worked fine on my gingerbread build. To delete it fully, you first need to to in to settings, locations&security, then select device admin. Untidiness the checkmark, and select deactivate. Then delete.
Personally this was a bit too sensitive for me, but very cool concept.
dictionary said:
You don't follow directions. And it worked fine on my gingerbread build. To delete it fully, you first need to to in to settings, locations&security, then select device admin. Untidiness the checkmark, and select deactivate. Then delete.
Personally this was a bit too sensitive for me, but very cool concept.
Click to expand...
Click to collapse
You're right, I didn't follow those directions because I never saw them. Regardless, it still didn't work for me, and I wanted to let others know of a possible implication. I even mentioned that I was unsure if the result would be typical.
Sent from my HTC Vision using XDA App
I got laid through this trick.
Seattleite said:
You're right, I didn't follow those directions because I never saw them. Regardless, it still didn't work for me, and I wanted to let others know of a possible implication. I even mentioned that I was unsure if the result would be typical.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
If you'd read the information on the app market, before just downloading, you'd have seen.
Pretty cool but sometimes I use my left hand and lock it by mistake. And it doesn't disable when I'm in landscape mode for some reason. I had the check box for that feature checked. Is it supposed to be unchecked?
Sent from my HTC Vision using XDA App
Haaah made my 8 year old sister believe I was jesus with this app
But yeah, I don't know how it'll affect my battery life, and half the time I couldn't get the screen to turn off I wish the sensitivity was adjustable. Uninstalled for now.
convolution said:
I got laid through this trick.
Click to expand...
Click to collapse
You want to get laid by even hotter chicks? Casually mention in passing that you're running a "gingerbread" CM7 ROM. That's super underground.
**** isn't even out yet.
nivlac978 said:
Pretty cool but sometimes I use my left hand and lock it by mistake. And it doesn't disable when I'm in landscape mode for some reason. I had the check box for that feature checked. Is it supposed to be unchecked?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
It's suppose to be checked.
omarsalmin said:
Haaah made my 8 year old sister believe I was jesus with this app
But yeah, I don't know how it'll affect my battery life, and half the time I couldn't get the screen to turn off I wish the sensitivity was adjustable. Uninstalled for now.
Click to expand...
Click to collapse
The Proximity sensor is on the very left side of the metal grill for the earspeaker thing in the front...
maybe try swiping there...
love this app thanks alot haven't turned the screen off w/ the power button since lol
helloelan said:
You want to get laid by even hotter chicks? Casually mention in passing that you're running a "gingerbread" CM7 ROM. That's super underground.
**** isn't even out yet.
Click to expand...
Click to collapse
Don't forget to mention your custom kernal! If you forget that you will completly blow your chances!
Delivered by Western Union in the rain after 70 Years
It's a good idea but its a bit too sensitive... maybe after a few adjustments, I'd use it. Nice find though!
This one is pretty chill, but I prefer tap tap app, you can turn your screen on and off with the sensor.
Sent from my T-Mobile G2 using XDA App
How do I uninstall this app, any time I try, it tells me uninstall unsuccessful
stevedawg85 said:
How do I uninstall this app, any time I try, it tells me uninstall unsuccessful
Click to expand...
Click to collapse
disable device admin first, you need to read the app description....
qzan7 said:
disable device admin first, you need to read the app description....
Click to expand...
Click to collapse
sweet, thanks, got it
Hey folks, I've had a report from the Play Store that my app is crashing on Glides, but I can't get a log from the users. If any of you would be so good to test out the function and see if you have issues, and then grab me a log of the crash, I would be really grateful.. Will increase your thanks meter of course.
My app thread is here and the latest release is in post #3
When the app opens there is the option at the top to go to Android TTS settings. Apparently, clicking on this causes a crash.
Thanks in advance
brandall
See below
Looks like photo didnt attach... Trying again
Sent from my SAMSUNG-SGH-I927R using xda premium
Aquethys said:
Looks like photo didnt attach... Trying again
Click to expand...
Click to collapse
Thank you. I'm wondering if the problem is only with stock, unrooted, but there aren't too many of those on XDA..!
brandall said:
Thank you. I'm wondering if the problem is only with stock, unrooted, but there aren't too many of those on XDA..!
Click to expand...
Click to collapse
Indeed. Right when I opened the app it requested su access.
Btw, good work
Sent from my SAMSUNG-SGH-I927R using xda premium
Aquethys said:
Looks like photo didnt attach... Trying again
Sent from my SAMSUNG-SGH-I927R using xda premium
Click to expand...
Click to collapse
Aquethys said:
Indeed. Right when I opened the app it requested su access.
Btw, good work
Click to expand...
Click to collapse
Thank you If root is detected, su access is requested for advanced functions. Full busybox commands by voice are in the making!
I downloaded the one from the appstore and that one is working well as well. Got it to learn my name and tell me the time and toggle WIFI on and off. Working fine so far. Yes it does ask for SU. No crashes so far. Is the beta any different?
No problems here. Runs smoothly and recognizes commands.
Running stock rooted.
Tested it on a used Glide I just bought and haven't had time to root yet. Running stock 2.3.5 that was factory reset a couple of days ago. No problems accessing any menu or sub-menu item. Guess I just haven't had time to put enough crap on it to make it unstable.
dudejb said:
I downloaded the one from the appstore and that one is working well as well. Got it to learn my name and tell me the time and toggle WIFI on and off. Working fine so far. Yes it does ask for SU. No crashes so far. Is the beta any different?
Click to expand...
Click to collapse
Pyho said:
No problems here. Runs smoothly and recognizes commands.
Running stock rooted.
Click to expand...
Click to collapse
oldnoob said:
Tested it on a used Glide I just bought and haven't had time to root yet. Running stock 2.3.5 that was factory reset a couple of days ago. No problems accessing any menu or sub-menu item. Guess I just haven't had time to put enough crap on it to make it unstable.
Click to expand...
Click to collapse
Thanks guys, it's appreciated - strange that the crash can't be replicated - there must be some other issues on the devices that are having problems.
The beta release is still a while away and will contain many more advanced features for full device control by voice. It's strange bug reports like this that slow me down! At least I can move on from this one now.
Thanks again, your thanks meters have increased.
brandall
Maybe the user who posted about the crash removed the Pico service
brandall said:
Thanks guys, it's appreciated - strange that the crash can't be replicated - there must be some other issues on the devices that are having problems.
The beta release is still a while away and will contain many more advanced features for full device control by voice. It's strange bug reports like this that slow me down! At least I can move on from this one now.
Thanks again, your thanks meters have increased.
brandall
Click to expand...
Click to collapse
1 one feature I would love to see is the ability to add something in the calendar via voice. I hear Siri can do that and would love to see that on Android.
Nardholio said:
Maybe the user who posted about the crash removed the Pico service
Click to expand...
Click to collapse
I should have code to catch that and stop the crash - Why I'm even more puzzled that a crash could happen at all....
dudejb said:
1 one feature I would love to see is the ability to add something in the calendar via voice. I hear Siri can do that and would love to see that on Android.
Click to expand...
Click to collapse
This feature is working well on my test devices - it'll make an appearance in a couple of releases time, after I've had chance to test it on multiple users calendars and multiple calendar apps.
Ok I just tested my theory. With Pico TTS uninstalled it tries to open settings, which freezes and FCs, and it dumps you right back in your app. Your app does not crash. Honestly if this is the bug, I'd say it's user error and not your fault.
Nardholio said:
Ok I just tested my theory. With Pico TTS uninstalled it tries to open settings, which freezes and FCs, and it dumps you right back in your app. Your app does not crash. Honestly if this is the bug, I'd say it's user error and not your fault.
Click to expand...
Click to collapse
Good work Thank you. I assume the crash also may extend to the Pico engine (or perhaps any other) having installation corruption of some kind.
Thanks again to everyone who replied and tested, it's really appreciated. I think I can safely say 'not guilty!'.
Cheers
brandall
Is there a mod/flash that will enable the NFC on the lock screen rather then the current method of after unlocking the screen?
No one has done it for this phone but they have it for the tmo gs3. Which is a good as mod..
DMolina
noodles2224 said:
No one has done it for this phone but they have it for the tmo gs3. Which is a good as mod..
DMolina
Click to expand...
Click to collapse
Thanks, thats what I thought. Still trying to figure my new NFC tags out. Even bought Tasker which lets me shut the screen off when i place it next to the bed.
I set one tag as a switch to turn BT on/off when i put it in its cradle in the car. The problem is when the screen goes off, if I turn the screen back on, the NFC tag is read and BT is turned off. I should have not stuck the tag to the cradle and to some other place in the car I guess.
This is almost as fun as flashing ROMs!
echardcore said:
Thanks, thats what I thought. Still trying to figure my new NFC tags out. Even bought Tasker which lets me shut the screen off when i place it next to the bed.
I set one tag as a switch to turn BT on/off when i put it in its cradle in the car. The problem is when the screen goes off, if I turn the screen back on, the NFC tag is read and BT is turned off. I should have not stuck the tag to the cradle and to some other place in the car I guess.
This is almost as fun as flashing ROMs!
Click to expand...
Click to collapse
Elaborate I wanna play around with NFC Tags ^^
There is one in this thread for CyanogenMod. There's a Jelly Bean mod in that thread somewhere. I can't remember which post.
http://forum.xda-developers.com/showthread.php?t=1709586
I can't even get NFC to WORK on any CM9/10 based ROMs. urghhhh. anyone got any help?
Jagmit said:
I can't even get NFC to WORK on any CM9/10 based ROMs. urghhhh. anyone got any help?
Click to expand...
Click to collapse
I been reading bad things about CM9. Go with the ROM in my sig. its awesome!
Jagmit said:
I can't even get NFC to WORK on any CM9/10 based ROMs. urghhhh. anyone got any help?
Click to expand...
Click to collapse
I had the same issue whenever I flashed through a folder on the sdcard. Sometimes NFC wasn't even there. Are your ROMs on the root of your sdcard or in a folder?
Beast84 said:
I had the same issue whenever I flashed through a folder on the sdcard. Sometimes NFC wasn't even there. Are your ROMs on the root of your sdcard or in a folder?
Click to expand...
Click to collapse
My ROMs are in the INTERNAL Storage of my phone, on the root. NOT on an SD card. Are you running CM?
Thanks for the reply btw!
echardcore said:
I been reading bad things about CM9. Go with the ROM in my sig. its awesome!
Click to expand...
Click to collapse
Hmmm I've been looking into Darkside, so many people love it! Is Everything working on it? Any downfalls?
Jagmit said:
My ROMs are in the INTERNAL Storage of my phone, on the root. NOT on an SD card. Are you running CM?
Thanks for the reply btw!
Hmmm I've been looking into Darkside, so many people love it! Is Everything working on it? Any downfalls?
Click to expand...
Click to collapse
I don't have any issues and from what I've read, the battery life is superior. I can go a full day with streaming SIRIUS/XM for my 45 min ride to and from work over bluetooth, browsing, email, 2 or 3 phone calls, and I will still have about 20% before I go to bed.
echardcore said:
Is there a mod/flash that will enable the NFC on the lock screen rather then the current method of after unlocking the screen?
Click to expand...
Click to collapse
Actually on aokp ROM control there is an option to set nfc profiles. You could set it to always on or only when screen is on. It's cool
Sent from my SGH-T989 using xda app-developers app
Tmogalaxys2 said:
Actually on aokp ROM control there is an option to set nfc profiles. You could set it to always on or only when screen is on. It's cool
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
any update? Anyone made the mod yet
anybody? this would be great
[EDIT - Feb 27, 2013]I've merged both post into one. Also, I've zip-aligned both versions so that it uses less RAM on your phone. Attached are both the lockscreen and screen-off versions. Pick the one you want and rename to Nfc.apk before using
I've been searching for so long for this to be possible for the SGH-T989 but nobody had made one. After almost a full day of work starting from never having decompiled an APK and ODEX file, I've finally got a working version! :laugh:
I do not know how this will affect battery life.
Nfc-lockscreen.apk - This version will let NFC to continue to function while the screen is ON and LOCKED. The only time NFC should not work is when the screen is OFF.
Nfc-screenoff.apk - This version will let NFC to continue to function while the screen is ON and OFF, LOCKED or NOT.
Just a note, there is a "deep-sleep" mode on most Android phones that will disable NFC regardless. The phone goes into deep-sleep mode when the screen is off for too long. I do not know of a way to keep NFC function while it is in deep-sleep mode.
So, just to be clear, I have a Telus Samsung Galaxy S II X (SGH-T989D) running ICS 4.0.3. This hack should work for the T-Mobile SGH-T989 as well but I'll need someone to test it to verify. Finally, my device is rooted.
Pre-requsites:
SGH-T989 or SGH-T989D running ICS 4.0.3 or 4.0.4
Must be rooted, so you should have SuperSU
Have someway of copying files into \system\app\ - such as in my case, using ROM Toolbox
The modified APK file below, select the version you want and rename it to Nfc.apk
I HIGHLY RECOMMEND YOU BACKUP YOUR NFC.APK AND NFC.ODEX FILES IN \SYSTEM\APP\
If you do not know how to back it up, the steps below may be too complex for you. Try and figure out how to back those up first before proceeding.
Plug your phone into your computer. Copy the modified Nfc.apk to the root directory of your SD card on your phone.
Start ROM Toolbox and go into the Root Browser.
Browse into \system\app\ and delete Nfc.apk and Nfc.odex (assuming you have them backed up already).
Browse to \sdcard\external_sd\ and copy the modified Nfc.apk to \system\app\.
Press and long-hold the Nfc.apk file in \system\app\ until a menu appears. Select Permissions. Change the permissions to 0644. (Owner: Read & Write, Group: Read, Others: Read)
Reboot your phone.
I want to thank wrapper's initial post here that eventually lead me to mayhemer's post here.
Enjoy!
In case people wanted to know, I basically did this:
Changed
Code:
.field static POLLING_MODE:I = 0x0
to
Code:
.field static POLLING_MODE:I = 0x3
Copied and overwrote applyRouting() method from mayhemer's nfcmodsgh-T999_screenoff_UVALEM.zip to the stock one on SGH-T989.
adwas said:
I've been searching for so long for this to be possible for the SGH-T989 but nobody had made one. After almost a full day of work starting from never having decompiled an APK and ODEX file, I've finally got a working version! :laugh:
I do not know how this will affect battery life. But this mod of the NFC will allow your phone to continue to read NFC tags even if the screen is lock and/or off.
So, just to be clear, I have a Telus Samsung Galaxy S II X (SGH-T989D) running ICS 4.0.3. This hack should work for the T-Mobile SGH-T989 as well but I'll need someone to test it to verify. Finally, my device is rooted.
Pre-requsites:
SGH-T989 or SGH-T989D running ICS 4.0.3 or 4.0.4
Must be rooted, so you should have SuperSU
Have someway of copying files into \system\app\ - such as in my case, using ROM Toolbox
The modified Nfc.apk file below
I HIGHLY RECOMMEND YOU BACKUP YOUR NFC.APK AND NFC.ODEX FILES IN \SYSTEM\APP\
If you do not know how to back it up, the steps below may be too complex for you. Try and figure out how to back those up first before proceeding.
Plug your phone into your computer. Copy the modified Nfc.apk to the root directory of your SD card on your phone.
Start ROM Toolbox and go into the Root Browser.
Browse into \system\app\ and delete Nfc.apk and Nfc.odex (assuming you have them backed up already).
Browse to \sdcard\external_sd\ and copy the modified Nfc.apk to \system\app\.
Press and long-hold the Nfc.apk file in \system\app\ until a menu appears. Select Permissions. Change the permissions to 0644. (Owner: Read & Write, Group: Read, Others: Read)
Reboot your phone.
I want to thank wrapper's initial post here that eventually lead me to mayhemer's post here.
Enjoy!
In case people wanted to know, I basically did this:
Changed
Code:
.field static POLLING_MODE:I = 0x0
to
Code:
.field static POLLING_MODE:I = 0x3
Copied and overwrote applyRouting() method from mayhemer's nfcmodsgh-T999_screenoff_UVALEM.zip to the stock one on SGH-T989.
Click to expand...
Click to collapse
Nice...I think this was possible already but I forget how I set it.
What I really I wanted was NFC to turn off with the screen off and turn on with the screen on even if it is locked with security or swipe. That way when I get into my car in the AM, I dont have to unlock the screen to tap my NFC chip. I could just turn the screen on, tap the chip, and put it in the holder. it would save me a whopping 3 seconds! all joking aside, this would help when I am wearing gloves so I dont have to take my glove off to unlock the screen.
I was trying to figure out how to set up Tasker to do this but failed miserably. There is definitely a way.
echardcore said:
Nice...I think this was possible already but I forget how I set it.
What I really I wanted was NFC to turn off with the screen off and turn on with the screen on even if it is locked with security or swipe. That way when I get into my car in the AM, I dont have to unlock the screen to tap my NFC chip. I could just turn the screen on, tap the chip, and put it in the holder. it would save me a whopping 3 seconds! all joking aside, this would help when I am wearing gloves so I dont have to take my glove off to unlock the screen.
I was trying to figure out how to set up Tasker to do this but failed miserably. There is definitely a way.
Click to expand...
Click to collapse
I don't think the stock ROM from Telus or T-Mobile can do screen off with NFC still enabled.
But what you're looking for, with screen on, but locked and NFC is enabled and when screen is off, NFC is disabled, that should be possible with another mod. I'll have a stab at it tonight if I find time. Now that I know how to do one, it shouldn't be as difficult to do the other one too.
[EDIT] Please see above for the modified Nfc.apk file.
Sorry for the delay. But here it is, the modified Nfc.apk file that allows NFC to continue to function when the screen is in the lockscreen. NFC will NOT function when the screen is off.
Follow the exact same instructions as above but use the modified Nfc.apk file below instead.
I didn't test it, so let me know if it works or not.
Side note: After using my screen-off version of the NFC mod, I've noticed that the phone has a deep-sleep mode where NFC mode is disabled regardless of my mod. I don't know what the threshold time for when that deep-sleep mode is engaged but just FYI. As for battery life, I haven't had a chance to really compare yet so I'll update when I get a chance.
adwas said:
Sorry for the delay. But here it is, the modified Nfc.apk file that allows NFC to continue to function when the screen is in the lockscreen. NFC will NOT function when the screen is off.
Follow the exact same instructions as above but use the modified Nfc.apk file below instead.
I didn't test it, so let me know if it works or not.
Side note: After using my screen-off version of the NFC mod, I've noticed that the phone has a deep-sleep mode where NFC mode is disabled regardless of my mod. I don't know what the threshold time for when that deep-sleep mode is engaged but just FYI. As for battery life, I haven't had a chance to really compare yet so I'll update when I get a chance.
Click to expand...
Click to collapse
This worked great! Thanks for this. 1 less thing to do in the AM!
BTW... I didn't see an NFC.odex file in system/app/ but it worked anyway.
echardcore said:
This worked great! Thanks for this. 1 less thing to do in the AM!
BTW... I didn't see an NFC.odex file in system/app/ but it worked anyway.
Click to expand...
Click to collapse
I'm glad it worked! Some Stock ROMs don't have the .odex file because it is already inside the apk file. So don't worry about it.
Let me know how it goes battery-life wise.
adwas said:
I'm glad it worked! Some Stock ROMs don't have the .odex file because it is already inside the apk file. So don't worry about it.
Let me know how it goes battery-life wise.
Click to expand...
Click to collapse
This has no noticeable affect on battery life! Nice work. I am using "Nfc-lockscreen.apk" and it does exactly what I want it to do. I had to come back and grab it after changing ROMs. TY!
Hi guys! Again here's another mod from me. This mod should fix the lockscreen issue when any apps requiring accessibility is enabled.
Just push the apk in
Code:
/system/app/
replacing the original one with this mod.
Sorry guys was not able to make a flashable zip my phone is the only device I have right now to access the internet(no computer) so would really appreciate it if someone can make a flashable zip for me
Update
Added flashable zip
Download here
And as always... Deodexed ROMs only. Don't flash in a pure stock odexed ROM it will break your lockscreen.
Riyal said:
Hi guys! Again here's another mod from me. This mod should fix the lockscreen issue when any apps requiring accessibility is enabled.
Just push the apk in
Code:
/system/app/
replacing the original one with this mod.
Sorry guys was not able to make a flashable zip my phone is the only device I have right now to access the internet(no computer) so would really appreciate it if someone can make a flashable zip for me
And as always... Deodexed ROMs only. Don't flash in a pure stock odexed ROM it will break your lockscreen.
Click to expand...
Click to collapse
Great, was waiting for this one. thx.
Hi! Added flashable zip
Question....
May I ask what were the issues with the apps using open accessibility? I use Knock2+
and if I need the fix, which out of the two attachment do I need? Do I need to flash both of them? or just the second one as the file name suggested its purposes?
Just come across this thread from a post on the trickdroid forums...
This is great....just installed the zip on my HTC One and its seems to be working perfect at the moment....if theres any issues I'll post up after a days use...
It's made me a happy chappie tonight..:good:
Cheers
M.
Cloudyherb said:
May I ask what were the issues with the apps using open accessibility? I use Knock2+
and if I need the fix, which out of the two attachment do I need? Do I need to flash both of them? or just the second one as the file name suggested its purposes?
Click to expand...
Click to collapse
For instance, I have a pebble watch that requires the pebble app. The pebble app requires that you start the service for pebble in the accessibility settings. So an option at the top under services you have to turn on. As soon as you turn on one of the services there - as far as I know any service not just pebble - it will make the lockscreen broken. So from that point on just touching the lockscreen anywhere will unlock the device. You don't have to swipe up the lock or clock anymore. And you can't pull any of the app icons up to load into those. It just unlocks the device as soon as you touch the screen. The big problem with this is if the phone is ringing in your pocket. As you pull it out of your pocket and it rubs against your leg/pants, it will unlock/answer the call. Now occasionally I don't want to answer the phone. Its been a big problem.
Thanks to the OP for this fix. You are a life saver! Or at least a sanity saver.
sponge_worthy said:
For instance, I have a pebble watch that requires the pebble app. The pebble app requires that you start the service for pebble in the accessibility settings. So an option at the top under services you have to turn on. As soon as you turn on one of the services there - as far as I know any service not just pebble - it will make the lockscreen broken. So from that point on just touching the lockscreen anywhere will unlock the device. You don't have to swipe up the lock or clock anymore. And you can't pull any of the app icons up to load into those. It just unlocks the device as soon as you touch the screen. The big problem with this is if the phone is ringing in your pocket. As you pull it out of your pocket and it rubs against your leg/pants, it will unlock/answer the call. Now occasionally I don't want to answer the phone. Its been a big problem.
Thanks to the OP for this fix. You are a life saver! Or at least a sanity saver.
Click to expand...
Click to collapse
wow is was wondering about this today i noticed that i no longer have to drag the icon up to unlock it. thanks for clearing this up.
sweet! didn't realize it was a problem with the base
thanks bro
Sent from my HTC One using Tapatalk 4 Beta
stuck on loading screen
I flashed the zip in the download link and now my phone won't go past the "starting apps" screen after boot and before lockscreen shows.
I even reflashed the rom (dirty) and it won't work. Can you make a flashable file which puts the original files back so I can adb push it on my One.
I am on Trickdroid 5.5.1. by the way.
Please Help.
Columbo4Life said:
I flashed the zip in the download link and now my phone won't go past the "starting apps" screen after boot and before lockscreen shows.
I even reflashed the rom (dirty) and it won't work. Can you make a flashable file which puts the original files back so I can adb push it on my One.
I am on Trickdroid 5.5.1. by the way.
Please Help.
Click to expand...
Click to collapse
I have replied to your PM. Please check your inbox
I can't reproduce your problem so please try wiping dalvik cache or deleting the folder /data/data/com.htc.idlescreen.base/
And if it still persists try doing a factory reset instead.
Doing a dirty install of the Trickdroid ROM should have restored the original lockscreen app so I'm pretty sure it's something to do with your dalvik-cache.
Just try wiping dalvik-cache for now it shouldn't delete anything so it's safe.
So I guess the fix can only be used if you're rooted and that sucks cause I am not
Sent from my HTCONE using xda premium
MRFERRARI23 said:
So I guess the fix can only be used if you're rooted and that sucks cause I am not
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
Yes no other way at all sorry Better issue this bug to HTC then and wait for an update with a fix.
Is there a specific place to report these bugs? I mentioned this issue to them on the technical support form, but I'm not sure if it's the right place.
Either way, thanks for the help OP.
Yes it should be on the technical support.
@OT
triple 9 thanks haha hope it's my lucky day.
Riyal said:
Yes it should be on the technical support.
@OT
triple 9 thanks haha hope it's my lucky day.
Click to expand...
Click to collapse
Confirmed working on the Sprint HTC One with ViperROM, can I post this on the Sprint HTC One forum?
Go ahead I hold no ownership on any of my mods Everytime I post something for free in the internet I consider it already to be freely useable by anyone. So feel free to redistribute, remodify or whatever you want to do with it
Riyal said:
Go ahead I hold no ownership on any of my mods Everytime I post something for free in the internet I consider it already to be freely useable by anyone. So feel free to redistribute, remodify or whatever you want to do with it
Click to expand...
Click to collapse
Thanks, I will give you credit anyways!
I was wondering if this mod would negate the option to disable exchange server security? I've flashed trickdroid and applied this mod, but now my exchange server is requiring a password/pin on unlock. I'd like to be able to disable this when I'm home in tasker and I have that setup, but now it doesn't work. I think it was this mod that removed that feature from TrickDroid. Do you know the answer?
@Riyal since installing this fix I have a problem with the proximity sensor while on a call. Sometimes the screen goes black as soon as the call connects and the screen doesn't come back on. Sometimes the screen doesn't turn off when I hold the phone to my face and sometimes it does turn off but won't turn on again.
Is this problem related to this fix? Is anyone else experiencing this?
Sent from my HTC One using xda-developers app
sponge_worthy said:
I was wondering if this mod would negate the option to disable exchange server security? I've flashed trickdroid and applied this mod, but now my exchange server is requiring a password/pin on unlock. I'd like to be able to disable this when I'm home in tasker and I have that setup, but now it doesn't work. I think it was this mod that removed that feature from TrickDroid. Do you know the answer?
Click to expand...
Click to collapse
Hi! I'm not sure about the exchange server mod as I am not using it. I'll take a look at the mod soon and see what was modified on it and see if it conflicts with my mod.
And by the way could you give me a tutorial/guide on how and where to get an exchange account to test? Pardon but I don't really use that feature at all.
Anyways I am using exchange activesync on my phone right now but only using live.com account. And I'm not sure if having a private exchange server is needed.
tdingene said:
@Riyal since installing this fix I have a problem with the proximity sensor while on a call. Sometimes the screen goes black as soon as the call connects and the screen doesn't come back on. Sometimes the screen doesn't turn off when I hold the phone to my face and sometimes it does turn off but won't turn on again.
Is this problem related to this fix? Is anyone else experiencing this?
Sent from my HTC One using xda-developers app
Click to expand...
Click to collapse
Hi! Proximity sensor works perfectly well with my mod here. I have already called a number of times with the mod installed and I am also using tasker and I can't reproduce the problem
I have a problem with a camera rotation. Basically, when I open the camera to take a picture, the icon is either at the top or the bottom of the camera, then when I take a picture, it is always upside down. So, to get a picture that is not rotated 180 degrees, I have to turn my phone updside down.
Any idea how to fix this? I have flashed multiple roms and nothing seems to fix this. I do a wipe, infamous wipes, etc...
Can i totally rebuild the camera apk?
I have tried the "rotation fixer" on the t989 forum but no luck.
see screnshot. I took this picture in portrait mode.
have you tried to calibrate your proximity sensor?
How?
krazierokz said:
have you tried to calibrate your proximity sensor?
Click to expand...
Click to collapse
I am running jedi mind trick 8 and I don't have an option under display to calibrate anything. can you tell me how to do this? I can't find anything on the web as to how to do it.
Have you checked in the Jedi tricks settings or accessibility... can you do me a favor and download proximity test any one will work and this will rule out if it's the sensor don't worry we will figure it out
sent from my t mobile S4
krazierokz said:
Have you checked in the Jedi tricks settings or accessibility... can you do me a favor and download proximity test any one will work and this will rule out if it's the sensor don't worry we will figure it out
sent from my t mobile S4
Click to expand...
Click to collapse
nothing in jedi tricks settings or accessibility... i downloaded proximity sensor finder. It says proximity sensor available. Last distance reported 5.0 cm. If i put my hand over the sensor, it does detect that i am covering it up.
averagedawg said:
nothing in jedi tricks settings or accessibility... i downloaded proximity sensor finder. It says proximity sensor available. Last distance reported 5.0 cm. If i put my hand over the sensor, it does detect that i am covering it up.
Click to expand...
Click to collapse
Can you try to download camera ics and try taking a pic on there see what happens...?
Sent from my Nexus 7
krazierokz said:
Can you try to download camera ics and try taking a pic on there see what happens...?
Sent from my Nexus 7
Click to expand...
Click to collapse
i installed camera ics - same exact problem. I also tried the official google camera 4.3 apk ... no luck there eitehr.
What was your last working rom setup etc. with camera? Also what roms have you ran
sent from my t mobile S4
krazierokz said:
What was your last working rom setup etc. with camera? Also what roms have you ran
sent from my t mobile S4
Click to expand...
Click to collapse
i ahve been on jmt 6, 7 & 8. It started messing up about a month back and I can't find a fix. I tried the "rotation fixer" that some ahve used but it didn't work either...
I may have tried a cm10 at some point, but I am 90% sure i have only used jmt and it started messing up with jmt... it worked one day, then one day it started screwing up
Full wipe and reinstall sounds like you got corrupt files
sent from my t mobile S4
krazierokz said:
Full wipe and reinstall sounds like you got corrupt files
sent from my t mobile S4
Click to expand...
Click to collapse
every time I flash a rom, i do a full wipe from twrp. I also run infamous cache and super cache wipe.
Well if nothing is fixing your issue the only thing I can recommend now is to either go back to Odin and start from scratch.then flash 8 again if you dont feel the need for all that just try and deal with it brother you could also try flashing with cwm maybe that will help sorry I couldn't help you further man good luck to you please post if you find a solution you can help others later :beer:
sent from my t mobile S4
And not even 1 thanks.....k....I will!
Sent from my SGH-T989 using Tapatalk
thanks patrol
kj2112 said:
And not even 1 thanks.....k....I will!
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
KJ, mr thanks patrol... Thank you for point it out. I Didn't know the thanks meter was important there... Maybe I should spend alittle more time on the forum so I can get up on the proper thanking etiquette. But you made a "point"