Root LineageOS 17.1 ROM on Galaxy A50s Android 10 ( TWRP + Magisk )

How to Root ( TWRP + Magisk ) and Flash LineageOS 17.1 on Samsung Galaxy A50s. LineageOS 17.1 comes with ROM OS Android 10 Q. Rooting this ROM required: TWRP that patched with Magisk v20.4. Unfortunately, this twrp_patched_magisk does not work for rooting stock rom, you will faced bootloop if you try it for rooting stock rom. Version Information Status: Stable GSI ROM lineage-17.1-20200413-UNOFFICIAL-treble_arm64_bvN. Use at your own risk, I’m not responsible for bricking your device.

Require Tools:

  1. Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
  2. Enable OEM unlock and USB debugging options ( Settings -> Developer options )
  3. Make sure the bootloader are unlocked, If not read How to unlock Bootloader A50s
  4. Download and Extract ODIN v3.13.1 from https://odindownload.com/SamsungOdin/
  5. Download and Install Samsung Mobile Phone Drivers: http://developer.samsung.com/technical-doc/view.do?v=T000000117
  6. Download twrp_A50sOS10MagiskPatched4GSIRom.tar
  7. Download Disable_Dm-Verity_ForceEncrypt_01.14.2020.zip
  8. Download Latest Magisk Manager ( MagiskManager-v7.5.1.apk )
  9. Download Latest LineageOS ARM64-AB file codename:  treble_arm64_bvN and extract it
  10. Download open_gapps-arm64-10.0-nano-20200408 or latest, you can ignore this if you don’t want to install it

How to Root and Install LineageOS 17.1 ROM on Samsung Galaxy A50s :

  1. Make sure the bootloader are unlocked, OEM unlocking option is grey out
  2. Enter Download Mode : Turn Power Off. Press and hold Volume Up key + Power Key, When Samsung Logo appears release Power Key only, keep pressing Volume Up key until Android Recovery Mode Appears. Wipe data / factory reset.  Select Reboot to bootloader.
  3. Open ODIN, IMPORTANT!: Uncheck “Auto Reboot” in Options!
  4. Flashing twrp_A50sOS10MagiskPatched4GSIRom.tar as AP in ODIN,
  5. Connect phone to computer then click start.
  6. Magisk is now successfully flashed to your device! Several steps before you can properly use the device.
  7. DO NOT SKIP THIS STEP! Press and hold Volume Down + Power Key, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
  8. Select Wipe -> Format data.
  9. Copy Disable DM-verity, LineageOS image and Magisk Manager apk to phone
  10. Install Disable_Dm-Verity_ForceEncrypt_01.14.2020.zip
  11. Install – Install Image – select lineage-17.1-20200413-UNOFFICIAL-treble_arm64_bvN.img – select System Image and Confirm to flash.
  12. Select Reboot to Recovery ( Boot system with magisk )
  13. Setup the Phone
  14. Connect the phone to internet
  15. Install and open Magisk Manager, it will reboot the phone
  16. Done, now the LineageOS has been rooted

Install GAPPS ( optional )

  1. Enter TWRP Recovery Mode: Turn power off; Press and hold Volume Up key + Power key, when samsung logo appears release power key only, keep pressing volume up until TWRP recovery appears
  2. Copy open-gapps zip file from pc to phone
  3. Select Wipe – Advanced Wipe – select “System” – Repair or Change File System – Resize File System – Confirm to Resize
  4. Select Mount – select “System” & “Vendor”
  5. Select Install – select open_gapps-arm64-10.0-nano-20200408.zip and Confirm Flash
  6. Select Reboot – System or Recovery
  7. Done!

If you want to uninstall this custom ROM and back to stock ROM, just flash the stock ROM to your device. Flashing stock ROM will also uninstall TWRP Recovery and it will back to stock Android Recovery.

Notes / Warning!

  1. Use at your own risk, I’m not responsible for bricking your device.
  2. Using the incorrect file may brick your device.
  3. If your target device has a custom firmware flash counter, Rooting will trigger it. If you’re lucky, Triangle Away has support for your device and can be used to reset the counter.
  4. If you have a KNOX-enabled device, flash custom rom and Rooting will trip the KNOX WARRANTY VOID status!
  5. If your device storage is encrypted, Rooting will wipe your data !
  6. If you have locked bootloaders, flashing one of these will probably brick your device – with the exception of Nexus devices, which will usually automatically “OEM unlock” and wipe your data !
  7. Make sure to backup your important data before root it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>