[Samsung Galaxy Tab A7 Lite] tom.android:
New microG with LOS-20 GSIs A13

*Powerfull Bluetooth devices detection.( Without any configuration.)

View attachment 6081962

1. Debloated LOS-20 TD (Vanilla variant) 20240317 by Andy Y.

2. Install microG unofficial (v.1.3.1.60) by ale5000.

3. Using Root tool -The Latest KSU (non-GKI)v.0.9.0

Or

♡ The lastest APatch v.0.10.4. For T225 A13

2024.Latest APatch.For A13 T225 (Always update ) ( Can make your own" SuperKey" )

https://github.com/bmax121/KernelPatch/releases https://github.com/bmax121/APatch/ Essential modules. HOW TO CREATE COMPATIBLE APATCH KERNEL? ( Not for Un-subscriber) Set of command for Termux.

xdaforums.com

♡ The lastest APatch v.0.10.4. For T225 A14

2024.[custom kernel] New APatch Compatible Kernel For T225 A14 (Always update)

i compiled its with WSL2 in Win11. Latest New APatch Compatible Kernel For T225 A14 v.0.10.4 https://opensource.samsung.com/uploadSearch?searchValue=sm-t225 -Howto install.? 1. Flash T225_A14-Apatch-0-AK3.zip with kernel flasher. (Required...

xdaforums.com

Quick Step how2 ( from A13 Stock ROM )

1.Download vanilla+vndklite LOS-20 Trebledroid variant GSI.

https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-td/

2.Debloate downloaded GSI with WSL2 or Termux

<< for additional free spaces around 100-200 Mb.>>

Step.

2.1 Test , make sure your GSI normally booted with VegaBobo DSU.

2.2 Select only RW GSIs. Such as "vndklite variant".

But you can make RO GSIs and make its to RW.

2.3 Termux method here.

====================
# Open Termux app
====================
termux-setup-storage
termux-change-repo
pkg update && upgrade

pkg install android-tools e2fsprogs
pkg install tsu
pkg install mount-utils
or
pkg install termux-tools

=============
#Rename your GSI to "system.img" , copy system.img to downloads.
# with your file-manager & check your system.img there.
=============
cd storage/downloads
ls
==========
Optional:
Get rid of ReadOnly // if you used RO variant.
# make room biggen than actual RO GSI size
===========
resize2fs system.img 6G
sudo e2fsck -E unshare_blocks system.img

==========
Create mount point for loop mount your GSI during editing
===========
mkdir system_mount

sudo mount -t ext4 -o ro,loop system.img system_mount
sudo mount -o rw,remount /

========#make changes some files====
# erase not uses files for free spaces aroung 100-200 Mb
# After that stop mount

sudo umount system_mount

=======================
#Resize to minimum image size after the modification.
=======================

sudo resize2fs -M system.img

#Get current size in MB ( Example output: 2345)

du -m system.img

#Resize +100MB (Add more Free spaces)
sudo resize2fs system.img 2445M

#Dirty Flash new RW system.img
#Reboot into fastbootD

adb reboot fastboot
fastboot flash system new-rw-system.img

reboot into system (no wipe)

2.4 WSL2 method ( RW vndkilte GSI)

Launch linux sub-system on win11

#system folder was a mount-point.

#system.img was your GSI.

sudo mount -t ext4 -o loop system.img system

[sudo] password for tom:

#Removed unused system files

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/system_ext/apex/com.android.vndk.v28

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/system_ext/apex/com.android.vndk.v29

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/system_ext/apex/com.android.vndk.v30

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/system_ext/apex/com.android.vndk.v32

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/system_ext/priv-app/AudioFX

(base) tom@tom4232-chuwi:~$ sudo rm -R system/system/product/app/Etar

(base) tom@tom4232-chuwi:~$ sudo rm -R /home/tom/system/system/product/priv-app/Eleven

(base) tom@tom4232-chuwi:~$ sudo rm -R /home/tom/system/system/product/app/Aperture

(base) tom@tom4232-chuwi:~$ sudo rm -R /home/tom/system/system/product/app/ApertureLensLauncher

(base) tom@tom4232-chuwi:~$ sudo rm -R /home/tom/system/system/product/app/Jelly

(base) tom@tom4232-chuwi:~$ sudo rm -R /home/tom/system/system/product/app/Recorder

#Exit loop for system files modification

(base) tom@tom4232-chuwi:~$ sudo umount /home/tom/system

# Optimized system file

(base) tom@tom4232-chuwi:~$ sudo e2fsck -fy system.img

e2fsck 1.44.1 (24-Mar-2018)

Pass 1: Checking inodes, blocks, and sizes

Inode 7515 extent tree (at level 1) could be narrower. Fix? yes

Inode 7533 extent tree (at level 1) could be narrower. Fix? yes

Pass 1E: Optimizing extent trees

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

/: ***** FILE SYSTEM WAS MODIFIED *****

/: 6033/8160 files (9.1% non-contiguous), 455325/552804 blocks

# Decreate minimum system file.

(base) tom@tom4232-chuwi:~$ sudo resize2fs -M system.img

resize2fs 1.44.1 (24-Mar-2018)

Resizing the filesystem on system.img to 455424 (4k) blocks.

The filesystem on system.img is now 455424 (4k) blocks long.

#Check current file size

(base) tom@tom4232-chuwi:~$ du -m system.img

:Example Output

1780 system.img

#Add free spaces 100Mb

(base) tom@tom4232-chuwi:~$ sudo resize2fs system.img 1880M

resize2fs 1.44.1 (24-Mar-2018)

Resizing the filesystem on system.img to 481280 (4k) blocks.

The filesystem on system.img is now 481280 (4k) blocks long.

3.Download microG unofficial by ale5000.

https://share.freepro.com/2e83d513-b674-47ed-ab2a-ffc2c25cb0f9

4.Flash this GSI with fastbootD. ( easy and quick )

Howto patch stock-recovery here.

GitHub - Johx22/Patch-Recovery: CI service that patches recovery.img of Dynamic Samsung devices launched with Android 10 and above to enable fastbootd.

CI service that patches recovery.img of Dynamic Samsung devices launched with Android 10 and above to enable fastbootd. - Johx22/Patch-Recovery

github.com

adb devices
adb reboot fastboot
fastboot erase system

fastboot flash system [your_gsi.img]
-----> If founded "No spaces to resize partition error"
fastboot erase product
fastboot resize-logical-partition product 0x0
fastboot getvar all
-----> (bootloader) partition-size:product:0x0

#At FastbootD Menu select
-Enter Recovery

#At Recovery Menu select

-Wipe data/Factory reset confirm

-Reboot system now

Example:

C:\platform-tools>adb devices

List of devices attached

R0JR908EGH3 device

C:\platform-tools>adb reboot fastboot

C:\platform-tools>fastboot erase system

Erasing 'system' OKAY [ 0.344s]

Finished. Total time: 0.359s

C:\platform-tools>fastboot flash system lineage-20.0-20240317-UNOFFICIAL-arm64_bvN-vndklite-mod.img

Resizing 'system' OKAY [ 0.016s]

Sending sparse 'system' 1/7 (262076 KB) OKAY [ 10.908s]

Writing 'system' OKAY [ 2.735s]

Sending sparse 'system' 2/7 (262112 KB) OKAY [ 11.971s]

Writing 'system' OKAY [ 2.672s]

Sending sparse 'system' 3/7 (262112 KB) OKAY [ 11.143s]

Writing 'system' OKAY [ 2.735s]

Sending sparse 'system' 4/7 (262124 KB) OKAY [ 10.549s]

Writing 'system' OKAY [ 2.907s]

Sending sparse 'system' 5/7 (262128 KB) OKAY [ 9.346s]

Writing 'system' OKAY [ 2.719s]

Sending sparse 'system' 6/7 (261677 KB) OKAY [ 11.048s]

Writing 'system' OKAY [ 2.751s]

Sending sparse 'system' 7/7 (242712 KB) OKAY [ 10.767s]

Writing 'system' OKAY [ 3.610s]

Finished. Total time: 101.252s

C:\platform-tools>

-------------------------------

& Make auto screen brightness overlay file.

and Keep it in /vendor/overlay.

cp framework-res__auto_generated_rro.apk /vendor/overlay

You will see "Adaptive brightness button".

View attachment 6081784

View attachment 6081805

5.Execute install microG script .

(You must increase additional free spaces to your GSIs.)

Step

1. Download: microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip

2. Copy installation-file.zip to /sdcard/Download

3. Open platform tool cmd

adb shell

cd /sdcard/Download

su

unzip ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip zip-install.sh

sh ./zip-install.sh ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip

--------------------------------

Example output: For not enough free spaces.

--------------------------------

Executing script...

PRELOADER

LOADER

Extracting 64-bit ARM BusyBox...

Parsing common settings...

Extracting scripts...

Starting main script...

Parsing local settings...

System mountpoint list:

/system

--------------------------------------------------------------------

INFO: Press the + sign button on your keyboard to enable live setup.

--------------------------------------------------------------------

Waiting input for 6 seconds...

Key: No key pressed

INFO: The '/' mount point is read-only, it will be remounted

INFO: The '/vendor' mount point is read-only, it will be remounted

---------------------------

microG unofficial installer

v1.3.1.62-alpha

(by ale5000)

---------------------------

Manufacturer: google

Device: tdgsi_arm64_ab

Emulator: false

First installation: true

Boot mode: true

Sideload: false

Zip install: true (1.1)

Recovery API ver: 3

Android API: 33

64-bit CPU arch: arm64-v8a

32-bit CPU arch: armeabi-v7a

ABI list: arm64-v8a,armeabi-v7a,armeabi

Verity mode: disabled

Dynamic partitions: true

Current slot: no slot

Recov. fake system: false

System mount point: /

System path: /system

Priv-app path: /system/priv-app

Android root ENV: /system

Fake signature: false

---------------------------

Starting installation...

Extracting...

Verifying...

/dev/tmp/custom-setup-a5k/files/framework/com.google.android.maps.jar

OK

Configuring...

Skipping: UnifiedNlp (legacy)

Enabling: microG Services

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/GmsCore.apk

OK

Extracting libs from priv-app/GmsCore/GmsCore.apk...

Selecting libraries => arm64-v8a

Selecting libraries => armeabi-v7a

Enabling: microG Services Framework Proxy

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/GsfProxy.apk

OK

Enabling: Google Play Store

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/PlayStore.apk

OK

Extracting libs from priv-app/Phonesky/Phonesky.apk...

WARNING: Missing libraries => arm64-v8a

Selecting libraries => armeabi-v7a

Enabling: F-Droid Privileged Extension

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/FDroidPrivilegedExtension.apk

OK

Disabling: Aurora Services

Enabling: NewPipe

Verifying...

/dev/tmp/custom-setup-a5k/origin/app/NewPipe.apk

OK

Skipping: Gmail

Disabling: Android Auto stub

Deleting '/system/app/PartnerBookmarksProvider'...

Waiting...

Deleting '/dev/tmp/custom-setup-a5k/files/etc/permissions' folder (if empty)...

Deleting '/dev/tmp/custom-setup-a5k/files/framework' folder (if empty)...

Preparing installation...

Processing ACCESS_BACKGROUND_LOCATION...

etc/default-permissions/google-permissions.xml

Done

Moving apps into subfolders...

Installing...

Copying the 'etc/zips' folder to the device...

Copying the 'etc/default-permissions' folder to the device...

Copying the 'etc/permissions' folder to the device...

Copying the 'framework' folder to the device...

Copying the 'etc/org.fdroid.fdroid' folder to the device...

Copying the 'priv-app' folder to the device...

WARNING: Rolling back 'Google Play Store'...

Deleting '/system/priv-app/Phonesky/Phonesky.apk'...

Deleting '/system/etc/permissions/privapp-permissions-Phonesky.xml'...

Deleting '/system/etc/default-permissions/default-permissions-Phonesky.xml'...

Waiting...

Enabling: microG Companion (FakeStore)

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/FakeStore.apk

OK

RECOVERED ERROR: cp: write error: No space left on device

Copying the 'app' folder to the device...

Copying the 'etc/sysconfig' folder to the device...

Deleting '/dev/tmp/custom-setup-a5k/origin'...

Deleting '/data/system/uiderrors.txt'...

Resetting Android runtime permissions...

Deleting '/data/misc_de/0/apexdata/com.android.permission/runtime-permissions.xml'...

Installing utilities...

Copying the 'bin' folder to the device...

Installing survival script...

Installation finished.

The ZIP installation is completed, now restart your device!!!

tdgsi_arm64_ab:/storage/emulated/0/Download #

------------------

Example: for successful installation.

C:\platform-tools>adb shell

tdgsi_arm64_ab:/ $ cd /sdcard/Download

tdgsi_arm64_ab:/sdcard/Download $ su

nzip ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip zip-install.sh <

Archive: ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip

inflating: zip-install.sh

h ./zip-install.sh ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip <

Executing script...

PRELOADER

LOADER

Extracting 64-bit ARM BusyBox...

Parsing common settings...

Extracting scripts...

Starting main script...

Parsing local settings...

System mountpoint list:

/system

--------------------------------------------------------------------

INFO: Press the + sign button on your keyboard to enable live setup.

--------------------------------------------------------------------

Waiting input for 6 seconds...

Key: No key pressed

INFO: The '/' mount point is read-only, it will be remounted

INFO: The '/vendor' mount point is read-only, it will be remounted

---------------------------

microG unofficial installer

v1.3.1.62-alpha

(by ale5000)

---------------------------

Manufacturer: google

Device: tdgsi_arm64_ab

Emulator: false

First installation: true

Boot mode: true

Sideload: false

Zip install: true (1.1)

Recovery API ver: 3

Android API: 33

64-bit CPU arch: arm64-v8a

32-bit CPU arch: armeabi-v7a

ABI list: arm64-v8a,armeabi-v7a,armeabi

Verity mode: disabled

Dynamic partitions: true

Current slot: no slot

Recov. fake system: false

System mount point: /

System path: /system

Priv-app path: /system/priv-app

Android root ENV: /system

Fake signature: false

---------------------------

Starting installation...

Extracting...

Verifying...

/dev/tmp/custom-setup-a5k/files/framework/com.google.android.maps.jar

OK

Configuring...

Skipping: UnifiedNlp (legacy)

Enabling: microG Services

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/GmsCore.apk

OK

Extracting libs from priv-app/GmsCore/GmsCore.apk...

Selecting libraries => arm64-v8a

Selecting libraries => armeabi-v7a

Enabling: microG Services Framework Proxy

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/GsfProxy.apk

OK

Enabling: Google Play Store

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/PlayStore.apk

OK

Extracting libs from priv-app/Phonesky/Phonesky.apk...

WARNING: Missing libraries => arm64-v8a

Selecting libraries => armeabi-v7a

Enabling: F-Droid Privileged Extension

Verifying...

/dev/tmp/custom-setup-a5k/origin/priv-app/FDroidPrivilegedExtension.apk

OK

Disabling: Aurora Services

Enabling: NewPipe

Verifying...

/dev/tmp/custom-setup-a5k/origin/app/NewPipe.apk

OK

Skipping: Gmail

Disabling: Android Auto stub

Deleting '/system/app/PartnerBookmarksProvider'...

Waiting...

Deleting '/dev/tmp/custom-setup-a5k/files/etc/permissions' folder (if empty)...

Deleting '/dev/tmp/custom-setup-a5k/files/framework' folder (if empty)...

Preparing installation...

Processing ACCESS_BACKGROUND_LOCATION...

etc/default-permissions/google-permissions.xml

Done

Moving apps into subfolders...

Installing...

Copying the 'etc/zips' folder to the device...

Copying the 'etc/default-permissions' folder to the device...

Copying the 'etc/permissions' folder to the device...

Copying the 'framework' folder to the device...

Copying the 'etc/org.fdroid.fdroid' folder to the device...

Copying the 'priv-app' folder to the device...

Copying the 'app' folder to the device...

Copying the 'etc/sysconfig' folder to the device...

Deleting '/dev/tmp/custom-setup-a5k/origin'...

Deleting '/data/system/uiderrors.txt'...

Resetting Android runtime permissions...

Deleting '/data/misc_de/0/apexdata/com.android.permission/runtime-permissions.xml'...

Installing utilities...

Copying the 'bin' folder to the device...

Installing survival script...

Installation finished.

The ZIP installation is completed, now restart your device!!!

---------------------End this part-------------

sh ./zip-install.sh ./microg-unofficial-installer-v1.3.1.62-alpha-by-ale5000-signed.zip

View attachment 6081904

6.Make a microG configuration.

View attachment 6081905

View attachment 6081907

View attachment 6081918

View attachment 6081922

Reboot will fix this error.

7.Optional: Change default Launcher.

Download Lawnchair launcher v14

Releases · Goooler/LawnchairRelease

My fork of Lawnchair. Contribute to Goooler/LawnchairRelease development by creating an account on GitHub.

github.com

8.Howto pass safetynet & play store device is certified.

Please see at "2024.Why Project.Elixir-3 A13GSI was revived.?"