Writing to Android Frame Buffer
#1
Hi,

I am trying to write to the android frame buffer as root and nothing shows up on screen.
cat /dev/urandom > /dev/graphics/fb0
Any ideas why this doesn't work ?

Vasant
#2
Because this is not how it works. All FB processing is done by SurfaceFlinger which is responsible for managing and flushing them to screen.
Homepage: https://ayufan.eu

Releases:
Rock/Pro 64/Pinebook Pro: LinuxChromium OS
So/Pine A64/Pinebook: LinuxAndroid 6.0Android 7.1

Buy me a Beer
#3
I is true that Androis uses Surface Flinger. But what I am trying to do is write directly though the device interface.
This does work on ODROID-C2 Android and few other devices. Perhaps it has been disabled for Allwinner.

Vasant
#4
hi, the frame buffer console does not work ( on the pine board ) for gnu+linux either, unless you use the experimental DRM kernel patch. 

This is a serious glitch for gnu+linux also, because power linux users leverage the six(6) frame-buffer consoles ( some call black screens ) profusely;  so for some people its a show stopper,  haha  I've actually gotten used to edit with VI without a cursor on the linux frame-buffer.

This sound even more ominous, because you can't get ANY output to the FB con ?
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 381,696 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 29,148 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 16,518 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 6,861 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 6,930 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,518 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,289 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 253,713 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,492 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 103,757 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)