How to update AOSP extended ROM - Xiaomi Mi A1 Questions & Answers

Hey everyone I recently installed aosp extended and saw in their website that a newer version was available when I checked a youtube video it said that I needed to flash gapps along with the update can someone help me on how to update the ROM is it same like pixelexperience where we just flash the file and clear cache alone?

#updateaex
1. Boot into TWRP
2. Flash AEX zip
3. Flash TWRP installer
4. Reboot to TWRP
5. Flash gapps
6. Flash magisk (optional)
7. Wipe dalvik cache
8. Reboot to system and enjoy
from telegram channel
But, what's your actual version of AEX ?

Sorry to but in...
I have a Mi9 with AOSP...
(please go easy..I'm a tad clueless)
If there is an update do I follow the instructions 21vm gave? And will I lose my apps and settings?

Related

opengapps giving error 20 with trwp 3.0.2.0 and 2.8.7.0

Hey Gang - I've got an issue here getting opengapps installed into marshmallow.
Background - N10 needed a refresh - we officially updated a few times (from 4.x to 5.0 to 5.1,etc) and by the end, the tablet was taking forever to reboot (updating or optmizing 160+ apps every boot), so I finally decided to start fresh. I though.. why not marshmallow.
I followed the guide here:
http://www.techtimes.com/articles/9...ndroid-6-0-marshmallow-on-google-nexus-10.htm
Basically unlocked the tablet, installed twrp and then embarked. I diverted from the original instructions to use 2.8.7.0 and used latest. (3.0.2.0)
the marshmallow image referenced in the link installed well and the system boots/runs much better... my problem comes with installing opengapps from twrp. I downloaded the arm/6.0/stock version and pushed to file system with adb, then tried an install from twrp. It seems the opengapps installer (20150519) performs a software check to ensure the version of gapps is compatible with the version on Android. My problem is that it seems to be verifying against the recovery kernel and not the installed kernel.
I have the understanding that the load I installed is in fact 6.0, however it appears that twrp is built from 5.1.1 and the openGapps installer queries (I think) the twrp kernel, then determines that it cannot install. I get an error 20 message and specific dialogue that says the
"This GApps pkg is for Android 6.0.x ONLY
Please download the correct version for
your ROM: 5.1.1 (SDK 22)."
It then fails and returns me to TWRP. So next I tried the TWRP version (2.8.7.0) specified in the techtimes link I referenced above, and I get a similar error except ROM 4.4.4 SDK (19).
So it would appear that Gapps is checking local runtime only.
Is there any to fix this, or is it something I am doing wrong?
Help please!
Same problem here.
giz02 said:
Hey Gang - I've got an issue here getting opengapps installed into marshmallow.
Background - N10 needed a refresh - we officially updated a few times (from 4.x to 5.0 to 5.1,etc) and by the end, the tablet was taking forever to reboot (updating or optmizing 160+ apps every boot), so I finally decided to start fresh. I though.. why not marshmallow.
I followed the guide here:
http://www.techtimes.com/articles/9...ndroid-6-0-marshmallow-on-google-nexus-10.htm
Basically unlocked the tablet, installed twrp and then embarked. I diverted from the original instructions to use 2.8.7.0 and used latest. (3.0.2.0)
the marshmallow image referenced in the link installed well and the system boots/runs much better... my problem comes with installing opengapps from twrp. I downloaded the arm/6.0/stock version and pushed to file system with adb, then tried an install from twrp. It seems the opengapps installer (20150519) performs a software check to ensure the version of gapps is compatible with the version on Android. My problem is that it seems to be verifying against the recovery kernel and not the installed kernel.
I have the understanding that the load I installed is in fact 6.0, however it appears that twrp is built from 5.1.1 and the openGapps installer queries (I think) the twrp kernel, then determines that it cannot install. I get an error 20 message and specific dialogue that says the
"This GApps pkg is for Android 6.0.x ONLY
Please download the correct version for
your ROM: 5.1.1 (SDK 22)."
It then fails and returns me to TWRP. So next I tried the TWRP version (2.8.7.0) specified in the techtimes link I referenced above, and I get a similar error except ROM 4.4.4 SDK (19).
So it would appear that Gapps is checking local runtime only.
Is there any to fix this, or is it something I am doing wrong?
Help please!
Click to expand...
Click to collapse
The error is telling you the problem. You are on 5.1.1 and trying to flash a gapps for 6.0. either upgrade your rom to a 6.0 rom or flash gapps for 5.1.1
Malstrond said:
Same problem here.
Click to expand...
Click to collapse
If you're getting the same error, you have the same solution.
garnet&gold said:
You are on 5.1.1 and trying to flash a gapps for 6.0. either upgrade your rom to a 6.0
Click to expand...
Click to collapse
Then why does the SDK version reported by the opengapps installer change when changing the TWRP version, but not when changing the Android version installed on the device?
Malstrond said:
Then why does the SDK version reported by the opengapps installer change when changing the TWRP version, but not when changing the Android version installed on the device?
Click to expand...
Click to collapse
The only reason the gapps version would be different is if you are flashing different versions. TWRP does not change the version and it does not have a kernel. Sometimes opengapps doesn't seem to play well with TWRP on this device. You could try Khaon's TWRP and / or a different gapps version like Bank's.
Sent from my Nexus 10 using Tapatalk
I am having the same problem twice - 1) When I try to install 7.1.x it states I need to install version 6.0.1.
2) When I try to install 6.0.1 it states I need to install version 7.1.x.
Error 20 each time and it's Lineage 14.1 for Nexus 7 I am attempting to install them in (which is Android 7.1.2).
In addition I am now again (upon 3rd install attempt) being shown error 70, but I (having had it resize the system partition) have more than enough space for as much: (this website is blocking me from posting a link to the photo so simply change the following to the correct format) (drive.google(dot com)/open?id=1aaCiOwzoGRgrZPkJPuEj3jQOc-3hgnH3) so this doesn't make sense...
What now must be done to install this apps application?
I have tried all possible versions of Gapps. None of them install. What must be done in addition to this topic's early post is what I am unclear about. Those instructions claimed that increasing the size of the system partition would do the job, yet did nothing of the sort. I even tried reinstalling the OS, following the instructions here then again attempting to install all forms of the Gapps application, but yet again none would install.
Gapps problem
I faced same issue, gapps error return by 20.
After finished flashing rom, you will reboot system. Then you go back to recovery and flash gapps,it will work
Steps to install a ROM and the GApps (Open Gapps) without problems
1. Boot into Recovery Mode (TWRP)
2. Wipe > Advanced Wipe > Select On (enable tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache,
3. Swipe to Wipe at Bottom of Screen,
4. Back to Main start screen,
5. Wipe > Format Data,
6. Type 'Yes' and press blue checkmark at the bottom-right corner,
7. Go Back to Main Start Screen to -VERY IMPORTANT---> Install Rom and GApps,
8. After you have finished installing the Rom and GApps > Wipe Cache/Dalvik > Swipe to Wipe
9. Reboot System
Source: https://forum.xda-developers.com/no...nofficial-lineage-15-1-rom-t3760969?nocache=1
Bonampi said:
Steps to install a ROM and the GApps (Open Gapps) without problems
1. Boot into Recovery Mode (TWRP)
2. Wipe > Advanced Wipe > Select On (enable tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache,
3. Swipe to Wipe at Bottom of Screen,
4. Back to Main start screen,
5. Wipe > Format Data,
6. Type 'Yes' and press blue checkmark at the bottom-right corner,
7. Go Back to Main Start Screen to -VERY IMPORTANT---> Install Rom and GApps,
8. After you have finished installing the Rom and GApps > Wipe Cache/Dalvik > Swipe to Wipe
9. Reboot System
Source: https://forum.xda-developers.com/no...nofficial-lineage-15-1-rom-t3760969?nocache=1
Click to expand...
Click to collapse
Folowing exactly!!!! your steps, I am getting Error70??? by installing GAPPS.
ROM and GApps v8.01
Nexus 7 2013, latest TWRP
zcseke said:
Folowing exactly!!!! your steps, I am getting Error70??? by installing GAPPS.
ROM and GApps v8.01
Nexus 7 2013, latest TWRP
Click to expand...
Click to collapse
Two options
1 - Install GApps micro no mini
2 - https://www.youtube.com/watch?v=6vT7kyK0WUA
zcseke said:
Folowing exactly!!!! your steps, I am getting Error70??? by installing GAPPS.
ROM and GApps v8.01
Nexus 7 2013, latest TWRP
Click to expand...
Click to collapse
Not to revive a dead thread, but since I've had the same issue as the last post, and resolved it on the same device, Nexus 7 (2013 flo 16 gb) I thought I'd chime in to tell how I worked around it for that device. I could not install any Android 9 ROM that would allow me to install any Open GApps without getting that aforementioned error 70 in TWRP. I finally tried the combination of AICP (unofficial) based on Pie [AOSP Extended (unofficial) also worked] and GApps for Android 9 arm Pico. That version of GApps and either of those two ROMs allow me to get the Nexus 7 running again with Android Pie. I don't know why that worked, but I should mention I didn't have that problem with my Nexus 7 deb that has 32 gb onboard, so I'm guessing it had something to do with the different sizes. I can run any Pie ROM on the deb tablet. I hope this helps.

[GUIDE] Install Lineage OS 14.1 on Redmi Note 3 (No in call audio issue fixed)

Hello guys, this is my first guide here. So as the title says, I will show you how to install Lineage OS on your Redmi Note 3 device (kenzo).
So before following the guide, your device should have a unlocked bootloader and TWRP recovery.
I will also tell you how to fix in calls audio issue if you are facing it after installing Lineage OS 14.1
So let's begin.
First download the rom (refer to the official thread).
Download Cm14.1 firmware for kenzo (you can find it in the same rom thread)
Download Gapps (any package like micro or nano)
Procedure:-
1- Boot to TWRP recovery.
2- Go to wipe menu. Wipe system, data, dalvik cache and cache.
3- Now go to mount, and mount cust and persist.
4- Go to install. Select the firmware zip file you had downloaded. Install it. (This fixes in call audio problem)
5- After installing it you can unmount cust and persist from the mount menu.
6- After it flash the official Lineage OS rom which you had downloaded. (Install menu, zip)
7- After rom is flashed, flash Gapps package. (Install menu, zip)
8- After flashing Gapps, go to wipe and wipe cache, dalvik cache.
9- Reboot your device
10-Enjoy!
First Reboot will take a while so don't panic... Download Google camera if you want a more stable camera (since stock is quite buggy).. Also you can use Umang's Flashlight fix for the buggy Flashlight button.
Just in case you want to root the device, just download root add-on (found in official thread)
Enjoy the experience.. ?
xzy99 said:
Hello guys, this is my first guide here. So as the title says, I will show you how to install Lineage OS on your Redmi Note 3 device (kenzo).
So before following the guide, your device should have a unlocked bootloader and TWRP recovery.
I will also tell you how to fix in calls audio issue if you are facing it after installing Lineage OS 14.1
So let's begin.
First download the rom (refer to the official thread).
Download Cm14.1 firmware for kenzo (you can find it in the same rom thread)
Download Gapps (any package like micro or nano)
Procedure:-
1- Boot to TWRP recovery.
2- Go to wipe menu. Wipe system, data, dalvik cache and cache.
3- Now go to mount, and mount cust and persist.
4- Go to install. Select the firmware zip file you had downloaded. Install it. (This fixes in call audio problem)
5- After installing it you can unmount cust and persist from the mount menu.
6- After it flash the official Lineage OS rom which you had downloaded. (Install menu, zip)
7- After rom is flashed, flash Gapps package. (Install menu, zip)
8- After flashing Gapps, go to wipe and wipe cache, dalvik cache.
9- Reboot your device
10-Enjoy!
First Reboot will take a while so don't panic... Download Google camera if you want a more stable camera (since stock is quite buggy).. Also you can use Umang's Flashlight fix for the buggy Flashlight button.
Just in case you want to root the device, just download root add-on (found in official thread)
Enjoy the experience..
Click to expand...
Click to collapse
it this a joke? this looks like a chinese copy of a guide posted 1 week ago and is only 2 posts under this:
https://forum.xda-developers.com/redmi-note-3/how-to/kate-guide-install-lineage-os-locked-t3546154
what is your intention?
@massan1 I hope you have eyes through which you can read properly. No offence brother. Well, I didn't copy it. Plus that guide is made for those who have locked bootloader. Second, I am posting this for those who want to clean install Lineage OS with the call audio fix. So, if you believe I have copied it , just keep believing it.
Keep burning.. I'll get ice packs for you. Thanks.
I was on cm 13 before flashing lineage OS 14.1..Now the issue iam facing is that while making calls without headphones the both myself and other person won't hear a thing. On reverting back to cm 13 everything works fine. Currently on nightly 07.02.2107
r28 said:
I was on cm 13 before flashing lineage OS 14.1..Now the issue iam facing is that while making calls without headphones the both myself and other person won't hear a thing. On reverting back to cm 13 everything works fine. Currently on nightly 07.02.2107
Click to expand...
Click to collapse
just flash upgraded firmware or change build.prop:
https://forum.xda-developers.com/re...stall-lineage-os-locked-t3546154/post70826457
Raaj52 said:
This is not a build.prop issue!! In order to work with the old firmware (patched one) you have to make fluence to none, this is done when you use patched VoLTE. If you make fluence to none the latest MM firmwares won't give sound in call, many are getting no sound because they are using the old patched firmware. Since the native VoLTE is fixed no need of the old firmware and you don't need to change fluence to none. Just flash the latest firmware and you are good to go.
Still doubt? OK then I need to tell you one more thing, The first patch for VoLTE for MIUI MM was made by me (you can check that in MIUI Global forum) and sudeep made a firmware.zip with my NON-HLOS.bin and I can see that the same is copied in the firmware.zip, in order to get fluence working in the patched firmware it should have used with the correct adspso.bin.
Many are thinking that changing firmware is useless but in reality it comes with lot of stability fixes, so I recommend everyone to update your firmware to the latest one instead of all this build.prop editing craps.
What is the problem if I edit build.prop? --> You have to edit your build.prop whenever you flash a ROM, you can't avoid it unless you flash the latest firmware.
Why I am so confident? --> Because I know what is firmware and How does it work!
If you have "no sound in calls" issue even after you change the firmware I recommend a clean mi flash tool flashing with the latest MIUI ROM (because it will fix all your partition related stuffs, instability issues)
@abhishek987 @akhilnarang could you please add the "solution for no sound in calls is to flash the latest firmware" in your first post?
Click to expand...
Click to collapse

Easiest Method To Install Any Custom Rom - Universal 7.XX/8.XX

Hey guys,
So recently I tried a few custom roms and noticed that the steps for all roms are slightly diffferent and that confused. Hence decided to try everything available and come to a easiest step by step conclusion:
Steps :
At the time of writing this guide I was on codeworkx universal TWRP running stock OOS 4.7.6 with Magisk 15.2. But the steps would work from any rom to any rom.
1) Flash codeworx universal TWRp from here : https://goo.gl/yXx2sK
2) Boot into twrp and using your pattern/pin decrypt data, yes thats the good part no matter if you are on stable or custom be it android 7.1.1/8.0/8.1 this recovery is able to decrypt all roms.
3) Make a nandroid backup and copy all contents of your internal storage to a pc/ choose the backup method of your choice.
4) Make sure you have at least 50% battery charged.
5) In twrp go to wipe . format data type yes and tick
6) Reboot to recovery
7) Perform a factory reset also wipe internal storage.
8) While in twrp copy the rom and firmware and gapps to your phone
9) Flash first the firmware if needed by the rom, then flash the rom and then gapps and then dm verity zip if needed by the rom. Wipe cache and dalvik. (note if you are flashing a stock rom please flash magisk and then make the first boot otherwise TWRP will be erased)
10) Boot into rom and set it up
11) Flash magisk or supersu if needed.
Heres a step by step video :
Credits :
@Funk Wizard
 @codeworkx
xda developers
lineage os
team twrp
oneplus
Please note : Do this at your own risk. I would not be responsible for any damage.
If I have missed any names please PM me I will ensure i add it.​
Why all this codeworx TWRP hype all of the sudden? Bluspark has never let me down yet. What is the difference between the two?
It's good if you add DM verity to the list as "if needed" because certain custom ROMs require it.
I'll be looking at this thread at some point in the future. Thanks.
Anyone followed the above and have comments to make ?
after flash any rom black screen and blue LED
any help

How to install ANY CustomROM on OnePlus6T from OOS/CustomROM

So, I searched the internet for a method to flash a CustomROM on the OnePlus 6T. But somehow none of them worked, so I worked on one myself that at least works for me.
There are 2 methods, use Method A if you don't have a custom ROM installed and still use OxygenOS. Use Method B if you are using a custom ROM and want to have another one:
Method A: From OxygenOS to CustomROM
1. boot in twrp
2. in twrp, do a factory reset
3. flash latest oos zip(flashable ota, link will be below)
4. flash twrp installer zip(i recommend mauronofrio´s twrp, link wil be below)
5. check current slot, then reboot in twrp
6. check if slot changed, then do a factory reset
7. flash latest oos zip
8. flash twrp installer zip
9. reboot recovery, and check if slot changed
10. factory reset
11. flash custom rom zip
12. flash twrp installer zip
13. reboot twrp(check current slot)
14. check if slot changed(if yes:it worked, if no:repeat)
15. additional: flash magisk&gapps
then,your rom is ready to use
Method B: From Custom ROM to another Custom ROM
1. reboot to twrp
2. in twrp, do a factory reset
3. then select advanced wipe: wipe system,cache,data. DON’T WIPE VENDOR
4. flash custom rom zip
5. flash twrp installer zip
6. check which slot you´re in
7. reboot twrp
8. if slot changed, everything worked
9. flash gapps and magisk if you want
then, your rom is ready to use
So, I hope I have spared you many problems and wish you much fun with your Devices.
Links:
Mauronofrio TWRP: click here
OxygenOS Stable OTA 10.3.1: click here
DirtryElectro said:
So, I searched the internet for a method to flash a CustomROM on the OnePlus 6T. But somehow none of them worked, so I worked on one myself that at least works for me.
.......
Links:
Mauronofrio TWRP: click here
OxygenOS Stable OTA 10.3.1: click here
Very important note: Download the FULL OTA, not the local-upgrade OTA!
Click to expand...
Click to collapse
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
DarthVader said:
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
Click to expand...
Click to collapse
these are just the steps which worked for me, but ok
DarthVader said:
Some of those steps are unnecessary. Like doing a Factory Reset each time you boot to TWRP as that will mess up your Encryption. And in Method B, you mention to Wipe System. DO NOT UNDER ANY CIRCUMSTANCES WIPE SYSTEM ON THE 6T. IT WILL MESS UP YOUR DEVICE. This is the method I use to flash ROMs.
1. Boot to TWRP
2. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
3. Flash the latest version of Stable OOS for your Device and latest TWRP Installer for your Device. -> Reboot to Recovery.
4. Flash ROM + TWRP ,Format Data (Go to Wipe, in the lower right corner Format Data, type in 'YES' and hit Enter) -> Reboot to System
5. After first Boot, You can Reboot to Recovery & Flash Magisk (Optional).
These are for EvolutionX that has Gapps built-in so you don't need to flash Gapps. Otherwise you can Skip the Format Data after ROM flash in Step 4, Reboot to Recovery, Flash Gapps and then Format Data. I use these and they have worked flawlessly for me. Also when switching from one AOSP based ROM to another, it's generally recommended to flash OOS Before.
Click to expand...
Click to collapse
this helped me greatly! following the instructions above had my files corrupt when id factory reset. i dont have an otg usb. so the instructions above kind of troubled me. again, thank you!
Beefybeardedbear said:
this helped me greatly! following the instructions above from OP had my files corrupt when id factory reset. i dont have an otg usb. so the instructions from OP kind of troubled me. again, thank you!
Click to expand...
Click to collapse

I need help to install crDROID v5.12

Hi everyone.
I'm trying to install crDROID v5.12 but I don't speak english very well and I never installed custom rom before
My build is A2017GV1.2.0B12.
I unlocked my bootloader, installed twrp 3.1.1.0 and did a backup using axon7toolkit so this is cool but now i'm stuck cause i don't know what i have to do and I don' want to do bad things.
So if someone could help me it will be very nice.
Thanks a lot.
Here are the instruction :
0.suited twrp ( i'm using twrp3218), oreo bootstack (i'm using universal one) of your choice...you know the drill
1. Copy crDroid zip, 9.0 gapps ( i'm using micro) zip to your device
2. Boot into twrp recovery
3. Wipe cache, system, vendor & data
4. Flash ROM
5. Flash gapps
5a Reboot and setup phone
6. Flash Magisk 20.4
7. Reboot and enjoy !
It's okay.
I tried many things and I finaly installed CrDroid without to brick my phone.
I don't know if I did it well but that looks good.
Now just to know, about bootstack : I take the one on download center by raysteff66 in section TWRP flashable Bootstack named A2017G-O-B02-bootstack.
It's a good choice or there is better bootstack ?
And for further any advice, things cool to do to improve experience with this fresh rom?

Categories

Resources