Difference between revisions of "Google Nexus 4 (lg-mako)"

From postmarketOS
Jump to navigation Jump to search
m
Line 41: Line 41:
  
 
== Alternative kernels ==
 
== Alternative kernels ==
 +
 +
It *should* be possible to run [[the mainline kernel]] on the lg-mako, maybe we need to write a display driver, but there's a [https://github.com/freedreno/freedreno/wiki/DSI-Panel-Driver-Porting tutorial for it]. I (ollieparanoid) didn't do enough research on this yet - if you're interested in doing this, please talk to opendata26 from postmarketOS and robclark from the freedreno project. With their help it should be quite feasible.
 +
 +
  
 
These are not packaged yet in postmarketOS, feel free to package them.
 
These are not packaged yet in postmarketOS, feel free to package them.
  
* [https://github.com/postmarketOS/pmbootstrap/issues/12 "Almost mainline" from John Stultz] <- maybe this also resolves the wrong-color-bug
+
* Freedreno backport to 3.4.0 (couldn't make it work out of the box and I suggest trying to get mainline working instead of spending time on this one)
* [https://github.com/postmarketOS/pmbootstrap/pull/38 Freedreno]
+
* {{github|38}} Freedreno backport to 3.0.8
  
 
== Links ==
 
== Links ==

Revision as of 22:04, 17 November 2017

Google (LG) Nexus 4
LG Nexus 4 running Weston
LG Nexus 4 running Weston
Manufacturer Google (LG)
Name Nexus 4
Codename mako
Released 2012
Category testing
Original software Android on Linux 3.4
Hardware
Chipset Qualcomm APQ8064 Snapdragon S4 Pro
CPU Quad-core 1.5 GHz Krait
GPU Adreno 320
Display 768x1280 IPS
Storage 8/16 GB
Memory 2 GB
Features
USB Networking
Flashing
Touchscreen
Display
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG


Contributors

  • ollieparanoid
  • PabloCastellano and robb4 on IRC: Workaround for red screen bug #54

Entering "Fastboot mode"

Hold Volume Down + Power, let go of Power once the device display does something (e.g. turns from battery icon to black screen).

What works

  • Touchscreen
  • Weston (has the red screen bug, but we have a workaround for that now 👍 )

What does not work

  • XWayland
  • The rest (Wifi, bluetooth, making calls, ...)
  • fbsplash only displays splash images very shortly, then goes to black screen

Wifi

Looks like, we need to package the wcnss.* files for wifi. A version from 2015 can be found here. It's a Qualcomm chip.

Alternative kernels

It *should* be possible to run the mainline kernel on the lg-mako, maybe we need to write a display driver, but there's a tutorial for it. I (ollieparanoid) didn't do enough research on this yet - if you're interested in doing this, please talk to opendata26 from postmarketOS and robclark from the freedreno project. With their help it should be quite feasible.


These are not packaged yet in postmarketOS, feel free to package them.

  • Freedreno backport to 3.4.0 (couldn't make it work out of the box and I suggest trying to get mainline working instead of spending time on this one)
  • #38 Freedreno backport to 3.0.8

Links

Photos