yashsingh1/xdaforums huggingface dataset:
[ONE General] nicesoni_ash:
Using oxygen modem on cm11 broke my proximity sensor so had to flash cm11 modem again but I saw so many others flashing oxygen modem but no didnt complain about their proximity sensor. Do you knw any possible way to use that may be with a fix for cm11 proximity sensor.

I am using carbon rom as my first rom and tried using euphoria (cm12.1) as secondary and failed. Here is what I did.

I simply install carbon cm11, finish setting it up. Installed multirom manager which showed that installed Boeffla kernel has that needed patch and recovery is fine too, only multirom is not flashed so I booted into recovery and flashed multirom latest version. It showed that it injected boot image. I rebooted after that and it showed auto reboot internal rom booting. I waited it to finish and then it booted. Everything was fine till then.

Now came the second part of flashing cm12.1 as a secondary rom. I flashed that cm12 file needed to flash first when flashing cm12(12.1) rom so I flashed it on normal install method not thru multirom. It went well. I flashed cm11 modem then and it went fine too.

Then I went to advance and multirom and add rom, I flashed euphoria rom and went into roms area, select euphoria rom and it shows different options. I selected add zip and flashed gapps and boeffla kernel too and then I flashed cm12 proximity sensor zip. That's it. Rebooted again and if I select carbon rom (cm11) phone booted fine but if I select euphoria, phone hangs at sp. That's it. I am not able to go ahead after that.

Any suggestions to fix this issue. Thanks a lot for ur help.

Edit:

Tried again and this time it worked. Euphoria booted this time. Sorry to disturb.

But my question about using ozygen modem on cm11 rom still remains.

I have one other question about flashing cm12 needed firmware file. When I flash it and flash cm11 modem and didn't flash cm12 rom, my phone still works fine, it won't have any negative impact on my phone?

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE General] MMWolverine:
Hello, sry I didn't answer earlier, was just about to flash Euphoria when I saw you got it working. Sometimes secondary roms need at least a dirty flash, if not a clean install.

Regarding your question about having a cm11 based rom with cm12 firmware and cm11 modem. I used this combo with cm11s for several months without problems. I mean, that was only a workaround for multirom with lollipop secondaries and for new kernel versions. For example you could use ak v.087 with cm11 firmware, but newer kernel branches require cm12 firmware or you get bootloops.

I tried to find a workaround, for example with lollipop sensors blob on cm11s, but that didn't work. Now that COS12 is out I won't even try again, time to move on. :p
[ONE General] nicesoni_ash:
Thanks for your reply but what I am looking for is a way to use oxygen modem on carbon or crDroid (cm11) rom not cm11s or later. Is it possible anyhow without having proximity issues?

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE General] MMWolverine:
I don't think it's possible, but can you point me to the users who claim they have it working.
[ONE General] nicesoni_ash:
Let's lrave it at that if you think it's not possible. I don't remember where did I see that, I might have saw something different, may be they were talking about cm12. [emoji2]

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[ONE General] mp3deviant721:
I can confirm that. I had Mahdi booting on the OxygenOS modem some time earlier last week when I was messing with modems and ROMs (just bought my 1+1). I had signal but no data and the proximity sensor was indeed broken... With the CM11s modem, everything was fine and dandy...

Edit: I forgot to say thanks to [MENTION=4842497]MMWolverine[/MENTION], this thread is quite helpful to 1+1 n00bs. :D So Thanks!!

| OnePlus One | SlimKat 9.0 | AK.220 |

| Ace of Angels fighting!! |
[ONE General] abhimanyu bajaj:
okay tell me... im using kk carbon rom.. and i want to multiboot euphoria.. as secondary... do i need any of these fixes? and will i get any problem?
[ONE General] MMWolverine:
Euphoria 5.0.2 or 5.1? You need to flash cm12 firmware + cm11s modem on primary and proximity sensor on secondary. There shouldn't be any problems, but as I no longer use kitkat roms you may need to experiment yourself.
[ONE General] NoFrown:
I'm running cos12 primary and oxygen secondary

Multirom 32h

My proximity sensor is not working

When I answer a call, the screen remains on.

What should I do?

Step by step please
[ONE General] iruiz2:
[MENTION=4842497]MMWolverine[/MENTION], to revert back to kitkat, flashing the CM11 firmware should do the trick, right? Then I could just restore one of my KK nandroids...
[ONE General] MMWolverine:
Which firmware/modem did you flash? For me calls are working fine: COS12 primary, ResurrectionRemix 5.1.1 & OxygenOS secondaries. My proximity sensor fix is not needed, if you have only lollipop roms in MultiROM. So try reflashing COS12 and it should be ok.

Yes, your procedure is correct.
[ONE General] NoFrown:
I reflashed it already, or should I do a clean install?

After flash, wipe cache or anything?
[ONE General] MMWolverine:
Well did you flash my proximity sensor fix? Because that has a survivable script for dirty flashes. In such case you can use the restore zip (https://www.androidfilehost.com/?fid=95916177934544397), or you can go in /system/addon.d, delete 10-KeepSensorFix.sh and reflash the rom.
[ONE General] NoFrown:
I flashed the zip and reflashed the rom, still no working proximity sensor. What should I do now?

Also /system/addon folder is not present
[ONE General] MMWolverine:
Hm, I really don't know what to tell you. It's working fine here.

What about if you flash OxygenOS modem on primary? http://xdaforums.com/showpost.php?p=59894532&postcount=68
[ONE General] ak0r:
I wish to try MiUi as secondary... Anyone here who installed it? Please help me
[ONE General] jsmonu:
Okay.. I apologize if this is a repeat query, but I'm oddly confused reading the last few posts.

I'm currently running Euphoria 5.1.1 as my primary, and installed Mahdi 4.4 as the secondary.

Everything seems cool on the primary (LP) but in KK problem seems to be there. Once the screen is turned off (even without a call) it doesn't turn back on again. I have to reboot.

Seems to me like the proximity sensor issue only, but in what order do I flash what now?

Thanks!
[ONE General] MMWolverine:
Flash CM11s modem zip and proximity sensor fix (both on primary). You could also try setting cm11s modem in multirom twrp recovery. Just extract NON-HLOS.bin from the zip, rename it to NON-HLOS.img and in twrp MR menu Add radio.img.

[MENTION=4181708]ak0r[/MENTION]

Last time I checked MIUI worked fine as secondary. Where do you have the problem, flashing in recovery or proximity sensor concerns?
[ONE General] ak0r:
I am trying new MiUi6 ROM... And currently have both lollipop ROMs.
[ONE General] MMWolverine:
Can you share the download link? I tried this one https://forums.oneplus.net/threads/rom-miui-v6-port-oneplus-one.287695/

It won't even boot, it's probably on the Multirom script compatibility side. Also says ColorOS modem is needed, which shouldn't matter, but then you need proximity sensor fix on lollipop roms. To much trouble imo.
[ONE General] ak0r:
Its working.. So far no issues... Havent flashed ColorOS modem. I'm still on CM12 modem and firmware. :D

I downloaded from here http://pan.baidu.com/s/1ntn7PvN
[ONE General] ak0r:
[MENTION=4842497]MMWolverine[/MENTION] Just found that Prox-Sensor zip is creating bootloop for me. I've SlimSaber as primary and MIUI as secondary. I flashed sensor fix on primary but bootloop.
[ONE General] MMWolverine:
Ok, thanks for your report, I will try myself as secondary. It's SlimSaber-bacon-5.0.2-20150426, correct?

For now flash my proximity sensor restore zip or delete 10-KeepSensorFix.sh from /system/addon.d/ and dirty flash the rom.

Edit: no bootloop here.
[ONE General] ak0r:
I'll try again. This is what I following:

0. SlimSaber in primary and MIUI in secondary

1. COS12 Firmware

2. CM11S Modem

3. Proximity Sensor fix in primary

Correct me if I am following wrong steps.
[ONE General] ak0r:
[MENTION=4842497]MMWolverine[/MENTION] have you tried ColorOS and CM12 combination? Do you suggest any steps?
[ONE General] MMWolverine:
Your steps for prox sensor are correct. And I have not tried ColorOS, sry.
[ONE General] chiujiewei:
hi guys im already on cm12s..in order to make both cm12 and cm11 rom boot i have to flash the cm11s modem and the cm12 proxim fix right? but does that cm12 prox fix work with cm12s..i thought cm12 and cm12s are differnt
[ONE General] ak0r:
It works. You have to flash proximity fix only on lollipop ROMs.
[ONE General] chiujiewei:
hi ak0r..how did u manage to boot miui6 and cm12

im already on the latest cm12s stock rom with multboot and other lolipop roms

i want to try miui6 kikat

since im already on latest cm12s as my primary do i have to flash the cm12 firmware modem as given in the first post? or just the cm11s modem and cm12 proximity fix
[ONE General] iruiz2:
If you are con cm12s stock you already have the firmware. Flash cm11 modem, and on your lollipop ROMs flash the proximity sensor fix.

If you only have one ROM, just flash those two files, and after that install your favourite kk ROM as secondary
[ONE General] ak0r:
If you flsh MIUI, it'll overwrite your firmware/modem. So flash MIUI in multirom (secondary). Then flash CM12 firmware from 2nd post. Then again flash CM11 modem from 2nd post. Then flash proximity sensor fix on all lollipop ROMs separately. The n you are good to boot any ROM.

Currently I have following setup

SlimSaber Lollipop - Primary

FlexOS Lollipop - Secondary

MIUI KitKat - Secondary.

All running fine. Though I use primary ROM most of the times. And MIUI hardly for an hour as my office email works on KitKat only.
[ONE General] abhibnl:
Hi [MENTION=4842497]MMWolverine[/MENTION]

Remember having a great time receiving your help and suggestion in Omega S3 thread. :)

Well for the current topic, i can comfirm that flashing proximity fix on slimsaber results in complete FC in the rom and the only solution is to wipe system and flash again. I have CM11s as primary and flashed slimsaber as secondary. As expected, proximity was not working on SlimSaber and when i flashed proximity fix over it, on the startup od rom i was continously getting com.android.phone FC's and i had to erase that rom. So out of curiosity, does slim rom use any special proximity drivers? Because on Euphoria Secondary, the proximity fix worked perfectly.
[ONE General] MMWolverine:
Hi, [MENTION=4296062]abhibnl[/MENTION]

I flashed SlimSaber from May 2 as secondary and have absolutely no fc's to report. I tested this with COS12 primay rom (firmware) and CM11s modem, the proximity sensor works fine during calls. Maybe we are looking at different roms, so please give the link to the one you used.

However, I see there's a mistake in the script of my restore zip, which doesn't rename sensors.msm8974.so.bak to original. So in fact if you restore, screen stays on during calls and a dirty flash is needed. I apologize for this and will correct asap. But again no bootloops or fc's.
[ONE General] abhibnl:
I flashed the rom from this thread:

http://xdaforums.com/oneplus-one/development/rom-slimsaber-bacon-t2858033

My Setup:

Latest Multirom, CM11s Primary, CM12 Firmware + CM11 modem flashed on Primary.

Installed SmilSaber 2 May version as secondary, flahsed gapps. Applied Layers. Flashed Cm 12 Proximity Fix in secondary and after a reboot, continous FC and unusable system.
[ONE General] MMWolverine:
Ah ok, can you maybe try flashing the proximity sensor on a clean install and then flash gapps, layers etc. I had no problems since it was right after flashing the rom.

Btw, I corrected and re-uploaded fix and restore zips. Restoring original blob should work ok now.

Edit: flashed slim mini gapps 05-05 on top of my prox. fix and again no fc. Will try with the layers later, but I'm 99% sure the sensor isn't the cause.
[ONE General] abhibnl:
Thanks for your efforts bro. I'll try on a clean flash sometime again. As of now, i have completely removed multirom so will let you know the next time i'll try it. Probably this weekend.

Sent from OnePlus One
[ONE General] rrohanjs:
hey which kernel are you using on primary to work with multi rom ?
[ONE General] ak0r:
Render Kernel for all CM12 ROMs
[ONE General] MMWolverine:
CM12.1 firmware from May 15 added to 2nd post.
[ONE General] mp3deviant721:
So I have a question... Does firmware have anything to do with BT? I was running SlimKat 9.0 a while back with CM12 firmware and the CM11s modem and I was having some BT issues (devices not auto connecting, had to press a button on the device to force it to connect). Whereas with Lollipop and the correct modem it'd be fine... Was KitKat just a problem child in that aspect or was it just my setup?

OnePlus One | Powered by EuphoriaOS x Boeffla
[ONE General] MMWolverine:
Must have been something on the kernel's and rom's side. Afaik firmware and/or modem doesn't effect bluetooth.
[ONE General] mp3deviant721:
That's what I thought. Thanks for confirming.
[ONE General] datagubben:
Can I make the navbar buttons brighter with some mod? Its very dim now even set to 100%
[ONE General] MMWolverine:
I think that could only be done by tweaking the kernel and going over the threshold. Unfortunately I'm no expert in this, but I can ask around.
[ONE General] mp3deviant721:
Make it white with black buttons? Might involve some XML mods... Or change the buttons to a different color or something more visible?

OnePlus One | Powered by EuphoriaOS x Boeffla
[ONE General] datagubben:
Sorry, but I mean the hardware button light is barely visable
[ONE General] mp3deviant721:
My bad... Those are pretty dim though. I do agree. Have you tried the software buttons though? They might work better for you...

OnePlus One | Powered by EuphoriaOS x Boeffla
[ONE General] gregt0410:
Non CM Rom

Hope you can shed some light on this. I went to flash BrokenOS on my OPO. I was coming from CM12.1 0518. After flashing my cellular service (both phone and data) started intermittently going out (approx every 10 seconds) and I never achieved LTE service even though on 12.1 I always had it. Any ideas?

Edit: This also happened to me on Exodus.
[ONE General] MMWolverine:
Have you tried with an older radio, prior to the OxygenOS (05/15) version? This could be a specific rom issue, hard for me to say because I can't reproduce it.
[ONE General] scarletbaron:
Hey so I was wondering if the new May 15th firmware that I am seening around is the same as the one that had to touch screen issue fixed with the battery drain issue, because on the 18th May this commit was reverted back so shouldn't the new firmware be 18th May?
[ONE General] rahulrai:
Hi [MENTION=4842497]MMWolverine[/MENTION] even after flashing the Proximity sensor fix on BlissPop & Miui v6 as the 3rd rom, i'm getting sod of screen during calls. I have flashed cm11 modem on miui rom. Any help will be appreciated.
[ONE General] Ofthecats:
[MENTION=4842497]MMWolverine[/MENTION] the developer of TGM kernel has created a flash able zip that fixes play services system update wake lock on oxygen ROM.

It can be found in calkulin's thread on the universal issue.

http://xdaforums.com/showthread.php?p=60964718
[ONE General] davebugyi:
Oneplus Two?
[ONE General] MMWolverine:
Touch screen fix was implemented and reverted as kernel commits and not into firmware. So you need to get a kernel that has it.

What's your primary rom? There's no need to flash proximity sensor fix on Miui v6, which is still kitkat based. CM11 modem goes on primary partition and the fix on all lollipop based roms you have.

Thanks!

I believe it's to early for 1+2. Maybe 1+1 "mini" or possibly a software upgrade to 5.1.1?
[ONE General] mannpr:
Bro i on currently CM 12.1 as primary n has cm11 as secondary so on which i should flash modem n Proximity fix???? n dont need to flash firmware coz im on lollipop right ..???
[ONE General] MMWolverine:
Yep, when you flashed CM12.1 you installed newer firmware, so now just flash CM11s modem and proximity sensor fix both on primary.
[ONE General] mannpr:
Awsm man everything is fixed now .....all files flashed on primary which is CM 12 n boom cm11 worked like charm....:D:D:D
[ONE General] jasonteoch:
I am on CM OS 12.0 with build number LRX22G and I am having the proximity issue during call, which version of modem can I flash? and where can I download it? thanks!
[ONE General] MMWolverine:
Are you using MultiROM? You can reflash CyanogenOS 12 firmware (YNG1TAS0YL) from 2nd post (has the correct modem) or you can use OxygenOS modem: http://xdaforums.com/showpost.php?p=59894532&postcount=68
[ONE General] jasonteoch:
I am not using multiRom and it not root.
[ONE General] Mithun rascal:
Thanks Man..!

Works like charm.!

I just flashed ur proximity fix zip in recovery in my blisspop v3.4 thanku it works...!
[ONE General] MMWolverine:
If you don't have root, is your bootloader at least unlocked? Because you cannot flash my zips in stock recovery. Really strange that you have proximity sensor problems, if you haven't made any changes.

Try disabling "Prevent accidental wakup" under Display & Light. Or make a full wipe and reflash COS12 rom.
[ONE General] jasonteoch:
Mine the bootloader is also unlock.

I already tried to disable "Prevent accidental wake-up" and "ambient display" under Display & Light .

Will try to do a full wipe when I got everything backup. thanks!
[ONE General] bbsankarreddy:
My internal ROM is CM12.1 nightly and I tried this method after adding MIUI 6 as the secondary but it didn't work!

The proximity sensor seems to be broken in both the ROMs after doing this!! And yeah I flashed the files to the internal ROM i.e CM12.1 !
[ONE General] myweca:
Confused!

So I read many pages back!

But I am still confused, since my secondary rom has sensor problem!

My set up:

Primary Rom - Euphoria 5.1.1

Secondary Rom - Mahdi Rom 4.4.4

I followed the procedure in the first page, but on Mahdi I have SOD after placing a call.

Has anyone managed to make that combination work? And how?

Do I need to flash any specific firmware before booting any of my roms?
[ONE General] MMWolverine:
I did a quick test with Mahdi, running COS12 as primary. You're right, SOD even with latest lollipop radio. This combo worked for me, please try it an report:

1. flash 05-05 firmware on primary ... https://www.androidfilehost.com/?fid=23991606952614989

2. flash CM11s modem (radio) on primary

3. flash proximity sensor fix

only

on primary

Try the guide above, but next time please don't quote the whole post. Your frustration will be noted even without exclamation marks.
[ONE General] bbsankarreddy:
Sorry for quoting the whole thing... :)

But let me know one thing..

I had CM 12.1 as Primary ROM and MIUI 6 as Secondary.So i flashed all three zips(i.e CM12.1 firmware,CM11S modem and finally CM12 proximity sensor fix) from Install Menu in TWRP..

Did I do it right?
[ONE General] MMWolverine:
Yes, the procedure is correct. I'll try Miui 6 now and test myself.
[ONE General] bbsankarreddy:
Thanks and let me know if it worked for you..
[ONE General] MMWolverine:
Ok here are my findings, same as with Mahdi. After flashing the CM11s radio on newest firmware (15-05), it won't stick in MIUI. As the Lollipop radio is kept, proximity sensor stays broken. I added radio.img separately to secondary ROM with previous twrp, but that made bandwidth version unknown. Probably there's sth wrong with MultiROM, I'll ask KINGbabasula.

But nontheless I managed to get it working, by first flashing older firmware from 05-05 (I'll put the link in #2nd post), then flashing CM11s modem. Proximity sensor fix remains on CM12.1, so that should be ok. You could also try swapping primary and secondary ROMs, see if that makes a difference.

Edit: another workaround option is to flash the modem from the fastboot mode. Extract NON-HLOS.bin from CM11s zip, put the file where you have adb/fastboot apps, open cmd window and write this...

adb reboot bootloader
fastboot flash modem NON-HLOS.bin
fastboot reboot

If you aren't comfortable with adb, I can make a batch script that will do it automatically.
[ONE General] bbsankarreddy:
Did It..worked like a charm.. Thanks for the solution...

But if it the lollipop modem is kept,why didn't it work in the lollipop rom too... What actually happened,behind the hood??

And why did it work after flashing the modem in the fastboot mode??
[ONE General] MMWolverine:
I'm posting these questions in MR thread, hopefully dev can explain a bit more. ;)
[ONE General] Ofthecats:
Running oxygen ROM and somehow my baseband is missing and I have no APNs listed.

My best hope is asking lord boeffla his opinion because his kernel made an efs.tar backup.

Any ideas?
[ONE General] MMWolverine:
[MENTION=5315603]Ofthecats[/MENTION]

Are you running Oxygen in MultiROM and when did this occur? I don't think restoring efs will fix it, never did for me in the past. Possible solutions: reflash the modem, dirty flash the rom, restore firmware/persist partition.
[ONE General] Ofthecats:
yes in multirom. it happened the other day when i flashed an unofficial carbon rom and swapped it with my oxygenOs primary. after deleting both, and restoring oxygen from backup as primary, the problem started.

i tried reflashing later modems, and am going to try reflashing oxygen modems today.

how would i restore firmware/persist?
[ONE General] @rvg:
Is it applicable when COS 12 is primary rom and wanted kitkat based os (MIUI v6) as secondary rom???

---------- Post added at 01:21 PM ---------- Previous post was at 12:59 PM ----------

thanks Ak0r...I was looking for what you explained here,,,,jst to confirm can I use the same miui v6 zip file as secondary rom which is available on their official site???? or I have to look for any modified miui v6 zip file for multirom???
[ONE General] MMWolverine:
In multirom twrp recovery when creating a nandroid backup there was an option to backup firmware and persist partitions. Seems it was taken out in latest version.

Again, please don't quote my entire OP posts. Regarding Miui v6 you can flash the version from official site, but latest MultiROM causes some problems when flashing modems. Read last page, where I explain how to install modem in fastboot. Or you can flash 05-05 firmware + CM11s modem. Proximity sensor fix goes on COS12.

Edit: Add radio.img is back in MultiRom TWRP recovery, but can someone confirm modem is actually installed. I get Baseband Unknown error.
[ONE General] rucioTozzy:
Thx for your effort in this thread.

I cannot post in dev thread so I post here.

I had this bug too, tried miui6 and kk rom, couldn't add modem img correctly to secondary rom since 32g.

Must flash by your tutorial in primary...
[ZTE Grand X V970] QA Bot:
Q&A for [ROM] [KERNEL] [ A.O.S.P. JB 4.1.2 ] ZTE V970 / V970M [MULTILANG]

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] [KERNEL] [ A.O.S.P. JB 4.1.2 ] ZTE V970 / V970M [MULTILANG]. 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! :)
[ZTE Grand X V970] brylaaa:
Can i use this ROM if I has integrated memory ?