yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] Gautham_Chandran:
Which custom kernel do you prefer ? :cyclops:

---------- Post added at 01:55 AM ---------- Previous post was at 01:54 AM ----------

Screen shots ?
[Nexus 5X Android Development] dragos281993:
I prefer Phasma (r50).

And I forgot to mention, Saosp uses the absolutely exact same kernel I included in my last build, which is Google's stock kernel.

Anyway, I managed to get things in order and compile with gcc 6.x, so if nothing breaks again, I'll add back the kernel I had previously included.
[Nexus 5X Android Development] Xeust:
So I flashed the saosp boot.img and my kernel reverted back to google kernel. So would it be okay if I flash the ElementalX after that?

Edit: NVM first flash and I got stuck at 10%, thus the question. Second attempt it worked and is good now. Thanks.
[Nexus 5X Android Development] Komodoketavaran:
For what do you need Screenshots?

I know it's the same. Google's Stock is Google's Stock. That's why I am saying I don't know what's wrong with my device mate. But the only thing I can tell you is, that it's slow and laggy and as soon as I flash this boot.img and reboot it's the hell out of a fluid Rom. Do you mean I say this for Entertainment purposes? If you want I can make a video with my Tablet how it looks like.

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Android Development] dragos281993:
I added the old kernel back (now updated, of course) and also activated SDCardFS and we'll see how things go when I release the new build.
[Nexus 5X Android Development] Komodoketavaran:
I'm excited to try it and will give feedback how it goes :)
[Nexus 5X Android Development] dragos281993:
Testing the new build... It's noticeably smoother than the previous ones, at least from what I've seen so far.
[Nexus 5X Android Development] Komodoketavaran:
Linaro or Uber TC ?

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Android Development] tuhinxp04:
Thanks for bullhead support
[Nexus 5X Android Development] dragos281993:
New Build UP !

Here's the new build, folks. I've been really busy and even though I don't normally spend much time on compiling, testing (etc) during the week, I managed to compile without a problem a new build. The smooth process definitely was an advantage, but it came after I fixed a buttload of problems (machine related stuff) a few days ago.

Anyway, the new build finally includes the old kernel, which you wouldn't know of because that was what I used while testing the ROM before releasing the initial build, then switched for ElementalX. But that didn't fully meet my expectations in the end, and I had to go back to the stock one (the ubberrom's one) BUT that happened to not work for some reason (didn't let me compile with gcc6 or even 4.9) and I was forced to give you the second PD build with Google's stock kernel. After fixing tons of issues, I managed to start thing over/ from scratch but this time with gcc6.3.1 from uberrom's list of toolchains. It took forever to trace the damn issue.

I also activated SDCardFS in the device tree because this is something the kernel already supports and of course I had to take advantage of it. AND things are noticeably smoother now, at least on my end.

The rest of the changelog can be found in the 3rd post.

The download links are in the 1st post.

Follow the instructions carefully for both clean or dirty flash procedures. Don't skip having a look at it just to stay on the safe side. Better safe than sorry.

PS: If you are using a custom kernel and have a kernel manager installed (with maybe "apply on boot" stuff configured), I suggest you wipe the apps' data so nothing can be "applied" after the phone boots up. It's the safest way to a clean experience.

Enjoy !
[Nexus 5X Android Development] lesbianu:
Hello, Dragos and thx for the ROM!

Flashed today the latest version of Pixel Dust. Laggy as hell! After reading the older posts, I tried fixing it by flashing the SAOSP boot image. Looks better now.

Why it's necessary to flash another boot image to fix the lag problem?
[Nexus 5X Android Development] dragos281993:
Saosp's boot.img is Google's stock kernel. It's the untouched stock kernel. For me the latest build is snappier than ever. I clean flashed it though and did some small tweaks to the kernel. The stock kernel has pretty crazy presets. Research, tweak and spend some time trying a few things before throwing a comment just for the sake of it. That's why there's a custom kernel included in the first place.
[Nexus 5X Android Development] lesbianu:
Got it, next time I will try some tweaks first!

I apologize if I disturbed, was not my intention...
[Nexus 5X Android Development] dragos281993:
No problem. Having a custom kernel as default, with lots of options to choose from, means you've got an out of the box chance to exploit its potential.

PM Komoketavaran about tweaks. He's got a lot of good configurations to try out.
[Nexus 5X Android Development] :
Definitely much quicker on this build. The only issue I find, personally, is that you can't move the weather to the left side. Is there a way to do this>?
[Nexus 5X Android Development] mikeprius:
Wow this is really awesome. Magisk and substratum are integrated into the settings menu. Helps keep the app drawer less messy. So far working good.

---------- Post added at 04:07 PM ---------- Previous post was at 03:30 PM ----------

So I should flash a new kernel or keep the stock one with the ROM ?
[Nexus 5X Android Development] Komodoketavaran:
Keep the integrated Kernel. It has some nice optimizations under the hood.
[Nexus 5X Android Development] mikeprius:
I noticed the default kernel with the ROM already works pretty well so just kept it
[Nexus 5X Android Development] Komodoketavaran:
Yea, their is still some free air but it's the right way. Like Dragos said you can PM me if you want to know how to get even more out of it.
[Nexus 5X Android Development] mikeprius:
The only thing I have noticed so far is adaptive display. At night, even with it on it is still extremely bright so right now I am setting the display very low for brightness. I noticed it does not calibrate the brightness to the darkness currently does anyone else have this ?
[Nexus 5X Android Development] dragos281993:
Yeah, that would be a little bug (if you're referring to night light)
[Nexus 5X Android Development] Komodoketavaran:
No my phone adjusts the brightness properly.
[Nexus 5X Android Development] mirketos:
Thx work great now :svetius:
[Nexus 5X Android Development] mirketos:
Greatest rom I ever had! Perfect! :good:
[Nexus 5X Android Development] Namautoenx:
I am on stock 7.1.2,N2G47O. Do i need to flash vendor agains?
[Nexus 5X Android Development] dragos281993:
Nope. But worst case scenario, you'll be asked to flash the right vendor image so it's not a huge deal in the end.
[Nexus 5X Android Development] Namautoenx:
Deleted.
[Nexus 5X Android Development] kjozsa:
I switched from the latest stock nougat, I seem to get about one crash+reboot every day, appearently on peak load situations. Is this completely stable for everyone else?
[Nexus 5X Android Development] Komodoketavaran:
Rock stable.
[Nexus 5X Android Development] kjozsa:
Hmm, lucky you, I just had another spontaneous reboot.

I did not flash the vendor image though at install time (and was not requested to do so) - could this be the source of the instability? Should I reflash everything, starting with the vendor image and hope for a better outcome? Thanks!
[Nexus 5X Android Development] Komodoketavaran:
Well, i don't think wrong vendor can cause reboots. It just includes the correct driver for the fingerprint scanner for example but I don't know. Did you made any other changes? Custom kernel or any mods that make changes to system partition?
[Nexus 5X Android Development] kjozsa:
None. My 5X was a stock one living on the latest Android 7 beta (enrolled to the beta program), but not yet an the O preview. I unlocked it, installed TWRP, rooted and installed this rom as described in the first post.

I thought of trying to flash an other kernel though before replacing or reinstalling this rom to see if it helps with stability.. Talking of which, my 5X was completely stable earlier so I think it's not a hardware issue.
[Nexus 5X Android Development] Komodoketavaran:
May I ask why you used 7 beta when even 8 is around the corner? Use NexusRootToolkit and flash the latest stock factory image with it. That from May ofcourse. Boot it up one time to check if everything works and if there are reboots. After that flash TWRP again.

Edit: DONT Lock your Bootloader with TWRP installed and DONT flash TWRP with locked Bootloader. You will mess up your Phone.
[Nexus 5X Android Development] kjozsa:
I'm not actually sure it was beta. I was opted in for 7 betas (did so before 7 was released) and I was using the latest OTA upgrade I received (with security patches from May, that's the last update I can recall).

Sure, I can go back and forth to a stock image and back to Pixel Dust, this rom performs really outstanding, it's absolutely worth to invest some work to get it stable for me.
[Nexus 5X Android Development] Komodoketavaran:
If you had May update then it wasn't beta I think. But just go back to Stock factory image just to be sure it isn't Hardware related.
[Nexus 5X Android Development] kjozsa:
I have it unlocked and don't plan to lock it back myself. Flashing the stock factory image will not automatically lock it back, will it?

I'm a Linux user myself, so I think I should flash grab the latest 5X image from May from here: https://developers.google.com/android/images and execute the flash-all.sh script. This seems to flash the bootloader, radio and the image itself in order using fastboot. Would this script attempt to lock my bootloader on its own? Thanks!
[Nexus 5X Android Development] Komodoketavaran:
Honestly, I've never done it with the flash-all script. But flash factory image shouldn't Lock your Bootloader, no. Even Google stated on this page, that you should Lock your Bootloader after you finished with this Script. So it really shouldn't Lock it. I always used NRT. So simple that you couldn't do anything wrong.
[Nexus 5X Android Development] kjozsa:
That's the flash-all.sh script:

fastboot flash bootloader bootloader-bullhead-bhz11m.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-bullhead-m8994f-2.6.37.2.21.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-bullhead-n2g47o.zip

I have limited experience with flashing (and first time doing it on the 5X) but it doesn't look too dangerous for me.
[Nexus 5X Android Development] Komodoketavaran:
That's exactly the same that you would type in into the commandline. So give it a go. Happy bricking :). (Just a joke it doesn't brick anything lol)
[Nexus 5X Android Development] kjozsa:
No pain, no gain.. thanks for the heads up! :)
[Nexus 5X Android Development] Komodoketavaran:
Any News? Back on Stock? Back on PD?
[Nexus 5X Android Development] dragos281993:
FYI, to all those that install updates through OTA, it's mandatory to go back to the last stock & untouched image before going custom.

For instance, I tried the last Android O Dev preview and did the wrong move of simply flashing PD after doing the regular wipes in twrp. Completely wrong move. The sensors were broken, nothing worked well, I had screen delays on incoming calls (of at least 10 seconds), and a few random reboots (which happens to be exactly what one of you said to have experienced).

So the "MUST DO" steps are to go back to the last offficial stock image, then right after that you MUST also do a data & cache wipe from within the stock recovery. After that you can reboot to system and configure the settings. And only then are you safe to install twrp, and flash a custom ROM, root, etc.
[Nexus 5X Android Development] Phalanx7621:
Hey folks. ROM works perfectly and is a great improvement over stock. Thanks so much to the Dev. I searched and couldn't find anything relative to my question, so making a new post. Has anyone else had issues with Substratum never applying a theme? For me it just sits forever when I try to build and apply a theme. I've let it sit for up to 20 minutes and still stays at original 1% never moves or applies the theme. Have tried several. Am I doing something wrong?
[Nexus 5X Android Development] Komodoketavaran:
Did you updated Substratum to the latest ?
[Nexus 5X Android Development] kjozsa:
I installed the latest stock firmware using the flash_all script discussed yesterday (so flashing radio, etc, everything) and flashed twrp and PixelDust following the instructions in the first post. Fingers crossed for stability, will report back if it stays on the unstable side.

Thanks for your help (and also for dragos for stepping up!)
[Nexus 5X Android Development] Phalanx7621:
Yeah it shows it's updated in the play store. These are the themes m trying to use. Anyone else try these and get them working?
[Nexus 5X Android Development] Phalanx7621:
Aaand nevermind. It's working now. Weird I've been trying for two days and the moment I post about it it works. My luck lol. Thanks guys for responding. ?
[Nexus 5X Android Development] kjozsa:
And it's been completely stable for 24 hours now.. Lookin good, thanks! :good:
[Nexus 5X Android Development] kjozsa:
There is one minor thing though: both Firefox and Firefox Beta is unusable - try to scroll on *any* webpage loaded (even its ours about:settings page) and the whole page turns to black immediately.

I believe a similar (same?) issue was fixed in CrDroid recently, see: https://xdaforums.com/showpost.php?p=71008750&postcount=179 ("Fix rendering issue for few browsers like firefox and chrome."), I'm not sure what got changed though. As an old time Firefox fan, I would love to see this getting fixed. Thanks!
[Nexus 5X Android Development] spezi77:
Thanks for your report and giving us a direction where to discover the potential solution. The issue you described has been reported by Pixeldust users on different devices. I guess that by now chances are good that we can fix it in the upcoming release.
[Nexus 5X Android Development] dragos281993:
I looked into CrDroid's fw_base (february commits) and didn't notice anything related to a fix for the browser issue described above. It was a quick look though, so I might've overlooked it. I'll get home soon. As Matthias said, the issue will be fixed. ?
[Nexus 5X Android Development] Socomfort99:
I just have to say that this ROM is awesome. Great job on stability and customization. I loved pixelrom but really wanted oms support. This was exactly the ROM I needed. Thanks OP for the great rom
[Nexus 5X Android Development] kjozsa:
Hmm I gave it a few days but unfortunately this rom is not completely stable on my phone. Last time I went back to stock as discussed, wiped from stock recovery, flashed with SuperSU and it rebooted about 3 times a day. Now I gave it another time, doing the whole round of flashing/wiping back and forth again but I did not flash SuperSU (it had its own set of problems recently). This was maybe a bit more stable, having 2 crashes in 2 days.. Every crash happens the same way btw, getting a peak of load (like starting the camera from a slept state), lagging for 5-6 seconds and then the phone just reboots. Does this rom overclocks the cores, could that be the problem?

I envy you guys who have this rock stable as this setup looks really amazing and is just fast as hell. If you have any more ideas what to try, I would be happy to give it another round!
[Nexus 5X Android Development] Komodoketavaran:
Try this what I quoted above your quote.
[Nexus 5X Android Development] Phalanx7621:
Did you flash the boot.img from a few pages ago to prevent the lag? I had to do that and after it was buttery smooth.
[Nexus 5X Android Development] Komodoketavaran:
Ninja'd [emoji41]
[Nexus 5X Android Development] Phalanx7621:
Oops. Didn't see they posted that. Great minds think alike. Yeah that's the image you need to flash. Worked for me.
[Nexus 5X Android Development] kjozsa:
Thanks for the quick reactions! I reflashed stock, wiped, reflashed PD with the boot.img you suggested. Will report back..
[Nexus 5X Android Development] spezi77:
Any chance that you could take a logcat when your phone undergoes a bizarre situation, having lags, etc. ?

Otherwise we have no chance of analysing what could have went wrong on your end..

Edit: likely that the new kernel will solve your troubles.
[Nexus 5X Android Development] kjozsa:
Yeah I guessed so. I have been trying to catch a crash while having logcat on via my notebook in the last days but those hours went peaceful, unfortunately. My phone had absolutely no lags by the waym except the daily 1-2 situations where it caused a crash as well. We'll see how it goes with this other kernel, I'm hopeful..
[Nexus 5X Android Development] kjozsa:
Ok it's been 24 hours now with this new setup (boot.img flashed over PD) and it's a smooth ride, not a single hiccup on the way! On the downside, PixelDust customizations are gone from the menu, I have two Phone apps with the same blue icon and Exchange mail support is completely gone from Gmail.

Prove me wrong but that rather feels like two roms poured together, not a new kernel over PD.. It does the job though, so no major complaints here ;)
[Nexus 5X Android Development] Komodoketavaran:
PD settings dissapeared?? Your phone is acting really weird bro.. Did you boot the phone up one time after you flashed PD or did you flashed the boot.img right on top ?
[Nexus 5X Android Development] kjozsa:
I flashed it right on top, without booting it first. Bad move? :)
[Nexus 5X Android Development] Komodoketavaran:
I don't know [emoji14] I booted up once.
[Nexus 5X Android Development] Phalanx7621:
The way I got this wonderful ROM to work is to do a full wipe. Then flash, flash SuperSU. Boot up into system. Do a reboot. Flash boot.img. Boot up. Reboot into recovery and flash SuperSU again. Boot into system. That was how I did it and it booted up and worked perfectly.
[Nexus 5X Android Development] Komodoketavaran:
That's the way it should be done.
[Nexus 5X Android Development] dragos281993:
Hey guys, I've been absent for quite a while now, but yeah... busy as hell.

I just wanted to let you know that most probably you'll get a new build at the end of the week.

It's got a pretty decent amount of stuff and improvements. It's safe to say that PD suffered a bit of restructuring (in some areas), so that pretty cool.

My plan would be to release the new build tomorrow, but if something occurs (like always) and stops me from doing any progress with the ROM, you'll get the build this weekend. That's still fine but it just means a bit more waiting.

With Android O around the corner, we decided to kinda slow down the progress regarding the pushing of new stuff, and that's because when the sources for O come out, things might be quite different and all the work that we invested in N, right before the release of the new thing, would be kinda wasted, because everything would need to be redone and readapted accordingly.

Cheers !
[Nexus 5X Android Development] tuhinxp04:
Waiting for Update..!!
[Nexus 5X Android Development] popogijo:
Sounds like something is wrong with this Rom. That's a lot of trouble verses normal Rom flash.
[Nexus 5X Android Development] dragos281993:
The instructions are on the first page. I never did this crazy sequence you quoted. Follow the instructions and you'll be fine. There's no need to reboot 100 times.
[Nexus 5X Android Development] Komodoketavaran:
If you want the full performance of this Rom it is needed indeed..
[Nexus 5X Android Development] dragos281993:
Sorry for the delay guys. I'm really, really busy and I haven't even had the chance to test the last build I compiled on Sunday. Right now I just left home for classes after I came from work and before leaving, I left a new build to compile. When I'm back home I'll find some time​ to give it a spin then release it.

Sorry again !

Edit:

I added some last minute stuff that should normally work only on the Pixels. It's some kryo optimisations for the CPU. So far, the build has been compiling for 3 hours (my laptop is slow, I know, but it's normally like that the first time until it manages to built the Ccahe, which speeds up the following ones), but I'm really curious to see if we have something good here. After it's done and the phone boots up, I'll release the new built with the "Test" status or something, and basically let you turn it upside down for the sake of progress. Lol
[Nexus 5X Android Development] dragos281993:
New build up:

So things are finally smooth and nice. The moving between kernels s#!t has been a bit of a mess, so now you have the stock one, again. It's the same as Saosp's one, stock from Google (like 2 builds ago). There's a lot of stuff that could've messed with the phone's performance and it's a hell to try and track down the issue.

Anyway, the new build looks really good. It's got a few new things, some taken from AOSPA, like "frameworks boost", etc. There's been a bit of fiddling with the already present features and some other stuff you'll find in the changelog on the first page.

I mentioned in my previous comment something about some kryo optimisations I might add. It seems that, just as expected, those are meant for the Pixel devices and their CPU, not older versions, so they didn't make the cut.

Links in the first post.

Enjoy !
[Nexus 5X Android Development] Komodoketavaran:
Yep, finally it runs like it should be out of the box. Thank you for your efforts.
[Nexus 5X Android Development] Komodoketavaran:
In fullscreen mode, swipe for navbar isn't working. That means in YouTube for example you can't check the time because statusbar doesn't appear or you can't go back or pressing home button or go to recents. You have to tap on the video and close fullscreen to do anything. You know what I mean?

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Android Development] dragos281993:
Yup. That's a bug. It's being investigated as we speak. One solution, at least for now, is to have "Swipe for notifications" turned on (in Settings/ Gestures) and that will allow to show the QS panel when needed by swiping on the FP sensor.
[Nexus 5X Android Development] catalin habdul:
Thanks for the update, one small issue is that when I try to set trusted face it's force closing....besides this all is buttery smooth. Thanks
[Nexus 5X Android Development] dragos281993:
It seems like an AOSP issue. Someone reported the same bug on PN for mako. I tried to fix it for the N4 folks but didn't get a report to see if the issue was gone. I'll leave a post there to see if the bug was squashed.
[Nexus 5X Android Development] catalin habdul:
I understand, one more question please ,how can I replace the phone shortcut from the lockscreen with voice assistant like in stock room because I didn't find any setting for this.many thanks
[Nexus 5X Android Development] dragos281993:
There's no lockescreen shortcut customisation feature right now.
[Nexus 5X Android Development] igoorsoouza:
I'm really enjoying the ROM, very fast and great battery too! My only problem is not being able to swipe and show status bar or nav bar when in the full screen but I'm happy the swipe gesture to showing them works even when the phone is on landscape, so I guess it's fine.. The only feature I miss from another aosp ROM I was using it the ability to set the volume rocker to always control media volume, couldn't find this option anywhere. And couldn't find a place where I can set the amount of quick settings toggles to be shown when you first swipe to the notifications, I have 7 toggles showing now and looks like they increase or decrease depending on my DPI. Anyway, thanks for the amazing ROM, so well constructed!
[Nexus 5X Android Development] dragos281993:
"volume rocker to always control media volume" added on the features list. :)
[Nexus 5X Android Development] lfuentes:
I get "Android is starting..." And I can't go home. I´ve tried everything but formatting internal storage (And I do not want to do it).

What can I do?
[Android Q&A, Help & Troubleshooting] Curst:
According to https://github.com/Ranks/emojione/issues/477 EmojiOne will not provide an official font for android this time. :(

Are you bright minds here on XDA up for it?