How To Guide How To: Root Galaxy A12 | SM-A125F/DSN

Search This thread

leonardo07746

Member
Jun 5, 2013
5
0
This is the Method how i Root my Galaxy A12 .
This method is very easy if you take your time. THIS WILL ALSO WIPE YOUR DEVICE. I AM NOT RESPONSIBLE FOR ANY DEVICE OR SD CARD DAMAGE.

BEFORE PROCEEDING, UNLOCK BOOTLOADER.

YOU CAN FIND THE FIRMWARE YOU NEED ON SAMMOBILE.

1. Download the firmware for your device.
2. Load Zarchiver from playstore.
3. Open Zarchiver and locate the firmware you downloaded.
4. Click on the firmware, a menu will appear at the bottom. You will then have option to extract.
5. Extract the firmware and you will have files..AP..BL..CP..CSC..and HOME_CSC. The only file we need is AP
6. Click on AP file and rename AP_A125FXX.md5 to AP_A125FXX.tar - so your just highlighting the file and removing md5 so it only says .tar at the end.
7. Once you have renamed AP file click and again you will be given the option to extract. Once extracted, locate boot.img.lz4
8. Then extract boot.img.lz4 leaving you with boot.img
9. You should have Magisk manager installed on device. Use Magisk to patch the boot.img. once patched locate magisk_patched.img and rename to boot.img
10. Return to Zarchiver locate the patched boot.img and compress to boot.tar.
11. Move compressed boot.tar to computer and rename to boot.img.tar
12. Put device in download mode, open Odin and put the boot.img.tar in AP and click start. Once odin says pass, your device will boot to stock recovery and you will have to do a factory reset so save anything you need before doing this.
13. Once Device boots - RE-install Magisk Manager and follow prompts.

Congatulations, Youre Rooted Now.

View attachment 5244935
Can I use this method on a SM-125u with cricket wireless as the carrier?
 

henryfort

New member
Nov 23, 2022
2
0
This is the Method how i Root my Galaxy A12 .
This method is very easy if you take your time. THIS WILL ALSO WIPE YOUR DEVICE. I AM NOT RESPONSIBLE FOR ANY DEVICE OR SD CARD DAMAGE.

BEFORE PROCEEDING, UNLOCK BOOTLOADER.

YOU CAN FIND THE FIRMWARE YOU NEED ON SAMMOBILE.

1. Download the firmware for your device.
2. Load Zarchiver from playstore.
3. Open Zarchiver and locate the firmware you downloaded.
4. Click on the firmware, a menu will appear at the bottom. You will then have option to extract.
5. Extract the firmware and you will have files..AP..BL..CP..CSC..and HOME_CSC. The only file we need is AP
6. Click on AP file and rename AP_A125FXX.md5 to AP_A125FXX.tar - so your just highlighting the file and removing md5 so it only says .tar at the end.
7. Once you have renamed AP file click and again you will be given the option to extract. Once extracted, locate boot.img.lz4
8. Then extract boot.img.lz4 leaving you with boot.img
9. You should have Magisk manager installed on device. Use Magisk to patch the boot.img. once patched locate magisk_patched.img and rename to boot.img
10. Return to Zarchiver locate the patched boot.img and compress to boot.tar.
11. Move compressed boot.tar to computer and rename to boot.img.tar
12. Put device in download mode, open Odin and put the boot.img.tar in AP and click start. Once odin says pass, your device will boot to stock recovery and you will have to do a factory reset so save anything you need before doing this.
13. Once Device boots - RE-install Magisk Manager and follow prompts.

Congatulations, Youre Rooted Now.

View attachment 5244935
nice information. thanks for sharing.
 

lil_kyrick

Member
Mar 20, 2022
12
0
Samsung Galaxy A12
On Android 12 One Ui 4 does not working.

1671208172034.png
 

DaeDae<3

New member
Dec 29, 2022
3
0
I need some decoding! I thought I unlicked my bootloader while in fastboot mode I entered: "fastboot getvar all" and I got a response of finished! or something along those lines. I downloaded adb & platform tools to execute commands through but none of the fastboot commands are recognized besides the one I just mentioned. I tried to unlock my bootloader by holding the volume buttons and plugging in my USB-C to my PC but all it does is show the percentage speed through to show its charging. When I hold power and vol.- & vol.+ it only gives me the download mode and exit option. The image I am attempting to flash as far as I'm concerned is correct. I extracted the AP file from the most recently updated firmware for my model (sm-a12xxxxxxxxx) and carrier then extracted the boot.lz4 image then patched it with Magisk and compressed it to a .tar file. Odin almost completely runs a pass then fails at the last second and gives me the output I posted with this post. What am I doing wrong and how do I unlock my bootloader? P.S. T-Mobile is my carrier.
How did you access fastboot mode?? I can't access mine at all, it will never load and there is no OEM unlock switch in developer settings while it tells me the boot.img.tar is unofficial
 

physwizz

Senior Member
Sep 16, 2013
3,965
891
Sydney
If you want to install TWRP later you need to patch the full ap file using delta magisk.
You could also take boot.img.lz4 and vbmeta.img.lz4 into the same tar file and patch that with delta magisk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    This is the Method how i Root my Galaxy A12 .
    This method is very easy if you take your time. THIS WILL ALSO WIPE YOUR DEVICE. I AM NOT RESPONSIBLE FOR ANY DEVICE OR SD CARD DAMAGE.

    BEFORE PROCEEDING, UNLOCK BOOTLOADER.

    YOU CAN FIND THE FIRMWARE YOU NEED ON SAMMOBILE.

    1. Download the firmware for your device.
    2. Load Zarchiver from playstore.
    3. Open Zarchiver and locate the firmware you downloaded.
    4. Click on the firmware, a menu will appear at the bottom. You will then have option to extract.
    5. Extract the firmware and you will have files..AP..BL..CP..CSC..and HOME_CSC. The only file we need is AP
    6. Click on AP file and rename AP_A125FXX.md5 to AP_A125FXX.tar - so your just highlighting the file and removing md5 so it only says .tar at the end.
    7. Once you have renamed AP file click and again you will be given the option to extract. Once extracted, locate boot.img.lz4
    8. Then extract boot.img.lz4 leaving you with boot.img
    9. You should have Magisk manager installed on device. Use Magisk to patch the boot.img. once patched locate magisk_patched.img and rename to boot.img
    10. Return to Zarchiver locate the patched boot.img and compress to boot.tar.
    11. Move compressed boot.tar to computer and rename to boot.img.tar
    12. Put device in download mode, open Odin and put the boot.img.tar in AP and click start. Once odin says pass, your device will boot to stock recovery and you will have to do a factory reset so save anything you need before doing this.
    13. Once Device boots - RE-install Magisk Manager and follow prompts.

    Congatulations, Youre Rooted Now.

    Screenshot_20210309-182256_Root Checker Basic.jpg
    2
    28.3.2021: Download of patched boot.img.tar failed with error:
    SW REV CHECK FAIL : [boot]Fused 1 > Binary Only official released binaries are allowed to be flashed : boot

    KG STATUS : PRENORMAL was the culprit. For naive users inexperienced with Samsung devices like myself might be usefull to have warning in the rooting guide to avoid PRENORMAL state and link to instructions how to do it.

    Update 8.4.2021: To get rid of PRENORMAL state is enough to wait for a week with sim, active data connection and maybe also logged into google account. Do not reboot or disconnect network during wait time. Check the OEM ulocking state in developer settings time to time (to trigger status verification on Samsung servers).

    Flashing unofficial binary succeeded afterwards.

    Sources:
    https://milankragujevic.com/how-to-avoid-rmm-state-prenormal-when-unlocking-samsung-phones
    https://forum.xda-developers.com/t/...ll-twrp-on-exynos-samsung-after-2018.3747535/
    1
    It worked! Thank you so much for this tutorial! 😍
    1
    Ive tried searching for my firmware on sammobile however im not finding it. Its model sm-a125u doesnt even show up on their list.