Duplicating your HYP hack for Samsung Galaxy Android Phone?
Hola,
Thank you very much for sharing your awesome hack. This isn't actually an issue with your project.
I'm interested in duplicating your hack for the Samsung Galaxy S3 or S5 phone (I've got both). Currently I've got Debian running nicely in a Chroot on the S3, using the lil'debi project. https://github.com/guardianproject/lildebi
My situation is basically the same as the situation that you faced with the Raspberry Pi. RbPi bootloader is closed, and it was starting the kernel in SVC mode. So your hack allowed you to switch the CPU into HYP mode with code concatenated onto the beginning of the kernel, before booting the kernel. It's the same situation with the Samsung Galaxy S3. I likely would not be able to adjust the bootloader, but the same hack should work?
Here's the issue I've opened to discuss this: https://github.com/guardianproject/lildebi/issues/205
I don't have the virtualization/x86-assembler skills that you have so I'd really appreciate a little help :)
PS: You might be pleased to find out that because of your awesome hack the RbPi bootloader has changed so that it enables HYP by default. Unfortunately they still compile the kernel without KVM, but at least it's one less hack required. https://github.com/raspberrypi/firmware/issues/369#issuecomment-201767134