yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] neelgangrade:
Well just ran some random test, after 2 hrs of work around. GPS is working fine but the compass is broken only Google Maps ! :confused:

For other apps (sensor test, calibration tool) its working fine. Something to do with GMaps ! :fingers-crossed:

will report back soon with the appropriate solution ! :cool:
[OnePlus 2 Original Android Development] thdervenis:
I second that, I have exactly the same behavior, compass is working from QS, apps cannot access rotation vector values, all apps, eg GPS Status, Sygic Navigation, CPU-Z etc not just Google Maps.
[OnePlus 2 Original Android Development] CFX2011:
Precisely. Definitely some permissions bug that is preventing all apps from obtaining compass values. Maybe GPS not getting fixed is a similar bug.

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Original Android Development] fuser1337:
Compass is probably working in Pokemon Go too, Last time I played, I could see map moving with me turning around.
[OnePlus 2 Original Android Development] neelgangrade:
Well did some work ! finally got it work !

Its working absolutely fine on 18th August Build ! :D Finally everything is working with great battery life (testing). Will report back !
[OnePlus 2 Original Android Development] :
I feel it might be due to a race before the framework sees the sensors and the Qualcomm sensor service starting (from init.qcom.rc).

I spent time debugging it and gave up temporarily, posted the details in PA thread
[OnePlus 2 Original Android Development] SirMika:
Latest nightly with Boeffla kernel and battery drain is like my grandmom, could end by any minute now. From 95 to 86 in 10-20 minutes. Yesterday with nightly 60817 I had 95% and 1d 18h.

I guess I need to go back couple of nightlys
[OnePlus 2 Original Android Development] CFX2011:
Nope. When compass is broken, it doesn't work with Pokémon Go. I tryed ;)

Enviado do meu ONE A2003 através de Tapatalk
[OnePlus 2 Original Android Development] niku23:
can anyone confirm if the issue regarding 2G network fluctuation is gone?
[OnePlus 2 Original Android Development] defilip69:
hi guys!

i have wifi problem... when i connect to wifi router its shows i not have internet connection. but every other device have internet connection. on last 3 builds this bug happned. i have xposed with amplify and lockscreen mods :D
[OnePlus 2 Original Android Development] mrbubba999:
I've just got my device today and struggling to flash CM13 because of the error 7 message in TWRP.

I have read what I can find and tried the following. The phone was already running the latest version of OOS, but I downloaded another one and flashed that anyway, just to check and it still gives the same error. I've tried the latest TWRP and the modified version with the same results.

I've even flashed V3 zip from here http://xdaforums.com/oneplus-2/general/zip-tz-t3363912

same message. I'm really lost as what to do now and searching just gives me the same info, which I think I've done.

This is the OOS I flashed OnePlus2Oxygen_14_OTA_019_all_1606041303.zip which was linked in one of the search results.

Can anyone help?
[OnePlus 2 Original Android Development] Seferi:
Still there.. Mine is stuck at 2G.. It's very frustrating..
[OnePlus 2 Original Android Development] funjuju:
Everything fine for me on both of my Dual Sim :/ Weird you're still stuck on 2G since about half July for me

The only data issue i have is : I'm stuck without data when y received a MMS on the Non DATA Sim.
[OnePlus 2 Original Android Development] Seferi:
Can you try going to settings, Sim settings and switch the preferred network type to 2g. And switch back and see if it works.. ? Thanks in advance..
[OnePlus 2 Original Android Development] funjuju:
:eek::eek::eek::eek::eek: I'm Stuck in 2G mode now !!!! I see what you get .. And you didn't found any workaround to get back in LTE mode ?
[OnePlus 2 Original Android Development] Seferi:
Sh*t! Sorry mate! Unfortunately I didn't find any workaround yet.. Let me know if you find any..
[OnePlus 2 Original Android Development] Raff@83:
You must deactivate second sim. Then switch back to lte on first sim. After this you can activate second sim again.

Wysłane z mojego ONE A2003 przy użyciu Tapatalka
[OnePlus 2 Original Android Development] funjuju:
It Works !!!!!! :good::good::good:
[OnePlus 2 Original Android Development] Valneo:
Can confirm that : I've made a clean flash of the exact same nightly I had before and CPU is working normally again. Maybe dirty flashing too much can corrupt something that make this behavior.
[OnePlus 2 Original Android Development] PeterImmel:
Any news about the GPS/orientation issue?

It still takes very long to get a gps fix. And the orientation doesn#T work in Google maps/GPS status/etc.

This is for the last 5 nightlys now for me. Don' know when the issue started because before I used GPS before only spare...
[OnePlus 2 Original Android Development] vforvictory1:
Have u tried garak's Twrp recovery? Try to redownload the rom zip,may be it got corrupted.
[OnePlus 2 Original Android Development] mrbubba999:
Tried 3 different recoveries, the standard official TWRP and the hybrid one, plus another which I can't remember the name, each with a new download of CM13
[OnePlus 2 Original Android Development] vforvictory1:
Try these steps1:

1.clean flash latest OOS ROM(for marshmallow firmware) & let it boot

2.install garak's TWRP recovery(can be found from here http://xdaforums.com/oneplus-2/general/rom-mirrors-official-oxygen-os-roms-ota-t3209863)

3.wipe everything(except internal storage)

4.flash CM ROM and gapps at a time.

Assuming ur bootloader has been unlocked.
[OnePlus 2 Original Android Development] fuser1337:
https://github.com/Seraph08/android...mmit/8b8a2988f0853749c3c6c72848aad0e9817d702e

Fix coming soon in Seraph08's build. Will get eventually merged in nightlies.
[OnePlus 2 Original Android Development] xWris3:
Hey guys does this rom require OOS3 Beta 2 before to get flashed like stated in by the thread maker or any OOS3 is okay ?

Cause with OOS3.0.2 then flash CM13 I've been getting mobile signal issues ...

https://www.youtube.com/watch?v=4ucJ7O3I7VE&feature=youtu.be

You can see the issue right at the beginning of the video and a other times (almost always lol) at 0:55 ...

The mobile signal fluctuate and drop to nothing then goes back up to normal very frequently ...

I already posted about this problem in the past but hadn't got answers ...

PS : The network configuration of my operator is quite special (it's a "new" french operator launched in 2012)

There is the own network (antennas) of the new carrier = Free antennas that broadcast only 3G and LTE

And because the network is not quite complete and new they got a deal with the first french operator Orange which broadcast 2G, 3G and LTE.

So when we are in an area covered by Free antennas we are on their network and else of the time on Orange network.

The thing is that it seems to me that CM13 isn't understanding the network configuration and it might try to connect to Orange periodically.

Don't really know if you guys understood me, if not please tell me so I would try to make things a little bit more clear. [MENTION=4443334]Grarak[/MENTION] : It's a bug report I guess ... Tell me if what I can do to help =)
[OnePlus 2 Original Android Development] omrij:
Hi, I'm also having the fluctuating signal issue.

Can you manually select network in settings?

Doesn't work for me, only auto which "fluctuates"
[OnePlus 2 Original Android Development] xWris3:
[MENTION=1616996]omrij[/MENTION]

The fact is that if I choose a specific network (I will choose Free carrier network) and get out of their coverage area I will have no network ...

But I will try a see if that works =) , and now that I think about it Free's own network is very complete where I live so ...

I will report.
[OnePlus 2 Original Android Development] halfdeaf:
2G/3G switch working for me on 20160819 build :)
[OnePlus 2 Original Android Development] funjuju:
The bluetooth seems to better and the battery duration is much better on 0819 builds
[OnePlus 2 Original Android Development] fuser1337:
Did you select 2G preferred and it worked?

if yes, Please tell me how did you come to CM from OOS. You came from OOS beta 2 or OOS 3.0.2? OR did you flash the Switchto_OOS3_H2OSMMv3.zip?

I suspect that maybe OOS3.0.2 modem is different than OOS3.0.1 Beta 2's modem. People on OOS Beta 2 modem might not be facing this issue. If this is true, I hope CM gets updated with latest modem compability.

I flashed CM very recently so I don't personally know, But on the other hand many people said that this bug was not there before 27 july build and they're having it now. So maybe it's something CM related OR can be an aggregate.
[OnePlus 2 Original Android Development] halfdeaf:
Yes, switching network was not working for me till yesterday's build. After flashing today's nightly everything seems to be working fine. Till yesterday network selection was auto so battery life was pretty bad since most of the time I was running in lTE mode. Now battery is awesome.

I flashed the revert zip when I first flashed OOS marshmallow official release, then I went to sky dragon and then official cm. Btw i didn't flash that public beta.
[OnePlus 2 Original Android Development] fuser1337:
Thanks for the heads up! One last question please to confirm if you were getting the same error before 19th Nightly as I'm getting.

When I select 2G from the menu, I get "Select SIM" dialog and it keeps popping. Were you getting the same error?

---------- Post added at 09:28 PM ---------- Previous post was at 09:28 PM ----------

Thanks for the heads up! One last question please to confirm if you were getting the same error before 19th Nightly as I'm getting.

When I select 2G from the menu, I get "Select SIM" dialog and it keeps popping. Were you getting the same error?
[OnePlus 2 Original Android Development] halfdeaf:
[MENTION=4948573]fuser1337[/MENTION] No I didn't get any sim select messages. FYI I use only one sim may be because of that :)

I think it's fixed,just see those range bars in the screenshot.
[OnePlus 2 Original Android Development] fuser1337:
Thanks for replying bro, and yea I'm using one SIM too. Maybe our bugs were a bit different, I'm on 19th Nightly too. I think I'll have to try flashing OOS beta 2 modem OR wait for fix.
[OnePlus 2 Original Android Development] :
Rotation vector related problems (missing arrow in Google maps):

I am getting more convinced that this is a race condition between the framework detecting & reading the sensors versus the Qualcomm sensors service starting on boot.

Trying to stop the sensor service & start again from 'adb shell' (with root) seems to bring back the arrow (rotation vector). It is a safe test to perform (again, do not hold me responsible if something goes wrong). To get more sampling to confirm if this is the issue, I request others facing this problem to try and report.

1. Enable root for adb

2. Open adb shell with root

3. Inside adb shell (with root), type: stop sensors

---- When you stop services, the finger print service, screen and buttons will stop working: DO NOT PANIC ----

4. Wait for 30 secs and type: start sensors

Open Google maps and see if you get back the arrow

For me, the above steps bring back the missing arrow
[OnePlus 2 Original Android Development] fuser1337:
I'll try this tonight and post results.
[OnePlus 2 Original Android Development] xWris3:
Hey guys I'm trying quite a lot of things to fix that LTE signal droping thing and I'm also suspecting the OOS3 Beta 2 modem ... but I have a question :

-What ROM does OOS Beta 2 actually refer to ? I mean is that OOS 3.0.1 community build ? Or the first one out in march 3.0.0 ?
[OnePlus 2 Original Android Development] fuser1337:
OOS 3.0.1 Community build is Beta 2.
[OnePlus 2 Original Android Development] spicediablo:
I'm glad finally we have detected the root cause of the rotation vector. I'm waiting for this problem and also the 2g stuck issue to be fixed before trying cm again.

Sent from oneplus²
[OnePlus 2 Original Android Development] gunnerhk:
I think we are talking about 2 different problems.

If you have an inaccurate gyroscope and compass (which was what I had. My compass was pointing in the wrong direction and horizontal and vertical leveling was way off) you have to do the recalibration method in OOS. http://xdaforums.com/showthread.php?t=3435490

This made my gyroscope and compass more accurate although I need to restore the EFS partition every time I flash a new rom. BTW does anyone know if this can be done in CM13?

If you have the no arrow in maps and missing compass problem, you need to hard reboot or restart the sensor in root shell every now and then until it is fixed.
[OnePlus 2 Original Android Development] SpotTech:
Temp fix for arrow compass add userinit.sh int data/local folder

stop sensors
sleep 30;
start sensors

chmod 755 and reboot, arrow is always on

download attached file, rename it with sh extention and copy it to data/local folder chmod it to 755

Also the boot time is more longuer don't panic
[OnePlus 2 Original Android Development] :
Thank you for the quick script (you can reduce the time to 5 sec and give it a try), I am looking at building an instrumented framework by moving the rotation vector initialization unconditionally ignoring the sensor status and see if that works. I know that is a hack but someone more knowledgeable can do the right thing.

Line where the rotation sensor is initiated in CM13:

https://github.com/CyanogenMod/andr...services/sensorservice/SensorService.cpp#L132
[OnePlus 2 Original Android Development] SpotTech:
My first script won't work at all time, it's strange, I'm change the script by this :

sleep 15;
restart sensors

now after few reboots (10-15) i'm getting the compass at all time in here maps after getting gps signal.

--edit--

Maybe it's possible to remove the sleep time, i'm not test this
[OnePlus 2 Original Android Development] fuser1337:
Concluding Major bugs:

1. GPS Inaccuracy + Compass Issue. (Blue arrow in maps doesn't appear). Thanks to [MENTION=2618159]hackworks[/MENTION] and [MENTION=2428058]SpotTech[/MENTION]. Post URL

2. Preferred 2G Network will cause periodic loss of Network. (Even in LTE for some users).

3. Camera Crop Issue: Using any default 16:9 camera ratio using apps (eg. Snapchat and Instagram), will cause other camera apps also crop the camera view and angle and also save cropped view photos. (Tested apps: Stock CM camera app, Google Camera, OP2 Camera port). Photos show wider angle when taken with these camera apps before using Snapchat or Instagram.

4. Freeze while playing Music: When listening to music after some random minutes the phone hangs up and begins to work only 2-3 minutes later. Installing V4A with drivers appears to solve this issue.
[OnePlus 2 Original Android Development] pokohontos:
Another bug: When listening to music online (in apps like VKontakte) after 10-15 minutes the phone hangs up and begins to work only 2-3 minutes later.

When listening to music in stock player it's all right.

This bug present on all CM13 bilds, all CM-based and AOSP roms.

P.s. Seems like installing Viper4android with drivers solve this problem.
[OnePlus 2 Original Android Development] akaravqm:
vibrate on touch when phone is on call.
[OnePlus 2 Original Android Development] fuser1337:
Oh yea, I confirm this bug. Happened with me too alot of times.
[OnePlus 2 Original Android Development] maxniper:
With stock kernel I haven't the arrow on gmaps but after flash boeffla kernel I have it.
[OnePlus 2 Original Android Development] snippem:
Boeffla kernel. Installed so it does not make any difference. Had the rotation vector rebooted and it was gone and this was with Boeffla beta 3.

Verstuurd vanaf mijn ONE A2003 met Tapatalk
[OnePlus 2 Original Android Development] thdervenis:
Stock kernel here, I have this bug, its occurence is frequent (and random). Only credible solution I 've found so far is the restarting of the sensors via custom script as mentioned a few posts above.
[OnePlus 2 Original Android Development] snippem:
Anybody contacted our maintainer?

Verstuurd vanaf mijn ONE A2003 met Tapatalk
[OnePlus 2 Original Android Development] fuser1337:
Probably no. How?
[OnePlus 2 Original Android Development] snippem:
Well probably contacting [MENTION=4443334]Grarak[/MENTION] and maybe he has some spare time to look into the issue.

Verstuurd vanaf mijn ONE A2003 met Tapatalk
[OnePlus 2 Original Android Development] :
I am just waiting to be certain through more troubleshooting. I would like to build the ROM with instrumentation and then get Grarak involved. He is very responsive when we have real data that can help him, no point in leading him through a wild goose chase :)
[OnePlus 2 Original Android Development] fuser1337:
Sounds good :)

Can you confirm the camera crop bug please? I can provide details if you ask
[OnePlus 2 Original Android Development] maxniper:
This is what I have, I don't mean that is the solution, it was just for info.
[OnePlus 2 Original Android Development] snippem:
Same here concluded that it isn't kernel related and that multiple variation of kernels have the bug. ?

Verstuurd vanaf mijn ONE A2003 met Tapatalk
[OnePlus 2 Original Android Development] Mehul.S:
Issues on latest build and since past few builds..

I'm using the following mods..

Xposed installer official

C-apps

CM booster zip

SuperSU by [MENTION=631273]Chainfire[/MENTION]

Exodus Aroma by [MENTION=267466]Arise[/MENTION]

Boeffla kernel.

The issues are,

My boot animation is set to a default boot animation by some theme of HTC. I can't remove that boot animation. I've tried everything except clean install (which I'm hesitant to do) like deleting bootanimation.zip or deleting boot image or wipe /system but no progress.

I can't install any app by apk file.

It shows package error. Its not a bad file everytime. I've tired installing the apk files which are already installed still I get same error. Not only apk even N-ify or Boeffla kernel app can't update via OTA. Shows the same error.
[OnePlus 2 Original Android Development] krxz:
Check permissions for paket installer
[OnePlus 2 Original Android Development] __wanker__:
Stock in boot animation to one theme ....yeah same here :(
[OnePlus 2 Original Android Development] gparmar76:
That's strange...if you flash custom Oxygen ROMS, it works OK? Try other ROMS that are available...a lot of them are CM based...see if they flash OK...strange if your only getting that error flashing CM13...another thing to try is to download CM13 on your PC and then transfer it to your phone via USB...Also, if you have all your ROMS, flash able zips saved in one folder, try using a different new folder to flash from.
[OnePlus 2 Original Android Development] mrbubba999:
I flashed 2 unofficial CM13 ROMs with no problem, it just seems to be this one that gives error 7.

Each time the ROM was downloaded from my computer and copied across
[OnePlus 2 Original Android Development] xWris3:
I tried flashing OOS 3.0.1 = OOS Beta 2 before CM13 to fix this LTE/4G signal loss bug and nothing to do ...

Even registering manualy on the correct LTE/4G network is no hope there is an "error" while trying to register to the network ...

Putting the phone in 3G & LTE only doesn't change anything too ...

The phone accepted to register only on a locked network from another carrier like lol ...

I sincerely love CM13 for all the little bugs that it doesn't have + the battery life compared to OOS3.0.2 but seriously to me it's unusable due to a ****ty networking side ... even on wifi the reception is uncomparable to OOS ;-(

And I'm talking about CM13 but this bug of roller coaster signal is in every custom ROM ...

I'm quite sad when I look at the battery life then I look at the signal meters and stability ... cause yup to me OOS is way more stable.

Okay that was my feedback after trying everything I could to fix the problem =)

Now I think that I can't do anything else onyl but wait for a fix from the developers.

Sorry for my English, I'm not a native English speaker plus I wrote this quite in a hurry.
[OnePlus 2 Original Android Development] linuxxp:
Hi guys! I made CM13 Mirror site for the builds. You can use it if you want. Please tell me what is maximum download speed that you reached and your location (I will do my best to improve it). Is there a willing?

Thank you!
[OnePlus 2 Original Android Development] :
Update on rotation vector issue: Since I have PA build environment, I tried something changes on PA and it is working.

The framework looks for hardware based rotation sensor first. If it finds it, it will not use the fusion sensor (it derives rotation values based on more primitive hardware based sensors). I made a small code change to ignore the hardware rotation sensor and use the fusion sensor always for rotation vector. Google maps now shows the direction arrow always (no more random behavior).

Built CM13 with the below fix and tested it, works fine.

For CM13, I have made a review request: http://review.cyanogenmod.org/#/c/157838/
[OnePlus 2 Original Android Development] Mohit31:
I think you need to push those commits here for a review

http://review.cyanogenmod.org/#/q/status:open

I m a noob in these things

But this is what I inferred from the automated reply from cyanogenmod to your pull request.
[OnePlus 2 Original Android Development] jstoik:
You can try flashing my 3.0.2 firmware-only zip: http://xdaforums.com/oneplus-2/general/guide-oneplus-2-oxygenos-firmware-3-0-2-t3396818

Take a backup first, but it should work just fine on top of your existing CM install. I don't experience network or compass issues reported by others, but that might just be because I don't use those features often enough to notice.
[OnePlus 2 Original Android Development] xWris3:
[MENTION=7472874]jstoik[/MENTION] I don't really understand how could flashing OOS 3.0.2 firmware fix my problem ?

Could you explain your thoughts ?

Cause I'm already in OOS 3.0.2 ... (before CM13 so I've already got OOS3.0.2 firmware right ?)

Is it flashing OOS 3.0.2 things on top of CM13 ? Cause CM13 replaces them ? I don't know ..
[OnePlus 2 Original Android Development] jstoik:
My mistake, I thought you were using firmware from Oxygen 3.0.1. If the last thing you flashed was 3.0.2, there wouldn't be any change.
[OnePlus 2 Original Android Development] xWris3:
Yup, I tried with both that's it :) .

Thanks for trying to help me out though, apreciate it.
[OnePlus 2 Original Android Development] qlex:
Hey guys. Im on newest nightly (ota updates frequently) hoping to get rid of annoying issue. While on the call, my ear mutes the mic. When i take the phone away, mute icon is not present, i need to swipe from top to bring the call up, actually press the mute icon to mute the call and press again to unmute. Then i can continue the conversation.

Is doubletap to wake the remedy as i like that feature and wouldnt like to loose it.

Wysłane z mojego ONE A2003 przy użyciu Tapatalka
[OnePlus 2 Original Android Development] JoaoMota:
When they think they will release the cm14 ? :D
[OnePlus 2 Original Android Development] MickyFoley:
@ JoaoMota: When they're ready.
[OnePlus 2 Original Android Development] WakerPT:
Hello, I'm currently on latest nightly. I'm wondering how to get supersu working and I'd like to ask anyone who uses boeffla, why do you do it? What are the pros vs cons.

Thanks
[OnePlus 2 Original Android Development] funjuju:
I have got random soft reboot when i launch call with multi sim. Am i the only one ?
[OnePlus 2 Original Android Development] retaliator:
i don't need to install supersu because it is included in CM.
[OnePlus 2 Original Android Development] :
n00b here too :) Well, submitted the change for review: http://review.cyanogenmod.org/#/c/157838/
[OnePlus 2 Original Android Development] zickler_malta:
this bug has been there for ages and never seems to be picked up for fixing. if anyone can help me in drawing attention from the relevant people to this bug I would really appreciate.