port Gear vr software to other android device

Whats not working ??? Tell me via this poll

  • app not install from oculus store

    Votes: 0 0.0%
  • every app(in this port) crashed

    Votes: 0 0.0%
  • tell me

    Votes: 0 0.0%

  • Total voters
    2
  • Poll closed .
Search This thread

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
Haiiii GUYSSS.Im thipok17(Plz call me Tin).This is my first post of my (not complete)ported gear vr software to other device.Im 14 years old student Who spend freetime on coding c++ and do some software hack ;D and Im interesting in Minecraft.It started from Mojang release Minecraft Gear VR Edition
(Im personally love Minecraft )And I want to play it.but I dont have gear vr or any samsung.So I started porting gear vr software by using little help from my friend (borrow his Note 4 phone for getting source file 'n' root his phone then void his warranty XD). I spend 10 hours per days in two month for porting Gear vr software.and it finally .I will show you for a (not completed)port of gear vr software

CREADIT
Samsung for Gear vr software.
Oculus for Oculus software.



DOWNLOAD LINKS IN SECOND POST





sory for bad english:D:D:D:D:D
 

Attachments

  • Screenshot_2017-01-18-19-43-30.png
    Screenshot_2017-01-18-19-43-30.png
    251.5 KB · Views: 3,354
  • Screenshot_2017-01-18-19-43-25.png
    Screenshot_2017-01-18-19-43-25.png
    237.9 KB · Views: 3,316
  • Screenshot_2017-01-18-19-43-19.png
    Screenshot_2017-01-18-19-43-19.png
    234.1 KB · Views: 3,234
  • Screenshot_2017-01-18-20-03-48.jpg
    Screenshot_2017-01-18-20-03-48.jpg
    197 KB · Views: 2,810
  • Screenshot_2017-01-18-20-02-48.png
    Screenshot_2017-01-18-20-02-48.png
    111.7 KB · Views: 2,844
Last edited:
  • Like
Reactions: Jokerank-4PDA

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
DOWNLOAD

#NOTE this is not complete port.It just dumped file from samsung device.And Im not own all software.
WARNING!!!!
###IF U NEED TO INSTALL THIS.U NEED TO ROOT UR PHONE.AND IT MEAN U R VOIDING UR PHONE WARRANTY###
****IM NOT RESPONDING TO ANY DAMAGE WITH YOUR PHONE IF U INSTALL THIS BECAUSE U R CONSIDERED TO INTSALL NOT COMPLETE PORT ON UR PHONE.****


requirement:
1.surely you are on android
2.you must have a android 5.x or later (between 5.x to 7.x is recommended)
3.your CPU architecture must be arm arm64 .
4.YOUR PHONE NEED TO BE ROOTED (SuperSU or Magisk or whatever just a root access).
optional :
for some application (I think most)need a tracking system .but gear vr service developer mode is not working because hardware support .so you need a external tracker .the tracker is base on STM32F3 discovery board .so use this link for learns more at www.open-gear.com
I think this method is the easiest because you just need a development board come with a great enough hardware to be a tracker .no need to soldering just plug the usb to pc and upload .hex code then enjoy your work.


DDONWLOAD LINKS:
download the latest apps and always update all apps from links down below.

(ALL APP INSTALL AT NORMAL APK EXCEPT GEAR VR SETUP WIZARD STUB AND ALL FILE IN ATTACH ZIP. ONLY FOR FOLDER SET PERMISSION TO RWXR-XR-X OR 0755 OTHER THING LIKE APK SET AT RW-R--R-- OR 0644).

Links for oculus app
oculus:https://www.apkmirror.com/apk/oculus-vr/oculus/
oculus app runtime:https://www.apkmirror.com/apk/oculus-vr/oculus-app-runtime/
oculus home:https://www.apkmirror.com/apk/oculus-vr/oculus-home/
oculus media plugin:https://www.apkmirror.com/apk/oculus-vr/oculus-media-plugin/
oculus room:https://www.apkmirror.com/apk/oculus-vr/oculus-rooms/
oculus system activities:https://www.apkmirror.com/apk/oculus-vr/oculus-system-activities/
oculus system driver:https://www.apkmirror.com/apk/oculus-vr/oculus-system-driver/
oculus vr :https://www.apkmirror.com/apk/oculus-vr/oculus-vr/


Links for samsun Gear vr app
gear vr setup wizard stub(INSTALL IN /SYSTEM/PRIV-APP):https://www.apkmirror.com/apk/samsung-electronics-co-ltd/gear-vr-setupwizardstub/
gear vr setup wizard :https://www.apkmirror.com/apk/samsung-electronics-co-ltd/gear-vr-setupwizard/
gear vr service:https://www.apkmirror.com/apk/samsung-electronics-co-ltd/gear-vr-service/
gear vr shell:https://1drv.ms/u/s!AsNsKN33FBTvnjyszdAV-PyKL5r2
gear vr system:https://www.apkmirror.com/apk/samsung-electronics-co-ltd/gear-vr-system/
gear vr input service:https://www.apkmirror.com/apk/samsung-electronics-co-ltd/gear-vr-inputservice/

NOTE:If you cant install gear vr service .you need to sign apk and set se-linux to permissive.if not work .download lucky patcher and apply patch to android .by click at "toolbox" then "patch to android" .Then select "Signature Verification status always True"and"Disable .apk Signature Verification" and dont forget to tick at "only patch dalvik-cache" click apply and your phone will rebot 1 time .next follow the past step but select "Disable signature verification in the package manager" click apply and you phone will reboot 1 time .and next go install gear vr service.

Im working on the hardware to working with my xperia x the link to the github is here http://github.com/TiNredmc/Foculus_Rift_Tracker_STM32F3DISCOVERY/


If you enjoy my not complete porting or get working in something that I dont know or say not working dont forget to tell me in priv chat or post inn this thread
Also dont forget to hit the THANK button :D:D:D:good::good::good:
 
Last edited:

ac8dl

New member
Mar 4, 2017
4
0
Now time for a download #NOTE IT NOT COMPLETELY PORTED IT JUST FOR DEV AND I GOT IT WORKING ON MY XPERIA Z1 LOLLIPOP ROM ON OTHER IDK AND IT NOT FLASHABLE ZIP YOU NEED TO MANUALY INSTALL...

Did you mean you are successfully running the Gear VR both h/w & s/w with your Xperia? Could you provide more details? Thanks.
 

liquidaluminum

Senior Member
Sep 13, 2012
75
74
Even if you successfully got the needed folders, the VR service and the ROM would need to be pointed to the directory. Another issue you may run into is that the VR Gear and services were designed to run specifically on Samsung devices only.

I'm not saying it won't work, but be careful when you try and certainly backup your phone first.
 

miniminus

Senior Member
Feb 20, 2012
353
196
i cannot even get it working on my Samsung S7 Active, (which is pretty much identical to a S7 mainboard wise. is just battery, case, button layout differs)
which is *just* a software issue im sure..
so im VERY much interested if you get the touchpad/buttons, and insertion detection working !! and how you did it !
as thats something i just cannot get going here ! :( ..
 
Last edited:

miniminus

Senior Member
Feb 20, 2012
353
196
well tried to get this installed, but couldnt get over permissions to overwrite those files .. (was rooted, in ES.File Explorer)
cannot do it in recovery as dont have any kinda custom recovery on s7.active ...

but did this give you ability to use the buttons, and touchpad ??
 

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
well tried to get this installed, but couldnt get over permissions to overwrite those files .. (was rooted, in ES.File Explorer)
cannot do it in recovery as dont have any kinda custom recovery on s7.active ...

but did this give you ability to use the buttons, and touchpad ??

I found a way to simulate gyro sensor but not with touchpad it use arm cortex microcontroller
link:https://www.roadtovr.com/can-now-clone-gear-vr-test-virtual-reality-apps
link2:http://open-gear.com
link3:https://github.com/yetifrisstlama/Foculus_Rift_Tracker_STM32F3DISCOVERY
U need some coding and some Electronics skill (for me is Easy )
 
Last edited:

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
After oculus have new update

IMPORTANT:After new update of oculus.Oculus system activity will crash if you launch VR application.I have seen in logcat.It say it cant found "defaultDistortion.bin" in directory /sdcard/Oculus .So I findding for it.And I found in gear vr service app.Then I extracted the file . Here is file
ANOTHER IMPORTANT:Extract in your internal sd card folder name"Oculus" and enjoy l.If crashes send me or post a logcat
 

Attachments

  • Oculus.zip
    20.5 KB · Views: 362

iHack13

Senior Member
Sep 6, 2009
125
80
Jerusalem
I think you shouldn't push yourself too hard.
Software hacking and Hardware simulation is too hard at once.
Going step by step would be easier and have a higher success rate.
You could first get a Gear Vr. Those are often sold for cheap , when Samsung tried to empty their shelves.
Especially the older ones.

Then prioritize Software porting until any phone is running stable on Gear Vr.


And then approach Gyroscope simulation on any Cardboard Headset to make it a Gear Vr.
But it's highly likely that the experience is worse. I mean Samsung is not stupid for putting a dedicated tracking circuit board inside the Gear Vr. They know that Smartphones don't have the best gyros etc. Mediocre Sensors are enough for Smartphone uses but when you are in VR you need a much higher sampling rate , hence the upgraded gyros in the Gear Vr. (Oculus and vive are the same)

So there is that. But it doesn't stop there. Let's say you ignore the last point or let's say your Gyroscope is good enough , there is still one big issue:

All gear vr content is made for the gear vrs optics. So you would need to find a cardboard headset that comes closest to the Gear Vrs lenses, lens to screen distance and face to lens distance and lPD( distance between L&R lens ... which should be the least problem though since many headsets have an adjustable IPD)

So to sum it up. The best bet would be to do the obvious . Use the gear vr with another android phone for gear vr experience.
Let's hope you can get that to work. Keep up the good work. And amazing talent at that age. 14 wow.
 

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
I think you shouldn't push yourself too hard.
Software hacking and Hardware simulation is too hard at once.
Going step by step would be easier and have a higher success rate.
You could first get a Gear Vr. Those are often sold for cheap , when Samsung tried to empty their shelves.
Especially the older ones.

Then prioritize Software porting until any phone is running stable on Gear Vr.


And then approach Gyroscope simulation on any Cardboard Headset to make it a Gear Vr.
But it's highly likely that the experience is worse. I mean Samsung is not stupid for putting a dedicated tracking circuit board inside the Gear Vr. They know that Smartphones don't have the best gyros etc. Mediocre Sensors are enough for Smartphone uses but when you are in VR you need a much higher sampling rate , hence the upgraded gyros in the Gear Vr. (Oculus and vive are the same)

So there is that. But it doesn't stop there. Let's say you ignore the last point or let's say your Gyroscope is good enough , there is still one big issue:

All gear vr content is made for the gear vrs optics. So you would need to find a cardboard headset that comes closest to the Gear Vrs lenses, lens to screen distance and face to lens distance and lPD( distance between L&R lens ... which should be the least problem though since many headsets have an adjustable IPD)

So to sum it up. The best bet would be to do the obvious . Use the gear vr with another android phone for gear vr experience.
Let's hope you can get that to work. Keep up the good work. And amazing talent at that age. 14 wow.

Now I have freetime on my vocation.about hardware is not a problem. Like gyroscope sensor.I have arduino. I have c++.I have electronic skill.Im coding with hardware.Im atill lucky to have a external hardware to use with this gear vr port.
About vr headset.I have google cardboard and VRBox. Recently I just play minecraft gear vr with my friend(with gamepad joy stick).
 
Last edited:

thipok17

Senior Member
Mar 9, 2014
90
17
18
Trang
tinlethax.wordpress.com
Update :I have way to test with hardware !!!

After I know the open-gear.com It's good news because we can have external hardware incluced with gyroscope .Im considering to buy them and manualy flash bootloader to it.but if you are bad at electronic DIY .you can also buy the pre programmed hardware for about $30 .it's good price for me but with the shipping to Thailand the shipping cost can be same as hardware kit .if you are in usa .you can buy the pre programmed kit by this link: open-gear.com and scroll down to
"Midnight Sun"kit you can see a screenshot from my phone.
And who can buy the hardware and program it with yourself
Just search for STM32F3 Discovery boardin Digikey Mouser Ebay or Distributor in your country. You can learn mor about flash bootloader in their website : open-gear.com
 

Attachments

  • Screenshot_20171101-161615.jpg
    Screenshot_20171101-161615.jpg
    175.2 KB · Views: 389
  • Screenshot_20171101-161622.png
    Screenshot_20171101-161622.png
    221.1 KB · Views: 405

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone