From 0c1370b5f1b3e8abc934ea913a4377f05f32e4a9 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 7 Aug 2017 22:05:24 +0300 Subject: Initial static build --- .../wiki/lg-hammerhead-(Google-Nexus-5)/index.html | 154 +++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 docs/wiki/lg-hammerhead-(Google-Nexus-5)/index.html (limited to 'docs/wiki/lg-hammerhead-(Google-Nexus-5)') diff --git a/docs/wiki/lg-hammerhead-(Google-Nexus-5)/index.html b/docs/wiki/lg-hammerhead-(Google-Nexus-5)/index.html new file mode 100644 index 0000000..aae14df --- /dev/null +++ b/docs/wiki/lg-hammerhead-(Google-Nexus-5)/index.html @@ -0,0 +1,154 @@ + + +
+ + +
+ postmarketOS
+ fastboot boot /mnt/rootfs_lg-hammerhead/boot/vmlinuz-lg-hammerhead /mnt/rootfs_lg-hammerhead/boot/initramfs-lg-hammerhead
+
+
+[00:33:38] (native) flash kernel 'lg-hammerhead'
+creating boot image...
+creating boot image - 3600384 bytes
+sending 'SHLVL=1' (3516 KB)...
+OKAY [ 0.331s]
+writing 'SHLVL=1'...
+FAILED (remote: partition table doesn't exist)
+finished. total time: 0.511s
+[00:33:38] ERROR: Command failed: (native) % fastboot --base 0 --kernel-offset 0x00008000 --ramdisk-offset 0x02900000 --tags-offset 0x02700000 --page-size 2048 flash:raw /mnt/rootfs_lg-hammerhead/boot/vmlinuz-lg-hammerhead /mnt/rootfs_lg-hammerhead/boot/initramfs-lg-hammerhead
+
+
+Workaround (on host, not inside chroot):
+mkbootimg --base 0 --pagesize 2048 --kernel_offset 0x00008000 --ramdisk_offset 0x2900000 --second_offset 0x00f00000 --tags_offset 0x02700000 --cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1' --kernel ~/.local/var/pmbootstrap/chroot_native/mnt/rootfs_lg-hammerhead/boot/vmlinuz-lg-hammerhead --ramdisk ~/.local/var/pmbootstrap/chroot_native/mnt/rootfs_lg-hammerhead/boot/initramfs-lg-hammerhead -o pmos.img
+fastboot boot pmos.img
+
+
+There is also a bug and the screen is not updated. Workaround: login using ssh and run the following command:
+ssh user@172.16.42.1
+sudo su
+while [ ! ]; do cat /sys/class/graphics/fb0/modes > /sys/class/graphics/fb0/mode; done
+
+
+| Component | +Module | +LineageOS Kernel | +Mainline kernel | +
|---|---|---|---|
| Storage | +sdhci | +Working | +Working | +
| WiFi | +bcmdhd | +Missing firmware | +No | +
| USB Networking | ++ | Yes | +No | +
| 2D Video | +mdss_fb | +Screen not refreshing automatically | +No | +
| 3D Video | ++ | Not in kernel | +No | +
| Debug serial | ++ | Yes, /dev/ttyHSL0 | +Yes, /dev/ttyMSM0 | +