yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Android-Desire:
Ok i tried your instructions, still dont work.

fastboot: unknown option -- disable-verity

fastboot: unknown option -- set-active=b

are the 2 errors i get and it wont boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bud77:
You need the latest version of adb & fastboot

Your version is too old, and does not have those options
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Android-Desire:
updated fastboot and adb, redo the instructions with no errors only to bootloop, or rather blue LED light on and no boot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bud77:
Check which slot you are on, using fastboot getvar all

Then switch to the other one (if you are on A, move to B, if on B, move to A)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Android-Desire:
Already tried that, even tried Lineage rom, still wont boot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Raylon00:
If all you get is a blue light, you have to do this now: https://xdaforums.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892

It fixed my op6.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Android-Desire:
I got fastboot rom, the problem lies with not being able to boot roms in this thread.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Abaddon:
I ran into that problem. Redid the steps w the phone booting on slot B for me.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Android-Desire:
Already tried that as i said earligere.

Treble was supposed to make things easiere not the other way around
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
blue light and black screen means you're on the wrong slot

provide a log if nothing helps and/or lock and re-unlock the bootloader and start from scratch.

better would be to provide a log of some kind else you loose all data and still don't know what went wrong while admitting a user error is key here.

it's obvious that things work, hence there must be a previous error that is causing issus now or there is an unrecognized error in the current process while all this is guesswork without

further information. it does not work is rarely hinting at any culprits.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Puksom:
So i got the RR rom working over here! First it bootlooped with a blue light, but just by switching slots it booted! Statusbar is misaligned, just some testing here and there. Gonna try some other GSI's
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] bud77:
Glad it helped, thank you for reporting !
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Puksom:
Anyone using it as a daily driver? Also did someone try the PixelExperience GSI?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joemossjr:
Didn't boot for me
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Puksom:
Yup same for me just tried it. Slot A returns me to fastboot mode and Slot B gives black screen with blue light
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
same as above and further upthread

in additon to the wrong slot possibility the other slot can be corrupted or empty or something missing.

you can try to:

reformat and go from clean slate or you can try first to flash everyting to bot slots while the OS will always flash to the non-active slot from within TWRP, means if you choose the later you'd have to do it via fastboot, defining the slot to flash each time to be on the safe side.

re-locking and re-unlocking the bootloade will make your device boot immediately into setup wizzard, you'd loose all your data but that works fast and hassle free.

of course you're free to try all kinds of less radical methods but that as well can take it't time and chance for success in case of corrupted (probably data partition) is no that huge, hence it's your choice while my method works for 100% sure as long as there is no hardware issue or extreme, yet not seen, bricking by unknown user interaction.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Using RR as daily.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Puksom:
Aight, I tried a gcam which worked but the quality was something I couldn't live with. Hope the stock camera will be ported
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] jerryhou85:
Dear all,

I have to remove some off topic posts from this development thread.

Please follow our rules, respect each other, and feedback developers with issues/bugs. That's a better way for development.

Thanks for your support and cooperation.

Regards

Jerry

Forum Moderator
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] PixelManC:
Still dont get it

My phone has only gotten blue lights or boot loop, I haven't got it to work, i tried restoring to 5.1.6 official then back to RR still didn't work, I got it to work a couple of times without wifi, Can anyone please explain once and for all how to install this :p
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] j4m35_d4ng3r:
Can i See Screenshot of the Rom
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Blunts47:
To everyone that is still stuck. I hope this helps it's the only solution for flashing these types of roms that worked for me.

//	HOW TO BOOT GSI ROMS!	//

navigate to your folder with all these files in it --->

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

REBOOT RECOVERY

ENGLISH > WIPE DATA & CACHE > ERASE EVERYTHING...

back... back... REBOOT TO FASTBOOT

fastboot --set-active=b

BOOT NORMAL...

BOOT FASTBOOT...

fastboot --set-active=a

LOL.......WORKS EVERYTIME!

Wifi working everything is working accept i'm wondering why it's only showing i have 16gb of storage O.o is that something that's being fixed currently?

BOOT/VENDOR/VBMETA FILES: [url]https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665[/url] Download the file named "oneplus6oxygen_22_ota_010_all_1806070151_ad8b19ed 516e78-fastboot.zip"
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] j4m35_d4ng3r:
Can you send me a Screenshot
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] joemossjr:
Sadly it won't work Everytime there is a difference between some models and he's working on that
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Blunts47:
any reason that my phone is showing i only have 16gb storage on system-rr.img
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Abaddon:
Maybe it has something to do with a6000 > a6003 for those who can/can't boot?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Carlosmff:
Mine is A6003. Already tried Lineage, AOSP but can't boot. I'm having bootloop to fastboot.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Raylon00:
I bootlooped on A6003
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
while this is very useful and a valid approach you should be aware that not for everyone Slot-A is the one, depending on flashing history it can well be that B is the one because it will switch each time, my active slot is currently B for example, sounds minor but can spoil the entire game if someone is not checking beforehand which is his active slot BEFORE flashing a new system because AFTER flashing it can/will be the other one.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Every time that I have flashed it, referring to RR, as well as Lineage, I reverted back to stock 5.16 using the flashall bat file in unzipped fastboot zip. When that was completed, I made sure USB debugging was enabled, as well as OEM unlock and unchecked verify apps using USB.

Then I booted into stock recovery and wiped system and cache, then booted into fast boot. I flashed stock 5.16 boot.img to both a and b. After the boot file, I did the whole dmverity command including vmbeta.img. Then I flashed the RR system image to both slots. (All thus was done on slot B, my slot A seemed to have trouble every time.)

After all this tedious work was finished, I went ahead and booted into the official enchilada TWRP using fastboot boot "name of file". img. I used ADB sideload within TWRP, to side load the TWRP enchilada zip file as well as Magisk.zip. If you so desire or have root or not.

Just as a fail safe I then disconnected the OP6 from the pc and rebooted back into recovery just out make sure that it stuck.

Lastly, I rebooted the system and after a minute or two, the gapps setup screen came up.

I have done this numerous times this week, some might be apt to call it excessive and possibly borderline OCD. But hey, its all good clean fun... RIGHT?

I forgot to mention that I every other time I flashed either RR or lineage I would try either flashing with the vendor file and without the vendor file. Every time it seemed as if the vendor file didn't make much difference if flashed or not. I could be mistaken on that but each time I booted into the ROM with or without the vendor file being flashed I still got a vendor mismatch error.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Carlosmff:
So you've been able to boot into RR or LOS... Nice.

As you, I like to "play the game" like an OCD, but I'm getting tired of trying to boot into LOS without any luck. Always get back to Stock 5.1.6.

Before I flash, I always look into the getvar all command to check which active partition am I... But I always end with blue light with black screen. The only time I got stuck into logo (Android) was my first attempt.

So, Can you share step by step procedures how you've done it? Commands, sequence, files, etc?

I would be much appreciated (I'm sure everyone here that has same problems too).
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Most certainly, I will. It would be my pleasure. Just give me a few minutes
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] j4m35_d4ng3r:
Can you send Screenshot of rr
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] AdrianM:
Can you stop doing that? Use Google.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
you messed up the quote, that post was not from me (i mean the one you quoted, the one with the tutorial)

it was by [MENTION=8385066]Blunts47[/MENTION] ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Carlosmff:
Will you post it soon?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] devnerd:
You all noticed that there is no official 5.1.6 anymore since yesterday? OnePlus pulled it again because of several freezing issues. Maybe you try the working 5.1.5 again and then go through the process of flashing one of the GSI?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Yes sir, sorry time slipped away from me at work. Let me get home and I will do it pronto.

---------- Post added at 10:18 PM ---------- Previous post was at 10:17 PM ----------

Haven't had a freezing issue on my end as of yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Carlosmff:
Me neither... But if it helps booting into GSI from 5.1.5, i'll give it a shot!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Blunts47:
Anyone know why it's not allowing me to do **** past 16gb. The rom thinks my device has 16gb of storage ?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Puksom:
I can boot successfully in LOS and RR, I have the A6003
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Carlosmff:
After TOO MANY attempts, I was able to boot into LOS ans AOSP.

BUT, I used boot.img and vbmeta from 5.1.5, not 5.1.6.

And I needed to change active partition to b.

However, I can't connect WIFI because it says Mac Address in unavailable, my SIM Card Data only gets 3G instead 4G

If someone knows how to get WIFI and 4G working...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Sorry for the delayed response. Life gets in the way some times.

I still say go with 5.16. From what I have read and from my own experiences most users have had the Wifi problem with 5.15 and GSI.

Here are the steps I have used to successfully boot into most GSI ROMs:

1. Unzip OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78-FASTBOOT.zip.

2. Make sure Bootloader is unlocked, USB Debugging is enabled, and uncheck Verify apps over USB.

3. Reboot into stock recovery.

4. Wipe data and cache.

5. Reboot into Fastboot Mode.

6. Open the folder that was previously unzipped, and run flashall.bat.

7. When it is done running your phone SHOULD reboot automatically.

8. Setup phone as you normally would.

9. Put stock boot.img, vmbeta.img, and system-rr.img in your adb folder. I used Platform-Tools, instead of Minimal ADB and Fastboot.

10. Reboot into Fastboot again.

11. fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

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

13. fastboot flash system_a system-rr.img

fastboot flash system_b system-rr.img

14. In my experience, every successful attempt I had was with Slot B.

15. Reboot phone.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] phhusson:
Yeah, OP's recovery is stupid.

I'll workaround that in next version and resize the partition.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
Yeah, when I flashed both RR and Lineage on a secondary computer, my phone registered as 16 GB. When I was able to get home, I connected it to MY PC and it registered the normal GB amount. Peculiar!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Kookitza:
[MENTION=1915408]phhusson[/MENTION] Can you build Pixel Experience with OpenGapps integrated also?

https://xdaforums.com/project-trebl...e-development/8-1-0-pixel-experience-t3796011

Tnx :P
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] oneszero:
If you ask me I would hardly refer to it AS an actual recovery.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] NE0HP:
If I'm not wrong, GApps are already included in Pixel Experience GSI. So no need to flash any GApps after flashing GSI.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Linuxpenguin:
How do we adjust for the notch so thing are not cut off. Does this require the device tree which we are still waiting fro oneplus to release?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] egandt:
Check out my RR thread, you need to resize the data partition (third post)

For those without wifi you need to use wither 5.1.6 or 5.1.7 (5.1.5 and 5.1.8) have wifi issues (unable to turn on), also you may need to do a full fastboot installation of 5.1.6 or 5.1.7 as the TWRP version did not resolve it after testing 5.1.8 (or upgrading from 5.1.5).

Lastly I'm testing RR, but need some feed on if others are seeing what I am using Lineage, and that is that WIFI while working is unstable, constantly reconnecting and unable to transfer large files as it drops out (Mobile Data is not so affected). tested both 2.4 and 5 bands same on both, small files are fine, but large files 50meg+ I can expect a dropout).

How to test open Chrome on a local network try downloading a 500+meg files see if it completes.

Thanks,

ERIC
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
thanks for the great post, dropouts wifi more than date but happens on both on stock rom for me since day one. best visible on i.e. FB messenger where it becomes orange (connecting) and green (connected) intermittently.

it can be verified to check IPv6 data in wifi settings, it goes blank and back on intermittently.

wifi as well is the first thing to break upon flashing stuff for various reasons but obviously it's currently a week point of the device/kernels/source

i suspect an IPv6 issue that happened in the past, switching IPv6 off solved it then in the early OP2 days.

did not have time yet to go deeper, also hoping it gets resolved with an update. happens an all routers thus far
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] egandt:
Verified that disabling IPv6 does not help, figured it was worth trying made no difference.

Thanks,

ERIC
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
good to know, thanks for the effort :highfive:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] egandt:
I did find that at work it had little issue (mostly stable), at home it was unusable. I played with the home router, if I have 5Mhz and 2.4Mhz bands both active WIFI was unstable with only one active (2.4 as I need it for other older devices like a chromecast) it was better much-much better! At work we have only 2.4Mhz :( which is what gave me the idea.

I will need to play with 5Mhz bands and see if that makes a difference, but at least WIFI is now usable.

Hope this helps someone else,

ERIC

Q: On Lineage does the USB port work for mount a USB stick AKA as a host port, as it does not in RR?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
yeah, my first thought went to the router as well, even though i use 4 router in house and it was independent on frequency etc. 1 older (guest) router is even one banded, no difference.

next i paid attention to the issue on restaurant and hotel networks, always the same and last but not least it's not only wifi but happened on mobile data as well.

as it happens after te 5.1.8 update it definitely seams to have improved. did not see any orange bar today.

also if the connection is really active, means there is a data flow, it was always quite stable, hence i suspect some built in, kernel side power saving features and they officially mentioned improvements of network stability in the 5.1.8 changelog.

let's see, i'll come back to report for new finds, for now i'm observing the behaviour and hope that my sensors (eyes LOL) did not fool me and it's resolved or at least improved.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Abaddon:
is it possible for us to have something like this added for the op6 and devices with huge aspect ratio for aosp/los roms?

https://github.com/AICP/device_onep...04d6bf1#diff-715d162a9ce766a7b95508a0d4935ee8
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Piereligio:
I wonder if this ROM could work on op5's project treble
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Blunts47:
Any news for updates to this rom
[Samsung Galaxy S7 Questions and Answers] gbmolina:
Hi, after a Oreo clean flashing on my Galaxy S7 sm-g930f my car charger does not charge the phone anymore, but it charges other phones. All other chargers work fine after the update. Any ideas? :eek:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] JahSam:
God damn ! You here ! I'm feeling lucky ! Nexus 6P, Oneplus 5 and now Oneplus 6 damn :')

Thanks for your hard work !
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Neil_Armstrong_:
Yea boiii

Imma flashing it rn <3
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rajatgupta1998:
Thanks

Thank you [MENTION=6842057]nathanchance[/MENTION] for your efforts. Much needed for the new 4.9 kernel. :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] rav101:
Nice one man!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marko94:
Who got 1 star ? really ?

btw, [MENTION=6842057]nathanchance[/MENTION] you have 5 star from me, good work ,and it is nice to see you here.

As always, good job with informing users , waiting for your kernel :)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] _MartyMan_:
Thanks a lot! :D :good:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
Ratings mean absolutely nothing and I feel sorry for anyone who puts any stock in them but thanks :)

My kernel should be out tonight.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] black_file:
Hey, can you explain me we can install upper kernel version on the last firmware? And how to do it if we can?

Thank and good thread!

Devices : OnePlus 6
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
4.9.108 has been merged in.

Flash a kernel that has these changes. At this moment, I am the only one who has done so: https://xdaforums.com/oneplus-6/development/op6-flash-kernel-1-00-t3801652
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
4.9.109 has been merged in.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] phenoxis:
Could you please provide instructions on how to flash a kernel?

Earlier, I could just extract the boot.img file from one of the ROM images and then extract+repackage with my built Image.gz-dtb using mkbootimg.

The newer Android ROMs seem to only contain a package.bin file instead.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
Easiest way is to temporarily boot TWRP on stock then run

adb shell dd if=/dev/block/bootdevice/by-name/boot$(getprop ro.boot.slot_suffix) of=/tmp/boot.img
adb pull /tmp/boot.img .

then just unpack like you have before.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] phenoxis:
I followed your advice with both the original OnePlus 6 kernel source and your android-linux-stable repo. I was able to build the kernel, repack it and flash it, but with both repos, the device is sitting with the bootanimation for about half hour or so. Do both repositories need additional work before it can boot?

I packaged boot.img with the following command:

mkbootimg --base 0 --pagesize 4096 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000
--second_offset 0x00f00000 --tags_offset 0x00000100
--cmdline 'androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000
msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048
androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 buildvariant=user' --kernel kernel --ramdisk ramdisk -o boot_1.img
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
They shouldn't... Did you use Image.gz-dtb as the kernel?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] phenoxis:
Yes, I'm certain I did.

My full script is:

unmkbootimg --kernel kernel --ramdisk ramdisk -i boot.img.bk #This is what I obtained from your dd if=... of=/tmp/boot.img command
cp /android/kernel/opo6-stable/arch/arm64/boot/Image.gz-dtb kernel
mkbootimg --base 0 --pagesize 4096 --kernel_offset 0x00008000 --ramdisk_offset 0x01000000
--second_offset 0x00f00000 --tags_offset 0x00000100
--cmdline 'androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000
msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048
androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 buildvariant=user'
--kernel kernel --ramdisk ramdisk -o boot_1.img
fastboot flash boot boot_1.img
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] nathanchance:
Try using this boot image: https://nathanchance.me/downloads/kernels/op6/stock/oos-5.1.8-boot.img

You may also check out Android Image Kitchen too, that's what I used before TWRP.