SM-T295 - Finally rooted tablet!! (updated 19-May-2020)

Talich52

Senior Member
Dec 24, 2010
224
47
48
Yeah its on frijia also but no OTA yet
Installing updates via ODIN is more reliable than using OTA . And if the loader is unlocked, then the OTA software will not be updated at all :(
And the firmware,by the way,is the same as for the XEV Vietnam region. ;)
 
Last edited:

amnher

Senior Member
Sep 23, 2011
3,073
585
253
33
Taguig
Installing updates via ODIN is more reliable than using OTA . And if the loader is unlocked, then the OTA software will not be updated at all :(
And the firmware,by the way,is the same as for the XEV Vietnam region. ;)
But yeah its better but I dont have always a working PC due to job here so an OTA will be helpful
 

souzafl

Member
Aug 20, 2012
9
0
21
I do both! that is, the patch is purely the boot.img file and the patch is the AP.tar file. I get the magisk_patched.img file and magisk_patched.tar file. From magisk_patched.tar, I only need the patched file vbmeta.img, which has a size of 256B. Next, the patched kernel magisk_patched.img needs to be applied to the boot.img stock kernel to have a full size of 64kB, otherwise the file will not be flashed by ODIN. I do this with the HxD program(HEX Editor 2.3) , although there are many options for this action ... The resulting 64kB file (the patched kernel) should be called boot.img. We pack it and the patched file vbmeta.img into a tar archive, I do it TotalCommander.
Select the tar file as part of the AP in ODIN and flash it ... After downloading, update or install MagiskManager.
Root rights received :).
P.S. Before flashing, the bootloader must be unlocked ...
It is not necessary to patch the entire AP.tar file, TotalCommander can leave only the files boot.img; recovery.img; vbmeta.img.
TotalCommander can be extracted boot.img from AP.tar
Friend would it be possible to do a more detailed tutorial on the root procedure, please? I was not able, after countless attempts, to resolve the error of vbmeta.img in odin, in version XXS3ATB2 and XXU3BTFE.
 
Last edited:

Talich52

Senior Member
Dec 24, 2010
224
47
48
Friend would it be possible to do a more detailed tutorial on the root procedure, please? I was not able, after countless attempts, to resolve the error of vbmeta.img in odin, in version XXS3ATB2 and XXU3BTFE.
The instruction is quite detailed and it means you are doing something wrong. What version of ODIN? You need version 3.13 or higher. I don’t flash the vbmeta file separately, I pack and flash it together with the patched kernel ... On the T295XXU3BTFE firmware, you will not flash either vbmeta or the patched kernel due to the T295XXU3BTFE bootloader, since the protection is reinforced :(
Therefore, on 10 android, you first need to flash a part of BL from firmware 9 of android.
P.S. I guess the bootloader is already unlocked? this is the first thing to do before rooting.
Is this file for rooting being flashed?
https://forum.xda-developers.com/showpost.php?p=82996769&postcount=103
 
Last edited:

gcrutchr

Senior Member
Jun 11, 2009
1,094
520
113
Bangkok
More important question - have you got a working TWRP for SM-T295 ?

Usually, TWRP cannot mount /data due to encryption not being supported.
Yes, twrp works. Can mount system and browse all files/folders. Can also format /data
Actually, error msg is “cannot read /data”. You do not have permission
 
Last edited:

Tianhe

Senior Member
Mar 16, 2011
648
144
73
Please explain...modify twrp or run app or something else?
In TWRP advanced options, there is a menu for fixing permissions. It usually fixes file permissions but you can try that. Please take a backup first since it is known to screwup /system boot sometimes !
 

J.Michael

Senior Member
Jan 20, 2018
306
113
43
Friend would it be possible to do a more detailed tutorial on the root procedure, please? I was not able, after countless attempts, to resolve the error of vbmeta.img in odin, in version XXS3ATB2 and XXU3BTFE.
Don't give up when you get an error on the tablet. Go directly to recovery to wipe data. Then struggle to boot not quite to recovery to get Android with Magisk running. Install Magisk Manager and run it and see if it says it has more work to do.
 

gcrutchr

Senior Member
Jun 11, 2009
1,094
520
113
Bangkok
In TWRP advanced options, there is a menu for fixing permissions. It usually fixes file permissions but you can try that. Please take a backup first since it is known to screwup /system boot sometimes !
Thanks. Will try when I get home.
Cannot do backup. No access to sdcard or external_sd.

What do you know about twrp usb not working?
 
Last edited:

Talich52

Senior Member
Dec 24, 2010
224
47
48
@ Talich52
Any idea why Twrp is saying It does not have permission to open /data?
To disable memory encryption, run format data-yes (not wipe data) and install a patch to disable memory encryption .Magisk does not do this on Tab A,it patches the kernel,and the encryption file in vendor/etc.
 

Attachments

Last edited:

Tianhe

Senior Member
Mar 16, 2011
648
144
73
Thanks. Will try when I get home.

What do you know about twrp usb not working?
USB as in USB-OTG ? I am not sure but I remember a fix being applied for phones which lost OTG function due to constant flashing of different ROMs. Will try to search for it.

Also, kindly share the TWRP you are using if you believe it is stable enough. It would help in creating backup for restoring later if the access issue is sorted

---------- Post added at 06:06 AM ---------- Previous post was at 06:01 AM ----------

To disable memory encryption, run format data-yes (not wipe data) and install a patch to disable memory encryption .Magisk does not do this on Tab A,it patches the kernel,and the encryption file in vendor/etc.
Does the universal zip for disabling dm-verity and forceencrypt work on this device ?
 

Talich52

Senior Member
Dec 24, 2010
224
47
48
...Does the universal zip for disabling dm-verity and forceencrypt work on this device ?
I don't know,I haven't checked it. On Tab A 8.0 T385, I took as a basis a file from Tab S3 from the respected ashyx and adjusted it to fit the model.
 
Last edited:
  • Like
Reactions: Tianhe

gcrutchr

Senior Member
Jun 11, 2009
1,094
520
113
Bangkok
USB as in USB-OTG ? I am not sure but I remember a fix being applied for phones which lost OTG function due to constant flashing of different ROMs. Will try to search for it.

Also, kindly share the TWRP you are using if you believe it is stable enough. It would help in creating backup for restoring later if the access issue is sorted


USB as in connect computer to tablet.

Attached is the version of TWRP I am testing.
The only thing that works is mounting '/system'. You can use file manager to view all files in system.
Cannot access /data
Cannot access /sdcard
Cannot access /external_sd
Cannot back/restore without access to /sdcard or /external_sd
You can format /data

T295-TWRP.zip

Inside twrp.zip file is twrp.tar. Inside twrp.tar file is recovery.img.
 
  • Like
Reactions: Talich52 and Tianhe

J.Michael

Senior Member
Jan 20, 2018
306
113
43
USB as in connect computer to tablet.

Attached is the version of TWRP I am testing.
The only thing that works is mounting '/system'. You can use file manager to view all files in system.
Cannot access /data
Cannot access /sdcard
Cannot access /external_sd
Cannot back/restore without access to /sdcard or /external_sd
You can format /data

T295-TWRP.zip

Inside twrp.zip file is twrp.tar. Inside twrp.tar file is recovery.img.
Check the fstabs again. (How many are there in TWRP, stock recovery, stock boot?)

My tablet has no "/external_sd". Is that a TWRPism, or a leftover from the original target of the TWRP?

Are you sure you can format /data?

Does this TWRP offer shell access? Can you mount manually?
 

gcrutchr

Senior Member
Jun 11, 2009
1,094
520
113
Bangkok
Check the fstabs again. (How many are there in TWRP, stock recovery, stock boot?)

My tablet has no "/external_sd". Is that a TWRPism, or a leftover from the original target of the TWRP?

Are you sure you can format /data?

Does this TWRP offer shell access? Can you mount manually?
Yes, I can format /data. Afterwards, I reboot system and setup phone starts.
TWRP does, but cannot get she’ll in this TWRP yet. Still working on it.
Can not manually mount without shell.
 

J.Michael

Senior Member
Jan 20, 2018
306
113
43
Yes, I can format /data. Afterwards, I reboot system and setup phone starts.
TWRP does, but cannot get she’ll in this TWRP yet. Still working on it.
Can not manually mount without shell.
h t t p s : / / appuals . com/how-to-diy-port-twrp-for-android/
Have you seen this?