[Q] Linux running on OnePlus One with framebuffer or native help - ONE Q&A, Help & Troubleshooting

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

Related

Ubuntu on SL101 - we need more development.

So I've been playing around with my SL101, and finally got a version of ubuntu working (kindof) enough to do some playing and whatnot.
Currently using the TF101 image from lilstevie (unzipped to /sdcard/ubuntu.img ) and ubuntu-mountloop.zip from here (which I flash from recovery because i can't apx mode because of SBK's not found for my device).
I'm just running into a few issues:
Onboard keyboard not recognized (any release) (on boot it looks for a dock and doesn't find one, but the SL101 technically doesn't have one)
Intermittent stalling inside ubuntu
Touch isn't what I wish it would be like (no swipe, no longpress for menu, etc)
WiFi only works in one version I've tested: lilstevie's
We need development on the SL101, or at least some kind of guide helping semi-advanced users inject the needed modules/drivers to load things specific to the SL101! (onboard keyboad, remove secondary battery indicator, etc)
I'd really love to get all the kinks out and have a stable ubuntu dualboot (be it, pseudo dualboot, still none the less)
Now, I was asking around a couple of days ago in #android and #android-root on freenode, and found out, for "ubuntu for phones" (which we should see a version hit for the galaxy nexus near the end of this month) they're actually using android drivers, so I'm wondering if anyone's played with this at all, i.e. loading ubuntu with android's drivers and having everything work out of the box...
http://www.theregister.co.uk/2013/01/02/canonical_announces_ubuntu_for_phones/ said:
Because it uses the same device drivers as Android, Ubuntu for phones will be able to run on a wide variety of hardware, ranging from entry-level devices with single-core processors to advanced "superphones" based on multi-core ARM and Intel chips.
Click to expand...
Click to collapse
Topic in #ubuntu-phone on freenode said:
Source code and image should arrive end of Feb '13
Click to expand...
Click to collapse

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

Linux on Android Ubuntu Gray screen error [SOLVED]

Hi.
This problem has been posted many times with no answer provided by anybody.
I'm not allowed to reply to the relevant threads as my post count is too low.
Here are the details of my tablet:
ainol Novo7 Venus running Android 4.2.2, Kernel 3.4.0
Latest version of Complete Linux Installer.
Currently writing this message using Ubuntu 10.10 on the tablet with USB keyboard & mouse using a 3.6 version of Firefox.
Works great, but Firefox is old, and I can't upgrade it on Ubuntu 10.10, so I thought I'd try a newer version of the OS.
I had reservations about how this would go as I've had major problems running anything newer on my desktop machine. I've run Ubuntu 10.10 on that for many years and was very happy with it. That's now running 12.10, using gnome-session-fallback. Unity sucks, and it simply won't work on my desktop.
Back to the Anal; sorry, ainol.
I've tried Archlinux, Debian, Fedora, and they all work to some extent, but the sotware is old. I've tried Ubuntu 12.04, and it appears to work on the surface, but Firefox crashes (Reported by others, but no cure).
I've also tried Ubuntu 13.04, 13.10 and 14.04 and al of them result in the blank gray screen as reported by many others.
I've managed to get around that and solve the gray screen problem on all of them.
The trick is to change the window manager. KDE is the default on all these, as obviously theyv'e discovered that unity doesn't work on tablets. However, KDE doesn't seem to work on a lot of them also judging by the number of people reporting this error.
The best window manager I have found to work is xfce4. It's not installed by default, and neither is my favourite terminal, or text editor.
Amazingly, none of these distributions even have a web browser installed.
If anyone needs help getting xfce4 installed, I'll be happy to provide instructions
In the meantime, good luck
Geoff
Grey screen issue on Ubuntu 13.10
Hi there !
I have Grey screen issue during ubuntu boot up
I'm using android vnc and complet linux installer on my karbonn a9
small and core image works great but in case of large image I have Grey screen issue
need your help how to resolve this issue !!
please reply asap....
thnx and regards,
coopergl said:
Hi.
This problem has been posted many times with no answer provided by anybody.
I'm not allowed to reply to the relevant threads as my post count is too low.
Here are the details of my tablet:
ainol Novo7 Venus running Android 4.2.2, Kernel 3.4.0
Latest version of Complete Linux Installer.
Currently writing this message using Ubuntu 10.10 on the tablet with USB keyboard & mouse using a 3.6 version of Firefox.
Works great, but Firefox is old, and I can't upgrade it on Ubuntu 10.10, so I thought I'd try a newer version of the OS.
I had reservations about how this would go as I've had major problems running anything newer on my desktop machine. I've run Ubuntu 10.10 on that for many years and was very happy with it. That's now running 12.10, using gnome-session-fallback. Unity sucks, and it simply won't work on my desktop.
Back to the Anal; sorry, ainol.
I've tried Archlinux, Debian, Fedora, and they all work to some extent, but the sotware is old. I've tried Ubuntu 12.04, and it appears to work on the surface, but Firefox crashes (Reported by others, but no cure).
I've also tried Ubuntu 13.04, 13.10 and 14.04 and al of them result in the blank gray screen as reported by many others.
I've managed to get around that and solve the gray screen problem on all of them.
The trick is to change the window manager. KDE is the default on all these, as obviously theyv'e discovered that unity doesn't work on tablets. However, KDE doesn't seem to work on a lot of them also judging by the number of people reporting this error.
The best window manager I have found to work is xfce4. It's not installed by default, and neither is my favourite terminal, or text editor.
Amazingly, none of these distributions even have a web browser installed.
If anyone needs help getting xfce4 installed, I'll be happy to provide instructions
In the meantime, good luck
Geoff
Click to expand...
Click to collapse
Hi @coopergl, i've got that grey screen issue, with the debian Image, and i don't know how to change the window manager, could you help me with it?
Thanks a lot !

Cube i7 Remix - Alternative OS

Cube i7 Remix needs another OS. Since neither Cube nor Jide seems to be interested in supporting this device, its time for us to unite to solve this problem. I will reply to this post with my several attempts.
Wish us luck,
Bradley Norris
Cube i7 Remix - Ubuntu
I created a bootable 'live' USB using Ubuntu 16.04.
Power up with it plugged into the OTG. My unit defaulted to booting from the USB. You may have to interrupt the boot cycle by pressing Escape to change the boot order.
1. It booted very quickly and used native resolution of 1920x1080.
2. Surprisingly fast, especially considering that I am operating off a USB.
3. No wifi. No touchscreen.
In theory, you can follow a procedure here (http://ubuntuforums.org/showthread.php?t=2265190) to get wifi working, but I believe that is for the i7 with the Core M rather than the i7 remix.
The speed of Ubuntu, combined with native x86 applications and the new Unity touch interface would be a great combo. Does anyone know how to make this work? Topfreitas?
Cube i7 Remix - Windows
I created a Windows 10 install USB using Microsoft's own tool MediaCreationTool.exe (www.microsoft.com/en-us/software-download/windows10).
Booting starts, but ends prematurely with a BIOS error.
I wonder if we could install from one of Cube's own devices. For example, the Cube i6 dual boot runs Windows on the same Baytrail (Intel Atom Z3735) chipset. In addition, they have an i10 and an iWork 11 that also use this chipset. (http://www.cube-tablet.com/download/) These downloads timeout before completion. Anyone else successfully download?
Teclast also makes model that is suspiciously familiar (probably built off of the same older Intel reference design): X16HD. Perhaps their version of Windows would work.
Cube i7 Remix - XJUbunTAB
Again in theory, this XJUbunTAB distribution was created with Baytrail tablets like our Cube i7 Remix in mind.
Here is the intro:
https://xjesus.net/xjubuntu/xjubunt...izable-distro-based-on-xubuntu-14-04-64-bits/
Here are the files:
https://sourceforge.net/projects/xjubuntu/files/
Again, I created a bootable USB and like Ubuntu, it boots quickly and runs wicked fast, but...
No wifi, even when I run their utility to fire it up: "Start WiFi RTL8723bs"
No touch.
Cube i7 Remix - Android-x86
Android-x86 is now up to 6.0!
http://www.android-x86.org/
Same as the other experiments, I created a bootable USB and tried it out:
Touchscreen not working (USB Mouse instead).
Wifi sees networks and allowed me to sign into one.
Screen resolution defaulted to 1024x768, so it looked large and fuzzy.
“Unfortunately, Google Play services has stopped.” Repeatedly.
Signed into my google account, and then froze on “Just a sec…”
Hard reboot, this time Wifi doesn’t work.
Any thoughts?
Cube i7 Remix - Remix OS for PC Hacked
One last attempt... Remix OS for PC Hacked presented here: http://forum.xda-developers.com/remix/remix-os/remix-os-pc-hacked-edition-ota-v2-0-201-t3345968
Well, boot, screen resolution, and wifi seemed to work fine in "Guest Mode", but on first run of an app, crash boom.
Hi Folks!
You can try use a version of Ubuntu developed for Intel 3735F. Burn a pendrive with it and run from OTG, you'll have wifi working out of the box, but after trying a lot, I gave up on trying fix touchscreen or sound...
In theory for this kind of device, you need to upgrade to linux kernel 4.3 to get touch working but you'll lost wifi. (I didn't tried that).
Hope it helps
https://plus.google.com/+IanMORRISON/posts/UNWdwRMqy3j
topfreitas said:
Hi Folks!
You can try use a version of Ubuntu developed for Intel 3735F. Burn a pendrive with it and run from OTG, you'll have wifi working out of the box, but after trying a lot, I gave up on trying fix touchscreen or sound...
In theory for this kind of device, you need to upgrade to linux kernel 4.3 to get touch working but you'll lost wifi. (I didn't tried that).
Hope it helps
https://plus.google.com/+IanMORRISON/posts/UNWdwRMqy3j
Click to expand...
Click to collapse
Topfreitas - What did you try to get touchscreen/sound working?
From reading other forums, it as least sounds technically possible to get the Broadcom wifi working.
I don't know where to begin getting touchscreen or sound drivers.
Bradley Norris said:
Topfreitas - What did you try to get touchscreen/sound working?
From reading other forums, it as least sounds technically possible to get the Broadcom wifi working.
I don't know where to begin getting touchscreen or sound drivers.
Click to expand...
Click to collapse
To get Wifi working is pretty easy if you try the ubuntu version developed by Morrison. To get touch working try to update the linux kernel to 4.3. Someone said that you can get touch working but you'll loose Wifi... Who knows I wish I knew more about linux and this kind of stuff.
Hi, was just wondering if you had any luck?
chichman said:
Hi, was just wondering if you had any luck?
Click to expand...
Click to collapse
You can try the ISOs from linuxiumcomau.blogspot.com.
Everything seems work out of box, except the touch screen. (Touch screen is "ft5x0x_ts".)
(touch not okay, screen resolution correct, sound okay, wifi okay, bluetooth okay, battery stats okay)
Even the old iwork8 with CPU z3735d works nearly perfectly, with the touch screen working. (wifi okay, sound okay, bluetooth not okay)
Thanks for the reply, but I have now sold it..
Ubuntu Success
So I pulled this Cube i7 Remix out of the back of a cabinet and thought I should either make use of it or throw it away. Well, since I last attempted this, Linuxium has done considerable work developing specialized versions of linux for our ancient Atom-based processors and unique (read fussy) Broadcom radios.
I downloaded one of his prepackaged ISOs for Atom processors and was able to boot from a live USB. I installed, but the first attempt would not boot. I installed over the first installation and was then able to boot. It looks great and wifi works well, but I haven't gone much further than that yet. I am running 18.04.2 LTS. I used the default partitioning which resulted in:
512MB fat32 EFI System Partition /boot/efi
28.6GB ext4 root partition: /
HD Videos seem to play smoothly, but no audio yet. Linuxium has a fix, so I'll be working on the ALSA UCM audio drivers.
No touchscreen, but won't likely be able to fix that.
- Bradley Norris
No touchscreen
xubuntu 20.04 lts beta
wifi ok
bluetooth ok
sound ok
........
cube i7 remix / reeder a12ix

Linux for Tabs

Hi all, newbie.
Is there a ROM/image, pref linux that can run on these older donated units.
sm-t113 4.4.4 Samsung Galaxy Tab E Lite 8 GB 7"
sm-t230nu 4.4.2 Samsung Galaxy Tab 4 Nook Edition 8GB 7"
(sort of a thin client project)
Just need them to have wifi, touch, screen, audio and a browser.
Goal is kiosk mode browser with duplex audio streams to a PI4.
Alternative is to lock it into VNC of the PI4. but would really like audio.
Ken, KN4MDJ
RadioScoutingUS said:
Hi all, newbie.
Is there a ROM/image, pref linux that can run on these older donated units.
sm-t113 4.4.4 Samsung Galaxy Tab E Lite 8 GB 7"
sm-t230nu 4.4.2 Samsung Galaxy Tab 4 Nook Edition 8GB 7"
(sort of a thin client project)
Just need them to have wifi, touch, screen, audio and a browser.
Goal is kiosk mode browser with duplex audio streams to a PI4.
Alternative is to lock it into VNC of the PI4. but would really like audio.
Ken, KN4MDJ
Click to expand...
Click to collapse
Hi, it isn't that easy to use linux on these tablets. You should try to port halium (https://halium.org/), but I think it's very difficult. Not impossible, anyway. I've never tried it.
matteo0026 said:
Hi, it isn't that easy to use linux on these tablets. You should try to port halium, but I think it's very difficult. Not impossible, anyway. I've never tried it.
Click to expand...
Click to collapse
Thank you.
I was able to root one of them (Tab4), can't get the Tab3 to root. (I think MDM/odin is locked, comp doesn't even see it as a device both in linux or windows. It's like the USB port is just a power charger..tried different cords, ports, even os's.)
Anyways I was about to put linux on the one and it appears that it runs the linux like a virtual machine, [like a hyperv/virtualbox] using VNC to see the virtual computer... in my case I have a Pi4 that it's getting data from, so can just go direct vnc to it and skip linux on tab. I really wish there as a VNC with full duplex audio (mic sent to host, and host sound to client speakers)...or full android vnc/audio thin-client project.
RadioScoutingUS said:
Thank you.
I was able to root one of them (Tab4), can't get the Tab3 to root. (I think MDM/odin is locked, comp doesn't even see it as a device both in linux or windows. It's like the USB port is just a power charger..tried different cords, ports, even os's.)
Anyways I was about to put linux on the one and it appears that it runs the linux like a virtual machine, [like a hyperv/virtualbox] using VNC to see the virtual computer... in my case I have a Pi4 that it's getting data from, so can just go direct vnc to it and skip linux on tab. I really wish there as a VNC with full duplex audio (mic sent to host, and host sound to client speakers)...or full android vnc/audio thin-client project.
Click to expand...
Click to collapse
To be honest, I'm not really knowledged in that. I just told you the way to run linux natively. But I think it's way better to use old laptops to run pure Linux.
Halium is a mainstream kernel project, and that would be too difficult as we dont have that much kernel support. Our best bet would be postmarketOS as someone booted it on the 10.1 (VERY broken. not even a working display) and the 7.0(not as broken, but has more to fix)
You can set up your USB for File exchange on Lineage OS 14, I will check which version I have , but I can confirm that the OS Lineage 14 that works for Samsung Galaxy Tab E-Lite T113SU works perfectly on the Samsung Galaxy Tab E-Lite T113. Everything works for the Tablet except for offline charging and the camera. If you are getting a red exclamation mark in the upper left corner and it wont boot , this means that your battery if totally flat. To get around this use the TWRP recovery after it has been plugged in for 5 minutes , then go into recovery mode, don't do anything but let it sit and it will charge right up to 100 percent, then reboot. This fixed everything on mine. Note to the developer of this kernel, I can load you mine and a Galaxy S4 plus a Galaxy Grad Prime for development work. I don't often use them, I also have an HP ElitePad 900 for loaner (Those I can get lots of with power supplies, batteries are shot but they work). I do have a contact that has lots of phone, tablets etc, I can get most of the older stuff for development work. Russ Campbell.

Categories

Resources