yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 10.1 Android Development] garylawwd:
You can install most google apps wiith microG.

Maps wont work though but a great alternative is OMSand from the fdroid repo.

Some people can get gmail working but i cant so i use bluemail from the playstore which is excellent.

Magisk was a bit weird lately so i have opted for the su zip from the op which works great.

Xposed works a treat on my tablet no issues with greenify or anything.

I had youtube vanced working but it broke recently with frequent updates and im looking into a fix now
[Galaxy Tab 3 10.1 Android Development] rnd83:
I have neither GApps nor MicroG. I use FDroid, and Yalp Store (installed via FDroid) to download apps from the Playstore. Apps that need PlayServices won't work or with limited functionality. But the few apps that I use do work without problems. It's always best to try, even if Yalp Store says "needs Play Services".

Google Maps and Youtube work - in a browser (I use Firefox). I imagine GMail etc. will too. There might be some small differences to the the app (push messages for example), but the main functionality is there. And while I haven't tested that: you can download the app(s) with Yalp store and try.

For root I just use the su addon from lineageos (x86 obviously). Works for my needs.
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Ya but without microG or play services you will lose all purchases you have made in playstore and wont be able to make purchases either (we are all about supporting devs here) plus the limited functionality is a disaster. You wont be able to have any geocoder or nlp so device location will not work or be very innacurate.

It all depends on what you want to use the device for

Edit: search aurora store in fdroid too its a fork of yalpstore but it has a really nice ui compared to yalp
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
I'd have used stock rom, if it wasn't for F2FS support (tbh I naven't tried to install stock with Data/Cache partitions formatted as F2FS).

With ext4 this tablet appears to be quite obsolete: that's why I'm on Lineage right now.

So, returning to Lineage ( [MENTION=6587211]nels83[/MENTION] still here?) we have 2 ways to follow:

- either we try to understand the reason of all of these FCs on GApps and find a solution

- AND/OR understand how to make Nanodroid-microG work with other google services.

About the last point, right now I encounter strange situations, much likely "the google account registered on the tablet is not retained by other google apps", so I have GMail not working because it wants a Google account (but if I put mine microG tells me it's already registered); Google Calendar strangely complains for the same issue but can import the calendar; et similia.
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
In case they are missed:

(mine are not really optimized guides but should work)

procedure to install Nanodroid-MicroG:

https://xdaforums.com/showpost.php?p=79106493&postcount=1519

see also https://xdaforums.com/showpost.php?p=79006711&postcount=1473

procedure to install a version of GApps which won't crash (but they will update and crash unless you can prevent updating):

https://xdaforums.com/showpost.php?p=79090839&postcount=1509

use these gapps (courtesy of [MENTION=8504661]garylawwd[/MENTION]): https://mega.nz/#!MDwUCCRT!Tug-KGbC9DZu8wmU0pA1Q_0Af91qV_mhHYnPmHKzR1E
[Galaxy Tab 3 10.1 Android Development] James160103:
I just wanted to mention this again though you probably know about it: I don't know if the SELinux status of the latest Lineage OS build has always been permissive but what I do know is that this poses a major security risk.

Here's what curiousrom wrote in a ROM thread for the Galaxy S3 (the OS didn't have SELinux set to enforcing):

SELinux Enforcing (Wikipedia) is not just a "Google / LineageOS" whim thingy, it's a major Linux security feature: Security-Enhanced Linux (SELinux).

Developers often use SELinux Permissive in the early stage of app or firmware development & track the "avc: denied" entries in logcat to spot bugs or coding errors. There is nothing wrong with that.

[...]

This is especially important on a daily driver if you use your personal accounts, shopping & banking apps, etc. because root + SELinux permissive or disabled + apps from shady sources = zero security. :eek:

So I wouldn't recommend using this tablet for banking or online shopping and wouldn't root it if I've got any personal accounts on it at least.

Also turn installation from unknown sources off in Settings > Security. I would not install apps from unknown sources at all if I were you. Also be extra careful about apps you install from the Play Store and don't visit shady websites. You can also use Privacy Guard in Settings > Privacy.

As was previously mentioned in this thread it all depends on what you want to use your device for.

Tip: I installed Here maps as a substitute for Google Maps and I am using Firefox as a browser like a few others here and have YouTube set as a bookmark and have pinned it to the home screen.

You can replace the pixelated icon by installing the YouTube app and editing the icon of the shortcut in Nova Launcher (tap built-in icons). Then uninstall the YouTube app.

This makes launching the YouTube site a bit more convenient.
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
Very good observation, if used for high-risk applications.

But, this tablet is not officially supported by Lineage and right now we can't make Google Play work properly... I wonder (but I speak in theory): would it run with SELinux Enforcing, if we use Nanodroid-microG which spoofs itself to be like Google Play Services?

I have not the time to test, but on F-Droid there is this app:

https://f-droid.org/en/packages/com.mrbimc.selinux/

There is a XDA article about: https://www.xda-developers.com/selinux-switch-toggle-permissive/

Looks like for some reason, all of LineageOS builds are SELinux permissive (CyanogenMod were Enforcing).

I found also these:

https://www.reddit.com/r/LineageOS/comments/9hxyno/selinux_enforcing_problem_noob_question/

https://xdaforums.com/note-4/help/enforce-selinux-safetynet-lineageos-14-t3733611

If I have correctly understood, LineageOS builds are unsigned and won't be compatible with SELinux Enforcing...

Is this tablet an exception?
[Galaxy Tab 3 10.1 Android Development] James160103:
Thanks for your reply.

As far as I know all official LineageOS builds are signed and must be configured for SELinux Enforcing. https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#selinux-status

This was also a must for LOS 14.1 builds back when they were officially supported.

Unofficial LOS builds can have SELinux set to Enforcing, it just depends on the developer of the ROM.

You probably know a lot more about this than me, just mentioning it for other members.

If I'm wrong about any of this then please correct me. :)

I was wondering whether manually setting the SELinux switch to Enforcing would break any functionality of the OS (this could happen if dirty hacks were used by the dev to get things working).

After receiving the link to the app from you on the F-Droid store I thought I'd just give it a try and see how it goes.

So I flashed the addonsu from the LineageOS website, installed the app, gave it root access and selected Enforcing and did a reboot and now the SELinux status is indeed Enforcing.

Having the SELinux configuration set to Enforcing doesn't seem to have had any impact on the functionality of the ROM at all, everything appears to be working fine.

I have attached a screenshot as proof.

Thanks again for the download link and your reply!
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Sometimes swapping to enforcing may break RIL and/or other radios like Bluetooth, WiFi etc. Or the firmware might not boot at all.

Have you tried gapps after changing the selinux status?

Kinda interested to know if it is indeed the problem
[Galaxy Tab 3 10.1 Android Development] James160103:
I'll give it a go this evening.
[Galaxy Tab 3 10.1 Android Development] James160103:
I can now confirm that GApps do not work on LineageOS even with SELinux set to Enforcing.

Note that I did a completely clean install. I also tried out 2 different SELinux switch apps (the one from F-Droid and from XDA member Ibuprophen) and stopped, cleared the data from and disabled and then re-enabled all Google apps and rebooted my tablet several times.

Sorry to disappoint you :(

I, like all of you, would love to know the reason for Google services not working.

At least we can use the Play Store and have Enforcing SELinux with root access.

Thanks again anyway for both your help and your replies. :good:
[Galaxy Tab 3 10.1 Android Development] TescoBag:
Hi,

Can you check that link for gapps please? It's saying it needs a decryption key?
[Galaxy Tab 3 10.1 Android Development] donaldduck75:
mornig, i've install this ROM, but i've a problem like a Google Play Service, who crash.... someone who help me! tnk U
[Galaxy Tab 3 10.1 Android Development] garylawwd:
The decryption key is the last bit of the link, copy and paste this Tug-KGbC9DZu8wmU0pA1Q_0Af91qV_mhHYnPmHKzR1E

---------- Post added at 01:40 PM ---------- Previous post was at 01:37 PM ----------

https://xdaforums.com/galaxy-tab-3/development-10/rom-lineageos-14-1-t3587761/post79167103
[Galaxy Tab 3 10.1 Android Development] billouetaudrey:
Thx work, except youtube fc... you too ?
[Galaxy Tab 3 10.1 Android Development] HairyPriest:
YT fcs for everyone.. many use: https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757
[Galaxy Tab 3 10.1 Android Development] billouetaudrey:
FC too :'(

Which version they use ? pls

Found : 13.38.50 seem to be ok
[Galaxy Tab 3 10.1 Android Development] osd_daedalus:
Whooops, for some reason I copied a truncated link...

I have corrected my post above.
[Galaxy Tab 3 10.1 Android Development] GitManMatt:
Can confirm this version works for me; haven't tried any slightly higher versions - the newest version definitely force-closes every time, and cannot be run (as far as I can see)
[Galaxy Tab 3 10.1 Android Development] billouetaudrey:
I have no FC with this version , I received notification... I can't test lot because it's my stepbro tablet, I will ask this weekend if u want... Or test ?
[Galaxy Tab 3 10.1 Android Development] GitManMatt:
Update

OK, so further to my original post here and Gary's response...

Tablet working fine...using the following:

MicroG/nandroid for any Gapps issues, Play Store running fine

Maps - not bothered, using OMSand and/or browser

Email - not bothering with GMail, just using native e-mail client, works great

Magisk - as reported it weirded out, kept getting FCs/freezes, so not using this

Xposed- zero issues, works fine using Amplify, Greenify, MinMinGuard

Youtube Vanced - lots of problems with FCs on newest version, so switched to an earlier version, works fine

Root - using baked-in root and addonsu....works fine

That's probably as far as I'm going to take it on this one, I'll keep an eye on any developments with this ROM and see if things improve but am happy that it seems to work.
[Galaxy Tab 3 10.1 Android Development] BoyBawang2:
Hi. What version of Chrome Browser that doesn't force close?
[Galaxy Tab 3 10.1 Android Development] James160103:
All Chromium-based browsers don't seem to be working. Via doesn't work either, Microsoft Edge doesn't load any pages, nor does Samsung Internet (I don't think that ever worked).

I'd go with Firefox if I were you.

Edit: For those of you that are looking for a Google Maps alternative, go check out HERE WeGo in the Play Store.

You can also use the Outlook app instead of Gmail.
[Galaxy Tab 3 10.1 Android Development] GitManMatt:
Hey, sorry I don't think any work - I'm sticking to the native 'Browser' and Mozilla Firefox....I think an older version may work but I suspect it will update and you will be back to FCs again....

---------- Post added at 02:20 PM ---------- Previous post was at 02:18 PM ----------

what he said.....:good:
[Galaxy Tab 3 10.1 Android Development] Kornspeicher:
After playing around a bit with this device, i found a way to get the latest google apps working on this device.(Except for Chrome-Based Browsers, they do not work.)

First of all, do a backup, as you need to wipe the device.

1. Wipe the device(system,cache,data,dalvik)

2.Install the ROM

(Optional): Install Magisk 17.3. Magisk 18+ does not work on this device.

3.Reboot to system

(If you installed magisk, open it once to finish installation. You might need to reboot to recovery and flash it again. Do not download the latest version)

4.Download the ARM version of Google Play Services,Google services framework, and Google Play store from apkmirror.

Links:

https://www.apkmirror.com/apk/googl...ramework-7-1-2-android-apk-download/download/

https://www.apkmirror.com/apk/googl...6-0-89-040306-239467275-android-apk-download/

https://www.apkmirror.com/apk/googl...1-46-all-0-pr-238881427-android-apk-download/

5.Enable Developer Options(Settings->About Tablet->Tap Build Number 7 times.)

6.Enable USB-Debugging in Dev-Options

7.Connect to your PC(You need ADB and drivers installed.)

8.use "adb install packagename" to install the 3 apps from above.

9.Reboot to recovery.(adb reboot recovery)

10.In Recovery, Mount System.

11.Go to Advanced->File Manager. Navigate to /data/app.

12.Find the 3 google folders, tap on them, select current folder(bottom right) and select move. Go to /system/priv-app, click current folder and swipe to confirm. Repeat for all the Gapps.

13.Reboot to system.

14.Go to settings->apps, Show system apps. Find Google Play Services and grant all permissions.

15.Login to the play store. This may take a few minutes. Reboot if this is not working.

Some Apps only work if you download the ARM version from apkmirror.(you could probably change your build.prop to fake a ARM cpu, didnt test that.)

Google Maps, universal version from apkmirror, loads fine.

ARM-Based Chrome browsers actually start, but fail to load a page. Firefox works fine, other non-chrome browsers probably too.

This worked for my device, hopefully it might fix our gapps issues.
[Galaxy Tab 3 10.1 Android Development] billouetaudrey:
Stepbro just said Waze FC... ?
[Galaxy Tab 3 10.1 Android Development] garylawwd:
Instead of using adb use app systemizer Magisk module and install gapps as normal apks and use a terminal to move them to priv-app with help from the module. A bit easier and a bit more handy for those who don't have access to a PC
[Galaxy Tab 3 10.1 Android Development] tommyd2k:
I installed Rom. Then installed - open_gapps-x86-7.1-nano-20180704 but I disabled play store before connecting to wifi.

then I installed chrome through adb and it worked fine.

Then I decided to try out converting the filesystem to F2FS. The backup I made wouldn't work with that format so I ran a fresh install and now I cant make chrome work anymore. It opens to the front page but any address I type in just goes right back to the front page even though the address in the bar changes. If I try adding a user account it just stays stuck in the login screen after you select continue.

I am gonna restore it to ext4 and use my backup from when it was working and see what happens.

The Lineage OS is so much quicker than the Kitkat stock rom which is so slow at everything its pretty much unusable.
[Galaxy Tab 3 10.1 Android Development] gazzacbr:
... and worked for me too for my daughters pad.

Great work and thanks for the detailed instructions :good:

EDIT: huh, spoke too soon. google play services keeps crashing now
[Galaxy Tab 3 10.1 Android Development] Kornspeicher:
looks like an update reinstalls the x86 version, which crashes again.

Could you try to change these build.prop items, i didnt get the update yet.

ro.product.cpu.abi=armeabi-v7a

and from ro.product.cpu.abilist(32), remove x86, reboot and reinstall the gapps.

EDIT: Delete the Data of Google Play Services,Google Services Framework and Google Play Store, you cant install apps without doing this for some reason.

Will update this when my play services get updated.
[Galaxy Tab 3 10.1 Android Development] Spmp:
Thanks [MENTION=8284597]Kornspeicher[/MENTION] - Google play works, can install things without crashes, but one the critical components I am after - speech to text via gboard does not work with the PlayStore version of gboard, and I suspect this is due to an api version issue.

I get the message:

[MENTION=8284597]Kornspeicher[/MENTION], can you please elaborate as to the reason for the versions of play-services, play-store, and framework, and how I might find the correct compatible gboard and other google apps.

I have tried a large number of gboard versions to see if this helped - the earliest i could find with speech input v7.6 did not work, so I assume it is the google app on the device talking to google which is the problem 8(
[Galaxy Tab 3 10.1 Android Development] gazzacbr:
OK, thanks for the info but clearing data didnt work. Tab is my daughters so didnt root it. Went back to CM 13 and seems to be stable for now. To be honest, it doesnt look much different to 14 anyway but is so much faster than the stock Samsung bloat that we are happy for now.

Also just put a new battery in (whis was easier than I thought it would be) and that has given it a new lease of life :good: :D
[Galaxy Tab 3 10.1 Android Development] Inferno85:
Encryption work ?

Hello guys. There is someone who encrypt the device (P5210)? Worked? With TWRP 3.0.2 recovery and 14.1 lineage os. Thanks.
[Galaxy Tab 3 10.1 Android Development] sooperior:
Im not quite sure about my TWRP version (I think it's the latest available) but I have it encrypted and it works, no problem. Just have to input the input on boot.
[Galaxy Tab 3 10.1 Android Development] Kornspeicher:
Im using ARM apps, instead of the x86 apps that should be used for this device.

It seems like there is something wrong with the native x86 libraries, and thanks to houdini we can use ARM apps.

I got Gboard voice input working by doing the build.prop change i mentioned earlier:

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abilist and ro.product.cpu.abilist32, remove x86.

If you arent rooted, use twrp/adb to change the build.prop

Next, clear Play services, google services framework and Play Store data. (Opening the store might error for a few minutes. Reboot or wait.)

Download "Android System Webview" from the Store/APKMirror.

Next go to Settings->Apps->Show system apps, disable/uninstall the older android system webview( alternatively, use adb shell pm disable com.android.webview.)

Clear data of the google app, and gboard(or reinstall them) and it should work.

Disadvantage of this change:Firefox doesnt work anymore. We need to find a way to update houdini, according to logcats there are unknown/incompatible instructions.

Looking into this later today, will update this.
[Galaxy Tab 3 10.1 Android Development] Spmp:
Thank you for your prompt and thorough reply.

Voice input is still not working with the same error. Embarrassingly Google App was not installed at all as far as I could see.

To be clear I have done the following

Wiped tablet, format etc etc

Installed LOS with ROM from this thread

Enabled developer mode and ADB

Installed via adb gms, gsf, and vending linked to in your thread

Rebooted to TWRP and moved all three to `/system/app-priv`

Rebooted and install gboard `inputmethod.latin_8.0.4.236324529-release-armeabi-v7a-26800413`

Install addonsu and enabled root

As root set properties as mentioned

Cleared data from apps as mentioned

disabled webview

Installed WebView (`webview_73.0.3683.90-368309000_minAPI21(armeabi-v7a)`)

Installed Google App (`googlequicksearchbox_9.46.8.21.arm64-300926871`)

Restarted

Unfortunately now PlayStore crashes when verifying.

Google translate speech input works strangely, and Browser (Jelly?) fails.

GBoard no longer complains about Gapps version, but does not translate voice to text.

Looking at logcat sometimes I get errors about not being able to find `libcronet.74.0.3702.2.so` and sometimes I see `houdini : [3876] Added shared library /data/app/com.google.android.googlequicksearchbox-2/lib/arm/libcronet.74.0.3702.2.so for ClassLoader by Native Bridge.`

Errors like:

04-01 21:46:34.001 3692 3722 W ErrorReporter: reportError [type: 211, code: 393244]: errorCode: 393244, engine: 0

04-01 21:46:34.031 2539 3086 I AgsaSpeechRecognizer: onError: 3

I tried a few Google App version with similar results. Cleared data and rebooted between installs.
[Galaxy Tab 3 10.1 Android Development] Inferno85:
Thank you for your reply, but... My device stack. Bootloop. Can you check your TWRP version? Maybe this is the problem.
[Galaxy Tab 3 10.1 Android Development] rogankiwifruit:
I am new here and I am sorry it appears I assume you guys are working on it as I read previous chats but

I tried installing my GApps (X86 Stock 7.1) and Google play services aren't working.

and I see a few solutions to this problem are there any new / noob ways?
[Galaxy Tab 3 10.1 Android Development] James160103:
I don't think there's any new workarounds. The best one I think (and it really is worth it) is from garylawwd. :good:

I'll just sum everything up for you again the way I did it after reading his instructions:

1. Back up EFS partition: TWRP > Backup > select EFS > connect tablet to PC, find file in TWRP folder and save it to a safe place

2. Wipe System, Data, Dalvik and Cache

3. Flash LineageOS, then SU addon (https://mirrorbits.lineageos.org/su/addonsu-14.1-x86-signed.zip), microG and F-Droid - get the latest versions here (.zip): https://downloads.nanolx.org/NanoDroid/Stable/

4. Reboot, complete setup, connect to WiFi during process

5. Open microG settings, enable Google device registration and Google SafetyNet if needed (error notifications are to be expected, doesn't effect functionality)

6. Open Play Store and sign in (if Play Store doesn't work properly, force stop, clear data, disable, reboot and enable, it'll work after that)

7. Open F-Droid, wait for "Updating repositories" to disappear, search for "MozillaNlpBackend" and install it

8. Go to Settings in F-Droid and enable Automatically install updates (my recommendation)

9. microG settings > UnifiedNlp Settings > Configure location backends, select Mozilla Location Service; Configure address lookup backends> make sure Nominatim is checked; go back, then tap Self-Check

10. Install your favourite apps (Nova Launcher, Firefox, HERE WeGo, YouTube Vanced 13.37.52 (https://youtubevanced.com/root > page 13 (download desired version) > download installer

https://drive.google.com/drive/folders/1x67EYgPeLLSVzRfZyeLRCeWmbF-fUggd > put both in any folder on tablet > flash installer through TWRP, done))

Note: All Chromium-based browsers such as Chrome, Opera and Brave don't work so opt for Firefox instead. Apps such as Google, Google Maps, TuneIn, Google Podcasts, BBC apps and YouTube don't work - install YouTube Vanced as mentioned above, use HERE WeGo instead of Google Maps and Microsoft News as a substitute for BBC News if you want. Netflix and Spotify work flawlessly.

If you're looking for a weather app go for Overdrop, it works well; just add a weather widget to the home screen first, wait for it to load and then open the app. It works in landscape mode which is great.

Want a search bar on your home screen that works with Firefox? On Nova Launcher, long-press home screen > Settings > Home screen > select desired search bar placement and change search bar style if you want and select Nova Search as a search provider.

I know this sounds onerous but it's not that difficult and it really is worth it.

If you're having further problems we're glad to help. ;)

EDIT: Remember to enable root after setup. Settings > About Tablet > tap Build number several times > go back, tap Developer options > Root access > Apps only.

If you want enforcing SELinux for better security: F-Droid > search for "SELinuxModeChanger" > grant root access > tap Enforcing.

I'm using the SELinuxModeChanger app and haven't had any problems with OS functionality.

Also remember to disable unknown sources if enabled: Settings > Security