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

A12s Exynos 850 Development Afaneh TWRP for a12s (Exynos 850)

Search This thread

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Afaneh TWRP

NOT for baseband u3 or greater
(Working u3/u4 version on post #2)

Download tar file.
Extract recovery.img from tar file

Method 1.
If you have already installed recovery and decrypted.
1. Boot to recovery.
2. Install recovery.img
3. Choose recovery partition
4. Reboot to recovery

Method 2.
From the start

1. Download recovery tar
2. Download vbmeta disabled tar
3. Connect phone to PC
4. Go to Download mode
5. Flash recovery tar into ap with Odin
6. Flash vbmeta disabled tar into userdata with Odin
7. Reboot to recovery.
8. Wipe, format data, type YES.
9. Advanced, terminal.
10.Type multidisabler (twice).
11.Reboot to recovery
12. Backup boot, data, super and dtbo


Method 3 (I used this method)
1. Download firmware
2. Extract ap file.
3. Patch the entire ap file with patched magisk provided
4. Flash ap tar file with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery
11. Wipe, format data, type YES.
12. Advanced, terminal.
13. Type multidisabler (twice).
14.Reboot to recovery
15. Backup boot, data, super and dtbo

@physwizz


New link from afaneh

 

Attachments

  • twrp-3.6.0_11-2_afaneh92-a12s-2021-12-06.zip
    29.7 MB · Views: 136
  • vbmeta_disabled.tar
    2 KB · Views: 88
  • Magisk_patched_for_A21S.apk
    6.3 MB · Views: 44
Last edited:

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Afaneh TWRP modified by physwizz
For baseband u3 & u4
Choose u3 or u4 from below

Download tar file.
Extract recovery.img from tar file

Method 1.
If you have already installed recovery and decrypted.
1. Boot to recovery.
2. Install recovery.img
3. Choose recovery partition
4. Reboot to recovery

Method 2.
1. Download firmware
2. Extract ap file.
3. Patch with magisk
4. Flash with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery.
Go to part B

Method 3.
1. Download recovery tar
2. Download vbmeta disabled tar
3. Connect phone to PC
4. Go to Download mode
5. Flash recovery tar into ap with Odin
6. Flash vbmeta disabled tar into userdata with Odin

Part B
7. Reboot to recovery.
8. Wipe, format data, type YES.
9. Advanced, terminal.
10.Type multidisabler (twice).
11.Reboot to recovery
12. Flash Magisk for root(only for method 3)
13. Backup boot, data, super and dtbo

@physwizz
 

Attachments

  • twrp-af-ph-a12s-u4-v2.zip
    30.1 MB · Views: 92
Last edited:

mdbshuvo

Member
Dec 8, 2021
28
1
Samsung Galaxy M12
Sorry to say, it didn’t work on my M12 (M127GDDU2AUG1). When I flash both of these files (keeping twrp in AP and vbmeta in USERDATA) it fails and boots into download mode.

The error line in download mode says:
Recovery: No footer detected.
Recovery: Error verifying vbmeta image: invalid vbmeta header

something like that.

P.S.: I have rooted my M12 using the modified magisk for A21s.
 

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Sorry to say, it didn’t work on my M12 (M127GDDU2AUG1). When I flash both of these files (keeping twrp in AP and vbmeta in USERDATA) it fails and boots into download mode.

The error line in download mode says:
Recovery: No footer detected.
Recovery: Error verifying vbmeta image: invalid vbmeta header

something like that.

P.S.: I have rooted my M12 using the modified magisk for A21s.
I'll give you a different method

1. Download firmware
2. Extract ap file.
3. Patch with magisk
4. Flash with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery.
11. Format data
12. Install multidisabler zip
13. Reboot to recovery
Done
 
Last edited:

mdbshuvo

Member
Dec 8, 2021
28
1
Samsung Galaxy M12
I'll give you a different method

1. Download firmware
2. Extract ap file.
3. Patch with magisk
4. Flash with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery.
11. Format data
12. Install multidisabler zip
13. Reboot to recovery
Done
After step 10, the phone doesn't boot in recovery. Rather it goes into download mode and stays there until I flash the stock rom again. The error message says:

"ODIN MODE (SBV Fail)!
recovery: Error verifying vbmeta image: invalid vbmeta header (6)
CUSTOM RECOVERY
VBMETA M127GDDU2AUH1, 42200704R"
 

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
After step 10, the phone doesn't boot in recovery. Rather it goes into download mode and stays there until I flash the stock rom again. The error message says:

"ODIN MODE (SBV Fail)!
recovery: Error verifying vbmeta image: invalid vbmeta header (6)
CUSTOM RECOVERY
VBMETA M127GDDU2AUH1, 42200704R"
Did you root using the patched ap?


Try also

 
Last edited:

mdbshuvo

Member
Dec 8, 2021
28
1
Samsung Galaxy M12
Did you root using the patched ap?


Try also

Yes I rooted with the patched boot.img.tar, extracted from the AP file, with the modified magisk for A21s.

Pardon me for asking, I am a bit of a noob myself, what is the procedure of flashing the Multi disabler. I mean, do I flash it with Odin? or do I install with TWRP install section. If using Odin, then where to put the zip file (BL, AP, CSC or USERDATA)? If TWRP install section, then which partition (like system, boot, recovery or something else)? Thanks in advance.
 

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Yes I rooted with the patched boot.img.tar, extracted from the AP file, with the modified magisk for A21s.

Pardon me for asking, I am a bit of a noob myself, what is the procedure of flashing the Multi disabler. I mean, do I flash it with Odin? or do I install with TWRP install section. If using Odin, then where to put the zip file (BL, AP, CSC or USERDATA)? If TWRP install section, then which partition (like system, boot, recovery or something else)? Thanks in advance.
You should have patched the full ap file.
That's why you got the vbmeta error


Method 3
1. Download firmware
2. Extract ap file.
3. Patch with patched magisk
4. Flash with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery
11. Wipe, format data, type YES.
12. Advanced, terminal.
13. Type multidisabler (twice).
14.Reboot to recovery
15. Backup boot, data, super and dtbo
 
Last edited:

Lionblack

New member
Nov 11, 2021
2
0
Hello does not go into twrp freezes at startup with warning installed afaneh-u3-in3.zip in AP my firmware version
A127FXXU3AUJ5

Solved from start-up method 3 Thank you
 
Last edited:

mdbshuvo

Member
Dec 8, 2021
28
1
Samsung Galaxy M12
You should have patched the full ap file.
That's why you got the vbmeta error


Method 3
1. Download firmware
2. Extract ap file.
3. Patch with patched magisk
4. Flash with Odin
5. Download recovery.img
6. Install TWRP app
7. Install TWRP
8. Choose file to flash.(don't select device)
9. Select recovery.img.
10. Reboot to recovery
11. Wipe, format data, type YES.
12. Advanced, terminal.
13. Type multidisabler (twice).
14.Reboot to recovery
15. Backup boot, data, super and dtbo
Well this time a new issue appeared. After step 10, the phone tries to boot into recovery. After the boot logo, the screen goes black. First, I thought the phone turned off itself. But pressing the power button doesn't turn it on again. Interestingly, when I connect the phone to PC, the phone seemed to be on. A device named "SM-127F" (though my phone is SM-127G) was found in "This PC". Running:

adb devices

Shows my phone is connected. I think it actually rebooted in recovery, though the screen remains black.

To get to download mode again, I had to press Power button + Volume down keys to shut it down, then pressed both volume keys.
 
Last edited:

tonyniu2008

Member
Aug 25, 2021
13
2
Well this time a new issue appeared. After step 10, the phone tries to boot into recovery. After the boot logo, the screen goes black. First, I thought the phone turned off itself. But pressing the power button doesn't turn it on again. Interestingly, when I connect the phone to PC, the phone seemed to be on. A device named "SM-127F" (though my phone is SM-127G) was found in "This PC". Running:

adb devices

Shows my phone is connected. I think it actually rebooted in recovery, though the screen remains black.

To get to download mode again, I had to press Power button + Volume down keys to shut it down, then pressed both volume keys.
same here, but i can go adb shell, and twrp command seems working

I can wipe, format, all return ok, but flash GSI lineageOS fails, any ideas?
 
  • Like
Reactions: mdbshuvo

physwizz

Senior Member
Sep 16, 2013
3,307
727
Sydney
Well this time a new issue appeared. After step 10, the phone tries to boot into recovery. After the boot logo, the screen goes black. First, I thought the phone turned off itself. But pressing the power button doesn't turn it on again. Interestingly, when I connect the phone to PC, the phone seemed to be on. A device named "SM-127F" (though my phone is SM-127G) was found in "This PC". Running:

adb devices

Shows my phone is connected. I think it actually rebooted in recovery, though the screen remains black.

To get to download mode again, I had to press Power button + Volume down keys to shut it down, then pressed both volume keys.
Try this one
 

Attachments

  • ofox-a12s-u2.zip
    31.6 MB · Views: 4

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Afaneh TWRP modified by physwizz
    For baseband u3 & u4
    Choose u3 or u4 from below

    Download tar file.
    Extract recovery.img from tar file

    Method 1.
    If you have already installed recovery and decrypted.
    1. Boot to recovery.
    2. Install recovery.img
    3. Choose recovery partition
    4. Reboot to recovery

    Method 2.
    1. Download firmware
    2. Extract ap file.
    3. Patch with magisk
    4. Flash with Odin
    5. Download recovery.img
    6. Install TWRP app
    7. Install TWRP
    8. Choose file to flash.(don't select device)
    9. Select recovery.img.
    10. Reboot to recovery.
    Go to part B

    Method 3.
    1. Download recovery tar
    2. Download vbmeta disabled tar
    3. Connect phone to PC
    4. Go to Download mode
    5. Flash recovery tar into ap with Odin
    6. Flash vbmeta disabled tar into userdata with Odin

    Part B
    7. Reboot to recovery.
    8. Wipe, format data, type YES.
    9. Advanced, terminal.
    10.Type multidisabler (twice).
    11.Reboot to recovery
    12. Flash Magisk for root(only for method 3)
    13. Backup boot, data, super and dtbo

    @physwizz
    1
    Well this time a new issue appeared. After step 10, the phone tries to boot into recovery. After the boot logo, the screen goes black. First, I thought the phone turned off itself. But pressing the power button doesn't turn it on again. Interestingly, when I connect the phone to PC, the phone seemed to be on. A device named "SM-127F" (though my phone is SM-127G) was found in "This PC". Running:

    adb devices

    Shows my phone is connected. I think it actually rebooted in recovery, though the screen remains black.

    To get to download mode again, I had to press Power button + Volume down keys to shut it down, then pressed both volume keys.
    same here, but i can go adb shell, and twrp command seems working

    I can wipe, format, all return ok, but flash GSI lineageOS fails, any ideas?
    1
    Contact afaneh here.

    1
    The same thing happened as previous, the screen goes black. I can run all sorts of adb commands. Any thoughts?
    M12 needs its own twrp
    1
    same issue, just curiosity, is that just GUI issue or it is not actually working, can i futher the task by command line?