yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] futurecheck:
The GUI shows that the VS works, but applications do not recognize it

Hello there,

I've got Samsung Galaxy A5 2016 (SM - A510F; Marshmallow 6.0.1) and I rooted it by flashing the TWRP on recovery mode and then flashing the SuperSU through the TWRP. I also made sure the root is fine by downloading a root checker, which says that my phone is rooted correctly.

Then, I downloaded the .zip version of Xposed and installed it through the TWRP in recovery mode. Once I did that, I downloaded the Xposed installer as .apk to make it work with the previously installed .zip Xposed.

Then, I made sure I've got the newest version of Xposed and found the VirtualSensor module. Then I downloaded the latest version (1.41) and installed it. Then I restarted my phone and ran the VirtualSensor application.

The GUI showed up where I could see:

That should indicate that the virtual gyroscope works fine and should work with all the other applications. However, when I launch a VR Gyroscope test or any VR application that requires a gyroscope, the phone can't seem to be able to recognize the VirtualSensor. Well, not that it can't recognize it, because you can clearly see that in this picture, it recognized the VS, however, it does not use it's generated values to move the cube around (which is what should be happening):

You can see: "Name: VirtualSensor Gyroscope", "Vendor: Frazew", "Version: 1.41".

Could you please give my any advice on how to make it work? I though maybe I've got to give it some permissions in the SuperSU, but the Xposed already has that. Thank you so much for your help :)
[Xposed Framework Modules] Mimisf:
You can't do anything... We wait patiently for an update from the dev
[Xposed Framework Modules] JeelGPatel:
I tried this app....But gyroscope is given true but the values are 0.... I moved it everywhere but no change
[Xposed Framework Modules] fahririfkinaila:
Not really work, but I appreciated it

Hello, I am one of many user of this module, my phone is OPPO Neo 5 R1201, I have tried this. In the UI, the values are actually changes depending on my movement, the gyroscope in the sensor box app showed up with name "VirtualSensor Gyroscope" but the gyroscope is not working at all. I've tried the 360 YouTube video but it's not working too. Can you help me?
[Xposed Framework Modules] futurecheck:
I've got the same problem :( It seems like a lot of poeple have it too. We're just going to have to wait for an update that fixes this.. Nobody knows when is that going to come though. I'm stuck with using Samsung Galaxy S5 Mini, since it doesn't work on my newer Samsung Galaxy A5 2016 :(
[Xposed Framework Modules] :
Thread cleaned again.

Let me remind you of some things here.

1) Everything you flash on YOUR device, is done so at YOUR own risk. No one is responsible but YOU.

2) See #1

The Merovingian

Senior Moderator
[Xposed Framework Modules] Danish108:
Not working in pokemon go
[Xposed Framework Modules] ChangGogoi:
Works great in Samsung Galaxy Core Prime SM G360H :laugh: yey I can now use google street view 360 camera
[Xposed Framework Modules] Xenoclop:
The gyro is shown to be working fine under the virtual sensor app, however it won't do a thing for all the available VR apps, but one. I found that it works fine with the "virtual cave" app. I'm in the same boat as futurecheck and fahririfkinaila. Maybe its worth to check why. I got a moto G1 with lollipop 5.1.
[Xposed Framework Modules] mbc07:
AFAIK the first and second gen of Moto G already have a real gyroscope, why exactly are you trying this module?
[Xposed Framework Modules] reversegear:
FYI Moto G(first gen) dont have a gyro :(
[Xposed Framework Modules] mbc07:
My bad, I messed up the namings. Moto G 1st gen (the first model, without 4G and microSD slot) didn't have gyro, but its next iteration added gyro (Moto G 1st gen with 4G and microSD slot) and it remained on all variants of Moto G 2nd gen, then Lenovo bought Motorola and messed Moto G 3rd gen by removing the gyroscope, only adding it back on Moto G4 and G4 Plus (G4 Play still lacks a real gyroscope, though). Anyway, just ignore my rant, I already went off-topic enough :silly:
[Xposed Framework Modules] Fretcrawler:
not working for my samsung galaxy grand prime

Hi, not working on galaxy grand prime. please help youtube 360 video not working.
[Xposed Framework Modules] axel.mohnen:
Same for me on Elephone P7000. Sensor Box app detects the gyro-sensor,but the cube doesn't move while turning the phone.

Please provide an update if possible or a how-to to solve the issue.

Thanks in advance

Axel
[Xposed Framework Modules] :
It's a nice idea to use the accelerometer and compass as a virtual gyroscope. But, it's impossible to move the point of view to the right and left. Please fix the z-axis, bytheway i love this module :D

Edit:

It doesn't work 'cause my phone doesn't have a magnetic fields sensor . Could you make it work, even in non magnetic fields sensor devices?
[Xposed Framework Modules] khachak:
right now with the current version, even if you have magnetic sensor in your device, it still won't work. some (including me) claims it work on up down movements only, but it still quite laggy. no side to side. for me, that is still called "not working"
[Xposed Framework Modules] waleeds1:
360 videos on youtube wont work. But i have used it with other apps like google camera and other sensor testing apps and it worked great except as mentioned by op z-axis isnt perfect. Used it on my grabd prime
[Xposed Framework Modules] :
So it's still buggy for right now?

Looks like we have to wait for the next version
[Xposed Framework Modules] Warlock-idlaasri:
Hello,

Thank you so much for your efforts, unfortunately my magnetic sensor doesn't show any values, I do have one, but because of this, gyroscope doesn't show values as well.. Any way to fix this?

Thanks again ?
[Xposed Framework Modules] cap2666:
hello

I installed the xposed on my Galaxy J5(2016),first time briked,second time worked...:D,but if I activate both modules (gyroemu and virtual sensor)at the time,when I go to youtube to watch 360 degree videos the display turn black and I can't see nothing....with any other video the image is perfect...any solutions??thanks.If I test it with Gyroscope test from Play ..is telling me that I have a gyrosope..but the image is not moving...
[Xposed Framework Modules] Marcos42563:
Xash3D VR, VirtualSensor and the need for offsetting

Hi. I'm here to request a fix for a compatibility issue I'm having when trying Xash3D VR. The problem is the rotation of the game's view is too intense, and I'd love to be able to set an angular offset and a rotation multiplier. Thanks for creating this awesome module!
[Xposed Framework Modules] KorishW:
I found a temporary Cardboard fix

So, all of the VR apps I've downloaded seem to be recognizing the fact that Virtual Sensor is indeed a present gyro sensor onboard, so that's good. But, when I go into any application that requires a gyro, the application doesn't work, almost as if like the gyro values aren't being injected into the app (everything in the virtual sensor UI = true). However, the one exception that I know works (see earlier posts) is an app called VR Cave. It's a bit jittery, but the functionality is still there. Cardboard hadn't been working, and it was the main app I had been wanting to use. So, I had been experimenting downloading different versions from apk mirror, and voila! v 1.5 does work, and while not the same functionality as the current 1.8, it does the job well enough and is pretty fun. Does the fact that older versions work mean the compiled gyro data isn't being sent to the app, or is it something to do with my rom?

Device: Moto G 3 (2015) [osprey]

Rom: Official CM13
[Xposed Framework Modules] Mimisf:
CARDBOARD HOOK FULLY FUNCTIONAL!

I saw frazew's commits on GitHub and on January 8th, he managed to do it!!

He actually still develops the module, just not actively.

SOOO it's a matter of time now. He will release it when it's ready.

Frazew, surprised us all once again!!

More specifically:

The cardboard hooking system is now working. The values are wrong (the matrix the mod sends to the cardboard app is not correct) but it's working. This actually allowed to fix a wider bug that would happen with some apps. The fix has yet to be verified on SDK versions lower than 23 but hopefully it should work.
[Xposed Framework Modules] Pozas:
That is beautiful news! Anyone has a binary?
[Xposed Framework Modules] Warren cruz:
Please add support for lollipop.. It says gyroscope is true but it stays at 0 and als

Please add support for lollipop.. It says gyroscope is true but it stays at 0 and also magnetometer stays 0 too.. Hoping to be fix.. Thanks :)
[Xposed Framework Modules] npradeeppai:
Help* me* in recalibrating accelerometer on lollipop 5.0 is there any terminal code.

Any xposed framework to do so.

I need to reset the values of the sensor.

Here is the CPU z sensor info [ The phone is kept on the plane surface ] Shows wrong values.

Im unable to use Virtual sensor xposed module :crying:
[Xposed Framework Modules] nijohnson:
Is there any way that this could be used to flip the screen to a backward/reversed image? I know the bug had something do do with the accelerometer.
[Xposed Framework Modules] okejokej:
Sorry, but your post is misleading. VR Cave has its own, built-in, gyro emulation - it does not require or use Xposed or even root.

Another app that can use compass like a gyro on its own is "Sites in VR", but it needs to be enabled in options first. And it's very jittery, so generally it's better to use the accelerometer-only mode.

Google Maps app also uses compass for phone tracking in Street View mode, and it works really well, both for vertical and horizontal movements. The downside is, it only works in "normal" mode, not in VR mode, I guess it's because it wouldn't work with Google's own Cardboard headset because of its magnet. To enter Street View mode in Google Maps you need to hold your finger on a street and then click on a little photo that appears after a while. Then when you click a little compass in upper-right, it begins to track phone's movements.

The stand-alone Street View app also has this option, but, at least in my case, I found it to glitch out and be unusable in there.

There's possibly more apps that have their own non-gyro head tracking, you need to experiment a little I guess.

Yeah it doesn't work very well in 1.5 but it DOES work. Seems that overtime the method VR apps get gyro data has changed somehow.
[Xposed Framework Modules] Miggas09:
Today after some fiddling around my phone I noticed that it has an orientation sensor, and after some researching i came across this:

"The Orientation Sensor measures three values. The Azimuth, pitch and the roll in degrees.

The azimuth is the angle between the longitudinal axis of your phone (from the top to bottom of your screen, maybe) and the Earth’s magnetic field. So, if the top of your phone faces north, the azimuth is zero and is 180 if it faces south.

The pitch is the angle between the plane parallel to the ground and the plane of the phone with respect to the top or the bottom of the phone. It measures the tilting of the top and the bottom of the device.

The roll is the angle formed by tilting the device either left or right.

The Gyroscope is used to find the angular velocity on all three axes. It has a value only when there is motion among any of the three values."

So this looks to me that the gyroscope can be emulated with the data from the orientation sensor instead of both the accelerometer and magnetometer sensors, and apparently the orientation sensor can be found in a lot of devices without gyroscope.
[Xposed Framework Modules] khachak:
hi everyone. i was wondering if this virtual gyroscope can make a good controller emulator for daydream vr. so phones without gyro can be the controller instead of being use as the headset viewer.
[Xposed Framework Modules] Mimisf:
Still the mod is not ready even for this use..

We just hope for an update someday (the dev is still working on it just not actively)
[Xposed Framework Modules] Jammir:
Help

Anyone help me :( i already install what i need to install to have my gyroscope. My gyroscope is on but still cant move in games or video
[Xposed Framework Modules] millo1978:
This Virtual Sensor is good up and down...

but don't rotate to left or right.

Tested ver. 1.41 on Huawei P9 lite (L21C432B170 Android 6.0) with Youtube 360° Videos
[Xposed Framework Modules] Mimisf:
Guys please read posts above, I can't repeat my self again xD

Thank you.
[Xposed Framework Modules] Edw590:
Can't get it to work

I don't have a magnetic sensor, the gyroscope says true but the coordinates are always zero. And the VR roller coaster doesn't detect it. Do you think it's because of not having the magnetic sensor? By the way, I have an accelerometer.
[Xposed Framework Modules] Mimisf:
I don't know what a magnetic sensor is on phones tbh xD

This app needs compass and accelerometer. The app can't simulate the gyroscope sensor yet because one axis isn't working. He may or may not update it (only God knows xD)
[Xposed Framework Modules] Edw590:
I read somewhere that the app needed a magnetic sensor and Sensor Box says I don't have. Anyway I don't have a compass too. I thought the app needed just one of those sensors and I had the accelerometer, so I thought it would work. But thanks anyway.
[Xposed Framework Modules] Cspike:
Is the output smoothened?
[Xposed Framework Modules] Werdolf:
Hi, great app. i´m just wondering, aren´t you using the android rotation vector? Please look at the apps TurnMe Panorama or VR Player Free, there the rotation vector workes just like a gyro with nearly perfect rotation in every direction. I use a Honor 5c and turning in horizontal direction is not working in any app i tried (streetview, youtube 360 Videos, google camera) just up,down and clockwise.
[Xposed Framework Modules] Matthew0912806:
Hi thankyou very much for your work!! Can you please fix the z axis so that we can turn left or right Thankyou..
[Xposed Framework Modules] Weber Cruz:
Galaxy A9 Android 6.0.1

Hello, I have a galaxy a9 android 6.0.1 ... when viewing the sensor data it is always at zero "0.0; 0.0; 0.0", the accelerometer and the magnetic sensor show the correct values when moving the phone, Run on it. I do not think it will work on the galaxy line A either "a5 or a7". Is it possible to operate on these devices?
[Xposed Framework Modules] mdscocco:
is it possible this module to be transferred for nougat and magisk?
[Xposed Framework Modules] Maxim228:
Hello from Russia! Is it working on android nougat (samsung a710f, fake s8 rom)?)
[Xposed Framework Modules] hrnwla:
I tried on resurrection remix 5.8.3 and it doesn't work, I use gyro emu as substitute
[Xposed Framework Modules] Frazew:
Hello!

Quick update, for those who've been watching the project on Github, you already knew that I hadn't given up. For the others, take this post as a "proof" (?)

Anyway, I just published a new release (finally). It contains a whole lot of bugfixes of which some were fixed a while ago but were never included in any release.

This version also brings Nougat compatibility although that requires the use of the unofficial Xposed which I havent personally tested (nor do I support it, as it has been reported that modules work unreliably).

Some people have been wondering if it would be possible to use Magisk: unfortunately, this is not possible. I've looked into it, and the modifications this module makes cannot be made using Magisk (or I don't have a good enough understanding of the Linux kernel).

Another issue to take into account: as Xposed only hooks the SDK, there is no way to spoof a gyroscope to the apps that access it through the NDK. As a consequence, a lot of apps might not register it and most of the time, there is nothing I can do about it (most are native libraries which cannot be hooked).

I hope this works for everyone and I'm eager to get your feedback on this, thanks !
[Xposed Framework Modules] Soham Ron:
Not able to move from left to right ?(z-axis) plz fix this or tell how to fix it.

Thanks
[Xposed Framework Modules] Pantsface16:
Please help, when I open youtube and click view in cardboard, it crashes with "Unfortunately, Youtube has stopped". Is there any way to fix this? Could using iYTBP(what I'm using) have an impact also?
[Xposed Framework Modules] Frazew:
I'm afraid I really won't have enough time to manage this. However I think it's a great idea that would likely help many people !

I need more information, do the value seem to work when you look at the module's interface ?

Is it specific to one app, have you been able to get it to work with other apps maybe ?

I can't do anything without some logs, you should be able to copy the crash report, that could help a lot !
[Xposed Framework Modules] Pantsface16:
I'm not sure how to copy the crash report. What would be the best way to go about it?
[Xposed Framework Modules] Soham Ron:
See this - the emulator's interface
[Xposed Framework Modules] Vorion:
The latest versions 1.5 and 1.51 cause bootloop. I had to clean the module.list to make the phone boot normally.

I am on Samsung Galaxy A5 2016. Advanced Sapphire ROM (TouchWiz) Nougat 7.0

Is there any workaround to make this awesome module work again?

Thank you for resuming the development on Nougat version :)
[Xposed Framework Modules] Chris almeida:
Help a newbie please!!!!

Hello. I have installed the virtual sensor and it shows true but none of the values move for the gyroscope. Just wondering how maybe I can fix that. Thankscontent://media/external/file/4126
[Xposed Framework Modules] Frazew:
You do not have any magnetic sensor, sadly, the module won't work for your.

For both of you, the Xposed log available within Xposed Installer is almost always the best source of information.

There are a few issues here. First of all, you're using Xposed on Nougat, this is not supported and can lead to unreliable and unpredictable results.

The problem could also lie within the use of a TouchWiz ROM, which are quite heavily modified from AOSP, but I'd think that this option would be the least plausible of the two.

Could you attach some logs ?
[Xposed Framework Modules] Vorion:
I am aware that the version is still in Beta. I didn't face any issues with other modules on Nougat, being on TouchWiz ROM. And this module worked flawlessly on Marshmallow TouchWiz Stock ROM.

Sure, I will give it a shot. But I am not familiar with taking logs in this particular scenario. Do you want me to share the log from Xposed?

Thanks, man!
[Xposed Framework Modules] Pantsface16:
Here is the log from Xposed. Hope it helps! I couldn't upload the file itself due to it being too large in size.
[Xposed Framework Modules] Frazew:
The log from Xposed should be enough indeed. If that's not the case, you could submit a logcat extract, but that can be a little bit trickier.

Well, these two lines do no reflect any crash. Either there are other lines that did not print here, or a logcat is necessary to further analyse the problem.
[Xposed Framework Modules] Vegan1983:
Unable to make gyroscope at all. Latest experiment version is the only version which is opening and showing data after installation. All previous not opening, showing app closed.

All sensor apps and games do not detect any gyroscope. Please guide. I am checked this app in a active exposed frame work too with reboot.

How to check that exposed framework working correctly? Greenify experimental options module also not working after checking it on xposed module. Always showing please make activate module by check on exposed framework installer but it is already done. My handset chip is mt6755 64 bit based.
[Xposed Framework Modules] robneymcplum:
Greenify xposed doesnt work on nougat, try 'flat style bars' or 'gravitybox N' which DO work on nougat, to check your xposed is working.
[Xposed Framework Modules] Vegan1983:
no dear this is marshmellow. Android 6.0

No dear this is marshmellow. Android 6.0
[Xposed Framework Modules] robneymcplum:
Ah...

In that case, its not working :)
[Xposed Framework Modules] Pantsface16:
I wanted to send a logcat initially, but I can't figure out how to do it using any app on the play store. The only thing that comes up when I google logcat is for Android developers or something. How would I go about submitting a logcat to troubleshoot the app crashing?
[Xposed Framework Modules] Frazew:
I've always dumped it through adb, but there are apps that can do it. This one would most likely be the most intuitive, although I haven't tested it : https://play.google.com/store/apps/details?id=com.pluscubed.matlog

Do you have a special ROM ? Can you send the Xposed log and/or a logcat dump ?
[Xposed Framework Modules] Vegan1983:
After a suggestion I used magisk manager

Hi, now I am using magisk manager for system less root and now using system less exposed framework. Everything looking fine when checking visually but in real there is no any work. Although the safety check option in magisk is showing both points red. Greenify still showing please enable module and restart suggestion, virtual sensor not showing gyroscope in any game. It means modules not working.

Logcat: unable to attach or copy paste this logcat. I made a log by selecting error filter only to make it small but it is 1.4mb in size and not able to copy. Please tell me how to send you this log? Whatsapp, email etc.

Xposed log: When I opened the log tab it showing that unable to read the log file from storage. I cleared then. Now it's showing empty and there is no any activity.
[Xposed Framework Modules] AniketDhoke:
Can you fix Very shaky video in 360 video(YouTube) :confused::)
[Xposed Framework Modules] Pantsface16:
I've attached the logcat below. Hope this helps solve the problem!
[Xposed Framework Modules] Safa Safari:
Hello

I know that gyroscope is needed for virtual reality glasses, but my phone does not have a gyroscope

With some software, I was able to see the 360 degree video from the compass and linear accelerometer

But I can not play other game software.

If I installed xposed, can I run games?
[Xposed Framework Modules] reversegear:
No
[Xposed Framework Modules] souvik21:
Version 1.5.1 Working but not smoothly in Le 1S. Video is vibrating pretty much. Waiting for solution.?
[Xposed Framework Modules] StrangeTester:
I tried the latest stable version of this, on my honor 5c, and it doesn't seem to work. Cardboard doesnt work with that, neither the dev labs app.
[Xposed Framework Modules] Kostasgr1983:
Mine dont work.i can install 1.41 the 1.5 and 1.51 i cant.it says i have gyroscope but no values and nothing works.any help?i have doogee x5 max pro with android 6.thanks for your time and work for this.i hope u can help me 2.
[Xposed Framework Modules] yakomi:
moto g3, gyro still not working
[Xposed Framework Modules] fishnchips2:
Same for me.
[Xposed Framework Modules] StrangeTester:
So the problem is probably nougat so we need to use 1.5.1, tho is there any way to make it not so shaky, because it is insane
[Xposed Framework Modules] Blaez63:
How do you uninstall it? I downloaded the apk and then installed it. For whatever reason, Google cardboard and one other vr app still would not work, which was the whole point of installing the apk. I went to uninstall it, but cannot find it now. It had showed as virtual sensor at first, but has disappeared. Kinda weird. Can you help?
[Xposed Framework Modules] Pozas:
I think you can always uninstall it from Xposed
[Xposed Framework Modules] spspider:
gyroospcope

everything works!

how Xposed listen new values? can you explain?

what exacly function transfer that float[] values? virtualListener? VirtualSensorListener?

for example i have 0.22, 0.33, 0,44 values, and i have to transmit it, to virtual gyroscope, what function do that?
[Xposed Framework Modules] DumiJ58:
Virtual Sensor not working in the Xposed new Update v89. Can you fix it?

Though it was not so smooth, it worked for me when I was on Xposed 88.2