{"action":"created","issue":{"url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/149","repository_url":"https://api.github.com/repos/sonyxperiadev/bug_tracker","labels_url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/149/comments","events_url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/149/events","html_url":"https://github.com/sonyxperiadev/bug_tracker/issues/149","id":347602787,"node_id":"MDU6SXNzdWUzNDc2MDI3ODc=","number":149,"title":"is:issue is:open Xperia XZ2 H8266 TWRP","user":{"login":"MartinX3","id":4518092,"node_id":"MDQ6VXNlcjQ1MTgwOTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4518092?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinX3","html_url":"https://github.com/MartinX3","followers_url":"https://api.github.com/users/MartinX3/followers","following_url":"https://api.github.com/users/MartinX3/following{/other_user}","gists_url":"https://api.github.com/users/MartinX3/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinX3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinX3/subscriptions","organizations_url":"https://api.github.com/users/MartinX3/orgs","repos_url":"https://api.github.com/users/MartinX3/repos","events_url":"https://api.github.com/users/MartinX3/events{/privacy}","received_events_url":"https://api.github.com/users/MartinX3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-04T09:07:16Z","updated_at":"2018-08-05T01:12:35Z","closed_at":null,"author_association":"NONE","body":"**Platform:*Linux Ubuntu 18.04 x64 / Linux Mint 19 x64* \r\n**Device:*Xperia XZ2 / H8266* \r\n**Android version:*8.0.0* \r\n\r\n**Description**\r\nDear Sony developer team,\r\n\r\nI saw on your developer site:\r\n\r\n> 2018-08-03: Beta release for 4.9 Kernel:\r\n> - Xperia XZ2 and Xperia XZ2 Compact (Tama)\r\n\r\nSo I compiled the Kernel for TWRP, but if a friend with the stock 51.1.A.4.265 and an unlocked bootloader tried\r\n`fastboot boot twrp.img`\r\nthe following problem happens:\r\n\r\n> 1. Screen turns on with Blue LED on, displaying \"Your device software cant' be checked for corruption, please lock the bootloader\".\r\n> 2. After 5 seconds the screen turns off, but the blue LED is still on.\r\n> 3. After around 20 seconds the screen turns on again with \"SONY\" logo, blue LED is still on.\r\n> 4.About 5 seconds later, Blue LED turns off.\r\n> 5.Again about 10 seconds later, screen turns off.\r\n> 6.The red LED blinked a few times, with two times of vibration.\r\n> 7.Screen turns on with \"SONY\" logo, then it's totally an ordinary boot into Android.\r\n\r\nIf he flash it via fastboot into the boot partition, the device is showing the Sony logo, but then restarts into a bootloop.\r\n\r\nThis also happens if I use the Sony aosp sources and the Sony aosp 4.9 kernel to create a Bootimage  and boot this.\r\n\r\n**So my question is, is the kernel still not stable enough?\r\nOr is the precompiled AOSP Sony 4.9 kernel in the bootimage (compiled with omni 8.0 and omni 8.1 sources to compile TWRP and compiled with sony aosp 8.1 sources) not compatible with the stock firmware?**\r\n\r\nI also can only compile a bootimage with your AOSP sources.\r\nA `make -j8` will result in a\r\n`ninja: error: 'out/target/product/akari/obj/KERNEL_OBJ/usr', needed by 'out/target/product/akari/obj_arm/SHARED_LIBRARIES/libdrmutils_intermediates/drm_master.o', missing and no known rule to make it`\r\n\r\n_________________________________________________________________________________\r\n_________________________________________________________________________________\r\n_________________________________________________________________________________\r\n\r\nI also compiled the kernel from your developer website for the stock version 51.1.A.4.265.\r\nBut the twrp bootimage now shows a yellow triangle with a wrench before restarting.\nThe twrp recovery image results in a black bootloop.\nAlso using the precompiled stock kernel with the Sony aosp to create a Bootimage result in a not booting device.\n\r\n**Would the TWRP image (compiled with Omni 8.0 or 8.1 sources) boot with the precompiled 51.1.A.4.265 kernel?\r\nIs the precompiled stock kernel compatible with the AOSP Sony sources?**\r\n\r\n\r\n\r\nMany thanks\r\nMartin"},"comment":{"url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/comments/410488111","html_url":"https://github.com/sonyxperiadev/bug_tracker/issues/149#issuecomment-410488111","issue_url":"https://api.github.com/repos/sonyxperiadev/bug_tracker/issues/149","id":410488111,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ4ODExMQ==","user":{"login":"jamuir","id":5332385,"node_id":"MDQ6VXNlcjUzMzIzODU=","avatar_url":"https://avatars2.githubusercontent.com/u/5332385?v=4","gravatar_id":"","url":"https://api.github.com/users/jamuir","html_url":"https://github.com/jamuir","followers_url":"https://api.github.com/users/jamuir/followers","following_url":"https://api.github.com/users/jamuir/following{/other_user}","gists_url":"https://api.github.com/users/jamuir/gists{/gist_id}","starred_url":"https://api.github.com/users/jamuir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamuir/subscriptions","organizations_url":"https://api.github.com/users/jamuir/orgs","repos_url":"https://api.github.com/users/jamuir/repos","events_url":"https://api.github.com/users/jamuir/events{/privacy}","received_events_url":"https://api.github.com/users/jamuir/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T01:12:35Z","updated_at":"2018-08-05T01:12:35Z","author_association":"NONE","body":"This is probably not the right place to ask for support porting twrp :-)\r\n\r\nIn any case, one thing you should note is that the XZ2 uses a vbmeta image to verify the integrity of boot, system, vendor and some other partitions (this is part of the enhanced android-verified-boot process).\r\n\r\nIt could be that if you update the boot image without changing the vbmeta image, the XZ2 will not boot because of the failed integrity check (this can happen even with the bootloader unlocked).\r\n\r\nYou can build a \"no-op\" vbmeta image using AOSP and flash it.  After that you should have better luck trying to boot an updated boot image.\r\n"}}
{"actor":{"display_login":"jamuir"}}