[TREBLE][DEV] Mistery solved, developer documentation for GSI on One Plus 6

Joyarup

Senior Member
Mar 5, 2014
318
137
0
23
Greater Noida
What exactly happens? Are you stuck on boot logo or bootlooping back to fastboot?

"no boot" can be a lot of different things, I know LOS doesn't boot ATM, working on it as we speak, but that is a LOS specific bug, not a bootloader issue.
Bootlooping back to twrp at first, then another time into fastboot with no twrp even installed (Very weird behavior). I tried the RR and LOS builds for now. But v18 boots fine without any issues.
 
  • Like
Reactions: Exelios

Exelios

Senior Member
Jul 3, 2014
511
589
0
Berlin
Bootlooping back to twrp at first, then another time into fastboot with no twrp even installed (Very weird behavior). I tried the RR and LOS builds for now. But v18 boots fine without any issues.
Try without TWRP for now, this is all a big Alpha still so let's try to exclude external factors.
There is also the bug that after 3 reboots you end up in EDL
And LOS won't boot for now anyway because of a sensor infinite loop, being worked on.


I would frankly advise everyone to just wait a day until we have time to polish all the small bugs we are aware of already.
 

Joyarup

Senior Member
Mar 5, 2014
318
137
0
23
Greater Noida
Try without TWRP for now, this is all a big Alpha still so let's try to exclude external factors.
There is also the bug that after 3 reboots you end up in EDL
And LOS won't boot for now anyway because of a sensor infinite loop, being worked on.


I would frankly advise everyone to just wait a day until we have time to polish all the small bugs we are aware of already.
Alright! Understood. Thank you for putting your effort into this.
 

CertifiedBlyndGuy

Retired Forum Moderator / Inactive Recognized Deve
Jun 11, 2014
1,936
2,983
113
Boulder
Might I ask to make this a sticky?

Because every developer needs to be aware of it, this doesn't affect just GSI, one can run in the same issue even if flashing TWRP or restoring to stock or anything.

And every user should know about the official way to do things on the One Plus 6, which is slightly different then all other phones.

Thanks
I can't really decide on that. That said, I'm discussing a documentation section for stuff like this.
 

joemossjr

Senior Member
Feb 14, 2011
2,075
1,889
0
24
Texas City Texas
Everyone saying they can't boot other gsi's but I've been able to boot aosip and cosmic.

---------- Post added at 07:51 PM ---------- Previous post was at 07:50 PM ----------

I've even posted photos in another thread
 
  • Like
Reactions: lollyjay

Exelios

Senior Member
Jul 3, 2014
511
589
0
Berlin
So V20 of phh AOSP has been released and it contains several One Plus 6 specific fixes, such as:

- [OnePlus6] Fixes backlight
- [OnePlus6] Partial support for DnD slider
- Fixes bug on some A/B devices where device would stop booting after several success

Head over to the AOSP GSI thread for downloads
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659

Lineage OS version is currently building, and will become available when it becomes available.
 

Exelios

Senior Member
Jul 3, 2014
511
589
0
Berlin
Tried the system-arm64-ab-floss-su.img on OxygenOS 5.1.6 vendor and boot.img.
Stuck at boot still.
Are there any way to get some logs in the boot?
You mean you are at the boot logo?

If so ADB logcat should do it, but then that's a GSI issue and should be posted in the GSI thread, here it's just about the bootloader issue (tho I admit it's a close topic)

Sent from my OnePlus 6 using XDA Labs
 

detritu5

Senior Member
Jun 9, 2009
218
50
0
I would frankly advise everyone to just wait a day until we have time to polish all the small bugs we are aware of already.


WARNING This is still a big ALPHA

OFFICIAL INSTRUCTIONS

Correct installation procedure of a GSI on the One Plus 6
Make sure you unlocked the bootloader and that you have the absolute latest ADB and Fastboot from Google, none of the minimal packages we know of will work!

Then in fastboot flash the following, WITHOUT rebooting in between! this needs to be done all in one go!

Code:
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
Code:
fastboot flash system_a system.img
fastboot flash system_b system.img
Then flash STOCK vbmeta image with the specific commands!

Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
then just fastboot reboot or select start on the phone.


---------------------------------------------------------------------------------------------------------------------------------------------------

If the above fails and you get a bootloop you will have to repeat all the steps above.

---------------------------------------------------------------------------------------------------------------------------------------------------
It would be helpful for us if you share in the second post the stock boot.img and vbmeta.img to have a complete post and easiest for users
 

joemossjr

Senior Member
Feb 14, 2011
2,075
1,889
0
24
Texas City Texas
I got boot on the new update.

---------- Post added at 03:00 AM ---------- Previous post was at 02:55 AM ----------

I would frankly advise everyone to just wait a day until we have time to polish all the small bugs we are aware of already.


WARNING This is still a big ALPHA

OFFICIAL INSTRUCTIONS

Correct installation procedure of a GSI on the One Plus 6
Make sure you unlocked the bootloader and that you have the absolute latest ADB and Fastboot from Google, none of the minimal packages we know of will work!

Then in fastboot flash the following, WITHOUT rebooting in between! this needs to be done all in one go!



Use the STOCK boot image!

Then flash the GSI system image of your choice


Then flash STOCK vbmeta image with the specific commands!



It would be helpful for us if you share in the second post the stock boot.img and vbmeta.img to have a complete post and easiest for users
The stock vbmeta file is bigger on the new update I already pulled all files to make a flash all and can upload it for whoever. I'm running the phh rom now
 

azsl1326

Senior Member
Mar 13, 2008
1,500
271
83
Arizona
I got boot on the new update.

---------- Post added at 03:00 AM ---------- Previous post was at 02:55 AM ----------


The stock vbmeta file is bigger on the new update I already pulled all files to make a flash all and can upload it for whoever. I'm running the phh rom now
So, just trying to wrap my head around this procedure. Which update were you able to get boot and where did you get the vbmeta file from - the original thread regarding instructions on how to flash Treble ROMs?
 
Last edited:

Exelios

Senior Member
Jul 3, 2014
511
589
0
Berlin
So, just trying to wrap my head around this procedure. Which update were you able to get boot and where did you get the vbmeta file from - the original thread regarding instructions on how to flash Treble ROMs?
No, use the file from stock ROM zip, there is a thread with download links to stock ROM files, and make sure to use the right version that matches your stock ROM version, probably 5.1.5 at this point.

Sent from my OnePlus 6 using XDA Labs
 
  • Like
Reactions: azsl1326