HTC One M8 Progress/Help
Created by: fooforever
I would like to and am trying to get pmOS running on the M8.
I can get the kernel source from here compiling with the gou_msm_fix and pmouse_base patches enabled. Using a config from the same repo here.
However I'm running into a problem when trying to bool the kernel on the device. I can flash the boot.img via
pmbootstrap flasher flash_kernel but when I reboot I just boot straight into fastboot. When trying to boot the kernel directly
pmboostrap flasher boot I get an error from fastboot:
pmbootstrap flasher boot [22:10:57] (rootfs_htc-m8) install [22:10:59] (rootfs_htc-m8) mkinitfs htc-m8 [22:11:05] (native) boot htc-m8 kernel downloading 'boot.img'... OKAY [ 1.356s] booting... FAILED (remote: dtb not found) finished. total time: 1.358s [22:11:07] ERROR: Command failed: (native) % fastboot -i '' -c 'console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache androidboot.selinux=permissive' boot /mnt/rootfs_htc-m8/boot/boot.img-htc-m8
I've looked at extracting the generated boot.img dtb and I get different files to when is in the TWRP image that I'm analysing (and is installed on the device). In the generated image I get
02_dtbdump.dtb and in the TWRP image
01_dtbdump.dtb. However on both attempts when using extract-dtb i get an error about extracting the dtbdump.dtb file:
FileNotFoundError: [Errno 2] No such file or directory: 'dtb/02_dtbdump.dtb' -> 'dtb/02_dtbdump_M8_XB/XC.dtb' for the generated image and:
FileNotFoundError: [Errno 2] No such file or directory: 'dtb/01_dtbdump.dtb' -> 'dtb/01_dtbdump_GLU_WLJ_XA_v2.0/1.dtb' for the TWRP image.
Also because of my device being S-On I can't flash the system partition from fastboot, but using the Android recovery I seem to be able to. But can't really test whether that actually works because of the above issues.