1-Modify or delete files or applications of the operating system.
2-Run programs that require root permissions.
3-Change the basic fonts within the Android system.
4-Move applications from device memory to external memory.
5-Installation of Custom rom.
6-Fix errors DRK and DM-Verity.
Cons of the root:
1-Loss of phone warranty.
2-Some applications do not work due to root (bluestacks root / dr fone root).
3-Stand on the company logo as a result of misuse.
4-The operating system crashed due to deletion or modification of important system files.
How To Root Samsung Galaxy M42 5G
1.When you boot into download mode, there is a protection called KG STATE. If the protection is Checking, ignore the next step. If it is Prenormal, follow the next step.
2.Boot the device into recovery mode, then Wipe Data/Factory Reset, everything on the device will be erased, then Reboot system now, It will take about 10 minutes to boot the device. Here is the most important step when you start setting up the device. Add a Google account and then continue to complete the setup.
3.Now when you boot into download mode it should be FRP:OFF- OEM:OFF-KG STATE:Checking.
4.This step is very important. Please focus now. We need to download a firmware compatible with the device model and version of the device. It is preferable to download the same version on the device to avoid problems. You can find out the baseband version on the phone or tablet by booting to recovery mode, An example of that.
5.From where we download the firmware.
6.After downloading the firmware we extract the files it will show several files inside the extracted folder BL-AP-CP-CSC-HOME CSC.
7.All work on the AP file, since the file suffix is .tar.md5, we will remove the .md5 suffix from the file name to become the suffix .tar
8.Copy the ap file to your Android device.
9.Install and open the Magisk Manager app.
10.Press the Install button in the Magisk card.
11.A new window will appear, choose Select and Patch a File.
12.Choose the file you copied before and press Let’s Go button.
13.Magisk will start patching the AP firmware it won’t take long.
14.After the processing is finished, you will go to the Downloads folder, there is a file magisk_patched, copy it to your PC.
15.Download Odin Tool .
16.Open the Odin tool and from the AP box select the magisk_patched file and press start.
17.The device will start flashing, it will take about 10 minutes when the flashing is finished, boot the device into recovery mode and wipe data again.
18.When you start setting up the device, add a Google account and then complete the setup. This step is very important.
19.Install Magisk manger again and open it.
20.In newer devices, you need to turn off the device and then Power + Volume Up to get root permissions. As for older devices, you will get root once you open the magisk manger application.
21.A clearer example: (Powering up normally) > (System with no Magisk), (Power + Volume Up) > (System with Magisk).
22.Your Samsung Galaxy M42 5G is now rooted.