Root Samsung A34 5G

The A34 5G by Samsung model A346E is easy to gain root access on, let's dive in



Credits for this stripped down guide go to John Wu aka topjohnwu creator of the magisk app



Unlocking the bootloader

Power off your A34 smartphone and hold volume up and volume down at the same time and plug it into your PC

Long press volume up to unlock the bootloader 


*all data on the device will be lost, so make sure to back up any important documents*

To bypass Vaultkeeper run through setup and connect to wifi, enable developer options and confirm the bootloader is unlocked under enable OEM unlock and greyed out


Next, you'll need the stock firmware which can be downloaded using frija or by downloading from samfw website

We'll also need Odin flashing tool and the USB driver

Get magisk from here and install it 

You'll need the platform tools (ADB)



We will need to know the CSC for downloading from frija which can be found in about phone > software information > service provider software information

You can see my CSC is OPS in the above screenshot



Extract the firmware and send the AP tar file to your phone. Open magisk > install > select and patch a file, select the AP tar file

Now we're going to use ADB to pull the patched AP file back to our device

adb pull /sdcard/Download/magisk_patched_[random_strings].tar

Note: you will need the exact name of the file. Right-click on the patched AP file, and select 'properties', copy the file name and insert it into the appropriate field 

Power off the phone and hold volume up and volume down and plug the phone into the PC. 

Open Odin and insert the files CP, BL, CSC and the patched AP file into the corresponding slots and tap start



If all went well, Odin will display 'pass' and the phone will factory reset and reboot. 

Open the magisk app and let it complete installation and reboot

For bricks see this post

If you get an annoying prompt that a service provider update is available and needs to reboot also disable the CID manager 

In adb type ; 

adb shell

pm disable-user --user 0 com.samsung.android.cidmanager
 

You can also uninstall CID manager using the following command (Not recommended)

pm uninstall --user 0 com.samsung.android.cidmanager

Conclusion

If you want to update the software version on your a34 5g handset just use frija to download the firmware and flash in Odin using the home_csc file and make sure to patch the new AP file with magisk


Comments