https://wiki.postmarketos.org/api.php?action=feedcontributions&user=Gouchi&feedformat=atompostmarketOS - User contributions [en]2024-03-29T08:51:55ZUser contributionsMediaWiki 1.39.6https://wiki.postmarketos.org/index.php?title=Google_Nexus_4_(lg-mako)&diff=18749Google Nexus 4 (lg-mako)2021-04-22T20:55:00Z<p>Gouchi: /* See also */ update link to archive.org</p>
<hr />
<div>{{note|Currently the device is booting into a black screen, see {{issue|209|pmaports}}. Help with resolving this is welcome. Please remove this note when the issue has been fixed.}}<br />
{{Infobox device<br />
| manufacturer = Google (LG)<br />
| name = Nexus 4<br />
| codename = lg-mako<br />
| image = File:LG Nexus 4 Weston.png<br />
| imagecaption = LG Nexus 4 running Weston<br />
| releaseyear = 2012<br />
| originalsoftware = Android on Linux 3.4<br />
| chipset = Qualcomm APQ8064 Snapdragon S4 Pro<br />
| cpu = Quad-core 1.5 GHz Krait<br />
| gpu = Adreno 320<br />
| storage = 8/16 GB<br />
| display = 768x1280 IPS<br />
| memory = 2 GB<br />
| architecture = armv7<br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = <br />
| status_xwayland = <br />
| status_fde = Y<br />
| status_mainline = <br />
| status_battery = Y<br />
| status_3d = <br />
| status_accel = <br />
| status_audio = <br />
| status_bluetooth =<br />
| status_camera =<br />
| status_gps = <br />
| status_mobiledata = <br />
| status_sms = <br />
| status_calls = <br />
| status_otg = Y<br />
| booting = yes<br />
}}<br />
<br />
== Contributors ==<br />
<br />
* ollieparanoid<br />
* PabloCastellano and robb4 on IRC: Workaround for red screen bug ({{github|54}})<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
{{note|FDE (full disk encryption) seems to be broken for lg-mako currently, see {{issue|209|pmaports}}}}<br />
<pre><br />
pmbootstrap init<br />
pmbootstrap install<br />
(enter fastboot, see below)<br />
pmbootstrap flasher flash_rootfs<br />
pmbootstrap flasher boot<br />
</pre><br />
<br />
To flash the kernel, you can choose <code>pmbootstrap flasher flash kernel</code> (but charging and power off doesn't work as expected anymore, see below).<br />
<br />
== Entering &quot;Fastboot mode&quot; ==<br />
<br />
Hold <code>Volume Down</code> + <code>Power</code>, let go of <code>Power</code> once the device display does something (e.g. turns from battery icon to black screen).<br />
<br />
== Charging and power off (after flashing the postmarketOS kernel) ==<br />
{{note|You don't have to flash the kernel! <code>pmbootstrap flasher boot</code> is also working!}}<br />
You can flash the postmarketOS kernel, but instead of charging the battery, it will boot straight into postmarketOS (or the on screen keyboard to type in the password). Right now, the best way to charge it from that situation is to boot the recovery TWRP.<br />
<br />
You can properly turn the device off by unplugging the usb cable, then booting into fastboot, then choosing power off.<br />
<br />
== Wifi ==<br />
Looks like, we need to package the [https://github.com/LineageOS/android_device_lge_mako/blob/12ac6e9aeb32d5ac9fc832f2214ede2c7690d0a6/proprietary-blobs.txt#L152-L157 wcnss.* files] for wifi. A version from 2015 can be found [https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-14.1/mako/proprietary/vendor/firmware here]. It's a Qualcomm chip.<br />
<br />
== Mainline ==<br />
{{note|See [[The Mainline Kernel]] for a general introduction to mainlining.}}<br />
<br />
'''power_graphic's mainlining progress is [https://gitlab.com/power_graphic/linux-postmarketos/tree/device-lg-mako here].''' Read on for generic instructions of what would need to be done.<br />
<br />
Currently we only have a downstream vendor kernel packaged, not the mainline kernel. The <code>lg-mako</code> has the same [https://en.wikipedia.org/wiki/System_on_a_chip SoC] as the <code>asus-flo</code>, and on the latter it is possible to run [http://web.archive.org/web/20181008184943/https://plus.google.com/111524780435806926688/posts/fkQ1BMjNNcn Android on a kernel close to mainline].<br />
<br />
This means, that most peripherals of the <code>mako</code> should work with mainline as well, once they are enabled in the DTS file. In fact, @vetzki reported in {{github|1079}} that the <code>mako</code> boots when using exactly the same DTS as the one from <code>flo</code> (this is not recommended, as misconfiguring your device like that may damage it). SSH appears to be working for a short time before getting kicked out, the display does not work.<br />
<br />
A good way forward would be using a minimal version of the <code>flo</code> DTS, where everything but USB is deleted, and fixing USB / trying to get the display working with the [https://github.com/freedreno/freedreno/wiki/DSI-Panel-Driver-Porting DSI Panel Porting Guide]. The downstream DTSI files that need to be ported to the upstream kernel are probably located [https://github.com/LineageOS/android_kernel_lge_mako/tree/lineage-15.1/arch/arm/boot/dts here], and I guess the exact panel name appears when running <code>dmesg</code> after a successful boot (I did not verify this). Please expand this when you're working on it, and report your progress in #postmarketOS. Check out the [[Mainline Guide]].<br />
<br />
=== Partition Layout ===<br />
<div class="toccolours mw-collapsible mw-collapsed" style="width: 620px; overflow: auto;"><br />
Partition layout:<br />
<div class="mw-collapsible-content"><br />
<pre class="shell"># fdisk /dev/block/mmcblk0<br />
Found valid GPT with protective MBR; using GPT<br />
<br />
<br />
Command (m for help): p<br />
Disk /dev/block/mmcblk0: 15269888 sectors, 3360M<br />
Logical sector size: 512<br />
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20<br />
Partition table holds up to 28 entries<br />
First usable sector is 34, last usable sector is 15269854<br />
<br />
Number Start (sector) End (sector) Size Code Name<br />
1 1024 132095 64.0M 0700 modem<br />
2 132096 133119 512K 0700 sbl1<br />
3 133120 134143 512K 0700 sbl2<br />
4 134144 138239 2048K 0700 sbl3<br />
5 138240 139263 512K 0700 tz<br />
6 139264 184319 22.0M 0700 boot<br />
7 184320 229375 22.0M 0700 recovery<br />
8 229376 230935 780K 0700 m9kefs1<br />
9 230936 232495 780K 0700 m9kefs2<br />
10 232496 234055 780K 0700 m9kefs3<br />
11 234496 235519 512K 0700 rpm<br />
12 235520 236543 512K 0700 aboot<br />
13 236544 237567 512K 0700 sbl2b<br />
14 237568 241663 2048K 0700 sbl3b<br />
15 241664 242687 512K 0700 abootb<br />
16 242688 243711 512K 0700 rpmb<br />
17 243712 244735 512K 0700 tzb<br />
18 244736 245759 512K 0700 metadata<br />
19 245760 278527 16.0M 0700 misc<br />
20 278528 311295 16.0M 0700 persist<br />
21 311296 2031615 840M 0700 system<br />
22 2031616 3178495 560M 0700 cache<br />
23 3178496 15267839 5903M 0700 userdata<br />
24 15267840 15268863 512K 0700 DDR<br />
25 15268864 15269854 495K 0700 grow</pre><br />
</div></div><br />
<br />
== Photos ==<br />
* [https://ollieparanoid.github.io/img/2017-05-26/mako/editor.jpg Weston running with framebuffer issues]<br />
* [https://cloud.githubusercontent.com/assets/6033024/26761940/2e3273e0-4928-11e7-8800-0b4ddb14e239.jpg robb4 patched Weston to display the right colors]<br />
<br />
== See also ==<br />
* [https://github.com/freedreno/freedreno/wiki/Nexus-4 freedreno: Nexus 4]<br />
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/device-lg-mako Device package]<br />
* [https://gitlab.com/postmarketOS/pmaports/-/tree/master/device/testing/linux-lg-mako Kernel package]<br />
* [https://web.archive.org/web/20170607151608/https://www.optiv.com/blog/building-a-nexus-4-uart-debug-cable Tutorial: UART debug cable]<br />
* [https://developers.google.com/android/drivers#mako Official proprietary drivers]<br />
* {{issue|1079}} The Nexus 7 DTB is so similar, it even boots<br />
* {{issue|9|linux-postmarketos}} Attempt at writing a new DTS for the Nexus 4</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Interfaces&diff=18213Interfaces2021-03-23T19:39:49Z<p>Gouchi: /* Smartphones */ add Tuna | A mobile UI for xfce</p>
<hr />
<div>This index page could use some help, see {{issue|23|wiki}}.<br />
<br />
== Interfaces ==<br />
<br />
There are several types of interfaces which we divide into categories based on their use-cases.<br />
<br />
Besides the ones listed here, [https://wiki.alpinelinux.org/wiki/Category:Desktop other graphical interfaces supported by Alpine] should work to some extent on postmarketOS.<br />
<br />
<code>Y</code> means that the UI is fully packaged and supported. <code>P</code> means that the UI is partially packaged and requires some work still.<br />
<br />
=== Smartphones ===<br />
<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[Plasma Mobile]]<br />
| [https://www.plasma-mobile.org/ link]<br />
| [https://github.com/kde link]<br />
| KDE<br />
| <br />
| <br />
|-<br />
| style="text-align: center;" | <br />
| [[Hildon]]<br />
| [https://maemo-leste.github.io/ link]<br />
| [https://github.com/maemo-leste link]<br />
| Maemo Leste<br />
| <br />
| It was removed as several features were missing, broken, and we could not upgrade it without investing much time to resolve packaging, conflicts. Still uses GTK2. See {{issue|373|pmaports}}<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[Phosh]]<br />
|<br />
| [https://source.puri.sm/Librem5/phosh link]<br />
| Librem 5/PureOS<br />
| <br />
| <br />
|-<br />
| style="text-align: center;" | Y<br />
| [[Shelli]]<br />
|<br />
| [https://gitlab.com/unrznbl/shelli link]<br />
|<br />
| <br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| [[LuneOS UI|Luna]]<br />
|<br />
| [https://github.com/webOS-ports link]<br />
| WebOS<br />
| <br />
| Has been packaged previously, but got removed due to the amount of out-of-tree patches to Qt libraries which weren't compatible with newer versions<br />
|-<br />
| style="text-align: center;" | P<br />
| [[Lomiri]]<br />
| [https://ubports.com/ link]<br />
| [https://github.com/ubports link]<br />
| UBPorts<br />
| <br />
| Has a [https://gitlab.com/postmarketOS/pmaports/-/tree/feature/unity8_arches/ WIP branch]<br />
|-<br />
| style="text-align: center;" | <br />
| Glacier<br />
| [http://nemomobile.net/ link]<br />
| [https://github.com/nemomobile-ux link]<br />
| Nemo<br />
|<br />
| [https://github.com/NotKit/archlinux-nemo Arch Linux PKGBUILDs we can use as reference]<br />
|-<br />
| style="text-align: center;" | <br />
| Gaia<br />
|<br />
| [https://github.com/mozilla-b2g/gaia link]<br />
| FirefoxOS<br />
| Yes<br />
| <br />
|-<br />
| style="text-align: center;" | Y<br />
| Simple X Mobile ([[Sxmo]])<br />
| [https://sr.ht/~mil/Sxmo/ link]<br />
| [https://sr.ht/~mil/Sxmo/sources link]<br />
|<br />
|<br />
| Alpine repository available<br />
|-<br />
| style="text-align: center;" | <br />
| Tuna<br />
| <br />
| [https://github.com/Gusaroo/tuna link]<br />
| Phosh/XFCE<br />
| | <br />
|}<br />
<br />
=== Tablets ===<br />
<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | N<br />
| [[CutiePi Shell]]<br />
| [https://cutiepi.io/ link]<br />
| [https://github.com/cutiepi-io/cutiepi-shell link]<br />
| CutiePi Tablet<br />
| <br />
| https://github.com/cutiepi-io/cutiepi-shell/issues/1<br />
|}<br />
<br />
=== Feature phones ===<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | <br />
| QtMoko2<br />
| [https://projects.goldelico.com/p/gta04-qtmoko/ link]<br />
| [https://projects.goldelico.com/p/gta04-qtmoko/source/tree/master/ link]<br />
| QtMoko2<br />
|Yes<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| ZPUI<br />
| [https://zpui.rtfd.org link]<br />
| [https://github.com/zerophone/zpui link]<br />
| ZeroPhone<br />
|Yes<br />
| Has a [https://gitlab.com/postmarketOS/pmaports/tree/feature/zpui WIP branch]<br />
|}<br />
<br />
=== PDA's ===<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | <br />
| Matchbox<br />
| [https://www.yoctoproject.org/software-item/matchbox/ link]<br />
| [https://git.yoctoproject.org/ link]<br />
| The Yocto Project<br />
| Yes<br />
| Has been packaged before, [https://gitlab.com/postmarketOS/pmaports/merge_requests/729 but removed] due to the fact that both upstream and downstream had no maintainers<br />
|-<br />
| style="text-align: center;" | <br />
| Open Palmtop Integrated Environment<br />
|<br />
| [https://github.com/opieproject/opie link]<br />
|<br />
| Yes<br />
|<br />
|}<br />
<br />
=== Smart Watches ===<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | P<br />
| AsteroidUI<br />
| [https://asteroidos.org/ link]<br />
| [https://github.com/AsteroidOS/ link]<br />
| AsteroidOS<br />
| <br />
| Has a [https://gitlab.com/postmarketOS/pmaports/tree/feature/asteroidui WIP branch]<br />
|}<br />
<br />
=== Smart TV's ===<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| Y<br />
| Kodi<br />
| [https://kodi.tv link]<br />
| [https://github.com/xbmc/xbmc link]<br />
| XBMC<br />
|<br />
|<br />
|-<br />
| Y<br />
| [[Plasma Bigscreen]]<br />
| [https://plasma-bigscreen.org/ link]<br />
| [https://invent.kde.org/kde/plasma-bigscreen link]<br />
| Plasma Bigscreen<br />
|<br />
|<br />
|}<br />
<br />
=== Desktop ===<br />
{| class="wikitable feature-colors"<br />
! style="text-align: center;" | Packaged<br />
! Name<br />
! Project page<br />
! Source<br />
! From project<br />
! Unmaintained<br />
! Notes<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[Weston]]<br />
| [https://github.com/wayland-project/weston link]<br />
| [https://github.com/wayland-project/weston link]<br />
| Wayland<br />
|<br />
| Mainly used for development, not suitable for a daily driver<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[Xfce4]]<br />
| [https://xfce.org/ link]<br />
| [https://git.xfce.org/ link]<br />
| Xfce<br />
|<br />
| Uses Alpine's packaging<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[MATE]]<br />
| [https://mate-desktop.org/ link]<br />
| [https://github.com/mate-desktop link]<br />
| Mate<br />
|<br />
| Uses Alpine's packaging<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[i3wm]]<br />
| [https://i3wm.org/ link]<br />
| [https://github.com/i3 link]<br />
| i3<br />
|<br />
| Uses Alpine's packaging<br />
|-<br />
| style="text-align: center;" | Y<br />
| Sway<br />
| [https://swaywm.org link]<br />
| [https://github.com/swaywm/sway link]<br />
| Sway<br />
|<br />
| Uses Alpine's packaging, their wiki page: [https://wiki.alpinelinux.org/wiki/Sway link]<br />
|-<br />
| style="text-align: center;" | Y<br />
| [[GNOME 3]]<br />
| [https://www.gnome.org/ link]<br />
| [https://gitlab.gnome.org/GNOME link]<br />
| GNOME<br />
|<br />
| Uses Alpine's packaging<br />
|-<br />
| style="text-align: center;" | Y<br />
| Plasma Desktop<br />
| [https://www.kde.org/plasma-desktop link]<br />
| [https://github.com/kde link]<br />
| KDE<br />
|<br />
| Uses Alpine's packaging<br />
|-<br />
| style="text-align: center;" | <br />
| Budgie<br />
| [https://budgie-desktop.org/ link]<br />
| [https://github.com/budgie-desktop/budgie-desktop link]<br />
| Solus<br />
|<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| Cinnamon<br />
| [https://developer.linuxmint.com/projects/cinnamon-projects.html link]<br />
| [https://github.com/linuxmint/Cinnamon link]<br />
| Linux Mint<br />
|<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| LXQt<br />
| [http://lxqt.org link]<br />
| [https://github.com/lxqt/lxqt link]<br />
| LXQt<br />
|<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| Pantheon<br />
| [https://github.com/elementary link]<br />
| [https://github.com/elementary link]<br />
| ElementaryOS<br />
|<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| LXDE<br />
| [https://lxde.org/ link]<br />
| [https://sourceforge.net/projects/lxde/files/ link]<br />
| LXDE<br />
| Since LXQt is made as a replacement for LXDE, it's probably not useful for us to package LXDE<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| Enlightenment<br />
| [https://www.enlightenment.org/ link]<br />
| [https://git.enlightenment.org link]<br />
| Enlightenment<br />
|<br />
|<br />
|-<br />
| style="text-align: center;" | <br />
| bspwm<br />
| [https://github.com/baskerville/bspwm link]<br />
| [https://github.com/baskerville/bspwm link]<br />
| bspwm<br />
|<br />
|<br />
|}<br />
<br />
== How to choose a different UI ==<br />
<br />
You have to configure <code>pmbootstrap</code> before generating the system image either by <code>pmbootstrap init</code> or <code>pmbootstrap config</code>:<br />
<br />
<pre>$ ./pmbootstrap init<br />
...<br />
[05:26:31] Available user interfaces (14): <br />
[05:26:31] * none: No graphical environment<br />
[05:26:31] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support<br />
[05:26:31] * gnome: (Wayland) Gnome Shell<br />
[05:26:31] * i3wm: (X11) Tiling WM (keyboard required)<br />
[05:26:31] * kodi: (Wayland) 10-foot UI useful on TV's<br />
[05:26:31] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)<br />
[05:26:31] * phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)<br />
[05:26:31] * plasma-bigscreen: (Wayland) 10-feet variant of Plasma, made for big screen TVs<br />
[05:26:31] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)<br />
[05:26:31] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration, allows only numeric passwords!)<br />
[05:26:31] * shelli: Plain console with touchscreen gesture support<br />
[05:26:31] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)<br />
[05:26:31] * sxmo: (X11) Simple X Mobile: Mobile environment based on simple & suckless software (best compatibility on pinephone)<br />
[05:26:31] * weston: (Wayland) Reference compositor (demo, not a phone interface)<br />
[05:26:31] * xfce4: (X11) Lightweight desktop (stylus recommended)</pre><br />
<pre>$ ./pmbootstrap config ui weston</pre><br />
<br />
== See also ==<br />
<br />
* [https://wiki.postmarketos.org/wiki/User-Interfaces Old user-interfaces wiki page]<br />
<br />
=== Related issues ===<br />
<br />
* [https://gitlab.com/postmarketOS/pmbootstrap/issues/62 #62], Mobile UI<br />
* [https://gitlab.com/postmarketOS/pmbootstrap/issues/944 #944], Feature phone UI<br />
<br />
[[Category:Interface]]</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=17743User:Gouchi2021-03-03T19:28:53Z<p>Gouchi: add badge</p>
<hr />
<div><div style="float: right;"><br />
{{User ports|1}}<br />
{{User mainline|1}}<br />
{{User GitLab|gouchi}}<br />
</div><br />
<br />
<br />
{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)|{{issue|209|pmaports}}}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|Toshiba AC100|[https://ac100.grandou.net AC100 wiki], ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS],[https://gitlab.denx.de/u-boot/u-boot/tree/master/board/compal/paz00 uboot],[https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Google_Nexus_4_(lg-mako)&diff=10580Google Nexus 4 (lg-mako)2020-03-30T13:16:57Z<p>Gouchi: add device owners</p>
<hr />
<div>{{note|Currently the device is booting into a black screen, see {{issue|209|pmaports}}. Help with resolving this is welcome. Please remove this note when the issue has been fixed.}}<br />
{{Infobox device<br />
| manufacturer = Google (LG)<br />
| name = Nexus 4<br />
| codename = lg-mako<br />
| image = File:LG Nexus 4 Weston.png<br />
| imagecaption = LG Nexus 4 running Weston<br />
| releaseyear = 2012<br />
| originalsoftware = Android on Linux 3.4<br />
| chipset = Qualcomm APQ8064 Snapdragon S4 Pro<br />
| cpu = Quad-core 1.5 GHz Krait<br />
| gpu = Adreno 320<br />
| storage = 8/16 GB<br />
| display = 768x1280 IPS<br />
| memory = 2 GB<br />
| architecture = armhf<br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = <br />
| status_xwayland = <br />
| status_fde = Y<br />
| status_mainline = <br />
| status_battery = Y<br />
| status_3d = <br />
| status_accel = <br />
| status_audio = <br />
| status_bluetooth =<br />
| status_camera =<br />
| status_gps = <br />
| status_mobiledata = <br />
| status_sms = <br />
| status_calls = <br />
| status_otg = Y<br />
| booting = yes<br />
}}<br />
<br />
== Contributors ==<br />
<br />
* ollieparanoid<br />
* PabloCastellano and robb4 on IRC: Workaround for red screen bug ({{github|54}})<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
{{note|FDE (full disk encryption) seems to be broken for lg-mako currently, see {{issue|209|pmaports}}}}<br />
<pre><br />
pmbootstrap init<br />
pmbootstrap install<br />
(enter fastboot, see below)<br />
pmbootstrap flasher flash_rootfs<br />
pmbootstrap flasher boot<br />
</pre><br />
<br />
To flash the kernel, you can choose <code>pmbootstrap flasher flash kernel</code> (but charging and power off doesn't work as expected anymore, see below).<br />
<br />
== Entering &quot;Fastboot mode&quot; ==<br />
<br />
Hold <code>Volume Down</code> + <code>Power</code>, let go of <code>Power</code> once the device display does something (e.g. turns from battery icon to black screen).<br />
<br />
== Charging and power off (after flashing the postmarketOS kernel) ==<br />
{{note|You don't have to flash the kernel! <code>pmbootstrap flasher boot</code> is also working!}}<br />
You can flash the postmarketOS kernel, but instead of charging the battery, it will boot straight into postmarketOS (or the on screen keyboard to type in the password). Right now, the best way to charge it from that situation is to boot the recovery TWRP.<br />
<br />
You can properly turn the device off by unplugging the usb cable, then booting into fastboot, then choosing power off.<br />
<br />
== Wifi ==<br />
Looks like, we need to package the [https://github.com/LineageOS/android_device_lge_mako/blob/12ac6e9aeb32d5ac9fc832f2214ede2c7690d0a6/proprietary-blobs.txt#L152-L157 wcnss.* files] for wifi. A version from 2015 can be found [https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-14.1/mako/proprietary/vendor/firmware here]. It's a Qualcomm chip.<br />
<br />
== Mainline ==<br />
{{note|See [[The Mainline Kernel]] for a general introduction to mainlining.}}<br />
<br />
'''power_graphic's mainlining progress is [https://gitlab.com/power_graphic/linux-postmarketos/tree/device-lg-mako here].''' Read on for generic instructions of what would need to be done.<br />
<br />
Currently we only have a downstream vendor kernel packaged, not the mainline kernel. The <code>lg-mako</code> has the same [https://en.wikipedia.org/wiki/System_on_a_chip SoC] as the <code>asus-flo</code>, and on the latter it is possible to run [http://web.archive.org/web/20181008184943/https://plus.google.com/111524780435806926688/posts/fkQ1BMjNNcn Android on a kernel close to mainline].<br />
<br />
This means, that most peripherals of the <code>mako</code> should work with mainline as well, once they are enabled in the DTS file. In fact, @vetzki reported in {{github|1079}} that the <code>mako</code> boots when using exactly the same DTS as the one from <code>flo</code> (this is not recommended, as misconfiguring your device like that may damage it). SSH appears to be working for a short time before getting kicked out, the display does not work.<br />
<br />
A good way forward would be using a minimal version of the <code>flo</code> DTS, where everything but USB is deleted, and fixing USB / trying to get the display working with the [https://github.com/freedreno/freedreno/wiki/DSI-Panel-Driver-Porting DSI Panel Porting Guide]. The downstream DTSI files that need to be ported to the upstream kernel are probably located [https://github.com/LineageOS/android_kernel_lge_mako/tree/lineage-15.1/arch/arm/boot/dts here], and I guess the exact panel name appears when running <code>dmesg</code> after a successful boot (I did not verify this). Please expand this when you're working on it, and report your progress in #postmarketOS. Check out the [[Mainline Guide]].<br />
<br />
== Photos ==<br />
* [https://ollieparanoid.github.io/img/2017-05-26/mako/editor.jpg Weston running with framebuffer issues]<br />
* [https://cloud.githubusercontent.com/assets/6033024/26761940/2e3273e0-4928-11e7-8800-0b4ddb14e239.jpg robb4 patched Weston to display the right colors]<br />
<br />
== See also ==<br />
* [https://github.com/freedreno/freedreno/wiki/Nexus-4 freedreno: Nexus 4]<br />
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/device-lg-mako Device package]<br />
* [https://www.optiv.com/blog/building-a-nexus-4-uart-debug-cable Tutorial: UART debug cable]<br />
* [https://developers.google.com/android/drivers#mako Official proprietary drivers]<br />
* {{issue|1079}} The Nexus 7 DTB is so similar, it even boots<br />
* {{issue|9|linux-postmarketos}} Attempt at writing a new DTS for the Nexus 4</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=9852User:Gouchi2020-02-23T22:28:28Z<p>Gouchi: </p>
<hr />
<div>{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)|{{issue|209|pmaports}}}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|Toshiba AC100|[https://ac100.grandou.net AC100 wiki], ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS],[https://gitlab.denx.de/u-boot/u-boot/tree/master/board/compal/paz00 uboot],[https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Device_Wishlist&diff=9663Device Wishlist2020-02-08T18:20:12Z<p>Gouchi: added uboot</p>
<hr />
<div>We have been asked, which devices we would like to see pmOS running on - by people who might specifically buy them (with broken screens etc, to get them cheaper) to help the project. Please list devices here, that you would like to see pmOS running on. Do not list devices, that we already have a port for, or specify a reason why you do.<br />
<br />
== Mainline Linux Candidate Devices ==<br />
<br />
* Galaxy Note II [https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/exynos4412-n710x.dts Mainline DTS available]<br />
* Kindle Fire 1st Generation (Model # seems to be D01400) (Free software Bootloader, pretty much a PandaBoard devkit with a screen) [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap4-kc1.dts Mainline DTS available]<br />
* [http://elektranox.org/droid4/ Motorola Droid 4]<br />
* Nexus 5X [https://invidio.us/watch?v=77tuFtM4gjA Basic support available]<br />
* Nexus 6P [https://invidio.us/watch?v=77tuFtM4gjA Basic support available]<br />
* Nokia N9, N950<br />
* [http://www.noodlepi.com/ Noodle Pi] (Open Hardware, "a full Linux PC in your pocket! With hi-res display, camera, battery, WiFi, Bluetooth, HDMI and USB.") - '''see [[Raspberry Pi]]'''<br />
* OPPO FIND 7a (shares components with the [https://wiki.postmarketos.org/wiki/OnePlus_One_(oneplus-bacon) OnePlus One] which has mainline support)<br />
* Sony Xperia X - Consider the [https://wiki.postmarketos.org/wiki/Sony_Xperia_X_(sony-suzu)#Additional_notes following]<br />
* [https://plus.google.com/102276447148493441479/posts/amRvpE8piSw Sony Xperia Z3]<br />
* [https://developer.sonymobile.com/2016/02/17/work-on-the-mainline-kernel-for-open-xperia-devices/ Sony Xperia Z]<br />
* Samsung Galaxy S Relay 4G (apexqtmo) ([https://cascardo.eti.br/blog/News_on_Debian_on_apexqtmo/ WIP mainline support])<br />
* [https://github.com/PabloPL/linux Samsung Galaxy S S1(?) with panel (s6e63m0) and usb switch (fsa9480)]<br />
* Samsung Galaxy SIII LTE [https://wiki.postmarketos.org/wiki/Samsung_Galaxy_SIII_LTE_(samsung-i9305)#Mainline_Kernel Consider the following]<br />
* [https://ac100.grandou.net Toshiba AC100] ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS],[https://gitlab.denx.de/u-boot/u-boot/tree/master/board/compal/paz00 uboot],[https://github.com/grate-driver grate driver])<br />
* Xiaomi Pocophone F1 (beryllium) [https://github.com/Venji10/linux-beryllium WIP mainline support]<br />
<br />
== Candidate Devices ==<br />
<br />
Please keep this list sorted by alphabet for readability.<br />
* Acer Iconia B1-730HD<br />
* Acer Iconia B1-A71<br />
* ARK Benefit A3 (cheaper Elephone Trunk clone)<br />
* [https://www.asus.com/ca-en/Phone/ZenFone_2_ZE551ML/specifications/ ASUS Zenfone 2 (Z00AD, ZE551ML)]<br />
* Ubuntu phones<br />
* BQ Aquaris E4.5<br />
* BQ Aquaris E5<br />
* BQ Aquaris M10<br />
* BQ Aquaris X2 (Pro)<br />
* DooGee x5/x5Pro (MediaTek MT6735M) [SnowCat Kernel](https://github.com/SnowCat6/DOOGEE-kernel-3.18) (Also requires non-kernel code, firmware & drivers)[https://github.com/SnowCat6?utf8=%E2%9C%93&tab=repositories&q=x5pro&type=&language=]<br />
* Elephone Trunk - it has similar hardware as Wileyfox Swift (already supported)<br />
* [http://projects.goldelico.com/p/gta04-main/ GTA04] - replacement board for OpenMoko Neo 1973/Freerunner (GTA01/02) with OMAP3 SoC, mainline DTS, supported by Replicant<br />
* HTC HD2 (the phone which famously runs ''any'' operating system)<br />
* Huawei Ascend Y300<br />
* Huawei Mate 10 Pro<br />
* Huawei P8 Lite (ALE-21)<br />
* Huawei P9 Plus (VIE-L09 (Single SIM); VIE-L29 (Dual SIM))<br />
* Huawei Y3 <br />
* Huawei Y5 II<br />
* [https://github.com/postmarketOS/pmbootstrap/issues/57 Old iPhones] (must be [https://en.wikipedia.org/wiki/OpeniBoot OpeniBoot] compatible to make it feasible)<br />
* Intex Aqua Fish and Other Sailfish running devices<br />
* Lenovo K10a40<br />
* Lenovo TAB 2 A10-70F<br />
* LG Leon<br />
* LG Optimus Black (P970): [https://code.paulk.fr/article20/a-hacker-s-journey-freeing-a-phone-from-the-ground-up-first-part Replicant support and open bootloader]<br />
* Meizu MX4<br />
* Meizu PRO 5<br />
* [https://en.wikipedia.org/wiki/Motorola_Defy Motorola Defy series] (small, ruggedized, initial OMAP3 and later Qualcomm, [https://forum.xda-developers.com/showthread.php?t=2312349 bootloaders might still be locked])<br />
* Motorola Droid RAZR (spyder)<br />
* Motorola Moto G7 Play/Power and G7 (good work has been going on in the android scene on the g7 power and g7, play is getting there. they all share similar hardware, so a lot of the code could be shared right?)<br />
* Nintendo 3DS (Old and New, once its [https://github.com/xerpi/linux_3ds/ kernel fork] gets SDMMC write support)<br />
* Nokia 3<br />
* Nokia 5<br />
* Nokia Lumia 520, 525, 635 and/or other unlocked Lumia devices<br />
* Oneplus 6<br />
* OpenPandora handheld games console, mainline DTS<br />
* [https://www.cnx-software.com/2017/06/14/10-smartphone-display-released-for-orange-pi-2g-iot-board Orange Pi + display] - "it costs 20$ and is open hardware" (Ri_ck in #postmarketOS)<br />
* Purism Librem 5<br />
* Samsung 360 H1 - runs originally on LiMO (Linux Mobile), has a bootloader and Android port, see XDA<br />
* Samsung Epic 4G (SPH-D700)<br />
* Samsung Galaxy Core Plus (SM-G350)<br />
*Samsung Galaxy Tab A 8.0 Wi-Fi (SM-T350)<br />
* Samsung Galaxy Tab Pro 10.1 TM-525/PicassoLTE<br />
* Samsung Galaxy Tab S5E (SM-T720 & SM-T725)<br />
* Samsung Gear S<br />
* Samsung GT-S5839i<br />
* Samsung S8500 Wave - runs originally on Bada 2.0, has a bootloader and an Android port, see XDA<br />
* Samsung Galaxy Grand 2 <br />
* Wooze I5<br />
* Xiaomi Mi A2 (6X on China)<br />
* Xiaomi Mi Pad 3 (cappu)<br />
* Xiaomi Redmi 5 (rosy)<br />
* Xiaomi Redmi Note 5a (ugglite)<br />
* ZTE Open C - its hardware is very similar to the [[Mozilla_Flame_(t2m-flame)]] (already supported)<br />
<br />
== Low Priority Devices ==<br />
<br />
* Zipit Z2 (well supported kernels, but runs <code>armv5te</code> which is currently unsupported on Alpine, see also: [https://github.com/postmarketOS/pmbootstrap/issues/238 #238])<br />
* Older Nokias (N810, N800, N770) -- should have mainline support, but less than 128MB of memory<br />
* OpenMoko -- less than 128MB of memory<br />
<br />
[[Category:Hardware]]<br />
[[Category:Community]]</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=9132User:Gouchi2020-01-07T22:02:25Z<p>Gouchi: </p>
<hr />
<div>{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)|{{issue|209|pmaports}}}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|Toshiba AC100|[https://ac100.grandou.net AC100 wiki], ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=9131User:Gouchi2020-01-07T22:01:34Z<p>Gouchi: </p>
<hr />
<div>{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)|{{issue|209|pmaports}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|Toshiba AC100|[https://ac100.grandou.net AC100 wiki], ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=9130User:Gouchi2020-01-07T22:00:19Z<p>Gouchi: </p>
<hr />
<div>{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|Toshiba AC100|[https://ac100.grandou.net AC100 wiki], ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=User:Gouchi&diff=9129User:Gouchi2020-01-07T21:57:43Z<p>Gouchi: Created page with "{{My devices}} {{Owns device|Google_Nexus_4_(lg-mako)}} {{Owns device|Google_Nexus_5_(lg-hammerhead)}} {{Owns device|[https://ac100.grandou.net Toshiba AC100]|([https://git.ke..."</p>
<hr />
<div>{{My devices}}<br />
{{Owns device|Google_Nexus_4_(lg-mako)}}<br />
{{Owns device|Google_Nexus_5_(lg-hammerhead)}}<br />
{{Owns device|[https://ac100.grandou.net Toshiba AC100]|([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver])}}</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Google_Nexus_4_(lg-mako)&diff=9054Google Nexus 4 (lg-mako)2019-12-31T14:03:32Z<p>Gouchi: /* Mainline */ added archive.org link</p>
<hr />
<div>{{note|Currently the device is booting into a black screen, see {{issue|209|pmaports}}. Help with resolving this is welcome. Please remove this note when the issue has been fixed.}}<br />
{{Infobox device<br />
| manufacturer = Google (LG)<br />
| name = Nexus 4<br />
| codename = lg-mako<br />
| image = File:LG Nexus 4 Weston.png<br />
| imagecaption = LG Nexus 4 running Weston<br />
| releaseyear = 2012<br />
| originalsoftware = Android on Linux 3.4<br />
| chipset = Qualcomm APQ8064 Snapdragon S4 Pro<br />
| cpu = Quad-core 1.5 GHz Krait<br />
| gpu = Adreno 320<br />
| storage = 8/16 GB<br />
| display = 768x1280 IPS<br />
| memory = 2 GB<br />
| architecture = armhf<br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = <br />
| status_xwayland = <br />
| status_fde = Y<br />
| status_mainline = <br />
| status_battery = Y<br />
| status_3d = <br />
| status_accel = <br />
| status_audio = <br />
| status_bluetooth =<br />
| status_camera =<br />
| status_gps = <br />
| status_mobiledata = <br />
| status_sms = <br />
| status_calls = <br />
| status_otg = Y<br />
| booting = yes<br />
}}<br />
<br />
== Contributors ==<br />
<br />
* ollieparanoid<br />
* PabloCastellano and robb4 on IRC: Workaround for red screen bug ({{github|54}})<br />
<br />
== Installation ==<br />
{{note|FDE (full disk encryption) seems to be broken for lg-mako currently, see {{issue|209|pmaports}}}}<br />
<pre><br />
pmbootstrap init<br />
pmbootstrap install<br />
(enter fastboot, see below)<br />
pmbootstrap flasher flash_rootfs<br />
pmbootstrap flasher boot<br />
</pre><br />
<br />
To flash the kernel, you can choose <code>pmbootstrap flasher flash kernel</code> (but charging and power off doesn't work as expected anymore, see below).<br />
<br />
== Entering &quot;Fastboot mode&quot; ==<br />
<br />
Hold <code>Volume Down</code> + <code>Power</code>, let go of <code>Power</code> once the device display does something (e.g. turns from battery icon to black screen).<br />
<br />
== Charging and power off (after flashing the postmarketOS kernel) ==<br />
{{note|You don't have to flash the kernel! <code>pmbootstrap flasher boot</code> is also working!}}<br />
You can flash the postmarketOS kernel, but instead of charging the battery, it will boot straight into postmarketOS (or the on screen keyboard to type in the password). Right now, the best way to charge it from that situation is to boot the recovery TWRP.<br />
<br />
You can properly turn the device off by unplugging the usb cable, then booting into fastboot, then choosing power off.<br />
<br />
== Wifi ==<br />
Looks like, we need to package the [https://github.com/LineageOS/android_device_lge_mako/blob/12ac6e9aeb32d5ac9fc832f2214ede2c7690d0a6/proprietary-blobs.txt#L152-L157 wcnss.* files] for wifi. A version from 2015 can be found [https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-14.1/mako/proprietary/vendor/firmware here]. It's a Qualcomm chip.<br />
<br />
== Mainline ==<br />
{{note|See [[The Mainline Kernel]] for a general introduction to mainlining.}}<br />
<br />
'''power_graphic's mainlining progress is [https://gitlab.com/power_graphic/linux-postmarketos/tree/device-lg-mako here].''' Read on for generic instructions of what would need to be done.<br />
<br />
Currently we only have a downstream vendor kernel packaged, not the mainline kernel. The <code>lg-mako</code> has the same [https://en.wikipedia.org/wiki/System_on_a_chip SoC] as the <code>asus-flo</code>, and on the latter it is possible to run [http://web.archive.org/web/20181008184943/https://plus.google.com/111524780435806926688/posts/fkQ1BMjNNcn Android on a kernel close to mainline].<br />
<br />
This means, that most peripherals of the <code>mako</code> should work with mainline as well, once they are enabled in the DTS file. In fact, @vetzki reported in {{github|1079}} that the <code>mako</code> boots when using exactly the same DTS as the one from <code>flo</code> (this is not recommended, as misconfiguring your device like that may damage it). SSH appears to be working for a short time before getting kicked out, the display does not work.<br />
<br />
A good way forward would be using a minimal version of the <code>flo</code> DTS, where everything but USB is deleted, and fixing USB / trying to get the display working with the [https://github.com/freedreno/freedreno/wiki/DSI-Panel-Driver-Porting DSI Panel Porting Guide]. The downstream DTSI files that need to be ported to the upstream kernel are probably located [https://github.com/LineageOS/android_kernel_lge_mako/tree/lineage-15.1/arch/arm/boot/dts here], and I guess the exact panel name appears when running <code>dmesg</code> after a successful boot (I did not verify this). Please expand this when you're working on it, and report your progress in #postmarketOS. Check out the [[Mainline Guide]].<br />
<br />
== Photos ==<br />
* [https://ollieparanoid.github.io/img/2017-05-26/mako/editor.jpg Weston running with framebuffer issues]<br />
* [https://cloud.githubusercontent.com/assets/6033024/26761940/2e3273e0-4928-11e7-8800-0b4ddb14e239.jpg robb4 patched Weston to display the right colors]<br />
<br />
== See also ==<br />
* [https://github.com/freedreno/freedreno/wiki/Nexus-4 freedreno: Nexus 4]<br />
* [https://github.com/postmarketOS/pmbootstrap/tree/master/aports/device/device-lg-mako Device package]<br />
* [https://www.optiv.com/blog/building-a-nexus-4-uart-debug-cable Tutorial: UART debug cable]<br />
* [https://developers.google.com/android/drivers#mako Official proprietary drivers]<br />
* {{issue|1079}} The Nexus 7 DTB is so similar, it even boots<br />
* {{issue|9|linux-postmarketos}} Attempt at writing a new DTS for the Nexus 4</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Device_Wishlist&diff=7794Device Wishlist2019-08-21T11:38:53Z<p>Gouchi: switch ac100 to mainline</p>
<hr />
<div>We have been asked, which devices we would like to see pmOS running on - by people who might specifically buy them (with broken screens etc, to get them cheaper) to help the project. Please list devices here, that you would like to see pmOS running on. Do not list devices, that we already have a port for, or specify a reason why you do.<br />
<br />
== Mainline Linux Candidate Devices ==<br />
<br />
* [http://elektranox.org/droid4/ Motorola Droid 4]<br />
* Nokia N9, N950<br />
* [http://www.noodlepi.com/ Noodle Pi] (Open Hardware, "a full Linux PC in your pocket! With hi-res display, camera, battery, WiFi, Bluetooth, HDMI and USB.") - '''see [[Raspberry Pi]]'''<br />
* [https://plus.google.com/102276447148493441479/posts/amRvpE8piSw Sony Xperia Z3]<br />
* [https://developer.sonymobile.com/2016/02/17/work-on-the-mainline-kernel-for-open-xperia-devices/ Sony Xperia Z]<br />
* [https://github.com/PabloPL/linux Galaxy S S1(?) with panel (s6e63m0) and usb switch (fsa9480)]<br />
* Nexus 5X<br />
* [https://ac100.grandou.net Toshiba AC100] ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver])<br />
<br />
== Candidate Devices ==<br />
<br />
Please keep this list sorted by alphabet for readability.<br />
<br />
* Acer Iconia B1-730HD<br />
* ARK Benefit A3 (cheaper Elephone Trunk clone) — https://wiki.lineageos.org/devices/peach (currently unmaintained)<br />
* [https://www.asus.com/ca-en/Phone/ZenFone_2_ZE551ML/specifications/ ASUS Zenfone 2 (Z00AD, ZE551ML)]<br />
* Ubuntu phones<br />
* BQ Aquaris E4.5<br />
* BQ Aquaris E5<br />
* BQ Aquaris M10<br />
* BQ Aquaris X2 (Pro)<br />
* DooGee x5/x5Pro (MediaTek MT6735M) [SnowCat Kernel](https://github.com/SnowCat6/DOOGEE-kernel-3.18) (Also requires non-kernel code, firmware & drivers)[https://github.com/SnowCat6?utf8=%E2%9C%93&tab=repositories&q=x5pro&type=&language=]<br />
* [http://projects.goldelico.com/p/gta04-main/ GTA04] - replacement board for OpenMoko Neo 1973/Freerunner (GTA01/02) with OMAP3 SoC, mainline DTS, supported by Replicant<br />
* HTC HD2 (the phone which famously runs ''any'' operating system)<br />
* Huawei P8 Lite (ALE-21)<br />
* Huawei P9 Plus (VIE-L09 (Single SIM); VIE-L29 (Dual SIM))<br />
* Huawei Y3 <br />
* Huawei Y5 II<br />
* [https://github.com/postmarketOS/pmbootstrap/issues/57 Old iPhones] (must be [https://en.wikipedia.org/wiki/OpeniBoot OpeniBoot] compatible to make it feasible)<br />
* Intex Aqua Fish and Other Sailfish running devices<br />
* Kindle Fire 1st Generation (FOSS Bootloader, pretty much a PandaBoard devkit with a screen)<br />
* Lenovo K10a40<br />
* Lenovo TAB 2 A10-70F<br />
* LG Leon<br />
* LG Optimus Black (P970): [https://code.paulk.fr/article20/a-hacker-s-journey-freeing-a-phone-from-the-ground-up-first-part Replicant support and open bootloader]<br />
* Meizu MX4<br />
* Meizu PRO 5<br />
* [https://en.wikipedia.org/wiki/Motorola_Defy Motorola Defy series] (small, ruggedized, initial OMAP3 and later Qualcomm, [https://forum.xda-developers.com/showthread.php?t=2312349 bootloaders might still be locked])<br />
* Motorola Droid RAZR (spyder)<br />
* Nintendo 3DS (Old and New, once its [https://github.com/xerpi/linux_3ds/ kernel fork] gets SDMMC write support)<br />
* Nokia 3<br />
* Nokia 5<br />
* Nokia Lumia 520, 525 and/or other unlocked Lumia devices<br />
* Nokia Lumia 635<br />
* Oneplus 6<br />
* OpenPandora handheld games console, mainline DTS<br />
* [https://www.cnx-software.com/2017/06/14/10-smartphone-display-released-for-orange-pi-2g-iot-board Orange Pi + display] - "it costs 20$ and is open hardware" (Ri_ck in #postmarketOS)<br />
* Purism Librem 5<br />
* Samsung 360 H1 - runs originally on LiMO (Linux Mobile), has a bootloader and Android port, see XDA<br />
* Samsung Epic 4G (SPH-D700)<br />
* Samsung Galaxy Core Plus (SM-G350)<br />
* Samsung Galaxy S Relay 4G (apexqtmo) ([https://cascardo.eti.br/blog/News_on_Debian_on_apexqtmo/ WIP mainline support])<br />
* Samsung Galaxy Tab Pro 10.1 TM-525/PicassoLTE<br />
* Samsung Gear S<br />
* Samsung GT-S5839i<br />
* Samsung S8500 Wave - runs originally on Bada 2.0, has a bootloader and an Android port, see XDA<br />
* Samsung Galaxy Grand 2 <br />
* Sony Xperia X (Jolla is running there, might get some momentum; [https://jolla.com/wp-content/uploads/2017/02/Sony_Jolla_press_release_MWC2017_FINAL.pdf?x12599 press release] <br />
* Wooze I5<br />
* Xiaomi Mi A2 (6X on China)<br />
* Xiaomi Mi Pad 3 (cappu)<br />
* Xiaomi Pocophone F1 (beryllium)<br />
* Xiaomi Redmi Note 5a (ugglite)<br />
* ZTE Open C - its hardware is very similar to the [[Mozilla_Flame_(t2m-flame)]] (already supported)<br />
<br />
== Low Priority Devices ==<br />
<br />
* Zipit Z2 (well supported kernels, but runs <code>armv5te</code> which is currently unsupported on Alpine, see also: [https://github.com/postmarketOS/pmbootstrap/issues/238 #238])<br />
* Older Nokias (N810, N800, N770) -- should have mainline support, but less than 128MB of memory<br />
* OpenMoko -- less than 128MB of memory<br />
<br />
[[Category:Hardware]]<br />
[[Category:Community]]</div>Gouchihttps://wiki.postmarketos.org/index.php?title=3D_Acceleration&diff=77933D Acceleration2019-08-21T11:27:48Z<p>Gouchi: added etnaviv link</p>
<hr />
<div>{| class="wikitable"<br />
! GPU<br />
! Used in<br />
! Driver<br />
! Issues<br />
|-<br />
| Adreno<br />
| Qualcomm<br />
| [https://github.com/freedreno/freedreno/wiki freedreno]<br />
|<br />
|-<br />
| Vivante<br />
| NXP i.mx, Rockchip, Marvell, HiSilicon<br />
| [https://github.com/etnaviv etnaviv]<br />
|<br />
|-<br />
| Mali<br />
| Allwinner, Mediatek<br />
| [https://gitlab.freedesktop.org/lima lima]<br />
|<br />
|-<br />
| Mali T<br />
| Allwinner<br />
| [https://gitlab.freedesktop.org/panfrost panfrost]<br />
|<br />
|-<br />
| PowerVR<br />
| TI, AllWinner<br />
| :(<br />
| [https://gitlab.com/postmarketOS/pmaports/issues/262 #262]<br />
|-<br />
| Tegra 2/3/4<br />
| Nvidia<br />
| [https://github.com/grate-driver grate]<br />
|<br />
|-<br />
| Tegra K1/X1<br />
| Nvidia<br />
| [https://cgit.freedesktop.org/mesa/mesa/commit/?id=1755f608f5201e0a23f00cc3ea1b01edd07eb6ef nouveau]<br />
|<br />
|-<br />
| VideoCore<br />
| Broadcom<br />
| [https://github.com/anholt/mesa/wiki/VC4 vc4]<br />
|<br />
|}<br />
<br />
Using proprietary Android drivers is possible with [[Hybris]].<br />
<br />
== Adreno ==<br />
<br />
== Vivante ==<br />
<br />
== Mali ==<br />
<br />
There are two projects for open source Mali drivers.<br />
<br />
The lima driver is for the Mali Utgard GPUs, specifically the Mali 400 (2008) and the Mali 450 (2012)<br />
<br />
The panfrost drivers is for the Mali Midgard (T6*, T7*, T8*) and Bifrost GPUs (G*)<br />
<br />
== PowerVR ==<br />
<br />
== Tegra ==<br />
<br />
The opensource reverse-engineered driver for Tegra GPUs is Grate (anagram of "tegra"). It seems to work with Tegra 2, 3 and 4 GPUs<br />
<br />
The newer Tegra K1 and X1 use an 3D core that can be used with Nouveau instead with a seperate tegra display driver to handle the I/O<br />
<br />
== VideoCore ==</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Games&diff=7718Games2019-08-11T20:30:14Z<p>Gouchi: /* Untested, but packaged software */ added RetroArch</p>
<hr />
<div>This is a list of packaged games<br />
<br />
== Runs on software rendering ==<br />
<br />
; chocolate-doom [armv7,aarch64] : Open source implementation of the first doom engine, needs a nonfree doom.wad or can use the opensource freedoom.wad<br />
; openttd,openttd-opengfx [armv7,aarch64] : Open source implementation of Transport Tycoon Deluxe<br />
; openrct2 [armv7,aarch64] : Open source implementation of Rollercoaster Tycoon 2, needs nonfree gamedata to work<br />
<br />
== Needs 3D acceleration ==<br />
<br />
; xonotic [x86_64] : First person shooter, used to be called Nexuiz<br />
<br />
== Untested, but packaged software ==<br />
<br />
* mame<br />
* quakespasm<br />
* retroarch<br />
* snes9x</div>Gouchihttps://wiki.postmarketos.org/index.php?title=3D_Acceleration&diff=70643D Acceleration2019-05-29T21:11:41Z<p>Gouchi: added Tegra 2/3 already merged !67</p>
<hr />
<div>{| class="wikitable"<br />
! GPU<br />
! Used in<br />
! Driver<br />
! Issues<br />
|-<br />
| Adreno<br />
| Qualcomm<br />
| [https://github.com/freedreno/freedreno/wiki freedreno]<br />
|<br />
|-<br />
| Vivante<br />
| NXP i.mx, Rockchip, Marvell, HiSilicon<br />
| etnaviv<br />
|<br />
|-<br />
| Mali<br />
| Allwinner, Mediatek<br />
| [https://gitlab.freedesktop.org/lima lima]<br />
|<br />
|-<br />
| Mali T<br />
| Allwinner<br />
| [https://gitlab.freedesktop.org/panfrost panfrost]<br />
|<br />
|-<br />
| PowerVR<br />
| TI, AllWinner<br />
| :(<br />
| [https://gitlab.com/postmarketOS/pmaports/issues/262 #262]<br />
|-<br />
| Tegra 2/3<br />
| Nvidia<br />
| [https://github.com/grate-driver grate]<br />
|-<br />
| VideoCore<br />
| Broadcom<br />
| [https://github.com/anholt/mesa/wiki/VC4 vc4]<br />
|<br />
|}<br />
<br />
Using proprietary Android drivers is possible with [[Hybris]].</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Device_Wishlist&diff=6962Device Wishlist2019-05-12T11:26:53Z<p>Gouchi: added ac100 information</p>
<hr />
<div>We have been asked, which devices we would like to see pmOS running on - by people who might specifically buy them (with broken screens etc, to get them cheaper) to help the project. Please list devices here, that you would like to see pmOS running on. Do not list devices, that we already have a port for, or specify a reason why you do.<br />
<br />
== Mainline Linux Candidate Devices ==<br />
<br />
* [http://elektranox.org/droid4/ Motorola Droid 4]<br />
* Nokia N9, N950<br />
* [http://www.noodlepi.com/ Noodle Pi] (Open Hardware, "a full Linux PC in your pocket! With hi-res display, camera, battery, WiFi, Bluetooth, HDMI and USB.") - '''see [[Raspberry Pi]]'''<br />
* [https://plus.google.com/102276447148493441479/posts/amRvpE8piSw Sony Xperia Z3]<br />
* [https://developer.sonymobile.com/2016/02/17/work-on-the-mainline-kernel-for-open-xperia-devices/ Sony Xperia Z]<br />
* [https://github.com/PabloPL/linux Galaxy S S1(?) with panel (s6e63m0) and usb switch (fsa9480)]<br />
<br />
== Candidate Devices ==<br />
<br />
Please keep this list sorted by alphabet for readability.<br />
<br />
* ARK Benefit A3 (cheaper Elephone Trunk clone) — https://wiki.lineageos.org/devices/peach (currently unmaintained)<br />
* Ubuntu phones<br />
* BQ Aquaris E4.5<br />
* BQ Aquaris E5<br />
* BQ Aquaris M10<br />
* BQ Aquaris X2 (Pro)<br />
* DooGee x5/x5Pro (MediaTek MT6735M) [SnowCat Kernel](https://github.com/SnowCat6/DOOGEE-kernel-3.18) (Also requires non-kernel code, firmware & drivers)[https://github.com/SnowCat6?utf8=%E2%9C%93&tab=repositories&q=x5pro&type=&language=]<br />
* [http://projects.goldelico.com/p/gta04-main/ GTA04] - replacement board for OpenMoko Neo 1973/Freerunner (GTA01/02) with OMAP3 SoC, mainline DTS, supported by Replicant<br />
* HTC HD2 (the phone which famously runs ''any'' operating system)<br />
* Huawei P8 Lite (ALE-21)<br />
* Huawei P9 Plus (VIE-L09 (Single SIM); VIE-L29 (Dual SIM))<br />
* Huawei Y3 <br />
* Huawei Y5 II<br />
* [https://github.com/postmarketOS/pmbootstrap/issues/57 Old iPhones] (must be [https://en.wikipedia.org/wiki/OpeniBoot OpeniBoot] compatible to make it feasible)<br />
* Intex Aqua Fish and Other Sailfish running devices<br />
* Kindle Fire 1st Generation (FOSS Bootloader, pretty much a PandaBoard devkit with a screen)<br />
* Lenovo K10a40<br />
* Lenovo TAB 2 A10-70F<br />
* LG Leon<br />
* LG Optimus Black (P970): [https://code.paulk.fr/article20/a-hacker-s-journey-freeing-a-phone-from-the-ground-up-first-part Replicant support and open bootloader]<br />
* Meizu MX4<br />
* Meizu PRO 5<br />
* [https://en.wikipedia.org/wiki/Motorola_Defy Motorola Defy series] (small, ruggedized, initial OMAP3 and later Qualcomm, [https://forum.xda-developers.com/showthread.php?t=2312349 bootloaders might still be locked])<br />
* Motorola Droid RAZR (spyder)<br />
* Nintendo 3DS (Old and New, once its [https://github.com/xerpi/linux_3ds/ kernel fork] gets SDMMC write support)<br />
* Nokia 3<br />
* Nokia 5<br />
* Nokia Lumia 520, 525 and/or other unlocked Lumia devices<br />
* Nokia Lumia 635<br />
* Oneplus 6<br />
* OpenPandora handheld games console, mainline DTS<br />
* [https://www.cnx-software.com/2017/06/14/10-smartphone-display-released-for-orange-pi-2g-iot-board Orange Pi + display] - "it costs 20$ and is open hardware" (Ri_ck in #postmarketOS)<br />
* Purism Librem 5<br />
* Samsung 360 H1 - runs originally on LiMO (Linux Mobile), has a bootloader and Android port, see XDA<br />
* Samsung Epic 4G (SPH-D700)<br />
* Samsung Galaxy S Relay 4G (apexqtmo) ([https://cascardo.eti.br/blog/News_on_Debian_on_apexqtmo/ WIP mainline support])<br />
* Samsung Galaxy Tab Pro 10.1 TM-525/PicassoLTE<br />
* Samsung Gear S<br />
* Samsung GT-S5839i<br />
* Samsung S8500 Wave - runs originally on Bada 2.0, has a bootloader and an Android port, see XDA<br />
* Sony Xperia X (Jolla is running there, might get some momentum; [https://jolla.com/wp-content/uploads/2017/02/Sony_Jolla_press_release_MWC2017_FINAL.pdf?x12599 press release]<br />
* [https://ac100.grandou.net Toshiba AC100] ([https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/tegra20-paz00.dts mainline DTS], [https://github.com/grate-driver grate driver]) <br />
* Wiko U FEEL (P6609BCD)<br />
* Wooze I5<br />
* Xiaomi Mi Pad 3 (cappu)<br />
* Xiaomi Pocophone F1 (beryllium)<br />
* Xiaomi Redmi Note 5a (ugglite)<br />
* ZTE Open C - its hardware is very similar to the [[Mozilla_Flame_(t2m-flame)]] (already supported)<br />
<br />
== Low Priority Devices ==<br />
<br />
* Zipit Z2 (well supported kernels, but runs <code>armv5te</code> which is currently unsupported on Alpine, see also: [https://github.com/postmarketOS/pmbootstrap/issues/238 #238])<br />
* Older Nokias (N810, N800, N770) -- should have mainline support, but less than 128MB of memory<br />
* OpenMoko -- less than 128MB of memory<br />
<br />
[[Category:Hardware]]<br />
[[Category:Community]]</div>Gouchihttps://wiki.postmarketos.org/index.php?title=Device_Wishlist&diff=6183Device Wishlist2019-02-25T22:34:15Z<p>Gouchi: /* Candidate Devices */ added toshiba ac100</p>
<hr />
<div>We have been asked, which devices we would like to see pmOS running on - by people who might specifically buy them (with broken screens etc, to get them cheaper) to help the project. Please list devices here, that you would like to see pmOS running on. Do not list devices, that we already have a port for, or specify a reason why you do.<br />
<br />
== Mainline Linux Candidate Devices ==<br />
<br />
* [http://elektranox.org/droid4/ Motorola Droid 4]<br />
* Nokia N9, N950<br />
* [http://www.noodlepi.com/ Noodle Pi] (Open Hardware, "a full Linux PC in your pocket! With hi-res display, camera, battery, WiFi, Bluetooth, HDMI and USB.") - '''see [[Raspberry Pi]]'''<br />
* [https://plus.google.com/102276447148493441479/posts/amRvpE8piSw Sony Xperia Z3]<br />
* [https://developer.sonymobile.com/2016/02/17/work-on-the-mainline-kernel-for-open-xperia-devices/ Sony Xperia Z]<br />
* [https://github.com/PabloPL/linux Galaxy S S1(?) with panel (s6e63m0) and usb switch (fsa9480)]<br />
<br />
== Candidate Devices ==<br />
* Samsung Epic 4G (SPH-D700)<br />
* Sony Xperia X (Jolla is running there, might get some momentum; [https://jolla.com/wp-content/uploads/2017/02/Sony_Jolla_press_release_MWC2017_FINAL.pdf?x12599 press release]<br />
* Kindle Fire 1st Generation (FOSS Bootloader, pretty much a PandaBoard devkit with a screen)<br />
* Fairphone 1<br />
* [https://github.com/postmarketOS/pmbootstrap/issues/57 Old iPhones] (must be [https://en.wikipedia.org/wiki/OpeniBoot OpeniBoot] compatible to make it feasible)<br />
* Samsung Galaxy S Relay 4G (apexqtmo) ([https://cascardo.eti.br/blog/News_on_Debian_on_apexqtmo/ WIP mainline support])<br />
* Intex Aqua Fish and Other Sailfish running devices<br />
* Oneplus 6<br />
* Ubuntu phones<br />
* BQ Aquaris E4.5<br />
* BQ Aquaris E5<br />
* BQ Aquaris M10<br />
* BQ Aquaris X2 (Pro)<br />
* Huawei P9 Plus (VIE-L09 (Single SIM); VIE-L29 (Dual SIM))<br />
* Huawei P8 Lite (ALE-21)<br />
* Meizu MX4<br />
* Meizu PRO 5<br />
* Nokia 3<br />
* Nokia 5<br />
* Purism Librem 5<br />
* Samsung 360 H1 - runs originally on LiMO (Linux Mobile), has a bootloader and Android port, see XDA<br />
* Samsung GT-S5839i<br />
* Samsung S8500 Wave - runs originally on Bada 2.0, has a bootloader and an Android port, see XDA<br />
* Samsung Galaxy Tab Pro 10.1 TM-525/PicassoLTE<br />
* Possibly Nokia Lumia 520 and 525 and/or other unlocked Lumia devices<br />
* HTC HD2 (the phone which famously runs ''any'' operating system)<br />
* [https://www.cnx-software.com/2017/06/14/10-smartphone-display-released-for-orange-pi-2g-iot-board Orange Pi + display] - "it costs 20$ and is open hardware" (Ri_ck in #postmarketOS)<br />
* DooGee x5/x5Pro (MediaTek MT6735M) [SnowCat Kernel](https://github.com/SnowCat6/DOOGEE-kernel-3.18) (Also requires non-kernel code, firmware & drivers)[https://github.com/SnowCat6?utf8=%E2%9C%93&tab=repositories&q=x5pro&type=&language=]<br />
* ARK Benefit A3 (cheaper Elephone Trunk clone) — https://wiki.lineageos.org/devices/peach (currently unmaintained)<br />
* LG Optimus Black (P970): [https://code.paulk.fr/article20/a-hacker-s-journey-freeing-a-phone-from-the-ground-up-first-part Replicant support and open bootloader]<br />
* LG Leon<br />
* ZTE Open C - its hardware is very similar to the [[Mozilla_Flame_(t2m-flame)]] (already supported)<br />
* Nintendo 3DS (Old and New, once its [https://github.com/xerpi/linux_3ds/ kernel fork] gets SDMMC write support)<br />
* OpenPandora handheld games console, mainline DTS<br />
* [http://projects.goldelico.com/p/gta04-main/ GTA04] - replacement board for OpenMoko Neo 1973/Freerunner (GTA01/02) with OMAP3 SoC, mainline DTS, supported by Replicant<br />
* [https://en.wikipedia.org/wiki/Motorola_Defy Motorola Defy series] (small, ruggedized, initial OMAP3 and later Qualcomm, [https://forum.xda-developers.com/showthread.php?t=2312349 bootloaders might still be locked])<br />
* [https://ac100.grandou.net Toshiba AC100] <br />
* Xiaomi Mi A1 (tissot) - very similar hardware to Xiaomi Redmi Note 4 (mido)<br />
* Xiaomi Pocophone F1<br />
* Xiaomi Mi Pad 3 (cappu)<br />
* Motorola Droid RAZR (spyder)<br />
* Huawei Y3 <br />
* Huawei Y5 II<br />
* Lenovo K10a40<br />
* Lenovo TAB 2 A10-70F<br />
* Wooze I5<br />
* Xiaomi Mi 5 (Gemini) - very similarhardware to Xiaomi Mi 5 Pro<br />
* Nokia Lumia 635<br />
* Xiaomi Redmi Note 5a (ugglite)<br />
* Wiko U FEEL (P6609BCD)<br />
<br />
== Low Priority Devices ==<br />
<br />
* Zipit Z2 (well supported kernels, but runs <code>armv5te</code> which is currently unsupported on Alpine, see also: [https://github.com/postmarketOS/pmbootstrap/issues/238 #238])<br />
* Older Nokias (N810, N800, N770) -- should have mainline support, but less than 128MB of memory<br />
* OpenMoko -- less than 128MB of memory<br />
<br />
[[Category:Hardware]]<br />
[[Category:Community]]</div>Gouchi