• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Experimental] [Unofficial] [2018-06-08] Lineage

Search This thread

phhusson

Recognized Developer
Jul 23, 2009
2,472
4,724
Paris
Hi all,

Here is a Lineage GSI with opengapps integrated, which works on OP6.
https://drive.google.com/open?id=1ailBjWzmlY0F99EwB_14A7Hdx2hSHUUG
To flash it, please follow instructions at https://forum.xda-developers.com/oneplus-6/how-to/treble-mistery-solved-developer-t3800716

Here is also a RR GSI with opengapps integrated:
https://drive.google.com/open?id=1qAU-_4gJvOGFGZXX4iH_lK7uxtfnARIT

And for AOSP, you can look at:
https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659

This is actually just an early-release of my global Lineage GSI effort
So future updates of this post will basically mirror that thread

Credits to @Exelios for offering me an OP6 which made this possible
And also obvious credits to Lineage devs for, well... you know... Lineage.

What doesn't work?
- volte
- Night screen filter
- you tell me

How to root?
Install phh's Superuser from Play Store

This has been tested on OxygenOS 5.1.5
 
Last edited:

joemossjr

Senior Member
Feb 14, 2011
2,075
1,891
25
Texas City Texas

Attachments

  • Screenshot_Settings_20180608-064102.png
    Screenshot_Settings_20180608-064102.png
    152.8 KB · Views: 3,360
  • Screenshot_Settings_20180608-064057.png
    Screenshot_Settings_20180608-064057.png
    177.8 KB · Views: 3,344
  • Screenshot_Google_20180608-064045.jpg
    Screenshot_Google_20180608-064045.jpg
    231.8 KB · Views: 3,334

joemossjr

Senior Member
Feb 14, 2011
2,075
1,891
25
Texas City Texas
GSI Installer

GSI Installer OnePlus 6 V.1
FlashAllToBothSlots
Please place in the root of the folder
THIS WILL WIPE YOUR DATA

USAGE
1.Download any system image you want
2.Extract the zip and place it wherever
3.Place you system.img in the root of directory (it needs to be system.img so if its not named that it wont work.)
4. Run the flash-all.bat and wait for it to finish
5. Profit!.
5.a IF YOU ARE NOT BOOTING PLEASE RUN THIS COMMAND ON A FRESH REBOOT "adb logcat > logforgsi.txt" and give it atleast 30 seconds of not booting.
5.b Then hit CTRL+C to stop it then find the logcat (should be in the directory you were in cmd prompt with) and upload it and send it to @phhusson
 
Last edited:

DocRambone

Retired Recognized Developer
Jan 7, 2010
6,834
3,446
Stockholm
GSI Installer OnePlus 6 V.1
THIS WILL WIPE YOUR DATA

USAGE
1.Download any system image you want
2.Extract the zip and place it wherever
3.Place you system.img in the root of directory (it needs to be system.img so if its not named that it wont work.)
4. Run the flash-all.bat and wait for it to finish
5. Profit!.
5.a IF YOU ARE NOT BOOTING PLEASE RUN THIS COMMAND ON A FRESH REBOOT "adb logcat > logforgsi.txt" and give it atleast 30 seconds of not booting.
5.b Then hit CTRL+C to stop it then find the logcat (should be in the directory you were in cmd prompt with) and upload it and send it to @phhusson

Nogo, reboots to stock recovery.
 

Linuxpenguin

Senior Member
Jun 20, 2015
284
848
GSI Installer OnePlus 6 V.1
THIS WILL WIPE YOUR DATA

USAGE
1.Download any system image you want
2.Extract the zip and place it wherever
3.Place you system.img in the root of directory (it needs to be system.img so if its not named that it wont work.)
4. Run the flash-all.bat and wait for it to finish
5. Profit!.
5.a IF YOU ARE NOT BOOTING PLEASE RUN THIS COMMAND ON A FRESH REBOOT "adb logcat > logforgsi.txt" and give it atleast 30 seconds of not booting.
5.b Then hit CTRL+C to stop it then find the logcat (should be in the directory you were in cmd prompt with) and upload it and send it to @phhusson

Looking a the instructions in the OP it shows vbmeta should be flashed after system.

So Boot > System > vbmeta

In the .bat it is flashed before system
So Boot > vbmeta > system

I am just wondering if the order matters as I think it does if I am not mistaken.

I am going to try this later and just trying to clarify things a bit.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    Hi all,

    Here is a Lineage GSI with opengapps integrated, which works on OP6.
    https://drive.google.com/open?id=1ailBjWzmlY0F99EwB_14A7Hdx2hSHUUG
    To flash it, please follow instructions at https://forum.xda-developers.com/oneplus-6/how-to/treble-mistery-solved-developer-t3800716

    Here is also a RR GSI with opengapps integrated:
    https://drive.google.com/open?id=1qAU-_4gJvOGFGZXX4iH_lK7uxtfnARIT

    And for AOSP, you can look at:
    https://forum.xda-developers.com/pr...-development/experimental-phh-treble-t3709659

    This is actually just an early-release of my global Lineage GSI effort
    So future updates of this post will basically mirror that thread

    Credits to @Exelios for offering me an OP6 which made this possible
    And also obvious credits to Lineage devs for, well... you know... Lineage.

    What doesn't work?
    - volte
    - Night screen filter
    - you tell me

    How to root?
    Install phh's Superuser from Play Store

    This has been tested on OxygenOS 5.1.5
    7
    GSI Installer

    GSI Installer OnePlus 6 V.1
    FlashAllToBothSlots
    Please place in the root of the folder
    THIS WILL WIPE YOUR DATA

    USAGE
    1.Download any system image you want
    2.Extract the zip and place it wherever
    3.Place you system.img in the root of directory (it needs to be system.img so if its not named that it wont work.)
    4. Run the flash-all.bat and wait for it to finish
    5. Profit!.
    5.a IF YOU ARE NOT BOOTING PLEASE RUN THIS COMMAND ON A FRESH REBOOT "adb logcat > logforgsi.txt" and give it atleast 30 seconds of not booting.
    5.b Then hit CTRL+C to stop it then find the logcat (should be in the directory you were in cmd prompt with) and upload it and send it to @phhusson
    6
    Note that this is a different version then the Lineage GSI in the Treble forums, that one does not work on the OP6 for now!
    You need this version from this thread!

    In case someone missed it.
    5
    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.img

    then

    fastboot flash vendor_a vendor.img
    fastboot flash vendor_b vendor.img

    then

    fastboot flash system_a system-rr.img
    fastboot flash system_b system-rr.img

    then

    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    And wipe everything with stock recovery and reboot into Phh Treble rom.

    And I'm not sure if flashing vendor is necessary but I just wanted to make sure that everything will be from 5.1.6.

    Holy COW !!!!

    It worked for me !!!

    Your steps are exactly fine, in that order, just an additional info :

    After installing OOS 5.1.6 from OTA, reboot in fastboot mode
    Code:
    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.img
    fastboot flash vendor_a vendor.img
    fastboot flash vendor_b vendor.img
    fastboot flash system_a system-rr.img
    fastboot flash system_b system-rr.img
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    PS : If you need the boot/vendor/vbmeta files, go there and download the file named "OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78-FASTBOOT.zip"
    The files are inside the zip, extract them in your adb/fastboot folder

    Now, from the phone screen, reboot to recovery mode (using volume arrows, then power to select)
    When in the stock recovery : english > wipe data & cache > erase everything
    Then go BACK > BACK > advanced > reboot to fastboot

    In fastboot
    Code:
    fastboot getvar all

    Here, check the line "(bootloader) current-slot:X"
    If you are on slot A, type
    Code:
    fastboot --set-active=b
    If you are already on slot B, type
    Code:
    fastboot --set-active=a
    3
    I will trade you my soul and the name of my first child for a Remix Resurrection ROM adapted for OP6! :D

    Edit: Apologies - forgot to add - awesome work guys!! :)

    There you go
    https://drive.google.com/open?id=1qAU-_4gJvOGFGZXX4iH_lK7uxtfnARIT