Linux Deploy with Framebuffer on P900

notspike

Senior Member
Oct 11, 2014
51
10
0
Hi. Has anyone had success with running Linux Deploy in Framebuffer mode on the P900?

Closest I have gotten is with a VT enabled (but WIP) kernel for CM11. I saw the debian desktop flicker on for a second and then all goes black!

Other than that, all my attempts have resulted in a black screen, no backlight.

Ideally, I think I want Linux (deb, ubuntu, something) running on this tablet. I think because of its screen size and powerful spec it would make a very decent laptop replacement, but I feel that the android OS is not designed for this task.


EDIT: I now have debian running using framebuffer on the p900!
 
Last edited:

notspike

Senior Member
Oct 11, 2014
51
10
0
Is there anyway you would share this in the developer thread, or is it still to early?
I would love to be able to use this option under the MultiROM. If it works on the P-900, it should be possible to have it work under the T-900 as well.
Hi acardia, since this message I've gotten P900 to run ubuntu and debian. Unfortuantely there is difficulty with making the touchscreen function correctly - I have the digitizer and spen working though.
 

smylion

Member
Jul 3, 2014
5
1
0
I'd like to know what is the utility of using the framebuffer. I use VNC and it's very fluid and functional
What are settings you used to use frambuffer in linux deploy ?
should I use the VT kernel ?
Do you get to use the camera (with VLC for example)?
 

Spere

Senior Member
Aug 7, 2013
465
165
63
Hi evereybody!
I have a SM-P905, rooted.
I try to install linux on my device and i got this message (view photo)

After i search on google about my problem, think i haven an incompatible kernel..
Can u help me please? Thx
If I'm right, there is no Kernels with loop device enabled for P905 at the moment.
 

arcadia2uk

Senior Member
Jun 19, 2010
485
151
0
Boston, MA
Can i change the kernel? Or there is no point?

Thx
If you take a look in the development section there is bonuzzz's P-900 kernel that comes with vtfb as one flavor, and there are also a few P-905 kernels. All of these kernels have github repositories, so I'm sure you could cook something up, if you're well versed enough in this domain.
 

indotoonster

Member
Oct 31, 2014
9
1
0
Hi. Has anyone had success with running Linux Deploy in Framebuffer mode on the P900?

Closest I have gotten is with a VT enabled (but WIP) kernel for CM11. I saw the debian desktop flicker on for a second and then all goes black!

Other than that, all my attempts have resulted in a black screen, no backlight.

Ideally, I think I want Linux (deb, ubuntu, something) running on this tablet. I think because of its screen size and powerful spec it would make a very decent laptop replacement, but I feel that the android OS is not designed for this task.


EDIT: I now have debian running using framebuffer on the p900!
Hello, could you please describe what you had to do in order to get this working? I am trying to do exactly the same without much success. I have rooted my P-901 with the CF AutoRoot, and I have compiled and flashed a non-enforcing kernel using the instructions found at Graeme Hill's Dev Blog (sorry I can't post links yet) -- currently I am able to use Linux Deploy to have a distribution of Arch Linux running using LXDE, but I have to use VNC. I've tried fiddling around with the framebuffer settings in the configuration but it doesn't seem to work... I would love to get this feature working, as my understanding is that it is faster and better than using VNC!

Many thanks in advance!
 

notspike

Senior Member
Oct 11, 2014
51
10
0
hi I am currently away for the weekend but I will post some instructions when I'm back. do you know what issue you had when you attempted Framebuffer mode? I've given up on Linux on my tablet for the time being, I got it working but at the end of the day it's not optimised for the hardware so the user experience isn't worth it. too much tinkering and messing about, so I'm back to cm11
 

notspike

Senior Member
Oct 11, 2014
51
10
0
Hello, could you please describe what you had to do in order to get this working? I am trying to do exactly the same without much success. I have rooted my P-901 with the CF AutoRoot, and I have compiled and flashed a non-enforcing kernel using the instructions found at Graeme Hill's Dev Blog (sorry I can't post links yet) -- currently I am able to use Linux Deploy to have a distribution of Arch Linux running using LXDE, but I have to use VNC. I've tried fiddling around with the framebuffer settings in the configuration but it doesn't seem to work... I would love to get this feature working, as my understanding is that it is faster and better than using VNC!

Many thanks in advance!
Hi, I used CM11 with the VT/FB enabled kernel.

Linux Deploy settings:
Output: Framebuffer
Additional: disabled VNC server, enabled X server
GUI settings: input as event2, you can check your device list to see what event your S-PEN is, touchscreen does not work properly - so use S-PEN!
use the latest Ubuntu distro
 
  • Like
Reactions: indotoonster

indotoonster

Member
Oct 31, 2014
9
1
0
Hi, I used CM11 with the VT/FB enabled kernel.

Linux Deploy settings:
Output: Framebuffer
Additional: disabled VNC server, enabled X server
GUI settings: input as event2, you can check your device list to see what event your S-PEN is, touchscreen does not work properly - so use S-PEN!
use the latest Ubuntu distro
Hello notspike, thank you very much, I will try this out again over the weekend!

I can't remember exactly what didn't work last time, just that I remember it was working with VNC, and when I tried reconfiguring it to framebuffer and relaunching it just gave me a blank screen. However, I was doing this on the stock ROM (after rooting with Autoroot and installing a permissive-enabled kernel that I compiled myself as per the instructions on Graeme Hill's blog).

I haven't previously considered using CM11, but if this is what is necessary to get Linux working properly with framebuffer mode, I will bite the bullet and try it out! :)
 

notspike

Senior Member
Oct 11, 2014
51
10
0
Hello notspike, thank you very much, I will try this out again over the weekend!

I can't remember exactly what didn't work last time, just that I remember it was working with VNC, and when I tried reconfiguring it to framebuffer and relaunching it just gave me a blank screen. However, I was doing this on the stock ROM (after rooting with Autoroot and installing a permissive-enabled kernel that I compiled myself as per the instructions on Graeme Hill's blog).

I haven't previously considered using CM11, but if this is what is necessary to get Linux working properly with framebuffer mode, I will bite the bullet and try it out! :)
Hey I just noticed a mistake on my part, event8 is S-PEN, event2 is touchscreen, so you want to use event8. Also, if you have any peripherals plugged in at boot (i.e. OTG keyboard) it shifts around your event numbers, so event10 may be your s-pen, make sure you have nothing plugged in at boot and definitely check the device list for what event it is! Good luck
 

indotoonster

Member
Oct 31, 2014
9
1
0
Hi, I used CM11 with the VT/FB enabled kernel.
So it seems that to get Linux Deploy working with Framebuffer one must first use a "VT/FB enabled kernel". Unfortunately I am using a P901, and all the custom kernels on these boards seem to be for P900 or P905 only.

I have successfully compiled a P901 kernel before to enable permissive mode using the instructions found at graemehill.ca/compiling-permissive-android-kernel. Does anyone know if creating a "VT/FB enabled kernel" is as simple as just setting the appropriate flags in the makefile and then recompiling the kernel? If so, could someone please point me in the direction of what flags I should set?

Many thanks in advance.
 
  • Like
Reactions: m059

arcadia2uk

Senior Member
Jun 19, 2010
485
151
0
Boston, MA
So it seems that to get Linux Deploy working with Framebuffer one must first use a "VT/FB enabled kernel". Unfortunately I am using a P901, and all the custom kernels on these boards seem to be for P900 or P905 only.

I have successfully compiled a P901 kernel before to enable permissive mode using the instructions found at graemehill.ca/compiling-permissive-android-kernel. Does anyone know if creating a "VT/FB enabled kernel" is as simple as just setting the appropriate flags in the makefile and then recompiling the kernel? If so, could someone please point me in the direction of what flags I should set?

Many thanks in advance.
There is no need for a vtfb enabled kernel. Instead you can use an on/off toggle called SELinux Mode Changer. Linux was successfully deployed by chhaggerty through this feature using Linux Deploy. Additionally, the toggle can be used for all/most kernels, but might run into issues if Knox is not completely removed. You can also achieve this by using a terminal emulator using the command
Code:
su
/system/bin/getenforce
You can also try disable it in build.prop where you set: ro.build.selinux=0,
or build it into a script for init.d
Wanam Xposed might also have the feature built in.
 
Last edited:

indotoonster

Member
Oct 31, 2014
9
1
0
There is no need for a vtfb enabled kernel. Instead you can use an on/off toggle called SELinux Mode Changer. Linux was successfully deployed by chhaggerty through this feature using Linux Deploy. Additionally, the toggle can be used for all/most kernels, but might run into issues if Knox is not completely removed. You can also achieve this by using a terminal emulator using the command
Code:
su
/system/bin/getenforce
You can also try disable it in build.prop where you set: ro.build.selinux=0,
or build it into a script for init.d
Wanam Xposed might also have the feature built in.
Hi arcadia2uk, thanks for the information regarding the ability to enable permissive mode without requiring a recompiled kernel, that's useful. However, my query regarding the VT/FB enabled kernel is unrelated to the enforcing/permissive issue.

The reason I am asking is because I want to try using Linux in framebuffer mode (VNC seems a bit laggy for me), and from what I've read, I need the VT/FB enabled kernel. Unfortunately, none seem to exist for the P901 on these boards, so I'd like to try to compile one myself.
 

arcadia2uk

Senior Member
Jun 19, 2010
485
151
0
Boston, MA
Hi arcadia2uk, thanks for the information regarding the ability to enable permissive mode without requiring a recompiled kernel, that's useful. However, my query regarding the VT/FB enabled kernel is unrelated to the enforcing/permissive issue.

The reason I am asking is because I want to try using Linux in framebuffer mode (VNC seems a bit laggy for me), and from what I've read, I need the VT/FB enabled kernel. Unfortunately, none seem to exist for the P901 on these boards, so I'd like to try to compile one myself.
I believe the toggle work just as well with framebuffer. Anyhow, you can try using the P-900 kernel the only thing that differentiates the two is the LTE support, and do you really need that with Linux?