{"id":28304,"date":"2020-03-05T15:24:47","date_gmt":"2020-03-05T20:24:47","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28304"},"modified":"2020-03-06T15:13:18","modified_gmt":"2020-03-06T20:13:18","slug":"project-sandcastle-android-for-the-iphone","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/03\/05\/project-sandcastle-android-for-the-iphone\/","title":{"rendered":"Project Sandcastle: Android for the iPhone"},"content":{"rendered":"<p><a href=\"https:\/\/projectsandcastle.org\">Corellium<\/a> (<a href=\"https:\/\/twitter.com\/CorelliumHQ\/status\/1235251256895123456\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/projectsandcastle.org\"><p>The iPhone restricts users to operate inside a sandbox. But when you buy an iPhone, you own the iPhone hardware. Android for the iPhone gives you the freedom to run a different operating system on that hardware.<\/p>\n<p>Android for the iPhone has many exciting practical applications, from forensics research to dual-booting ephemeral devices to combatting e-waste.<\/p><\/blockquote>\n<p>The source is <a href=\"https:\/\/github.com\/corellium\/projectsandcastle\/\">here<\/a>.<\/p>\n<p><a href=\"https:\/\/projectsandcastle.org\/history\">Corellium<\/a>:<\/p>\n<blockquote cite=\"https:\/\/projectsandcastle.org\/history\"><p>By leveraging our virtual devices, along with our deep knowledge of both the Android OS and the iPhone hardware, we were able to rapidly iterate to bring Android to life.<\/p>\n<p>[&#8230;]<\/p>\n<p>Unfortunately, Android developers enshrined the 4kB page size in the build system, breaking AArch64 convention; third-party applications containing binary libraries built for these small pages will not be able to start on our Android port and will need to be rebuilt. It&rsquo;s not intrinsically hard - one or two command-line options - but it can&rsquo;t be done if all you have is an APK.<\/p>\n<p>Less limiting is the lack of 32-bit code support on our platform.  While Android these days requires support for pure 64-bit systems from application developers, the system itself still has moldy chunks of 32-bit only code in unexpected places.<\/p><\/blockquote>\n\n<p id=\"project-sandcastle-android-for-the-iphone-update-2020-03-06\">Update (2020-03-06): <a href=\"https:\/\/twitter.com\/isaiah\/status\/1235672890839883776\">Isaiah Carew<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/isaiah\/status\/1235672890839883776\"><p>this is kind of mind blowing -- running Android on iOS.<\/p><p>i&rsquo;d prefer the opposite. i&rsquo;d like to be able to run iOS on generic hardware.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Corellium (tweet): The iPhone restricts users to operate inside a sandbox. But when you buy an iPhone, you own the iPhone hardware. Android for the iPhone gives you the freedom to run a different operating system on that hardware. Android for the iPhone has many exciting practical applications, from forensics research to dual-booting ephemeral devices [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-03-05T20:24:50Z","apple_news_api_id":"ec56539f-97e7-45d9-a3e3-138ac911a2d7","apple_news_api_modified_at":"2020-03-06T20:13:21Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/A7FZTn5fnRdmj4xOKyRGi1w","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[575,248,1909,31,1667,85,688,74],"class_list":["post-28304","post","type-post","status-publish","format-standard","hentry","category-technology","tag-64-bit","tag-android","tag-corellium","tag-ios","tag-ios-13","tag-iphone","tag-jailbreak","tag-opensource"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28304"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28304\/revisions"}],"predecessor-version":[{"id":28329,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28304\/revisions\/28329"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}