Hi. This is more like of a discussion, not an issue (could you enable Discussions and move it there? thanks)
Currently the VM thinks it's running in a home button type device.
I have a fork of devicetree-parse that outputs json and allows rebuilding device tree from it. I can enable home bar by setting home-button-type. However only swipe to unlock works, I'm not sure why other scenarios don't work. I guess you can automate this part in the patch script for now.
- {"name": "home-button-type", "length": 12, "flags": 32768, "disp": 3, "value": "syscfg/home" },
+ {"name": "home-button-type", "length": 4, "flags": 0, "disp": 1, "value": 2 },
Additionally, you can set a custom serial number
- {"name": "serial-number", "length": 29, "flags": 32768, "disp": 3, "value": "syscfg/SrNm/0x20,zeroes/0x20" },
+ {"name": "serial-number", "length": 10, "flags": 0, "disp": 3, "value": "AAAAAAAAAA" },
I tried enabling Dynamic Island by setting artwork-device-subtype, but MobileGestalt refused to change it for some reason so it doesn't take effect
- {"name": "artwork-device-subtype", "length": 12, "flags": 32768, "disp": 3, "value": "syscfg/ards" },
+ {"name": "artwork-device-subtype", "length": 4, "flags": 0, "disp": 1, "value": 2556 },
Hi. This is more like of a discussion, not an issue (could you enable Discussions and move it there? thanks)
Currently the VM thinks it's running in a home button type device.
I have a fork of devicetree-parse that outputs json and allows rebuilding device tree from it. I can enable home bar by setting
home-button-type. However only swipe to unlock works, I'm not sure why other scenarios don't work. I guess you can automate this part in the patch script for now.Additionally, you can set a custom serial number
I tried enabling Dynamic Island by setting
artwork-device-subtype, but MobileGestalt refused to change it for some reason so it doesn't take effect