Magisk icon indicating copy to clipboard operation
Magisk copied to clipboard

Secure Check Fail recovery.img while rooting Samsung galaxy Tab A 8.0 LTE [SM-T295]

Open darshanraok opened this issue 2 years ago • 29 comments

Device:Samsung Galaxy Tab A 8.0 LTE SM-T295 Android version:11 Magisk version name:8dfb30fe Magisk version code:24313

Recovery.img patched

Recovery.img original

Boot.img original

Install logs

Logs

![image] (https://user-images.githubusercontent.com/64535064/170646405-2a59f54f-36e2-4f29-b5a3-3bb30772ca88.jpg)

darshanraok avatar May 27 '22 06:05 darshanraok

Let me know if i miss anything

darshanraok avatar May 27 '22 07:05 darshanraok

have you unlocked the bootloader?

canyie avatar May 28 '22 01:05 canyie

have you unlocked the bootloader?

My device bootloader is unlocked

darshanraok avatar May 28 '22 03:05 darshanraok

Patch the boot.img only and flash a disabled vbmeta.img

johnt1989 avatar May 28 '22 10:05 johnt1989

Patch the boot.img only and flash a disabled vbmeta.img

It wont work bcz magisk says ramdisk No

darshanraok avatar May 28 '22 10:05 darshanraok

Screenshot_20220528-033730

this is a partition A style device

johnt1989 avatar May 28 '22 10:05 johnt1989

Screenshot_20220528-033730

this is a partition A style device

I didn't understand

darshanraok avatar May 28 '22 10:05 darshanraok

https://topjohnwu.github.io/Magisk/boot.html

johnt1989 avatar May 28 '22 10:05 johnt1989

https://topjohnwu.github.io/Magisk/boot.html

Is there a way to check in which type [1,2,3,4]category does my device belongs to

darshanraok avatar May 28 '22 10:05 darshanraok

your ram disk is located in your recovery and not in the boot img file 2019, samsung devices same as mine sm-n975u but i digress Download the firmware select the AP file and patch the ap.tar.md5 file using magisk app you will get a patched.tar file use that patched file in the ap slot

XDA has more info search multi disabler for more info

johnt1989 avatar May 28 '22 11:05 johnt1989

your ram disk is located in your recovery and not in the boot img file 2019, samsung devices same as mine sm-n975u but i digress Download the firmware select the AP file and patch the ap.tar.md5 file using magisk app you will get a patched.tar file use that patched file in the ap slot

XDA has more info search multi disabler for more info

After that my device get stuck in "Secure check fail recovery.img" And it doesnt boot back to system from there

darshanraok avatar May 28 '22 11:05 darshanraok

https://topjohnwu.github.io/Magisk/boot.html

Is there a way to check in which type [1,2,3,4]category does my device belongs to

Type III (A-only legacy SAR) in John's doc.

I posted XDA workaround here: https://github.com/topjohnwu/Magisk/issues/5854#issuecomment-1136450313

This also allows Magisk in boot to work...

It would be good to see a proper (integrated) fix however...

pndwal avatar May 28 '22 11:05 pndwal

https://topjohnwu.github.io/Magisk/boot.html

Is there a way to check in which type [1,2,3,4]category does my device belongs to

Type III (A-only legacy SAR) in John's doc.

I posted XDA workaround here: #5854 (comment)

This also allows Magisk in boot to work...

It would be good to see a proper (integrated) fix however...

In XDA the guide is not for my device i agree same model but different region and on android 11 with one ui 3.1 but it for android 10 Edit : I already seen that before posting issue here

darshanraok avatar May 28 '22 11:05 darshanraok

In XDA the guide is not for my device i agree same model but different region and on android 11 with one ui 3.1 but it for android 10...

Sorry, how is it not for your device?... Didn't you upgrade thru One UI 2.x, Android 10?

pndwal avatar May 28 '22 12:05 pndwal

https://topjohnwu.github.io/Magisk/boot.html

Is there a way to check in which type [1,2,3,4]category does my device belongs to

Type III (A-only legacy SAR) in John's doc. I posted XDA workaround here: #5854 (comment) This also allows Magisk in boot to work... It would be good to see a proper (integrated) fix however...

In XDA the guide is not for my device i agree same model but different region and on android 11 with one ui 3.1 but it for android 10 Edit : I already seen that before posting issue here

Sorry, how is it not for your device?... Didn't you upgrade thru One UI 3.1, Android 10?

My device currently running Android 11 with one ui 3.1 and 1 Nov 2021 -android security patch

darshanraok avatar May 28 '22 12:05 darshanraok

Ok, so johnt1989 and I are both saying Magisk in boot can work on your device despite no OEM ramdisk in boot... I'm guessing that w/ Android 11, BL v4 and anti-rollback may prevent you from using that solution however... I wasn't suggesting you settle for that workaround/hack in any case... As I said,

It would be good to see a proper (integrated) fix however...

pndwal avatar May 28 '22 12:05 pndwal

a12

johnt1989 avatar May 28 '22 12:05 johnt1989

Ok, so johnt1989 and I are both saying Magisk in boot can work on your device despite no OEM ramdisk in boot... I'm guessing that w/ Android 11, BL v4 and anti-rollback may prevent you from using that solution however... I wasn't suggesting you settle for that workaround/hack in any case... As I said,

It would be good to see a proper (integrated) fix however...

Ok i will wait for the fix

darshanraok avatar May 28 '22 12:05 darshanraok

a12

I didnt understand and why did you removed the screenshot

darshanraok avatar May 28 '22 12:05 darshanraok

Ok, so johnt1989 and I are both saying Magisk in boot can work on your device despite no OEM ramdisk in boot... I'm guessing that w/ Android 11, BL v4 and anti-rollback may prevent you from using that solution however... I wasn't suggesting you settle for that workaround/hack in any case... As I said,

It would be good to see a proper (integrated) fix however...

Ok i will wait for the fix

Screenshot_20220528-054037_DevCheck

removed the screen sbot and re added it due to battery icon wasnt nice

johnt1989 avatar May 28 '22 12:05 johnt1989

Ok, so johnt1989 and I are both saying Magisk in boot can work on your device despite no OEM ramdisk in boot... I'm guessing that w/ Android 11, BL v4 and anti-rollback may prevent you from using that solution however... I wasn't suggesting you settle for that workaround/hack in any case... As I said,

It would be good to see a proper (integrated) fix however...

Ok i will wait for the fix

Screenshot_20220528-054037_DevCheck

removed the screen sbot and re added it due to battery icon wasnt nice

Your device binary is U7 mine is U4 and also it gives the warning after flashing it

darshanraok avatar May 28 '22 12:05 darshanraok

if you flashed a unlock token to unlock the bootloader do not update the bootloader bit number

johnt1989 avatar May 28 '22 12:05 johnt1989

if you flashed a unlock token to unlock the bootloader do not update the bootloader bit number

What is unlock token and Bootloader bit number?

darshanraok avatar May 28 '22 12:05 darshanraok

contact me on discord Slug#4106 i feel this topic has went offtopic

johnt1989 avatar May 28 '22 13:05 johnt1989

contact me on discord Slug#4106 i feel this topic has went offtopic

Ok i will be there in 2 minutes

darshanraok avatar May 28 '22 13:05 darshanraok

Still waiting for the solution to this problem

darshanraok avatar Jun 02 '22 12:06 darshanraok

Жди, ждун

MadTooth avatar Jun 30 '22 15:06 MadTooth

Any solution to root SM-T295 With version 4 of the bootloader.

dualbios4 avatar Aug 13 '22 16:08 dualbios4

Still waiting for an update on the U4 bootloader. Still with the secure check fail error.

jessejgm avatar Aug 30 '22 17:08 jessejgm

According to #6226 removing vbmeta.img from AP.tar before patching/flashing might help. Have you tried that?

canyie avatar Sep 10 '22 05:09 canyie