blob: 8920f6193bdbe28dff861cdd25cb859389d66680 [file] [log] [blame]
Ian Macdonaldf9d749d2019-04-29 11:28:46 +02001<div class='page-heading'>This device uses system-as-root in an A-only partition configuration.</div>
2<hr />
3
Ian Macdonald1d6b26d2019-05-03 01:54:22 +02004<p class="text">If you intend to root your ({{ page.codename }}) device, be advised that Magisk will be installed to the <tt>recovery</tt> partition, not the usual <tt>boot</tt> partition. Both TWRP and Magisk-rooted Android boot using the recovery kernel, with the device's hardware keys used to choose between TWRP and Android at boot time.</p>
Ian Macdonaldf9d749d2019-04-29 11:28:46 +02005
bigbiff85cc1c12024-07-07 10:48:50 -04006<p class="text">You are therefore strongly advised to first <a href="https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root">root your device with Magisk</a> and then pre-root a TWRP image before flashing it to recovery. The usual path of installing TWRP prior to rooting is problematic on this device, because the Magisk installer does not support installation to recovery from TWRP. Furthermore, prior rooting of the device with Magisk carries the significant advantage of disabling various device protection mechanisms that you will otherwise need to take care of manually.</p>
Ian Macdonaldf9d749d2019-04-29 11:28:46 +02007
Ian Macdonald1d6b26d2019-05-03 01:54:22 +02008<p class="text">If you wish to install TWRP without rooting, there are numerous pitfalls to consider. For example, a stock device is protected by Android Verified Boot. This is implemented as a <tt>vbmeta</tt> partition that contains cryptographic digests for verifying the integrity of <tt>boot.img</tt>, <tt>recovery.img</tt> and other partitions/images. Flashing TWRP without first flashing a <tt>vbmeta</tt> image with verity disabled will render your device unable to boot.</p>
Ian Macdonaldf9d749d2019-04-29 11:28:46 +02009
10<p class="text">Please bear all of the above in mind when considering the installation methods listed below, and refer to the device's TWRP support thread on XDA for detailed information about installation and the associated hazards. Details of the firmware version(s) with which the current TWRP image's kernel is compatible can be found in the TWRP changelog for this device.</p>