[ROM]|SM-T520|SM-T900|[UNOFFICIAL] LineageOS 17.1 | Android 10

Search This thread

regepower

Member
Aug 12, 2013
49
4
Amazfit
Hello,

first of all many thanks to @TechDriver and @bacardischmal for this excellent ROM. It runs great and really turns this old device into a daily driver!

Since I had some problems with the installation and see in the threads that I am not the only one, here is a more detailed explanation of the individual steps. Maybe I can help a bit, as I am really a beginner in this field. For example, I have the same problem as @conan9010.
The installation is for the SM-T520 picassowifi.

Prerequisites:

1. download Odin, i took this as i just needed it for a Galaxy S3. i also tried Heimdall but had absolutely no success!
2. download the last official twrp from here.
3 download TAR_MD5_PACKAGER from here.
4 download the unofficial TWRP 3.2.3-0 - Version 2 from here.
5 download Lineage by @bacardischmal from here.
6 download Gapps from here, I chose the ARM 10.0 nano.
7 download magisk from here.

Installation:

1. copy files 4 - 7 to the internal memory of the device. Rename Magisk.apk to Magisk.zip.

2 Convert the official twrp with TAR_MD5_PACKAGER into the format for Odin. To do this, I converted the recovery image into a .tar archive under Linux. This should also work with 7zip, but I had read that there were sometimes problems. then simply start TAR.MD5_PACKAGER.bat and follow the instructions.

3. put the device into download mode, start Odin and flash the official twrp recovery. for help with odin, just look here.

4. boot the device into recovery. I use "adb reboot recovery" from windows so that I don't always break my fingers with the key combinations :)

4. in twrp go to install-> flash image (right side) and select the unofficial twrp 3.2.3 from the device memory. Flash as recovery and restart the device. Flashing this Twrp version with odin does not work!

Reboot the device into recovery. The boot process takes a while, so keep calm :)

6. perform factory reset in twrp (wipe data + cache + dalvik) This also takes time I think because of the creation of the ext4 file system for cache.

7. select lineage, gapps and magisk (in this order) and flash. I flashed lineage first, then factory reset again and then gapps and magisk,

8. Perform factory reset again

9. reboot and enjoy :)


After the installation, however, the device was still not really usable because it was very slow.
I recommend using programmes like Swapper (root) to create a swap file. this speeds up the device enormously! That's why I also installed magisk.
With Swapper I created a 1024Mb swap file and left swappiness at 30% It works perfectly!

So I hope it helps one or the other.
 
Last edited:

mwahahaa

Senior Member
Jun 27, 2015
156
36
Google Pixel 4a 5G
Google Pixel 7
Great tip. I thought I was the only one wholly unimpressed with the performance of this rom "as is" (the 2GB RAM and weak Exynos processor are major limitations). I previously tried limiting background activities but that didn't make any difference and I was ready to chuck my T-520 in the garbage. However, using a swap file like you suggested has me partying like it's 2014! Now if I can only find a way to achieve widevine L1 status so I can watch Netflix in HD...
 
Last edited:

menner-xda

Member
Mar 10, 2016
17
12
Thanks to the great master for this great work!
With my SM-T900, the 17.1..v2awifi runs clean and fast.
Question:
Will there be another security update for the SM-T900?

installed with Odin: -twrp-3.7.0_9-0-v2awifi...
then
-Format
-Wipe Cache/Data/system
chosen
zip
-lineage-17.1-20210510-UNOFFICIAL-v2awifi
-open_gapps-arm-10.0-nano
be happy:)

I recently built /e/OS 1.8.1 Android Q for v2awifi. Security update is of January 2023. See


I'm currently on the way to repair the mic/recording. The root cause is: /system/vendor/etc/mixer_paths_0.xml is derived from github.com/exynos5420/android_device_samsung_v2a-common, and this is incomplete.
 
  • Like
Reactions: Larision

harrybarracuda

Senior Member
Mar 18, 2008
50
2
Could I please ask for some help installing LineageOS 17.1 on an SM-T900?

Having read the thread I reverted my device to Stock Rom, Rooted and installed TWRP 3.0.2-0.

I had no trouble getting to LineageOS 14

However, when I try and install 17 through TWRP 3.0.2.0 it errors saying a file is missing from META-INF.

If I try and install it through TWRP 3.7.0.9 it says "Invalid Zip File Format"

Can someone tell me what I'm doing wrong or if there is another way to install 17.1 on the SM-T900?

TIA
 
...
However, when I try and install 17 through TWRP 3.0.2.0 it errors saying a file is missing from META-INF.

If I try and install it through TWRP 3.7.0.9 it says "Invalid Zip File Format"......
I have the impression that the file is corrupted when 3.7.0 tells you that.
tested older TWRPs but younger than 3.0.2 if there're any?
Did you test checksum?
Tried a second download of that file?
 

menner-xda

Member
Mar 10, 2016
17
12
I had no problem installing LOS 17.1, the link from the beginning of this thread, on SM-T900, using TWRP 3.7.0.

Probably your download is corrupted.

You could also install my current build of /e/OS 1.8.1 q, based on LOS 17.1, see

Post in thread '[ROM][Samsung][SM-T900][v2awifi][UNOFFICIAL][/e/OS v1.8-q][Android 10.0 Q]' https://forum.xda-developers.com/t/...s-v1-8-q-android-10-0-q.4561637/post-88280091
My current build of /e/OS 1.9-q for v2awifi is also linked in that thread.
 
  • Like
Reactions: jumatemi

ahmed786

Senior Member
May 27, 2010
125
8
has anyone found a good way to increase ram on the t520. ive tried both swapper and zram and they both havent helped. the tablet is lagging alot. ive debloated as much as i can.
 

jumatemi

New member
Sep 6, 2015
3
0
My current build of /e/OS 1.9-q for v2awifi is also linked in that thread.


It works perfectly on the SM-T900 tablet. The only slightly annoying problem is that it doesn't allow you to configure the screen colors and especially the reading mode at night.
Thank you for your effort and encourage you to add some more security patch in the future.

Thank you so much.
 

mwahahaa

Senior Member
Jun 27, 2015
156
36
Google Pixel 4a 5G
Google Pixel 7
has anyone found a good way to increase ram on the t520. ive tried both swapper and zram and they both havent helped. the tablet is lagging alot. ive debloated as much as i can.
There's no magic solution. This is an old tablet with a weak processor and woefully inadequate 2 GB of RAM. Swapper can help a bit but will not adequately offset the limitations of the hardware.
 

regepower

Member
Aug 12, 2013
49
4
Amazfit
Hello,

i did a new Build for the SM-T520 with the last security patch 5th Feb 2023

FYI: I am not sure if I will continue to provide updates as I will be selling my tablet.




Test on your own risk, Do a Backup before!!!!
Is dirty flashing over existing system possible?
 

regepower

Member
Aug 12, 2013
49
4
Amazfit

1.Ritter

New member
May 20, 2023
2
5
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!


Special thanks to Exynos5420 team and LineageOS for all the sources.

Use SM-T900 build at your own risk. I can't guarantee you it will work, because I have no device to test it on.

Work
Almost everything
It has pretty much the same functionality as Lineage 14.1

Known Issues
Built in mic not working
USB problems
You tell me...

Installation:
1. Flash latest official Samsung Firmware with ODIN
2. Flash latest TWRP Recovery: SM-T520 - SM-T900
3. Backup all partitions
4. Wipe Cache and Data
5. Install ROM.ZIP
6. Install latest GApps (ARM/Android10) https://opengapps.org/
7. Reboot and Enjoy
8. Optional: Install Magisk

For SM-T520 TWRP recoveries 3.1.1.0 and older will not flash this rom ending up with error 7: incompatible device.
Make sure to flash TWRP mentioned above.


Download:
SM-T520

SM-T900


I ll probably create builds with updated security and device code patches occasionally.

Enjoy fresh new Android!

Sources:
https://github.com/LineageOS (LineageOS 17.1)
https://github.com/exynos5420/ (Kernel, Device, Vendor)
Resolved
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    I'm not responsible for any damage to your device of any sort.
    By flashing this you take responsibility of anything that happens.
    Process at your own risk!


    Special thanks to Exynos5420 team and LineageOS for all the sources.

    Use SM-T900 build at your own risk. I can't guarantee you it will work, because I have no device to test it on.

    Work
    Almost everything
    It has pretty much the same functionality as Lineage 14.1

    Known Issues
    Built in mic not working
    USB problems
    You tell me...

    Installation:
    1. Flash latest official Samsung Firmware with ODIN
    2. Flash latest TWRP Recovery: SM-T520 - SM-T900
    3. Backup all partitions
    4. Wipe Cache and Data
    5. Install ROM.ZIP
    6. Install latest GApps (ARM/Android10) https://opengapps.org/
    7. Reboot and Enjoy
    8. Optional: Install Magisk

    For SM-T520 TWRP recoveries 3.1.1.0 and older will not flash this rom ending up with error 7: incompatible device.
    Make sure to flash TWRP mentioned above.


    Download:
    SM-T520

    SM-T900


    I ll probably create builds with updated security and device code patches occasionally.

    Enjoy fresh new Android!

    Sources:
    https://github.com/LineageOS (LineageOS 17.1)
    https://github.com/exynos5420/ (Kernel, Device, Vendor)
    6
    Hi,

    i did a build for my SM-T520 with the last updates, test on your own risk.

    5
    Hello,

    i did a new Build for the SM-T520 with the last security patch 5th Dec 2022


    Test on your own risk, Do a Backup before!!!!

    Had a strange behavior with dirty flash over my last 20220203 build and TWRP 3.2.3-0-v2
    I Flashed the update and end up in a Bootloop, only wipe Data, Cache and Dalvik did help.

    Restored and tried it with older twrp versions, but no change to update my device without loosing Data, Same when i did flash the 20220203 over 20220203 again.
    After whipe Data, flash 20220203 and then i could also update to the last build without whipe data, maybe its some problem on my device, but be carefull and do a backup.


    I tried also to do a Build for the SM-T900, but it end up in a error, so if someone can help me to fix the error i will start the build again, but I do not have time to fix it myself.

    Code:
    les ) && (cp \$modules /root/Lineage/out/target/product/v2awifi/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/vendor/lib/modules ) && (out/host/linux-x86/bin/depmod -b /root/Lineage/out/target/product/v2awifi/obj/PACKAGING/depmod_vendor_intermediates 0.0 ) && (sed -e 's/\\(.*modules.*\\):/\\/\\1:/g' -e 's/ \\([^ ]*modules[^ ]*\\)/ \\/\\1/g' /root/Lineage/out/target/product/v2awifi/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.dep > out/target/product/v2awifi/system/vendor/lib/modules/modules.dep ) && (cp /root/Lineage/out/target/product/v2awifi/obj/PACKAGING/depmod_vendor_intermediates/lib/modules/0.0/modules.alias out/target/product/v2awifi/system/vendor/lib/modules);          fi )"
    make: Entering directory '/root/Lineage/kernel/samsung/exynos5420'
      GEN     /root/Lineage/out/target/product/v2awifi/obj/KERNEL_OBJ/Makefile
    scripts/kconfig/conf --silentoldconfig Kconfig
      GEN     /root/Lineage/out/target/product/v2awifi/obj/KERNEL_OBJ/Makefile
      CHK     include/linux/version.h
      Using /root/Lineage/kernel/samsung/exynos5420 as source for kernel
      CHK     include/generated/utsrelease.h
    make[2]: 'include/generated/mach-types.h' is up to date.
      CALL    /root/Lineage/kernel/samsung/exynos5420/scripts/checksyscalls.sh
      CHK     include/generated/compile.h
      GZIP    kernel/config_data.gz
      CHK     kernel/config_data.h
      CC      drivers/usb/gadget/android.o
      CC      drivers/usb/host/ehci-hcd.o
      CC      drivers/usb/host/xhci.o
      CC      drivers/usb/host/xhci-mem.o
    In file included from /root/Lineage/kernel/samsung/exynos5420/drivers/usb/gadget/android.c:44:0:
    /root/Lineage/kernel/samsung/exynos5420/drivers/usb/gadget/composite.c: In function 'composite_setup':
    /root/Lineage/kernel/samsung/exynos5420/drivers/usb/gadget/composite.c:1272:24: error: 'struct usb_composite_dev' has no member named 'redriver_work'
         schedule_work(&cdev->redriver_work);
                            ^
    make[4]: *** [/root/Lineage/kernel/samsung/exynos5420/scripts/Makefile.build:307: drivers/usb/gadget/android.o] Error 1
    make[3]: *** [/root/Lineage/kernel/samsung/exynos5420/scripts/Makefile.build:443: drivers/usb/gadget] Error 2
    make[3]: *** Waiting for unfinished jobs....
      CC      drivers/usb/host/xhci-ring.o
      CC      drivers/usb/host/xhci-hub.o
      CC      drivers/usb/host/xhci-dbg.o
      CC      drivers/usb/host/xhci-exynos.o
      LD      drivers/usb/host/xhci-hcd.o
      LD      drivers/usb/host/built-in.o
    make[2]: *** [/root/Lineage/kernel/samsung/exynos5420/scripts/Makefile.build:443: drivers/usb] Error 2
    make[1]: *** [/root/Lineage/kernel/samsung/exynos5420/Makefile:995: drivers] Error 2
    make: *** [Makefile:130: sub-make] Error 2
    make: Leaving directory '/root/Lineage/kernel/samsung/exynos5420'
    FAILED: [W][2023-01-01T09:46:31+0100][4766] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
    [W][2023-01-01T09:46:31+0100][4766] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
    09:47:34 ninja failed with: exit status 1
    
    #### failed to build some targets (04:28 (mm:ss)) ####
    4
    I am currently working on building lineageos-15.1 and 16.0. I see theese versions as more stable because of more developed code. I had successfully built los 16.0 multiple times but always run into bootloop. Los 15.1 is even more tricky. I run into multiple problems building it but if I will succesfully complete it and it will be stable enough I will give you link to download.
    4
    Just to make things clear, I am not developer of code and not skilled enough to make changes in it. For this job, there is team exynos5420 and other cool contributors to make device sources. I use their device sources from exynos5420 and LineageOS github to build together final product... Rom.zip you install on device. I can't fix bugs, i only can wait until some contributor fixes it and I will build rom with fixes and updated security patches included.