yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] derelicte:
You can use TWRP to do it manually, if for some reason the script doesn't handle the TWRP part. It's waiting for confirmation from the script that you're in TWRP and ready to do the following.

1) Wiping Data, Cache, and Dalvik

2) ADB sideloading the custom parts zip

If you want to do it manually, just close the script, wipe data/cache/dalvik, then go to advanced and sideload the custom parts zip. Alternatively, open the cmd again on your PC and type 'adb sideload CortexROM_v12.00_custom_parts.zip'
[Nexus 6P Android Development] chevycam94:
Also, the script "waits" 20 seconds once TWRP has booted, just in case your particular device takes longer to power cycle then others. Once the popup saying it's waiting shows up, that's when the 20 second count begins. It's probably a bit long, but just wanted to be safe.
[Nexus 6P Android Development] derelicte:
Okay. I'm waiting for a full sync of everything, then a quick test of ARISE Deuteronomy with AROMA. Someone said anything above this won't work on Android O (for now). I'll report back shortly.

**Update: If anybody wants to put ARISE on V12, know that only Deuteronomy will install, and half of the features will not work. You'll need the addon for Magisk, but even then, no sound will come out. I think we may need to wait until Magnum Opus is updated and Android O is closer to release :(
[Nexus 6P Android Development] chevycam94:
There we go. Updated the OP for v12.00. I'm working on an update, but due to college homework being due on Monday, I need to focus on that for the time being. If I get extra time before then, I'll post something up.
[Nexus 6P Android Development] ossito2012:
I have a feeling this is a SuperSu vs Magisk vs permissive kind of thing, which sucks. I blame SafetyNet & Pokemon Go :laugh::laugh:. Only reason I even keep my 6P is because of ARISE, I have the audio sound where I like, might be time to try and find a cheap FiiO A3 Portable Headphone Amplifier.

Hey [MENTION=532396]derelicte[/MENTION] you think it might be possible to uninstall Magisk and then install SuperSu. Maybe then we can pour that Magnus Opus on to our DP3'd out Cortex Rom like gravy over a biscuit. :D
[Nexus 6P Android Development] derelicte:
Good idea. I'll be trying it next. I recall that some posts were made about Android O support on the ARISE thread, though, and they weren't running Magisk. It may just be that we'll need updates from the ARISE team, some of the modules, or both.

I'll post an update here once I find out, since ARISE is such an important thing for most folks.

**Edit: A fresh install of Magnum Opus on the latest SuperSU bootloops. I'll try Deuteronomy next**

**Edit 2: Deuteronomy with Core, Profiles, AM3D, and ICE with Config 2 and PURE (08) installs and boots. I didn't uninstall MusicFX, nor touch the buffer, nor do SD Permissions. AM3d shows a blank screen, whereas V4A runs and shows as supported and working fine, but no sound outputs anywhere on the phone.

**Edit 3: I did a Deuteronomy with Core and Profiles install with no other modules, as well as the permissive kernel. This did the trick. I'm going to try what I did in Edit 2 next, with a permissive kernel.

**Edit 4: Deuteronomy with Core, Profiles, and ICE with Config 2 and PURE (08) installs and boots, but no sound outputs. It looks like ICE is killing this install, and AM3D doesn't launch as it should.

My hypothesis is that there are certain things broken in ARISE for Android O, such as ICE and AM3D. I didn't try others, but in my testing, only V4A core works. It looks like it works with SuperSU OR Magisk.
[Nexus 6P Android Development] Queentus:
Just curious. Did op managed to get rid of the square icons in DP3?
[Nexus 6P Android Development] mohdfahad47:
What if i want to use SuperSU instead of magisk?
[Nexus 6P Android Development] chevycam94:
At the moment, I'm not sure why you would. SuperSU has several problems, and doesn't always work. So far Magisk v13 is flawless, even on ROMs where SuperSU has issues.
[Nexus 6P Android Development] mohdfahad47:
Oh, thanks for the info. Was asking cuz i never used magisk before. Ill give magisk a try this time.one more thing, i use franco kernel on almost all the roms i flash so if i flash fk after the rom magisk will stay intact right? Thanks again.
[Nexus 6P Android Development] chevycam94:
Good question. But my guess is no, parts of root would be broken. Specifically, the parts of the ramdisk that are modified when flashing Magisk/SuperSU
[Nexus 6P Android Development] mohdfahad47:
Oh, ok. What if i flash magisk(if a flashable zip is available) after flashing fk? I guess doing this won't break any root components....
[Nexus 6P Android Development] holigan360:
Is it possible to obtain pixel mod in opp3?
[Nexus 6P Android Development] chevycam94:
Yes, that will work. It'll just add back what it needs when you flash Magisk.

No. As of yet, Android O cannot be decompiled, and therefore no app mods.
[Nexus 6P Android Development] WelcomeToTheSkye:
I mean... It can be decompiled with apktool... Just not sure if recompiling works yet lol

Edit: you probably are talking about with a kitchen... But I mean apk tool is how most of the mods were done in the past iirc
[Nexus 6P Android Development] chevycam94:
It is, but its still extremely buggy, and not officially released. As of version 2.2.2, Android O support is still missing. He's working on a new one, but it's not available yet.

https://ibotpeaches.github.io/Apktool/changes/
[Nexus 6P Android Development] WelcomeToTheSkye:
Lol build from source. Worked fine a 2 weeks back. Haven't tried recompiling anything but decompiling works perfectly I am gonna attempt to compile some stuff and test a little later

Edit: he does say decode only in the issue report from 17 days ago but still worth a try
[Nexus 6P Android Development] chevycam94:
Yeah, just read to the end of the conversation. I would honestly wait until an official apktool release comes out before hoping for apk mods. I doubt there are any devs out there that would use half-baked tools to make a half-baked apk, and release it out to the public, possibly ruining their reputation. Know what I mean? I'm in no rush. I actually kind of like the look of O as it is. And yes, that includes the square icons. Just need to figure out why my Google Assistant doesnt slide over from the left side like it did in Nougat. Might be my version of the Pixel Launcher.....
[Nexus 6P Android Development] mohdfahad47:
Thanks...btw, v13 of magisk is in beta state right?
[Nexus 6P Android Development] chevycam94:
Yes, but appears completely stable for me.
[Nexus 6P Android Development] mohdfahad47:
Thanks a lot for answering my questions...:laugh: really love your rom btw...just flashed it and it's flawless.
[Nexus 6P Android Development] aoaleman:
Thanks, Chevy! Looks like the Winders script worked amazingly! Thank you so much! :D
[Nexus 6P Android Development] KevlarTheGreat:
I don't know much about ARISE but I see a lot of people sad that it isn't working on Android O. I'm wondering.. is it even necessary on Android O? From what I understand Android O has good Bluetooth codecs built in. You can select them in the developer settings... Supposedly.. see http://www.androidauthority.com/bluetooth-audio-android-o-758401/
[Nexus 6P Android Development] chevycam94:
Yes, you certainly can!
[Nexus 6P Android Development] ossito2012:
very interesting thanks
[Nexus 6P Android Development] kobos311:
Pc... Who uses windows for anything anymore? Lol
[Nexus 6P Android Development] chevycam94:
Far more people than you think. Heck, 90% of the software out there is written for PCs. Same reason you dont see gaming computers running Linux or iOS. Because nothing is made for those platforms. They arent conducive to the scope of work that a Windows PC is. I use Windows for just about everything. I USED to use Linux as the second and third systems on my laptop when I triple-booted. But now that's not needed. I run Linux in a VM in Windows when I need to, which is honestly quire rare these days. I don't build from source anymore, except my Droid 1 ROM, which still runs on a VM with the same build speed that it did when it was truly installed to the hard drive.
[Nexus 6P Android Development] iron maiden:
Hello in which version do you have to be to flash this procedure? Very thanks

In stock 7.1.2 parched junio?
[Nexus 6P Android Development] jaKz9:
Trying to install v12 but I get stuck on the TWRP part. Is there anything I'm supposed to do there? I pressed "keep read only" and that's it
[Nexus 6P Android Development] iron maiden:
Hi, same problem
[Nexus 6P Android Development] bluetigger68:
If I understand you correctly, you told TWRP to stay in ro mode and therefore no modifications to the system will be made that includes flashing a ROM. Set TWRP rw and flash the ROM.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] jaKz9:
Ah fantastic! I'm a full retard.

Listen though, before I do anything else, is the Pixel Launcher installed? I read from the v10.10 it is, but I dont really understand if it's been removed now

edit: allowed modifications but the script still hangs (also replugged usb) lol
[Nexus 6P Android Development] iron maiden:
Hello in TWRP i have installed from adb sideload working perfect very very thanks

Not pixel launcher and navbar?

regards
[Nexus 6P Android Development] Bobbaloo:
Windoze.....! Hey Chevy, I learn ALOT from reading your posts. Thanks!
[Nexus 6P Android Development] kobos311:
I'll look at the exe when I get home from church and see what's going on, and maybe I'll compile a flashable zip on Linux lol :P however when new OS are presented on Android it's typically difficult to compile a working flashable zip that isn't buggy. In laments terms.
[Nexus 6P Android Development] 17akota:
Finally got it to completely flash last night and I'm loving it so far. The installer would hang at the TWRP and after reading through here, got it to flash by sideloading the custom _parts.zip. I don't think I've sideloaded anything since OG Droid days. Lol. It was a good refresher. Thank you Chevy!
[Nexus 6P Android Development] yuva_cool:
Will using the installation process you mentioned in the zip file wipe Internal Storage and can I restore data partition backup of O DP3 using TWRP ?
[Nexus 6P Android Development] chevycam94:
1: Don't quote the OP

2: No, the script does not touch your data

3: Yes, backup/restore in TWRP works normally, even for DP3
[Nexus 6P Android Development] coolsid8:
I already installed the DP3 directly and rooted using magisk. Can anyone tell what's the difference in laymen terms ? Are there any gains in terms of performance/features ?
[Nexus 6P Android Development] joethinksblue:
miscellaneous battery drain is back... im on build v.11

anyone else having this problem?
[Nexus 6P Android Development] chevycam94:
Honestly, the first release of a developer preview isn't going to be a huge leap forward. And I can't recompile resources in O yet, so that limits what can be done.

I have some experimental memory and GPU tweaks I'm working on, but only using my device to test them. If I'm confident in them, I'll make another release that includes them.

For now, updated apps, debloating, ad-blocking, a few basic memory tweaks, and my usual round of kernel adjustments are all that's included in DP3.

I just wanted to get out a copy that worked. So you guys could have something current to me with that was tweaked a little.

Honestly, I'm using DP3 right now as my daily. It's actually gotten to the point where I can live with the few bugs that remain.

Also, for those that play Dawn of Titans, it works on my v12.00 release, but not on my Nougat ROMs. I believe I know what the fix is, but need time to test it a little more.
[Nexus 6P Android Development] beyako:
Same here
[Nexus 6P Android Development] chevycam94:
Read both sections:

https://xdaforums.com/showpost.php?p=58178303&postcount=3
[Nexus 6P Android Development] Bobbaloo:
Allow me to reiterate: I learn so much from reading your stuff. Thanks...!
[Nexus 6P Android Development] chevycam94:
You know, I read through the advanced section a couple more times. I learned a couple more things I apparently missed when reading it the first time. I love when people put together so much detailed information, and make it available for everyone to learn from. You learn something new every day!
[Nexus 6P Android Development] Bobbaloo:
IF you take a minute to read......
[Nexus 6P Android Development] seangeezy12:
When is the flashable zip coming? Lol
[Nexus 6P Android Development] bigeddthemonk:
Didn't have any issue with TWRP hanging up. It sideloaded successfully. the only issue I had was since I have minimal adb I had to move the files into that
[Nexus 6P Android Development] Subhojit:
Now that Substratum OMS is compatible with DP3, can we expect to see it integrated with the ROM?
[Nexus 6P Android Development] yuva_cool:
Deleted
[Nexus 6P Android Development] chevycam94:
Honestly, I've never messed with Substratum. Link me, and I'll check it out.
[Nexus 6P Android Development] chevycam94:
Dawn of Titans game crash fix

Thanks to help from @Grassinator, I have figured out what was causing Dawn of Titans to crash and burn.

The fix? Remove this line from build.prop:

debug.egl.profiler=1

It's all the way at the bottom under "# Force GPU Rendering on 2d Operations"

THAT'S IT!
[Nexus 6P Android Development] chevycam94:
CONFIRMED (at least for me)

After running Android O Dev Preview 3, I can restore a TWRP backup of Nougat (in this case my v11.00 build, N2G47W), and ALL my sensors are still working. No need to wipe with factory recovery or flash a stock image of 7.1.2 back.
[Nexus 6P Android Development] yuva_cool:
Substratum doesn't work in Cortex V12.00
[Nexus 6P Android Development] Subhojit:
Substratum Release 780 Brings Android O DP3 Support, Encrypted Assets for Anti-Piracy, and More!
[Nexus 6P Android Development] chevycam94:
Big thanks to [MENTION=4456239]Grassinator[/MENTION] for helping me sell my Note Edge. That money went 100% into buying a Pixel XL. So it ended up being just over $300 out of pocket. Not bad, I can live with that.

Remember, this is what your donations go towards. New devices and/or website server costs. That's it. What I receive is nowhere near enough to break even, even on just server costs. But every little bit helps! ?

For those of you that also have a Pixel XL, I'll see you soon in that forum!
[Nexus 6P Android Development] ossito2012:
It seems that we might be missing the needed files in order to run AptX. When I enable it does not stick. Have you seen anything like this when you were building ROM? Wondering if can just go in and edit a file to enable manually.

AptX/AptX HD - https://android-review.googlesource.com/#/c/318907/

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

"Integration of the aptX and aptX-HD codecs for A2DP source

Each of the codecs can be used if the corresponding encoding

shared library is installed on the device:

- aptX: libaptX.so

- aptX-HD: libaptXHD.so

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

LDAC related AOSP - https://android-review.googlesource.com/#/c/318968/1

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

Integration of the LDAC codec for A2DP source

The codec can be used if the encoding shared library is installed

on the device:

libldacBT_enc.so

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

Keyword is "IF", in the OP under features you mention "- Removed unnecessary apps and services", wondering if these libs might I have been left on the cutting room floor.
[Nexus 6P Android Development] chevycam94:
I never messed with those. But I'll take a look, likely tomorrow afternoon
[Nexus 6P Android Development] bmg1001:
You literally just have to copy and paste the aptX libraries from the Pixel DP3 to the correct folders on your phone. aptX support is only official for the Pixel and Pixel XL. You can install this Magisk Module I whipped up for DP2 (works fine on DP3) and it should work.

NOTE: It'll only show "aptX" in Developer Settings when aptX headphones are connected.

https://drive.google.com/file/d/0B4CYHidtQWQGd1lSbEN6Q21CbFk/view?usp=drivesdk

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

As long as the ROM is based on DP3, Substratum should work without any additions from the developers. Just install Substratum and try it out. OMS is deeply integrated into Android O so I doubt it was removed in this ROM.
[Nexus 6P Android Development] ossito2012:
Beware all, Stuck on boot animation after installing that Module, not sure what is wrong but don't want others to go thru drama.

*** UPDATE *** - Ended up having to flash back to stock "smdh" [MENTION=4550123]bmg1001[/MENTION] did you even have this thing working, I see you posted about this using this back in February, asking if it worked for 6P when this magisk module was made for the OnePlus 3, you got no answer, let alone many people said this module was not compatible with newer versions of Magisk.
[Nexus 6P Android Development] Lijop:
Am on rooted dp2 with twrp. Can i use chevys installer and keep all data, root and twrp?
[Nexus 6P Android Development] bmg1001:
Are you sure you installed it correctly/ didn't have an issue with your setup beforehand? I just downloaded it and reflashed it myself from the link and it worked fine (Nexus 6P, Android O DP3, Magisk 13 beta). I've also used it many times myself when reflashing O and I've never had a single issue, nor has anyone else with my modules.

In February, before anyone knew about Android O, someone discovered they could port aptX to the OP3 by using the drivers from the Moto Z. This is completely different. These are different drivers and are meant for O, while the module you brought up was meant for LineageOS devices (so it did in fact work on many phones like the 6P if they were running Lineage or CM) and was created an entire month before Android O DP1 was even announced. You can learn more here about the efforts we made to port aptX to AOSP ROMS: https://xdaforums.com/showthread.php?t=2531440

Anyways, I don't know why you ran into issues when flashing it. Are you 100% sure it was my module? Like I said, I've used it many times and it has worked fine. Still, if you want aptX, anyone reading can also go into the thread I linked above and find information on how to install the drivers manually. They do not break SafetyNet.

EDIT: In the thread I linked, someone else made their own module for aptX on O. You can try that one too if mine had issues for you.
[Nexus 6P Android Development] ossito2012:
Ok cool, just checking to make sure that's all. And yes I download from the link you provided, went into magisk and installed using the module installer. Who knows what happened, it is what it is, no biggie.

I just got everything re-installed, so I might try another time, I am a little flashed out lol, going from stock, then twrp + root, then flashing Cortex v12 again and then getting all my apps re-installed and setting permissions and login/passwords etc, I don't think I will risk it today but this weekend I will give another try, I need to study what these magisk modules actually do before flashing anyways, maybe I can just copy files myself and set appropriate permissions. I am running Magisk v13.170606. SafetyNet not a concern to me at all.
[Nexus 6P Android Development] bmg1001:
Make sure to make a backup beforehand as always. Also, you said you flashed it with Magisk's Module Installer? The zip was designed to be flashed in TWRP. Anyways, it is likely easier for you to just extract the libs from either my zip or any of the Android O ones from the thread I linked and copy over the lib files. I did that too when SafetyNet was updated this week, making me disable the module. Cheers!
[Nexus 6P Android Development] ossito2012:
Since when do people calls zips for TWRP modules, never heard that. Besides, Iupdated Magisk to latest and this time no hang on boot but I do not thing AptX is sticking, I will grab my headphones from car in morning and verify working.
[Nexus 6P Android Development] bmg1001:
Because it is a Magisk Module, that you flash in TWRP, like every other single module available in the Magisk subforum here on XDA. You'll find that most of the modules shared on XDA are made to be flashed in TWRP. In fact, I don't think I've ever seen one made to be installed from the Magisk app except those downloaded yourself through the app.

Also, like I said in the first post, aptX will not stick unless aptX headphones are currently connected.
[Nexus 6P Android Development] ossito2012:
Good to know on head phones...

oh yeah btw, here is a screenshot after installing through Magisk, for something that is not supposed to work in Magisk it sure does look & fit nicely.

It is what it is, maybe the the Sun and Jupiter are in alignment and I got lucky flashing. [emoji85] [emoji86] [emoji87]

reminiscing on my flashaholic life Samsung Galaxy S2 skyrocket, LG G2, Nexus 7, Nexus 9, Galaxy Tab pro, Galaxy Tab S2, and now my Nexus 6P, my other nexus 6P is a fully functional Cortex Kali Nethunter pentesting monster. #justsayin

...but I will concede, learn something new everyday, is it June 20th yet #oneplus5
[Nexus 6P Android Development] yorllin:
I tried to go back to N and stop recognizing the SIM, what can I do?

Sorry for my English
[Nexus 6P Android Development] ossito2012:
DId you try flashing Cortex Rom v11 or Stock Nougat?

Personally I would go the long method and use Nexus Root Toolkit to go back to stock and re-install TWRP and root.
[Nexus 6P Android Development] yorllin:
Yes, I did not know I had to go back to stock firmware first. Thanks.
[Nexus 6P Android Development] nicholasknicks:
No it doesn't have an aroma installer
[Nexus 6P Android Development] ammu2016:
On the latest 1.21... Got the root with the rom no additional flashing... Boot animation is present... No FCs... Everything smooth till now. Thanks for the awesome work.
[Nexus 6P Android Development] justin1221:
Flash the latest radio and bootloader then flash the ROM, you should be good.
[Nexus 6P Android Development] megalosdog:
How long you been running this ROM? You have to give it a couple days at least. As far as kernel goes, try elite kernel. I like it.
[Nexus 6P Android Development] ariefabuzaky:
Ok.. already fladhed elite kernel and let see how its going
[Nexus 6P Android Development] chevycam94:
Ahhhh, that reminds me, I need to add those requirements to the install instructions in the OP.
[Nexus 6P Android Development] megalosdog:
Damn, I swear my battery life on this ROM is better than its ever been
[Nexus 6P Android Development] GTxFinish:
Google Fi?

Does this work with Google Fi? I saw someone asked about a year ago and after a thread search did not find an answer. Would like to know before jumping in :)
[Nexus 6P Android Development] buddwm:
I'm a Fi user. I may test out this rom over the weekend and can report back.
[Nexus 6P Android Development] JaZart:
Can someone help? Every app is FCing for me.
[Nexus 6P Android Development] Sheetzie03:
Try a different Gapps, an older version maybe, gl
[Nexus 6P Android Development] JaZart:
This ROM includes gapps though?
[Nexus 6P Android Development] ViperXvenom8888:
It does include Gapps. Try flashing the developer preview bootloader, radio, and vendor.
[Nexus 6P Android Development] Budwise:
All the ringtones and notifications sounds are missing after my clean install. Ideas?

NM, they slowly populated a few minutes later. Weird.
[Nexus 6P Android Development] RonnieRuff:
Not aroma or debloated but not real hard to uninstall apps you don't want
[Nexus 6P Android Development] ahmed534:
maybe traying this one : https://play.google.com/store/apps/details?id=com.superthomaslab.fingerprintgestures

didnt try it though
[Nexus 6P Android Development] wrasor:
Anyone having an issue with the screen not turning on when a call comes in? The ringtone sounds but I have to unlock it to turn the screen on. Other than this the ROM is amazing!!!
[Nexus 6P Android Development] aravinddefy:
For me 1.10 version works well and better no issues at all ?? best version I have seen so far