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

Search This thread

cldkrs

Senior Member
Dec 12, 2019
170
69
Geilenkirchen
Google Pixel 6
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
 

Helix-one

Member
Mar 7, 2021
32
19
Samsung Galaxy A12
Just rooted my phone yesterday, by the way Safety net fails the basic integrity test, i guess there's no way to circumvent this since this device uses Hardware Backed attestation to detect an unlocked bootloader.
 

fixapixa

New member
Mar 28, 2021
4
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/
 
Last edited:

jkaltes

Member
May 16, 2018
26
2
After using Odin to flash a Magisk modified version of boot.img.lz4, my smartphone stayed in a boot loop. After flashing the unmodified version of boot.img.lz4 (uncompressed and tarred) I could boot again and I could also turn of OEM Unlocking in the development options. So I returned the Smartphone to the seller, giving the true reason.
 

jkaltes

Member
May 16, 2018
26
2

Hulgerorsh

New member
Apr 9, 2021
1
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.
 
  • Like
Reactions: Jesssailor82
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/

IF I get one of these things - I'm understanding (?) though we can get root - in order to keep root, one has to have a google acct?

2nd Q? is after the "wait to clear PRENORMAL" can the google acct be removed?

3rd Q? Can the phone be set up using WiFi (before buying a SIM) (?) then after the wait, put the SIM in? (reason I've asked is my carrier SIM "does ****" ...)

4th Q? Does the device need to be CARRIER unlocked to UL bootloader -- otherwise, I should buy a fully unlocked one, right?

Thanks in advance
VW
 

fixapixa

New member
Mar 28, 2021
4
2
1) I guess it's not necessary to keep google account. Haven't confirmed myself however.

2) After unlocking the bootloader you should restart to system, connect to network and let the device verify status with Samsung servers. This way you avoid PRENORMAL status (without waiting) and will be allowed to flash patched AP. After the flash your device will be wiped so any existing google account is deleted anyway but after first boot into system you have to connect to network once again else device gets locked and you can start over. After your device succesfully synchronises itself with Samsung servers, you can disconnect from network and I don't see reason why you would need to have Google account if you don't want one.

3) You'll have to find out yourself. Personally I think that if you follow process from 2), wifi might be enough and no Google account would be needed at all but I cannot confirm that. In worse case if anonymity is paramount for you, just plug in some cheap prepaid SIM if such things are still availabe in your country and throw it away afterwards.

4) By carrier do you mean AT&T, Vodafone and such? No idea about your provider. Devices from open market are unlockable for sure but try to search the forum whether anybody encountered trouble with your provider.

As I wrote before, I have no previous experience with Samsung so I followed linked instructions and didn't experiment. If you want to help others, try to find out yourself and don't forget to report your findings here:)
 
..... if anonymity is paramount for you, just plug in some cheap prepaid SIM if such things are still availabe in your country and throw it away afterwards.

4) By carrier do you mean AT&T,

Thanks so much - Yeah, I'm that "anonymity paramount" user... Replacing a Blackberry Passport only because of that diabolical VoLTE...

Carrier = MetroPCS-T-Mobile

HOPEFULLY I'll be back with MetroPCS (runs on T-Mobile towers) by this time tomorrow ... If they'll re-activate the Passport. I've got a fallback android if that fails, but...

They might refuse the devices I have, and the A21 seems the best option in my price range, Rather than suffer from "bought in Store" sabotaged unit, I'll get one FACTORY unlocked.

US Carriers have gotten pretty evil, I've suddenly learned "Better the Devil you KNOW than meet a new one"

Thanks again for the feedback - VW
 

Fandroid Tech

Senior Member
Jan 23, 2018
90
17
Moto G 5G
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/
I am on samsung a10, I cant unlock my bootloader as my kg status is PRENORMAL. I have waited more than 168 hours for the oem unlock option to appar however nothing happend. I found that to unlock the bootloader I need to have my kg state to be normal. I have no idea what to do, i have tried reflashing may times, did all the updates and still nothing. Is there absolutely any hope?
 

anisniso

New member
Oct 12, 2015
1
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
i flow this setup bue i can root heeeeeeeellp i need open bootloder ??
 

abysshk

New member
May 8, 2019
2
1
Just to elaborate on the Bootloader unlocking.

You will always need to connect to the internet, either wifi or sim card data.
Open Developer Options, Enable OEM unlock. (without internet, this option won't appear under developer)
boot to Download mode , confirm OEM unlock. This will wipe your phone.
go through start up, just skip everything, you phone will be wiped again anyway.
Connect to the internet, Open Developer Options, check that the "Enable OEM unlock" is greyed out!
By doing so, your bootloader is now unlocked. So yes, don't miss any steps stated above.

Samsung has a service called VaultKeeper to prevent unoffical firmware. Checking the "Enable OEM unlock" option is greyed out after Bootloader unlock will ensure the VaultKeeper to accept unoffical firmware. This requires internet connection. I suggest you to give the phone more time to check bootloader unlock state if you have a very slow / unstable internet connection.

If the outcome of the above steps does not appear to be true for you, your phone maybe cannot unlock bootloader.
 
  • Like
Reactions: bouyakasha

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.