Skip to main content
Tweeted twitter.com/StackAndroid/status/1354398803516923908
copyedit, removed fluff
Source Link
Andrew T.
  • 16.5k
  • 10
  • 76
  • 127

I'm curious about the display device on Android. I know that on Linux, device devices are represented as /dev/fbX, which fb"fb" stands for FrameBuffer. I also heard that Android uses FrameBuffer as well ("in Android it’s /dev/graphics/fbX, usually /dev/graphics/fb0" from https://kaustav.space/2018-09-22/introduction-to-android-framebuffer, and "Android relies on the standard frame buffer device (/dev/fb0 or /dev/graphics/fb0)

in Android it’s /dev/graphics/fbX, usually /dev/graphics/fb0

Kaustav - Introduction to the Android framebuffer

and driver as described in the linux/fb.h kernel header file" from https://wladimir-tm4pda.github.io/porting/display_drivers.html).

Android relies on the standard frame buffer device (/dev/fb0 or /dev/graphics/fb0) and driver as described in the linux/fb.h kernel header file.

Display Drivers | Android Open Source

However, on my device, which is OnePlus 7 Pro running Lineage OS, I could not find anything related to that. I even cannot find any device nodes called *fb* under /dev/dev. However, I heard that someone has some devices with fb, and their other devices don't. 

I'm just curious, why? Where is the display device on Android? Thanks you all.

I'm curious about display device on Android. I know that on Linux, device devices are represented as /dev/fbX, which fb stands for FrameBuffer. I also heard that Android uses FrameBuffer as well ("in Android it’s /dev/graphics/fbX, usually /dev/graphics/fb0" from https://kaustav.space/2018-09-22/introduction-to-android-framebuffer, and "Android relies on the standard frame buffer device (/dev/fb0 or /dev/graphics/fb0) and driver as described in the linux/fb.h kernel header file" from https://wladimir-tm4pda.github.io/porting/display_drivers.html). However, on my device, which is OnePlus 7 Pro running Lineage OS, I could not find anything related to that. I even cannot find any device nodes called *fb* under /dev. However, I heard that someone has some devices with fb, and their other devices don't. I'm just curious, why? Where is the display device on Android? Thanks you all.

I'm curious about the display device on Android. I know that on Linux, device devices are represented as /dev/fbX, which "fb" stands for FrameBuffer. I also heard that Android uses FrameBuffer as well

in Android it’s /dev/graphics/fbX, usually /dev/graphics/fb0

Kaustav - Introduction to the Android framebuffer

and

Android relies on the standard frame buffer device (/dev/fb0 or /dev/graphics/fb0) and driver as described in the linux/fb.h kernel header file.

Display Drivers | Android Open Source

However, on my device, which is OnePlus 7 Pro running Lineage OS, I could not find anything related to that. I even cannot find any device nodes called *fb* under /dev. However, I heard that someone has some devices with fb, and their other devices don't. 

I'm just curious, why? Where is the display device on Android?

Source Link

Why is the FrameBuffer missing on some Android devices?

I'm curious about display device on Android. I know that on Linux, device devices are represented as /dev/fbX, which fb stands for FrameBuffer. I also heard that Android uses FrameBuffer as well ("in Android it’s /dev/graphics/fbX, usually /dev/graphics/fb0" from https://kaustav.space/2018-09-22/introduction-to-android-framebuffer, and "Android relies on the standard frame buffer device (/dev/fb0 or /dev/graphics/fb0) and driver as described in the linux/fb.h kernel header file" from https://wladimir-tm4pda.github.io/porting/display_drivers.html). However, on my device, which is OnePlus 7 Pro running Lineage OS, I could not find anything related to that. I even cannot find any device nodes called *fb* under /dev. However, I heard that someone has some devices with fb, and their other devices don't. I'm just curious, why? Where is the display device on Android? Thanks you all.