(Guide) How to install a GSI ROM on the Pixel 3 XL - Google Pixel 3 XL Guides, News, & Discussion

First Step
Boot to Twrp and you need to flash the avbctdisable.zip
Link- https://drive.google.com/file/d/1GhZK04FDx7WlyKb32qq0gR-SO0t51CVE/view
2nd Step
flash the factory boot image in fastboot
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Use the STOCK boot image!
Then flash the GSI system image of your choice
ON A/B Partition
fastboot flash system_a gsi.img
fastboot flash system_b gsi.img
STEPS After GSI flashed
1.Boot TWRP thru Fastboot
2.Wipe Data and Dalvic / Art Cache
3.Flash the TWRP installer
4.Reboot to System
5. Reboot To Twrp Flash Gapps
6. Reboot To Twrp Flash Magisk And Optional Custom Kernel
7.Reboot
List of GSI roms I have found
Resurrection Remix
https://get.resurrectionremix.com/?dir=gsi
Havoc OS:
https://sourceforge.net/projects/havoc-os/files/arm64ab/
Arrow OS:
https://sourceforge.net/projects/arrow-os/files/arrow-9.x/GSI/
Octopus OS:
https://drive.google.com/file/d/1caTZ1rMxOuikF1Va5N3cJTFQLmLf7LUZ/view

Also FOR ERROR 70 WITH GAPPS
Steps
Boot Twrp
Click on wipe
Advance wipe
Click on system
Then Repair or Change File System
Then Resize File System
Flash Gapps Profit.
ALSO!
IF YOU HAVE BOOTING ISSUES WHEN YOU HAVE COMPLETED THESE STEPS, FLASH THE STOCK BOOT IMAGE, TWRP OR MAGISK IS CAUSING ISSUES

Cozzeck said:
Also FOR ERROR 70 WITH GAPPS
Steps
Boot Twrp
Click on wipe
Advance wipe
Click on system
Then Repair or Change File System
Then Resize File System
Flash Gapps Profit.
Click to expand...
Click to collapse
What GApps did you use ?, can you provide the link for that .

jawonder said:
What GApps did you use ?, can you provide the link for that .
Click to expand...
Click to collapse
Fixed the link and I used opengapps https://opengapps.org

Cozzeck said:
Fixed the link and I used opengapps https://opengapps.org
Click to expand...
Click to collapse
Thanks gonna try this, bored and need to flash something LOL .

What is the avbctdisable.zip for ? . Sorry first time doing GSI . Also i downloaded open GApps 9.0, is the the right one ?.

jawonder said:
What is the avbctdisable.zip fo ? . Sorry first time doing GSI . Also i downloaded open GApps 9.0, is the the right one ?.
Click to expand...
Click to collapse
not completely sure but believe that it disables encryption...

jawonder said:
What is the avbctdisable.zip fo ? . Sorry first time doing GSI . Also i downloaded open GApps 9.0, is the the right one ?.
Click to expand...
Click to collapse
Google implemented AVB verity to check and make sure that all the images in the partitions match each other before the device will boot. The device will not boot with a mismatched GSI image in the system partition. The zip disables the verity checks of the different partions allowing the device to boot with a GSI image.
https://android.googlesource.com/platform/external/avb/+/master/README.md
---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------
cmh714 said:
not completely sure but believe that it disables encryption...
Click to expand...
Click to collapse
Nothing to do with encryption. You will still be encrypted

Golf c said:
Google implemented AVB verity to check and make sure that all the images in the partitions match each other before the device will boot. The device will not boot with a mismatched GSI image in the system partition. The zip disables the verity checks of the different partions allowing the device to boot with a GSI image.
https://android.googlesource.com/platform/external/avb/+/master/README.md
---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------
Nothing to do with encryption. You will still be encrypted
Click to expand...
Click to collapse
Thanks, there’s lots of interesting stuff to with the Pixel .

So it booted but when i went back and flash GApps i got error 70 and i didn’t do the fix while in twrp i wanted to reboot system first then go back to twrp and do the fix . Seems that wasn’t a good idea it booted to the google screen then back to bootloader with and error saying “error booting boot.img . Gonna try doing the process all over again and do the GApps fix after flashing GApps before rebooting.

Not working for me, boots fine until i flash GApps and reboot system it just goes to bootloader and says "no valid slot to boot" .

I dont really care but dont think this is really the correct place for much of this stuff....maybe poke around here: https://forum.xda-developers.com/project-treble/trebleenabled-device-development

cmh714 said:
I dont really care but dont think this is really the correct place for much of this stuff....maybe poke around here: https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Click to expand...
Click to collapse
Those roms seem to be for older devices

jawonder said:
Not working for me, boots fine until i flash GApps and reboot system it just goes to bootloader and says "no valid slot to boot" .
Click to expand...
Click to collapse
I didn't have some booting issues at first with RR but I just flashed the stock boot image after it was all said and done and it boot fine. Not sure if it's twrp or magisk causing the issues
Edit guess I should add this in to the op

Cozzeck said:
I didn't have some booting issues at first with RR but I just flashed the stock boot image after it was all said and done and it boot fine. Not sure if it's twrp or magisk causing the issues
Edit guess I should add this in to the op
Click to expand...
Click to collapse
Funny i was thinking of doing that. Ok will try that . Doing a clean install of January patch and will have a go again .

Boots ok when i flashed boot.img after GApps but after a restart it just boots to fastboot and i if click on start or do a fastboot reboot it just goes back to bootloader . I think this needs some work .

jawonder said:
Those roms seem to be for older devices
Click to expand...
Click to collapse
no that is incorrect....but whatever.

Cozzeck said:
Fixed the link and I used opengapps https://opengapps.org
Click to expand...
Click to collapse
Which GApps to use ARM64 9,0 or ARM 9.0 ? . Was reading that ARM64 doesn't work on pixel
Edit: No worries, i see it’s ARM64 .

I did a factory reset then install just the system.img in TWRP then flash GApps and Magisk before reboot as per instructions in RR thread . I boots fine but give the Android system error before you unlock . I report this in the RR psi thread and they said it's a known issue should just ignore it for now . Everything works . I'm using Google Fi which works fine .

This looked like a chance but disabling AVB, FBE and making the Kernel SElinux permissive has not helped to boot this here: https://forum.xda-developers.com/pr...vice-development/pie-erfan-gsi-ports-t3906486
Anyone more lucky as i am or any ideas? Would really really like to get Miui or Xperia as System since it includes fancy stuff to play with...

Related

Root & Install Magisk in MI A1 With December Security Patch Update ( N2G47H.7.12.19 )

Root & Install Magisk in MI A1 With December Security Patch Update ( N2G47H.7.12.19 )
Required files :
1. TWRP 3.1.1 by MohanCM
https://androidfilehost.com/?fid=745849072291685548
2. TWRP Installer 3.2.1.0
https://androidfilehost.com/?fid=962021903579497776
3. Magisk-v14.6(1468)
https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
4. Magisk Manager 5.5.0
https://magiskmanager.com/Magisk/MagiskManager-v5.5.0.apk
Instruction:
1. Flash latest December fastboot rom or update to latest december patch 7.12.19. ( "Clean Flash" is Recommended )
2. boot to twrp using fastboot commads
( fastboot boot recovery-3.1.1-1.img )
3. Then Install twrp-mia1-installer-tissot-3.2.1.0.zip
4. Next Install Magisk-v14.6(1468)
After all installation completed, go to main menu in twrp by pressing HOME button.
select REBOOT . Select SLOT B. reboot SYSTEM
finally install Magisk Manager apk file.
thats all root works perfectly.
Screenshots Below.
TWRP 3.2.1.0 does not show either sdcard or the microSD.
Can you please link latest fastboot rom
Sent from my Mi A1 using Tapatalk
Can you please link latest fastboot rom
Click to expand...
Click to collapse
http://bigota.d.miui.com/7.12.7/tissot_images_7.12.7_20171207.0000.00_7.1_ac947e5007.tgz
---------- Post added at 12:00 PM ---------- Previous post was at 11:58 AM ----------
blackyz01 said:
Can you please link latest fastboot rom
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
Spk1690 said:
Required files :
1. TWRP 3.1.1 by MohanCM
https://androidfilehost.com/?fid=745849072291685548
2. TWRP Installer 3.2.1.0
https://androidfilehost.com/?fid=962021903579497776
3. Magisk-v14.6(1468)
https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
4. Magisk Manager 5.5.0
https://magiskmanager.com/Magisk/MagiskManager-v5.5.0.apk
Instruction:
1. Flash latest December fastboot rom or update to latest december patch 7.12.19. ( "Clean Flash" is Recommended )
2. boot to twrp using fastboot commads
( fastboot boot recovery-3.1.1-1.img )
3. Then Install twrp-mia1-installer-tissot-3.2.1.0.zip
4. Next Install Magisk-v14.6(1468)
After all installation completed, go to main menu in twrp by pressing HOME button.
select REBOOT . Select SLOT B. reboot SYSTEM
finally install Magisk Manager apk file.
thats all root works perfectly.
Screenshots Below.
Click to expand...
Click to collapse
My phone is bootloop after changing slot b, reboot
Spk1690 said:
Required files :
1. TWRP 3.1.1 by MohanCM
https://androidfilehost.com/?fid=745849072291685548
2. TWRP Installer 3.2.1.0
https://androidfilehost.com/?fid=962021903579497776
3. Magisk-v14.6(1468)
https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
4. Magisk Manager 5.5.0
https://magiskmanager.com/Magisk/MagiskManager-v5.5.0.apk
Instruction:
1. Flash latest December fastboot rom or update to latest december patch 7.12.19. ( "Clean Flash" is Recommended )
2. boot to twrp using fastboot commads
( fastboot boot recovery-3.1.1-1.img )
3. Then Install twrp-mia1-installer-tissot-3.2.1.0.zip
4. Next Install Magisk-v14.6(1468)
After all installation completed, go to main menu in twrp by pressing HOME button.
select REBOOT . Select SLOT B. reboot SYSTEM
finally install Magisk Manager apk file.
thats all root works perfectly.
Screenshots Below.
Click to expand...
Click to collapse
Thank you for the instruction. I have been looking for a solution.
I finally managed to get TWRP and root installed. However, there seems to be a couple of issues:
a) It is not able to detect the microsd card. The option to mount the microsd is not available.
b) when clearing cache, there is a message, unable to find /cache partition.
From completing Step 2, it booted into TWRP, however instead of choosing 'Swipe to allow modification', I selected ' Keep read only'. Not sure if this contributes less than 100% TWRP installation.
However, I tried to install TWRP again, but the first boot screen where it has the option to 'Keep read only' and 'Swipe to allow modification' is not there anymore.
In any case, I would like to know
i) if the selection 'Keep read only' is correct or 'swipe to allow modification'?
ii) how can I fix the TWRP installation?
Many thanks.
Good Job bro
All work fine !!! I leave my Nexus 5x for mi A1 no regret...
laugeek57 said:
Good Job bro
All work fine !!! I leave my Nexus 5x for mi A1 no regret...
Click to expand...
Click to collapse
bro can you give us your detailed steps.
i have a bootloop and i followed every word in the instructions
Thanks
SEMCXperiaArcS said:
bro can you give us your detailed steps.
i have a bootloop and i followed every word in the instructions
Thanks
Click to expand...
Click to collapse
Hello,
At which stage do you have a bootloop?
I just followed the steps and all work fine...
Why so complicated setup?
1. flash stock ROM via fastboot
2. fastboot boot twrp-3.1.1.img
3. install magisk 15.1
4. reboot to system
If first boot takes more than 2-3 minutes, hold power off button until phones restarts, second start will take the usual time.
laugeek57 said:
Hello,
At which stage do you have a bootloop?
I just followed the steps and all work fine...
Click to expand...
Click to collapse
the only thing I did differently from the instructions was that I updated from the previous version and did not directly install the fastboot ROM given in the link above. I'm trying using the fastboot ROM given above. let's see.
_mysiak_ said:
Why so complicated setup?
1. flash stock ROM via fastboot
2. fastboot boot twrp-3.1.1.img
3. install magisk 15.1
4. reboot to system
If first boot takes more than 2-3 minutes, hold power off button until phones restarts, second start will take the usual time.
Click to expand...
Click to collapse
Is it Magisk 15.1 or 14.6? Th guide says we need 14.6.
plus did you flash twrp installer.zip?
---------- Post added at 11:26 PM ---------- Previous post was at 11:17 PM ----------
laugeek57 said:
Hello,
At which stage do you have a bootloop?
I just followed the steps and all work fine...
Click to expand...
Click to collapse
After fastboot flashing the ROM the phone reboots to system. It shows a small 63 mb update. Should i update or leave it and follow the steps?
SEMCXperiaArcS said:
Is it Magisk 15.1 or 14.6? Th guide says we need 14.6.
plus did you flash twrp installer.zip?
---------- Post added at 11:26 PM ---------- Previous post was at 11:17 PM ----------
After fastboot flashing the ROM the phone reboots to system. It shows a small 63 mb update. Should i update or leave it and follow the steps?
Click to expand...
Click to collapse
I installed latest magisk (v15.1) and its workig fine
SEMCXperiaArcS said:
Is it Magisk 15.1 or 14.6? Th guide says we need 14.6.
plus did you flash twrp installer.zip?
---------- Post added at 11:26 PM ---------- Previous post was at 11:17 PM ----------
After fastboot flashing the ROM the phone reboots to system. It shows a small 63 mb update. Should i update or leave it and follow the steps?
Click to expand...
Click to collapse
At the time of writing, the latest version of Magisk was 14.6. It is now 15.1, and you can use that one if you wish.
Yes, update, and make sure that after it is done, you are at build number N2G47H.7.12.19. Then you can root again as you will be at the latest stable Nougat build.
goofball2k said:
At the time of writing, the latest version of Magisk was 14.6. It is now 15.1, and you can use that one if you wish.
Yes, update, and make sure that after it is done, you are at build number N2G47H.7.12.19. Then you can root again as you will be at the latest stable Nougat build.
Click to expand...
Click to collapse
i checked my version. it is N2G47H.7.12.19 for sure. I unlock bootloader and i boot into recovery-3.1.1-1.img
then i flash twrp-mia1-installer-tissot-3.2.1.0 and boot into system but there is a boot loop.
i did not install magisk to determine where the problem is.
Edit -- problem solved. I did nothing new but it went right this time! thanks guys all of you!! Cheers
SEMCXperiaArcS said:
i checked my version. it is N2G47H.7.12.19 for sure. I unlock bootloader and i boot into recovery-3.1.1-1.img
then i flash twrp-mia1-installer-tissot-3.2.1.0 and boot into system but there is a boot loop.
i did not install magisk to determine where the problem is.
Edit -- problem solved. I did nothing new but it went right this time! thanks guys all of you!! Cheers
Click to expand...
Click to collapse
I would not flash the actual TWRP unless you really need it with you at all times on the phone. I just boot into it when I need it. With TWRP installed, it's most likely that you won't get OTA updates.
SEMCXperiaArcS said:
Is it Magisk 15.1 or 14.6? Th guide says we need 14.6.
plus did you flash twrp installer.zip?
---------- Post added at 11:26 PM ---------- Previous post was at 11:17 PM ----------
After fastboot flashing the ROM the phone reboots to system. It shows a small 63 mb update. Should i update or leave it and follow the steps?
Click to expand...
Click to collapse
15.1 and don't install TWRP, just boot it and don't allow system modifications or you won't be able to apply OTA.
My mobile Date is not working..I have even factory reset my phone.. But yet it is not solved. Why?? Somebody help!!
Rakibboss said:
My mobile Date is not working..I have even factory reset my phone.. But yet it is not solved. Why?? Somebody help!!
Click to expand...
Click to collapse
If everything else fails, use mitool to install factory images, and startover again
amithiel said:
If everything else fails, use mitool to install factory images, and startover again
Click to expand...
Click to collapse
I flashed two times..
Rakibboss said:
My mobile Date is not working..I have even factory reset my phone.. But yet it is not solved. Why?? Somebody help!!
Click to expand...
Click to collapse
Check your APN settings for your provider are set properly on the phone.

[HOW-TO]Successfully Flash Any Custom ROMS without ERRORS!

Make sure your Bootloader is Unlocked
Reboot to Bootloader (Hold Power + Volume down) until you see Fastboot Image
Dowload latest TWRP by Mohancm https://www.androidfilehost.com/?fid=818070582850498337 copy to ADB folder
Goto your ADB folder (hold shift + right click) open with CMD / Powershell
Type Fastboot boot re (press tab for recovery shortcut)
Press enter don't close your window
In TWRP Allow Modification
Goto to Wipe > Advance wipe > check System/cache/data/internal and swipe to wipe
Don't reboot yet > goto reboot option and choose Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Copy the ROM/GAPPS/MAGISK to you device
Flash ROM
Reboot to Bootloader
Goto CMD/Powershell just press Up arrow key and enter
Flash GAPPS/MAGISK
Reboot to System
Profit!
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Rajeev said:
Great. Much appreciated :good:
In step 3 after flashing rom , what about reboot to recovery instead of reboot to bootloader and flash twrp again?
EDIT
------
Sorry. We r just booting TWRP. I did not noticed that :silly:
Click to expand...
Click to collapse
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
ydd0ras said:
The TWRP 3.2.1.1 (fixed by DroidMester) can be installed permanently. No problems!
Click to expand...
Click to collapse
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Yeah, that's right. For flashing the ROM itself only the deadman. For other actions the usual TWRP can be flashed!
t0per666 said:
But it can't flash custom roms. The only TWRP that can flash custom roms is from deadman.
Click to expand...
Click to collapse
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Yes but it also installs the OS as well. You want a clean slate completely, if possible, so best to wipe it again before flashing a custom ROM.
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
May be it has to do something with files written when you boot N 1st time. Like temp files.
Can't flash gapps error 64
Can't flash gapps error 64
Rajeev said:
Is it necessary to delete Internal? While clean flashing Nougat image the Internal is already wiped right?
Click to expand...
Click to collapse
Its for the encryption. So if you flash custom roms it doesnt show "data is encrypted" in your first boot. Thats what i've read.
You can always try flashing without wiping internal and see.
akshaygalaxystarmod said:
Can't flash gapps error 64
Click to expand...
Click to collapse
Did you follow instruction carefully?
t0per666 said:
Did you follow instruction carefully?
Click to expand...
Click to collapse
I did
akshaygalaxystarmod said:
I did
Click to expand...
Click to collapse
What twrp did you use? What version of gapps?
t0per666 said:
What twrp did you use? What version of gapps?
Click to expand...
Click to collapse
deadman twrp
arm 64 7.1 pico
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
akshaygalaxystarmod said:
deadman twrp
arm 64 7.1 pico
Click to expand...
Click to collapse
Its either you didnt follow instructions correctly or the rom have a problem when you flashed it.
SwastikAcharya said:
Noobish question: Internal memory wiping is necessary? Data wiping will delete app+their data. Formatting internal only erase media like music n videos.
Click to expand...
Click to collapse
You can leave it if you want but im not recommending to not wipe internal.
Good day! Never failed to flash the rom in this way, the rollback to the nougat is made, the necessary recovery is loaded - an error 1. Tell me what might be the matter?
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
gazzly said:
first, can i flash rom on both partion a and b ?
why after flash and rebooting to twrp again pation change to B?
why not flash magisk and gapps on same partion with first installation?
Click to expand...
Click to collapse
-Do not flash it on both slots.
-The reason it switches between A and B, is because the rom gets installed on the second partition and not the partition you are on when you flash it (i think).
-And you can't flash magisk or gapps because, like what i've said before, the rom gets flashed on the other slot.
Im not 100% sure that's how it works, so don't quote me.
I've flashed viperos having no issues. I had flashed nougat firmware before that. Now in order to flash another rom, do I have to flash stock nougat firmware again or is it ok that I just clean wipe and flash new rom?

[GUIDE] Install Oreo Custom ROMs via TWRP

Good day to everyone! I wish to provide proper steps on how to install the latest Oreo custom ROMs via TWRP in order to lessen the clutter in the custom ROM threads.
You'll need the following:
Latest TWRP Official (Fastboot TWRP)
Latest TWRP Installer (PERMANENT TWRP)
Considering you already installed TWRP via fastboot, we'll make it so that it will be permanently installed and you will not need to flash TWRP via bootloader again.
Download ROM + GApps (or no gapps if Pixel Experience)
Reboot to latest Official TWRP
Do necessary wipes (FORMAT data if having storage number issue; if not, wipe system/data/cache) then transfer ROM + gapps + magisk to internal/external storage
Flash ROM (don't reboot)
Flash latest TWRP Installer (for Permanent TWRP)
Reboot recovery (no need to transfer slots anymore as TWRP does it automatically)
Flash Gapps + Magisk
Reboot to system
To DIRTY FLASH or update the same ROM with an updated version
Reboot to recovery
Flash ROM
Flash TWRP Installer
Reboot recovery
Flash Gapps + Magisk
Reboot to system
For installing custom kernels
Download custom kernel
Reboot recovery
Flash custom kernel
Reboot to system
All of these has been tried and tested by me already.
Hey , where to flash rom??
As you have written gapps + magisk , gapps + magisk twice
sikoo1996 said:
Hey , where to flash rom?
As you have written gapps + magisk , gapps + magisk twice
Click to expand...
Click to collapse
I don't know what you mean. Read it again but slowly.
thnx man.
please add instructions to flash twrp permanent or share link.
vkbhanwariya said:
thnx man.
please add instructions to flash twrp permanent or share link.
Click to expand...
Click to collapse
+1
vkbhanwariya said:
thnx man.
please add instructions to flash twrp permanent or share link.
Click to expand...
Click to collapse
dceamit46 said:
+1
Click to expand...
Click to collapse
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
joeyhuab said:
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
Click to expand...
Click to collapse
thanks mate now ROM flashing seems very easy
vkbhanwariya said:
thanks mate now ROM flashing seems very easy
Click to expand...
Click to collapse
You're welcome! Good luck in switching ROMs!
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
You're welcome! Good luck in switching ROMs!
Click to expand...
Click to collapse
I really want to thank you for putting this up. Its immensely helpful and once again you are best at what you do.
gunmanrishi said:
I really want to thank you for putting this up. Its immensely helpful and once again you are best at what you do.
Click to expand...
Click to collapse
You're more than welcome and I'm always more than glad to help out the community. :highfive:
Sent from my Xiaomi Mi A1 using XDA Labs
With custom ROMs we have to install Twrp installer every time along with ROM zip, bit awkward.
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
madhpharma said:
With custom ROMs we have to install Twrp installer every time along with ROM zip, bit awkward.
Click to expand...
Click to collapse
Yep. That's because the ROM being flashed overwrites the recovery since there's no recovery partition.
kopitalk said:
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
Click to expand...
Click to collapse
Did you flash the TWRP.img or TWRP Installer.zip in TWRP?
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
Yep. That's because the ROM being flashed overwrites the recovery since there's no recovery partition.
Did you flash the TWRP.img or TWRP Installer.zip in TWRP?
Click to expand...
Click to collapse
Twrp installer, to be exact Twrp-recoveryInstaller-3.2.1-2-oreo.zip
joeyhuab said:
Guys, TWRP Installer IS the Permanent TWRP. That's why you need to flash it every time after flashing custom ROMs.
Click to expand...
Click to collapse
If we need to flash it every time after flash rom so how it's called permanent TWRP I don't understand. That because our device don't have recovery partition? If that so where this TWRP installed ( in which partition)?
cherryb8844 said:
If we need to flash it every time after flash rom so how it's called permanent TWRP I don't understand. That because our device don't have recovery partition? If that so where this TWRP installed ( in which partition)?
Click to expand...
Click to collapse
It's called permanent twrp because it won't get replaced by built in recovery whenever you reboot to recovery from system. TWRP gets installed within a part of the system partition.
Sent from my Xiaomi Mi A1 using XDA Labs
kopitalk said:
Is it just me but every time I flash twrp after flashing rom, I got error 20 when flashing gapps. Here's my steps:
- flash rom
- switch partition
- flash twrp
- reboot recovery (or bootloader then flashboot recovery)
- flash gapps -> error 20
Without flashing twrp permanent, I can flash gapps, no error.
Click to expand...
Click to collapse
Error 20 if I'm not wrong, means you are using the wrong gapps package.
Are you using the right one?
varben said:
Error 20 if I'm not wrong, means you are using the wrong gapps package.
Are you using the right one?
Click to expand...
Click to collapse
Yes, I certainly use the right one (8.1), that's why I was baffled when twrp says that my device is 7.1.2 every time I tried to flash the 8.1 gapps. Anyway, flashing rom then straightaway followed by gapps and magisk was fine. I can flash twrp installer later on. But I just don't understand why.
kopitalk said:
Yes, I certainly use the right one (8.1), that's why I was baffled when twrp says that my device is 7.1.2 every time I tried to flash the 8.1 gapps. Anyway, flashing rom then straightaway followed by gapps and magisk was fine. I can flash twrp installer later on. But I just don't understand why.
Click to expand...
Click to collapse
Well that's weird. Works for me by flashing Gapps and Magisk after rebooting to recovery since it switches slots when you do that. Did you possibly come from a Nougat ROM which is why that's the error showing up?
Sent from my Xiaomi Mi A1 using XDA Labs
joeyhuab said:
Well that's weird. Works for me by flashing Gapps and Magisk after rebooting to recovery since it switches slots when you do that. Did you possibly come from a Nougat ROM which is why that's the error showing up?
Click to expand...
Click to collapse
I was thinking of that too but no, I was on Oreo Jan built the first time I rooted the phone and flash LOS15.1. Do you think I should at least flash Oreo stock once? Maybe my bootloader is still Nougat

Resurrection Remix Pie GSI

First download ADB, rr GSI, TWRP, magic Gapps, userdata from stock rom and unlocked bootloader
https://dl.twrp.me/daisy/twrp-3.2.3-0-daisy.img.html TWRP
https://get.resurrectionremix.com/?dir=gsi rr GSI install ab
https://opengapps.org/ arm64 android 9.0 nano
https://en.miui.com/download-354.html and extract images\userdata
first unlock bootloader using adb
turn off the phone, hold power and volume down(keep volume pressed),then type fastboot oem unlock then type fastboot reboot and free volume down button when screen changed.
then type adb reboot bootloader again, type fastboot flash system system-190120-arm64-ab-vanilla-nosu.img , and fastboot flash userdata userdata.img and type fastboot reboot.
first root resurrection remix, install magic Gapps, and go to magisk manager and add it to modules, and flash nano Gapps! thank you for kftX for saying Magic Gapps
https://forum.xda-developers.com/showpost.php?p=78029178&postcount=29 original thread
My English is not very good but enough [TR]
I'd recommend using the TWRP here: https://forum.xda-developers.com/mi...unofficial-twrp-daisy-mount-sd-fixed-t3889390
And, by the way, what is the purpose of flashing userdata? Is it just to wipe it?
mihhut said:
First download ADB, rr GSI, TWRP, Gapps, userdata from stock rom and unlocked bootloader
https://dl.twrp.me/daisy/twrp-3.2.3-0-daisy.img.html TWRP
https://get.resurrectionremix.com/?dir=gsi rr GSI install ab
https://opengapps.org/ arm64 android 9.0 nano if error 70 select pico
https://en.miui.com/download-354.html and extract images\userdata
first unlock bootloader using adb
turn off the phone, hold power and volume down(keep volume pressed),then type fastboot oem unlock then type fastboot reboot and free volume down button when screen changed.
then type adb reboot bootloader again, type fastboot flash system system-190120-arm64-ab-vanilla-nosu.img , and fastboot flash userdata userdata.img and type fastboot reboot.
then again type adb reboot bootloader, fastboot boot twrp-3.2.3-0-daisy.img and it will boot to twrp. install gapps and reboot(if you want twrp use slider, if you don't want twrp click to don't install).
now reboot phone and finished!
Click to expand...
Click to collapse
which base do you use oreo or pie ?? with the steps that you indicate if I restore in the future will the gapps still be or will I have to do all the steps every time I want to restore?
then type adb reboot bootloader again, type fastboot flash system system-190120-arm64-ab-vanilla-nosu.img , and fastboot flash userdata userdata.img and type fastboot reboot.
Click to expand...
Click to collapse
what shouid I reboot to?
Is the rom stable for a daily driver? Does it have lag issues like other GSI roms?
mihhut said:
Pie. I will write what I understand, if you restore original rom, gapps are already included. I don't know "do we need flash Gapps after update". I'm not very good at software
Click to expand...
Click to collapse
Thank you, but one more thing, what bugs have this rom??
https://forum.xda-developers.com/showpost.php?p=78733092&postcount=175
RR 7.0 work on daisy
mihhut said:
Sorry but I don't know
Click to expand...
Click to collapse
So...why you post that 1st post with tutorial/info if you do not know anything? Just asking
Work
Before all, save a backup!! You will lose all tour data!
I've had full wipe (format data > yes , it will delete encryption)
Flash all rom 9.6.4.0 with .bat file (erase last sentence for no auto reboot after install)
No start system!
directly reboot into twrp
Full wipe (and data)
Reboot twrp (for valid deleting encryption)
install RR system
Disable force encryption
resize system partition
install Gapps 9.0 (if you want)
Install magisk (if you want)
reboot
All base work fine with this
For cam and RR setting work need to add SElinux module in magisk
safetynet not pass CTS (i will try universal fix)
LED no work
If you have problem with your sim card try this
https://forum.xda-developers.com/showpost.php?p=78736646&postcount=195
With adb command
Work for me, sim back to 1 from 2 and network work fine with 9.6.4.0!!
Thanks to RR team and eremitein for help.
---------- Post added at 01:12 AM ---------- Previous post was at 12:25 AM ----------
chillout23 said:
So...why you post that 1st post with tutorial/info if you do not know anything? Just asking
Click to expand...
Click to collapse
Religion: Love
:angel:
can any one confirm what RR version should I flash
I see in different post that for our cell there are issues with wi-fi or fingerprint
How battery life compering to stock ROM?
Adooni said:
can any one confirm what RR version should I flash
I see in different post that for our cell there are issues with wi-fi or fingerprint
How battery life compering to stock ROM?
Click to expand...
Click to collapse
Go try and report your problem (if there) for help community.
You can not read more? it is written just above ....
Adooni said:
can any one confirm what RR version should I flash
I see in different post that for our cell there are issues with wi-fi or fingerprint
Click to expand...
Click to collapse
try it with this howto
https://forum.xda-developers.com/showpost.php?p=78737881&postcount=15
and all works fine))
Adooni said:
How battery life compering to stock ROM?
Click to expand...
Click to collapse
i'm testing, need more time...
Adooni said:
How battery life compering to stock ROM?
Click to expand...
Click to collapse
battery life in RR 7
Hello, I have a problem, I have an Mi A2 Lite and I flashed this GSI on xiaomi stock rom V.9.6.4.0, my camera work... But my fingerprint sensor doesn't work, he cannot save my fingerprint.
Do you have a fix ?
Pierre
alcopsy said:
Work
resize system partition
Click to expand...
Click to collapse
Yo dude can you please tell me how you resized the partition? That option is not there for me and I don't have enough space to install gapps.
zigafide said:
Yo dude can you please tell me how you resized the partition? That option is not there for me and I don't have enough space to install gapps.
Click to expand...
Click to collapse
Twrp > wipe > advanced wipe > check system > Resize
---------- Post added at 03:05 PM ---------- Previous post was at 03:02 PM ----------
Pierre_C said:
Hello, I have a problem, I have an Mi A2 Lite and I flashed this GSI on xiaomi stock rom V.9.6.4.0, my camera work... But my fingerprint sensor doesn't work, he cannot save my fingerprint.
Do you have a fix ?
Pierre
Click to expand...
Click to collapse
Yesterday work... today not... i don't know why
alcopsy said:
Twrp > wipe > advanced wipe > check system > Resize
Click to expand...
Click to collapse
I tried that, unfortunately that option is not there. Did you install twrp, or just boot it? Also, did you use the version of twrp twrp-3.2.3-0-daisy.img?
zigafide said:
I tried that, unfortunately that option is not there. Did you install twrp, or just boot it? Also, did you use the version of twrp twrp-3.2.3-0-daisy.img?
Click to expand...
Click to collapse
Can you post screenshot?
Install or not, i've this options
Edit: Oups Twrp > wipe > advanced wipe > check system > Repair or Change File System > Resize File System
To anyone having issues flashing GApps due to lack of space and afraid to mess with the partition sizes (as you should be) use Magisk Module Magic Gapps to flash them systemlessly.
alcopsy said:
Can you post screenshot?
Install or not, i've this options
Edit: Oups Twrp > wipe > advanced wipe > check system > Repair or Change File System > Resize File System
Click to expand...
Click to collapse
It wont let me screenshot in twrp, but my only options when I go to "advanced wipe > repair or change file system" is change file system.
Like change file system is the only option. the resize option is misssing

Every ROM results in bootloop

So I have some experience with flashing Custom Roms, but I think I might be doing something wrong with the Mi Mix 3.
I unlocked the bootloader, installed the latest Version of TWRP (twrp-3.3.0-0-perseus), wiped all data and tried to flash Resurrection Remix v7.0.2 via Sideload, but after this resulted a bootloop with the MI logo when trying to boot, I tried to flash the Lineage OS 16, same result. Then I tried to install them as usual. Do you have an idea why this is happening?
Do you have the right vendor image installed? The vendor image for each room is different some use the Chinese one, others are using the global one. Check the room threads. The OP should tell you.
Sent from my Mi MIX 3 using Tapatalk
HVcraft said:
So I have some experience with flashing Custom Roms, but I think I might be doing something wrong with the Mi Mix 3.
I unlocked the bootloader, installed the latest Version of TWRP (twrp-3.3.0-0-perseus), wiped all data and tried to flash Resurrection Remix v7.0.2 via Sideload, but after this resulted a bootloop with the MI logo when trying to boot, I tried to flash the Lineage OS 16, same result. Then I tried to install them as usual. Do you have an idea why this is happening?
Click to expand...
Click to collapse
Wiping isn't enough, you need to format data
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
raven213 said:
Try this
1.format date
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
This
PWn3R said:
Do you have the right vendor image installed? The vendor image for each room is different some use the Chinese one, others are using the global one. Check the room threads. The OP should tell you.
Sent from my Mi MIX 3 using Tapatalk
Click to expand...
Click to collapse
Thank you very much for your help, I will check it soon! (sorry for the late reply)
raven213 said:
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
Thanks for the reply, I think I know what I have to do now! I will tell you again if it worked for me.
HVcraft said:
Thanks for the reply, I think I know what I have to do now! I will tell you again if it worked for me.
Click to expand...
Click to collapse
Good luck
raven213 said:
Try this
1.format data
2.flash eu firmware 9.5.9
3.let it boot
4.reboot to TWRP and wipe
5.flash 9.2.15 firmware (to have proximity sensor working) without rebooting flash Los and gapps
6.flash magisk if you like
7. Reboot
Click to expand...
Click to collapse
Thank you so much, I finally got rid of MIUI hehe. Everything is working as it should on Lineage 16.
HVcraft said:
Thank you so much, I finally got rid of MIUI hehe. Everything is working as it should on Lineage 16.
Click to expand...
Click to collapse
You are welcome
Not booting
raven213 said:
You are welcome
Click to expand...
Click to collapse
I've tried to use the china dev rom but it won't boot
You may want to use the Xiaomi Mi Flash tool to restore using an image. I'm guessing you have mismatched vendor partitions, which is probably the cause of your issue. You can find instructions in the guides section.

Categories

Resources