yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series Guides, News, & Discus] jshdjh4j:
I'm getting strange error where after Odin flash, when going to recovery mode, it shows "Erasing..." in blue screen. When I go into recovery mode and wipe data and install Magisk, it shows Magisk not installed :(

I have done the following steps, could you see where is wrong?

1) bootloader unlocked

2) Extracted ROM files, created AP.tar for boot.img.lz4, recovery.img.lz4, system.img.ext4.lz4 and vbmeta.img.lz4

3) adb push AP.tar /sdcard

4) Installed Magisk Manager > Install > Select and patch a file > AP.tar

5) adb pull /sdcard/Download/magisk_patched.tar

6) Extracted boot.img (~10mb), recovery.img (~18mb) and vbmeta.img (256 bytes) from magisk_patched.tar

7) Opened original firmware boot.img and recovery.img (both 67108864 bytes) in Neo Hex Editor

8) Opened magisk patched boot.img(~10mb) and recovery.img(~18mb) in Neo Hex Editor

9) In Neo Hex Editor > Ctrl + A, Ctrl + C in patched files > Ctrl A, Ctrl + V in original files > save both files

10) Create a tar file based on:

boot.img (67108864 bytes) in step 9

recovery.img (67108864 bytes) in step 9

vbmeta.img (256 bytes) in step 6

/meta-data from original firmware

dtbo.img.lz4 from original firmware

system.img.ext4.lz4 from original firmware

userdata.img.ext4.lz4 from original firmware

vendor.img.ext4.lz4 from original firmware

11) Flash using odin

AP > tar file from step 10

BL, CP, CSC > *.tar.md5 from original firmware (CSC is HOME_CSC)

12) After flashing ROM (I notice there is a red color error text on the integrity of vbmeta.img - but flashing still successful), i have to press and hold Power button and Vol up - otherwise i can never get into recovery mode after that.

13) When bootloader warning come up, I press power button to dismiss, and immediately hold Vol up button for ~10 seconds, it appears to go into recovery mode... but...

14) A blue background screen with white android robot appear showing "Erasing..."

15) When it reboots automatically again after (14), I press power + vol up, now i can go into recovery mode successfully > wipe data > set up > install magisk

However, Magisk is not installed :(

image link: ibb.co[/]z53bccg

Any help appreciated! Thanks!

I'm running XSP-T295XXS3ATB2 on SM-T295

Additional question: Before I unlock bootloader, I can still see the following screens:

But after bootloader is unlocked, I no longer see the 2 screens above.. even after i re-flash back to original stock firmware using Odin. is this normal?

I can only see the normal black android recovery screen with orange text/blue menu highlight...
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
If you read a few messages prior to this one, you will see we have TWRP for our T295.

Install TWRP, go into recovery and install Magisk 20.4
[Samsung Galaxy Tab A series Guides, News, & Discus] jshdjh4j:
So I just load TWRP_3.4.0.1+vbmeta_T295.tar in AP in Odin and flash? Do I need to specify BL, CP, CSC?

Does it work for Android 9 only, or will it work on Android 10 (T295XXU3BTFE/T295OLM3BTFE/T295XXU3BTFE) as well?
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
The name of the file is : twrp_3.4.0-1_sm-t295.img.zip

Unzip it, put in ODIN, uncheck auto reboot, flash, boot into recovery.

I am using it on Android 10 (BTFE).

Post #215
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Yes, a lot of work has been done, but this method is not for our Tab A T290 / T295.

When AP.tar has boot.img & recovery.img, then Magisk patches both files, but Magisk puts them in the recovery, but for our model this does not work and you need to patch the kernel separately so that Magisk is in the kernel.

It's better not to touch the recovery at all and leave the stock, or use TWRP, laid out above ...

Yes, that's right! flash only this file to the stock firmware with an unlocked bootloader.

The disadvantage of the way is it is difficult to log into TWRP. I first hold down the Volume Up and Power buttons, and after the reboot, I only hold the Volume Up on the warning screen ... If Samsung appears, then hold down the Power button until the device goes to reboot and then try to enter TWRP recovery again.

If the device boots up, the stock recovery will be restored and you need to repeat the file firmware ... In this case, there is a risk of blocking the device by KG Status: Prenormal.

If this happens, then flash the stock files recovery.img & vbmeta.img, or the entire part of the AP, wait for the device to boot and go online to change the status to KG Status: Checking, which no longer interferes with the firmware of custom files ...
[Samsung Galaxy Tab A series Guides, News, & Discus] jshdjh4j:
1) I have flashed the latest Android 10 firmware fresh install via ODIN.

2) I enabled usb debugging, unlocked the bootloader, go into download mode and everything seems fine:

3) Then I put TWRP_3.4.0.1+vbmeta_T295.tar in AP in Odin, start, completed OK:

4) When the phone booted up, it shows "Secure Check Fail : recovery.img"

I am wondering why this is happening, and if it has to do with "QUALCOMM SECUREBOOT: ENABLE (CSB)" or "SECURE DOWNLOAD : ENABLE" as shown in step 2 image....

Any help?

So after flashing the AP in Odin, I press vol up and power till vibrate (reboot), then release power while still holding vol up when bootloader warning message appear, and hopefully TWRP appears?

And if the Samsung appears, hold power button until vibrate (reboot), then keep holding vol up button until i get into TWRP, is this correct?

If phone boots up > repeat the firmware > if KG: - prenormal

- Do i put both recovery.img and vbmeta.img in a tar file and put in AP in odin and flash? or do i use the original firmware's AP and put in AP in odin and flash?

- if worst case scenario i need to reset it back to 'Checking', could you point to me a guide to do this? Sorry for the trouble
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Look at Post #215

Use the TWRP in that post. Do not add anything to the .tar file
[Samsung Galaxy Tab A series Guides, News, & Discus] jshdjh4j:
Yes i downloaded from #215 second link

TWRP_3.4.0.1+vbmeta_T295.tar.zip >> unzip and pass the tar file to AP without any modifications...

Could it be due to the region i am using, which is XSP? Or the other error message "Secure check fail: vbmeta"?
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
There is no vbmeta in the tar file.

Also, use TWRP Manager to install
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Error due to increased protection in android 10 :(

To bypass it, you need to flash the BL file from firmware 9 of the XSP-T295XXS3ATB2 android.

Then move on ... :)

That is, the first thing to do is change the bootloader from 10 to 9 android and then follow the instructions.

P.S.Do not pay attention to the vbmeta error - there is a warning, but the file is being flash ...
[Samsung Galaxy Tab A series Guides, News, & Discus] jshdjh4j:
Thanks for pointing in the correct direction!

I have managed to get TWRP running, but the file systems were encrypted and I couldn't wipe as well.

I had to change the format from ext4 to ext2 and back to ext4 and wipe everything again, and finally i was able to mount /data.

From there I sideload Magisk ADB and voila it is rooted when the phone booted up! Thanks everyone :)
[Samsung Galaxy Tab A series Guides, News, & Discus] pramanayudha:
I successfully rooted my t295, but when i tried to uninstall a system app using app2sd or system app remover, it kept giving error notification/failed result. Any solution guys?
[Samsung Galaxy Tab A series Guides, News, & Discus] J.Michael:
Disable system app rather than trying to remove.

(Settings -> Apps -> show System Apps, in menu -> appname)
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Try Titanium or RootExplorer.

Use the stable version to root Magisk v20.4, newer versions of Canary do not actually give full access ...

And it is recommended to freeze (disable) applications, and not delete, because after removing some applications, even not important ones, the device will stop loading :(
[Samsung Galaxy Tab A series Guides, News, & Discus] pramanayudha:
I want to get rid of the bloatware. That's the main purpose of rooting for me (at least), since no custom ROM from the devs yet. The CPU dan GPU of this device already run at the highest frequency, so no need to OC.

---------- Post added at 07:32 AM ---------- Previous post was at 07:24 AM ----------

I usually disable the system app through adb in terminal (without root). More straight forward and fail-proof . Just don't disable the so called "Payment Services" from Samsung . It will lock our device in an instance. That's why removing the bloatware altogether would be more convenience.
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Having problem building t295 kernel from mehanik6 source code on 4PDA. Cannot login to site, even though have account. I cannot read Russian numbers in captcha. Here is error.

trying to build skyhawk. Getting error:

DTC arch/arm64/boot/dts/qcom/msm8937-pmi8950-mtp.dtb

ERROR (phandle_references): Reference to non-existent node or label "pm8953_gpios"

ERROR (phandle_references): Reference to non-existent node or label "pm8953_gpios"

ERROR (phandle_references): Reference to non-existent node or label "pm8953_gpios"

ERROR (phandle_references): Reference to non-existent node or label "pm8953_gpios"

ERROR (phandle_references): Reference to non-existent node or label "dsi_truly_1080_vid"

ERROR (phandle_references): Reference to non-existent node or label "dsi_adv7533_1080p"

this is for samsung Tab A: sm-t295 (qcom)

any idea how to fix this?
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
I am not the author of TWRP and I cannot answer the questions ...

Try to discuss this with the author mehanik6 via QMS private messages:

https://4pda.ru/forum/index.php?act=qms&mid=1348402

Or chat here on the xda forum:

https://xdaforums.com/showpost.php?p=83213871&postcount=91
[Samsung Galaxy Tab A series Guides, News, & Discus] rooting_newbie:
Thanks Guys... after reading the post... finally got my tab A rooted with the twrp 3.4.0 from RU forum link in the earlier messages. Root twrp using odin ignore the vbmeta error if the twrp contain am additional vbmeta.img. once in twrp, change the language setting to english and proceed to format under the wipe option. One challenge is the second time to go in twrp again (to install Magisk latest version 20.4) after phone setup is the keypress power + down volume and shift to volume up without releasing power can be a pain.
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Thanks.

QMS mssage link gives 404 error
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Try to login to user profile and then select QMS:

https://4pda.ru/forum/index.php?showuser=1348402
[Samsung Galaxy Tab A series Guides, News, & Discus] mehanik6:
my build_kernel.sh, commands https://github.com/mehanik6/kernel_samsung_gto/blob/master/build_kernel.sh

and the compiled kernel, dtbo
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Thanks, but all the build_kernel.sh script is doing is making the dtbo.img file.

Also, when I try to make the recovery image file, the script is still trying to build the kernel.

Where in TWRP is the link options for the kernel. In other words, the actual linker list of files, command line options, etc. ?
[Samsung Galaxy Tab A series Guides, News, & Discus] mehanik6:
kernel is built without clang,

therefore - kernel separately

- twrp separately
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Thanks for helping, but when I do mka recoveryimage, twrp tries to build everything
[Samsung Galaxy Tab A series Guides, News, & Discus] mehanik6:
show the tree
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Its your trees from github: device & kernel
[Samsung Galaxy Tab A series Guides, News, & Discus] mehanik6:
# Kernel
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_serial_dm,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true loop.max_part=7
BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_OFFSET := 0x00008000
BOARD_RAMDISK_OFFSET := 0x02000000
BOARD_SECOND_OFFSET := 0x00f00000
BOARD_KERNEL_TAGS_OFFSET := 0x01e00000
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_BOOTIMG_HEADER_VERSION := 1
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilt/zImage-dtb
BOARD_PREBUILT_DTBOIMAGE := $(DEVICE_PATH)/prebuilt/dtbo.img
BOARD_INCLUDE_RECOVERY_DTBO := true
BOARD_MKBOOTIMG_ARGS += --ramdisk_offset $(BOARD_RAMDISK_OFFSET)
BOARD_MKBOOTIMG_ARGS += --tags_offset $(BOARD_KERNEL_TAGS_OFFSET)
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
#TARGET_KERNEL_ARCH := arm64
#TARGET_KERNEL_HEADER_ARCH := arm64
#TARGET_KERNEL_SOURCE := kernel/samsung/gto
#TARGET_KERNEL_CONFIG := gto_defconfig

do so
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Thanks. I will have to do this tomorrow...am having repo issues....
[Samsung Galaxy Tab A series Guides, News, & Discus] mehanik6:
- remove the kernel folder from the twrp sources (build the kernel separately)

- remove build_kernel.sh from twrp sources

- put the prebuilt folder in the twrp tree (/device/samsung/gto) https://xdaforums.com/showpost.php?p=83434929&postcount=242

- fix BoardConfig.mk (/device/samsung/gto) https://xdaforums.com/showpost.php?p=83436311&postcount=248

- mka recoveryimage
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Thank you very much! You have been a great help to me. I made the recovery.img.

Now I need to test it to make sure it is the same as the one you posted. If yes, then I will make the Skyhawk Recovery image

Again, thanks for all your help !!!!

Update: Made Skyhawk recovery - works great!!
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Skyhawk recovery for SM-T295

I have made a Skyhawk recovery for our Tab A 8.0 (t295).

I give a lot of thanks to mehanik6@4PDA for his help with getting a build for TWRP.

Once the TWRP build worked, I made the Skyhawk recovery.

I doubt if I will do much maintenance on this as I am not a TWRP developer.

Skyhawk recovery for SM-T295

To install:

Use TWRP Recovery Manager from playstore.

DO NOT try to install this with ODIN. It will fail, probably.
[Samsung Galaxy Tab A series Guides, News, & Discus] Tianhe:
Is it working fully ? I mean can it mount internal storage, backup/restore data etc. ?

In any case, thank you for your efforts !
[Samsung Galaxy Tab A series Guides, News, & Discus] cossak2007:
T-290

Will the SkyHawk Recovery work on t-190's ?

Thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
I do not know.

It has not been fully tested yet.
[Samsung Galaxy Tab A series Guides, News, & Discus] efakkawy98:
Can someone please share patched boot image for XXU3BTFE

Thank you.
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Here is the link:

Root_T295XXU3BTFE_M20.4.tar
[Samsung Galaxy Tab A series Guides, News, & Discus] efakkawy98:
I have tried several times with no luck, I keep getting secure check fail vbmeta:crying:

Here are the steps I followed:

1. Bootloader unlocked

2. Flash previousbootloader

3. Flash magisk_patched.tar - it fails here

Thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Did you toggle OEM lock in settings?
[Samsung Galaxy Tab A series Guides, News, & Discus] efakkawy98:
OEM Unlocking is turned on
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Did you reboot after flashing previous bootloader...and before flashing Magisk_patched.Tar?
[Samsung Galaxy Tab A series Guides, News, & Discus] efakkawy98:
I tried both ways... rebooted and not rebooted
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Everyone has such a message! this is just a warning :)

But what do you see in ODIN when flashing the root file? Is there a PASS scoreboard? then everything was in fact stitched and vbmeta including, you just need to wait for the download.

P.S. you need to flash the Root_T295XXU3BTFE_M20.4.tar file, which was given by the link, and not magisk_patched.tar, in which the kernel is not the correct size and it will not be flashed !
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
An update has been released for the very first firmware 10 of Android T295XXU3BTFE for the XEV Vietnam region! and this is the T295XXU3BTI3 firmware ,that is, the loader version has not yet been raised and it remains 3 . You can get Root rights by replacing the bootloader with the one taken from the previous firmware 9 of Android...Then there are 2 options - either patch the kernel and bring its size to the original one,then flash it through ODIN. Either install TWRP and install Magisk.zip from TWRP. I prefer this option ;) .

P.S. How do I log in to TWRP?

https://xdaforums.com/showpost.php?p=83575515&postcount=303
[Samsung Galaxy Tab A series Guides, News, & Discus] tiago156:
Hello gcrutchr, thanks for the effort!

using the TWRP is it possible to keep the root "forever" even when I reboot the table? (skip the VOLUME_UP+POWER magisk trick)
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
If you have installed [MENTION=5209188]mehanik6[/MENTION] TWRP for T295, you can flash Magisk from TWRP. This will allow root to remain intact over reboots without keypresses.
[Samsung Galaxy Tab A series Guides, News, & Discus] efakkawy98:
I'm getting the following error:

Security Error: This phone has been flashed with unauthorized software & is locked. Call your mobile operator for additional support. Please note that repair/return for this issue have additional cost.

What am I doing wrong.

Thank you.
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Problem due to KG Status: Prenormal,

further on the message:

https://xdaforums.com/showpost.php?p=83484817&postcount=206

P.S. They just got blocked, this happens and the solution is simple, described in the message.

It can also be if you disabled or uninstalled the Knox Guard app

and it needs to be returned ...
[Samsung Galaxy Tab A series Guides, News, & Discus] ScrubCandy:
Thanks for this. That's my build number..

I used to root way back in the day when android was new and it seems like it's gotten a lot more model specific than it used to be so I'm having some trouble figuring out the step by step that I need to follow.

With the file you linked do I just follow the basic instructions from the first post? I can basically follow any odin flashing guide? Trying to get a decent crash course to try and get it right the first time. I've downloaded your link, I have developer mode enabled, usb debugging enabled, and oem unlocking turned on.

From here I'll do this:

Unlock bootloader:

1. turn off tablet

2. press and hold down vol up & vol down keys together

3. insert usb cable (should already be connected to computer)

4. when bootloader screen appears, release all keys

5. press and hold vol up key for 5 seconds, then release

6. read instructions on screen to unlock bootloader (this will wipe all your data)

After reboot, go through normal setup.

Then

You need to download the complete ROM you have installed on your Tablet.

It will be better if you have the same ROM version as I do in post in this post (#1).

You need to unzip the ROM so you can flash it in ODIN.

(I don't need to do this correct? This is what you provided me with?)

Unzip my downloaded root files zip file.

Unzip the downloaded ROM files. (Or do I need to download the rom? Did I only grab the root files from you?)

In the AP* file, you need to replace my files in the zip: boot.img, recovery.img & vbmeta.img (Your download didn't include a recovery.img. Should I grab that from the original post or the skyhawk recovery you posted?)

Start ODIN. Select files for BL*, AP*, CSC* & CP*

For CSC file, select HOME_CSC*

*** Uncheck auto reboot ***

(I'll figure this part out once I get to it. I'm sure Odin will be relatively simple with it's GUI.)

Flash ROM. (All done with Odin I assume)

After flashing ROM. press vol dn + pwr key

As soon as screen goes blank press vol up key and hold

When get into recovery, select data wipe, then reboot

Set up phone as you normally would.

After setup, go to Play store and install Magisk Manager. Run Magisk Manager to see if you have root.

Then I read through the rest of this thread and saw people mentioning.

And then I have to figure out how to stay rooted after reboots.

A lot of information at once. Sorry for my lack of experience and thank you for what you've already done to help.
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Look at post #215

You should install TWRP, then in recovery, install Magisk.

You also need to install bootloader from android 9 before trying to install TWRP.

Read msgs from post #215...to....and there should be links for everything you need.
[Samsung Galaxy Tab A series Guides, News, & Discus] ScrubCandy:
Damn, now I'm even more confused. I'll figure this out eventually.
[Samsung Galaxy Tab A series Guides, News, & Discus] temporarium:
You're not the only one. It seems everyone has their way, and they don't seem to be able to describe it in a coherent list form ?
[Samsung Galaxy Tab A series Guides, News, & Discus] saintdg:
hey uhhh, so I flashthe android 9 stock bl then unock it again then flash the .tar file you sent and I should be rooted with no issues right.?

---------- Post added at 08:27 PM ---------- Previous post was at 08:17 PM ----------

hey uhhh, so I

1. flash the android 9 stock bl file in odin on the android 10 version I recently updated to (t295xxu3btfe).

2. unlock the stock bootloader then flash the .tar file you sent

Oh and rn on the android 10 version my oem is off in download mode....

Before I take further steps I'll wait for your response
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
Install via ODIN by selecting the file in the AP window.

And you could immediately flash the BL file from the Android firmware 9 in one go :)
[Samsung Galaxy Tab A series Guides, News, & Discus] saintdg:
yh I'm rooted

1. i just downloaded the two files (BL_T295XXS3ATB2.zip and the Root_T295XXU3BTFE_M20.4.tar.zip) and extracted them both.

2. i booted into download mode

P.s - Made sure my bootloader was unlocked first ofc (OEM LOCK: OFF (U))

3. Launched Odin, connected my sm-t295 [it shows up as 0:[COM4] IN ODIN for me]

5. then selected the extracted BL_T295XXS3ATB2.zip's (.md5) file [which is BL_T295XXS3ATB2_CL17034026_QB29519559_REV00_user_low_ship_MULTI_CERT.tar.md5] as BL in Odin

4. Selected the Root_T295XXU3BTFE_M20.4.tar_2.zip's extracted (.tar) file [which is Root_T295XXU3BTFE_M20.4.tar] as AP

5. pressed Start with the 2 files checked off and voila i am rooted without any data loss, secure check fail or anything

thanks :o :good:
[Samsung Galaxy Tab A series Guides, News, & Discus] Khanhdan1511:
Xin file twrp t295xxu3btfe
[Samsung Galaxy Tab A series Guides, News, & Discus] Khanhdan1511:
Xin hướng dẫn chi tiết ???
[Samsung Galaxy Tab A series Guides, News, & Discus] ducnguyen2110:
help

:bối rối::bối rối::bối rối::bối rối:

xin hướng dẫn đổi kích thước tar ???
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
English, please.
[Samsung Galaxy Tab A series Guides, News, & Discus] gcrutchr:
Android9 bootloader:

Android 9 bootloader

TWRP for T295:

T295-TWRP

FIX-DATA:

Fix Android 10 Data

Fix Android 9 Data

Reboot

Magisk 20.4:

Magisk 20.4