since I’ve enabled (semi-fake-)treble on lineage 15.1 rom, we can say our phone is treblized and we should be able to flash GSIs (generic system image) on it, can we?
First requirement of project Treble is vendor partition, but we haven’t this vendor partition on griffin.
We have an oem partition, but its too small to be used as vendor for griffin, our vendor files are something like 600mb but oem partition is 200mb, Very small.
So we can say this treble we have already is fake : Motorola didn’t enabled treble by default on this
And semi : without vendor partition
But with new project CLT (Capire le treble) we can install GSI, but need little work
We can’t directly flash GSIs to our system partition cause we will lose our vendor files which exists on “/system/vendor” so somehow we should “copy paste” vendor files into GSI, this is what CLT is doing.
To use CLT all we need is Linux or mac to generate DSSI (device specific system image) from GSI
Here is full thread of CLT with YouTube video: https://forum.xda-developers.com/pr.../tool-capire-le-treble-terble-vendor-t3774629
It’s not very hard to say only devs can make DSSI
All you need to do is download latest lineage and find one GSI rom from here : https://forum.xda-developers.com/project-treble/trebleenabled-device-development
And start CLT on it and flash output of it.
Get griffin “proprietary-files.txt” from here : https://gist.github.com/erfanoabdi/447e90e65a3b037abebcc30da4a71935
Griffin system size: 5704253440
How to flash this images?
Put the system image on internal storage and reboot to recovery (twrp) -> install latest lineage -> select “install image” -> install that image as “system image”
• For now, you need to also flash this permissiver zip to make selinux permissive : https://www.androidfilehost.com/?fid=746010030569967557
Somehow like this: https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
Bugs :
• Selinux must be permissive
Examples:
(images compressed with 7z)
Dirtyunicorn system.img: https://www.androidfilehost.com/?fid=890129502657596534
AOSP system.img: https://www.androidfilehost.com/?fid=890129502657596533
why not use /oem and mount it as /vendor?
DustArma said:
why not use /oem and mount it as /vendor?
Click to expand...
Click to collapse
Stock firmware gets mad if you erase it
parrotgeek1 said:
Stock firmware gets mad if you erase it
Click to expand...
Click to collapse
You can find /oem in the firmware packages and it's not like a treble ROM will be using the /oem partition
DustArma said:
You can find /oem in the firmware packages and it's not like a treble ROM will be using the /oem partition
Click to expand...
Click to collapse
I think it was too small
Just out of curiosity, is repartitioning a possibility?
apocalypse_bg said:
Just out of curiosity, is repartitioning a possibility?
Click to expand...
Click to collapse
Yeah, it is, for the Mi A1 at least, but I think you could possibly do the same thing with the Moto Z, too.
Hello Sr., I have managed to install CLT a DotOS but I lost a baseband can inform how to fix?
matheusgcdj said:
Hello Sr., I have managed to install CLT a DotOS but I lost a baseband can inform how to fix?
Click to expand...
Click to collapse
Give me logs : adb logcat -b radio
Which rom is used as base?
erfanoabdi said:
Give me logs : adb logcat -b radio
Which rom is used as base?
Click to expand...
Click to collapse
Here is the logcat, I used Lineage OS official for the operation, but I downloaded your Lineage and got the same answer, I am sending the logcat by Lineage Official
erfanoabdi said:
• For now, you need to also flash this permissiver zip to make selinux permissive
Click to expand...
Click to collapse
This file change depending on the device?
sorry, i am a noob
to use CLT
only to unlock bootloader and flash twrp
and then flash this image in system
img?
Woo,this is a good news for MOTO Z.I am a new hand.So I think it's difficult for me.and I want to flash that sGSI about MIUI 10,is there any easy way to do it ? thanks!
Could anybody help and create the DSSI for griffin from this GSI, please. Erfanoabdi's examples works pretty good but they are based on Oreo.
DESCENDANT OSFor Mi Max 2Descendant is a customised Android that aims to add useful tweaks over Android 9 for Mi max 2 .
We didn't fill the system with tons of features. We think less is more.
This Rom is Gsi based Rom with project treble vendor of Pie/Q.
How To Install
1.Download Descendant Os android Pie and
Extract in into Folder.
2.Boot in Twrp/Orange Fox Recovery
3.Backup Complete Android so that if anythings
goes wrong you can Rollback your Device.
4.Wipe System,Vendor,Data(Not Internal Storage)
5.Now First go To extracted Rom Files Install Boot.img into Boot,cust.img into Vendor and System.img into System Partition and Now Reboot(Ignore Message Like No Rom Installed).
6.Install Any Gapps pie Based.
7.Reboot
Bugs
Fornt Camera is Not Working Currently.
Working
RIL,WIFI,Camera,FingerPrint,4G,Volte ,etc
DownloadLink:
Rom:http://www.mediafire.com/file/u9wkko...yDjsmk.7z/file
For Rom Demo:https://youtu.be/RKV3fvwhFIU
Credit:
1.https://forum.xda-developers.com/mi-...-max2-t4123637
2.https://androidfilehost.com/?fid=10763459528675566390
3.https://downloads.descendant.me/
Note: I am Not Responsible For anything in Your Device,try at your Risk..
My Next project Asop android 11 For MI max 2.
If you like my work plz Subscribe my yt Channel
link:https://www.youtube.com/channel/UCSn..._as=subscriber
MOD ACTION:
Thread closed as duplicate of https://forum.xda-developers.com/mi-max-2/development/mi-max-2-descendant-os-pie-t4192335
Project Treble - https://forum.xda-developers.com/c/project-treble.7259/
The Android 8.0 release includes Project Treble, a major re-architect of the Android OS framework designed to make it easier, faster, and less costly for manufacturers to update devices to a new version of Android. Treble is for all new devices launching with Android 8.0 and beyond.
Project Treble results in GSI ROMs.
There are quite a few GSI ROMs available, but not all of them are suitable for T30 tablet.
I started this thread to summarize my experience with using different GSI ROMs.
The prerequisite for installing GSI ROM is an unlocked Bootloader.
Description of GSI ROM versions installation file names:
<ARCH>_xyZ
<ARCH> can either be arm, a64 (arm32_binder64) or arm64
x can either be a or b
y can either be v, o, g or f
Z can be N or S
b = a/b
a = a-only
g = gapps
o = gapps-go
v = vanilla (no gapps included)
f = floss (free & open source apps instead gapps)
N = no superuser
S = superuser included
The most suitable GSI ROM for T30:
T30 requires A/B ROM instalation file type and Android 10.
Suitable are files with key "arm64-bgN" or "arm64-bgS" in filename. "g" if you want use GAPPS.
b = a/b
g = gapps
N = no superuser
S = superuser included
HavocOS
-> Installation video guide + download all necessary files
-> tested file: Havoc-OS-v3.8-20200821-Official-GApps-arm64-ab.img.xz
-> in TWRP install "RebootFix.zip" to aviid random restarts from attachment.
LeOS - https://forum.xda-developers.com/t/aosp-11-0-2020-11-27-leos-ungoogled-gsi.4195571/
-> installation, see bellow
-> Download tested file: 20201218-RW-bvN.img.xz
Family of TrebleGSI ROMs:
CAOS - Custom AOSP OS
-> installation, see bellow
-> Download, tested file: caos-v300j-201213-arm64-bgN.img.xz
LOSQ - LineageOS 17
-> installation, see bellow
-> Download, tested file: losq-v224-201017-arm64-bgN.img.xz
cRDrom - crDroid 6.11
-> installation, see bellow
-> Download, tested file: crdrom-v224-201019-arm64-bgN.img.xz
qiDroid - BootleggersROM 5.2
-> installation, see bellow
-> Download, tested file: qidroid-v224-201021-arm64-bgN.img.xz
Bless - BlissROM 12.12
-> installation, see bellow
-> Download, tested file: bless-v224-201015-arm64-bgN.img.xz
Nusantara 2.6 - Nusantara ROM
-> installation, see bellow
-> Download1, Download2 , tested file: Nusantara_v2.6-11-arm64-ab-GApps.img.xz
This is Android 11 ROM which fits to our System partition (file size is 2.7GB ONLY)
----------------------------------------------------------------------------------------------------------------------
How to install GSI ROMs on Teclast T30:
a) use this HavocOS Installation video guide, but use specific GSI ROM System file
b) use instructions from 2nd post
GSI ROMs are not perfect, they have bugs, and on the T30 tablet I noticed the following two:
- The battery charging animation does not work (charging works OK) when the tablet is switched off
- watching youtube videos in Chrome browser sometimes ends with a system restart (youtube application and embeded internet browser usually works OK)
I have tried all the above GSI ROMs and I was most satisfied with HavocOS and LOSQ.
I continue to use LOSQ, because it has the fewest errors and supports the NTFS filesystem on the inserted SD card.
If you want to try GSI ROM on your Teclast T30, choose LOSQ / HavocOS as the first choice.
I would be happy if here will start a discussion about GSI ROMs suitable for Teslast T30.
in any problems with PC and tablet communication (with platform tools or Flashtool), install the drivers "MTK_USB_All_v1.0.8.zip" or "platform-tools_r30.0.5-windows.zip" from attachment in the 2nd post
Alternative way to install GSI ROM:
(Prerequisite for installing GSI ROM is an unlocked Bootloader)
a) Unlock Bootloader
- To make the item "For developers" available on the tablet, in Settings / System / Advanced / Tablet information you need to click on the Build number 8 times
- A new "Developer menu" item will now appear in Settings / System / Advanced, turn on the "unblock OEM" item here
- In the task manager on the PC, check that there is an ADB device
- Turn off the tablet
- Hold down the Vol+ and Power buttons together, until the tablet starts
- Then use the Vol+ key to select the second Fastboot item and press the Vol- key to select it
- Connect the tablet to the PC via USB, in the PC to hear the sound of the connection
- Unzip platform-tools_r30.0.4-windows.zip to drive "C:\platform-tools" on your PC
- On your computer, click Start / Run, enter command "cmd", click OK, will appears black command window
- In the command window go to Platform-tools folder by command:
cd c:\platform-tools
- In the command window, enter:
C: platform-tools> fastboot devices
0123456789ABCDEF fastboot
- numbers may vary.
- If all is well, enter the unlock command:
fastboot flashing unlock
- You will be asked on the tablet whether or not you want to unlock the Bootloader by pressing Vol+ confirm it
- As soon as you confirm the action, what you see on the tablet, it will be unlocked
Next, enter the command:
fastboot reboot
- The tablet will restart (ALL your data will be deleted) and the tablet will return to its original state
- tablet will start initially setup
b) Install Hybrid ROM 1.2a
- in TWRP install GSI ROM image file to System partition
- in TWRP install Boot 1.05 image file to Boot partition (unpack ZIP from attachment, will get IMG file)
- restart System
- done
in any problems with PC and tablet communication (with platform tools or Flashtool), install the drivers "MTK_USB_All_v1.0.8.zip" or "platform-tools_r30.0.5-windows.zip" from attachment.
-> New version of HAvocOS from December 31, 2020
Lineage os is not booting and my tab is stuck on teclast logo.Any fix ??
Lightning Killer said:
Lineage os is not booting and my tab is stuck on teclast logo.Any fix ??
Click to expand...
Click to collapse
I assume you didn't follow the installation instructions exactly.
Maybe you forgot to install the Boot image from ROM 1.05 to Boot patition or you didn't unlock Bootloader.
You need to do install Boot 1.05 image in the end of installation process, after installing Lineage GSI on the System partition. Also, Bootloader must be unlocked (it is mentioned in that installation video)
I added necessary img file to attachment. Install it in TWRP to Boot partition. Then Lineage GSI ROM will boot (Bootloader must be unlocked!!!).
(unpack ZIP from attachment, you will get IMG file)
For everyone, I added a new alternative installation guide to the second post.
I have been using it for a long time HavocOS from December 31, 2020
(Havoc-OS-v3.12-20201230-Official-GApps-arm64-ab.img.xz)
It works well. Of course, it has minor flaws like all GSIs.
This is latest version HavocOS on Android 10.
Newer versions of HavocOS 4.1 are based on Android 11.
Unfortunately, the System image with GAPPS is too large to fit in the system partition of our tablet.
The System IMG size limit is 3GB.
GSI HavocOS 4.12 based on Android 11 available
I used this files:
Havoc-OS-v4.1-20210208-arm64-ab-vndklite-Official.img.xz
NikGapps-basic-arm64-11-20210130-signed.zip
It is necessary to incerase System partition size before install, do tgis steps:
- go to TWRP
- Wipe->Advanced Wipe->Select System->Repair or Change File System->Resize File System
- if errors will apperas, restart to TWRP a repeat the previous step again
It may not work first time for whatever reason, you may also try Repair FIle System there in this case, or just try a reboot
rbt07 said:
GSI HavocOS 4.12 based on Android 11 available
I used this files:
Havoc-OS-v4.1-20210208-arm64-ab-vndklite-Official.img.xz
NikGapps-basic-arm64-11-20210130-signed.zip
It is necessary to incerase System partition size before install, do tgis steps:
- go to TWRP
- Wipe->Advanced Wipe->Select System->Repair or Change File System->Resize File System
- if errors will apperas, restart to TWRP a repeat the previous step again
It may not work first time for whatever reason, you may also try Repair FIle System there in this case, or just try a reboot
Click to expand...
Click to collapse
Hi after installing this, I`m in a boot-loop, What can I do?
H1S8V87 said:
Hi after installing this, I`m in a boot-loop, What can I do?
Click to expand...
Click to collapse
Hi, you have to install Boot.img from ROM 1.05 to Boot partition through TWRP.
File is here in 2nd post.
Unpack ZIP anf install IMG file to Boot partition.
rbt07 said:
Hi, you have to install Boot.img from ROM 1.05 to Boot partition through TWP.
File is here in 2nd post.
Unpack ZIP anf install IMG file to Boot partition.
Click to expand...
Click to collapse
Hi, yeah I`ve done this several times. Nothing helps, I`m back to your Hybrid Rom
It worked for me, but I still preferred to go back to the older Havoc.
H1S8V87 said:
Hi after installing this, I`m in a boot-loop, What can I do?
Click to expand...
Click to collapse
For me it works...
I've found a fix for random reboots !!! Just flash this zip file in twrp
GSI HavocOS 4.5 based on Android 11 available
I used this files (click to download):
HavocOS-4.5-official-arm64-ab-vanilla.img
open_gapps-arm64-11.0-pico-20210713.zip
Links:
Havoc 4.5
arm64-ab-vndklite • Havoc-OS
Havoc-OS Downloads
download.havoc-os.com
OpenGAPPS
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
How to install:
- as a base system is my Hybrid ROM 1.2a
- Install GSI System image Havoc4. 5
- then increase System partition, do this steps:
a) go to TWRP
b) Wipe->Advanced Wipe->Select System->Repair or Change File System->Resize File System
c) if errors will apperas, restart to TWRP a repeat the previous step again
If incerasing fails, reboot to TWRP recovery and try again, now it will works now
- install GAPPS.
- reboot System
Add nusantra project gsi to the list !!! It is much more smoother than havoc and lineage os Here's the link for 2.5 (based on android 11 )
[email protected] - Browse /Nusantara-11 at SourceForge.net
sourceforge.net
+ It comes with gapps and can easily be flashed without having to resize the system partition
deleted
Lightning Killer said:
I've found a fix for random reboots !!! Just flash this zip file in twrp
Click to expand...
Click to collapse
Hi, thanks, it reallly work for HavocOS 3.8 GSI ROM.
rbt07 said:
Added to 1st post, thanks for info.
Do you use it? Write somthing about this ROM please.
Click to expand...
Click to collapse
It's the best gsi rom for teclast t30 I have used till date !!! It is very smooth and responsive. There are some customisation settings which crash when using in landscape mode but they work just fine in potrait mode.else this rom works like a charm for me.
Another gsi for teclast t30 that I would recommend is cr droid gsi based on android 11 . Here's the link -
TrebleGSI - Browse /crDRom11/2021.05.21 at SourceForge.net
sourceforge.net
Lightning Killer said:
It's the best gsi rom for teclast t30 I have used till date !!! It is very smooth and responsive. There are some customisation settings which crash when using in landscape mode but they work just fine in potrait mode.else this rom works like a charm for me.
Click to expand...
Click to collapse
I will try soon, thanks.
Automated GSI flashing tool for Redmi Note 11 (spes)
I WON'T GIVE SUPPORT TO THOSE WHO FACE ISSUES BY NOT READING THE STEPS BELOW CAREFULLY!
I will get right into the topic here, find the answers to your questions below at near the end.
What this tool does:
1. Flash a GSI to your Dynamic partitioned Note 11
2. Patch your Vbmeta
3. Patch Product for magisk flashing
How to use this tool:
0. Flash a rom (stock rom, MIUI EU, AOSP, ...) - IMPORTANT
1. Download your GSI and the tool, extract them
2. Copy your GSI image to the tool's folder, rename the GSI to system.img if you are using Windows
3. Boot your phone to fastboot mode and plug it in
4. Run the "windows.bat" or "macos.sh" script based on your os
5. Wait until the process finishes, your phone will automatically reboot
Download: See attached file
Extras:
A ROM collection Telegram channel of mine, you can see screenshots of GSIs I booted on Note 11 by searching it there
The original post on Telegram
Credit:
kusti420 for Product file
AnhNotAnh (me) for the tool ofc
Main Q&A:
Q: What is a Generic System Image, GSI?
A: A GSI is a prebuilt system image that can be booted on devices that support Project Treble. In short, this System Image is a custom ROM but it uses your Vendor, Kernel from your previous/stock ROM.
Q: Okay, but why I would like to flash it on my Redmi Note 11?
A: As we have already known, MIUI does not perform exactly well in the recent years, especially on such a low end and underpowered phone. GSI helps us getting a taste of AOSP's cleanliness and smoothness before the developers finish making actual custom ROMs. This is a temporary solution, good enough to use, please don't think or complain if your GSI perform badly, since it is not a ROM or trying to be one either.
Q: Why do we need a dedicated tool and such time wasting thing to do? Can't you just flash it in a custom recovery?
A; From Android 10, devices with it come equipped with a new partition scheme, as known as Dynamic Partition. It helps speeding up OTA updates and make the partitions more flexible in size. But also creates a huge difficulty in flashing those GSI, that is why you cannot flash the image in a custom recovery.
Q: My terminal window freezes at a certain progress for too long! What should I do?
A: This case often happens with Windows users. Everything is quite complicated BTS, but the workaround is just spamming Enter key several times every minute or two.
Q: What if I want to install a GSI on top of another one? I already flashed one, do I need to restore my MIUI or AOSP rom to flash GSI?
A: It is not necessary, you can flash a new GSI on top. The tool will clear your previous GSI without erasing required stuff from ROM.
Q: My GSI does not boot, what should I do??
A: I highly suggest using GSIs based on Phh's work. Those are often called Phh GSIs. Secondly I would highly suggest against using "Ported GSIs", those are often based on Erfan or Xiaoxindada's GSI tool, they are a port from a different device's ROM instead of directly built from source like Phh. Here is a list of GSIs based on the man himself, Phh.
Q: Bro my phone just boot to TWRP and nothing happens, computer still waits for my device??
A: Like I said before, you can try spamming Enter key. It is also likely that your TWRP does not support Fastbootd (Fastboot Dynamic) environment, an easy workaround for this is using MIUI's boot (kernel) image, stock Fastbootd mode will be used.
Q: Which Android version can I flash??
A: You can flash corresponding or NEWER Android version GSI with the ROM you are coming from/installing GSI on top, you cannot flash a lower version one. For example, you can flash Android 11, 12, 12.1, 13, bla bla GSIs when coming from stock Android 11 MIUI ROM (Android 11 Vendor for people who understands)
Q: Can I use this tool on another device?
A: Yes, with proper bringup and changes in the tool for it to compatible with your device and it will work. But I will not be responsible for bricks, which I always won't xD
More questions and answers will be updated later.
Reserved.
Thanks for this Awesome Tool. Quiet Simple and efficient.
@PingVN This script works on Xiaomi redmi note 11 4g codename selene?