yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 8.0 Android Development] sdavidson0316:
Hi all,

So I guess I need some help. I'm not entirely new to flashing devices, but it has been a while. I have an old T310 that I'm attempting to update so I can get current apps, but I'm at a hard stop. I was able to root the device with CF Auto Root and am able to access ODIN via the 3-finger restart, but I am a bit stuck at that point. Any time I try to reboot the device it sticks on the Samsung logo and never moves forward. I got TWRP to load up one time but after it rebooted nothing ever came back.

Also, the TWRP asked for a tar/md5/etc file and the only links I've found are to file systems. I can't find any files to match this format.

Have I bricked it or is there hope?

Sorry to be stupid...
[Galaxy Tab 3 8.0 Android Development] breversa:
@sdavidson0316 You're not stupid : first time flashing a recovery is the hardest part.

I did mine long ago so I can't remember for sure, but the general order is as follow :

Unlock bootloader (you'll have to search this out as I can't remember at the moment how it needs to be done for that moder)

Flash TWRP using either Odin (you'll have, again, to find a working version as it's a leaked Samsung software) or Heimdall (https://www.glassechidna.com.au/heimdall/ : still functional but may be outdated. Have a look at the code issues board for newer builds.)

From TWRP, wipe all your partitions

From TWRP, flash your ROM's zip

From TWRP, flash your additional software (F-Droid Priviledged Extension, Magisk, NanoDroid, you name it)

As far as I can remember, rooting your tablet is not a prerequisite to flashing a recovery. I might be wrong though.
[Galaxy Tab 3 8.0 Android Development] sdavidson0316:
I think my problem at this point is that I am not able to get TWRP to run again. I can flash it on there via ODIN but then how do I execute it on the reboot?
[Galaxy Tab 3 8.0 Android Development] breversa:
With your device off, hold the Home, Up (= "to get back UP"), and Power at the same time.

Release the power button once the Samsung logo appears, then the two others once "Booting to recovery" (or similar) message appear.

Remember : after flashing TWRP, you must *NOT* allow the *stock* ROM to boot normally, or it will overwrite your TWRP install.

You need to reboot to recovery once, then you're good to go.
[Galaxy Tab 3 8.0 Android Development] sdavidson0316:
Got it working, thanks!

It's super slow, but I'm guessing that will improve over time as things get stabilized. Even if it doesn't I only need it to run one little app.

I really appreciate your help!
[Galaxy Tab 3 8.0 Android Development] breversa:
Glad it worked ! :-D

Actually slowness has been reported. You might want to try the several latest builds by different maintainers and see if it helps.

Also, have you fully wiped you device from TWRP (i.e. /system/, /data/, /cache/, and internal storage) before flashing your ROM ?
[Galaxy Tab 3 8.0 Android Development] sdavidson0316:
I did indeed.

It really is already showing some moderate improvement in speed. I think it'll be ok. If not, at least I now know where I was screwing up. Fear no more! LOL
[Galaxy Tab 3 8.0 Android Development] luizvaz:
For those that are experiencing WIFI issues, I managed to find a solution.

My Galaxy TAB 3 is detected as lt01wifi but I checked on Stock ROM and WAS SM-T311.

I downloaded SM-T311 3G build by cuberio1 (lineage-14.1-20190725-UNOFFICIAL-lt013g.zip):

T311 - Google Drive

drive.google.com

Edited the updater-script:

https://xdaforums.com/t/rom-lineageos-14-1-for-t31x.3493393/post-80712325

Downloaded the OpenGapps Nano:

http://opengapps.org (use an ARM 32Bits, 7.1 zip).

Copied the ROM and GAPPS to SDCARD

Flashed ROM: lineage-14.1-20190725-UNOFFICIAL-lt013g.zip

Wiped dalvik-cache

Flashed GAPPS: open_gapps-arm-7.1-nano-20210210.zip

Wiped dalvik-cache and REBOOT

Walked thru wizard and WIFI works now.

Cheers!
[Galaxy Tab 3 8.0 Android Development] breversa:
@LuizVerrain Can you tell us what wifi issues this procedures solves ?
[Galaxy Tab 3 8.0 Android Development] esykas:
My opininon after many trials, i found the useful rom for me, the latest cuberio's rom, lineage14.1-20190725-UNOFFICIAL-lt01wifi

and BiTGApps-arm-7.1.2-R17_signed

with Twrp, flashed both, rom, gapps, with, last Magisk, and boot without install twrp again

after first boot, start magisk, update, and under hide mode, check safety net, after that, waite again for update the google app store, and now you see the Netflix supported normaly, without flash APK

obsrerver problems only for wifi under KerNoleOC , and try to instaled Kernel Adiutor 0.9.11.1, on perfomance mode

thanks all for the grande job
[Galaxy Tab 3 8.0 Android Development] alryhaan:
Thnx ,i do that
[Galaxy Tab 3 8.0 Android Development] cskhan:
thank you a lot.
[Galaxy Tab 3 8.0 Android Development] ei146:
Thanks for reporting your results.

Unfortunately when I try to do a dirty flash of this ROM over gr8nole's latest from April 2019 I end up in a boot loop. I cleared cache and dalvik, but did nothing else. I wanted to see if this build makes things faster, as my tablet sometimes becomes very slow for reasons I don't understand.

BTW: Following the link given in the first post cuberio's latest build lineage-14.1-20190725-UNOFFICIAL-lt01wifi.zip for my T310 has a size of about 340MB, while his older builds and gr8nole's builds are all around 270MB. Is this OK?
[Galaxy Tab 3 8.0 Android Development] breversa:
Have you tried clean flashing then ?

Sudden slowness/sluggishness has been reported. It may or may not happen after reflashing another ROM.
[Galaxy Tab 3 8.0 Android Development] ei146:
Nope I didn't. I still use it almost daily and to be honest right know I just don't have the time to spend some hours to have everything reinstalled after a complete wipe.
[Galaxy Tab 3 8.0 Android Development] ei146:
I still did not do a clean flash. But I may have found a workaround for the slowness on my device:

I noticed after some months of usage some apps use a lot of memory for cache. I mean a lot like several 100MB for Play Services and up to 700MB for Firefox. If I delete that my TM310 behaves much better.

And it doesn't matter if I do it via Settings -> Apps -> Memory or if I wipe the cache from the recovery TWRP.

Now I wonder if there is a way to tell the system to use less cache?
[Galaxy Tab 3 8.0 Android Development] breversa:
By the way, has anyone managed to get signature spoofing working on this ROM ?

I'm having issues with NanoDroid-patcher, Tingle, Needle, you name it… :(
[Galaxy Tab 3 8.0 Android Development] Witzker:
Hi

I'm new with this stuff.

It's confusing for a newbie.

Pls. Be so kind and tel me

what images to take for SM-T311 and where to download and

Pls tell me what gaps are suitable for this image and where to download them?

I hope that someone has patience with a newbie.

THX
[Galaxy Tab 3 8.0 Android Development] breversa:
Hello @Witzker,

The basic procedure is always the same :

Unlock bootloader

Install recovery (e.g. TWRP)

Flash custom ROM from recovery

Flash any other additionnal packages

Reboot and enjoy !

Check the thread for the latest SM-T311 ROM (if available). Otherwise, you *might* be able to use a SM-T310 build instead (but will lose the 311 features, of course).

I'd advise against using GApps (because Google) and recommend using MicroG instead : https://microg.org/ (the easiest way to install is probably Nanodroid : https://nanolx.org/nanolx/nanodroid, or maybe Magisk)

If you REALLY need to taint your device with the Google Apps, use https://opengapps.org/

Other versions exist such as https://github.com/MindTheGapps but I don't know anything about them.
[Galaxy Tab 3 8.0 Android Development] araxhiel:
Hi @Witzker

Based on the fact that I have re-installed the ROM on my T310 (i.e. I did it and didn't screwed up LOL), AFAIK you need to download:

Builds by tigger2014 : https://androidfilehost.com/?a=show&w=files&flid=281549 (I've checked and there's only one version for your tablet model, so you should have no issues with that). AFAIK, those are the latest ones.

GApps (https://opengapps.org/) you'll be probably good going for ARM (Platform), and Android 7.1. As for the variant, well, I'm always go for the nano, or pico variants, as they have what I need, but you can check this table and see which version fits better to your requirements.

Hope that helps, and let us know if you have any further questions.

Kind regards.
[Galaxy Tab 3 8.0 Android Development] bitbang3r:
I'm attempting to get back into AOSP development after being out of it for a while. I set up a new Ubuntu 20.04 dev environment and prepared it for building LineageOS, but this is the first time I've ever tried building AOSP from scratch for a device that isn't officially supported & needs extra work to get the necessary files. I'm feeling particularly unsure about the proper target directories (like, whether android_device_samsung_lt01wifi.git should go in android/device/samsung/lt01wifi, android/system/device/samsung/lt01wifi, or somewhere else.

cd ~/tab3
mkdir -p android/system/kernel/samsung/smdk4x12
cd android/system/kernel/samsung/smdk4x12
git clone https://github.com/gr8nole/android_kernel_samsung_smdk4x12.git

cd ~/tab3
mkdir -p android/system/device/samsung/lt01wifi
cd android/system/device/lt01wifi
git clone https://github.com/gr8nole/android_device_samsung_lt01wifi.git

cd ~/tab3
mkdir -p android/system/device/samsung/lt01-common
cd android/system/device/samsung/lt01-common
git clone https://github.com/gr8nole/android_device_samsung_lt01-common.git

cd ~/tab3
mkdir -p android/system/vendor/samsung
cd android/system/vendor/samsung
https://github.com/gr8nole/proprietary_vendor_samsung.git

cd ~/tab3
mkdir -p android/system/hardware/samsung
cd android/system/hardware/samsung
git clone https://github.com/gr8nole/android_hardware_samsung.git

cd ~/tab3
mkdir -p android/system/external/stlport
cd android/system/external/stlport
git clone https://github.com/LineageOS/android_external_stlport.git

cd ~/tab3
mkdir -p android/system/packages/apps/SamsungServiceMode
cd android/system/packages/apps/SamsungServiceMode
git clone https://github.com/LineageOS/android_packages_apps_SamsungServiceMode.git

I saw a few others mentioned in another post, but I'm not sure whether they're relevant to the T310, where (exactly) they go, or where to find them:

device/samsung/qcom-common

packages/app/FlipFlap

packages/resources/devicesettings

likewise, I saw a post that mentioned the following sequence to build:

source build/envsetup.sh
breakfast lt01wifi
brunch lt01wifi

Is that right, or do I need to do something different, or in addition?
[Galaxy Tab 3 8.0 Android Development] esykas:
did you know why drain battery at closed!!!

accuBattery said 77% health, without another problem

but, in 20 hours close device, i see 50% eat battery!!!

thanks for any advice
[Galaxy Tab 3 8.0 Android Development] mr171179:
First of all thank you very much for all your work and help, Honestly it's great

I had the same slowness issues with my 310, but it's fixed now. My steps were the following (I'm sorry, it's not very scientific but it was what I did, even if is my first time flashing a device maybe it can help someone)

Cuberio1 lastest ROM, flash KO with error error, so nothing...

gr8nole lastest ROM, flash OK but very slow

Tigger2014 latest ROM, flash OK but very slow too

As it was very slow I flashed another ROM from another forum, It was fast but very old (Fast but bad), so I flashed again the latest gr8nole ROM, which was the one everyone recommended. But this time… it works fast! So great

An issue that I have not been able to solve is the fast charge

While the device is off, charging is fast, while the device is on, charging is slow.

I have searched a lot in the forum and I have not been able/knew to find a solution. Any ideas?

Thanks again for all your help!
[Galaxy Tab 3 8.0 Android Development] breversa:
Thank you @mr171179 for this feedback !

This is the reason why I took the habit to first flash the latest stock ROM (downloaded with Frija) on Samsung devices, before unlocking the bootloader/flashing recovery/ROM/etc.

I got rid of my T310 before, but I would have been curious to see if it had changed anything. :)
[Galaxy Tab 3 8.0 Android Development] LunarCheeze:
Installed lineage-14.1-20190428 (gr8nole) but when I try CAST, it shows, "No nearby devices were found". No option in CAST to "Enable Wireless Display". Is the CAST feature working in this build?
[Galaxy Tab 3 8.0 Android Development] solnyshok:
Couple of weeks ago, wifi stopped working again (but this time, mac address is ok, I see networks around me, but cannot connect to any of them). I wonder, what could be the cause, maybe some certificates expired? (checked this on 2.4GHz, 5GHz, several different routers and phone-access-points).
[Galaxy Tab 3 8.0 Android Development] solnyshok:
I reflashed gr8nole rom, got mac issue, replaced macloader, now wifi turns on. managed to connect to several unencrypted networks, and even had connectivity for couple of minutes, but now again I see all networks around, but cannot connect to any of them
[Galaxy Tab 3 8.0 Android Development] solnyshok:
I had to disable captive portal checks to connect to any network. Did this by going into terminal

$su
#settings put global captive_portal_mode 0
[Galaxy Tab 3 8.0 Android Development] speckdeckel:
i have pictures in the internal memory and sd card but no pictures are displayed in the gallery, is there a solution please?
[Galaxy Tab 3 8.0 Android Development] bikepunk:
thanks all of you people. I just got a T310 and was wondering what I would do with this 4.4 android. I took the risk to follow your advices and flashed tigger2014 build.

No Gapps of any kind. f-droid only !

It works smoothly ! No problem so far with the wifi and no lag at all (it feels actually faster than the stock 4.4 ROM).

This device will be used some more time thanks to you mates :)
[Galaxy Tab 3 8.0 Android Development] retiredtab:
@gr8nole , I'm building 14.1 with your repos and source code for SM-T310. Do I have your permission to release a 14.1 updated build if I can get it working?

Of course, I will give you full credit for all the work since I'm just compiling it and adding no changes to the source code.

Thank you for your work on this device and your github code.
[Galaxy Tab 3 8.0 Android Development] gr8nole:
You are welcome to use anything I have uploaded. Good luck!
[Galaxy Tab 3 8.0 Android Development] retiredtab:
ALL CREDIT AND THANKS GO TO gr8nole for his github repos, source code and hard work.

@gr8nole, the only change to your manifest to build was

https://github.com/gr8nole/Build-Scripts/blob/Lineage-14.1/local_manifests/lt01.xml#L10

from revision="cm-14.1" to revision="lineage-14.1"

I have added NO VALUE to his github code. I'm simply compiling the source code with the latest 14.1 security patches for those who cannot.

All the bugs that were in the past are still here in this build whatever they may be. I have NOT read the entire thread so I don't know the problems with this device.

You should be able to dirty flash from gr8nole's last build since I'm using his source code. I recommend wiping cache and dalvik/cache. First boot after installing will take about 4 minutes. If it gets stuck at boot animation, backup your data and do a clean install by wiping and formatting your data.

I only have the SM-T310 for a short period of time and cannot promise to make monthly builds with security patches. The SM-T310 is not mine and the owner may want it back at anytime.

I have included the following UNOFFICIAL monthly security patches from LineageOS into my build:

https://review.lineageos.org/q/topic:n-asb-2021-09
https://review.lineageos.org/q/topic:n-asb-2021-10
https://review.lineageos.org/q/topic:n-asb-2021-11
https://review.lineageos.org/q/topic:n-asb-2021-12
https://review.lineageos.org/q/topic:n-asb-2022-01
https://review.lineageos.org/q/topic:n-asb-2022-02
https://review.lineageos.org/q/topic:n-asb-2022-03

All the above have yet to merged or may never into the 14.1 device trees.

Since 14.1 or Android 7 was long deprecated by LineageOS and Google respectively, I have manually modified the security patch string to say

PLATFORM_SECURITY_PATCH := 2022-03-05

at

https://github.com/LineageOS/android_build/blob/cm-14.1/core/version_defaults.mk#L134

to indicate that Mar 5 UNOFFICIAL security patches have been incorporated.

Don't be fooled by these March 5, 2022 security patches. While it's nice to have these security patches, there's a lot of security vulnerabilities with the old kernel, old proprietary blobs/drivers and old code in these devices.

You can get the build called lineage-14.1-20220316-UNOFFICIAL-lt01wifi.zip from

https://sourceforge.net/projects/retiredtab/files/SM-T310/14.1/

Again, all thanks and credit goto gr8nole.

PS. I ONLY have the SM-T310. I WILL NOT make "blind" build for devices which I don't have. Namely, I will NOT build SM-T311 and SM-T315.
[Galaxy Tab 3 8.0 Android Development] ei146:
@retiredtab, thanks for your efforts.

I tried your build on my T310. I did a dirty flash over the latests build from @gr8nole using TWRP wiping Cash and DALVIK. But the device got stuck in a bootloop. All was fine again after I flashed the old build again.
[Galaxy Tab 3 8.0 Android Development] retiredtab:
As I mentioned, in the above post, you may need to do a clean install if dirty flash doesn't work. So far, 71 people have downloaded my build and I'm assuming 70 people had no problems and you're the first to report a problem with dirty flash.
[Galaxy Tab 3 8.0 Android Development] ei146:
Obviously you spent some time and effort to make this build so I figured you might want to know how it works for people out there. If not, no worries.

Ah BTW, concluding 71 downloads means 70 successful installs is just... never mind.
[Galaxy Tab 3 8.0 Android Development] futurepr0n:
I have the GT310 and it’s wifi only - so I still need to try and perform the unlock bootloader step!? I was unable to find oem unlock in developer settings.

I’d like to try and breathe life int this old thing if possible
[Galaxy Tab 3 8.0 Android Development] retiredtab:
New build called lineage-14.1-20220413-UNOFFICIAL-lt01wifi.zip. See https://xdaforums.com/t/rom-lineageos-14-1-for-t31x.3493393/page-95#post-86588505 for details.

I updated to April 5, 2022 security patches with

https://review.lineageos.org/q/topic:n-asb-2022-04

This will likely be my last build as my friend wants his tablet back now.
[Galaxy Tab 3 8.0 Android Development] Sebartist7:
Hey Bro, thanx for your work, It really helps me a lot. My mom got a tablet, and she just need it to use youtube, but even to that was impossible without installing other rom. Thanx bro. keep it up!
[Galaxy Tab 3 8.0 Android Development] NeonHD:
Omg, this ROM is still being updated by people?? :O

The Galaxy Tab 3 8.0" was the very first Android device I have ever owned. I remember first flashing CM12 and then CM13 on it. Definitely had some very fond memories of this tablet.

Sadly I sold it and don't have it anymore to flash LOS14. On the bright side, to satisfy my nostalgia I bought myself a refurbed Galaxy Tab S back in 2020, which was Samsung's flagship tablet of 2014 (the Tab 3 being its budget counterpart). Been rocking LOS14 on that device ever since.

But anyway I digress. Thank you @gr8nole for these good memories.
[Galaxy Tab 3 8.0 Android Development] mattia1980:
hi, how can I enable double tap on the screen to wake up the tablet? thank you
[Galaxy Tab 3 8.0 Android Development] retiredtab:
New build called lineage-14.1-20220610-UNOFFICIAL-lt01wifi.zip. See post https://xdaforums.com/t/rom-lineageos-14-1-for-t31x.3493393/page-95#post-86588505 for details.

I updated to May 5 and June 5, 2022 security patches with

https://review.lineageos.org/q/topic:n-asb-2022-05

https://review.lineageos.org/q/topic:n-asb-2022-06
[Galaxy Tab 3 8.0 Android Development] mattia1980:
Does this new version have the kernel capable of awakening the screen with double tap bun?
[Galaxy Tab 3 8.0 Android Development] retiredtab:
This is built on gr8nole's repo/code. If it's not in the existing rom, then it's not supported.
[Galaxy Tab 3 8.0 Android Development] Hema115:
Thank you so much @gr8nole for the latest 2019 release for T310 but I have a problem with sound, it's noticeably lower than stock version and I couldn't find mixer_paths.xml for the purpose of manually changing sound volume, I tried looking in System/etc and System/vender but they don't have any file that starts with mixer at all.

Mum can't watch her favorite series now due to this :(
[Galaxy Tab 3 8.0 Android Development] beliot:
I just revived from dead an old galaxy tab 8 sm-t310 with this rom :D Wow,i mean,another 5 years of live for this device :D ,working normal,no wifi issues,fast,stable! Guys just reflash rom from this post,its recently updated! Thanks!
[Galaxy Tab 3 8.0 Android Development] retiredtab:
New build called lineage-14.1-20220709-UNOFFICIAL-lt01wifi.zip. See post https://xdaforums.com/t/rom-lineageos-14-1-for-t31x.3493393/page-95#post-86588505 for details.

I updated to July 5, 2022 security patches with

https://review.lineageos.org/q/topic:n-asb-2022-07
[Galaxy Tab 3 8.0 Android Development] retiredtab:
The code says

https://github.com/gr8nole/android_device_samsung_lt01wifi/blob/cm-14.1/lt01wifi.mk#L30

If you look at

https://github.com/gr8nole/android_device_samsung_lt01wifi/blob/cm-14.1/configs/tiny_hw.xml

that's your mixer_paths.xml equivalent. I'm not sure why it copied over to /system/etc/sound/lt01wifi. That is, if you look at that file lt01wifi, that is tiny_hw.xml.

Looks like the speaker stuff starts on line 113.
[Galaxy Tab 3 8.0 Android Development] heilbron:
Has anybody tried this new SM-T310 build with a SM-T311?

(I'm prepared to loose the 3G features if the rest is working.)

Thanks in advance!

--

Update 2022_07_23:

I tried to install it myself, but TWRP complains about an incompatible image - which makes sense. Has anybody built this newer LineageOS for TM-311? Thx again.
[Galaxy Tab 3 8.0 Android Development] Manaplayer:
Thank you for your support :)
[Galaxy Tab 3 8.0 Android Development] gimavo:
Is this thread still active? I have the problem with the MAC adresse starting with 02:00:00...

I just wanted to see if there is a point in taking the log.

Thanks!
[Galaxy Tab 3 8.0 Android Development] Concept48:
Thanks so much , great job , rom is working really nice on my T310. Will you continue bringing updates to this Rom , ?
[Galaxy Tab 3 8.0 Android Development] retiredtab:
I no longer have the T310 so my July 9 build with the July 5th, 2022 security patches is the last one.

If someone else wants to build it, I can help guide him/her to what steps to take because the Aug 5th and Sept 5th 14.1 unofficial patches are up on gerrit. This person would have to know some linux CLI, have 200GB free hard disk space, at least 8GB DRAM and 2 CPU cores or more. Depending on the hardware, the build can take as little as 1 hour to more than 10 hours.

https://review.lineageos.org/q/n-asb-2022-08

https://review.lineageos.org/q/n-asb-2022-09
[Galaxy Tab 3 8.0 Android Development] Concept48:
Thanks so much for replying , I would love to do it , but I lack the skills , I think . I can search a device for you and send it , so you can continue what you were doing .
[Galaxy Tab 3 8.0 Android Development] marymmcc:
Lineage 14.1 on my sm t-310 has become unusable because it is so slow. Any ideas on what i can do ?
[Galaxy Tab 3 8.0 Android Development] Concept48:
are you using gapps?
[Galaxy Tab 3 8.0 Android Development] marymmcc:
Yes. I then reflashed with lineage-14.1-20220709-UNOFFICAL- lto1wifi.zip. First without Gapp and I was unable to open any links. Then reflashed with Gapp and I was unable to open any downloads. Is there a stable build that I can reflash?
[Galaxy Tab 3 8.0 Android Development] Concept48:
Ok I see try https://mirrors.c0urier.net/android...lt01wifi/XenonHD-170510-Official-lt01wifi.zip I use that ..install aurora store not gapps it will kill the performance.
[Galaxy Tab 3 8.0 Android Development] marymmcc:
thanks. I'll try that.
[Galaxy Tab 3 8.0 Android Development] alp47470:
Any work around for t311 ?