TWRP, Rom and GAPP issues?

Crossvxm

Senior Member
May 26, 2013
597
143
0
26
New York
I'm new to this device and already I'm extremely confused. I tried flashing TWRP the old school method and found out very fast that it was a no go. Upon reading around, I fount the following guide and booted TWRP:

https://forum.xda-developers.com/mi-a1/how-to/lineageos-gapps-magisk-twrp-dolbyatmos-t3762939

The problem? I can install DotOS, but as soon as I try to flash the GAPPS, I get an error (it claims that I am on 7.1.2, but I'm using the latest DotOS version which is 8.1.0 based). Since from what I understand the recovery seems to be tied to the boot.img (like the Sony Ericsson Xperia Play), I believed simply rebooting into recovery would help. Unfortunately this boots into stock recovery for 8.0.0 (mind you I was on 8.1.0 stock). Upon reading around on how to install TWRP on the phone itself, I found this thread:

https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472


This is the bigger headache. After following the instructions which are clear as day, I encounter similar issues to half of the replies in that thread. Another issue is that there is no explanation on whether you should be on stock first or...? Secondly, nothing is said on which "slot" (a or b) to flash your desired rom. So my default slot was b, I switched to a to flash the TWRP installer and so on as per instructions. I then assume I am to switch back to slot b for my rom to be installed. The issue is that after trying to install the GAPPS, I am faced with the issue again of the 7.1.2 detected. The only way to get around this is to flash it in slot a, but then the device will never boot. I'm very confused?
 

mardrest

Senior Member
Dec 26, 2011
203
70
58
I'm new to this device and already I'm extremely confused. I tried flashing TWRP the old school method and found out very fast that it was a no go. Upon reading around, I fount the following guide and booted TWRP:

https://forum.xda-developers.com/mi-a1/how-to/lineageos-gapps-magisk-twrp-dolbyatmos-t3762939

The problem? I can install DotOS, but as soon as I try to flash the GAPPS, I get an error (it claims that I am on 7.1.2, but I'm using the latest DotOS version which is 8.1.0 based). Since from what I understand the recovery seems to be tied to the boot.img (like the Sony Ericsson Xperia Play), I believed simply rebooting into recovery would help. Unfortunately this boots into stock recovery for 8.0.0 (mind you I was on 8.1.0 stock). Upon reading around on how to install TWRP on the phone itself, I found this thread:

https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472


This is the bigger headache. After following the instructions which are clear as day, I encounter similar issues to half of the replies in that thread. Another issue is that there is no explanation on whether you should be on stock first or...? Secondly, nothing is said on which "slot" (a or b) to flash your desired rom. So my default slot was b, I switched to a to flash the TWRP installer and so on as per instructions. I then assume I am to switch back to slot b for my rom to be installed. The issue is that after trying to install the GAPPS, I am faced with the issue again of the 7.1.2 detected. The only way to get around this is to flash it in slot a, but then the device will never boot. I'm very confused?
To install twrp, use twrp 3.2.3 from abishek (lineageOS) or from cosmicdan.
This phone have slot a/b. For installing twrp it doesn't matter from which slot you install as it will install in the boot partition, not in system.
First do facory reset, you don't have to be on stock.
For custom rom zip if you are in slot a it will be installed in the slot b. After installing rom install twrp again as it's deleted when you install new rom and change slot, reboot and install gapps according with the rom 8.1 or 9.0 and magisk, it installs on the same slot..
Cosmicdan twrp have an option to install rom zip on the same slot and have a survival option for twrp, so you don't have to install twrp when you install a rom or a new kernel.