yashsingh1/xdaforums huggingface dataset:
[ONE Q&A, Help & Troubleshooting] minego:
After restoring my backup and flashing the radio for lollipop I have the same result. *sigh*

---------- Post added at 10:30 PM ---------- Previous post was at 10:27 PM ----------

Thanks. I'm downloading cm-12.0-YNG1TAS17L-bacon-signed.zip now so I can try that.

---------- Post added at 10:44 PM ---------- Previous post was at 10:30 PM ----------

Success! Using fastboot to flash NON-NLOS.bin did the trick! Thanks for all the help!!!
[ONE Q&A, Help & Troubleshooting] NWKENT:
Yep..I tested all OS for the 1+1, I had Proximity sensor on 11s_05Q, BUT even a clean flash/upgrade to 12.1 CM NIghtlies, Exodus, BlissPop, none that I tried would have NO proximity sensor, SO, I done as above, flashed the modem file for 12.0, via PC and adb now, all versions of 12.0 & 12.1 have a working proxy sensor..flashing the zip file for ANY OS via TWRP wouldn't solve the issue..A MUST to flash the modem file via adb is the only solution..DON'T waist your time trying different OS's..just flash the correct modem file per your OS and the issue will be resolved..

I tried many ways, many OS's flashing via TWRP, NORE would all my Nandroids solve the issue, 11s worked fine, but nither 12.0 or 12.1 flash via TWRP would correct the issue..

Flash the 12.0 modem file as mentioned in the above posts, via fastboot/ adb and your troubles will be resolved..

"Sensor Kinetics" in the PlayStore has an awesome app. for testing the devices sensors, works great, helped me tremendously, to test and resolve the issue, its also very helpfull with other device sensors, worth every penny for the Pro version, but the FREE version works just as well to test the proxy and ambient sensors..

Here's a screen shot of the screen for testing..>>

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device ee)
[ONE Q&A, Help & Troubleshooting] minego:
Since flashing NON-NLOS.bin to fix this I've noticed that my battery life is much worse, which a LARGE portion of my battery being used by "Android System". So, I tried flashing Full-YNG1TAS0YL-modem-flashable.zip again (as Heisenburg suggested in post #41).

I thought I'd lose my proximity sensor again by doing this, but my proximity sensor is still working! So, I'm going to run like this for a while and see if it makes a difference to the battery usage.

It now seems to me that if you're running a lollipop rom that the solution is to flash NON-NOLS.bin, then flash Full-YNG1TASOYL-modem-flashable.zip. It would take more testing to tell for sure though. This is just what has worked for me so far.
[ONE Q&A, Help & Troubleshooting] Gede:
Flashing the modem with fastboot has had no impact on my battery life...
[ONE Q&A, Help & Troubleshooting] NWKENT:
Nore have I noticed lesser battery life, but nore have I performed an extensive battery life/charge endurance test..But..I can Witness to the ONLY cure that I know of, is adb/fastboot flash the 12.0 modem bin file, nothing else would correct the issue, even know good Nandroids with working Proxy sensor, nore flashing a clean OS via TWRP would correct the issue..ONLY adb / fastboot flash would work for me, I CLEAN flashed, erasing all partitions, and starting anew via TWRP, still NO proxy sensor, the moment I flashed the modem bin, via adb / fadtboot boot, working proxy sensor..

I dont have an explaination, nore am I "smart enuff" to explain it all..just know for a FACT, was the only cure for one of my SandStone Blacks..11s_05Q proxy sensor worked flawlessly, but when a 12.0 (or) 12.1 LP was flashed..No proxy sensor.!!

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device ee)
[ONE Q&A, Help & Troubleshooting] minego:
I am not sure that this is directly related to flashing the modem, but before flashing the modem I did not see "Android System" using significantly more power than my screen, and now I do.

Last night I restored my earlier backup of Oxygen OS (which I've spent the most time with). I'm going to use the phone as normal today and see how it does. On Oxygen OS "Android System" is using less than it was on CM12.1 already, but it is still higher than I expect.

I agree that flashing with fastboot seems to be the only way to resolve the proximity sensor issue though. Installing one of the zips with TWRP did NOT work.
[ONE Q&A, Help & Troubleshooting] MuerteDiablo:
I had this problem the past few days. Flashed the file named above and it works beautifully again! No more sudden black screens or screens that stay on during calls!

Thank you!
[ONE Q&A, Help & Troubleshooting] paiktaras:
I do have a problem with the proximity sensor.

Ι have the validus 23-6-15 build and after a failed attempt to upgrade to the last build validus 7-7-15 stoping work.

i make clean flash, after flasing the latest cm12 nigthly build, i make again clean flash and then flash again the validus 23-6-15.

The sensor not work.

some idea of what I can do ?
[ONE Q&A, Help & Troubleshooting] emptyragnarok:
I faced same issue in lollipop based ROMs. Fixed it by flashing modem file using fastboot [MENTION=4833961]paiktaras[/MENTION]
[ONE Q&A, Help & Troubleshooting] paiktaras:
can you posting me the correct file? , can i to flashing via twrp recovery ?
[ONE Q&A, Help & Troubleshooting] NWKENT:
Nope..the user clearly stated one must use "fastboot" method, which means with a Windows PC, via fastboot/adb, one would flash the modem (bin) file..NOT via TWRP..

One can extract JUST the modem file from the stock CM 12.0 (or) CM 12.1, or if your using another stock ROM, the same would be extracted, then flash while the device is in "fastboot" mode, via adb, one would flash the file..There are instructions in many threads how one does this, step by step..READ this complete thread, only 7 pages, will help one to understand, more clearly..one should NOT attempt this, unless thoroughly understanding the procedure(s)..

:)

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device 77)
[ONE Q&A, Help & Troubleshooting] paiktaras:
via fastboot will erase everything on the device ?
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Flashing a modem won't erase anything on the device.
[ONE Q&A, Help & Troubleshooting] paiktaras:
I long to deal with this process, can you give me a link that shows step by step the process ?
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Go to my guide thread here

http://xdaforums.com/showthread.php?t=2839471

Section 8 shows how to flash images with fastboot. You only need to worry about the command the begins with "fastboot flash modem..."
[ONE Q&A, Help & Troubleshooting] paiktaras:
if understood, only download the file NON-HLOS.bin, then I give the command fastboot flash modem. and after the command fastboot reboot, I'm right ?
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Yes, get whichever modem you want to use, then flash it:

fastboot flash modem NON-HLOS.bin

fastboot reboot
[ONE Q&A, Help & Troubleshooting] emptyragnarok:
Sorry bro. I am using my mobile device. I can't explain whole procedure. I think few guys have already specified what I meant. Download latest cm 12 nightlies. Extract zip file contents.. Copy modem file and using fastboot command flash it. It won't erase any data. [MENTION=4153349]Heisenberg[/MENTION] has already said how to flash few posts above. Please follow that. Sorry I can't help more than that now.
[ONE Q&A, Help & Troubleshooting] Leloupgris:
Ok, this is (more or less) what worked for me. None of the previous solutions worked in my case (flashing via adb different Lillipop modems, or via TWRP).

I foolowed this thread to install a stock CM12S on my one (first saved everything on my computer and made a backup through titanium):

[GUIDE] STOCK CM12S Installation (FASTBOOT)

After checking with "Sensor Kinetics", the proximity sensor was working. Then I installed back the last Exodus nightlie :

[ROM][5.1.1][Official][Nightlies]Team-Exodus for Bacon

Checked again if the sensor was working, and it was! So installed back titanium and restored everything back to normal. BTook me an hour, but it's finally working!
[ONE Q&A, Help & Troubleshooting] paiktaras:
i make the solution , but the problem is here :(
[ONE Q&A, Help & Troubleshooting] NWKENT:
To me, that screenshot looks good, looks like the flash was successful, once the flash is successful, and the command prompt is at c:\adb..One would unplug the device, then reboot to the OS home screen..

Or have I overlooked something.? Was your flash successful, did the flash solve the proxy sensor issue..I dont understand your English (exactly)..lol

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device ee)
[ONE Q&A, Help & Troubleshooting] paiktaras:
Νot solved the problem, although the success of shows the screenshot.

The problem finally solved with install again ( after clean flash ) the rom.

By the way, many thanks for help
[ONE Q&A, Help & Troubleshooting] knucklehead_11:
Just like to say thanks for all the help in this thread. I spent some time trying to get my Proximity sensors to work. I flashed multiple firmware through fastboot, and flashing just zips. What worked for me was just starting over. I'm on CM 12.1 with twrp 2.8.6.0. I downloaded latest nightly, wiped everything Cache, Dalvik, data, and system. I didn't wipe storage and usb-otg. Fresh ROM CM 12.1 nightly booted and sensors now work. Its pretty easy. With Some people just flashing through fastboot works. With me it didn't.

Thanks again for all the ideas and help in this thread.
[ONE Q&A, Help & Troubleshooting] molohov:
This is the definite solution. Thanks so much Gede!

I'm the most surprised by the fact that a lot of ROMs say to flash the CM12 firmware (which contains this modem), but the flashing doesn't take effect? I've definitely run the CM12 firmware flash before, but only after using fastboot flash modem did the baseband version actually change.

My new version is

DI.3.0.c6-00230-M8974AAAAANAZM-1

Before the fastboot (and after the CM12 firmware flash) it was

MPSS.DI.2.0.1.c7-00020-M8974AAAAANAZM-1
[ONE Q&A, Help & Troubleshooting] gspotr:
You my friend are a legend. Thank you. LOL I also pressed the thanks button.
[ONE Q&A, Help & Troubleshooting] Jasam30011:
not worked

not worked for me

flashed this 44s modem.

on rom cm 12.1 nightly.
[ONE Q&A, Help & Troubleshooting] Heisenberg:
That's because you need to flash a Lollipop modem if you're on a Lollipop ROM.
[ONE Q&A, Help & Troubleshooting] Chinaroad:
found this, it's working for me i'm on 12.1 nightly

http://xdaforums.com/showpost.php?p=58749919&postcount=683
[ONE Q&A, Help & Troubleshooting] PlusOne3k:
Thanks i am trying this! Steps that i have done before :

- Flashing old Modem, no success. (tried both ZIP File and fastboot flash modem). no success.

- Wiped whole System/Data/Cache/Dalvik and Flashed cm-12.0-YNG1TAS17L-bacon-signed, restored Apps with Titanium. no success.

- Tried many Apps from Appstore (GPS Fix etc.) no success.

- Changed the gps.conf (europe ntp server etc.) no success.

Would be happy if your solutions works for me, feedback comes soon - need a backup first.

** can't download the modem in the thread that you wrote.

** Tried to flash the proximity old sensor patch, but the device comes not up with CM12.1 (bootloop, if i use Full-CM12-16.02.15-modem-flashable it will boot, Compass still not showing right direction)

Can you exactly explain how did you fix this? Cause i think the thread with the solution is from 10th February 2015.
[ONE Q&A, Help & Troubleshooting] NWKENT:
Extract the modem file from the OS that you have installed, I mean an original zip file, then flash the modem file via PC, via adb..

If that doesn't work, then you need to erase and start with a clean OS flash, then do the above mentioned procedure..

See post # 50, 58 & 83, also MANY other posts with the solution..

sent by my: SandStone Black 1+1

(aka) OnePlus One, OPO (Device ee)
[ONE Q&A, Help & Troubleshooting] Jasam30011:
Finally Solved. Must work for all on cm 12.1 nightlies and other lollipop 5.1.1 roms

Thanks I started trying different modems available online. Then I started to extract modem bin file from different roms available online and finally got modem extracted from aicp rom for oneplus and tweeked it a little bit using the instructions i found online. I am on cm12.1 for anybody having issue and have uploaded to dropbox. Download from here.

Steps:

1. Download android sdk from here.

2. Copy the modem downloaded from the link above into the platform-tools folder.

3. Boot oneplus into fastboot mode by pressing and holding volume up button while powering on the device.

4. In platform-tools folder right click in empty space by holding shift key. Select "open command window here" option.

5. Connect your device.

6. Enter commands one by one.

fastboot devices​

this should return you a list with your device listed. this confirms that the device is connected successfully.

fastboot flash modem AICP_Extracted_Modem_Tweeked.bin​

it should take about 5 - 10 seconds to complete.

And you are done.

Hit thanks if that solved the issue.
[ONE Q&A, Help & Troubleshooting] PlusOne3k:
Thanks for all the effort and the detailed instruction. Flashed the tweeked modem file - still same result. I will try the other method.

C:\Temp\Minimal ADB and Fastboot>fastboot flash modem AICP_Extracted_Modem_Tweeked.bin

target reported max download size of 1073741824 bytes

sending 'modem' (57457 KB)...

OKAY [ 1.809s]

writing 'modem'...

OKAY [ 1.778s]

finished. total time: 3.589s

C:\Temp\Minimal ADB and Fastboot>fastboot reboot

rebooting...

finished. total time: 0.005s

--

update : re-installed cm12s cm-12.0-YNG1TAS17L-bacon-signed (wipe: system, data, cache, dalvik/art) - now it works flawless. I will stick to cm12s until we got a final cm12.1. Full wipe was the solution for my case :(
[ONE Q&A, Help & Troubleshooting] pesche80:
Proximity Senor not working (sometimes!)

I'm aware that I have a slightly different problem with my proximity sensor. But it still seams related.

The problem is:

Sometimes my phone ignores the proximity sensor and wakes up by double tap in my pocket. It unlocks constantly or activates the shortcut settings in the pull-down menu (like airplane mode, flashlight, etc).

It is also possible to wake it up by using the power-on button (while holding the finger on the proximity sensor it should stay off).

After a reboot the behavior is as it should be. I place my finger on the proximity sensor, I can't wake up my phone ( by double tap or power button).

This problems appears to come up after some time. I'm not aware of any special actions. Only rebooting helps.

The problem persisted on latest CM12s and now also on CM12.1. Actually I updated to CM12.1 to see if the problem persists...

Now reading this thread, I was figuring that maybe a reflash of the modem might help?

But which version should I try?

Does anybody else experienced similar problems? Any solutions? Like a soft-reset of the sensor without rebooting?

Thanks!
[ONE Q&A, Help & Troubleshooting] Chinaroad:
-Enter Recovery

-Flash this modem XNPH44S (11/07/14): https://www.androidfilehost.com/?fid=95784891001607675 (i'm on cm12.1 nightly it works don't worry)

-Flash this sensor patch https://www.dropbox.com/s/bdnirlhnrj60ojs/Android-5.0.2-CM11S-OldSensorPatch.zip?dl=0

-Restart, it should work

Off course you should download the files and put them in the storagebefore going in the recovery mode
[ONE Q&A, Help & Troubleshooting] nsmart:
Besides flashing kitkat modems on lollipop roms, doing full wipes or flashing 'modified' modem versions, please vote for it here.

In my case I can reproduce a temporary fix by doing a phone call. But it stops working some times after. It also happens on SultanXDA's build with CAF kernel.
[ONE Q&A, Help & Troubleshooting] kankees:
thanx buddy work for me on cm12.1:good:
[ONE Q&A, Help & Troubleshooting] sToRm1nG:
I tried it with COS 12.1.

Proximity sensor is not an issue but gyro/acceleration is.
[ONE Q&A, Help & Troubleshooting] lilzad:
i got the same issue my gyro/accelerometer isnt working either is there a fix for that as well??
[ONE Q&A, Help & Troubleshooting] mp187263:
Hi all, just had to mention that flashing 44S or any other modem never did the trick for me. The only thing that worked is the fix on this thread. Running RR 5.5.6.

http://xdaforums.com/oneplus-one/general/guides-mmwolverines-opo-mods-tips-tricks-t3027926

Good luck.
[ONE Q&A, Help & Troubleshooting] Merlin696:
Worked great on CM12.1, I was going to attempt to do it myself and realized it was a bit over my head, could someone create a flashable version of this modem or does it just not work that way?

Also when I flash a nightly update will I have to reflash the modem?
[ONE Q&A, Help & Troubleshooting] shiv901:
love you brother.... tried everything, and lost all hopes, but you just saved my phone...:laugh: :good:
[ONE Q&A, Help & Troubleshooting] arthas_sp:
heres the fix, flash the 44S modem and then flash this https://www.dropbox.com/s/bdnirlhnrj60ojs/Android-5.0.2-CM11S-OldSensorPatch.zip?dl=0
[ONE Q&A, Help & Troubleshooting] vvvsss:
Proximity prob

Hi Frds... I switched to cm12 after dat rooted my phone settled in resurrection remix rom... Now I want to revert back to cm11s...so I switched to cm11s but I have proximity sensor prob during call screen goes black it never wakes up even if I press power button... I'm using recovery twrp with multirom installed... I tried many Rom like oxygen, blisspop, dirty unicorn, miui, oxygen... I want to settle in cm11s please help... I tried flashing h all modern files but still I'm having sensor prob... Rite now using cm11s with proximity sensor prob... Pls help me
[ONE Q&A, Help & Troubleshooting] arthas_sp:
Have you tried this below ? Only this solved my problem with the proximity sensor. :good:
[ONE Q&A, Help & Troubleshooting] vvvsss:
Hi I tried this also but still I'm facing d proxy prob
[ONE Q&A, Help & Troubleshooting] lilzad:
Have you tried getting the original modem from cm11 and fastboot flashing it?
[ONE Q&A, Help & Troubleshooting] vvvsss:
I flashed Calkulins_Stock_OPO_XNPH44S_ROM_v1.0. Zip and 44s modem file using twrp...
[ONE Q&A, Help & Troubleshooting] lilzad:
What version is your twrp?
[ONE Q&A, Help & Troubleshooting] vvvsss:
TWRP 2.8.7
[ONE Q&A, Help & Troubleshooting] lilzad:
2.8.7.? As far as I know there is a bug in anything over 2.8.7.0 so if it is over that you need to install 2.8.7.0. If that still doesn't work download the original cm11s ROM extract is and fatboot flash the NON-HLOS.bin file that should fix it
[ONE Q&A, Help & Troubleshooting] vvvsss:
K let me try.can u pls tell me the exact version ofof twrp I need to install and also Wat is fastboot
[ONE Q&A, Help & Troubleshooting] lilzad:
The version you should install is 2.8.7.0. I'm not at home now on my way when I get home I can tell you how to install via fastboot. Fastboot is bootloader
[ONE Q&A, Help & Troubleshooting] vvvsss:
K bro waiting for d reply thanks in advance
[ONE Q&A, Help & Troubleshooting] lilzad:
sorry i forgot to post it look at this for tut on how to flash via fastboot http://forums.androidcentral.com/sprint-nexus-s-4g-rooting-roms-hacks/153160-guide-fastboot-flash-radio-modem-using-fastboot.html this is the modem https://drive.google.com/file/d/0B7JRTJJt7h7tRVlkVGJCekp1M2s/view flash that. it should then work this si the latest kitkat modem
[ONE Q&A, Help & Troubleshooting] Gunner for life:
Did you fix the battery issue.. i am also having the same issue .. MY battery is draining quickly after flashing the NON-HLOS via fastboot.. I have noticed that my baseband has changed. I know the old baseband caused the proximity problem but i used to get amazing battery life. I am currently on resurrection LP rom ..
[ONE Q&A, Help & Troubleshooting] idoratzon:
Got the cm 13.0 bacon update and it totally killed my proximity sensor

Whenever i'm on a call i can hang it up and and have to connect my headphones or for that. also can't type anything while on a call.

so i read the posts here and more or less figured all i need to do is flash the modem\radio file and it should work and solve this headache.

i'm using a OnePlus One, the full version of my CM is

13.0-20160819-SNAPSHOT-ZNH5YAO0IN-bacon

1. if i got this thing right, can somebody help me with how to find the files and some help with how to solve it?

2. if i am wrong and something more is needed, a hand in what to do would be great.

sorry for the mess, i just don't know much about these kinda things and wanna see if it's something i can fix on my own or look for other ideas.

thanks in advance,

ido
[Sprint LG Optimus G] QA Bot:
Q&A for [ROM][CM11.0] OFFICIAL CM11.0 for LS970

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][CM11.0] OFFICIAL CM11.0 for LS970. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Sprint LG Optimus G] europys:
To all who have this problem (me included) and don't want to use Hangouts or 3rd party SMS/MMS apps, I used the new Google Messenger application for SMS and MMS. Everything works including responding.

Oops, can't post links yet. Go to Google Play store and search for the Messenger app by Google.
[Sprint LG Optimus G] dopy25:
I tried the google messaging app, and yes it does look almost identical minus a few settings. But it would not send and MMS for me. Maybe they fixed the issue. I don't know. I use textra otherwise and it works perfect for me.

EDIT: Google messenger does send and receive MMS fine now.
[Sprint LG Optimus G] europys:
Glad to hear that it's working. I'm strange because I like to keep my SMS/MMS separate from hangouts even though I use both. But it's always nice to have options. :)
[Sprint LG Optimus G] mr383:
What's the deal with data toggle? Is it that you can't easily turn off data in quick settings? Why not just put the phone in airplane mode and then turn wifi back on?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ballinx:
Trying to upgrade to new rom to see if it would correct a few issues on my phone from the HTC website. As I follow the installation instructions this error pops up.

SPECS:

carrier: CINGULAR USA

ROM: 1.34.502.1
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] mrvanx:
Please read the wiki and use the search function. This is a known issue and can be solved very easily.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] ballinx:
OH ok thank you. I would search but had no idea what key words to use. Please be advised I am not a hacker nor a programmer, just a really good understanding on how computer systems work/real educated electronics consumer.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] pof:
just unpack the exe, extract the NBH file and use custom RUU 3.5.
[Galaxy Tab 3 Q&A, Help & Troubleshooting] jonstowe78:
I've just installed the PUP on my tab which is running TranchidaKat v3.5 by JT1510365 (btw, JT, great rom). Does anyone have suggestions as to how i should setup No-Frills CPU Control. Thanks in advance for any help and advice!