Install TWRP on Samsung Galaxy Tab S5e

I just looked at the original packaging. Apparently, the device was originally intended for France. I am in Austria. The device does not have a SIM card slot. Only MicroSD

This also explains why after I unlocked the bootloader, the language was set to French. But what does the country have to do with the fact that it can’t be flashed? What if I were in France right now? It’s the same planet… :slight_smile:

Sure that was just a first guess. Here is a Knox Guard page for the UK.

Sounds quite benign, really. But Knox is a security suite to do all sorts, including what I guessed a Regional lock. (It might well be a different lock!)

Some form of trade restriction? but within EU seems strange.

Step one would be to find what magic would release the Regional lock, edit, unknown.

Did you use it for a while “normally” after you first got it? Any labels to tell you what is required?

Not really nice.

And again, I get to learn something.

Yes I used it normally for 2 days, played with it a little. The first time I turned it on it came with the wizard and suggested German language, then I connected it to my wifi here.
Other than that I haven’t noticed anything unusual or important unfortunately.

If it was new from a Samsung dealer, this would be for their support staff.

“Prenormal” seems to be used to tell the device that it is not yet open for “normal” business until some event has happened to release it. We have seen a label saying that you must make 5 minutes of calls on phones in EU.

We must be open to it being not a Regional lock.

Ok, i created an test google and test samsung account, connect with my WLAN with Country US / Language US because it is easier with tutorials and findout menu positions. So i let the tablet only with GPS and do all nice Updates, after that i will reboot into downloadmode again. Maybe the status will be changed.

USA is where this problem really hits! Will UK setting work for you in case geo-location is very important to the release! A Samsung account might be a very good idea,

Is this link relevant ?

Hi @piero my feeling is that that method stopped working with Android 10. When you read the recent contributions, it has still worked for some, but we do not always see the cause of the “lock” and the Android version.

It is definitely worth reading (and opening and inspecting the patch) to help understand how these locks are triggered and potentially released.

After all, it has worked now with the file vbmeta.tar.

Now i see on the screen “Android Recovery”
Can’t load android system your data may be corrupt. If you contiue you get this message, you may need to perform a factory data reset and erase all user data stored on this device.

So, now i should go to
Install /e/ on a Samsung Galaxy Tab S5e (Wi-Fi) - “gts4lvwifi”
and install the custom recovery twrp-x.x.x-x-gts4lvwifi.tar after Factory reset or go directly into downloadmode?

1 Like

If you had this message only once, consider, did you remove your Google A/C, locks, passwords and all then factory reset already?

If you are seeing for a second time it is telling you to do all that!

If you did all that it is a red herring and you take your lead from Odin.

Only once. After some reboots, Samsung Anroid starts again.

Had a good friend over today who had done this many times before. We were even able to organize a pit file. We worked a lot of hours the whole day, but no success. Sadly.

Conclusion: It does not work. We have tried everything that was known to us and possible. You can not install a customrom. I think I will have to give up a tablet with a heavy heart.

For last chance, test the link from upper post: https://forum.xda-developers.com/t/guide-17-06-2019-rmm-kg-bypass-root-install-twrp-on-exynos-samsung-after-2018.3747535/

1 Like

It is known that you must lift the lock “Prenormal” before you can flash the phone. (Official binaries excepted.)

Please read the whole post and updates by @corsicanu. He only tells us it is good for pie! Extract and open the .zip and read all the contents, and check that they will overwrite some lock that you can see is applied, Edit, better idea.

Here are 2 lines from the patch, much of the rest of the patch will try to harmonise /system and /system/vendor following that intrusion.

rm -rf /system/priv-app/Rlc 2>/dev/null
rm -rf /system/priv-app/KnoxGuard 2>/dev/null

I cannot tell you that Warranty void = 0 would survive that!

I say, better to ask Samsung first - they will know - then to look for the lock before such an intervention. At a minimum I would describe your situation and ask on the xda thread.

Please check again, but with Warranty Void = 0 the phone is still potentially returnable!

Later, also before an intervention that is not definitely specified for your device:

adb shell getprop

I suggest you search that command and tell me how far you can get on your own looking for locks.

to give up a tablet with a heavy heart.

If that includes a return you must not change Warranty Void = 0!

Edit - just one more thing is bugging me!

Apparently, the device was originally intended for France.

Please can you tell me how you deduced this? From Samsung’s point of view, in that case, the intended market would surely have been EU? (Xiaomi require their devices on line for periods of 7, 14 days, or more. New generations of Samsung may be moving in that direction.)

I’m sorry to say I think you guys are right, it’s not possible or certainly damn difficult to get TWRP onto the Samsung Galaxy Tab S5e SM-T720

Getting /e/ or Lineageos as a further step would be easy but this seems to fail in so many ways just to get TWRP onto it.

I have been trying to do this from Linux terminal with heimdall. First was getting
ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
I managed to cure that with the following unmerged pull request for heimdall :

…but then when I went to flash TWRP to recovery from download mode like this :
sudo ./Heimdall/build/bin/heimdall flash --RECOVERY twrp-3.5.2_9-0-gts4lvwifi.img --no-reboot
…it was complaining about OEM lock.

So I realised I had not unlocked the two things which need unlocking as someone else wrote and followed that initial step.

Then I realised I’d skipped vbmeta.tar so downloaded it, unpacked it and ran :
sudo ./Heimdall/build/bin/heimdall flash --VBMETA vbmeta.img

It wasn’t happy :

Downloading device's PIT file...
PIT file download successful.

Uploading VBMETA
100%
ERROR: Failed to confirm end of file transfer sequence!
ERROR: VBMETA upload failed!

Ending session...
Rebooting device...
Releasing device interface...

So I think this thing is in the too hard basket, at least to do from Linux. I don’t really have Windows sitting around except in a Virtualbox and that somehow sounds even less robust. Anyway, will watch this thread and see if anyone works it out and try to put that thing back in the draw and not take it out again, have lost hours…

I read somewhere, someone made a comment to choose brand other than Samsung if you are trying to install ROMs (from Linux). This is the second time I have had misery with Samsung and Linux, but have had other devices where getting to the TWRP stage is so easy…

Hi @bear sorry to hear your story! So you have managed to get past the error 7 problem (?).You probably read elsewhere here that error 7 frequently occurs when a change of Android version is attempted in the flash. As a rule of thumb /e/ should be installed only on a Samsung most updated ROM. (Having the factory reset just before one starts work is always a good precaution!)

Please can you tell us the Android versions you are starting with and aiming for?

Did you study the Odin screen for clues? Would you like to share a picture here?

@aibd yes by using that unmerged fork of the heimdall terminal program, I got past the error 7 problem. Then the bright blue download screen responded as if it had allowed something to be flashed with a progress bar, but it moaned in bright red letters about OEM lock and later about something else when I tried to flash vbmeta.img (unpacked from vbmeta.tar)

Does that even matter yet? It’s still in the TWRP stage. I stopped trying to use Odin a while ago and stuck with that terminal heimdall program. Also deleted that Odin program, but if someone really thinks that is the key, can they post a link from which Odin for linux can be downloaded?

You have a “more modern” phone. You do not want to hear about fixes that would work on a similar device 2 years ago!

You could always read up about Android verified boot yourself to help understand the increased strength of these barriers in Oreo/pie/10/11. Disturbing recovery is just as significant to verified boot as system!

I do not think Linux, Odin is a thing. I have faith in Heimdall.
Available in current Debian: heimdall-flash-frontend. Gui also available https://glassechidna.com.au/heimdall/ (I didn’t test.)

tablet (267.2mm or 10.5") S5e SM-T720
From the specs online I’m seeing “Android 9.0 Pie” but can’t bear to switch it on right now to confirm that.

Ok good, so someone else also thinks heimdall should be good enough. I cloned the repo, retrieved and checked out the unmerged branch, then did the things they said to create a heimdall command:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Although I’m running Debian, don’t think that that thing from the Debian ppa will do this without those errors with the “-7”

If TWRP would flash, the rest would be easy, I’m sure. I believe that you need to get that vbmeta.img or vbmeta.tar onto it somehow to make that OEM lock error go away so someone please say if they get passed that step.

Thanks for confirmation, SM-T720. Agreed, I see the device delivered as Pie/10.

Sammobile lists Android 10 as the latest firmware for this device. It is probably required that the device is fully updated before start in order to receive /e/ R. (This can be a cause of Error 7.)

I agree on sequence, but you can double check, the order of play is expected to be as our instructions (in OP).

The thing I had been specifically addressing in this thread so far is KG Prenormal.

KG Prenormal would always explain multiple fails. Prerequisite to fix.

Can you tell if it is an issue for you? (Can be read from "Download mode screen).

Edit, re Heimadll frontend, a self-biuld is ideal to be up to date for doing R, great. :slight_smile: . Seeing your

sudo ./Heimdall/build/bin/heimdall flash

I would be interested to know if you find in Heimdall/build/bin the command heimdall-flash-frontend, it seems to show in his repo. The possible advantage is that the GUI might reveal blockers that would only show with obscure command line options, possibly!

Further Edit, thanks to Installation /e/ sur Galaxy Tab S5e - #38 by piero in this xda thread https://forum.xda-developers.com/t/rom-official-gts4lvwifi-11-lineageos-18-1.4169395/#post-83600521 @LuK1337 provides – bit more friendly stock → lineage instructions – which includes a couple of wise steps, (only after KG Prenormal is lifted.)

I see I accidentally introduced a misspresentation about libusb errors in Heimdall and Error 7 on the device.

In any case of repeated Samsung fails, it is always worth trying another cable!

TWRP is running now fine. The problem was, that if you start the tablet with the power button only the system will be overwriten automaticly. Only if you start with “volume up + power” the it is booting to the new installed TWRP.

After that i installed the e/OS package successfully. But the system is booting only in TWRP. i open for this a new thread. :slight_smile:

1 Like

And finaly e/OS works also on the device very fine. Apparently there was a problem with the system partition. After another wipe it now works. FINALLY :slight_smile: :slight_smile: