[Guide] GSI Flashing Tutorial One Plus 6T - OnePlus 6T Guides, News, & Discussion

Hey Guys today I wanted to share a little tutorial on GSI so if you guys didn't know the One Plus 6T supports Treble Natively So with that being said you can Flash GSI
I am on latest 9.0.11 I have not tested any other firmware
WARNING IM NOT RESPONSIBLE IF YOU GET A BRICK OR YOUR PHONE SELF DESTRUCTS JUST USING MY KNOWLEDGE TO FIGURE THINGS OUT FOR OUR USE
OFFICIAL INSTRUCTIONS
This arent my steps I found them looking around and decided to test and add Some Things from my part and finds all credits of these steps go to the author of the thread.
The correct installation procedure of a GSI on the One Plus 6t
Make sure you unlocked the bootloader and that you have the latest ADB and Fastboot from Google, I used minimal ADB worked fine for me but CAUTION if it doesn't download the latest ADB from google
Now in Fastboot flash, the following, WITHOUT rebooting in between! this needs to be done all in one go!
THE FIRST STEP DO NOT MISS
First Step
Boot to Twrp and you need to flash the avbctdisable.zip
Link- https://drive.google.com/open?id=1GhZK04FDx7WlyKb32qq0gR-SO0t51CVE
2nd Stage
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
Replaced by the first Step Ignore
Then flash STOCK vbmeta image with the specific commands!
Command for VBMETA
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
ONLY USE A/B ARM64BIT GSI
Continue to Next Steps
---------------------------------------------------------------------------------------------------------------------------------------------------
Extra steps I had to do When flashing if you are flashing any GSI DO NOT FLASH TWRP AFTER
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
8.Profit
Original Link Thread
https://forum.xda-developers.com/oneplus-6/how-to/treble-mistery-solved-developer-t3800716
Download Links-
TWRP- https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
List of GSI- https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Magisk- https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Gapps- https://opengapps.org/
OOS 9.0.11 Fastboot- https://androidfilehost.com/?fid=11410963190603886130 YOUR GONNA NEED THE BOOT.IMG FROM HERE
Thanks To All The Devs That Make Development Possible Once Again all Credits Go to them this is just a write-up.
KEEP IN MIND NOT ALL GSI WORK PERFECTLY KEEP IN MIND
ISSUES YOU MIGHT BUMP INTO
CRASHES
SOME THINGS NOT WORKING
LIKE WIFI, BLUETOOTH ECT...
(FOR RR PIE GSI POST SPECIFIC)
For Flashing RR Pie GSI
STEPS
1. Boot to Twrp and you need to flash the avbctdisable.zip
Link- https://drive.google.com/open?id=1GhZK04FDx7WlyKb32qq0gR-SO0t51CVE
2. Reboot to Bootloader
3. Flash OOS Stock 9.0.11 Img
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
4.Then Flash GSI
fastboot flash system_a RR.img
fastboot flash system_b RR.img
5. Then Fastboot boot to TWRP
6.Wipe Data and Dalvic Art Cache
7.Reboot to Fastboot
8 .Fastboot Boot to Twrp Again then Flash Twrp Installer
9. Reboot Device After Fully Boot Reboot To Twrp Flash Gapps, Magisk, Optional Custom Kernel
10. Profit
Links-
Ressurection Remix- https://forum.xda-developers.com/pr...0-resurrection-remix-v7-0-arm64-32-b-t3891636
Gapps- https://opengapps.org/
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.

Added some steps for anyone looking to flash RR Pie and changed some steps Around

thanks,
i used before "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img "
Wifi does not work on any gsi rom

I just installed Corvus GSI ROM following the above instructions, wifi works fine, almost everything works fine... only one thing is bothering me bad... I cannot adjust the brightness, it burns my eyes. I found a video on youtube in which it is said that this is something general for GSI... it's a sin! Anyway, thank you @carbon271!

I'm trying this with the Android 12 Beta 5 GSI, starting on OOS 9.0.11, but ending up in a bootloop. Has anyone else had any success with Android 12 GSIs on the 6t?

Related

[ROM][STOCK][FASTBOOT][OP7TP] Stock Fastboot ROMs for OnePlus 7T Pro

Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock) because is no more needed. The updates will be done on the slot not used for example if you are using slot a the update will be installed on slot b and the slot b will be set as default. If you brick and you are in bootloop how you can restore the rom? You can't with Stock ROM you have, because the zip can be only installed via Update Engine, so what can you do? Flash a stock rom via fastboot. I have extracted all images from the stock zip and i have made a new zip with the Fastboot ROM with a flash-all.bat included. This will work only if your bootloader is unlocked. This will erase all your data and will wipe your internal storage.
HOW TO FLASH
This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 7T in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 7T to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.
DOWNLOAD
All roms on AFH: https://www.androidfilehost.com/?w=files&flid=301115
All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 7T Pro
BRANDED PHONE
For now branded device are not supported
MANUAL FLASH: Windows - OSX - Linux
If you want to manual flash these roms these are the commands (You need the latest sdk platform tools, you can find it here
Is reccomended to format data or the rom cannot boot:
Code:
fastboot -w
Others Commands to flash a fastboot rom
Code:
fastboot flash aop aop.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash LOGO LOGO.img
fastboot flash modem modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw qupfw.img
fastboot flash storsec storsec.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash opproduct opproduct.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
REMEMBER
"Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.
If the device automatically reboot in Stock Recovery mode don't reboot it and wait the flash end.
These ROMs can't be used to update or downgrade your phone but just to restore your phone.
If the rom seems doesn't start go in recovery stock and follow this guideline: English -> Wipe data and cache -> Erase everything.
If you want to rebrand your phone from HydrogenOS to OxygenOS you can follow this guide: Rebrand Guide
If you want you can use also my tool to flash Factory Images, unlock bootloader, flash twrp or to understand if the device is recognized: https://toolaio.tk/
If you got some problems like write error or no partition, check this: https://forum.xda-developers.com/showpost.php?p=76658555&postcount=34
DONATE LINK
If you want to support this and others my projects please consider making a donation, thanks.
​
sorry im new to oneplus , i buy op7t pro come in 2 day , what the mean branded and non branded ?
sorry sir , not clear about Branded phones
China version have flash this rom ?
akino553 said:
sorry im new to oneplus , i buy op7t pro come in 2 day , what the mean branded and non branded ?
Click to expand...
Click to collapse
If you buy it from like Verizon or T-Mobile.
nyzoli72 said:
If you buy it from like Verizon or T-Mobile.
Click to expand...
Click to collapse
mmmm ok thank you but I bought it from China so I don't know about that
Things sure really changing with Android, everything seems more complicated last time I rooted an OnePlus phone. So I appreciate this effort by you.
Sent from my OnePlus7TPro using XDA Labs
Lossyx said:
Things sure really changing with Android, everything seems more complicated last time I rooted an OnePlus phone. So I appreciate this effort by you.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
The script will ask if you want to format data or not
Is twrp available for oneplus 7t pro?
adamo86 said:
Is twrp available for oneplus 7t pro?
Click to expand...
Click to collapse
https://forum.xda-developers.com/7t-pro/development/recovery-unofficial-twrp-recovery-t3989333
mauronofrio said:
The script will ask if you want to format data or not
Click to expand...
Click to collapse
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Can you (or anyone) post the oxygenOS build zip which I can flash via updater?
Right now I'm on hydrogen OS and want to move to OxygenOS by official means.
One+Nexus said:
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Click to expand...
Click to collapse
You can try
mauronofrio said:
You can try
Click to expand...
Click to collapse
I don't know what to do.. already 1 week on hand with Hydrogen OS... What can I expect bad if I try?
How do you go back to stock rom if there are no stock rom available for 7t pro
One+Nexus said:
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Click to expand...
Click to collapse
Cannot. I have tried and got fastboot bootloop.
Writing 'system' FAILED (remote: 'Partition not found')
mhammadleo said:
Writing 'system' FAILED (remote: 'Partition not found')
Click to expand...
Click to collapse
When the device reboots in recovery doesn't touch it
Silly question after returning to stock, I've tried to relock the bootloader and get a device corrupt won't boot message and the phone then turns off. How do I relock without this happening.
Wooot. Ok guys, i came from 5T and Root,TRWP and flash stock ROM was easy. Where do i have to begin, anyone can give me structured process of ROOT,TWRP?or FASTBOOT and ROM?
I had an issue earlier and begged support for the stock firmware, they sent me https://drive.google.com/open?id=171cVS9ku7rHF74Gyl1VGP3jQXAFwWDpl

Can I root redmi note 9 updated to miui 12.0.3.0(QJOMIXM)

Hello
Can i root redmi note 9 (m2003j15ss) updated to miui 12.0.3.0(QJOMIXM)
I rooted the previous version (miui 11.0.5) with this method:
fastboot devices (check your phone is the only device shown)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (this disables system changes)
fastboot erase userdata (this will clear user data!)
fastboot erase cache
fastboot flash boot magisk_patched.img
fastboot reboot
But now I do not have the patched vbmeta for this version
Can i use the original vbmeta in rom for this command:
"fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"
No problem?
Does not bootloop?
farvehar09 said:
Hello
Can i root redmi note 9 (m2003j15ss) updated to miui 12.0.3.0(QJOMIXM)
I rooted the previous version (miui 11.0.5) with this method:
fastboot devices (check your phone is the only device shown)
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (this disables system changes)
fastboot erase userdata (this will clear user data!)
fastboot erase cache
fastboot flash boot magisk_patched.img
fastboot reboot
But now I do not have the patched vbmeta for this version
Can i use the original vbmeta in rom for this command:
"fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"
No problem?
Does not bootloop?
Click to expand...
Click to collapse
The Same Method works in newer Versions too.
12.03 and 12.04 shouldn't be a problem personally I wouldn't use it on version 12.05 global rom
Dokrak99 said:
12.03 and 12.04 shouldn't be a problem personally I wouldn't use it on version 12.05 global rom
Click to expand...
Click to collapse
It works for me fine on miui 12.05 too. But now i use Lineage OS 17.1
You taken a risk rooting on a 12.05/6 version.thr company is pulling there security up.the first day off global 12.05 a few thousand people bricked there phone.before the end off the day they already removed the system security patch.the black market is a pain for xiaomi .if you screw up you're firmware.whell we are running on a mtk chip that's basically hoping that things can brought back. don't provide edl.if something goes wrong mtk signs in oh wait lock fastboot.its a unofficial twrp and not even for this device straight out off the box it's patchwork.If you go deeper in the updates it's just not the monthly security patch that's get updated.If you search around a lot off people can't get in recovery/fastboot and end up a hard brick.this is mtk related why is there no custum ROM why is there no eu ROM on the EU xiaomi mod base .why no twrp it's all mtk related .people should ask why I need root these days back in the old days ok I understand.If I ask people what you want to do with it then ?.Most don't give a straight answer or give reasons that you can do without root now a days.back up app data burn up the inside build most don't say that.
Yes, you can.
If you want to know what is working for MERLIN, take a look: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4204873/
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-10x-4g-redmi-note-9.4225177/

Install full ungoogled LeOS-R GSI on my Mi 10T

Hello friends:
It is possible to install rom degoogleada Leos R on Mi 10T. You just have to follow a few simple steps to enjoy a rom without google services.
All the installation must be done from fastbootd.
Steps to perform:
1) have twrp installed on My 10T
2) From twrp, wipe dalvik, cache and data and then FORMAT DATA.
3) Enter fastboot and flash stcok recovery
4) go back into fastboot and from adb get fastbootd:
"fastboot reboot fastboot"
4) once in fastbootd install LeOs R with the following command:
"fastboot flash system" systemLeOs.img "
5) Reboot and boot!
Here you have links to the different recoveries and the Leos R download website
I appreciate the enormous help provided by @Guntram
Links:
TWRP:
File on MEGA
mega.nz
RECOVERY STOCK:
File on MEGA
mega.nz
LeOs GSI R:
Index of /downloads
Very thanks @Guntram
Have you tried it?
hamzaag49 said:
Have you tired it?
Click to expand...
Click to collapse
what do you mean ??
I mean it give system partition not found.
hamzaag49 said:
I mean it give system partition not found.
Click to expand...
Click to collapse
You must flash system.img from fastbootd.
fastboot devices
fastboot reboot fastboot
fastboot flash system "leossystem.img"
totmakina said:
You must flash system.img from fastbootd.
fastboot devices
fastboot reboot fastboot
fastboot flash system "leossystem.img"
Click to expand...
Click to collapse
How to boot in fastbootd
hamzaag49 said:
How to boot in fastbootd
Click to expand...
Click to collapse
You must first have the recovery stock on hand. In the post this link. From recovery stock you enter fastbootd through adb with the commands I wrote previously.
fastboot devices
fastboot reboot fastboot
Can i install gapps on It?
Its possible to install another gsi on this phone? Tried PHH but no luck.
Just install LeOs on the mi 10t. Did you try Phusson's GSI? Generally those start. Install from adb to see if you are successful

Fastboot loop after install vendor firmware

Hey,
I flashed new vendor EU firmware with android 11 then reboted phone it boot normally to system "Evolution X". Next I downloaded update and after click install it rebooted to fastboot.
I can't boot to recovery because it's always reboot to fastboot. So tried to install again OrangeFox recovery but after usage command "fastboot reboot recovery" I got message "fastboot: usage: unknown reboot target recovery" and it's still rebooting to fastboot. Tried Power + Volume UP.
Any solution for that?
Okay, if someone will have simillar problem just download MIUI Official ROM - Fastboot version:
https://xiaomifirmwareupdater.com/miui/raphael/
Then unpack it and flash dtbo.img - fastboot flash dtbo dtbo.img
And now everything should works fine.
Teleseil said:
Okay, if someone will have simillar problem just download MIUI Official ROM - Fastboot version:
https://xiaomifirmwareupdater.com/miui/raphael/
Then unpack it and flash dtbo.img - fastboot flash dtbo dtbo.img
And now everything should works fine.
Click to expand...
Click to collapse
Thank you so much it worked !!

Question Install gsi rom on realme 8 pro

Ricedroid 8.6
Unlock the bootloader,
Go to fastboot mode,,
Type
Fastboot reboot bootloader
Fastboot reboot fastboot
Fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
(Vbmeta.img extract from your current stock rom).
Fastboot erase system
Fastboot reboot fastboot
Fastboot flash system system.img
(System.img is downloaded gsi rom and extract the zip and put it in system.img )
Fastboot -w
Fastboot reboot bootloader
Fastboot erase userdata
Fastboot reboot
(After mobile rebooting or go to the recovery mode and you need to format data wipe data in recovery mode).
Installation method of gsi rom
1st you install treble info apk
Then you will see supported or not..
My device is realme 8 pro
I installed currently ricedroid 8.6 arm64- slim bgN
Everything is working properly
Volte working,
(You need to some sitting in treble sitting).
(Go to sitting,
Phh treble sitting,.
Ims features,
Click
Requist ims network,
Presence of 4 g network
Then,
Click install ims apk for qualcomm vendor.
Then apk downloaded,
Then install it.
Facelook working,.
I don't know about fingerprint because before install gsi rom my fingerprint already gone.
I am definitely going to try this. But before I do I need a way to go back to stock rom.
I already have a 8 Pro(IN) bootloader unlocked .
I remember using the ofp flash tool for flashing realme ui 3.0 from 2.0... on my device.
Striker3214 said:
I am definitely going to try this. But before I do I need a way to go back to stock rom.
I already have a 8 Pro(IN) bootloader unlocked .
I remember using the ofp flash tool for flashing realme ui 3.0 from 2.0... on my device.
Click to expand...
Click to collapse
You can revert back to rui in realme 8 pro with this method.
1.) First of all you need
laptop,
Usb data cable,
Minimal adb & fastboot setup,
firmware.
MCT ofp extractor tool.
and Your device.
Download below files.
Firmware:
Download your device Firmware (ofp file).
MCT OFP extractor tool:
https://drive.google.com/file/d/1-MgGdT9fxi2LtJ1DIOxLVSM67thj9EpG/view?usp=drivesdk
Minimal adb & fastboot setup:
ADB & FASTBOOT.rar | by IamNH for Realme 2 Pro
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
2.) Extract the ofp file package by mct ofp extract tool.
3.) Request to unlock your device bootloader by indeapth test apk, once approved then you can start deep testing and unlock bootloader.
4.) connect your device with laptop.
5.) Open minimal adb & fastboot terminal.
and flash this images files by below cmd.
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash metadata metadata.img
fastboot flash opporeserve2 opporeserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
Note: Flash this only 3 super images
fastboot flash super super.0.xxxxxx.img
fastboot flash super super.1.xxxxxx.img
Note: During super 2 flash check super_map.csv file for related country
fastboot flash super super.2.xxxxxx.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vbmeta vbmeta.img
fastboot flash userdata userdata.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
fastboot reboot
Disclaimer: I am not responsible for bricked devices, dead SD cards, etc!
Don't Lock your device bootloader otherwise it will brick and you have to go service centre for fix.

Categories

Resources