yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 10.1 Android Development] garylawwd:
That is what a clean install is.

Maybe the gapps package you installed is too large.

A minimal gapps package is recommended for such an old tablet
[Galaxy Tab 3 10.1 Android Development] aureliocasoni:
Hi Gary,

First, thanks for you attention.

I have tried now the clean install, with micro and pico variants of Open GApps, but the auto power on charge tablet behavior to be continued.

Now, my santos103g tablet with Open GApps pico is auto booting on plug connected. (In this case, i not installed the SU addon).

Regards,

Luis
[Galaxy Tab 3 10.1 Android Development] stevjaxn:
Luis,

It's most likely an issue at the USB connection or your cable causing a "fastboot" condition. Samsung bootloaders don't usually corrupt and cause weird behavior. It could also be related to power/battery data in a persistent partition. Flash with stock firmware, boot and check before flashing this ROM if you want to narrow it down to hardware problem.
[Galaxy Tab 3 10.1 Android Development] EinarArnason:
Excellent work [MENTION=6587211]nels83[/MENTION], it's now faster than ever!
[Galaxy Tab 3 10.1 Android Development] Schnoinsch:
Not ROM related:

I want to buy a bigger Micro SD, because 32 are just not enough for alle the stuff i want with me on my Tab. Is there any restriction in maximum size? Want to go at least 128 gb, better 256 but i´m not sure the old tab "recognizes" such big cards.

Greetings
[Galaxy Tab 3 10.1 Android Development] James160103:
Our tablet only supports Micro SD cards up to 64GB in capacity unfortunately.
[Galaxy Tab 3 10.1 Android Development] Schnoinsch:
Meh, good thing i asked before ordering 256. Thanks mate.
[Galaxy Tab 3 10.1 Android Development] :
Altought officially just 64 are mentioned, want to share I'm using a 128GB w/o issues.
[Galaxy Tab 3 10.1 Android Development] ddudek77:
magisk

I managed to get Magisk running. There was error in kernel fixed by patch 4aedd4b0545222fed4bb7318fc144025eda8e119. I built boot.img image and full ROM for GT-P5200.

Source in my github, images in androidfilehost (user dpdudek).

I cannot post links directly because of "To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!"
[Galaxy Tab 3 10.1 Android Development] Schnoinsch:
Well, fml :D . Ordered about an hour after your post. Should have checked for an answer first. No big deal, since 64 gb are pretty cheap. Anybody that uses 256 / 400? (Or anybody that has one this size and could put it in the tablet for a moment to see if it´s working?)
[Galaxy Tab 3 10.1 Android Development] Soumy1234:
Could you explain to me exactly how you did it? I'm working on an RR ROM for this device and I'd really appreciate it if you could help me get Magisk to work!

EDIT: I found your Github and noticed you already have this applied in your kernel tree. I have some questions about your repos:

1. Do your device trees have the 512MB swap file?

2. Can I use them in my build (and give credits of course)

3. What is the reason for your Magisk repo (if you don't mind me asking)
[Galaxy Tab 3 10.1 Android Development] adonizy:
Google assistant

I have specific situation, all versions of "google assistant" what i try install after turning on don`t wonna work... I tried with app "google" but this app work without "ok google" saying and sometimes not listen... ;/
[Galaxy Tab 3 10.1 Android Development] ddudek77:
1. Kernel is 1 commit ahead of santos10-dev:cm-14.1, so swap status is the same like in [MENTION=6587211]nels83[/MENTION] tree (but I don't know).

2. Most of work in our device was done by [MENTION=6587211]nels83[/MENTION], so it's better to give credits to [MENTION=6587211]nels83[/MENTION].

3. I cloned the Magisk repo becouse first I found workaround by replacing in

https: // github.com / dpdudek / Magisk / blob / master / native / jni / Application.mk

to

APP_PLATFORM := android-21

In that way we have access to direct call to accept4, which work.

https: // github.com / topjohnwu / FrankeNDK / blob / 11dd44b3ab072892bfc5e966a68d2729ea0ad17a / toolchains / llvm / prebuilt / windows-x86_64 / sysroot / usr / include / sys / socket.h

I probably deleted also macro defintion of accept4 in

https: // github.com / topjohnwu / Magisk / blob / master / native / jni / utils / missing.h

So my solution was change syscall to accept4 call.

In ARM (and probably in x86_64) architecture accept4 can be called by syscall, on x86 these are done as an "indexed" call to socketcall syscall.

https: // github.com / LineageOS / android_bionic / blob / cm-14.1 / libc / SYSCALLS.TXT

Here is implementation of accept4 for x86

https: // github.com / LineageOS / android_bionic / blob / lineage-16.0 / libc /arch-x86 / syscalls / __accept4.S

So now it works that way

- accept4 is a macro defined in missing.h to call syscall

- this call return -1, becouse input parameter is greater than max value from https: // github.com / dpdudek / android_kernel_samsung_santos10 / blob / cm-14.1 / arch / x86 / syscalls / syscall_32.tbl

- .. next steps in xaccept4 function in xwrap.cpp

https: // github.com / topjohnwu / Magisk / blob / master / native / jni / utils / xwrap.cpp

After patch to kernel that work was unnecessary and now orignal Magisk installation works without changing anything in Magisk.
[Galaxy Tab 3 10.1 Android Development] Soumy1234:
I see. Thank you for the info! I'll definitely try out your trees and see how things go :good:
[Galaxy Tab 3 10.1 Android Development] Schnoinsch:
Could anybody confirm those cards as working / non working? Don´t want to order antoher card that i might not need .

Greetings Schnoinsch
[Galaxy Tab 3 10.1 Android Development] Ryzome:
Did anybody work out how to get around this issue.

I have just installed the latest version of the ROM and I'm also stuck on the Google Service - Accept button, i can click the button but get stuck on the "Put Google to work for you" (the next screen) and it just wont get past this page.
[Galaxy Tab 3 10.1 Android Development] James160103:
Set up your tablet without WiFi. Tap the key to go back several times until you see the list of available networks. Then select "Don't use network for setup" (or something similar to that) at the bottom.

That fixed it for me!
[Galaxy Tab 3 10.1 Android Development] Ryzome:
Thanks a lot that fixed it for me, much appreciated :)
[Galaxy Tab 3 10.1 Android Development] adonizy:
Google assistant

Google assistant work with your tablet ?
[Galaxy Tab 3 10.1 Android Development] wiranto pondan:
Oke
[Galaxy Tab 3 10.1 Android Development] James160103:
Nope, tried it on mine, doesn't work. If I were you I'd use Google Go instead of the regular Google app anyway.
[Galaxy Tab 3 10.1 Android Development] appie72:
I found a P5210 in the garbage,still looked very nice so took it home. Flashed twrp and lineage rom. Couldn't get magisk working so found and flashed the boot.img from ddudek77 and worked like a charm! Big thanks to nels83 and ddudek77 for making the P5210 perfectly usable again :)
[Galaxy Tab 3 10.1 Android Development] redmingo:
Where can i Download the Boot.img ddudek77?
[Galaxy Tab 3 10.1 Android Development] ddudek77:
https://androidfilehost.com/?fid=6006931924117916574
[Galaxy Tab 3 10.1 Android Development] Schnoinsch:
Guys, anyone? Could you stick a card bigger as 128 gb into our beloved to tablet to confirm if working or not :confused: Got no other way to find out (except buying a card of course but i allready got 64 that´s gonna be replaced with at least 128 gb that are already confirmed) and the thread where everybody uses this tab, should be the best source to ask :)

Greetings Schnoinsch
[Galaxy Tab 3 10.1 Android Development] X2pacXX:
and what is this boot.img?
[Galaxy Tab 3 10.1 Android Development] Soumy1234:
This boot.img allows Magisk to work properly without any problems on the ROM.
[Galaxy Tab 3 10.1 Android Development] redmingo:
how to install the Boot. Img?
[Galaxy Tab 3 10.1 Android Development] ddudek77:
Use "Install Image" button in TWRP.

http://i.imgur.com/ytBFf13.png
[Galaxy Tab 3 10.1 Android Development] redmingo:
Oh sorry i did Not See the Button. I am ashamed

But now everything works fine.
[Galaxy Tab 3 10.1 Android Development] harissut:
p5220 boot img

does the boot. Img also support p5220 model. :)
[Galaxy Tab 3 10.1 Android Development] garylawwd:
No boot.img's are model specific but you can try. If it doesn't work just dirty flash the rom again or extract the rom.zip and flash the boot.img to get back to the original
[Galaxy Tab 3 10.1 Android Development] ddudek77:
I extracted boot images for each device

https://androidfilehost.com/?w=files&flid=291877&sort_by=date&sort_dir=DESC
[Galaxy Tab 3 10.1 Android Development] DaRKeN58:
Very very thanks! My TAB3 move magisk very very well now, with the hide-magisk at 100%.

THNKX! ^_^
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
Has someone tried the low RAM Property patcher on this ROM? Can you provide a feedback?

https://xdaforums.com/android/software-hacking/mod-low-ram-property-patcher-android-t3737373
[Galaxy Tab 3 10.1 Android Development] aureliocasoni:
Hello stevjaxn and everyone,

Excuse me from my extended delay.

Finnally, I have flashed my GT-P5200 with Stock ROM, and the weird behavior is gone. When the charge is connected, the tablet is not booting up, this tablet is always booting up when my tablet stay on Lineage 14 beta, blocking me to calibrate the battery.

Any more ideas? I thanks a lot.

Luis
[Galaxy Tab 3 10.1 Android Development] MeetmeattheLondon:
Can you help me out?

I did everything as said and the TWRP won't load,It always reverts to "no command" error and loads into the Stock TWRP

Can you please help me out?
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Dont reboot after flashing recovery.

Untick auto reboot in Odin.

When recovery is flashed hold vol down and power button. This will restart the tablet but as soon as the screen goes black press vol up and home button and power button together to get into twrp.

If you reboot to firmware before rebooting to recovery then the recovery gets overwritten with stock.

Its not stock twrp its stock recovery im presuming you meant
[Galaxy Tab 3 10.1 Android Development] MeetmeattheLondon:
Brooo,Thank you for your help.It works!!!
[Galaxy Tab 3 10.1 Android Development] iNoad:
My device is GT-5200

Hello! My device is GT-5200 but when I try to flash the "lineage-14.1-20190714-UNOFFICIAL-santos103g.zip" file twrp says:

E3004: This package is for device: santos103g; this device is santos10wifi. Why?

I have discovered:

I installed TWRP for santoswifi instead of santos3g
[Galaxy Tab 3 10.1 Android Development] DaRKeN58:
It looks interesting, have you known anything else about it?

Greetings.
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
I tried to flash it but all I got was "Updater process ended with ERROR: 255".

I think this is the revelant part of my log:

I:Set page: 'flash_confirm'
MtpServer::run fd: 22
E:request read returned -1, errno: 5, exiting MtpServer::run loop
MtpServer::run fd: 22
E:request read returned -1, errno: 5, exiting MtpServer::run loop
MtpServer::run fd: 22
E:request read returned -1, errno: 5, exiting MtpServer::run loop
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
MtpServer::run fd: 22
E:request read returned -1, errno: 5, exiting MtpServer::run loop
Installing zip file '/sdcard/Download/android_lowram_enabler.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
E:Can't execute '/tmp/updater': Exec format error
Updater process ended with ERROR: 255
I:Legacy property environment disabled.
Error installing zip file '/sdcard/Download/android_lowram_enabler.zip'
Updating partition details...

In case I missed something, you can find my full log in attachment.
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
Here's some insights about the low ram property:

As I mentioned in my previous posts, looks like not possible to flash the zip file provided in that thread. However, opening the archive, there is just a script to put in /system/addon.d which essentially sets the property "ro.config.low_ram true".

I extracted that script but anyway won't work, even after a chmod 755.

In the end, I decided just to set that property in build.prop. It is quite simple: just type this in a terminal:

su

mount -o rw,remount /system
echo "ro.config.low_ram=true" >> /system/build.prop

Reboot and, if you get a black lockscreen, the property is activated. You can check also by typing in a terminal getprop and check for ro.config.low_ram.

Well, so are there benefits?

The boot appears to me to be slightly faster: here's my output of free in both cases:

With low ram property:

total used free shared buffers
Mem: 968712192 942415872 26296320 0 4640768
-/+ buffers/cache: 937775104 30937088
Swap: 419426304 4513792 414912512

Without (normal configuration):

total used free shared buffers
Mem: 968712192 942637056 26075136 0 5595136
-/+ buffers/cache: 937041920 31670272
Swap: 419426304 6402048 413024256

(yes, I use swap as it is a must with just 1GB of RAM)

Hmmm... so just 2 MB of RAM and 1 MB of swap less than normal.

But this is the condition on a fresh boot: this should be tested while using applications, especially the Google apps in Go version.

I'm going to test it further and to report if it is, as I believe, something which could make this tablet much useful.
[Galaxy Tab 3 10.1 Android Development] ronFenomeno:
are you sure your device is gt-5200? or it should be gt-5210?
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Sorry to bother you but I am just curious if you have noticed any more changes in stability since applying this mod?

Haven't been on my tablet much lately but I'm going picking it back up for a while to use around the house.

Do you think its worth to go with this or has it done anything at all for your system?
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
I was about to post it :)

Overall, my system has become faster in loading applications. I'm not talking about miracles, but I get a somewhat better response and faster loading times, especially with Microsoft Word.

In other uses I got improvements at various degrees, from slightly to significant. I haven't noticed any loses, apart the black lock screen and the black screen when you turn the menu from the top bar.

In the end, I believe the low ram is a property to turn on for this tablet, along with swap and F2FS.
[Galaxy Tab 3 10.1 Android Development] TedSamol:
For all the people that turn on the low ram property I would suggest disabling the heads-up notification setting. That is because when a notification pops on screen the screen turns black and only the notification is visible, similarly to when you drop the notification bar and the quick settings menu.
[Galaxy Tab 3 10.1 Android Development] flasta:
Hi@ all

Just flashed a stock 5220 and sim card is not working. How can i get it to work again?

Best regards
[Galaxy Tab 3 10.1 Android Development] garylawwd:
What did you exactly do? More info is required for this issue to be resolved.
[Galaxy Tab 3 10.1 Android Development] flasta:
Flashed stock 5220 with twrp, latest rom and opengapps. Even got imei but sim is not recognized
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Did you do any wipes at all?
[Galaxy Tab 3 10.1 Android Development] iNoad:
Yeah! I'm very sure my device is GT-5200. I realize that when you install the twrp compatible to a different model, you can flash the rom of the model that is not yours.
[Galaxy Tab 3 10.1 Android Development] flasta:
Yeah sure. Changed filesystem from ext4 to f2fs for system, data, cache... ;)
[Galaxy Tab 3 10.1 Android Development] Soumy1234:
Maybe that's why. I don't think stock supports f2fs. Things can get pretty funky when a ROM uses an unsupported file system. Try changing back to ext4 and see what happens.
[Galaxy Tab 3 10.1 Android Development] flasta:
Ok thanks i will give it a try :)
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Sounds kinda dumb seeing as Samsung invented f2fs so why wouldnt they include its support in there own electronics.

Typical Samsung logic..
[Galaxy Tab 3 10.1 Android Development] flasta:
I don't have stock rom its latest nels 7.1.2 rom and changed all to ext4 installed everything from scratch and sim is still not recognized :(
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
What if you flash a stock rom? Can we exclude a faulty simcard as reason?
[Galaxy Tab 3 10.1 Android Development] flasta:
Sim card is working and checked in a mobile phone. Will try flashing stock rom and test if it's working there.

Thanks anyway for your help.

Will report tomorrow. :)
[Galaxy Tab 3 10.1 Android Development] 4oo4:
Super excited to try this, but I was wondering if it will be necessary to clean flash when there are updates, or can you dirty flash updates once you're on 14.1? Thanks!
[Galaxy Tab 3 10.1 Android Development] mgjazz:
Dirty flash is fine. I went from alpha 2 to alpha 3 no problem.
[Galaxy Tab 3 10.1 Android Development] Gredwitch:
It's written in the main post.
[Galaxy Tab 3 10.1 Android Development] Gmo777:
Yes, I know. Therefore, the problem with Trebuchet has no solution
[Galaxy Tab 3 10.1 Android Development] Gredwitch:
Try Gapps stock.
[Galaxy Tab 3 10.1 Android Development] sashokmc:
Gapps-stock, many Gapps trash.
[Galaxy Tab 3 10.1 Android Development] Gredwitch:
Ya, but I think it replaces stock apps.
[Galaxy Tab 3 10.1 Android Development] Gredwitch:
Bug report; livedisplay (thing that reduces blue light) automatic function doesn't work.
[Galaxy Tab 3 10.1 Android Development] deadfun:
Is there a way to increase swap? (There is only 400mb swap)

Edit: ROEHSOFT Ram Expander works (selected data partition)

But it will disable the 400mb zram which is fine for me. :)
[Galaxy Tab 3 10.1 Android Development] chchia:
This is one big bad beast!!!! It is so smooth and stable, battery last longer than cyanogenmod 13!!! Bravo Nels u did it again! Thanks!
[Galaxy Tab 3 10.1 Android Development] sashokmc:
[MENTION=6587211]nels83[/MENTION] Hi! Could you please build libGLES_trace.so for Lineage OS 14.1? This library missed for some apps.
[Galaxy Tab 3 10.1 Android Development] Felix2994:
Hy nels83

I had a short look in your github depot and I have a question

I use your cm13 version and everything is working fine

In the proprietary files.txt you have less written at ril vendor then in the Los14.1

Can you short explain why

I would try by myself how a change works but I don't know how to make a flash able zip out of the files ;) it's the first time I looked in the programming of android ;)
[Galaxy Tab 3 10.1 Android Development] nels83:
Definitely! You may have noticed that I started working on it but since I don't know selinux very well it's quite time consuming.

Besides, selinux enforcing is a prerequisite for official lineage support ;)
[Galaxy Tab 3 10.1 Android Development] nels83:
libGLES_trace has been removed so I can't include it. Is it a strict dependency for these apps ?
[Galaxy Tab 3 10.1 Android Development] nels83:
My guess is that it's a browser bug. We don't have storage problems since alpha 2. Anyway, lineage dropped AOSP browser and now includes Jelly which uses system webview so it's always up to date. It will be included in alpha 4.
[Galaxy Tab 3 10.1 Android Development] nels83:
That's strange, it's working on my device. Did you try playing with the sliders ? You may not see a big difference between day and night by default.
[Galaxy Tab 3 10.1 Android Development] nels83:
We can't. 400mb is almost half of the ram so increasing it will result in poor performance.

However, there may be a way to add a second swap so you can add data partition swap with zram still enabled. I'll see what I can do.
[Galaxy Tab 3 10.1 Android Development] nels83:
Thanks for the report. Did you try alpha 3? I think most of the bugs you reported should be fixed.
[Galaxy Tab 3 10.1 Android Development] cmattern:
Excellent! I'll try to start tonight.
[Galaxy Tab 3 10.1 Android Development] hhbernd:
some Apps cannot be installed

Hi,

I realized that some apps cannot be installed (not compatible) as mentioned before. I am not able to install Amazon shopping and Amazon Prime Video. I think thats because Houdini is not yet supported. These apps are important for me. What do you suggest- wait for Houdini support or go back to an older Rom ?

Thank for helping.
[Galaxy Tab 3 10.1 Android Development] e.v.o:
Everything works like a charm. Device was a stock Samsung Galaxy Tab 3 10.1 3G P5200

Download Odin, TWRP, LinageOS/TWRP from [MENTION=7701328]ddudek77[/MENTION], OpenGApps and Magisk to a SDcard:

Odin: Samsung Odin

TWRP: [RECOVERY][GT-P52XX][UNOFFICIAL]TWRP 3.x for Samsung Galaxy Tab 3 10.1

LinageOS/TWRP from ddudek77: Android File Host: dpdudek's Samsung Galaxy Tab 3 10.1 Files

OpenGApps (x86, Android 7.1): The Open GApps Project

Magisk: Magisk - Root & Universal Systemless Interface

Flash TWRP (3.0.2) with Odin

Reboot into download mode (Power + Volume Down)

Select AP. Load TWRP via AP Button. Start. Exit

Shutdown

Reboot into recovery (Power + Volume Up)

In TWRP:

Backup EFS.

Wipe Dalvik Cache + System + Cache + Data

Convert to FS2S: Wipe > Choose Cache + Data > repair or change file system > change file system > F2FS > Swipe to Confirm

Reboot into recovery

Flash TWRP (3.3.1-2) from ddudek77

Reboot into recovery

Flash the LinageOS, OpenGApps and Magisk files

Reboot into system

Go into Magisk Manager and update

Versions/Files i used:

Samsung Odin 3.13.1: Odin3_v3.13.1.zip

TWRP: twrp-3.0.2-0-santos103g.tar.md5 (Flash with Odin: Galaxy Tab 3 10.1 3G: GT-P5200)

dpdudek's files:

TWRP: twrp-3.3.1-2-santos103g.img

LinageOS 14.1: lineage-14.1-20190719-UNOFFICIAL-santos103g.zip

Open GApps: open_gapps-x86-7.1-pico-20190823.zip

Magisk: Magisk-v19.3.zip

Additional steps:

Install Bromite: https://www.bromite.org/

Install Bromite WebView: https://www.bromite.org/system_web_view

[MENTION=7701328]ddudek77[/MENTION]

Could you please consider baking in the patches to use microG: https://xdaforums.com/android/software/lineageos-microg-t3700997
[Galaxy Tab 3 10.1 Android Development] ddudek77:
I checked and found that microG patches are already applied.

This is the commit in nels83 tree

https://github.com/santos10-dev/and...mmit/1ef4110e20f399dd45a4f2c58ef29ca27551530d

Here you can find orginal patch that should by applied

https://github.com/microg/android_p...aster/patches/android_frameworks_base-N.patch

manual

https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing

I am not using microG so I don't know if it works. Has anyone tried?
[Galaxy Tab 3 10.1 Android Development] garylawwd:
I use microg exclusively and I never had trouble. Gave guides to install on this thread if someone wants to install just use the search :good:
[Galaxy Tab 3 10.1 Android Development] Rinloma:
Please Help MD5 does match error

I am using p5210 WiFi and I try install beta 5 santoswifi with twrp. All files is in SD card md5 and normal zip in there and is not installing md5 does match error
[Galaxy Tab 3 10.1 Android Development] garylawwd:
If its a mismatch with MD5 then you have a bad download and need to try downloading the zip again.

If the problem persists then delete the MD5 file and try flash the zip without it
[Galaxy Tab 3 10.1 Android Development] renr29:
Hi is this still applicable with no problems with the tab?
[Galaxy Tab 3 10.1 Android Development] Alcoloid:
firmware lineage-14.1-20190719-UNOFFICIAL

What is the fundamental difference and in general what is the difference between your firmware lineage-14.1-20190719-UNOFFICIAL-santos103g.zip and firmware LineageOS 14.1, Beta 5 (20190408) by nels83?
[Galaxy Tab 3 10.1 Android Development] James160103:
The build from April lacks Magisk support and also has an older security patch.
[Galaxy Tab 3 10.1 Android Development] Alcoloid:
firmware lineage-14.1-20190719-UNOFFICIAL

... that's all? :) ... but in terms of performance. smoothness and the like?