[Xiaomi Mi Pad 5] tom.android:
Reserved Part 2

(microG for A14)​

Every GSI will need less battery than MIUI. Because MIUI is permanent 'calling home' and sending personal data to Xiaomi. If you want to have a good battery usage, use a AOSP Vanilla GSI. Plus "HyperOS A13 for Nabu" is in static condition no update anymore then new GSIs Using is a good way to update this OS with your own.

( No No...... Port ROM)

For me very long times ago had learn and install so many good GSIs its safety , powerfull not less than dedicated custom ROM.

Make RW GSI (get rid of RO Variant )& Add new free spaces for inject your new code and features such as add "microG" files etc.

©Tools:

-Termux

+WSL2(modify gsi)

+microG

New alpha builds: for A14 from ale5000.

-microG unofficial installer v1.3.1.69 alpha: https://share.freepro.com/28e3e41a-18a2-497d-9744-b4ed87479a5a

Google Sync add-on v1.3.1.69 alpha: https://share.freepro.com/9a886de9-78bc-4fae-b2e9-3bab55cc8963

-----------End Announcement----​

road map.

1.Change Original Read only Rising OS Vanilla Variant to RW.

2.Add free spaces around 300Mb into GSI.

3.Dirty Flash RW GSI.

4.Install microG from ale5000.

Prerequisite: Installing via adb can really replace apps on a running system but obviously require root.

To install the zip via adb:

Code:

adb push microg-unofficial-installer.zip /storage/self/primary/Download/microg.zip

adb shell

cd /storage/self/primary/Download/

unzip microg.zip zip-install.sh

sh zip-install.sh microg.zip

Note 1: Replace microg-unofficial-installer.zip with the name of the zip on your pc that you want to install.

Note 2: Replace /storage/self/primary/Download/ with the path of a folder that really exist on your phone.

5.Download & install "Head Unit Reloaded" from play store. (For Use in my car)

-------End Road map----

Step by Step

1.Download and install Termux from Fdroid.

2.Open Termux

pkg update && upgrade

//if can not download any packages then will change repo with

termux-change-repo

termux-setup-storage

pkg install android-tools e2fsprogs

pkg install tsu

pkg install mount-utils

#use file manager copy "system.img" to downloads folder.

(rename your GSI.img to system.img)

ls

#output

storage

cd storage/downloads

~/storage/downloads ls

#output

system.img

pkg update

resize2fs system.img 6G

sudo e2fsck -E unshare_blocks system.img

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

sudo resize2fs -M system.img

//#Get current size in MB

du -m system.img

// ( output:2668)

#Resize +300MB (Add more Free spaces)

sudo resize2fs system.img 2968M

#Output

resize2fs 1.47.1 (20-May-2024) Resizing the filesystem on system.img to 759808 (4k) blocks. The filesystem on system.img is now 759808 (4k) blocks long.

//Copy new system.img (2.89GB)to your Computer.

Step enter into FastbootD mode.

//Delete Face unlock or security

adb devices

adb reboot bootloader

//Red Fastboot

fastboot reboot fastboot

//Blue Fastboot

fastboot flash system system.img

Spoiler content hidden.

//reboot into system (no wipe)

fastboot reboot

Next step download microG

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

cd /sdcard/Download

adb shell

su

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

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

#output

Spoiler content hidden.

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

Note: open cmd as admin only

C:\Windows\System32>adb shell

arm64_bvN:/ $ su

arm64_bvN:/ # cd /sdcard/Download

arm64_bvN:/sdcard/Download # sh ./zip-install.sh ./google-sync-addon-v1.3.1.69-alpha-by-ale5000-signed.zip

new microG setting ,newpipe & Play store button.

View attachment 6111629

View attachment 6111630

View attachment 6111631

After add your google account, try to install free app such as 'Brave browser" first. ( your new play-store will adjust itself.)

Restart

Enable GMS spoof

View attachment 6112299

New features

View attachment 6112342

Clean Play store cache

----------------End---------------

GitHub - vvb2060/KeyAttestation

Contribute to vvb2060/KeyAttestation development by creating an account on GitHub.

github.com

Special

---Step Debloat Read-Only GSI with WSL2 (win11)

Start Ubuntu Server

1. copy "RW system.img" fom Termux's Processing (.unshare_blocks) into "WSL2 Ubuntu /home/user"

2. create mount point "/home/user/system"

3. mount target "system.img"

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

4. Edit unwanted or add your new files.

----------RisingOS.v3.2-------

sudo rm -R system/system/priv-app/MusicFX

sudo rm -R system/system/system_ext/app/MatLog

sudo rm -R system/system/product/priv-app/Eleven

sudo rm -R system/system/system_ext/apex/com.android.vndk.v28.apex

sudo rm -R system/system/system_ext/apex/com.android.vndk.v29.apex

sudo rm -R system/system/system_ext/apex/com.android.vndk.v31.apex

sudo rm -R system/system/system_ext/apex/com.android.vndk.v32.apex

sudo rm -R system/system/system_ext/apex/com.android.vndk.v33.apex

sudo rm -R system/system/system_ext/apex/com.android.vndk.v34.apex

5. sudo umount /home/tom/system

6. sudo e2fsck -fy system.img

7. sudo resize2fs -M system.img

8. du -m system.img

output: 2562

9. # resize +300MB (add free spaces)

10. sudo resize2fs system.img 2862M

==End Debloat & add Free spaces -RO GSIs==

Linux tutorial

Conti.....Dual boot with Linux or Ubuntu 24.04 here.

KDE Plasma 6.Arch-linux

2024.[Beginner Guide][fastboot mode] V2.Linux.Installation.on.Nabu.with KDE.Plasma.6.Arch-Linux [No Virtual KBD]

Thank you ...Timofey (Developer) -Only one command to install. " lon-deployer " -Required * Internet -Required * keyboard ( no virtual keyboard ) https://github.com/timoxa0/Guide-Linux-Nabu C:\platform-tools-linux>lon-deployer...

xdaforums.com