yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
Disclaimer:
We are not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.

What is this?

An AOSP based ROM, with gapps included and gesture support (pocket, hand wave, pickup).

Based on Android 14.0

Note: This was just a fun project to see if it would work, don't expect a ton of support for the hardware, I mainly use the GSI on my redmi note 9S.

Bugs:

Crash in 'More' section under security settings (happens on all devices, not related to this device), everything else including fingerprint, selinux, encryption all works (haven't tested FM radio but see no reason it shouldnt work with the right app)

Steps:

1. flash the boot.img from the tissot vendor_boot archive then Use latest CosmicDan treble TWRP here (install it using his instructions)

2. Re-partition to treble layout if you haven't done so yet (follow instructions on his page, use userdata repartitioning rather than system)

3. Flash vendor.img, system.img and a treble supported kernel (you can use mine or any of the other treble kernels on tissot xda)

the commands are 'fastboot flash system system.img' and 'fastboot flash vendor vendor.img'

4. Wipe data if coming from any other rom(!) using 'fastboot -w'

5. Reboot and wait for setup wizard to come up (may take 2-3 minutes)

There is now a toggle to add SuperSU on boot in Phh Settings > Misc:

Just enable it and reboot. (Keep in mind it breaks safteynet, if you need to use a banking app, disable it from settings and reboot)

Downloads:

Vendor and Boot image

Latest ROM

@phhusson @ponces @AndyYan for their help with the GSI

@santosst for building the lineage boot.img and vendor.img (based on a11), I modified the vendor to work properly for encryption and fixed fingerprint but thats it

Enjoy!

P.S.

I am not going to add any custom features from other roms so please don't comment about that, feel free to flash any other GSI with this vendor/kernel if you want other features.

Source: https://github.com/aosp-tissot

kernel source: https://github.com/aosp-tissot/android_kernel_xiaomi_msm8953-1

ROM OS Version: Android 14

ROM Kernel: Linux 4.x

ROM Firmware Required: Treble

Based On: AOSP

Version Information

Status: Stable

Stable Release Date: 2023-10-22​
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
17/11/23:

* Fixed a crash in gms

* Smaller gapps size

* More accurate safteynet pass

* November security patch

* Fixed crash in security settings
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
I'm excited to try this one, thank you very much!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
I just flashed the ROM with the provided boot and vendor images. The system boots well, and encryption and fingerprint are working. However, I faced some "soft reboots" just after configuring the phone with the wizard when I added my Google account and restored some apps.

What I call soft reboot: the phone, while being used or on standby, suddenly returns to the splash screen (that "Android" boot animation), then goes to the screen lock, asking for the unlocking pattern when I try to unlock it with my fingerprint, even if I have already unlocked it.

The attached logs are after a complete reboot, and the phone presented a "soft reboot" during the running logcat. Curiously, the logcat does not stop during the soft reboot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
yup i saw that but didnt have time to fix it, i see the issue, ill add the missing permissins and it should fix it, ill upload a build when the new patch comes out
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dtlucillek20:
Hello, good afternoon, question. Do I have to do the same steps to install another rom like the evolution x 14 or just install the img of the rom and that's it? From already thank you very much
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
Flash the provided system and vendor images, and install a treble-compatible kernel (or the one provided with the vendor image). I recommend using TWRP to flash if you are used to it. And do format data before rebooting!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dtlucillek20:
Hello people, good afternoon, query, since I am not finding it, any kernel compatible with A13 non-treble and also ask if the kernel in this post is also compatible with A13 Treble? From already thank you very much
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dtlucillek20:
thanks bro
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] danicadanicadanica:
Are we not allowed to use other GSI like from ponces ??

Release AOSP 14.0 v2023.11.01 · ponces/treble_aosp

Changelog Sync with latest sources of TrebleDroid Fix FOD on some Samsung devices Add toggle to display 5G as the recommended option in the preferred network type: Treble App -> Misc -> Force dis...

github.com
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Satyam prasad:
guide me how can i build for tissot using this

GitHub - ponces/treble_aosp: Script and patches for building TrebleDroid AOSP

Script and patches for building TrebleDroid AOSP. Contribute to ponces/treble_aosp development by creating an account on GitHub.

github.com
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Pramod7mc:
Please any one give me compatible Kernel link.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] lipe_riba:
Where can I find the Pixel Launcher for Android 14 to install?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
His GSI doesnt have my fix for fingerprint scanner on tissot so it will work but you wont have fp.

It's in the first post, use the kernel i provided
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] danicadanicadanica:
Ok i see.. will u update to latest ??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipesh.singh12:
I have booted Derpfest A14 arm64-ab-mini-vndklite using your boot and vendor

https://github.com/boydaihungst/treble_build_derpfest/releases/download/v2023.11.13/derpfest_arm64-ab-mini-vndklite-unofficial-20231113.img.xz

But was not able get fingerprint working and also encryption was not working for me !!!!

Any fix can you give me ?? Can I add any props or something

BTW this Gsi doesn't soft reboot and working superb as a daily driver all other things worked like a charm
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipesh.singh12:
Hi Sooti do you have any telegram I'd to contact you !!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
I dont support other GSIs, talk to their developer.

I only support my GSI
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sooti:
Uploaded new build that fixes softboot and other crashes as well as a smaller size, enjoy
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipesh.singh12:
New build is still soft rebooting and security patch is not up to date :(

Sooti Sirr..

View attachment 6034786
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dipesh.singh12:
Encryption issue is still present in recovery Sooti

View attachment 6034789
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
Do not mind about the "old" security patch. The ROM is synced with the latest sources (and there was no Android 14 in 2022). AFAIK, GSI matches the system and the vendor security patches' dates to pass SafetyNet, and since the vendor is from 2022, the security patch also shows as from 2022.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] maksimus0021:
Hi all. ))) I was on Pixel Experience Plus 13 when I decided to try installing this AOSP ROM 14. The installation was successful. I really liked the work of the ROM, for me there are no critical errors. But I have a question, how can I install Magisk and ROOT my device? I tried to install Magisk-25.2.zip through TWRP - 3.5.2 (for zignas) during the ROM installation process, as well as after rebooting into the system and configuring the phone, but Magisk Manager reports that the root was not received.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] danicadanicadanica:
You ever heard of Magisk 26.4 ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] maksimus0021:
Of course I heard and even tried it several times on Android 13. After a certain time, the root disappears, a reboot helps. So I went back to Magisk-25.2, there are no such problems with it. You mean Magisk-25.2 is not compatible with Android 14 and you need to use version 26.4?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] danicadanicadanica:
Then ever heard of kernelsu ? Because there is a boot img for tissot and it boots with fingerprint working.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] maksimus0021:
I've heard of it, but never encountered it. Always used Magisk. In any case, thanks for the information! )))
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Aswinhhs1312:
Can you please help with the correct steps for the installation of android 14, am confused whether which is first image to be installed vendor.img or system.img, kindly help me with the correct steps as I can't understand the steps in this page for Android 14 for Mi A1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
Do not worry about the sequence you should flash the system, the boot, and the vendor images. The only thing you need to ensure is to, FIRST OF ALL, treblize your device. This step is done only when you first try a GSI ROM. Then, follow the flashing steps by flashing the images you need to.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Aswinhhs1312:
Means treble mode to enable right in advanced manager from twrp?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] santosst:
Yes, perfect!
[Samsung Galaxy S8 Questions and Answers] Daniel3462:
Someone who has made a rom with android 10 compatible with this phone
[Nubia Red Magic 7 Pro] ZG_DEV:
Thanks, mate 👍
[Nubia Red Magic 7 Pro] brodinevskiy:
бро,подскажи пожалуйста

уменя redmagic 7s pro

тоже разблокированный загрузчик,при блокировке загрузчика пишет software brick

как это исправить и вернуть отпечаток
[Xiaomi Poco X3 NFC Questions & Answers] Burnydelic:
My Poco X3 NFC stuck on boot screen. How to clear cache? How to recover data? According to https://www.coolmuster.com/android/android-stuck-on-boot-screen.html#p2 you can try clearing cache, but in Poco X3 NFC's recovery mode you don't have the option to clear cache, you can just do hard reset. I want to preserve my images though. Is it possible? Would you recommend any of the solutions here https://www.quora.com/Is-it-possibl...t-even-show-up-on-the-computer-when-connected

This guy seeems to have similar problem too

https://www.reddit.com/r/Xiaomi/comments/17dnpyi
[Xiaomi 12 (Global)] hp3hp3hp3:
hi all

there is any fast service with payment for unlock bootloader of xiaomi 11t pro and 12 5G with qualcomm chip?
[Xiaomi 12 (Global)] khusika:
Unlocking bootloader is free for everyone. If you are asking someone to do it by paying for it, it's better not to do it here (violates XDA rules).
[Xiaomi 12 (Global)] hp3hp3hp3:
i know this is free but i have a problem when request for unlock show me 168 hours

after 168 hours again 200 hours and ater 200 hours now show me 480 hours again

so i want know possible i do this without wait
[Xiaomi 12 (Global)] infamas:
you can try with another Mi account
[Xiaomi 12 (Global)] hp3hp3hp3:
Yes i know

I do this with other pc and new account and other sim

Now change unlock time to 1368 hours
[Xiaomi 12 (Global)] NOSS8:
During the waiting period, you can use the phone normally. But don’t reset it to factory settings or log out of your account after tethering your Mi account to the phone, in which case the timer will be reset to 168 hours and you’ll have to wait for bootloader unlock permission again.

One Xiaomi account can unlock only one device within 30 days and four phones per year.

Changing account or SIM works for those who have errors with MiUnlock, for you the procedure worked and with each change additional time will be added.

Is this phone new or used?
[Xiaomi 12 (Global)] hp3hp3hp3:
New phone

I know all how unlock

I do this for more 50 phones

Only this time happen

During unlocking all time i do turn off phone

And after this when try unlock

Again come new time
[Xiaomi 12 (Global)] NOSS8:
"During unlocking all time i do turn off phone"

Maybe that's the problem.
[Xiaomi 12 (Global)] hp3hp3hp3:
No

Cant be

Because more 50 phones same way unlock
[Xiaomi 12 (Global)] hp3hp3hp3:
I hear some guy have a online service

Can unlock phone in 1 hour
[Xiaomi 12 (Global)] khusika:
Maybe @mvikrant97 can help you out, or go to this thread

Xiaomi Auth Flash

Authorised from the site administration. Thanks to @V0latyle @Oswald Boelcke @willverduzco and all other admins. MESSAGE ME on XDA Forums Telegram Support Official MIUI & HyperOS Bootloader Unlock Guide Xiaomi Auth Flash Payments: PLEASE...

xdaforums.com
[Xiaomi 12 (Global)] hp3hp3hp3:
he are tursted user?
[Xiaomi 12 (Global)] khusika:
Trusted by XDA Staff
[Xiaomi 12 (Global)] NOSS8:
But you will have to prove with documents that you are the owner of the phone (invoice + ID, etc.).
[Xiaomi 12 (Global)] hp3hp3hp3:
cant do too

this is for unbrick
[Xiaomi 12 (Global)] NOSS8:
Did you contact him?
[Xiaomi 12 (Global)] hp3hp3hp3:
yes
[Xiaomi 12 (Global)] NOSS8:
And he told you that it wasn't possible?
[Xiaomi 12 (Global)] NOSS8:
Even though you have unlocked 50 Xiaomi devices in 12 years without using it normally, try using it normally.
[OnePlus 7 Pro Questions & Answers] Deargodge143:
Hello I need help I have tmo one plus 7 pro converted to international version ,

Accidentally I restore another one plus 7 pro twrp backup with efs to this one now my one plus 7 pro is with no network IMEI is still there I tried to restore with MSM but nothing work please helpppp
[Android TV General] Tetsuo1981:
Hi All

Have recently got a JVC Android TV and am loving it mostly. Can not for the life of me figure out how to use either a USB memory stick or an external hard drive to work consistantly with it. Ive formatted a Sandisk Cruzer Blade 32GB through the TV and now my laptop want me to reformat it before using. FX File explorer wont recognise ANY USB drive. Im using something to mount my Hard drive which is NFTS but its convoluted to use so my family wont be able to do it without me.

ANY help would be appreciated. All i want is to be able to dump films from my laptop to a usb stick and plug it into the TV to play them. I can manage this on my phone with otg, whats the deal with android TV??

Cheers
[Android TV General] kalehrl:
Android 11 or later? In that case, go to FX File explorer permission settings and select 'allow all the time' and toggle off 'remove permission if unused'
[Android TV General] Tetsuo1981:
Done all of that and still no joy, think im gonna have to admit defeat and show my wife slowly how to mount the drive as NTFS

Thats strange as I had an old android TV box that took every memory stick, Sd card or even SATA hard drive that you threw at it. Im annoyed as android TV on a dedicated set is proving very disapointing. The user manual is useless, the selection of apps on the TV playstore is rubbish (no NHK world or AdGuard).
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
Current settings​

Wallpaper​

PHH Settings​

Qualcomm Features​

Use alternate audio policy

Disable sound volume effect

Samsung Features​

Use alternate audio policy

Enable Stereo audio mode

Enable extended brightness

Double tap to wake

Fingerprint fix

Flash Strength 4

Enable extra sensors

Set backlight scale max

Misc​

Disable audio effects

Rounded corners

Disable HW Overlays

Use linear brightness slider

System wide BT HAL

Customization features​

Pointer type - Pen pointer

Custom icon pack & accent colors

Default Apps​

Firefox (user priv)

OpenVPN (system priv)

TotalCommander (system priv)

OneNote (user priv)

VLC Media Player (user priv)

(Samsung Notes possible)

XDA (user priv)

System Settings​

navigation_bar - 2 (gestures)

notification_sound - 0 (vibrate)

haptic_feedback - disabled

ring_volume - 0 (vibrate)

haptic_feedback2 - 3

bluetooth_def_disabled - 1 (default bluetooth off)

touch_sounds - 0 (disabled)

ring_default - 2

battery percentage style = visible/standard

brightness - 25%

dark theme - enabled

maximum resolution - enabled

no HW/Overlays - enabled

time_zone - eastern central
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
Reserved2
[Treble-Enabled Device Development A/AB ROMS] AroundTheDial:
I'll put in a build suggestion request :) Pretty much everything in your list above, the only thing I wouldn't mind having is Magisk and the bootloader root patched by default (if possible), with SafetyNet fix. I always seem to have problems getting Magisk installed and working properly.
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
Hey there. Yeah, I've already tried adding Magisk to the build. It works and root access is functional as well, but Magisk complains about being installed as a system app with various toast messages. Looks like it needs to be installed separately.

However, once you flash a boot.img that's been patched with Magisk, the app will always automatically appear on any following ROM installation, without the need to reflash it. It's always there, you simply have to tap it and the full settings are downloaded/installed automatically.
[Treble-Enabled Device Development A/AB ROMS] Sage:
thanks for your efforts! great to see our aging s6 getting some A14 love! can i ask if anyone has an official keyboard for their S6 does the inbuilt mouse pad work properly in both landscape and portrait? that was one thing i could never get working on treble.. the mouse was always in Portrait.. which made it useless in landscape as UP was LEFT and DOWN was RIGHT etc..

Thanks again all.
[Treble-Enabled Device Development A/AB ROMS] Klangerzeuger:
Will there be a version with gaps? If so, what Signing Keys means is Google Device ID, or am I wrong? Because Ponce's and Andy's AOSP 14 with Gapps cannot be registered with Google despite the device ID and therefore Gapps do not work.
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
Hey man, yes I know what you mean, seen that bug as well. The controls for portrait where retained in landscape. I think that's been fixed. The same thing would happen with with the stylus in landscape mode and that was fixed back in A13, so I think you're good with the keyboard.

Yeah sure, Gapps versions have always been available. You can try the current ones right now. https://github.com/ponces/treble_build_aosp/releases

As for signing keys, I'm referring to the actual X509Certificate that is used to sign apps etc. during the build.

Here is the keymaker.sh I wrote that does the trick. It uses the official android key generator script and produces among others releasekeys, platformkeys and testkeys

#!/bin/bash

KEYS="$PWD/build/make/target/product/security"

echo -e "\n Creating new signing keys and deleting old..."

for x in ls "$KEYS"/*

do
if echo "$x" | grep -Eq "releasekey|testkey|platform|shared|media|networkstack";then

rm -f "$x"

fi

done

subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'

for x in releasekey testkey platform shared media networkstack; do \

./development/tools/make_key "$KEYS"/$x "$subject"; \

done

Da hast du absolute Kontrolle über deine Schlüssel und nur du hast den privaten Schlüssel. Probiers mal aus!

:)
[Treble-Enabled Device Development A/AB ROMS] Klangerzeuger:
THX, Danke und Grüße aus Deutschland.
[Treble-Enabled Device Development A/AB ROMS] TechX1991:
Thanks for this GSI. Interestingly enough, it flashes and boots on a SM-A115U1. Debloat it a bit and it runs smoother that Android 11. Although it should build number Android 12 lol
[Treble-Enabled Device Development A/AB ROMS] OrionBG:
Hey tablet_seeker,

Thanks for your work!

I have one Xiaomi Mix Fold 2 that I've been trying to find a good working GSI for as there is still no TWRP for this model and the Chinese MIUI is a nightmare. I've tried several GSIs already and all of them are having more or less the same issues with this foldable phone.

My issues are:

No 4G/5G on all except the latest Pixel Experience A13 GSI.

Not receiving SMSes on all that I have tried. (SMSc number is correctly set up. Also, I can send SMSes without issues)

Outside screen brightness control is not functional on all GSIs and the whole screen is not working on few.

Going to PHH settings some of the options crash the Phh app even before toggling them on/off (always the same options on every GSI)

The ones I most need help with are the SMS issue and the 4G/5G connectivity.

The rest I can live with until a fix/better solution is found.

Can you or anyone help, please?
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
No problem! What do you mean by "debloat"? It's Vanilla AOSP14, doesn't get more debloated than that lol.

You can choose between GAPPS/VNDKlite/Vanilla versions on the release page.

I am about to make Vanilla the default in the buildscript, we'll still offer the other versions on request, though.

Sure, you can make device specific builds, but you'll need access to the device's proprietary binaries.

Before you go about that, try this version of A13 instead. Compatibility with misc devices is great on these.

Choose this version: system-td-arm64-ab-vanilla.img.xz

Release android_13.0.0_r73 ci-20230830 · TrebleDroid/treble_experimentations

Add fingerprint support for some Xiaomi devices ( @jgudec )

github.com
[Treble-Enabled Device Development A/AB ROMS] TechX1991:
I basically disabled everything phone based since I was setting it up for my son and he doesn't need phone functionality. I got it from using 1.1GB of ram to around 950mb of ram at all times

But since it says android 12, it still gives some weird errors on some with some stuff that checks version number
[Treble-Enabled Device Development A/AB ROMS] OrionBG:
Thanks tablet_seeker,

I've already tried TD Droid but still have the same SMS issue... on top of all other problems...
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
So you flashed an AOSP14 image and the about page indicates that it's A12?

Can you post a link to the image you flashed?

Hmm ok, then you'll probably have to extract blobs and create a device specific build. Honestly, I'm not an expert in that area, but Phh and similar treble gurus are active here all the time.
[Treble-Enabled Device Development A/AB ROMS] OrionBG:
hopefully, someone can help!
[Treble-Enabled Device Development A/AB ROMS] leitseleac:
latest gapps version booted on my Samsung Tab S8, may i ask to please include RGB editor in display settings?
[Treble-Enabled Device Development A/AB ROMS] skills14:
Thanks for this, any chance of an a64 version?
[Treble-Enabled Device Development A/AB ROMS] spychodelics:
This sounds awesome!

So, i installed a fresh ubuntu 22.04.3 lts server.

apt update & apt upgrade
apt install github
mkdir $HOME/aosp
cd $HOME/aosp
git clone https://github.com/tabletseeker/treble_build_aosp -b android-14.0

checked for buildEnvDebian

and then run

bash treble_build_aosp/build.sh

and the it does everything up until this point:

Applying: Make ThemePicker override any other AOSP picker
Applying: ThemePicker: Make ThemesStub a build dependency
Applying: ThemePicker: Fix crash choosing Live Wallpapers
Applying: misc: Remove securize preference

--> Generating makefiles

--> Setting up build environment

it stops ...

source build/envsetup.sh &>/dev/null stops because ccache is missing, pls add this to the apt install stuff.
[Treble-Enabled Device Development A/AB ROMS] tablet_seeker:
Hello, sorry I've been away for a bit.

ccache is not required for the build.

On Deban you have to make sure that the user is part of the plugdev group followed by a logout.

There's been a legit error in the ArchEnv function though, but that's been fixed by a pull request.