How to install LineageOS 14.1 on Samsung Tab Pro 10.1 Wi-Fi

I have a tablet Samsung Tab Pro 10.1 Wi-Fi (SM-T520) from 2014 whose lastest official Android version from manufacturer was 4.4.2 (KitKat); this version traces back to 2013. It is a shame that Samsung never released an Android version update for this device.

Some current apps could no longer be installed on this tablet because Android version was too old. This is why I decided to replace Android OS with Android-based LineageOS to get a brand new feeling on the tablet.

The LineageOS version I installed was 14.1, that corresponds to Android 7.1.2 (Nougat).

This post sums up all steps that need to be done (mostly taken from official LineageOS instructions) plus some additional comments based on my experience, not included in the original documentation. Device works fine without rooting it.

The same device receives different codenames:

  • Samsung Tab Pro 10.1 (Wi-Fi) is the official commercial name
  • sM-T520 is the technical model given by Samsung
  • n2awifi is the model codename used by LineageOS
  • picassowifi is the model codename used by TWRP

Step-by-step

1. Configure adb on your host computer

My host computer was a macOS X and preferred to use brew command rather that extracting a field into my computer, as explained in official documentation.

If you run macOS X, you can check this post about how to install it.

2. Configure heimdall on your host computer

Download heimdall suite and install it in your computer:

https://androidfilehost.com/?w=files&flid=304516

Follow steps from official documentation.

3. Get TWRP for Samsung Tab Pro 10.1 (Wi-Fi) device

The TWRP link offered in LineageOS official documentation is broken.

You can use any of these links instead:

https://eu.dl.twrp.me/picassowifi/twrp-3.1.1-0-picassowifi.img.html

https://twrp.me/samsung/samsunggalaxytabpro101exynoswifi.html

I used the first link.

I had an issue with TWRP: if I used for longer than 3 minutes, tablet was shut down unexpectedly, I think that because of overheating. I just tried the first link, maybe it does not happen with second link. Please comment if you test it yourself.

4. Get LineageOS build for for Samsung Tab Pro 10.1 (Wi-Fi) device

LineageOS has stopped supporting its OS on this device; it means that there are no longer pre-built OS ROMs available on the web to flash it directly to the tablet.

Nevertheless, LineageOS includes instructions to allow users to build their own ROM.

Team Exynos5420 maintains in its server unofficial ROMs of LineageOS14 for n2awifi / Samsung Tab Pro 10.1 Wi-Fi ready to be downloaded.

They offer two variants of the same build, as it is explained in this thread:

  • Vanilla is a continuation of the official lineage builds, but not from LineageOS servers so not actually official. These builds will be using the clean, no hacks/modifications, etc. trees which were on the LineageOS’s GitHub, but have since been transferred back to Exynos5420’s tree.
  • Deathly is well, deathly and we can customise it to our liking, have the deathly app installed, kernel, tweaks, etc. Just for some different types of people.

You can download unofficial Exynos5420’s ROMs of LineageOS 14.1 for n2awifi from these links:

Note: using unofficial ROMs from third-parties implies assuming security risks. Use them at your own risk.

I used the already built deathly version of Exynos5420’s ROM instead of building my own version, and it worked fine.

5. (optional) Get GApps

Follow steps in official documentation.

6. Enable Developer Mode on your Android device

Follow steps in official documentation.

7. Install TWRP from Download Mode

Boot your device in Download Mode.

Confirm by clicking on ‘Volume up’ button.

Then install TWRP using heimdall command.

When finished, progress bar will be full in blue.

Follow steps in official documentation.

8. Wipe device from Recovery Mode

Boot device in Recovery Mode, and wait until TWRP is loaded.

Note: I had an issue with TWRP: if I used for longer than 3 minutes, tablet was shut down unexpectedly. I think that because of overheating.

Read disclaimer and swype to start TWRP.

Click on ‘Wipe’ and confirm. Wait until it is finished.

Then click on ‘Format Data’.

Go back, and click on ‘Advance wipe’. Select ‘cache’ and ‘system’ and click on ‘Swype to wipe’.

9. Slideload LineageOS on your device

Follow steps from official documentation.

Go back to main menu. Then click on slideload LineageOS on your device. Move ‘Slideload’ slider.

Type this command from the terminal of host computer:

adb slideload <rom package file with path>

For example:

adb sideload lineage-14.1-20200418-UNOFFICIAL-n2awifi.zip

Wait until process is finished:

After finishing this task, I had to power off my tablet to prevent it to shut down unexpectedly. Then I left the device without using for some hours before continuing to the next steps; otherwise, tablet would shut down abruptly during installation.

10. (optional) Slideload Open GApps on your device

Follow steps from official documentation.

Go back to main menu. Then click on slideload LineageOS on your device. Move ‘Slideload’ slider.

Type this command from the terminal of host computer:

adb slideload <Open GApps file with path>

For example:

adb sideload open_gapps-arm-7.1-pico-20200418.zip

Wait until it is finished.

Then, type from your host computer:

adb reboot

11. Run LineageOS

Boot your device on normal mode to check that LineageOS was installed correctly.

LineageOS start screen

External references

Leave a Reply

Your email address will not be published. Required fields are marked *