Kamis, 14 Mei 2020

How To Root Samsung Galaxy S10 and S10 Plus Install Magisk [One UI Firmware]

You can now root your Galaxy S10e, S10 or S10 Plus (Exynos so far, Snapdragon to come) and install Magisk manager on the One UI 9.0 Pie firmware. The developer behind the most popular rooting tool for Android devices, topjohnwu, has updated Magisk once again. This update is very exciting because it is the first version that supports the Samsung Galaxy S10. This means you can enable root access and install the manager app on all S10 variants.


Samsung has made tampering with the phone firmware very difficult. By default, it does not allow you to flash custom binaries through Odin and KNOX is still something to be aware of. Furthermore, a new service called VaultKeeper makes it even more difficult to unlock the bootloader. Yet, the developer has found a way to permanently root all variants of the Galaxy S10. The guide is a little long but very detailed, to make it as easy as possible for you to understand. If you ever get stuck in any of the steps below, leave a comment below.


Warning


Before you go ahead with the tutorial below, please read all of the warnings below. Do not proceed if you do not want KNOX to be triggered or if you do not want your data to be erased.



  • This process will wipe your phone. When you unlock the bootloader for the first time to install Magisk, a full data wipe will be performed. Please make a data backup before you continue, otherwise, you will lose all of the data.

  • Installing Magisk on your Galaxy S10 will trigger KNOX. This is an indicator that shows whether the firmware has been tampered with or not. Some stores will refuse warranty service if KNOX is tripped.

  • This process involves installing Magisk in the recovery partition of the phone. This is not the same as the traditional Magisk rooting process.


Installing Magisk on your phone is done in three steps. The first step is to unlock the bootloader and make it accept unofficial images, the second step is to patch the firmware and flash it through Odin, and the last step is to correctly boot the phone with Magisk installed.


1. Unlock the bootloader


Samsung has introduced a new service called VaultKeeper. This means that you won’t be able to flash custom binaries or unofficial partitions unless VaultKeeper allows it. Here’s how to do it.





    1. Enable OEM unlock. To do so, go to Settings > Developer options and tap on OEM unlocking.  and install Magisk manager on the One UI  How To Root Samsung Galaxy S10 and S10 Plus  Install Magisk [One UI Firmware]

    2. Boot into download mode. To do so, press and hold the power button and tap on Power off to turn off the phone. Now press and hold the Volume Down + Bixby + Power buttons at the same time.

    3. Once in download mode, long press the volume up button. This will unlock the bootloader and all data on your phone will be deleted.

    4. The phone will automatically reboot. Connect your phone to a WiFi network and skip through the rest of the setup.  and install Magisk manager on the One UI  How To Root Samsung Galaxy S10 and S10 Plus  Install Magisk [One UI Firmware]

    5. Go to Settings > About Phone > Software Information and quickly tap 7 times on Build Number to enable Developer Options. Go to Developer options and make sure that OEM unlocking is greyed out.




2. Patching the firmware & installing Magisk 


Now that the bootloader is successfully unlocked, you have to flash Magisk to your phone. This time around, Magisk lives in the recovery section, so every time you reboot your phone, you have to go through recovery if you want to have Magisk.



  1. Download the latest stock firmware for your Samsung Galaxy S10 and extract the file.

  2. Copy and the AP .tar file and transfer it to the internal storage of your phone. The file name starts with AP and ends with .tar.md5 (AP_[device_model_sw_ver].tar.md5).

  3. Download and install the latest Magisk Manager APK.

  4. Open Magisk Manager and go to Install > Install > Select and Patch a file.

  5. Navigate through the storage and select the extracted AP file. The firmware will be patched and the new version will be found under Internal Storage/Download/magisk_patched.tar.

  6. Transfer the patched file to your computer.

  7. Turn off your phone and boot your phone into download mode.

  8. On Odin, click on AP and select the patched .tar file. Uncheck “Auto Reboot” and click on Install.

  9. The tool will flash Magisk on your Samsung Galaxy S10.


3. Boot your phone with Magisk installed



  1. Once Odin is finished with installing Magisk, press and hold the Volume Down + Power button to exit download mode. Once the screen is off, quickly press the Volume Up + Bixby + Power buttons at the same time. A bootloader warning will show up. Keep pressing the volume up button. The phone will enter stock recovery mode.

  2. Using the volume buttons in recovery, highlight Wipe data/factory reset and press the power button to confirm.

  3. Now highlight and select Reboot system now and quickly press the Volume Up + Bixby + Power buttons at the same time. When the bootloader warning shows up again, release the buttons this time around.

  4. The phone will reboot two times and then it will boot up normally.


Once the phone boots up, go to the app drawer and check for Magisk Manager. It should be there by default. If not, manually install the latest version of the APK file. That is it! You have successfully installed Magisk and rooted your Samsung Galaxy S10e, S10 and S10 Plus.


Conclusion


All you need to remember is the boot up procedure, and what you need to press if you want to boot in recovery or boot the system with Magisk installed.


1. Powering up normally → System with no Magisk


2. Power + Bixby + Volume Up → Bootloader warning → Release all buttons →System with Magisk


3. Power + Bixby + Volume Up → Bootloader warning → Keep holding volume up → Actual recovery


Now that you have installed Magisk on your Galaxy S10, you can later on update Magisk directly from the Magisk Manager app. If you want to update to another version of the firmware, also patch it through Magisk Manager first, and then flash it. With Magisk you can now enjoy all root benefits plus Magisk’s module system.