{"action":"created","issue":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1206","repository_url":"https://api.github.com/repos/postmarketOS/pmbootstrap","labels_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1206/labels{/name}","comments_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1206/comments","events_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1206/events","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1206","id":294237181,"number":1206,"title":"HTC One M8 Progress/Help","user":{"login":"fooforever","id":665772,"avatar_url":"https://avatars0.githubusercontent.com/u/665772?v=4","gravatar_id":"","url":"https://api.github.com/users/fooforever","html_url":"https://github.com/fooforever","followers_url":"https://api.github.com/users/fooforever/followers","following_url":"https://api.github.com/users/fooforever/following{/other_user}","gists_url":"https://api.github.com/users/fooforever/gists{/gist_id}","starred_url":"https://api.github.com/users/fooforever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fooforever/subscriptions","organizations_url":"https://api.github.com/users/fooforever/orgs","repos_url":"https://api.github.com/users/fooforever/repos","events_url":"https://api.github.com/users/fooforever/events{/privacy}","received_events_url":"https://api.github.com/users/fooforever/received_events","type":"User","site_admin":false},"labels":[{"id":651649223,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/device","name":"device","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-02-04T22:27:28Z","updated_at":"2018-03-03T21:37:08Z","closed_at":null,"author_association":"NONE","body":"I would like to and am trying to get pmOS running on the M8. \r\n\r\nI can get the kernel source from [here](https://github.com/LineageOS/android_kernel_htc_msm8974) compiling with the gou_msm_fix and pmouse_base patches enabled. Using a config from the same repo [here](https://github.com/LineageOS/android_kernel_htc_msm8974/blob/cm-14.1/arch/arm/configs/m8_defconfig). \r\nHowever 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:\r\n```\r\npmbootstrap flasher boot\r\n[22:10:57] (rootfs_htc-m8) install\r\n[22:10:59] (rootfs_htc-m8) mkinitfs htc-m8\r\n[22:11:05] (native) boot htc-m8 kernel\r\ndownloading 'boot.img'...\r\nOKAY [  1.356s]\r\nbooting...\r\nFAILED (remote: dtb not found)\r\nfinished. total time: 1.358s\r\n[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\r\n```\r\n\r\nI'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 `00_kernel`, `01_dtbdump!htc,msm8974.dtb` and `02_dtbdump.dtb` and in the TWRP image `00_kernel` and `01_dtbdump.dtb`. However on both attempts when using extract-dtb i get an error about extracting the dtbdump.dtb file:\r\n`FileNotFoundError: [Errno 2] No such file or directory: 'dtb/02_dtbdump.dtb' -> 'dtb/02_dtbdump_M8_XB/XC.dtb'` for the generated image and:\r\n`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.\r\n\r\nAlso 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."},"comment":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/comments/370181786","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1206#issuecomment-370181786","issue_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1206","id":370181786,"user":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T21:37:08Z","updated_at":"2018-03-03T21:37:08Z","author_association":"OWNER","body":"Hey, that is great news! Now we know that the problem is `dtbTool` not producing not the right `dt.img` file! :tada: \r\n\r\nRegarding the networking issue, see:\r\nhttps://wiki.postmarketos.org/wiki/Troubleshooting:boot#Kernel_boots_without_network_interface"}}
{"actor":{"display_login":"ollieparanoid"}}