• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Question [SOLVED] Samsung A12 / SM-A127F/DSN - Root problem

Search This thread

cryptoranger

Member
Sep 4, 2021
5
3
Hello,

I have problem with patch my boot.img with Magisk manager. After patching I got error : "The phone is not running Samsung's official software". After flash again stock boot.img everything works.

I use Odin to flash.

I tried to install unofficial TWRP from other thread but I got SVD Fail and vbmeta errors during boot.

Somebody have any idea how solve this problem?

Model : SM-A127F/DSN
Baseband version : A127FXXU2AUG7
Android 11 (UI 3.1)

Info from download mode :
KG STATE : Checking
FRP LOCK : OFF
OEM LOCK : OFF(U)
Secure Download : Enabled
RP SWREV : B:2 K:2 S:2


I found similar situation on movie :
But for me recovery mode and factory reset not solve problem. Phone stuck on "Samsung's official software" and reboot after a few minutes.

Best Regards
 
Last edited:
  • Like
Reactions: Ms_Julia

cryptoranger

Member
Sep 4, 2021
5
3
I used the same boot.img and instructions from This thread

In attachment magisk patching log
 

Attachments

  • magisk_install_log.log
    2.9 KB · Views: 83
Last edited:

cryptoranger

Member
Sep 4, 2021
5
3
I solved this problem by This thread
SM-A127F have a different hardware than for example SM-A125F and working on Exynos 850 the same as Samsung A21s.

Magisk 23 still not working.

Regards
 

cryptoranger

Member
Sep 4, 2021
5
3
I have same phone A127
Do you rooted your device now ?
If yes how do you root device ?
And thank you
Hi, Yes I have root on this device !
It's very simple, but official Magisk have a bug which prevents the device from booting properly and your phone will be stuck with in bootloop.

1. You must get custom patched Magisk (jn attachment) - from This thread and install it on phone.
2. Get your original firmware from : https://samfw.com/firmware/SM-A127F
3. Unpack your firmware and upload AP_XXXXX file on phone and patch it with magisk.
4. Flash with ODIN and done :)

You have full instruction : Here but I recommend patch full AP_XXX file not only boot.img. Full AP patch It will allow you to turn off DM-Verity immediately and trouble with vbmeta.
 

Attachments

  • Magisk_patched_for_A21S.apk
    6.3 MB · Views: 162
  • Screenshot_20210908-204212_Root_Checker_Basic[1].jpg
    Screenshot_20210908-204212_Root_Checker_Basic[1].jpg
    98.6 KB · Views: 119
  • Screenshot_20210908-204225[1].jpg
    Screenshot_20210908-204225[1].jpg
    66.9 KB · Views: 121

marrygsm

New member
Sep 25, 2021
1
1

Here is the pre Rooted firmware buy Ultratech geek Team
you can download free via google drive link
no password
tested by me Working 100%
 
  • Like
Reactions: Ms_Julia

physwizz

Senior Member
Sep 16, 2013
3,127
678
Sydney
Hi, Yes I have root on this device !
It's very simple, but official Magisk have a bug which prevents the device from booting properly and your phone will be stuck with in bootloop.

1. You must get custom patched Magisk (jn attachment) - from This thread and install it on phone.
2. Get your original firmware from : https://samfw.com/firmware/SM-A127F
3. Unpack your firmware and upload AP_XXXXX file on phone and patch it with magisk.
4. Flash with ODIN and done :)

You have full instruction : Here but I recommend patch full AP_XXX file not only boot.img. Full AP patch It will allow you to turn off DM-Verity immediately and trouble with vbmeta.
Thanks for this.
I just bought this phone and looking forward to building a custom kernel for it.
 

physwizz

Senior Member
Sep 16, 2013
3,127
678
Sydney
Thanks for the root method.
I've discovered that this phone has the same set of CPU frequencies for big and little
 

Attachments

  • Screenshot_20211024-143740_hKtweaks.jpg
    Screenshot_20211024-143740_hKtweaks.jpg
    142.4 KB · Views: 13
  • Screenshot_20211024-143653_hKtweaks.jpg
    Screenshot_20211024-143653_hKtweaks.jpg
    152.9 KB · Views: 12

physwizz

Senior Member
Sep 16, 2013
3,127
678
Sydney
  • Like
Reactions: hesen_89
Feb 3, 2016
32
9
kernel dont working ( how i install old kernel ?? i cant find it
Not exactly sure, maybe physwizz confirm, I presume, you tried install kernel file by Install button in TWRP. I tried it too, failed it too and
a) you have done backup in TWRP, thats usual reason to setup TWRP - you just in case backup those special partition and if you done it, restore boot from backup will help
b) really not sure about that, but Odin, button BL and flash BL file from original stock ROM.

Can anybody advanced confirm? Maybe it can be helpful to know exactly, what for sure are kernel (AFAIK part of boot partition), "bootloader" and "boot" partion, BL button in Odin
 

hesen_89

Member
Oct 25, 2021
12
1
Not exactly sure, maybe physwizz confirm, I presume, you tried install kernel file by Install button in TWRP. I tried it too, failed it too and
a) you have done backup in TWRP, thats usual reason to setup TWRP - you just in case backup those special partition and if you done it, restore boot from backup will help
b) really not sure about that, but Odin, button BL and flash BL file from original stock ROM.

Can anybody advanced confirm? Maybe it can be helpful to know exactly, what for sure are kernel (AFAIK part of boot partition), "bootloader" and "boot" partion, BL button in Odin

can't do another type. yes i did that type. but twrp does not work and does not mount any unit. install fails. I returned everything. deleted
 

Top Liked Posts