{"id":1606,"date":"2024-03-02T22:23:12","date_gmt":"2024-03-02T22:23:12","guid":{"rendered":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/?page_id=1606"},"modified":"2026-03-31T14:02:49","modified_gmt":"2026-03-31T14:02:49","slug":"notes-on-rooting-samsung-galaxy-a-quantum-on-a-mac-with-heimdall","status":"publish","type":"page","link":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/notes-on-rooting-samsung-galaxy-a-quantum-on-a-mac-with-heimdall\/","title":{"rendered":"Notes on rooting Samsung Galaxy A Quantum on a Mac with Heimdall"},"content":{"rendered":"\n<p><a href=\"https:\/\/gist.github.com\/veghead\/159e3276ebf0e7ac6f9365affb615b71#notes-on-rooting-samsung-galaxy-a-quantum-on-a-mac-with-heimdall\"><\/a><\/p>\n\n\n\n<p>The A Quantum is actually the A71 5G from South Korea Telecom but it contains an S2Q000 Quantum random number generator made by IDQuantique.<\/p>\n\n\n\n<p>This is a systemless install which means you don&#8217;t bugger up the distribution. In a nutshell, Magisk patches boot.img and vmbeta.img which gives it a handy\/dandy portal to rootworld.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download original firmware that matches the baseband version in the phone. e.g. from <a href=\"https:\/\/www.sammobile.com\/firmwares\/\">https:\/\/www.sammobile.com\/firmwares\/<\/a><\/li>\n\n\n\n<li>Download Heimdall: <a href=\"https:\/\/github.com\/Benjamin-Dobell\/Heimdall\">https:\/\/github.com\/Benjamin-Dobell\/Heimdall<\/a>. The prebuilt packages didn&#8217;t work on my Mac (14.2.1 (23C71)) so I had to build it myself.<\/li>\n\n\n\n<li>Enable Developer mode on the device.<\/li>\n\n\n\n<li>Unlock bootloader.<\/li>\n\n\n\n<li>Install Magisk.<\/li>\n\n\n\n<li>Copy the AP firmware tarball to the phone. e.g.: <code>adb push AP_A716SKSU6FWH2_QB69542795_REV00_user_low_ship_MULTI_CERT_meta_OS13.tar \/sdcard\/firmware.tar<\/code><\/li>\n\n\n\n<li>Run Magisk and click &#8220;Select and Patch a File\u201d<\/li>\n\n\n\n<li>Select the firmware file you uploaded.<\/li>\n\n\n\n<li>Heimdall will patch the file and rename it to something like <code>magisk_patched-27000_KHeEJ.tar<\/code><\/li>\n\n\n\n<li>Pull the patched file off the phone. <code>adb pull \/sdcard\/magisk_patched-27000_KHeEJ.tar patched.tar<\/code><\/li>\n\n\n\n<li>Untar the file. <code>tar xvf magisk_patched-27000_KHeEJ.tar patched.tar<\/code><\/li>\n\n\n\n<li>There will be a bunch of files. The ones I needed to flash were <code>vbmeta.img<\/code> and <code>boot.img<\/code><\/li>\n\n\n\n<li>Find the parition names by running: <code>heimdall print-pit --no-reboot<\/code> They look like this:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>\u2014 Entry #12 \u2014\nBinary Type: 0 (AP)\nDevice Type: 8 (Unknown)\nIdentifier: 7\nAttributes: 5 (Read\/Write)\nUpdate Attributes: 1 (FOTA)\nPartition Block Size\/Offset: 14336\nPartition Block Count: 10240\nFile Offset (Obsolete): 0\nFile Size (Obsolete): 0\nPartition Name: BOOT\nFlash Filename: boot.img\nFOTA Filename:\n<\/code><\/pre>\n\n\n\n<p>Mine were <code>BOOT<\/code> and <code>VBMETA<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Flash them with heimdall: <code>sudo heimdall flash --no-reboot --BOOT boot.img<\/code> <code>sudo heimdall flash --resume --VBMETA vbmeta.img<\/code><\/li>\n\n\n\n<li>When the phone reboots, you&#8217;ll need to wipe the filesystems.<\/li>\n\n\n\n<li>Once it comes back up, enable developer mode and install Magisk again.<\/li>\n\n\n\n<li>Magisk will perform the &#8220;final act&#8221; and the phone is rooted.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The A Quantum is actually the A71 5G from South Korea Telecom but it contains an S2Q000 Quantum random number generator made by IDQuantique. This is a systemless install which means you don&#8217;t bugger up the distribution. In a nutshell, Magisk patches boot.img and vmbeta.img which gives it a handy\/dandy portal to rootworld. Mine were [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1606","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/pages\/1606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/comments?post=1606"}],"version-history":[{"count":2,"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/pages\/1606\/revisions"}],"predecessor-version":[{"id":1694,"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/pages\/1606\/revisions\/1694"}],"wp:attachment":[{"href":"https:\/\/fatsquirrel.org\/oldfartsalmanac\/wp-json\/wp\/v2\/media?parent=1606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}