yashsingh1/xdaforums huggingface dataset:
[General Topics] anthonywags:
I have the sm-s146vl will this work? It has the mediatek mt6833 as well.
[General Topics] Belug:
Hi @leonardo.silva.borges and @physwizz ,

I've been trying that method too, I was able to find the /vendor/etc/fstab.*** (it was fstab.s5e8545 for me. I also was able to remove the line with encryption. The part that I don't understand is how to use that new fstab, the guide talk about replacing one fstab with the modifed one, but the /vendor mount is read-only.

I've tried replacing the /etc/fstab from twrp and then format, reboot recovery, reboot system, but I still get an encrypted /data partition after that.

Is there a specific place to copy the new fstab, or a way to mount vendor in read-write?

thanks.
[General Topics] physwizz:
Try this

1. Reboot to recovery.

2. change data partition to ext4

3. Reboot to recovery.

4. Wipe, format data, type YES.

5. Advanced, terminal.

6.Type multidisabler (twice).

Or flash samsung multidisabler zip

7.Reboot to recovery and change data back to f2fs
[General Topics] Belug:
I'm willing to try, but the step 4 doesn't explain which file to replace with the new fstab. I've tried replacing the one directly in /etc, but it's reset after any type of reboots. I've replaced the one in the system partition and that sent the phone into a reboot loop, I had to reflash the original firmware.
[General Topics] physwizz:
Post#327 has no step 4
[General Topics] Belug:
Since you started at step 5, I suposed that you continued after the step 4 of this guide that was the base of my first post https://t.me/physwizz2/799
[General Topics] physwizz:
No.

It was copied from my method 3 list.

I've renumbered now
[General Topics] Belug:
Thanks, That got me way farther, but I just realized that the SM-A146M isn't compatible with A/B GSI roms since it's not supporting seamless updates... so it looks like I can't do anything with that for the moment.

Thanks a lot for the help.
[General Topics] Cyanogen456:
Hello, how can I fix the “The file system is read-only” error and is it possible? I was going to edit build.prop to include camera2api, but it didn't work out in any way. I got root, but in fact I can’t do anything. S145-F
[General Topics] physwizz:
Try from twrp
[General Topics] Cyanogen456:
It didn't work through TWRP either. Termux, adb, root explorer also did not work. And probably the magick modules are not installed, although they do not give an error. And, perhaps somehow related, data is not mounted in TWRP unless you change the file system type back and forth. I tried different ways to mount the system, it didn’t work
[General Topics] physwizz:
You need to format data.

1. Reboot to recovery.

2. change data partition to ext4

3. Reboot to recovery.

4. Wipe, format data, type YES.

5. Advanced, terminal.

6.Type multidisabler (twice).

Or flash samsung multidisabler zip

7. Reboot to recovery and change data back to f2fs
[General Topics] Cyanogen456:
After loading into the system, and then into recovery, the date is again unavailable. And the main problem is still the inability to edit files, this problem, as I understand it, appeared in all androids from version 10.
[General Topics] teraxly:
hello im new to xda forums

can someone help me with my a20e i tried to flash twrp but now im stuck on download mode and it says:Error validating footer and then its some text but i cant see it bc of the camera

and vbmeta and a code

i searched everywhere so please help me fix it
[General Topics] physwizz:
A20e forum is here

Samsung Galaxy A20

xdaforums.com
[General Topics] SUMAQ:
I need help my model is Samsung SM-A146U

and I can’t unlock the bootloader, does anyone have an exploit or some way to unlock it?
[General Topics] Ibrahim117:
Hello! I have samsung M14 5G SM-M146B wanting to flash GSI rom ,

Baseband: M146BXXS3BWL1

Indian model,

I have attached recovery and super (recovery if needed), Pls see what you can do
[General Topics] physwizz:
Unzip the tar file
[General Topics] Ibrahim117:
Do I need to flash any vbmeta or anything and how do I flash it
[General Topics] Ibrahim117:
your tutorial is confusing lol

edit: do i patch vbmeta in magisk and do i flash them separatly or i pack the twrp and patched vbmeta together in that tar file?
[General Topics] brød:
So the a145p kernel works on the a145r model, right?
[General Topics] Ibrahim117:
i

got an error saying: SV REV. CHECK FAIL(VBMETA) DEVICE 0X3 BINARY 0X0 even though i installed the S3 binary and magisk says that no boot detected when trying to patch vbmetaa
[General Topics] physwizz:
Patch the ap firmware using delta magisk 25.1
[General Topics] Ibrahim117:
Then I extract (boot and) vbmeta and add them together to the tar file?

Edit: twrp tar file
[General Topics] TsgEfka.:
Did yall get touch working on SM-A145R? I dont have a USB-OTG mouse sadly. currently using fastboot patched recovery.
[General Topics] Ibrahim117:
how did you do that because i keep getting erros on patching recovery
[General Topics] Ibrahim117:
nope, tried patching ap but it said no boot disk detected..... then i tried patching boot first then flashing to get root but EVEN THEN root it dosent work its in a sort of a bootloop like situation
[General Topics] physwizz:
Try canary magisk
[General Topics] physwizz:
There is a twrp where touch works
[General Topics] Ibrahim117:
Tired everything @physwizz bht no it doesnt work, it's mostly the vbmeta error, even tried patching that and adding to the tar file but no luck
[General Topics] physwizz:
A145f kernel for Android 14

Install boot.tar from odin or boot.img from twrp
[General Topics] Ibrahim117:
mine is M14
[General Topics] physwizz:
M145f?
[General Topics] Ibrahim117:
no, mine is M146B (5G Varient)
[General Topics] physwizz:
A146B A146M kernel

Android 13

No root

Flash tar from Odin or boot.img from twrp.

For root patch with Magisk canary
[General Topics] Ibrahim117:
do i just straight up flash it in AP port renaming it to boot.tar?
[General Topics] physwizz:
No need to rename
[General Topics] Ibrahim117:
i found a post to disable vbmeta now trying to flash twrp hope it works
[General Topics] Ibrahim117:
i straight up flash it in AP i dont want to brick it
[General Topics] Ibrahim117:
im running android 14 is it ok to flash it?
[General Topics] physwizz:
No.

Wait
[General Topics] physwizz:
A146B A146M kernel

Android 14

No root

Flash tar from Odin or boot.img from twrp.

For root patch with Magisk canary
[General Topics] physwizz:
M146b M146M kernel

No root

Flash tar from Odin or boot.img from twrp.

For root patch with Magisk canary
[General Topics] Ibrahim117:
Support for Android 14 right?

edit: after flashing it, will it auto reboot into one ui and then i can flash twrp?
[General Topics] Ibrahim117:
got an error...

what i did was i extracted the img file from the kernal (M146B) and changed into boot.tar and it failed.

but if i try to flash directly without any extracts, its stuck at the img (included pic shows)
[General Topics] physwizz:
See Post #1 for all links
[General Topics] Ibrahim117:
ok i have flashed A146B kernal now i will try to flash twrp itself
[General Topics] Ibrahim117:
nope, it didnt work.... ill try A146B twrp see if it will work or not
[General Topics] Ibrahim117:
i give up... it is a horrible task to get TWRP working, let alone not even patched fastboot recovery will work.. :(
[General Topics] physwizz:
You on android 13 or 14?
[General Topics] Ibrahim117:
14
[General Topics] physwizz:
Did you use Gabriel's twrp?
[General Topics] physwizz:
What do you mean.

It DOES work.

It just needs to be refined.

You also need to install correctly by doing factory reset and multidisabler
[General Topics] physwizz:
A145P A145R twrp build2

For testing

Mtp added

Multidisabler added

Extra partitions

Bugs:

?

@physwizz
[General Topics] straightcore:
It won't start, it just restarts.
[General Topics] physwizz:
Ok.

I'll fix it
[General Topics] physwizz:
A145P A145R twrp build2b

For testing

Mtp added

Multidisabler added

Extra partitions

Bugs:

?

@physwizz
[General Topics] straightcore:
Same as previous :cry:

edit:

after commands adb reboot recovery, bootloop

I will try to completely wipe, flash the firmware

edit:

"No, it doesn't boot"
[General Topics] physwizz:
Hmmm

I think I made too many changes.

I'll do one at a time
[General Topics] physwizz:
Pm
[General Topics] wunleixin:
Bro do you have a twrp for SM-A146P Mediatek 5G:D much appreciated :D
[General Topics] physwizz:
Post#5

https://xdaforums.com/t/galaxy-a14-...stom-kernels-and-twrps.4558515/#post-88223247
[General Topics] wunleixin:
Sorry to disturb you bro🙇🏻‍♂️ there is a problem though it doesnt show anything inside the twrp recovery😄
[General Topics] wunleixin:
Its the same as this post bro i dont have any pictures on my device though but it was like this doesn't show anything bro🙇🏻‍♂️
[General Topics] straightcore:
I returned the phone to the seller today, so it doesn't bother me anymore, Samsung never again, I've never seen so much bloatware :D
[General Topics] wunleixin:
Yeah true bro samsung has lots of bloatware though the good thing about samsung its so easy to adjust things😄 specially beginners like me😄
[General Topics] wunleixin:
Though i really like to install some twrp recovery on this phone and try custom kernels specially this one caught my eye physwizz😇
[General Topics] physwizz:
I don't understand.

What do I need to fix
[General Topics] wunleixin:
sorry i didn't specify the problem clearly bro :D but here it is bro can you tell me what am i going to do about it :) thank you in advance bro :D
[General Topics] physwizz:
Which version?

Is touch working?
[General Topics] wunleixin:
Yes bro touch working, and what do you mean by which version bro? android version? twrp version?
[General Topics] Ibrahim117:
Where is that
[General Topics] Ibrahim117:
I care less about this phone,im getting a Redmi note 9 , it's hell flashing twrp on M14
[General Topics] physwizz:
This kernel is for android 13
[General Topics] physwizz:
My mistake.

He did one for A146B
[General Topics] TsgEfka.:
If you have an android 14 stock rom (and a r model of the sm-a145r, text me in discord)
[General Topics] TsgEfka.:
Alright, thank you so much, im gonna try it at home.
[General Topics] TsgEfka.:
(it wasnt me that patched the recovery, one of my friends did)
[General Topics] TsgEfka.:
Yea uhh so odin just crashes trying to flash it
[General Topics] Valfore:
hi Physwizz,

i've attempted to install kernel for A146P and i'm getting a boot loop

Running

- Stock Android 13 One UI rom (also tried Pixel OS 13 GSI)

- Magisk v27 installed prior to installing the Kernel (was booting fine with Magisk)

- Installed Kernel via ADB

- Formatted Data, Cache and Dalvik cache

just to confirm, my model name in settings says SM-A146P/N, i just want to be sure that isn't an entirely different model cause i couldn't find anything about it so i assumed it was just a SM-A146P

Thanks in advance
[General Topics] TsgEfka.:
Did you wipe the system too? Maybe you did something called dirty flash
[General Topics] physwizz:
I'm not sure why its not booting
[General Topics] Cyanogen456:
Is there a way to completely backup the device? I can’t do this through recovery because I can’t mount data
[General Topics] Cyanogen456:
I installed recovery with fastbootd and GSI firmware. However, a problem arose with the fact that touches do not work after the screen is locked, and also when entering bootloader mode

Only the inscription “entering fastboot” is displayed. How can I get my bootloader back?
[General Topics] physwizz:
You using twrp or patched recovery.img?
[General Topics] Cyanogen456:
I using patched recovery.img. It was necessary not to boot into the bootloader through recovery, but to hold down the volume buttons and connect the device to the computer. This problem has been resolved. But the main problem is the touchscreen not working on GSI firmware, and the network not working.
[General Topics] Ibrahim117:
Force restart
[General Topics] TsgEfka.:
i tried flashing it thru termux using dd, it flashes but when i reboot it just bootloops. btw my is the a145r variant not a145p
[General Topics] physwizz:
All of the ones mentioned in post#1 will work
[General Topics] Cyanogen456:
What are the advantages of physwizz cores?
[General Topics] physwizz:
I've been told it will allow you to use GSI without losing Sim card recognition
[General Topics] Ibrahim117:
did u find any fix for my mobilr (m14)
[General Topics] physwizz:
M146B M146M 5g Exynos 1330 (a14x)

kernel: post #371

TWRP: post #343
[General Topics] brød:
I have a problem, not with recovery but Odin, evey time i try to flash the ap, Odin crashes, no error message it just closes.

How do i fix this, is it problem with the phone, have i missed something, help!

Edit:

Trying to flash Twrp.
[General Topics] physwizz:
Try a different version of Odin
[General Topics] brød:
Will do
[General Topics] NEXT_U:
Doesnt work for me
[General Topics] itasterix:
Hello I have a SMA145R and look for TWRP

TWRP: post #143 & post #164

Nothing works

Can someone help me with a working TWRP??
[General Topics] physwizz:
What is your baseband?

Describe what happens
[General Topics] itasterix:
I have

Model	SM-A145R

maybe it is 4G version.

TWRP: post #143

I was able to install but not to use it, because it has no working touchscreen

TWRP: post #164

As other says, I tried to flash it but everytime odin crashes

without a working TWRP I can't root the phone

many tanks
[General Topics] physwizz:
1. Use a mouse if the touchscreen doesn't work

2. You can root without twrp

Root Method

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. Unlock the bootloader.

3. Download patched magisk for a21s

For Android 12 and 13 use delta magisk

Or delta magisk 26105 or canary magisk

4. Use zarchiver to extract the ap section from the firmware.

Method 1 (ap file)

5. Use magisk to patch the ap section.(install, select file to patch)

6. Flash the patched ap file using Odin.

7. Reboot.

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

9. Don't upgrade your magisk of you won't see the online modules

Method 2 (boot.img & vbmeta.img)

5. Extract boot.img.lz4 and vbmeta.img.lz4 from the ap file and compress them into a new tar file using Zarchiver and then patch that file.

6. Flash the patched ap file using Odin.

A127f examples

Exynos 850 Resources

Patched boot.img and vbmeta.img for a127f u5 Android 11 If you don't want root then delete boot.img before flashing @physwizz

t.me

Exynos 850 Resources

Patched boot.img and vbmeta.img for a127f UA Android 13 If you don't want root then delete boot.img before flashing @physwizz

t.me

Method 3 (no pc)

1. Install this termux on phone1

2. Setup storage

termux-setup-storage

3. Install this Heimdall Magisk module on phone1

Or install chroot Linux on termux and then install heimdall

4. Copy files for flashing to downloads folder of phone1

5. Connect USB otg cable to phone1

6. Connect phone2 to the USB otg cable using a normal cable.

7. Boot phone2 into download mode

8. On termux navigate to downloads folder.

9. type these commands

su

heimdall flash --BOOT boot.img --VBMETA vbmeta.img --verbose

@physwizz
[General Topics] itasterix:
Thank you so much for your support.

I'll give it a try

But there is no way to have a working TWRP for this phone?

It seems that TWRP from post #164 worked; so why odin crashes and can't install?

TWRP is important also for install GSI or other stuff.
[General Topics] physwizz:
I don't know why your odin crashed.

Try downloading the twrp again
[General Topics] itasterix:
TWRP now works but after install and flash vbmeta.tar and Disable_Dm-Verity_ForceEncrypt.zip there is no way to boot in system.

Maybe I'm flashing wrong version?
[General Topics] physwizz:
Disable dmverity force encrypt is for older phones prior to dynamic partitions
[General Topics] Account101:
I have a m14 and I got the patched recovery to work but twrp doesn't work
[General Topics] physwizz:
M146?
[General Topics] Account101:
Yes
[General Topics] physwizz:
What happens?
[General Topics] Account101:
The vbmeta error
[General Topics] physwizz:
If you don't patch the vbmeta.img you will get this error.

You need to use the correct magisk and check the patched ap file to make sure both boot.img and vbmeta.img appear.

If you still see vbmeta.img.lz4 then it's wrong
[General Topics] Account101:
I've been trying to root this device since September of 2023 and I've tried every magsik every vbmeta every recovery and every flashing methods and none works
[General Topics] physwizz:
Try this delta
[General Topics] Account101:
And yep doesn't work
[General Topics] physwizz:
Send me your tar containing boot.img.lz4 and vbmeta.img.lz4
[General Topics] itasterix:
I have installed TWRP and nothing else and it works

But TWRP is not able to mount any partition, so for example it fails to wipe.

Why it happens?
[General Topics] physwizz:
You need to format data.

1. Reboot to recovery.

2. change data partition to ext4

(Wipe, advanced wipe, select data, change file system)

3. Reboot to recovery.

4. Wipe, format data, type YES.

5. Advanced, terminal.

6.Type multidisabler (twice).

Or flash samsung multidisabler zip

7. Reboot to recovery and change data back to f2fs

@physwizz
[General Topics] itasterix:
Thank you, it worked.

6.Type multidisabler (twice). does not work, I had to flash samsung multidisabler.

It tells me that multidisabler is not a command ...

But that's fine
[General Topics] itasterix:
When I just boot into TWRP I see this errors.

there are still troubles ..
[General Topics] Account101:
You already tried this like 3 times bro might as well jus give up
[General Topics] Walterkom:
man. touch version not working model a145R. odin error. Could you fix iT?
[General Topics] physwizz:
I didn't build it
[General Topics] physwizz:
Which twrp?
[General Topics] itasterix:
the one from post 143

Galaxy A14 (SM-A145 and SM-A146) Custom Kernels and TWRPs

Galaxy A14 ========= A145P A145R 4g Mediatek MT6769 (a14m) Kernel: post #1 TWRP: post #143 & post #164 A145f A145m 4g Exynos 850 (a14) Kernel: post #359 TWRP: post #6 A146B A146M 5g Exynos 1330 (a14x) Android 13 Kernel: post #363 Android 14...

xdaforums.com
[General Topics] physwizz:
I'll look at it

emmc and system_root issues
[General Topics] physwizz:
Test v2

Is your device rooted?
[General Topics] itasterix:
Thank you so much, I'll give a try as soon as I can.

Today I'm very busy, I'll let you know.
[General Topics] TsgEfka.:
i found how to fix the crash in odin, open the tar file and find the img, extract it, rename to recovery and repack to a tar using 7zip and compression method as Store, but i flashed it and it just freezes on the samsung screen, doesnt show that bootloader unlocked warning.
[General Topics] TsgEfka.:
No pain no twrp.
[General Topics] TsgEfka.:
Stop lying, get your firmware files, go to AP, open 7zip zstd, extract the boot. push it to phones sscard, install magisk, patch boot, pull the patched boot file to pc, rename the file to boot, repack it to a tar with the Store compression, flash it in odin. good luck.
[General Topics] TsgEfka.:
And if you have android 14 firmware, and SM-A145R, i can hook you up with a fastbootd patched recovery.
[General Topics] itasterix:
In the past I have done the same as you, to try if it works and I had the same result.

It seems that this recovery is not compiled for this phone.
[General Topics] TsgEfka.:
There is a recovery for this. Its in github and the user is ForForksSake or something just type in galaxy a14 recovery tree
[General Topics] itasterix:
GitHub - forforksake/recovery_device_samsung_a14m: Custom Recovery Tree for Samsung Galaxy A14 - A145P - Android 13 - MediaTek MT6769V/CT Helio G80 processor

Custom Recovery Tree for Samsung Galaxy A14 - A145P - Android 13 - MediaTek MT6769V/CT Helio G80 processor - forforksake/recovery_device_samsung_a14m

github.com

I think is this!

I'll give it a try.

Thanks ;)
[General Topics] Account101:
Sorry i meant to get twrp for it not to root jt
[General Topics] itasterix:
Excuse for my late, I was out for work.

Tested now and after flash as AP, I can't boot to TWRP.
[General Topics] itasterix:
What I Have found on this link was unusable.

Not flashable or not working (does not boot).

Until today there isn't any full working TWRP for my SMA145R.
[General Topics] MMCM66:
Is there any way to install large gsi roms

On sm-a145p??
[General Topics] physwizz:
Use my twrp instead
[General Topics] physwizz:
Use fastbootd
[General Topics] itasterix:
your TWRP does not work as I have already written.
[General Topics] physwizz:
My twrp does work with a mouse

You can also use the recovery patched for fastbootd
[General Topics] itasterix:
Maybe you forget about this post:

Galaxy A14 (SM-A145 and SM-A146) Custom Kernels and TWRPs

Galaxy A14 ========= A145P A145R 4g Mediatek MT6769 (a14m) Kernel: post #1 TWRP: post #143 & post #164 A145f A145m 4g Exynos 850 (a14) Kernel: post #359 TWRP: post #6 A146B A146M 5g Exynos 1330 (a14x) Android 13 Kernel: post #363 Android 14...

xdaforums.com
[General Topics] tsjohnson243:
I ran into the same thing but mine is stuck inevitably in brom mode. I read somewhere on here that the A13 and A14 were a lot the same. So I tried using the scatter from the a13 and the roms from the A14 (A146U to be more exact) which, unpacked yielded a mt6833 ufs scatter. I had noticed that the mt6833 that was the result of the a136u firmware was mt6833 emmc scatter. So tonight I search the internet for the mt6833 ufs scatter. So I can jolt it out of brom mode.
[General Topics] sahand99:
Is it for A145f 5g Is there recovery?
[General Topics] physwizz:
Good luck
[General Topics] devhunter1:
I build a kernel SU supported kernel for SM-A146B check it out here
[General Topics] physwizz:
Link added to post #1
[General Topics] devhunter1:
You posted it to a145f a145m instead of a146b 😅
[General Topics] Account101:
How do i enable adb logging on boot?
[General Topics] physwizz:
Knowledge Base

kb.vmware.com
[General Topics] Account101:
That doesnt work on boot u have to modify the kernel to enable it
[General Topics] TsgEfka.:
So, did anyone get touch working yet on SM-A145R?
[General Topics] bsauke:
i need help i tried to flash my a145r with evolution x and now its bootlooping and i cant get into twrp is it bricked or can it be saved?
[General Topics] physwizz:
Reboot to download mode and flash stock firmware
[General Topics] bsauke:
cant get it into download mode
[General Topics] 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.

If it's really bad wait until the battery wears down and try then

Then use Odin to flash official firmware.

@physwizz
[General Topics] zarkotom:
Greetings, has anyone achieved installing permanently a GSI on the A145R?

I must have tried all methods by now, and I've gotten as far as a bootloop on AOSP.

Any info on a touch twrp being in the works? Only the mouse version works for me.

Are the kernels posted in the begining of this thread required for a GSI to boot? I have not messed with them. Any help appreciated!