• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[GSI][ROM][10.0][AOSP+GAPPS][04/08/20]

sooti

Recognized Developer
Jan 26, 2012
2,380
6,550
113

Code:
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 10.0

Bugs:
voLTE - currently broken, working with Phh to get it up and running, absolutely no ETA, if you need voLTE, use any of the other roms

Steps:
1. Use latest CosmicDan treble TWRP
2. Re-partition to treble layout if you haven't done so yet
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)
4. Wipe data if coming from any other rom(!)
5. Flash Rom (No need for gapps, do not flash them, they are included!)
6. Reboot and wait for setup wizard to come up (may take 2-3 minutes)
7. Reboot to twrp and flash magisk (optional)
8. Reboot

Downloads: Link

Thanks to @Ranjan for IMS.apk
@phhusson for his work on GSI (donate to this man, he works on dozens of devices)
@flex1911 for his help bringing 9.0 kernel source for tissot
Oreo team (you all know who you are,@cosmicdan for twrp, @ghpranav for treble vendor source)

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
Credit to @flex1911 for the original work on the kernel


XDA:DevDB Information
[GSI][ROM][10.0][AOSP+GAPPS][04/08/20], ROM for the Xiaomi Mi A1

Contributors
sooti, phhusson, flex1911, Ranjan
Source Code: https://github.com/aosp-tissot

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Treble
Based On: AOSP

Version Information
Status: Stable
Stable Release Date: 2020-05-07

Created 2019-11-05
Last Updated 2020-08-04​
 

Attachments

Last edited:

sooti

Recognized Developer
Jan 26, 2012
2,380
6,550
113
Changelog:
04/08/20:
* Added option to close annoying suggestions in settings (like we could in pie)
* August security patch

08/07/20:
* Fixed voLTE, no more crashes from SMS

07/07/20:
* July Security patch

28/06/20:
* Remove voLTE apk being installed by default, caused crashes for some users

21/06/20:
* Added voLTE support for all qcom devices

02/06/20:
* Rebased device tree and changed gapps to GMSEXPRESS (what OEMs get from google)
* June security patch
* Small other fixes

07/05/20:
* May security update
* Some Phh treble fixes and settings
* Updated kernel to 4.9.222

09/02/20:
* Feb security patch

25/01/20:
* Jan security patch
* Updated to latest 4.9 source for kernel

07/11/19:
* Fixed DRM

06/11/19:
* Fixed bootloop by disabling forced FDE encryption
* Fixed secure adb not being enabled

05/11/19:
* Initial release
* November security patch
* Up-streamed latest 4.9 kernel source from android
 
Last edited:

GabiML

Senior Member
May 9, 2017
320
72
0
Changelog:
05/11/19:
* Initial release
* November security patch
* Up-streamed latest 4.9 kernel source from android
TUTORIAL WITH NO SENSE, what to flash, when? I flashed 1.boot 2.vendor 3.system image 4.kernel, reboot and bootlop
How to flash this?
 

GabiML

Senior Member
May 9, 2017
320
72
0
There's no order.

EDIT: BOOT IMG is the Kernel
And at step with FLASH ROM, what to flash because before it said to flash vendor sistem and boot.
Now, i flashed vendor then system then boot and reboot, again bootlop. Is it working at all?
 

GabiML

Senior Member
May 9, 2017
320
72
0
Wipe Data, System, Dalvik and Vendor (Be sure your phone repartitioned to support treble).
Flash System, Vendor and Boot.
After the 1st boot, you can flash Magisk too (Optional)
NOT WORKING, i did it. Bootlop. Have you some screenshots with it?
 

donnebanget

Member
May 15, 2016
27
4
0
Medan
I'm from AOSPExtended Pie..

Step i do :
1. Trebelized with CosmicDan TWRP
2. Wipe System, Data, Internal, Vendor.
3. Flash Vendor.img
4. Flash System.img
5. Flash Boot.img
6. Format Data then Yes
7. Reboot TWRP
8. Flash System.img again..
9. Reboot System

First boot it's make reboot when showing mi logo then second boot i'm stuck at mi Logo..
Any step i miss? or i do wrong step?
Please advice.. Thanks..
 

sooti

Recognized Developer
Jan 26, 2012
2,380
6,550
113
I'm from AOSPExtended Pie..

Step i do :
1. Trebelized with CosmicDan TWRP
2. Wipe System, Data, Internal, Vendor.
3. Flash Vendor.img
4. Flash System.img
5. Flash Boot.img
6. Format Data then Yes
7. Reboot TWRP
8. Flash System.img again..
9. Reboot System

First boot it's make reboot when showing mi logo then second boot i'm stuck at mi Logo..
Any step i miss? or i do wrong step?
Please advice.. Thanks..
Do you have logs? Did you wait long enough?
 

KaaMyA

Senior Member
Apr 26, 2009
585
156
43
Bogotá
i Thinks i wait 10 to 15 minutes..
I am not sure how to get logs..
But that a correct step i do?
Did you follow 6th. step?
just in case, "wipe" and "format" data aren't the same thing.
Some ROMs show "Enter code" screen (i.e.PixelExperience), while others just bootloop (i.e. EvolutionX), both for the same reason, an encrypted device.


However, try to do all steps again to be sure.
 
Last edited:

donnebanget

Member
May 15, 2016
27
4
0
Medan
Did you follow 6th. step?
just in case, "wipe" and "format" data aren't the same thing.
Some ROMs show "Enter code" screen (i.e.PixelExperience), while others just bootloop (i.e. EvolutionX), both for the same reason, an encrypted device.


However, try to do all steps again to be sure.
Thanks for advice, i'll try again..
Update : Using Flex Vendor and boot normaly but SIM Card not detected forgot my room have bad signal.. :laugh::laugh:
 
Last edited:

sooti

Recognized Developer
Jan 26, 2012
2,380
6,550
113
Thanks for advice, i'll try again..
Update : Using Flex Vendor and boot normaly but SIM Card not detected forgot my room have bad signal.. :laugh::laugh:
Weird, maybe encryption has issues? I'll test it tomorrow and upload a change if needed, flex vendor is missing some commits
 

donnebanget

Member
May 15, 2016
27
4
0
Medan
Weird, maybe encryption has issues? I'll test it tomorrow and upload a change if needed, flex vendor is missing some commits
And when starting phone have warning "There's an internal problem with your device. Contact your manufacturer for details."
- Google Play Device not certified
- Chrome sometimes freeze
 

sooti

Recognized Developer
Jan 26, 2012
2,380
6,550
113
And when starting phone have warning "There's an internal problem with your device. Contact your manufacturer for details."
- Google Play Device not certified
- Chrome sometimes freeze
Ya that's because your on flex vendor, if you flash other people's vendor I can't help you