[Treble][Rom]Lenovo zenui 5.0 for redmi note 6 pro - Xiaomi Redmi Note 6 Pro Guides, News, & Discussion

I found our device is treble supported type-A partition
So here i found (gsi) zenui 5.0 need to test
INSTALL
* Enable Treble > Flash a Fully-Trebled 8.1 ROM or just wipe data,cache,system
Mount the system, go to the system / etc directory backup selinux folder
Flash fbe disabler and permissiver
Wipe everything except vendor
Flash zui system flashme . zip
Mount system and vendor
Flash all patches
Flash sound fix
Mount the system to copy the selinux folder backed up in advance to the /system/etc directory.
Flash magisk if u need
* first reboot may take some time
Bootloop Fix:
- If you still have bootloop or systemui fc format data
Bugs:
- Nothing
(I'm not developer)
Android Version
- 8.1 Oreo
DOWNLOAD
https://mega.nz/#F!af4xQIKa!Ffz3u-9MOtFmxbDFUk9ZZg
PATCHES
https://share.weiyun.com/5khJ8F9

Thanks for sharing

thank for shearing but do you install it (screenshot?)

Related

[Guide]Make your StockROM of S4 mini as flashable zip

This is for someone who want to share his modifications that made to /system to other s4 mini users (or) put the rom as backup instead of nandroid backup (or) want to tweak more by doing something new....
Requirements:-
1)StockROM running
2)Rooted and Busybox
3)Below attached zip
4)2.5GB internal storage
Procedure:-
-Extract the below given zip in Internal Storage i.e., /sdcard
-The folder should be like this /sdcard/apktool/
-Put your using boot.img in apktool folder i.e., as /sdcard/apktool/boot.img
-Install Apktool app that is in the extracted apktool folder
-Open Apktool app and choose create ROM in menu..
-After 10-25 mins, you will see a new folder is created in apktool folder i.e., /sdcard/apktool/rom/
-In that rom folder there will be a zip named Stock-flashable.zip
-That Stock-flashable.zip is recovery flashable zip
-Flash that in recovery
Requirements before flashing:-
-Make sure your internal storage free space should be ~1.5gb .....
-Dont flash the zip if you dont have ~1.5gb free in Internal Storage
-Wipe dalvik-cache, cache, data and system and Flash the rom and Enjoy!
Source:-
This method is taken from ApkTool for android v4.4
Many users for some reasons do not use custom ROMs and stick to STOCK ROM like me:fingers-crossed:
Here I am sharing some mods that I know......
0)Rooting your s4 mini
https://forum.xda-developers.com/galaxy-s4-mini/general/root-root-s4-mini-i9192-2018-t3780235
1)Boot Animation & Sound
https://forum.xda-developers.com/ga...pps/stock-boot-animation-zip-support-t3803125
2)SilviuMik's Transparent Accuweather
https://forum.xda-developers.com/ga...-transparent-accuweatherphone2013-jb-t2877271
3)SD write permission fix
https://www.thedroidway.com/fix-external-sd-card-write-permission-in-kitkat-lollipop/
4)Hosts to block ads
https://forum.xda-developers.com/showthread.php?t=2190753
5)Changing different sounds like touch and lockscreen
https://forum.xda-developers.com/ga...stock-i9192-serranodsdd-t3786610/post76735058
6)Wallpapers from different ROMs like MIUI
7)Xposed Modules
⇛Force 3 dots menu
⇛Gravity Box
⇛Enable Call Recording
⇛Installer Opt
⇛Phone Number Fix
⇛App Settings
⇛S5 settings ui
⇛XLockSecuritySlide
8)CSC tweaks
https://forum.xda-developers.com/ga...stock-i9192-serranodsdd-t3786610/post76437412
9)Custom Fonts
https://forum.xda-developers.com/galaxy-s4-mini/themes-apps/fonts-styles-4-mini-t3119509
10)Over and Under Clocking by using @alexax66 kernel
https://forum.xda-developers.com/ga...custom-touchwiz-kk4-4-2-kernel-i9190-t3179154
11)Some themed apps
-S Launcher for Galaxy Touchwiz
Similar thread like this:- https://forum.xda-developers.com/galaxy-s4-mini/general/s4-mini-duos-gt-i9192-t2930492
How to make flashable zip from system.img.ext4 file extracted from firmware zip.....?
Use the below simg2img binary to convert sparse image to raw image....
You can place the binary bin or xbin for direct usage..
Usage:-
Code:
simg2img <full path of system.img.ext4> <full path of target raw image>
Eg:-
Code:
simg2img /sdcard/Music/system.img.ext4 /sdcard/system.img
Converting will take 4 minutes....
Then flash it using updater-script without need of mounting..
Code:
package_extract_file("system.img", "/dev/block/platform/msm_sdcc.1/by-name/system");
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
Pack the system.img, boot.img and META-INF folder with above updater-script..
Wipe system, dalvik, cache, data, preload (if present)
Then flash the zip
I tested and works perfectly...
You can also flash the system.img with Fla**** by @osm0sis
ArchiKitchen in Android for S4 mini
3.5 gb of internal free storage is required
*Flash the zip.
*Place system.img.ext4 & boot.img (or) system.ext4.win & boot.emmc.win of TWRP backup of stockrom in /data/local/ArchiKitchen folder...
*Type the following in Terminal Emulator
Bash:
su
bash /data/local/ArchiKitchen/archi
*And follow the options
*After finish of Project then go to /data/local/ArchiKitchen/PROJECT_*/ and pack the contents into zip..
*Flash that zip with wipe of system, data, cache, dalvik, preload(if present)
*Enjoy
Features :-
*Convert samsung sparse imgs to raw
*Create flashable zips from TWRP stockrom backup & Samsung Firmware sparse imgs
*Add Busybox v1.29.2 Stericson
*Add SuperSU v2.82-SR5
*Add ArchiDroid Init.d
*Debloat with SilviuMik BigDebloat v4.5
*Unpack & Repack Kernel to add adb insecure

Pitchblack2.8.0 Twrp3.2.1.0(mido)

TWRP PitchBlack 2.8.0
3.2.1..0
https_%2F%2Favatars2.githubusercontent.com%2Fu%2F37493898_s=280&v=4
TWRP (Team Win Recovery Project) PitchBlack is a TWRP developed by Reza Adi, maintained by Manjot Sidhu and Mohd Faraz and themed by FireWolf.
Is based on TWRP 3.2.1-0
COMPILED BY IUME TEAM
PitchBlack-TWRP
Brought to you by: androiabledroid, firewolfxda, manjotsidhu, pitchblack, rezaadipangest
Treble spported recovery for mido
This is not my build I am just shire. I am not
responsible your break device.your own risk flash
DOWNLOD >
https://sourceforge.net/projects/pitchblack-twrp/
Installation guide:
If you also want the tools available in TWRP PitchBlack:
(SuperSU, Unroot SuperSU, Unroot Magisk, FP Scanner, RM Subs Overlays, Enable HAL3, MTP Fix, Lazy Flasher, Magisk, Aroma FM, Pin / Pass Remover, RM All Subs Overlays, Delete App)
1. Copy the "Zip Installer" to your Micro SD Card.
2. Install it by clicking on Install » Select Storage » Mircro SD Card and select the TWRP PitchBlack zip, do a swipe, the installation will be automatic, you will automatically find yourself in the new TWRP.
If you do not want the tools in TWRP PitchBlack:
(SuperSU, Unroot SuperSU, Unroot Magisk, FP Scanner, RM Subs Overlays, Enable HAL3, MTP Fix, Lazy Flasher, Magisk, Aroma FM, Pin / Pass Remover, RM All Subs Overlays, Delete App)
1. Download the "recovery.img" in your PC.
2. Open ADB & Fastboot Minimal. [DOWNLOAD]
3. Type
Code:
fastboot flash recovery
5. Click space and drag the TWRP PitchBlack downloaded into the fastboot window.
Requirements:
Bootloader unlocked
FRP Unlocked
Status: Stable, only bug is backup of F2FS
I cleaned the thread up for you and moved it to the discussion section where "shares" go. :good:

[Treble] Android GSI on Kenzo/Kate. [SnapDragon]

UPDATE - Pixel Experience Official is out for Kenzo. Link attached below. Ongoing support for GSI users though.
https://forum.xda-developers.com/redmi-note-3/development/rom-pixel-experience-t3835648
-------------------------------------------
Disclaimer: I'm not responsible for bricked devices, flash at your own risk. I might be able to help with restoring your device though.
This is a guide to installing Android GSI on Redmi Note 3 (Kenzo)
---------------------------------------------------
What works-
RIL
GPS
Camera
Pretty much everything
What doesn't work-
Bluetooth
Hotspot
VoLTE(I couldn't test)
(NOTE - Bugs vary GSI to GSI)
---------------------------------------------------
Required files -
Grab these files first, and keep them on your SD card
TWRP Treble - https://androidfilehost.com/?fid=5862345805528059847
Android GSI(USE ARM64 A-ONLY) - for this tutorial, I'm using Phhusson's AOSP Pie GSI found here - https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
List of GSI's - https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Pie GApps (If using Pie GSI) - https://forum.xda-developers.com/android/development/gapps-unofficial-opengapps-builds-t3828141
Vendor Image - https://androidfilehost.com/?fid=1322778262903993757
Permissive SELinux Enabler - https://drive.google.com/file/d/1KFdPH2JGtvkXwt2emxPb-k7zdv2pLd-F/view?usp=drivesdk
Magisk 16.7 (minimum 16.7, you can use 17 as well)- https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
Latest Firmware - https://forum.xda-developers.com/redmi-note-3/development/firmware-hmnote3proglobal-t3574361/page176
Optional - Digital Well-being (ONLY FOR PIE)
Digital Well-being apk (Download latest version) - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
Digital Well-being Magisk Module - https://drive.google.com/file/d/1AAFMWbAAK-febiP9h4iZMJONEHXopmEU/view?usp=drivesdk
--------------------------------------------
Assuming you have an unlocked bootloader, and know your way in and around Android, let's begin!
How to install -
1. First, flash the Treble enabled TWRP.
2. Reboot to recovery.
3. Mount all partitions, and wipe all partitions.
4. Flash the Vendor Image zip file and immediately flash the Permissive SELinux Enabler.
5. Clear Dalvik/Cache.
6. Mount all partitions, and wipe system.
7. Flash GSI to System partition *only*.
8. Reboot to System.
9. Reboot to recovery.
10. Perform a factory data reset, and flash GApps
11. Reboot to System, and complete setup.
12. After completing setup, reboot to recovery and flash Magisk 16.7
13. Reboot to System
14 Reboot to recovery and flash firmware.
15. Profit!
If you want Digital Well-being (ONLY FOR PIE) -
16. Install Digital Well-being apk
17. Flash Digital Well-being Magisk Module through Magisk Manager
18. Reboot
19. Profit!
-------------------------------------------------------
Tested on Snapdragon version, don't know if it works on MTK.
Screenshots are attached.
Fixes -
If you have the QS toggles moving out of the header like the screenshot attached in #1, do the following steps
1. Enable Developer Settings,
2. Find Smallest Width setting
3. Increase the value by 20. (If it's 360, make it 380)
4. Profit!
------------------------------------------
Google Camera + Face Unlock fix.
If Google Camera/Face Unlock doesn't work for you, do the following -
1. Reboot to recovery
2. Mount system
3. Flash the zip file (download link below)
4. Clear cache
5. Reboot to system
This should make Face Unlock work again, and GCam work as well.
Download patch - https://drive.google.com/file/d/17OUBxhsfeK0625_pYe8aRNr5L6doKdAK/view?usp=drivesdk
------------------------------------------
Can't find Smart Lock in settings?
1. Go to Settings < Security and Location.
2. Scroll down and click Advanced.
3. Click Trust Agents.
4. Switch on Trust Agent for Smart Lock.
You should now have Smart Lock option below Fingerprint.
-------------------++++++++++++++++-----------------------
For Changing accent colours -
Download this file - https://t.me/kenzousersglobal/1169
1. Flash it in recovery
2. Reboot to system
3. Go to Settings - Display - Advanced. Scroll down to find "Colour Theme"
4. Select colour theme and select colour of your choice.
5. Profit!
---------------------------------
Custom kernels that currently work
Radon - https://drive.google.com/file/d/1LYggpHDVph1fvWctIKY4FqQwtRb6Svh0/view
---------------------------------
Review - after extensive testing, I found this to be daily driver material, with the only exception being Bluetooth, Hotspot, and VoLTE(I couldn't test it myself)
Special thanks to - @corkiejp
Is it possible to get an Overlay Patch for Mi 8?
NielsvdS said:
Is it possible to get an Overlay Patch for Mi 8?
Click to expand...
Click to collapse
I honestly have no clue. I have only gathered all the patches and files for Kenzo and made them into one guide.
Thanks for the guide: -
Digital Well-being apk (Download latest version) <<<< Links to the overlay zip and not the apk.
Sourced the beta of apkmirror: - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
I used Mind the Gapps found on Telegram, when flashing.
Is it possible to dirty flash open gapps?
Work on kate devices?
Why is it there system.img.xz should I remove .xz rename it
---------- Post added at 04:24 PM ---------- Previous post was at 03:42 PM ----------
1.flashed carlosvendor.zip
2.mounted system vendor cache
3.flshed system.img as system image
After rebooting stuck at fastboot logo
sharan565 said:
Why is it there system.img.xz should I remove .xz rename it
---------- Post added at 04:24 PM ---------- Previous post was at 03:42 PM ----------
1.flashed carlosvendor.zip
2.mounted system vendor cache
3.flshed system.img as system image
After rebooting stuck at fastboot logo
Click to expand...
Click to collapse
You need to extract the image file from that compressed format, use windows are download an app that will extract it.
Suggestion RAR from play: - com.rarlab.rar or alternative app that will do the same.
corkiejp said:
You need to extract the image file from that compressed format, use windows are download an app that will extract it.
Suggestion RAR from play: - com.rarlab.rar or alternative app that will do the same.
Click to expand...
Click to collapse
Thanks man I will try
Hey @Sid127, this is really nicely written tutorial, thank you What bothers me, why we need to mount partitions once again in step 6? Partitions were mounted in step 3 and there wasn't any reboot in meanwhile.
3. Mount all partitions, and wipe all partitions.
4. Flash the Vendor Image zip file.
5. Clear Dalvik/Cache.
6. Mount all partitions, and wipe system.
7. Flash GSI to System partition *only*.
Click to expand...
Click to collapse
Second question, maybe easier... If I have existing TWRP backup for non treble ROM, is it OK to restore such backup using Treble recovery after wiping everything? Or it's recommended to flash previous recovery first?
wxtester said:
Hey @Sid127, this is really nicely written tutorial, thank you What bothers me, why we need to mount partitions once again in step 6? Partitions were mounted in step 3 and there wasn't any reboot in meanwhile.
Second question, maybe easier... If I have existing TWRP backup for non treble ROM, is it OK to restore such backup using Treble recovery after wiping everything? Or it's recommended to flash previous recovery first?
Click to expand...
Click to collapse
1. You just need to make sure that all partitions are mounted.
2. You can restore the backup through Treble TWRP.
Happy flashing!
Hexvessel1992 said:
Work on kate devices?
Click to expand...
Click to collapse
I don't know, I need someone to test it. It should work, since the Vendor for Kenzo and Kate are the same.
corkiejp said:
Thanks for the guide: -
Digital Well-being apk (Download latest version) <<<< Links to the overlay zip and not the apk.
Sourced the beta of apkmirror: - https://www.apkmirror.com/apk/googl...wellbeing-0-2-207862754-android-apk-download/
I used Mind the Gapps found on Telegram, when flashing.
Is it possible to dirty flash open gapps?
Click to expand...
Click to collapse
I'll update the thread with the right link
I think it is possible to dirty flash Open Gapps, but it might give bugs, always go for a clean flash
Everything works for me, only thing was that at the first setup it was stuck on "checking for updates". So I tried the method of tapping all sides of the screen (from top-left clockwise to bottom-left) and it skipped the setup. The flashlight is a little wonky, but that's the only thing that was getting in my way. The audio was a little too quiet, so I installed some app on the playstore to gain it. Thanks for such a comprehensive guide! Android Pie is amazing, but development for it on a 3 year old device is even more so!
srishant said:
Everything works for me, only thing was that at the first setup it was stuck on "checking for updates". So I tried the method of tapping all sides of the screen (from top-left clockwise to bottom-left) and it skipped the setup. The flashlight is a little wonky, but that's the only thing that was getting in my way. The audio was a little too quiet, so I installed some app on the playstore to gain it. Thanks for such a comprehensive guide! Android Pie is amazing, but development for it on a 3 year old device is even more so!
Click to expand...
Click to collapse
I had to forage through 4 complex guides, scourge through XDA and Telegram for all the patches, and hence could make such a simple guide. Apparently, devs on the Telegram channel are working on the Bluetooth and VoLTE fix I'll update once that happens!
Bolte
Test n let me know if it works
https://t.me/kenzoromnews/1445
Modify for treble then flash
amog787 said:
Bolte
Test n let me know if it works
https://t.me/kenzoromnews/1445
Modify for treble then flash
Click to expand...
Click to collapse
I did see that, but when I flashed it, it messed upy system and I had to reinstall the GSI. I don't know how to modify it for Treble, could you do it? I'm happy to test. I believe that fix is for Flashavle ZIPs, not for Treble GSIs.
Possible Gcam and stock working patch!
Posted this in AOSP Pie Rom thread, may also work for the GSI?
corkiejp said:
I found Gcam Pie Fix for another device in this thread.
Link to Gcam Pie Fix: - https://drive.google.com/file/d/1D5qvlA-QbQu6xoWpsLPyWquMkS3hxXi3/view
Gcam that I'm using: - https://androidfilehost.com/?fid=673956719939833577
^^^ From this thread, maybe newer versions available.
I was able to setup face unlock after flashing the above fix, you may also need to enable Smart Lock (Google) as a trusted agent.
It is buggy and the face option may not always trigger, plus you need to hold the phone far from you and swipe when the lock symbol appears (no fast unlock options xposed).
Another benefit of flashing another Camera (V 2.0.002) Started working as well. (Don't know if that is the default AOSP camera or something I restored from backup? Could be Snap Camera from LOS).
Click to expand...
Click to collapse
corkiejp said:
Posted this in AOSP Pie Rom thread, may also work for the GSI?
Click to expand...
Click to collapse
Is there also an uninstaller for this fix? I'll test only if there is an uninstaller for it. Last time I tested a fix I had to format data to revert...
Sid127 said:
Is there also an uninstaller for this fix? I'll test only if there is an uninstaller for it. Last time I tested a fix I had to format data to revert...
Click to expand...
Click to collapse
Not that I'm aware of, but this just places/replaces some Lib and Lib64 in system partition.
If your worried about it, back up your system partition, flash the this patch and wipe caches.
If you experience problems, just restore your system partition.
It was reported working by someone else here.

[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support

Repartition tool for A5 and A7 2017
Disclaimer
Code:
I am NOT responsible for bricked devices or any damage that may happen to your device.
Repartitioning is a dangerous process and may brick your device in the worst case.
Features
This script will set 64MB for your /cache partition and ~4.6GB for your /system partition (The size of /system may be smaller or bigger depending on which variation of A5 and A7 is used)
The script will create a new partition called "vendor" with a size of 300MB
Only /system and /cache will be deleted during the flashing process, your /data partition keeps untouched
Flashing the script for a second time after already having it flashed will delete the /vendor partition and restore your stock partitions
You will still be able to install any recent ROM (Note that A720S may be unable to install any recent ROM. Contact me if you have problems)
TWRP, SHRP and Orangefox are supported
Installation
Make a backup of all your partitions first in case something goes wrong. Repartitioning is a dangerous process!
Make sure to have the latest version of TWRP/SHRP/Orangefox installed before installing this script.
Download the Repartitioner from post #2
If you only want to patch your recovery but already have the /vendor partition, download the RecoveryPatch from post #2
Flash the installer zip and wait until it is finished. It will add the necessary partition, patch your recovery and automatically reboot you to recovery if the installation is successful.
After reboot, make sure that /system, /cache and /vendor are mountable. If not, format them. (See a How-To in FAQ in post #3)
Congratulations, your device now supports treble!
Downloads
Find them in post #2
Support and FAQ
Telegram Group
FAQ (Frequently asked questions)
Credits
Me for the time I spent on this
@corsicanu for his template script
@Reverant for the original repartition script
@osm0sis for AnyKernel
Telegram users for testing
XDA:DevDB Information
[TOOL][SCRIPT][A520X|A720X] Repartition tool for treble support, Tool/Utility for the Samsung Galaxy A Series 2017 A3, A5, A7
Contributors
Simon1511
Version Information
Status: Stable
Created 2020-09-08
Last Updated 2020-09-09
Downloads
v1.2
Repartitioner: Google Drive | Androidfilehost (Will resize your partitions AND patch recovery)
RecoveryPatcher: Google Drive | Androidfilehost(Will ONLY patch your recovery for treble support. Flash this if you upgrade from an older version.)
Changelog
Spoiler
v1.2
Spoiler
Removed TWRP version check
Added support for SHRP and Orangefox
v1.1
Spoiler
Fixed a typo that prevented the script from creating new partitions on A720F and korean A5 variants
v1.0
Spoiler
Initial release
Reserved
FAQ (Frequently asked questions)
I cant mount /system, /cache or/and /vendor. What do I do?
->In recovery, go to Wipe, Advanced Wipe, select the partition you have problems with and tap "Repair or Change File System". Choose "Change File System", choose EXT4 and confirm the process. Reboot to recovery again to complete the process.This may be slightly different depending on which recovery you are using.
Restoring my /system backup always fails! What do I do?
->This seems to be a general TWRP problem. To fix, wipe /system, reboot to recovery, install the ROMs zip you had installed before, reboot to recovery again and restore your backup.
I have an A720S and cant install any recent ROM! Why?
->A720S has the smallest /system partition of all A5 and A7 variants and Lineage and every other ROM currently has its stock partition sizes set. Just flash the repartition ZIP again to revert the changes and contact me so we can resolve this problem.
How do I upgrade from an older version to the latest?
->The latest version doesn't change anything in terms of partition size. Therefore, you don't need to upgrade unless you have any issues.
How do I patch my recovery to support treble?
->Download the "RecoveryPatch" ZIP from the download section above and flash it in recovery. It will patch your recovery to support treble. If you want to switch to non-treble recovery, flash the recovery IMG/ZIP or the RecoveryPatch ZIP again.
reserved
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
matkali said:
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
Click to expand...
Click to collapse
Did you have TWRP 3.4 installed before installing the repartition script?
If not, thats likely to be the cause.
Also, dont forget to format /system, /vendor and /cache after installation.
Simon1511 said:
Did you have TWRP 3.4 installed before installing the repartition script?
If not, thats likely to be the cause.
Also, dont forget to format /system, /vendor and /cache after installation.
Click to expand...
Click to collapse
yes I do all of them
matkali said:
in a720f can't format or mount /system, /cache or/and /vendor
says unable to wipe them
error changing file system
After second time installing "repartitioner-v1.0-a57y17lte.zip" reverse process fails to restore /cache partition to first /cache
Click to expand...
Click to collapse
Yeah same issue here,. A720F
deleted
Updated the script to fix A720F and korean A5 support.
Sorry for the circumstances.
Downloads can be found in post #2
UPDATE
repartitioner v1.2: Google Drive | Androidfilehost (Will resize your partitions and patch recovery)
RecoveryPatcher: Google Drive | Androidfilehost (Will ONLY patch your recovery for treble support)
Changelog
Removed TWRP version check
Added support for SHRP and Orangefox

[11] [GSI] [OFFICIAL] AOSP Q Mod //CAOS

C A O S​(Note, I did not make this rom. This is a Generic System Image (GSI) made by Caos' devs. so it is not specifically built for the A51, but it's really stable and I am using it now. ALL CREDIT GOES TO CAOS' DEVS!)
Your warranty is now void!​We're not responsible for bricked devices, dead SD cards,​thermonuclear war, or you getting fired because the alarm app failed. Please​do some research if you have any concerns about features included in this ROM​before flashing it! YOU are choosing to make these modifications, and if​you point the finger at us for messing up your device, we will laugh at you​​
CAOS (Custom AOSP OS) is a project which is based on @phhusson's Treble GSI AOSP 10. CAOS' devs began it because ASOP has stability, speed and support but also some issues and limitations - pure AOSP's code has some bugs and it doesn't have much useful things and it's hard to pull it. So CAOS' devs did this fork. System can run with SELinux enforced state, as an original Phh AOSP GSI. Fully compatible with PHH-Treble patches exclude few low level changes: no root app, no "su" binary in system; by default exist file /system/phh/secure (for Google Certification PASS), so if you can boot AOSP GSI, but can't boot CAOS - try to removing that file
UPDATE VERSION
latest build: 2020.10.29
treble patches: v222+
SPL: 5 Oct 2020
File Downloads/Installation​THINGS THAT YOU NEED ON YOUR WINDOWS COMPUTER.​
Odin
Unzip the file. There is a EXE file in it. Double click it to launch. There will be a pop up, just press ok.
FILES THAT YOU NEED TO FLASH THE ROM.​The rom itself
Make sure you have 7-zip installed. Right click it and click extract files. Go into the unzipped folder and rename the file inside to "system.img"
TWRP Decrypter
Just leave this file as a zip. Don't unzip it.
ChonDoe Flasher
Just leave this file as a zip, Don't unzip it.
INSTALL RECOVERY AND UNLOCK BOOTLOADER (SKIP THIS PART IF YOU ALREADY HAVE TWRP.)​I have made a reddit post on twrp. DO NOT DO THE MAGISK PART.
FLASHING THE FILES​Go into TWRP. Press wipe and go into format data. Type in yes and wipe your data. Press the home button in your nav bar and go back into Wipe. Press advanced wipe, tick "data", "Dalvik / ART cache" and "Cache". Format it.
Press the home button in the nav bar again. Now, go into reboot and click recovery. Don't do anything. Once it's back into TWRP, plug your phone into the pc if you haven't already.
On your Windows PC, go into File Explorer, This PC, A515F and then internal storage. Take the "system.img" file and drag it into there. Do the same with "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" and "ChonDoe_Flasher.zip"
Once all of them are copied, go onto your phone. Click install and you should see your files. If you don't, go into /sdcard. Flash "ChonDoe_Flasher.zip". Once it's done, flash "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip". Press "Reboot System" once "Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip" is installed.
If this looks really confusing to you, there is a tutorial for this. However, it's for HavocOS. But everything is the same except the rom. But the steps are the same. Watch it here.​
Congrats! You have installed Caos!​
CONTACTS
> telegram group
> project page
KNOWN BUGS:
• excluding fixes, the same as on AOSP Quack (in some cases doesn't work: broadcasting on TV, calls via BT; offline charging does not work normally fingerprint doesnt work; problems with GPS etc etc)
NOTE: always test ROM first without Magisk (with clean boot ramdisk). and don't send me bug reports if you have:
a) Magisk installed​b) modified/custom vendor or kernel​c) dirty flashing rom without wiping data​
CREDITS
persons: @phhusson
projects: TrebleGSI • BlissROMs • crDroid • PixelExperience • ION • neon-OS • Havoc-OS • LineageOS • Evolution-X • LiquidRemix • ExtendedUI • GrapheneOS • abc rom

Resources