Question A52 5G Bootloop after Flashing Magisk Patched boot.img - Samsung Galaxy A52 5G

I wanted to root my A52 5G (SM-A526B) i first unlocked the bootloader
then i downloaded my Firmware with Frija and patched the boot.img with Magisk then i went into download mode and flashed it with Odin
Odin gave me a Green PASS Message and i knew i needed to factory reset with recovery mode but i couldnt get into it then i got into a boot loop with the Samsung Galaxy Bootlogo
then i tried to flash Twrp with odin to factory reset because i couldnt get into the stock recovery mode Odin again gave me a PASS Message then i tried to get into recovery mode but it still didnt work and now im trying to flash Stock Firmware but cant get it to work what should i do
The picture is what happens when i try to boot please help me to flash stock firmware

When i try to flash Stock Firmware it fails at the very end on vbmeta.img

The a52 5g doesn't have twrp currently. Also, you might have flashed the incorrect firmware.
Plus, just for you to know, you do not need to do factory reset after flashing your firmware. What steps have you taken to flash this firmware? How did you patch magisk? Show the steps so we can help you cuz you might have done something wrong

Ok it seems that your mistake here is that you are trying to flash boot.img. so what you actually suppose to do is to download the firmware, take the AP file from the firmware(don't extract the file!). Then, move the file to your phone and download magisk on your phone. You will see that magisk is offering you to install magisk on the top corner of your screen. You need to choose to patch the file, the AP file. Once magisk done, on your file explorer(probably in downloads) a file called "magisk_patched xxxx.tar" (the xxxx representing the version of magisk). Take this file and copy it to your computer, and on Odin, instead of using the AP file, use the magisk file. Boom, done. Now first, we need to recover your phone to its original condition. Take the AP file and flash it(not the boot.img!)

DownBaddie said:
When i try to flash Stock Firmware it fails at the very end on vbmeta.img
Click to expand...
Click to collapse
Try flashing other parts of firmware, not just AP
i.e. BL, CSC and CP
But don't add home_csc (USERDATA).

If all fails, you can use EDL mode to flash firmware
How To Flash Qualcomm MBN Firmware Via QPST tool
If your device is based on Qualcomm’s CPU and you’re searching for an easy way to flash the device’s stock ROM, here ends your search. You just need the QPST tool and the instructions here to guide you. Follow the instructions below to get you started. Prerequisites: Qualcomm QPST tool –...
www.leakite.com

Related

Flash zip in download mode

Hey
Yesterday I flashed a boot logo on my SM-G928F in TWRP. After that my phone doesn't boot into system or recovery anymore - there's always a blackscreen. I only can boot into download mode.
I tried to flash a stock-rom via Odin but that didn't helped - the same blackscreen, because a stock rom does not replace the boot logo.
I think I have to flash the stock boot logo ( https://drive.google.com/file/d/1378RQ5w_vAAmnQ3HB0FymZXWIm12T0Mg/view ) , but thats a zip which I can't flash via Odin.
There a two ways in my mind which could work:
1. Getting a tar.md5 file with the stock boot logo.
2. Getting a tool which allows to flash zips in download mode of the phone.
I really hope that someone could help me with my big problem.
Best regards
DGB
Hey there
I recommend to flash the firmware again but this time after flashing firmware flash the twrp and flash the zip via adb sideload ( a feature present in TWRP) as by adb sideload one is able to flash zip files as well
Or i recommend you to get to know the combination of keys that will help you to directly enter into recovery
Hope it will work
And if there is any problem let me know
As in the internet there are various ways by which a person can flash the custom rom and custom recovery via odin
Look at this link:-
http://www.lineageosrom.com/2017/07/how-to-flash-custom-rom-via-odin.html?m=1
nr10prashant said:
Hey there
I recommend to flash the firmware again but this time after flashing firmware flash the twrp and flash the zip via adb sideload ( a feature present in TWRP) as by adb sideload one is able to flash zip files as well
Or i recommend you to get to know the combination of keys that will help you to directly enter into recovery
Hope it will work
And if there is any problem let me know
As in the internet there are various ways by which a person can flash the custom rom and custom recovery via odin
Look at this link:-
http://www.lineageosrom.com/2017/07/how-to-flash-custom-rom-via-odin.html?m=1
Click to expand...
Click to collapse
Thank you for your answer but that didn't worked. The problem is that flashing the stock firmware doesn't replace or repair the boot image. So I've got a never ending blackscreen when I want to boot in system or TWRP/Recovery and that means that I'm not able to configure ADB Sideload.
I can only boot into download mode, nothing else.
I think the jpg of the boot logo I've installed was corrupted so it can't be loaded
You are in download mode so you have to press all the keys including the home button and once the download mode closes then press the "volume up key and power key and also the home button and then your phone will automatically reboot into recovery.
I know, I tried that multiple times but it doesn't work. Blackscreen... only a never ending blackscreen. The download mode is the only thing taht works. I have to flahs the old boot logo via download mode... but i don't know how
Wait for the battery to be drained out completely and then do what i said earlier
nr10prashant said:
Wait for the battery to be drained out completely and then do what i said earlier
Click to expand...
Click to collapse
I did. but it didn't work, too
I really need someone who is able to integrate the stock boot logo into a custom rom which can be flashed via Odin... Or I need a tool which allows to install zips in download mode. I tried adb sideload again but it didn't recognizes my phone when its not in recovery.
I really think that my S6 edge + is nearly died :crying:
Try to flash the firmware with the samsung smart swith.....
This will 100% works!!!!!4
Inderpreets said:
Try to flash the firmware with the samsung smart swith.....
This will 100% works!!!!!4
Click to expand...
Click to collapse
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:
DGB100 said:
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:
Click to expand...
Click to collapse
Not even flashing a factory firmware (4 files with pit) with repartition option selected?
What about a combination firmware and then a full stock FW?
яι¢αя∂σ said:
Not even flashing a factory firmware (4 files with pit) with repartition option selected?
What about a combination firmware and then a full stock FW?
Click to expand...
Click to collapse
I only tried to flash stock firmware with AP in Odin... and I tried stock rom with re-partition.
Where do I get those 4 files? I need XEU for my SM-G928F. It would be very nice if you could give me a more detailed instruction for this because I never worked with PIT...
get samfirm v0.3.6
On the model you put sm-g928f, region XEU, tick the binary nature box and press "check update". Download the resulting file, that is a factory firmware to do repairs in a 4 files format: bootloader, pda or ap, modem or cp and csc!
You will get this file:
SM-G928F_1_20180305151001_nsg8uwd0sh_fac.zip
Put each file in the correct field in odin!
About combination firmware, it needs to be same binary version as stock firmware already programed on phone! if first number on firmware version is a 3, combination FW need to be also bin 3!
G928FXXS4CRB4 if is 4, you need comb fw also in bin 4! if you downgrade you get odin error and a softbrick!
Was checking if any comb. fw is available, but i find only paid files for your phone model!
яι¢αя∂σ said:
get samfirm v0.3.6
On the model you put sm-g928f, region XEU, tick the binary nature box and press "check update". Download the resulting file, that is a factory firmware to do repairs in a 4 files format: bootloader, pda or ap, modem or cp and csc!
You will get this file:
SM-G928F_1_20180305151001_nsg8uwd0sh_fac.zip
Put each file in the correct field in odin!
About combination firmware, it needs to be same binary version as stock firmware already programed on phone! if first number on firmware version is a 3, combination FW need to be also bin 3!
G928FXXS4CRB4 if is 4, you need comb fw also in bin 4! if you downgrade you get odin error and a softbrick!
Was checking if any comb. fw is available, but i find only paid files for your phone model!
Click to expand...
Click to collapse
Thanks it worked for me but now I need a pit-file. Do you now where I get it?
EDIT: I found a pit-file for myself. Thank you very much for your help!
HTML:
https://drive.google.com/file/d/0BzyeAt2hy6XednpHZmhRUmtOMFk/view
DGB100 said:
Thanks it worked for me but now I need a pit-file. Do you now where I get it?
EDIT: I found a pit-file for myself. Thank you very much for your help!
HTML:
https://drive.google.com/file/d/0BzyeAt2hy6XednpHZmhRUmtOMFk/view
Click to expand...
Click to collapse
It worked means you got your phone back to normal or you could get the firmware using samfirm?
Pit file is always inside csc file on a 4 files fac firmware. Use the pit on firmware because the pit from your link can be from a early version of android and have different bits for partition sizes!
EDIT: Here, got the combination fw for the binary 4. IF your phone is already ok, don't use this!
DGB100 said:
I know but Samsung removed this feature some months ago so I'm not able to do this
--- I know, it's from the German Samsung Support but it's a confirmation that Samsung removed this feature:
Click to expand...
Click to collapse
SmartSwitch still works for my G925v.
яι¢αя∂σ said:
It worked means you got your phone back to normal or you could get the firmware using samfirm?
Pit file is always inside csc file on a 4 files fac firmware. Use the pit on firmware because the pit from your link can be from a early version of android and have different bits for partition sizes!
EDIT: Here, got the combination fw for the binary 4. IF your phone is already ok, don't use this!
Click to expand...
Click to collapse
I got my phone back to normal so thank you very much!
I have the same problem on my j2 prime I can only goto download mode and in odin tried to install stock firmware but got write fail..can you please help me with this error

[SM-J530F] Can't flash back to stock ROM

I was using a custom OREO rom, and i tried to install another country's stock firmware (CYV) which had android OREO. Now my sim is not recognised, I am trying to flash the original stock of my carrier(COS) (Which had android 7) firmware but odin fails, and device shows SYSTEM REV. CHECK DEVICE 1 BINARY 0.
I can only use ODIN to flash the new (CYP) firmware.
Also after installing the CYP firmware it added on the boot a line Protected by knox which did not exist before, please I have tried everything? Is my phone bricked for good?
Hi , try this:
1. Download your stock firmware Android 7 if you have it skip this step
https://updato.com/firmware-archive-select-model?record=22DB920E54E011E89F15FA163EE8F90B
2. Once you download your firmware use 7-zip and rename end of firmware name tar.md5 to .tar and extract to desktop just recovery.img .
3. Now use 7-zip and recovery.img to archive recovery.tar .
4. Open Odin , click on AP and add recovery.tar , put your device in Download mode and flash with odin .
5. If you successfully flashed recovery just reflash after that full firmware .
If that problem is still there try DBT version .
https://updato.com/firmware-archive-select-model?record=31D0195852DA11E7963AFA163EE8F90B

Rooting Problem

I am trying to root my s10 lite by following this guide
https://forum.xda-developers.com/galaxy-s10-lite/development/how-to-root-galaxy-s10-lite-t4099777
Been trying for the past 3 days with no success
I have already unlocked my bootloader and downloaded the latest firmware available in my country (Do I have to download the stock one in order for this to work and then update ?)
Flashed the vbmeta_disabler.tar device rebooted to recovery did a factory data reset then powered phone off through recovery and reentered download mode. After that I flashed vbmeta_disabler again along with AP,CSC,CP and CSC files from latest firmware.
After that phone booted and afte the set up downloaded latest magisk manager (canary) . Then I transfered the AP file to the phone's internal storage and patched it using Magisk . Lastly I transfered back the magisk_patched.tar back to pc and tried to flash it with Odin along with BL,CP and HOME_CSC files.
It resulted in a bootloop .
I even tried to use the patched image from the telegram channel dedicated to s10 lite. Extracted the magisk_patched.tar and replaced the boot.img there with the one provided in the Telegram channel. After that using 7 zip I made a .tar file which tried to flash with Odin alongside the other files (BL,CP,HOME_CSC) but Odin crashed.
I tried to follow the exact same steps noted in the guide but with no success and I can't figurr out what I did wrong. Any help is greatly appreciated
Some Questions :
1. Auto reboot is left on on Odin should it be disabled ?
2. After flashing the patched.tar do I have to press a specific key combo to launch phone with Magisk ?
3. When I do manage to root it (optimistic approach) if I want to power off or restart during the boot is it required to press a key combo to boot with Magisk ?
4. After the rooting process can I use the stable Magisk Manager instead of the canary one cause I need Magisk Hide which I think the Canary one lacks ?
Thanks a lot !
wait on twrp, my guess its the wrong patched boot for the software your using

please help i am in trouble with my samsung galaxy tab a7 recovery

hello, i want to root my samsung galaxy tab a7 sm-t500
with magisk
I patch the firmware file, I flash everything is fine, I would like to start in recovery but its not wanting, I tell myself that it does not matter I start, I choose the region, the tablet restarts and its brand only the binary officials are allowed to be flashed in red.
Apparently, it's because I haven't factory reset the tab.
Thank you in advance. Greeting
(sorry it's done with google tarduction I speak french)
I assume that you have unlocked the bootloader. There is a thread with a ported twrp for the t500, if there is a problem with your recovery you could try twrp to resove the issue. However when you are flashing the patche firmware you are using just the ap file correct? Possibly try finding the latest firmware and flash the ap file, the bl file, and the csc file in thier appropriate places on odin. Afterwards make sure it boots. Then try flashing just the patched recovery. on reboot you get to a menu that says push power to continue from there after hitting power hold both vol up and power button till it boots into recovery (if you install twrp you will need to first install another file to let you install it, the instructions and download are located in the original post located here (https://forum.xda-developers.com/t/...laxy-tab-a7-10-4-2020-lineageos-18-1.4295985/) Good luck.
wizzdome said:
I assume that you have unlocked the bootloader. There is a thread with a ported twrp for the t500, if there is a problem with your recovery you could try twrp to resove the issue. However when you are flashing the patche firmware you are using just the ap file correct? Possibly try finding the latest firmware and flash the ap file, the bl file, and the csc file in thier appropriate places on odin. Afterwards make sure it boots. Then try flashing just the patched recovery. on reboot you get to a menu that says push power to continue from there after hitting power hold both vol up and power button till it boots into recovery (if you install twrp you will need to first install another file to let you install it, the instructions and download are located in the original post located here (https://forum.xda-developers.com/t/...laxy-tab-a7-10-4-2020-lineageos-18-1.4295985/) Good luck.
Click to expand...
Click to collapse
Very thanks you I've been looking for a long time
wizzdome said:
I assume that you have unlocked the bootloader. There is a thread with a ported twrp for the t500, if there is a problem with your recovery you could try twrp to resove the issue. However when you are flashing the patche firmware you are using just the ap file correct? Possibly try finding the latest firmware and flash the ap file, the bl file, and the csc file in thier appropriate places on odin. Afterwards make sure it boots. Then try flashing just the patched recovery. on reboot you get to a menu that says push power to continue from there after hitting power hold both vol up and power button till it boots into recovery (if you install twrp you will need to first install another file to let you install it, the instructions and download are located in the original post located here (https://forum.xda-developers.com/t/...laxy-tab-a7-10-4-2020-lineageos-18-1.4295985/) Good luck.
Click to expand...
Click to collapse
ho no ''Only the off binary are autorisite to flash'' help me
Help please

Samsung a315g/dsl dead

Hi am sick right now caused i messed up i trying to google frp my sm-a315g/dsl device and it kept freezing so i decided to try flashing individual files (yeah I should get some good licks for that ) so i started with the bootloader file it was successful but now the phone won't turn on at all not even charging. I tried brom tp but i don't have the right scatter files. Can anyone help me SOLVE my problem that I caused.
What scatter???
You can't flash idividual files just like that.
You can only flash stock firmware, if you want other then you need to unlock bootloader and root your device!
So you need to flash latest right stock firmware with right region using ODIN in order to fix your device....
Teddy Lo said:
What scatter???
You can't flash idividual files just like that.
You can only flash stock firmware, if you want other then you need to unlock bootloader and root your device!
So you need to flash latest right stock firmware with right region using ODIN in order to fix your device....
Click to expand...
Click to collapse
The phone not reading to work with Odin thats why am trying via Brom TP unless there is another way to get it show on Odin, cause the phone is not powering on to enter download mode.
Check SP Flash Tool with MTK drivers for MediaTek Helio P65 (MT6768).
Factory images fastboot stock firmware to be downloaded (not odin)

Categories

Resources