LG 360 VR - OpenHMD Journey (Linux, Mac, Windows, BSD support and SteamVR) - LG G5 Accessories

Hey all,
So i am currently working on a OpenHMD driver for the LG 360 VR and want to keep a bit of a log here for development, since other developers might be able to pitch in.
I have been able to open the device and start it up (with help of user Supportit), enabling the screen and backlight and getting the IMU data what i am currently working out, if that is figured out which should take a week or 2, we can start using it.
OpenHMD (http://www.openhmd.net) will make it possible to use the LG 360 VR on Windows, Mac OSX, Linux, FreeBSD, OpenBSD, Android and on SteamVR through the SteamVR-OpenHMD project (https://github.com/ChristophHaag/SteamVR-OpenHMD).
Current issues i am having is the screen, it reports back as a single 1440x960 display and they are rotated inwards per eye.
https://imgur.com/a/iuToEAP In this image i modified a DK2 image real quick and compensated for the screens, the arrow is where "UP" is.
I need to find a method to set the orientation of the screens either by setting a mode in the firmware (no idea how to do that, have not looked into other usb calls), or a custom EDID (less desirable).
Edit: We got it working!
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set.
There were some strange things with the device, that we had to deal with, like the IMU packet report was a bit odd, there is still some work to do to calibrate and drift correct it.
Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0

Hi. This is like it runs on the lg g5. In the firmware it is not possible to edit the resolution. Or orientation
In the vr goggles is one toshiba chip that drives the displays and get its signal as normal hdmi and then there is one chip that turns the usb c displayport data into normal hdmi signals.
The firmware on the stm32 is just there for the gyro and acc and also for the powermanagement. It has no image connection to the toshiba chip.
Here is the datasheet https://www.google.de/url?sa=t&sour...FjAAegQIAxAB&usg=AOvVaw0UekijaakssHFFEoNwewFR

Supportit said:
Hi. This is like it runs on the lg g5. In the firmware it is not possible to edit the resolution. Or orientation
In the vr goggles is one toshiba chip that drives the displays and get its signal as normal hdmi and then there is one chip that turns the usb c displayport data into normal hdmi signals.
The firmware on the stm32 is just there for the gyro and acc and also for the powermanagement. It has no image connection to the toshiba chip.
Here is the datasheet https://www.google.de/url?sa=t&sour...FjAAegQIAxAB&usg=AOvVaw0UekijaakssHFFEoNwewFR
Click to expand...
Click to collapse
So, do you know if they rotate the images in software? You took your device apart if i remember correctly, could you try rendering a application and filming the screen?
That could help me determine how to fix this.
I wonder if the firmware has information regarding orientation of the screen, or if there might be a command you can set to change it.
Since they are sending raw strings on the usb line, that might be a thing.

The image is rotate in the software.
The problem also is the resolution of the device on android.
The 1440x960 is only supported by the kernel from the LG G5 and has to be added to any other phone to make it work.
The firmware is not able to change or rotate the picture/resolution.
TheOnlyJoey said:
So, do you know if they rotate the images in software? You took your device apart if i remember correctly, could you try rendering a application and filming the screen?
That could help me determine how to fix this.
I wonder if the firmware has information regarding orientation of the screen, or if there might be a command you can set to change it.
Since they are sending raw strings on the usb line, that might be a thing.
Click to expand...
Click to collapse

I think the screens are connected inside like this so they always need to be rotaded from software side ...

I checked OpenHMD Git and there is no mention about LG do you have some code to share ? Thanks.

del

-=xXx=- said:
I checked OpenHMD Git and there is no mention about LG do you have some code to share ? Thanks.
Click to expand...
Click to collapse
OpenHMD now support LG 360 VR out of the box.
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set!
Works on Linux, Mac OSX, Windows, FreeBSD and OpenBSD, and even supports SteamVR through the SteamVR-OpenHMD wrapper!
Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0

TheOnlyJoey said:
OpenHMD now support LG 360 VR out of the box.
As long as you have USB-C with DisplayPort mode, or use a PCIe card with DP passthrough you are set!
Works on Linux, Mac OSX, Windows, FreeBSD and OpenBSD, and even supports SteamVR through the SteamVR-OpenHMD wrapper!
Links:
Initial Support: https://youtu.be/_9Jqm6uyFHQ
Branch: https://github.com/OpenHMD/OpenHMD/tree/LG-R100
Vlogs while building:
Update 1: https://www.youtube.com/watch?v=-U3nJOVIWnk
Update 2: https://www.youtube.com/watch?v=APzf4e0T9j0
Click to expand...
Click to collapse
Big update thank you sir

Thanks for sharing, did you try to compile it for windows, I tried to use mingw but I think I miss configured it. Maybe you know what files should I get after compilation ?
Thanks.

Did someone get OpenHMD to work ?

-=xXx=- said:
Did someone get OpenHMD to work ?
Click to expand...
Click to collapse
Yes I did. It kinda works, LG-R100 it is detected as a normal display in Ubuntu 16.04 but it doesn't display anything without OpenHMD.
I have downloaded OpenHMD, switched to the branch LG-R100, build and installed it according to the guidelines on the OpenHMD site and tried the examples. After trying the examples I have managed to turn on the glasses and to use it as a display. Actually kind of the display and here I have some problems that I still haven't solved.
Glasses are recognized by the pc as one display, so in the left eye I see left half of the desktop and in the right eye I see right half of the desktop also both halves are rotated differently. So currently in best case I can see half of the desktop without rotation and close my second eye.

I saw that there where some updates in git regarding R100 but I still can't compile version for Windows for now best option I think is reshade.

Related

$20 webcam= Skype video+camera apps working NOW!

If you are running a teamdrh rom with JB, or ICS with the 2.6.39 kernel, you can use a webcam and this hack to make skype video calls or take pictures/ record video with the stock camera app. I have tested this and it works great, skype calls are getting video and audio but i have only done a couple of five minute calls so I do not know if you will have the same luck with the MIC that I have had. on the stock camera app, if you "switch" from front to back camera, it inverts the video image, but video recording works, however on the stock app the MIC will cut off at around 10 seconds, but videolooks good, and pictures work too. All other camera apps I downloaded have worked as well.
REquirements:
1) a UVC webcam, which means compatible with Video4linux, or Video4windows, really most webcams work. The easy way if you buy one is to find on the box anything that says "no drivers/cd required." But check here: http://www.ideasonboard.org/uvc/#devices
I bought a $17 gigaware at radioshack, the cheapest one in the store.
2) You need to download this file:
https://docs.google.com/file/d/0B4ltl2zYxU7yVTVnM1RzVlBNaUE/edit?pli=1
BUT EXTRACT AND ONLY COPY THE camera.tegra.so FILE INTO your tablet's /SYSTEM/LIB/HW folder, and reboot. If you copy the other stuff you might find that your device will NO LONGER BOOT!!!
3) Plug your webcam into the usb port and in terminal run these commands:
su
chown system.camera /dev/video0
chmod 660 /dev/video0
*If you download gscript you can enter these commands once, and then it is just a couple of clicks, WAY EASIER! they need to be entered everytime you plug the webcam in, and before you run a camera/skype app.
Enjoy, I am hoping some people will test this and confirm it works for them too, please!
Credit BELONGS to Borkata at "another site" for his excellent work on the ADAM
redeyedjedi said:
http://www.tabletroms.com/forums/adam-general-development/5019-ics-external-camera-support-test.html
found this and I am wondering if he is talking about an ICS function, or just an Adam function. Either way, i was thinking the Adam is very similar to ours anyway. Anyone have a usb webcam that wants to try this, or bash me if the idea is out of the question for Gtab?? either is fine, just thought this MIGHT be useful.
Click to expand...
Click to collapse
There is a possibility that this already works on TeamDRH's ICS rom. The support has been added in the kernel awhile back but never been tested.
Thanks and much credit to rajeevvp!!!! I have gotten a webcam to stream video onto my gtab with DRH 1.3.2
Its kind've choppy, and a little blurry but works in a stable manner.
I am beggining to learn programming for android and trying to figure out a way to have any apps divert to my working video source instead of looking at the factory camera for a source. It seems it should be possible but I am just still too newb to Know any better.
If you would like to test this, then refer to this post:
http://forum.xda-developers.com/showpost.php?p=29457353&postcount=11
I have had success with a uvc compatibe webcam so far.
If you might have an idea as to how to trick the rom into looking at the usb port for its default video source I would like to know. Or if you can conclusively tell me that this is not possible I would like to know that too. My understanding is that there are two ways to approach this. One is to have the rom divert any frame capture requests to the usb video source as opposed to the original location. The other way, and probably more likely way, is to take an app like skype and hack it to go to usb for video, as opposed to the "stock camera location." Any insights would be very helpful. At least then, we could video chat with a small webcam, as opposed to no camera at all.
If this works for you, hit the thanks button on RAJEEVVP's post.
bump
That binary source code may also work on other ROMs (Froyo-, GB-, or HC-based ones)--if the Android<->HW camera interface hasn't changed. (The binary, unfortunately, doesn't load on GB and HC.)
This is how it should've been done by nVidia in the first place. I had expected them or VS/Malata to write a kernel driver for their camera which implemented the standard V4L interface. Instead, they have a binary-only shared object which directly controls the camera HW in a completely opaque way. There's hardly any camera-support code in the official (2.6.32.x) kernels at all--I was very surprised when I looked into this some time back.
nVidia's HW is nice and all, but, from now on, I'm just not going to buy any more of their products if it relies on any proprietary blobs.
rajeevvp said:
That binary may also work on other ROMs (Froyo-, GB-, or HC-based ones)--if the Android<->HW camera interface hasn't changed.
This is how it should've been done by nVidia in the first place. I had expected them or VS/Malata to write a kernel driver for their camera which implemented the standard V4L interface. Instead, they have a binary-only shared object which directly controls the camera HW in a completely opaque way. There's hardly any camera-support code in the official (2.6.32.x) kernels at all--I was very surprised when I looked into this some time back.
nVidia's HW is nice and all, but, from now on, I'm just not going to buy any more of their products if it relies on any proprietary blobs.
Click to expand...
Click to collapse
If you're down to take a peek here is where we're at with the Gtab camera on .39...
https://github.com/TeamDRH/android-tegra-nv-2.6.39-rel-14r7/commits/camera
I may not have everything??
redeyedjedi said:
3) Plug your webcam into the usb port and in terminal run these commands:
su
chown system.camera /dev/video0
chmod 660 /dev/video0
*If you download gscript you can enter these commands once, and then it is just a couple of clicks, WAY EASIER! they need to be entered everytime you plug the webcam in, and before you run a camera/skype app.
Enjoy, I am hoping some people will test this and confirm it works for them too, please!
Credit BELONGS to Borkata at "another site" for his excellent work on the ADAM
Click to expand...
Click to collapse
I found out I didn't have a dev/video0 folder. I created one but the camera fcs. Is ther supposed to be files in the video0 folder? I noticed in the audio folder there were several files. I am running DRH ICS 1.3 It didn't have the camera app installed since it didn't work anyway.
Any help would be appreciated. I restored the camera app with Ti from an earlier backup.
Thanks
btw: Thanks to all who got this working. I've been looking for something just like this.
Um, /dev/video0 is only created after you plug in your camera. You do not create this yourself. If your camera is UVC compatible, then after it is plugged in you should have /dev/video0 on the stock rom with no modifications! Did you check the link to see if it is listed?
These terminal commands give the camera permission to use the camera apps, along with the camera.tegra.so file. But, a totally unmodded rom will give /dev/video0 if your camera is compatible, because TEAMDRH already included the needed drivers. download the app "usb host controller" and open it after you plug your camera in. under the USB tab, does it register or list your camera? If so, then google your webcam, not the brand name, but the brand that is listed under "usb host controller" to see if it is UVC. My camera is a Gigaware, but under usb host controller it is listed as an MSI Starcam.
This positively works for me, but I have been waiting for anyone else to tell me it worked for them too so I can confirm. I am happy to help, because I want this to work universally as it should so it is a viable option.
Thanks
redeyedjedi said:
Um, /dev/video0 is only created after you plug in your camera. You do not create this yourself. If your camera is UVC compatible, then after it is plugged in you should have /dev/video0 on the stock rom with no modifications! Did you check the link to see if it is listed?
.
Click to expand...
Click to collapse
Thanks. I'm at work and just pulled out a cheap camera from my drawer. Not even sure what model it is. I wasn't aware though that the camera would create the folder when it is plugged in. When I get home I know I have a camera that is compatible and I will try it again.
Thanks for your help. I will let you know how it goes.
Fnally...a camera again
redeyedjedi said:
This positively works for me, but I have been waiting for anyone else to tell me it worked for them too so I can confirm. I am happy to help, because I want this to work universally as it should so it is a viable option.
Click to expand...
Click to collapse
It works. I haven't actually taken a pic or video yet, but I got a picture. I'm using my Logitech 270 HD webcam and the picture looks great. This is what I've been waiting for. I downloaded the free version if Camera ICS off the Play store. May have to buy it. The older stck camera app still FCs but the ICS one fired right up. Now I'll have to make my script.
Thanks a great deal... :good::good:
On a fresh install of the JB alpha, if you swipe left on the lockscreen instead of right, the camera app pops up, if you do a factory reset, then it will be in your app drawer!
I am so glad to hear it works for someone else.
TO use video recording or skype video, any video, you have to swap from the front to back camera. It shows an inverted image, but when you play back a recorded video, it is proper, also skype might be inverted but it looks right on the other end. I do not know why this is, but it works!!
***To clear up any confusion, the terminal commands only need to be entered once, after the camera is plugged but before you try to use any camera apps. They do not need to be re-entered until the next time you plug your webcam in, or restart the tab. With the gscript, you can put a shortcut on your homescreen, and the process becomes: plug cam in, tap one button, then load camera app or skype,etc!!
I can confirm it works with ICS Beta 1.3.2 (using the Camera ICS app). Camera, and Skype work just fine!
At last, my gTab is complete again! (well... almost...).
fosser2 said:
If you're down to take a peek here is where we're at with the Gtab camera on .39...
https://github.com/TeamDRH/android-tegra-nv-2.6.39-rel-14r7/commits/camera
Click to expand...
Click to collapse
I'll have to pass: Not enough free time. Besides, it looks like someone's already working on it--I'll just be stepping on their toes.
Random newbish question
would this be able to work on other tablets as well? albeit slightly modified and what not... i've been thinking of integrating a dell streak 7 into my dash and an external web cam would be a neat back up cam
Im gonna guess no, but it is possible. YOu need a kernel with V4l2 support, and a file like this to direct the rom to communicate with it. I know nothing about dell streaks, but if you ask a developer of the rom you're using to look at Borkata's github source you might get a solution, but I really do not know.
redeyedjedi said:
Im gonna guess no, but it is possible. YOu need a kernel with V4l2 support, and a file like this to direct the rom to communicate with it. I know nothing about dell streaks, but if you ask a developer of the rom you're using to look at Borkata's github source you might get a solution, but I really do not know.
Click to expand...
Click to collapse
Thanks, I figured that because the dell streak is a tegra 2 board, it wouldnt be too difficult, but i am definatly not a dev of any sort
I've tried this with on a gTablet, testing both G-Harmony & SmoOther Beam 4.1.2, but I haven't been able to get it working.
I'm testing it with a Microsoft HD-6000 webcam. Any suggestions on where I might look to determine if the problem is related to the ROM/approach, or the hardware?
I've already checked the UVC compatibility page. Unfortunately it's a bit out-of-date, and the HD-6000 is not yet listed, yet the sister HD-3000 is listed as supported.
Thank you in advance for any ideas!
RKM
rkmFL said:
I'm testing it with a Microsoft HD-6000 webcam. Any suggestions on where I might look to determine if the problem is related to the ROM/approach, or the hardware?
Click to expand...
Click to collapse
First, see if this Webcam test app works.

[APP][2.1+]Virtual Wheel Beta 0.2

Hi Everyone,
This is the first app that I've publish, so any constructive criticisms are welcome.
Vritual Wheel:
This app allows you to use your android device as a wireless steering wheel to control racing/driving games on your PC.
Your android device and computer must be on the same network for this to work (meaning same router/switch).
This app currently works with both 32 and 64 bit Windows.
Installation and usage instructions are in the app description on the Play market.
Link:
Please leave me some feedbacks in this thread on what you like and what you don't like. Also what you want (other than the planned features) and any bugs (please also tell me what device and version of Android you are running).
Code:
Changelog:
[B]v0.1:[/B]
Initial Release
[B]v0.2:[/B]
Added steering angle adjustments and deadzone.
Added 64 bit support.
Thank You
id noticed your post on lfs forum earlier on so downloaded it, il be going on lfs soon so will give this a try and leave feedback
Thanks. My computer's graphics card just died on me yesterday, so I won't be able to do much development. Going to take about 3 days for the new GPU to come in. I plan to implement adjustable steering angle, calibration, and hopefully bluetooth communication in the next update. 64-bit is a bit harder than I thought, so that is currently delayed.
tincanman said:
Thanks. My computer's graphics card just died on me yesterday, so I won't be able to do much development. Going to take about 3 days for the new GPU to come in. I plan to implement adjustable steering angle, calibration, and hopefully bluetooth communication in the next update. 64-bit is a bit harder than I thought, so that is currently delayed.
Click to expand...
Click to collapse
It's a fantastic app from what I can see. I'm using a 64bit pc so I'm eagerly awaiting the 64 bit release!
EDIT: Is there anyway to run it on a 64 bit pc as a 32 bit app or something? Like "Compatability mode" etc?
mtb_kng said:
It's a fantastic app from what I can see. I'm using a 64bit pc so I'm eagerly awaiting the 64 bit release!
EDIT: Is there anyway to run it on a 64 bit pc as a 32 bit app or something? Like "Compatability mode" etc?
Click to expand...
Click to collapse
Unfortunately no. The 64 bit support has to do with the driver. Currently, I estimate about 1-2 weeks before I can get the 64 bit support working. So hang in there, it's coming
Ok, finally got my GPU. Just compiled the 64bit drivers, and tested to be working fine. All I have to do now is implement them into the installation package. 64 bit coming this weekend
tincanman said:
Ok, finally got my GPU. Just compiled the 64bit drivers, and tested to be working fine. All I have to do now is implement them into the installation package. 64 bit coming this weekend
Click to expand...
Click to collapse
good to hear, im on a 64 bit machine so would find these useful, i look forward to testing it on live for speed,
v0.2
Added steering angle adjustments and deadzone
Also added 64-bit support (I am still learning Windows Driver Development, so the implementation is not very efficient and clean. Hopefully I will be able to design a clean custom driver for both 32 and 64 bit within the next month)
Wow this is a sweet idea
Sent from my GT-N7100 using xda premium
How to make this app works with City Car Driving or Need For Speed Underground 2?
Would you give a way to configure it on PC (in games)?
Thanks...
I can confirm this works with the HTC One X and Saints Row 2, I'll check out some other games the coming days if I have time.
Really awesome development!
Two things didn't go very smooth though:
- installing the unsigned driver
- figuring out the correct axis and buttons
The first is a tough nut probably, but the latter could be solved by adding a help option in settings that shows the button map.
Idea's for further development:
- autolaunch the program with Windows, to the system tray
- autosearching from the app for running servers on the network (check out Unified Remote's implementation)
- choosing to use the two center buttons or using that as a touch area (for camera control)
- hook the volume buttons as shoulder buttons!
- allow custom layouts (maybe only colors and texts, but that would be cool to accomodate other games)
The PC client keeps failing when I start android app, I assume while connecting to PC.
This application must have a "Prevent Screen to Turn Off"
Use with Linux? Flightgear, etc.
There are numerous apps to keep screen on. Can use Xposed, appsettings module.
ncc74656 said:
The PC client keeps failing when I start android app, I assume while connecting to PC.
Click to expand...
Click to collapse
Getting the same error here. And one other thing - when I type the IP Address, which the program is showing me, i get absolutely no connection, but as soon as I enter my correct LAN IP Address, things get to the 'stopped responding' thingy...
hello ..! I wanted to install the file. exe of this application on my PC with windows 7 32bit and I have the following problem ..!
and also attached the LOG installation gives me the program ..!
I had a driver issue here, but I attempted a fix and I think it worked, VWheel device driver is now successfully installed, but still app is hanging in Windows when I open simultaneously Virtual Wheel in phone and on PC(As soon as it connects, it brakes down). Also, I can see that 32bit users are installing v0.3, im on x64 here, first tried installing program from the main link in GooglePlayStore, but it wasn't successful, so I saw that there is a 64-bit version, which is reporting v0.2a ?
leito824 said:
hello ..! I wanted to install the file. exe of this application on my PC with windows 7 32bit and I have the following problem ..!
and also attached the LOG installation gives me the program ..!
Click to expand...
Click to collapse
Same problem here. Windows 7 Home Premium 64-bit. Error status: 1603
Do I need Wi-Fi connection or I can just turn-on my Laptop wi-fi and my Xperia S wi-fi to use this?
P.S: I don't have Wi-Fi, I use Modem to connect to internet.
darkerm said:
Do I need Wi-Fi connection or I can just turn-on my Laptop wi-fi and my Xperia S wi-fi to use this?
P.S: I don't have Wi-Fi, I use Modem to connect to internet.
Click to expand...
Click to collapse
You have to have a Local Network e.g. a Router, only enabling Wi-Fi on your PC and Phone is not going to work but I think there were a few programs that might help you create a network between your laptop and your phone. Google for Wi-Fi Hotspot or something and search the results for the program that suits you best. Good luck. Im still stuck here with program crashing when I setup everything right. Dunno why also as I mentioned earlier, program reports wrong PC IP Address, check for solution on that also.
Error code: CLR20r3, tried all the fixes I could find in the web, no success... OP, try researching why this problem may occur and at least let me know cuz I'm struggling from 3 hours to fix this and get it up and running Admirations on your work too

S-Pen Capture App

Is there an app out there that can capture the s-pen input and make it a bluetooth input device or if there isnt how possible would it be to make one.
i want to add being able to use it as a graphics tablet for PC/MAC to its Rooted (or even unrooted) Features. the only way i can think how is a input hook on the device
DrackyW said:
Is there an app out there that can capture the s-pen input and make it a bluetooth input device or if there isnt how possible would it be to make one.
i want to add being able to use it as a graphics tablet for PC/MAC to its Rooted (or even unrooted) Features. the only way i can think how is a input hook on the device
Click to expand...
Click to collapse
There are a few options available for using your Note 10.1 as a graphics tablet (with varying degrees of success I might add) , however none that I know of that would take the tablet or s-pen input and turn it into bluetooth.
You didn't mention an OS so here are several options
GfxTablet
http://rfc2822.github.io/GfxTablet/
This is for GNU/Linux, but it's the best working method i've found so far. It lets you use your tablet as a graphics tablet, pressure sensitivity included.
S-Tablet
http://stablet.co.kr/
This is supposed to work on Windows, but I could never get it to work on my Win 7 x64 system. Others have reported success with it. Good luck using the website, as it's mostly in Korean.
Hope this helps you out. I personally ended up Dual Booting Windows and Linux in order to use the GfxTablet app, but whatever works best for you. I was looking for an excuse to install GNU/Linux anyway.
Well i guess its time to start working on an android solution then. any coders interested give me a shout

[Q] Linux running on OnePlus One with framebuffer or native help

Hello!!
I have an OnePlus One, rooted and with lattest kernel, and android 5.0
what i wat to do is :
Install linux preferably Debian, but any distro is ok.
Native would be the best option so it can acces and use all the hardware.
Or via Linux deply using frambuffer.
I have read a lot, and what i can understand is that with framebuffer i can acces all the hardwarare, like mouse usb keyboard BT sound etc directly. Via vnc if i use an usb mouse y get the mouse pointer and separatly another pointer that is the one in vnc and it lags after the mouse.
I have installed debian in my oneplus one smartphone with Linux Deploy. And with vnc is rather slugish. Via XServer SDL it runs more smooth. But i have read that framebuffer is the fastest way in terms of performance. i have even read that framebuffer will get 3d acceleration and stuff. but i could be wrong.
But everytie i try to run via framebuffer i get a black screen and nothing happens. i have click the option of stop the Android giu.
But then i have to restart the phone to come out of the black screen. and if i have Android running i still get the black screen but i can snap out of it.
I want to use this tablet as my working unit. But i need to have a working linx distro that runs well enough to do all my daily work on it.
I have spend 3 weeks to try to get it to work. and read a lot and so on on my own, but now i need help.
Has anyone sucessfully run linux in OnePlus One?
Any help about how to acomplish this will be really appreciatet.
I thinks this will help a lot of people that want to have a tablet and be able to tun linux and do their everyday work on it.
specially if you travel a lot.
I have write a post very much like this regarding Onda tablet v989. Because it has another hardware. If I can get any of them to work it would be a bliz.
thanks everyone in advance.
I think the first step is to get frame buffer to work , afterwards the rest shoud be easy. I've tried compiling a kernel with fb support , but I have not had any success yet, i'm not even sure whether my device will supports it (Alcatel 918D android 2.3.5) .Building this phones kernel has been a nightmare , but finally I got it to run my own, now i have to figure out how to get Fb on this phone.
Sent from my ALCATEL ONE TOUCH 918D using xda app-developers app
i have installed debian sed with the linux deply app. and framebuffer. i get of course black screen, but before when i dropped out of the black screen i see the terminal with different errors.
Bot now i see that framebuffer start ...ok no errors. i even try to run glxgears and i got the terminal telling me is running at about 100 fps. like its running in some monitor that is off.
I try this with my acer pc conected to the tv the tv was off and it was running about 100 fps, when i turn on the tv i saw the gears ans the speed wentdown to normal 60 fps.
So i conclude that in my Oneplus One is also running in some screen. but i get black screen.
Does this help you in any way whatsoever?
i hope we can get frammebuffer to work.
By the way running it trough the framebuffer....wil it go faster than the Xserver SDL?
It seems you‘ve had luck with setting up framebuffer console on your phone, now all you need is a library to enable window applications to access it.
Also you may post some screen shots.
Am on phone ATM, but will give you some hints tommorow.
Sent from my ALCATEL ONE TOUCH 918D using xda app-developers app

[BUILD][03-Sep-2016][SP2] Android-x86 / Remix OS

Hi Devs!
I'm wondering why not more people here working to get android lollipop working on our beloved tablets
I started to read a little bit into the topic and found quick easy solutions on the web to get ordenary android-x86 images boot very well.
Draco wrote an How-To that is easy and works also perfect with the Surface-Pro
https://groups.google.com/forum/#!topic/android-x86/D85Jq02cLrE
I modified the UEFI files to work better with a out of the box intallation of the Surface and put it together with Android 5.0.2 test builds.
Collect everything I've uploaded in a Folder:
https://drive.google.com/folderview...V3VU0wYV9MY2VVVkY2eGJPT0EyTkQ4WnM&usp=sharing
working
multitouch screen
sound
internal Wifi from SP2 (88W8797)
Bluetooth
Type Cover 2 (on installation also)
Touch Cover 2 (on installation also)
Inclinometer (= rotation sensor)
Ambient light sensor
Front Cam (tested with open Camera)
Rear Cam (tested with open Camera)
OpenGL (tested with Antutu)
Issues so far
Accelerometer [HID-SENSOR-200073.0]
Gyroscope [HID-SENSOR-200076.0]
Magnetometer [HID-SENSOR-200076.0]
MS Pen not working
YouTube Videos not working (only low resolutions, working over chromecast)
...
Are there more people interrested in getting latest Android working better on our Surface Pro?
I can support and provide with modified files and my modified How-To if someone like to join.
Remix OS link:
Remix OS with working WiFi
Bliss-x86 link:
https://forum.xda-developers.com/android/software/x86-bliss-x86-pc-s-t3534657
regards
Sandman01
bootmanager, gapp[EXT4], WIFI [firmwar+module], Type/Touch Cover 2
How-To
Here to download a Testbuild for Android 5.0.2 from Google Groups from rgb
https://groups.google.com/forum/#!topic/android-x86/3xClAbl5D_w
Info:
If an microSD card is inserted the boot process will fail, because the microSD replaces the SSD to be the hd0 device.
Solution: change the grub.cfg entry from hd0 to hd1 and also do the mod in the loopback cfg
[EDIT]: sinc latest UEFI Firmware update, booting from microSD isn't working anymore
gapps can be used from any place, just copy the contens of the .zip file to there correct places.
atm I use a small gapps package from paranoidandroid (PA)
http://d-h.st/o72
WiFi: (not required any more on available builds)
I compiled a build on my Ubuntu intallation and extract the files for you, hope copy the files works also on the downloadable iso.
Please give me feedback if the files are working for you.
usb8797_uapsta.bin replaced in /lib/firmware/mrvl/
mrvl folder replaced in /lib/modules/3.10.58-android-x86+/kernel/drivers/net/wireless
Touch/Type Cover 2: (not required any more on available builds)
hid folder replaced in /lib/modules/3.10.58-android-x86+/kernel/drivers/
Genymotion is a good choice
snailx said:
Genymotion is a good choice
Click to expand...
Click to collapse
Genymotin is only a emulator as far as I see!
I'm one of the users who want to run an os natively like i did with osx.
sandman01 said:
Genymotin is only a emulator as far as I see!
I'm one of the users who want to run an os natively like i did with osx.
Click to expand...
Click to collapse
Hi,
I'm very interested in this!
Could u pls post a tutorial of installing OSX on surface pro 3 ?
I have only installed Max OS 10.9 in VMware, but it's not smooth verywell.
Does WiFi work well within your OSX install ed on the Disk ?
Hi!
For OSX Yosemite go to
http://www.insanelymac.com
I'm on the SP2 and WIFi only per external USB Stick sorry
I hope similar tho the SP2 kex Files for SP3 are available
For me OSX with the use of touchscreens is not very comfortable.
Is like Win7 to small buttons
Also at Android I only get WIFI working via external USB Stick atm.
Sent from my D6503 using XDA Free mobile app
Thanks a lot, I'll try it.. someday..
Solution for gapps found by the guys from google groups.
Use a EXT4 Partition on the USB-Drive/SSD to get gapps working like a charm.
Post 2 with HOW-TO updated
Surface Pro 3
I can verify that this does not work on the Surface Pro 3. The touchscreen doesn't work, the type cover doesn't work and the pen doesn't work, so I can't even choose my language on the first screen.
epic118 said:
I can verify that this does not work on the Surface Pro 3. The touchscreen doesn't work, the type cover doesn't work and the pen doesn't work, so I can't even choose my language on the first screen.
Click to expand...
Click to collapse
I'm sorry for that, if you have time, can you also test a available Android 4.4.4 installation if olso there touchscreen is not working?
I correct the title and update the OP that everyone sees that on SP3 ther are more problems.
Touchscreen is working on SP2 but Type Cover 2 did not so I also need an external USB keyboard for analysing things in console (ALT+F1)
regards
Sandman01
sandman01 said:
I'm sorry for that, if you have time, can you also test a available Android 4.4.4 installation if olso there touchscreen is not working?
I correct the title and update the OP that everyone sees that on SP3 ther are more problems.
Touchscreen is working on SP2 but Type Cover 2 did not so I also need an external USB keyboard for analysing things in console (ALT+F1)
regards
Sandman01
Click to expand...
Click to collapse
Sure, I've got time!
I'm just going to try installing 4.4.4 and seeing if it works.
I'd like to see Lollipop for my RT
calikevin said:
I'd like to see Lollipop for my RT
Click to expand...
Click to collapse
Haha, I understand you, but I have to mention that I'm a noob.
As far as I understand, creating/porting the drivers/firmware/kernel modules for the surface rt will be much more difficult than starting from an existing project like android-x86.
At the moment I split my SSD into more partitiones, installed the third OS (Ubuntu 14.10), get the complete code from git repository and try to set up the build environment to learn more about things are working together.
Also on Ubuntu the WIFI (USB version of MARVELL 88W8797) wont work out of the box but after replacing the firmware from git.marvell.com I get it up working.
Unfortunately this is not working on Android that easy.
The kernel modul for WIFI is loaded (mwifiex.ko) but no additional network interface is showing (mlan0 should be created)
sandman01 said:
Are there more people interrested in getting latest Android working better on our Surface Pro?
I can support and provide with modified files and my modified How-To if someone like to join.
Click to expand...
Click to collapse
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
I spent all evening and well into the morning finally getting 4.4-r2 running successfully on my SP2 using Draco's guide. Very nice work there from him.
It's unbelievable how smooth the Android experience is natively. When people recommend the emulators they just don't understand until they experience it themselves.
I have the Type Cover 1, and it's fully functional, but bluetooth and WiFi do not work. I have an Edimax EW-7811Un which does work, but the internet speeds are unusable; it maxes out at .25 Mbps. Is there something I need to do or is there another WiFi dongle which works better? Which one do you use?
Do you know of any combo WiFi/BT dongles that work?
If I can solve the WiFi issue (don't really care about having a small dongle plugged in for android), I will be one happy camper.
One more question: I read the 4.4-r1 had some drivers or something that 4.4-r2 didn't. However, I couldn't get it to boot from USB (it would hang on the android screen). With that said, I just replaced the files within the 4.4-r2 files with the 4.4-r1 on the USB. Do I have to rebuild the thumb drive or can I just replace files?
I will try the Lollipop build later. Good to find someone else doing this! Too bad we're both newbs lol.
dimex said:
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
I spent all evening and well into the morning finally getting 4.4-r2 running successfully on my SP2 using Draco's guide. Very nice work there from him.
It's unbelievable how smooth the Android experience is natively. When people recommend the emulators they just don't understand until they experience it themselves.
I have the Type Cover 1, and it's fully functional, but bluetooth and WiFi do not work. I have an Edimax EW-7811Un which does work, but the internet speeds are unusable; it maxes out at .25 Mbps. Is there something I need to do or is there another WiFi dongle which works better? Which one do you use?
Do you know of any combo WiFi/BT dongles that work?
If I can solve the WiFi issue (don't really care about having a small dongle plugged in for android), I will be one happy camper.
One more question: I read the 4.4-r1 had some drivers or something that 4.4-r2 didn't. However, I couldn't get it to boot from USB (it would hang on the android screen). With that said, I just replaced the files within the 4.4-r2 files with the 4.4-r1 on the USB. Do I have to rebuild the thumb drive or can I just replace files?
I will try the Lollipop build later. Good to find someone else doing this! Too bad we're both newbs lol.
Click to expand...
Click to collapse
Hi there!
I got 4.4-r2 working on my SP3 and about the internet issue you can use usb tethering with your Android phone
Both LTE and Wifi work and I get the same speed as my phone
dimex said:
Haha, so glad I found this thread. First things first, is your avatar a paragliding or skydiving canopy? If so, end cells look fantastic and very nice acrobatics with your leg straight up...how did you manage that?
Click to expand...
Click to collapse
Thats a paragliding canopy, and what you can see is the basic you have to manage when you want to fly acrobatic style.
Its a full stall where the canopy is not flying forward any more an the pilot is falling backwards untill the body stabilized under the backflying canopy
At the moment I use a USB2.0 HUB to connect the USB-Drive and the WLAN Stick at the same time. because after the last firmware Upgrade of my SP2 the Tablet do not boot any more from the microSD card. ?!?
The WLAN Stick is a original Samsung WIS12ABGNX for my Samsung TV/BD Player I used to test what can be done with them.
on Win8.1 I got a Speed of approx. 8-9MByte/sec (internal Marvell Wifi)
on Android 5.0.2 I got 4-5MByte/sec (external Samsung Wifi)
on Sony Xperia Z2 5.0.2 (unofficial) I got 2-3MByte/sec (internal ... Wifi)
when copy a file between my NAS (100MBit Network LAN structure)
so there is room for improvement, but first I really like to get more familiar with building Android from source by my self and try to get the internal Wifi working.
Also on Ubuntu 14.10 WiFi is working but not very stable but it does. (with including the firmware from git.marvell.com)
shasen1235 said:
Hi there!
I got 4.4-r2 working on my SP3 and about the internet issue you can use usb tethering with your Android phone
Both LTE and Wifi work and I get the same speed as my phone
Click to expand...
Click to collapse
I'd rather get a small nano USB WiFi dongle and "set it and forget it." I don't want to have to carry around the SP2 and my phone with a USB cable just to use the internet.
sandman01 said:
Thats a paragliding canopy, and what you can see is the basic you have to manage when you want to fly acrobatic style.
Its a full stall where the canopy is not flying forward any more an the pilot is falling backwards untill the body stabilized under the backflying canopy
Click to expand...
Click to collapse
Ya, the image was blurry, I was pretty sure that was a paragliding wing. I was a competitive high-performance canopy pilot (swooper) but have been out of the sport for a number of years. Some of the canopies now have radically different designs and the different wings between skydiving/paragliding/etc are merging now to make some cool stuff. Made a few paragliding flights, but never got into it.
sandman01 said:
after the last firmware Upgrade of my SP2 the Tablet do not boot any more from the microSD card. ?!?
Click to expand...
Click to collapse
You were able to boot android directly from a microSD and keep the SSD untouched (didn't even think of that)? Did the upgrade affect the partitions at all? Maybe the set root=(hd0,gpt#) and root=/dev/sda# changed, but I'm sure you already looked at that.
sandman01 said:
on Win8.1 I got a Speed of approx. 8-9MByte/sec (internal Marvell Wifi)
on Android 5.0.2 I got 4-5MByte/sec (external Samsung Wifi)
on Sony Xperia Z2 5.0.2 (unofficial) I got 2-3MByte/sec (internal ... Wifi)
when copy a file between my NAS (100MBit Network LAN structure)
Click to expand...
Click to collapse
Ok, I just want to make sure we're on the same page here. So on Android you were getting 5 MBps (40 Mbps)? That's super fast, unless you meant 5 Mbits, which is still faster than what I'm getting. Right now, I'm getting 0.25 Mbps (0.03125 MBps) which is unusable. I have another WiFi dongle arriving today, so maybe that will help. If it doesn't, why am I getting such slow speeds?
dimex said:
Ok, I just want to make sure we're on the same page here. So on Android you were getting 5 MBps (40 Mbps)? That's super fast, unless you meant 5 Mbits, which is still faster than what I'm getting. Right now, I'm getting 0.25 Mbps (0.03125 MBps) which is unusable. I have another WiFi dongle arriving today, so maybe that will help. If it doesn't, why am I getting such slow speeds?
Click to expand...
Click to collapse
Hi!
I did a 2nd x-check
Defenetly can receiver a 260MB file Form my NAS with ~3,2 Megabyte (~2min) per second and transmit the same file with ~4,5 Megabyte per second back to my NAS with the external Samsung USB WiFi stick
I would say its also possible to installiert Android to the microSD on a EXT4 partition and boot it via Grub.
Yes its all about the (hd0,gpt2) and /dev/sda2 or similar.
Just try it and if the numbers are not correct Boot into Grub and adapt the setting by pressing "e" and thest the setting with "F10"
Well I just tried the TP-Link TL-WN725N and it did not work at all.
Tried within 4.4-r1 that's installed to SP2's SSD and Lollipop booting from USB. WiFi just hangs at turning on and doesn't recognize the dongle.
Why am I getting such slow speeds on the other dongle? And do you know of any specific nano WiFi dongles that work well for this application? I tried searching on Google and in the Android-x86 group but came up empty.
I just want WiFi!!!! :crying:
Hi sorry for my english,there is a guide for install android on surface pro 1 ?
I think is same of surface pro 2, thanks.......

Categories

Resources