NFC Enable on Screen Wake / Unlock Screen - T-Mobile Samsung Galaxy S II SGH-T989

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!

Related

Pimp My Xoom, One Click themer, Sound manager, Boot Anim etc

Pimp My Xoom .01
Todo:
- Bug reported Themes not applying.
- Straighten out the GVoice with a little more instruction.
- Add new Theme updates.
- Add new GVoice frameres hack update.
Please add any feature requests or bugs here
so I can hit the code hard on the weekend. You dont haffta but I might miss your request in the forum traffic.
Thanks.
Version Record:
.01 4/3 First.
.02 4/4 Fixed major bug in Sound managment utility. Redownload if you have .01.
Pimp My Xoom started as a utility to help me add and remove notification sounds from my Xoom easily from a massive library of sounds compiled by XDA developers from every Android phone ever.
Then it got ambitious. Pimp My Xoom now includes.
-Add/Remove/List/play installed notification sounds.
- Includes just the notifications from the Android Sounds library here on XDA.
-Add/Remove Bignadad's Themey type thing. Red and Blue
http://forum.xda-developers.com/showthread.php?t=1015434
-Add/Remove 3 boot animations. Attribution in app.
http://forum.xda-developers.com/showthread.php?t=998161
http://forum.xda-developers.com/showthread.php?t=991086
-Add/remoove GoogleVoice hack FOR 3GONLY
http://forum.xda-developers.com/showthread.php?t=1015857
-Add/Remove Keymapper mod.
http://forum.xda-developers.com/showthread.php?t=1016594&highlight=keylayout
-Add AdBlocker
http://forum.xda-developers.com/showthread.php?t=991082
TO Install and use:
1. YOU MUST BE ROOTED.
2. YOU MUST HAVE YOUR XOOM IN DEBUG and connected via USB.
3. Unzip PimpMyXoom and all it folders to a folder of your choice.
4. Run the PimpMyXoom_01.exe
5. Most buttons should be self explanatory.
YOU ACCEPT ALL RISK IN MODIFYING YOUR XOOM FROM STOCK.
Download PimpMyXoom
Reserved for future use.
Download failed. Will continue to try and download. Can't wait to try this! Thanks for the contribution!!
Instien said:
Download failed. Will continue to try and download. Can't wait to try this! Thanks for the contribution!!
Click to expand...
Click to collapse
Failed? Hmmm. lemme try.
Instien said:
Download failed. Will continue to try and download. Can't wait to try this! Thanks for the contribution!!
Click to expand...
Click to collapse
Your right. Mediafire blows up and says it cant. What the heck?
Edit: In a couple seconds I got the "Click to start download" and I clicked it and it started.
Password, really....and I get this how?
jmc2543 said:
Password, really....and I get this how?
Click to expand...
Click to collapse
Hang on. Stevenge just found a nasty bug. Reuploading... I passworded to freeze the downloads.
ah ok. makes sense.
All fixed. Carry on!
sorry im noob
sorry for the stupid ? but y will gvoice hack only work with xoom 3g was just wondering cuz i have wifi version
it works but...
it worked great but i did not get the full theme for the red or the blue my back home and apps on the bottom left hand corner did not theme also the same with my ariplane mode wifi etc...
moz90 said:
it worked great but i did not get the full theme for the red or the blue my back home and apps on the bottom left hand corner did not theme also the same with my ariplane mode wifi etc...
Click to expand...
Click to collapse
Not sure if it is just mine, however the reasonwhy the GVoice is listedthat way because on mine it tries to set up Gmail and when skip is hit it freezes. It will allow you to text, however only through contacts and will not let you read them for some reason.
Been looking into it all night.
stevenege said:
Not sure if it is just mine, however the reasonwhy the GVoice is listedthat way because on mine it tries to set up Gmail and when skip is hit it freezes. It will allow you to text, however only through contacts and will not let you read them for some reason.
Been looking into it all night.
Click to expand...
Click to collapse
Did yours fully theme?
Sent from my Xoom using Tapatalk
moz90 said:
Did yours fully theme?
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
It looks like it may be broken for some reason. I am going to test a bit more and let JT know.
stevenege said:
It looks like it may be broken for some reason. I am going to test a bit more and let JT know.
Click to expand...
Click to collapse
Sounds good im going to donate on 15th to em this makes it so easy to theme I love it I hope gets fixed
Sounds cool, can't wait till I can give it a try during class tonight!
i have been talking to him, however when you theme does it make you sign into your account again when you go to the market or is this just me?
I went to extract the file and it notified me that there are duplicate files, name wise, in the \New folder\RedAndBlue\3g\stock area both labeled framework-res.apk. How exactly you got it to name two files the exact same i dont know, but this may be an issue that is causing troubles that some are having with the particular theme
Hmm found a bug I believe. In the sounds area when I click Get Installed Sounds it starts CMD , starts the daemon wityhout really doing anything aparant. If you try to click it again I get an error saying "Error; The same variable cannot be used for more than one control. The current thread will exit. Specifically vDevSounds Line#162: GUI,Add,ListBox, x600, y113, w260, h500 vDevSounds, %formated%"
Also the application is not work AT ALL for me. I have my Xoom in debug mode but whenever I click a button in pimp it flashes a few CMD windows real fast then sits there. I reboot and nothing has changed.
jmc2543 said:
Hmm found a bug I believe. In the sounds area when I click Get Installed Sounds it starts CMD , starts the daemon wityhout really doing anything aparant. If you try to click it again I get an error saying "Error; The same variable cannot be used for more than one control. The current thread will exit. Specifically vDevSounds Line#162: GUI,Add,ListBox, x600, y113, w260, h500 vDevSounds, %formated%"
Also the application is not work AT ALL for me. I have my Xoom in debug mode but whenever I click a button in pimp it flashes a few CMD windows real fast then sits there. I reboot and nothing has changed.
Click to expand...
Click to collapse
Hmmmmm, thievish odd. The siund thing is the bug I found too but was fixed with the update to the program.
Try deleting it and really downloading the program.

[Q] How can I make the Bluetooth discoverable all the time?

Hi,
Yeah I'm aware its "danageraus" to put the BT discoverable and on all the time, but still,
Is there a way to make it on discoverable with no time limit (120 seconds)?
Thank you.
Yarden.
MMM you tried with bluetooth on/off widget by Curve Fish?
also the HTC stock bluetooth widget does it,,,
What do you mean by HTC stock bluetooth widget?
Can you explain that please? I don't understand where you see it.
BTW, the curve fish doesn't have that option.
Only, on and off, nothing about the "Discoverable" marking.
mcjordan92 said:
What do you mean by HTC stock bluetooth widget?
Can you explain that please? I don't understand where you see it.
BTW, the curve fish doesn't have that option.
Only, on and off, nothing about the "Discoverable" marking.
Click to expand...
Click to collapse
yes
the htc stock widget its in the widgets section in(long press on desktop..etc..)
and then browse the settings widgets and select the bluetooth widget...
u seen it now?
if u enables this widget your device is visible all the time,,
Thank you for helping but unfortunately you are wrong.
I'm not visible to any one, I must go to settings to enable this 120 seconds Discoverable option.
Maybe you tested it with Known-Partner and he already got you on list, but with new people it can't be visible, I just tested trice.
mcjordan92 said:
Thank you for helping but unfortunately you are wrong.
I'm not visible to any one, I must go to settings to enable this 120 seconds Discoverable option.
Maybe you tested it with Known-Partner and he already got you on list, but with new people it can't be visible, I just tested trice.
Click to expand...
Click to collapse
yes, so I have it with my co-workers...
i donĀ“t tried it with another person... sorry
I understand,
So got any other sollution?
I could do that so easily with my old N95, just clicking visible or not, no time counter..
So annoying
mcjordan92 said:
I understand,
So got any other sollution?
I could do that so easily with my old N95, just clicking visible or not, no time counter..
So annoying
Click to expand...
Click to collapse
I have the solution, if you are still interested.
It's in main.conf file.
If you want to know more, just tell me.
Oh yes please!
Hah I recently came across this BT thing and remembered I've asked for it once..
Funny world
I'd love to hear the solution, I don't care messing with some system dangerous files..
Sent from my HTC Desire HD using xda premium
On ICS and JB ROMs it's possible in bluetooth settings.
Sent from my Desire HD using xda premium
Bluetooth discoverability setting No limit GB 2.3.4 and other lower android versions
Content has been removed.
this method didn't work.
The time do get changed from 120 to 0 and successfully store but the permission after reboot return to read and write
If permissions won't stay, use root explorer and on properties press "sticky", and they stay there.
However, I'd simply go for JB or ICS, who have the visibility option in settings...
rather than giving the "sticky" to anything, since it's a special permission, for which, I admit, I don't know the full impact on system.
----
If I helped, please press Thanks...
DHDcfx4.2.1SR11deappified
I have transferred the file to another device and changed everything with root explorer. This time all sticked well but these changes does not produce any effect in the stock Rom.
Regarding ICS and JB roms I haven't found one for this device yet. The ones that claim to be are just roms dressed with apps and mods to look like one. Not real ports.
Djuganight said:
I have transferred the file to another device and changed everything with root explorer. This time all sticked well but these changes does not produce any effect in the stock Rom.
Regarding ICS and JB roms I haven't found one for this device yet. The ones that claim to be are just roms dressed with apps and mods to look like one. Not real ports.
Click to expand...
Click to collapse
What do you consider a real port? There are 4.2, 4.1 and 4.0 ports , roms, mods and Kernels all here http://forum.xda-developers.com/showthread.php?t=2002349
but these aren't for Samsung Galaxy Ace GT-s5839i.....
Djuganight said:
but these aren't for Samsung Galaxy Ace GT-s5839i.....
Click to expand...
Click to collapse
Can I ask why this was posted in the Desire HD forums?
+1
----
If I helped, please press Thanks...
DHDcfx4.2.1SR11deappified
just realised now. Perhaps was misleaded by the Ace part.
Sorry for this and thanks anyway

Cm10.1 Buglist/Workarounds Discussion

Made This because i see the same question/bugs referenced in the cm thread over and over for each build so I figured id place them all here so people wont have to look. And will know its a problem to start with and to keep the general talk out of the original development forum/aid the developers with a plain list of bugs/workarounds.
Feel free to add anything im missing.
To enable developer options:
settings---) about ---) scoll to the bottom and tap build number like 8x
now power menu reboot options are there also as a safety feature
Build
Jan 24 2013
A2DP IS NOW FIXED
headphone button hangup does not work
wifi tethering on stock kernel dont work (use kt's or a kernel that says wifi fixed)
Enabling "AirPlane" mode when Bluetooth is on and in-use causes it to forever be stuck in "Turning off Bluetooth..." status. Only a reboot will fix it.
when calling an 800 or automated number you cant dial a number at a prompt. For instance "Press 1 for english" doesn't work sometimes hapens when trying to answer gv with call screening every 1 in 10 or so
Can someone pleaseee confim that bluetooth is 100% fixed it works fine for me on kt
Build
Jan 4 2013
Keyboard/touch screen a little wonky try changing the hwoverlay settings in developer options works for some.. fixed in 1/3?
Call volume low:
The in call volume bug will continue to exist until the audio enhancements ( IE DUAL MIC) are finished and merged in. For now goto phone > settings and uncheck "Noise suppression". its not a fix but it helps.
Click to expand...
Click to collapse
music players not working or fc? [/QUOTE]Download rom toolbox and open the build.prop editor search for lpa.decode=true and change it to lpa.decode=false[/QUOTE] Seems to be working as of 1/3
Camera Crashes :
just close it and clear data start again works fine from there on out
Click to expand...
Click to collapse
Bluetooth A2DP :
bluetooth voice dial does not work in cm10 or cm10.1. It opens but cannot "hear" any commands.
Disable voice dial in "manage apps", then install "Bluetooth launch" from the play store. After this, set it to launch activity "com.Google.android.googlequicksearchbox.voicesear chactivity" under the "Google search" application.
Now connect your Bluetooth device, press the button you would normally use to initiate voice dial, and tap "Bluetooth launch" when prompted, then tap always use.
have to use the voice command button twice, but it works like a charm!
Click to expand...
Click to collapse
BT A2DP not functioning properly some say to make a call and hang up using bluetooth
GPS shows locked in notification drawer even after being turned off
Camera:
gtuansdiamm said:
When using ffc on camera mode switching to video mode screws color
Work around. Using the 8mp camera I in video mode and switch to ffc
Color is fixed but it is still a bit wonky
Click to expand...
Click to collapse
* unconfirmed
NO GPS?
flash back to any tw rom get a lock and then flash back to cm/aokp
Memory:
CNexus said:
"I can't find my apps and/or documents and/or anything thats supposed to be on my sdcard!"
From JB and up everything that was on the root of the sdcard (in previous versions) is now located inside the "0" folder
Click to expand...
Click to collapse
Screen wakes: screen wake only on stock kernel use ktoonsez kernel make sure min mhz is stock * possibly fixed in 1/3?
4g: ehrdp hand off still a bit wonky toggle airplane mode if it has trouble not sure. some reports of it working find others its.*
App switcher bug please confirm?
anything else? submit a reply and ill ad it to the op! your help is appreciated!
Bug fixed? as bugs get squahsed ill remove them again this is ment as a running list cuz theres no bug tracker
Dreamlogix said:
Made This because i see the same question/bugs referenced in the cm thread over and over for each build so I figured id place them all here so people wont have to look. And will know its a problem to start with and to keep the general talk out of the original development forum/aid the developers with a plain list of bugs/workarounds.
Feel free to add anything im missing.
To enable developer options:
settings---) about ---) scoll to the bottom and tap build number like 8x
Build
Jan 1 2013
Keyboard a little wonky try changing the hwoverlay settings in developer options works for some..
you think the call volume is too low? get volume+ in the play store
music players not working? Download rom toolbox and open the build.prop editor search for lpa.decode=true and change it to lpa.decode=false
Camera Crashes on first start: just close it and clear data start again works fine from there on out
random Bluetooth problems? not sure. some reports of it working find others its a lil buggy possible work around is make a call and hang up then streaming works.
GPS shows connected even after being turned off
Click to expand...
Click to collapse
Volume+ is a placebo
Sent from my SPH-L710 using xda premium
When using ffc on camera mode switching to video mode screws color
Work around. Using the 8mp camera I in video mode and switch to ffc
Color is fixed but it is still a bit wonky
Sent from my SPH-L710 using xda premium
Edit: it could have been that I had the color effect neon on
I though it did nothing since it was on top and in 8mp camera mode it did nothing
The color effect none is on the bottom
rrmzr1 said:
Volume+ is a placebo
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
how about voodoo? i know it wasent on the s2 and s1 it allowed positive db amp
"I can't find my apps and/or documents and/or anything thats supposed to be on my sdcard!"
From JB and up everything that was on the root of the sdcard (in previous versions) is now located inside the "0" folder
--
Btw, really good idea OP :good:
rrmzr1 said:
Volume+ is a placebo
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Ya I don't see a option for the earpiece speaker. Just the main back speaker. Anything else that will fix the low in call volume?
Sent from my SPH-L710 using Tapatalk 2
ooxteme said:
Ya I don't see a option for the earpiece speaker. Just the main back speaker. Anything else that will fix the low in call volume?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Try voodoo
Just installed cm10.1 again and the screen randomly flashes sometimes. Fix for that?
Sent from my SPH-L710 using xda app-developers app
DerIdiot said:
Hey all, any idea why when I try to play music or videos with sound the phone freezes hard? I have been having the issue on CM nightly 12-24, 29 and 30th. I'm sure there's just an app that needs data wiped.
Any help appreciated.
Click to expand...
Click to collapse
DerIdiot said:
Hey all, found a solution:
Use "File Explorer" with root access, go into /system/build.prop - scroll down until you see lpa.decode=true and change it to false, save and close and reboot.
Seems to work for now, though I imagine any new nightlies will require doing this at least for a while until they fix it.
Click to expand...
Click to collapse
---
@haynesr07, did you do a complete wipe? several times even? Sometimes stuff can leak through from your last rom and mess with your settings in your new rom, try clearing everything a couple times (2 or 3 times per item) and flash again
Also if you restored any data, that might be it, I've seen weird problems when people do that...I don't think this issue is rom specific though or it wouldnt be stable enough to be released
CNexus said:
---
@haynesr07, did you do a complete wipe? several times even? Sometimes stuff can leak through from your last rom and mess with your settings in your new rom, try clearing everything a couple times (2 or 3 times per item) and flash again
Also if you restored any data, that might be it, I've seen weird problems when people do that...I don't think this issue is rom specific though or it wouldnt be stable enough to be released
Click to expand...
Click to collapse
aye thanks m8
CNexus said:
---
@haynesr07, did you do a complete wipe? several times even? Sometimes stuff can leak through from your last rom and mess with your settings in your new rom, try clearing everything a couple times (2 or 3 times per item) and flash again
Also if you restored any data, that might be it, I've seen weird problems when people do that...I don't think this issue is rom specific though or it wouldnt be stable enough to be released
Click to expand...
Click to collapse
I wiped everything as usual...Hm, wonder what happened. Happened on liquid too..
haynesr07 said:
I wiped everything as usual...Hm, wonder what happened. Happened on liquid too..
Click to expand...
Click to collapse
you wiped system and factory reset and caches and then fixed permissions.
http://db.tt/GJ2NYrlb
This is the current build props i use. Leave out the Bootanimation one if you want to keep your boot animation. Do not edit buildprop if you have no experience. Look up the proper way to use them, Dreamlogix explainsto use rom toolbox above. Dont add all in. Check if value exists and change to the new value. If an entry is missing add it but dont assume its not there because double entries cause issues and if you mess up your build prop you might not boot. Have the rom file ready in case. One would need to dirty flash to get back to current install or a backup. If on a custom kernel after reinstalling rom, run kernel cleaner and reinstall kernel. Gapps will work on the dirty install without reinstalling them.
Use at your own risk i am not responsible for damages to ones phone. This is my build prop values i add or use not my actual build prop just the values and entries that i add or change.
The file is in plain text file format
GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
mw86 said:
http://db.tt/GJ2NYrlb
This is the current build props i use. Leave out the Bootanimation one if you want to keep your boot animation. Do not edit buildprop if you have no experience. Look up the proper way to use them, Dreamlogix explainsto use rom toolbox above. Dont add all in. Check if value exists and change to the new value. If an entry is missing add it but dont assume its not there because double entries cause issues and if you mess up your build prop you might not boot. Have the rom file ready in case. One would need to dirty flash to get back to current install or a backup. If on a custom kernel after reinstalling rom, run kernel cleaner and reinstall kernel. Gapps will work on the dirty install without reinstalling them.
Use at your own risk i am not responsible for damages to ones phone. This is my build prop values i add or use not my actual build prop just the values and entries that i add or change.
The file is in plain text file format
GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
Click to expand...
Click to collapse
what else did you change other than hw and ipa ?
and if you use inverted gapps you have to reflash.
Dreamlogix said:
what else did you change other than hw and ipa ?
and if you use inverted gapps you have to reflash.
Click to expand...
Click to collapse
Thanks i didn't remember inverted gapps you are right. I changed and added all of the values in the txt document i posted. They weren't for a fix, i always use them. Thats a list if the values i use.
Edit: most of them all add performance in some way. I didn't use any network build props so it could be more universal for other roms...
GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
I confirmed this morning that ktoon kernel (12/29) breaks audio (pandora, google music, 8tracks, etc) while stock kernel is fine on 1/1 nightly (clean flashed). On stock kernel, BT audio (google music) will play ok for 10-20 secs and then start fading in and out at a faster playback speed. You can reset this by making a phone call, but then you get another 10-20 secs of good audio before it starts up again. Someone should mention this on the dev thread at some point.
Also: if you're having problems with stock 1/1 nightly...do a clean flash. all my problems went away.
Dreamlogix said:
Try voodoo
Click to expand...
Click to collapse
I havent found a compatible version of Voodoo for the SG3, can you share yours?
livito said:
I havent found a compatible version of Voodoo for the SG3, can you share yours?
Click to expand...
Click to collapse
me either im on the search for a fix as wee speak have you tried the headset gain in phone settings? seems to be implemented couple of nightlys ago
mw86 said:
Thanks i didn't remember inverted gapps you are right. I changed and added all of the values in the txt document i posted. They weren't for a fix, i always use them. Thats a list if the values i use.
Edit: most of them all add performance in some way. I didn't use any network build props so it could be more universal for other roms...
GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk
Click to expand...
Click to collapse
agreed thanks for thoes prop tweaks whats your network tweaks i assume they only effect 3g
zkz90 said:
I confirmed this morning that ktoon kernel (12/29) breaks audio (pandora, google music, 8tracks, etc) while stock kernel is fine on 1/1 nightly (clean flashed). On stock kernel, BT audio (google music) will play ok for 10-20 secs and then start fading in and out at a faster playback speed. You can reset this by making a phone call, but then you get another 10-20 secs of good audio before it starts up again. Someone should mention this on the dev thread at some point.
Also: if you're having problems with stock 1/1 nightly...do a clean flash. all my problems went away.
Click to expand...
Click to collapse
there is a workaround in the op for streaming music players not working on kt kernel
Dreamlogix said:
agreed thanks for thoes prop tweaks whats your network tweaks i assume they only effect 3g
there is a workaround in the op for streaming music players not working on kt kernel
Click to expand...
Click to collapse
Your welcome, ui should be smooth with those.
I am not using any network build props is what i mean. I didn't want to play with tt for now to ensure my network works fine. So that txt document has none in it either. It is a bunch of tweaks gathered but no real network adjustments (i didn't want to negatively effect my setup or others)
GS3 L710 4.2.1 AOSP Kt747 2.1Ghz ROW/Ktoonservative *Tapatalk

[Mod][Fix]Lockscreen fix when accessibility option is enabled

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

[GUIDE] S4 Proximity Sensor Fix (Blank Screen During Calls)

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~!!

Categories

Resources