yashsingh1/xdaforums huggingface dataset:
[Redmi Note 10 Pro] Miui 13:
I see you didn't trust me 😅 I'm starting to doubt what I did. finally speaking of surpluses I opened my phone to check is unfortunately cella overflowed I have to pay with a container of alcohol .

But do you think the alcohol is really dangerous for the motherboard think you that I said obligatorily to use the isopropyl alcohol to rate the components of my phone.
[Samsung Galaxy A12] physwizz:
Root Method

https://xdaforums.com/t/root-for-all-exynos-850-devices.4367799/

Twrp and Kernel

https://xdaforums.com/t/custom-kernel-and-recoveries-for-m127f.4361841/

Latest twrp

https://xdaforums.com/t/afaneh-twrp-for-m12-a12s-final.4371383/

Root Method in post#2

afaneh92 TWRP in post #2

GSIs in post#3

Kernel Version 2 & 3 in post #5

Kernel version 4 in post #11

Install kernel without TWRP in post#21

TWRP (new) in post#6

Skyhawk recovery (new) in post #22

Orange Fox (new) post #24

Note

All of these procedures have been tested on the a127f with u2 baseband

They will probably all work on the m127f as well.

@physwizz

Recoveries for U2 baseband - Working

https://xdaforums.com/t/recovery-un...a12s-sm-m127x-sm-a127x.4361255/#post-85956195

Recoveries for U3 baseband - Still being tested

https://xdaforums.com/t/recovery-un...m-m127x-sm-a127x.4361255/page-2#post-86021287

Latest

Release Twrp a12s · physwizz/a12s-TWRP-11-dt

TWRPs & Other Recoveries for Exynos 850 https://t.me/a127f_res/54

github.com

All recoveries contain physwizz Kernel
[Samsung Galaxy A12] physwizz:
Root Method for all Exynos 850 devices.

A. Root part 1 - Preparing the file

I accept no responsibility for bricked phones but I will help you to recover.

1. Download the exact firmware (including upgrade date) for your device from https://samfrew.com or https://www.samfirmware.net/ or https://www.full-repair-firmware.com/search?q=A20 or

Samsung Firmware Download - Lastest official firmware update

Samsung Firmware Download ⭐ Official and fast update ⭐ Lastest and old version ⭐ Max speed and free download ⭐ Best Samsung Galaxy website

samfw.com

2. Download patched magisk

3. Use zarchiver to extract the apxxxxxx....md5 section from the firmware.

4. Use patched magisk to patch the ap section. Allow the extra files.

Click on install and select patch file.

The output will be a patched tar file.

B. To Unlock Bootloader

1. Activate developer options by going to settings, about phone, software information and tapping on build number 7 times.

On phone developer options in settings allow OEM unlocking and enable usb debugging by moving both

sliders RIGHT

If you don't see the OEM unlock

-Disable Auto System Update

-Then disable Automatic date and time (Found in General Management) > then set the time back 14 days

- Connect to the internet

-Go to software update then check for update and wait a long time till it registers the device on server

-Once it's registered the OEM Unlock should be visible in the Developer Options

then connect phone to PC

2. Reboot into download mode by holding down both Vol up and Vol down

(You might need to long press vol up to unlock bootloader)

then press vol up to continue

Reboot and skip through the setup process.

C. Root part 2

Reboot into download mode again

6. Flash the patched ap tar file using special Odin.

https://xdaforums.com/attachments/odin3-v3-14-1_3b_patched-zip.5158507/

(Click on the ap button and choose the patched tar file. Press start)

7. Reboot.

8. Skip all the way through the set-up process.

D. TWRP installation for a127f and m127f (may not work for a127f/DSN)

Make sure your system has fully completed the installation process and all apps have been installed

1. Download the afaneh92 zip file.Unzip the tar from the zip.

2. Extract the recovery.img

3. Install TWRP app form the playstore

4. Choose Install TWRP

5. Choose file to flash.(don't select device)

6. Select recovery.img.

7. Reboot to recovery.

8. Mount system (Press mount then choose system)

9. Tap on Wipe, tap on format data, type YES. (Not just wipe data)

10. Tap on Advanced then terminal.

11. Type multidisabler. Wait for it to finish. Type multidisabler again. Go to main menu

Reboot to recovery (tap on reboot, tap on recovery)

Ignore the keyrefuge error message.

12. Reboot and go completely through the setup process. Wait for downloading to finish. This may take up to an hour. You can see the progress by pulling down from the top.

13. Reboot into recovery and Backup boot, data, super and dtbo

@physwizz
[Samsung Galaxy A12] physwizz:
Installing a GSI

1. Unzip img file

2. Backup boot, data and super from TWRP.

Wipe data from twrp

3. Install IMG.

4. Install my kernel

5. Reboot

I have installed lineages and pixel experience

List of GSIs

Generic System Image (GSI) list

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com

@physwizz
[Samsung Galaxy A12] physwizz:
physwizz a12s kernel version 2

Based on a127f

For OneUI 3.1

(May also work for GSIs)

Samsung securities disabled

More CPU governors

Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil

Optimised for performance

Overclocked for performance

Underclocked for battery

CPU: 247MHz - 2210MHz

Kernel

physwizz - Repositories

physwizz has 284 repositories available. Follow their code on GitHub.

github.com

@physwizz

physwizz a12s kernel version 3

Based on a127f

For OneUI 3.1

(May also work for GSIs)

Samsung securities disabled

More CPU governors

Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil

Optimised for performance

Overclocked for performance

Underclocked for battery

CPU: 247MHz - 2210MHz

lz4 compression added to zram

For Zram

Go to HKtweaks- virtual memory

Turn off zram

increase swappiness to 200

choose lz4

increase size to 4096

turn on Zram

Kernel

physwizz - Repositories

physwizz has 284 repositories available. Follow their code on GitHub.

github.com

@physwizz
[Samsung Galaxy A12] physwizz:
TWRP

From @(Sri Lanka)

(MTP not working)

Installation

Unzip files

Extract recovery.img

Method 1.

If you have already installed afaneh92 TWRP 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 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

Or dmverity

13. Reboot to recovery

Done

@physwizz
[Samsung Galaxy A12] honzazkrumlova:
Hi,

I am quite noob, IT but not developer, with some knowledge of linux, rooted so far 3 devices with some imagination whats the process about. As far as I know, kernel and recovery are those special partitions, I should know exactly what am doing, because I can brick my phone almost permanently. So pardon me for basic question (I can of course study in another thread, but still will not be sure its 100% accurate for this device)....

6. Install TWRP - some detailed instruction will be welcomed (lasttime I saw TWRP, it was onetime run by adb/fastboot command with red colored mention DO NOT enable Write, stay read only) - BL, AP, CP?

9. Mount etc.... some details?

4. Install kernel .... some details?

And just to ensure myself understanding, TWRP become permanent in recovery partition, updated kernel comes with some optimizing - but no special changes has to be made for whole firmware. And A12s vs/aka A127F/DS versus my device A127F/DSN .... its not important difference?

Thanks
[Samsung Galaxy A12] physwizz:
Thanks for the feedback.

I'll add more detail shortly
[Samsung Galaxy A12] physwizz:
I hope the method is now OK.

please contact me if any further help is needed

Exynos 850 Resources

A127 M127 F127 A135 M135 A217 A047

t.me

Exynos 850 Testing & Development

A127 M127 F127 A135 M135 A217 A047 E135

t.me
[Samsung Galaxy A12] physwizz:
More detailed root and twrp instructions in post #2
[Samsung Galaxy A12] physwizz:
physwizz a12s kernel version 4

Based on a127f U1 binary

For OneUI 3.1

( also works for GSIs)

Samsung securities disabled

More CPU governors

Conservative, On-demand, Userspace, powersave, performance, energy_step, shedutil

Optimised for performance

Overclocked for performance

Underclocked for battery

CPU: 130MHz - 2210MHz

lz4 compression added to zram

Ready for spectrum installation

Installation

Method 1

Install from TWRP

Method 2

Install adb tools on pc

Connect to PC

Copy zip file to adb folder on pc

Open terminal on pc

Navigate to adb folder

Type

adb sideload name.zip

For Zram

Go to HKtweaks- virtual memory

Turn off zram

increase swappiness to 200

choose lz4

increase size to 4096

turn on Zram

Kernel

physwizz - Repositories

physwizz has 284 repositories available. Follow their code on GitHub.

github.com

@physwizz
[Samsung Galaxy A12] IchZerowan:
Thanks! I finally got the TWRP on my SM-A127F, though I cannot perform the last step: I get errors "Failed to mount '/data' (Invalid argument)" and "Failed to mount '/keyrefuge' (Invalid argument)". Any ideas?

UPD: not sure if it's OK, but I changed /data filesystem to ext4 and it worked well.
[Samsung Galaxy A12] physwizz:
Format data

Type yes

Then GO to advanced

terminal and type multidisabler twice

Reboot to recovery

Ignore keyrefuge
[Samsung Galaxy A12] honzazkrumlova:
Can you post, how exactly you did it (changed to ext4)

Based on your mention, I tried TWRP, WIPE, Advanced wipe, Change or repair filesystem, Change, to EXT4. No luck.
[Samsung Galaxy A12] physwizz:
I didn't change mine to ext4.

I just left it as it was
[Samsung Galaxy A12] IchZerowan:
I tried exactly the same steps you mentioned, and it worked.
[Samsung Galaxy A12] honzazkrumlova:
Well, but...

In original physwizz instructions, there are steps and I would be greatfull to provide some details

Those key moments

0. "Install all apps, etc"

A. Wipe / Format Data / yes

B. Multidisabler twice

and your workaround C. Change FS to EXT4

My experiments was like>

0+A+B... system bricked (or 10min long bootloop)

0+A+B+C ..... bricked (but TWRP at least sees Internat storage with 50GB capacity)

Then, I said myself, well, C mean I wiped, never mind, lets alter it like

A+B+C+ call clean wipe (but on ext4 Data partition.... but how?)

Well, tried> A+B+C+ Wipe, Wipe Factory Reset.

no change, bricked.

I also tried/experiemnt

A+restart .... bricked

A+B+restart .... bricked

B+restart .... bricked

So, can you please write little bit details?

Thanks!
[Samsung Galaxy A12] IchZerowan:
I currently wasn't able to run any GSIs on my phone, so not sure what to do next. I think, backing up /data is useless since it's empty (I tried ls from the terminal). Next attempt I gonna restore the state using backup or even odin, and back up only boot, super, and dtbo without changing the FS. At least, the default OneUI boots this way, so I hope one of the GSIs will boot as well. I gonna experiment on this a bit later.
[Samsung Galaxy A12] honzazkrumlova:
Well, I have had hope, when you written "worked". Hope that mounting /data is possible.

Well, backup /data ist not useless now, its not possible, because if you try, falls into error because unmountable.

Lets say, you wanna backup those special partition in case, your experiment with kernels go wrong, so far so good.

My intention was pretty less advanced, I wanna backup data for a reason - well, these days some apps goes way I dont want you, I would use /data backup in case, I want restore previous version of some app. That + regular backup, why backup data/files/setting, when I can backup whole system, lets say once a month.

Anyway, changing /data partition to ext4 DID something and CHANGED something (capacity of internal storage), so its maybe workaround about where the solution stays, I have found some older thread about similar problem in TWRP and solution that changing to EXT2, then EXT4 would help. Will experiment and let you know, if succeed.
[Samsung Galaxy A12] physwizz:
Some screenshots from afaneh92 twrp.
[Samsung Galaxy A12] physwizz:
Ok

Final attempt
[Samsung Galaxy A12] hezenscs:
black screen, screen flashing few times. Sorry mate, will stick to stock rom till TWRP ready
[Samsung Galaxy A12] physwizz:
Use wizzROM creator
[Samsung Galaxy A12] hezenscs:
which one ?

edit : nvm, i found it
[Samsung Galaxy A12] physwizz:
Also try my kernel

https://xdaforums.com/t/a12s-u3-u4-kernel-exynos-850.4375639/
[Samsung Galaxy A12] hezenscs:
already, it's actually good. Ty
[Samsung Galaxy A12] hezenscs:
@physwizz how's the development ?

edit : tried your twrp u4 v5, it booted, but it stuck on "Failed to mount '/data' (Invalid argument)"
[Samsung Galaxy A12] hezenscs:
how to fix this @physwizz :
[Samsung Galaxy A12] physwizz:
There is another TWRP I can try
[Samsung Galaxy A12] hezenscs:
same problem with your v2, cant mount /data after formatting. It would actually flash ROM, but stuck at boot animation, not a bootloop
[Samsung Galaxy A12] gueladio67:
Hello. Look at if it is SM-A127FXXU4UAK1.

IF YES I CAN SEND YOU THE ROOT FILES AND EXPLAIN YOU HOW INSTALL GSI ROM ON IT. I root THIS UAK1 AND INSTALL GSI ROM AND MAGISK. THANKS
[Samsung Galaxy A12] physwizz:
https://xdaforums.com/t/root-for-all-exynos-850-devices.4367799/
[Samsung Galaxy A12] gueladio67:
Hi. I explain you how to use afaneh92 TWRP. install at first Orange fox rog, reboot to system. After put the afaneh92 twrp in your phone. Unroot it if you have root then reboot to orange fox recovery and install afaneh92 recovery. Go to the reboot tab an reboot to fastboot mode. Now go to the PC, put the afaneh92 recovery in the Minimal adb & fastboot folder and type cmd in task bar. Type : fastboot flash recovery recovery. img

Reboot to recovery and flash multidisabler.

After, backup only boot img. Then flash magisk 22.0 zip and reboot to system. Don't wipe anything.

You have install permanently afaneh92 recovery. It work find. I use this process, with afaneh twrp I install gsi ROM on sm-a12s, magisk. It work finely. Thanks.
[Samsung Galaxy A12] hezenscs:
which TWRP that you mean ?
[Samsung Galaxy A12] gueladio67:
Afaneh92 twrp 3.6.0_11-2 for sm-A127FXXU4UAK1/DS (a12s) and ofox-rog-phy-u4-a12s.
[Samsung Galaxy A12] gueladio67:
Voici les fichiers

Translated by GT: here are the files
[Samsung Galaxy A12] hezenscs:
finally figured how to install gsi

1 Flash ofox recovery

2 format and multidisabler

3 Unroot, and reboot to download

4 flash twrp

5 reboot to recovery

6 flash patched boot.img, gsi, and kernel

7 reboot to download mode

8 flash stock recovery

9 boot to recovery, and do factory reset

if you trying to flash another gsi, just do from step 3
[Samsung Galaxy A12] physwizz:
Have you tried this

1. Install Orange Fox

2. Decrypt the data. (Format and run multidisabler)

3. Reboot to recovery.

4. Install TWRP recovery.img into recovery partition.

5. Reboot to recovery.

6. Install GSI
[Samsung Galaxy A12] gueladio67:
Hello. In orange

In orange Fox recovery system slot don't exist.
[Samsung Galaxy A12] physwizz:
That's why you do step 4
[Samsung Galaxy A12] physwizz:
Installing a GSI

for a12s(a127f) and m12(m127f)

Download Android 11 GSI with GApps

1. Unzip img file

2.Wipe data from TWRP recovery

3. Install system.img into system partition

4. Install my kernel

5. Reboot

TWRP Trouble.

If you are having trouble installing afaneh92 TWRP, try this method.

1. Install Orange Fox

2. Decrypt the data (Format and run multidisabler)

3. Reboot to recovery.

4. Install TWRP recovery.img into recovery partition.

5. Reboot to recovery.
[Samsung Galaxy A12] gueladio67:
I have already install crdroid GSI ROM with the method I had explained. It works fine with magisk. Only the Mtp connection missed.

I've try your kernel's but it cannot boot in my device, I don't known why?

First I install orange fox rog recovery and reboot to system. But this recovery hasn't system IMG partition. Then I install via recovery your twrp 3.6 afaneh92 and flash it again in twrp fastboot mode using on my PC minimal adb&fastboot. Reboot to recovery again, flash multidisabler, reboot again to recovery and backup boot IMG only and flash magisk v22.0 zip then reboot to system without loosing any data. After that you're twrp afaneh92 3.6 work very well. I use it to flash the gsi ROM. Thanks

If you need I can explain you the process I use to flash the gsi IMG.
[Samsung Galaxy A12] physwizz:
I found the GSIs slow to respond and now I use my wizzROM Creator module
[Samsung Galaxy A12] gueladio67:
How to get and use this wizzROM.

It's with the Gsi which I've installed I works presently. Thanks for you're great jobs.
[Samsung Galaxy A12] gueladio67:
If

If you have solution for the MTP please help me. The device appears only when I enter into recovery.
[Samsung Galaxy A12] physwizz:
Gsi issue.

My kernel has mtp but not in gsi
[Samsung Galaxy A12] hezenscs:
Idk why, but GSI ended up with less RAM usage
[Samsung Galaxy A12] hezenscs:
Yup, this is what I've done, but I scared to reboot to system without factory reset, thats why I reflash stock recovery
[Samsung Galaxy A12] physwizz:
Lol.

Factory reset not needed.
[Samsung Galaxy A12] rogjr1986:
So I do have to ask on the splash screen on this one the splash was dark blue.. at least for my a127m it was so does it show up dark blue when you boot into it?
[Samsung Galaxy A12] physwizz:
Mine isnt dark blue
[Samsung Galaxy A12] judynar22:
Hellow how can i unlock network lock on rooting method?
[Samsung Galaxy A12] physwizz:
you can't
[Samsung Galaxy A12] Cherubabayao.:
Has no format option??
[Samsung Galaxy A12] physwizz:
Unlock oem
[Samsung Galaxy A12] Cherubabayao.:
How
[Samsung Galaxy A12] physwizz:
To Unlock Bootloader

1. On phone developer options in settings allow OEM unlocking and enable usb debugging by moving both

sliders RIGHT

If you don't see the OEM unlock

-Disable Auto System Update

-Then disable Automatic date and time (Found in General Management) > then set the time back 14 days

- Connect to the internet

-Go to software update then check for update and wait a long time till it registers the device on server

-Once it's registered the OEM Unlock should be visible in the Developer Options

then connect phone to PC

2. Reboot into download mode by holding down both Vol up and Vol down

(You might need to long press vol up to unlock bootloader)

then press vol up to continue
[Samsung Galaxy A12] Cherubabayao.:
Won't go into download mode
[Samsung Galaxy A12] physwizz:
To Escape the Black Screen of Death or Bootloop

To boot to RECOVERY MODE

Method 1

First connect phone to the PC for 30 minutes

Hold all 3 keys and release volume down when it buzzes.

Method 2

1. Plug in USB cable to PC

2. Hold down all 3 buttons on phone.

3. When it buzzes release volume down and plug in USB cable to phone.

Then restore your backup or install a ROM

To boot to DOWNLOAD MODE

Method 1

First connect phone to the PC for 30 minutes

Hold all 3 keys and release power when it buzzes.

Method 2

1. Plug in USB cable to PC

2. Hold down all 3 buttons on phone.

3. When it buzzes release power button and plug in USB cable to phone.

Then use Odin to flash official firmware.

@physwizz
[Samsung Galaxy A12] Ajaybabu07:
I try more then 20 times but not boot the gsi using your twrp
[Samsung Galaxy A12] arsfr:
There is a guide for it. I've done it a lot of times on the A127F (any binary) and even on the A125F (binary 2 and below)
[Samsung Galaxy A12] Ajaybabu07:
Provide me screen shot if you can from a127f if you are getting successful by using this thread which you tag me
[Samsung Galaxy A12] Ajaybabu07:
OK I try several attempt but not successful are you in telegram can you tell me there or you can write the steps how did you do that I follow your step reply me fast please
[Samsung Galaxy A12] Ajaybabu07:
I need help for Samsung a127f if you can help me bro
[Samsung Galaxy A12] arsfr:
Unfortunately I am back to One UI Rooted, but if you cannot access twrp or something, that must mean that you have to ask physwizz for a TWRP for whatever binary you are on, but if you can't boot the operating system, try using DSU Sideloader.
[Samsung Galaxy A12] Ajaybabu07:
I need help as you says you install several times by using this ideas my binary is u9 android 13
[Samsung Galaxy A12] Marinkovicc:
Hey, does this work on binary A or binary B?
[Samsung Galaxy A12] physwizz:
Yes

Release Twrp a12s · physwizz/a12s-TWRP-11-dt

TWRPs & Other Recoveries for Exynos 850 https://t.me/a127f_res/54

github.com
[Samsung Galaxy A12] Marinkovicc:
Can you provide me with tutorial how can I install twrp and setup everything so I can install gsi on my a12s binary S10/SA?
[Samsung Galaxy A12] Marinkovicc:
Thanks! I was able to install twrp but i ran through some troubles. So firstly multidisabler doesnt work, it just gives some error and encryption is still there. Sometimes it doesnt recognize sd card but i eventually got it working. It also gives some erros that it cant find system or something when i want to format everything but it also worked after some time. And it seems like system partition is so small that it can barely fit gsi on it, i cant even install LiteGapps. Also i tried to install LineageOS 20 by AndyYan and i left phone booting for about 2 hours and it never finishes, so thats bootloop. I then installed AOSP 14 by phhusson and it booted successfully but SIM cards didnt work so im back at stock rom. Do you maybe have solutions for all of this?
[Samsung Galaxy A12] physwizz:
There I a section in my Instructions about what to do if multidisabler doesn't work.

GSIs always have issues.

I Use debloated stock
[Samsung Galaxy A12] Marinkovicc:
Okay but is there something to do with being unable to install gapps because of small partition?
[Samsung Galaxy A12] physwizz:
Find a GSI with gapps included
[Samsung Galaxy A12] Marinkovicc:
Yeah i tried AndyYans Lineage OS with gapps and without gapps. Both of them were just stuck at the loading screen, i left it 2 hours and nothing was happening. I didn't flashed your kernel tho but i don't think that could be a problem cuz i think kernel was loaded before loading screen appeared.
[Samsung Galaxy A12] physwizz:
To install my kernel without TWRP

Install adb tools on pc

Connect to PC

Copy zip file to adb folder on pc

Open terminal on pc

Navigate to adb folder

Type

adb sideload name.zip
[Samsung Galaxy A12] physwizz:
SkyHawk Recovery Project

From @(Sri Lanka)

MTP not working

Installation

Unzip recovery.img

Method 1.

If you have already installed afaneh92 TWRP 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 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 or dmverity

13. Reboot to recovery

Done

Exynos 850 Resources

A127 M127 F127 A135 M135 A217 A047

t.me

@physwizz
[Samsung Galaxy A12] uluruman:
I can now totally confirm that the afaneh92's TWRP image, as well as edward0181's, does not work on the Vietnam-made SM-A127F/DSN: I've rooted it, installed TWRP app, flashed the recovery.img from the app and rebooted into recovery using adb. I'm still getting just endless reboots. So this time the experiment was clean and the "wrong key pressed at wrong time" factor was completely excluded. I'm just curious why any stock firmware and the stock recovery tools works just fine? I've already tried many different country-specific versions from that list and they all flash and work perfectly.

P.S.: By the way, I've built the latest Magisk from the git master and it works great, so no patched version needed.