[Guide] How to flash Q GSI on OP6/T

Search This thread

vijai2011

Retired Recognized Developer
Oct 24, 2011
1,000
498
Warning
Not for faint hearts. Proceed at your own risk.

Note: Before You can flash any GSI, You have to unlock Your bootloader. Back up your N**es if you haven't yet.


Objective:
The objective of this guide is to install Q GSI. I will predominantly concentrate on Erfan's GSI (pixel and Google Generic GSI) found on his telegram group. This should work for any other functional GSI just fine though. This guide is tested on OP6 but I really dont find any reason why it wouldn't work on OP6T. Test it at your own risk and report if it works.

Requirements:
OP6 with unlocked bootloader
OOS 9.0.7 (or equivalent for OP6T) flashed to both slots (important!)
Latest ADB and fastboot installed
Knowledge to use ADB and fastboot
GSI image (This guide will be focused on Erfarn's GSI)
Permisiver-V4.zip from here
TWRP (I used blu spark v9.101)
OOS 9.0.7 Boot and vbmeta Warning: DONOT USE THESE FOR OP6T! Extract them from OOS 9.0.7 equivalent for 6T yourself

The Guide:
1. Flash OOS 9.0.7 (or equivalent for 6T) to both slots.
2. Reboot to bootloader and flash the following:
Code:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a GSI.img
fastboot flash system_b GSI.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
All those should be flashed in one go without rebooting. boot and vbmeta are those taken from OOS stock rom.
3. Boot twrp from fastboot (without rebooting from fastboot)
4. Factory reset
5. Flash permisiver-V4.zip (push with adb if not available)
6. Pull "/vendor/build.prop" to PC, find the below line and comment it by prepending a "#" and push it back into same location
Code:
ro.frp.pst=/dev/block/bootdevice/by-name/config
7. Flash magisk if required
8. Reboot

Credits:
Erfan - GSI used for the guide, permisiver
 
Last edited:

vijai2011

Retired Recognized Developer
Oct 24, 2011
1,000
498
Known issues:
  1. Fingerprint sensor doesn't work after 1st reboot (No fix at this time)
  2. Dash charge seem not to work (unclear for now)
  3. OBB files have issue. Known issue on DP5.
  4. Can't finish device setup (Follow fix for "No audio on Call" )
  5. No audio on call
    1. Install this GMS version
    2. Grant all permission to Google Play Services
    3. Finish device setup from the notification
  6. No camera available

    1. Go to developer settings and turn off "Camera Laser Sensor"
    2. Download OOS camera from here and install
  7. Pixel launcher might crash upon reboot
    1. Delete /vendor/overlays folder using root or from twrp
  8. in-call audio always routed through Speaker.

    Note: The below fix is a temporary, dirty fix. Will update this when a better fix is found
    Edit "/system/vendor/etc/audio_policy_configuration.xml" and add this to <attachedDevices> node.
    Code:
    <item>Earpiece</item>
    so your final result looks like:
    Code:
    <attachedDevices>
            <item>Earpiece</item>
            <item>Speaker</item>
            <item>Built-in Mic</item>
            <item>Built-in Back Mic</item>
    </attachedDevices>
    Note: It is fine if you have extra or less items. You only have to worry about "Earpiece"
 
Last edited:
D

Deleted member 8892904

Guest
Warning
Not for faint hearts. Proceed at your own risk.

Note: Before You can flash any GSI, You have to unlock Your bootloader. Back up your N**es if you haven't yet.


Objective:
The objective of this guide is to install Q GSI. I will predominantly concentrate on Erfan's GSI (pixel and Google Generic GSI) found on his telegram group. This should work for any other functional GSI just fine though. This guide is tested on OP6 but I really dont find any reason why it wouldn't work on OP6T. Test it at your own risk and report if it works.

Requirements:
OP6 with unlocked bootloader
OOS 9.0.7 (or equivalent for OP6T) flashed to both slots (important!)
Latest ADB and fastboot installed
Knowledge to use ADB and fastboot
GSI image (This guide will be focused on Erfarn's GSI)
Permisiver-V4.zip from here
TWRP (I used blu spark v9.101)
OOS 9.0.7 Boot and vbmeta Warning: DONOT USE THESE FOR OP6T! Extract them from OOS 9.0.7 equivalent for 6T yourself

The Guide:
1. Flash OOS 9.0.7 (or equivalent for 6T) to both slots.
2. Reboot to bootloader and flash the following:
Code:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a GSI.img
fastboot flash system_b GSI.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
All those should be flashed in one go without rebooting. boot and vbmeta are those taken from OOS stock rom.
3. Boot twrp from fastboot (without rebooting from fastboot)
4. Factory reset
5. Flash permisiver-V4.zip (push with adb if not available)
6. Pull "/vendor/system.prop" to PC, find the below line and comment it by prepending a "#" and push it back into same location
Code:
ro.frp.pst=/dev/block/bootdevice/by-name/config
7. Flash magisk if required
8. Reboot

Hello thanks for this amazing guide. I am stuck at the 6th step. Could you please clarify on them. Using TWRP File Manager shows no system.prop and adb pull also failed. If you could clarify on this step a little. Thanks in Advance.
 

sohailss111

Senior Member
Sep 5, 2013
255
34
Sorry if it's a dumb question, but I understood till step 5. Could someone please help me better with Step 6? The pull, vendor,....push. Really want to get this Pixel GSI to work.
 

VaSU#

Senior Member
Aug 17, 2016
56
15
Chennai
For step six
Use twrp file manager(advanced option)
Move system prop from /vendor to /sdcard(internal storage is called sdcard)
Edit the prop via pc
Put it back into internal storage
Move it again from /sdcard to /vendor
 
D

Deleted member 8892904

Guest
For step six
Use twrp file manager(advanced option)
Move system prop from /vendor to /sdcard(internal storage is called sdcard)
Edit the prop via pc
Put it back into internal storage
Move it again from /sdcard to /vendor

Hi, thanks. I already checked and there is no system.prop in /vendor.
 

vijai2011

Retired Recognized Developer
Oct 24, 2011
1,000
498
Hi, thanks. I already checked and there is no system.prop in /vendor.

Sorry, corrected it. It should be "/vendor/build.prop" and not "/vendor/system.prop"

Also, if you wish to do it entirely in adb from recovery, the steps are:
Code:
adb shell
cp /vendor/build.prop /sdcard
exit
adb pull /sdcard/build.prop .

Then modify the file and again,
Code:
adb push build.prop /sdcard
adb shell
cp -f /sdcard/build.prop /vendor/build.prop
 
Last edited:

sohailss111

Senior Member
Sep 5, 2013
255
34
Could someone pm me with some extra help on step 6? Really sorry. Also, would love if it can be done via TWRP itself

---------- Post added at 04:46 PM ---------- Previous post was at 04:45 PM ----------

Could someone pm me with some extra help on step 6? Really sorry. Also, would love if it can be done via TWRP itself
Has anyone managed to boot it on the OP6?
 

cpt.macp

Senior Member
Aug 2, 2013
563
315
Under Your Bed
@vijai2011

stuck on splash screen
did all steps 2 times to be sure

using dp6

correction :-

the vendor the incomptible ( need to use vendor from oos dp3 )
flash the oos dp3 and then do the step
works then
but still we lost fastboot boot command because latest BL from dp3 oos is not having that command and you need to use boot img from this post for a recovery since you cant use fastboot boot command

https://xdaforums.com/oneplus-6/development/rom-pixel-3-xl-port-oneplus-6-t3856031

use vbmeta and boot image from this post

correction 2 :-

you can use normal steps also

1. flash oos zip 2 times to get on both slot
2. flash the gsi
3. flash dm verity disabler https://zackptg5.com/android.php#disverfe
4. flash magisk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Warning
    Not for faint hearts. Proceed at your own risk.

    Note: Before You can flash any GSI, You have to unlock Your bootloader. Back up your N**es if you haven't yet.


    Objective:
    The objective of this guide is to install Q GSI. I will predominantly concentrate on Erfan's GSI (pixel and Google Generic GSI) found on his telegram group. This should work for any other functional GSI just fine though. This guide is tested on OP6 but I really dont find any reason why it wouldn't work on OP6T. Test it at your own risk and report if it works.

    Requirements:
    OP6 with unlocked bootloader
    OOS 9.0.7 (or equivalent for OP6T) flashed to both slots (important!)
    Latest ADB and fastboot installed
    Knowledge to use ADB and fastboot
    GSI image (This guide will be focused on Erfarn's GSI)
    Permisiver-V4.zip from here
    TWRP (I used blu spark v9.101)
    OOS 9.0.7 Boot and vbmeta Warning: DONOT USE THESE FOR OP6T! Extract them from OOS 9.0.7 equivalent for 6T yourself

    The Guide:
    1. Flash OOS 9.0.7 (or equivalent for 6T) to both slots.
    2. Reboot to bootloader and flash the following:
    Code:
    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.img
    fastboot flash system_a GSI.img
    fastboot flash system_b GSI.img
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    All those should be flashed in one go without rebooting. boot and vbmeta are those taken from OOS stock rom.
    3. Boot twrp from fastboot (without rebooting from fastboot)
    4. Factory reset
    5. Flash permisiver-V4.zip (push with adb if not available)
    6. Pull "/vendor/build.prop" to PC, find the below line and comment it by prepending a "#" and push it back into same location
    Code:
    ro.frp.pst=/dev/block/bootdevice/by-name/config
    7. Flash magisk if required
    8. Reboot

    Credits:
    Erfan - GSI used for the guide, permisiver