yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] Jwikoff99:
I can't get it to boot after install.

Is it wipe cache/delvic, install, wipe again?
[Nexus 6  Original Android Development] deadcatsrule:
If your going to 7.1.2 you must wipe system and data read the q&a

"Wipe system, data, cache, and dalvik cache in Wipe > Advanced Wipe."
[Nexus 6  Original Android Development] Jwikoff99:
I am doing the clean rom install. I never do it dirty.

This was my process that is failing:

Clean install Pure Nexus and Beans gapps.

Boot/finish setup etc

Root

Wipe cache/dalvic

Install 4.20
[Nexus 6  Original Android Development] flar2:
Make sure you let it boot up all the way again after rooting, and dont' wipe cache/dalvik after rooting.

Other than overclocking, there's not much that can go wrong installing this kernel.
[Nexus 6  Original Android Development] deadcatsrule:
I see

I clean installed Pn with beansgapps

Pphsuperuser

Viper4Arise

ElementalX

Then boot all in one shot
[Nexus 6  Original Android Development] Jwikoff99:
Ok, I was too eager with the wipes. Got it running now. Thanks!
[Nexus 6  Original Android Development] flar2:
I always install the rom + gapps then reboot and let it set up properly.

Then I install root, and reboot and make sure it's working.

Then I install other things (like ElementalX)
[Nexus 6  Original Android Development] joeyfong:
Does it support f2fs?

edited: tried, does not support
[Nexus 6  Original Android Development] brainard52:
Did 4.20 fix the audio problem 4.18 and 4.19 had?
[Nexus 6  Original Android Development] flar2:
What audio problem?
[Nexus 6  Original Android Development] Gysper:
The only audio problem is that every time you flash ROM with a new monthly security update, the kernel has to match the month. So kernel has to be the same or newer. You can never have a kernel where the security update is older or audio will not work.
[Nexus 6  Original Android Development] Debuffer:
I'm actually using FK and will give a try to ElementalX.

I would like to know if it has preset profiles for battery, balanced and performance.

Also, I'd like to know the available hotplugs, thermal controllers, maximum and minimum available frequencies and if it has wakelock blockers as FK does.

Please, give me this informations because I can't install it now at work.
[Nexus 6  Original Android Development] rignfool:
Or you could read the OP
[Nexus 6  Original Android Development] joeyfong:
Awesome
[Nexus 6  Original Android Development] flar2:
Update!!!

Download (Nougat)

ElementalX-N6-4.21

Changes:

-May security update
[Nexus 6  Original Android Development] jayadev01:
Wowww... such quick updates. Google just released may security updates and here's our kernel updated immediately. Thank you so much.:)
[Nexus 6  Original Android Development] kraehetest:
Hello,

I hope someone can help me. It is half offtopic.

It is about the SafetyNet Check. It fails.

I have:

- Unlocked bootloader,

- TWRP 3.0.1,

- Google stock ROM (May 2017),

- ElementalX-N6-4.21,

- Hosts file, flash through recovery,

- NO ROOT

What am I doing wrong? I think it could be the hosts file.

Many Thanks
[Nexus 6  Original Android Development] S0UTHPAWK1LLA:
Sorry, but it isn't kernel related. You'd want to check the Magisk thread for suggestions. There too many variables that can cause it.
[Nexus 6  Original Android Development] kraehetest:
But i have no root, and i don't need root.
[Nexus 6  Original Android Development] Alxoom33:
You probably have an unlocked bootloader and remnants of root.
[Nexus 6  Original Android Development] S0UTHPAWK1LLA:
Hmm... So you're running a custom kernel without root. So how do you modify kernel settings? Anyways, unless your going to relock your bootloader, you may as well root and utilize Magisk.
[Nexus 6  Original Android Development] athulele:
Well if he knows what settings are good for him, he can always set them from the AROMA installer for elementalx
[Nexus 6  Original Android Development] kraehetest:
Exactly, I use only underckocking and color profile

Relock ist not so good. Or?

I'll try Magistk, maybe it cann hide an open booloader.
[Nexus 6  Original Android Development] jimbomodder:
An unlocked bootloader will cause safety net to fail . Majisk hides this. Plus your using a custom kernel which can cause it to fail aswell
[Nexus 6  Original Android Development] Yasharkhan:
Ok so guys I've a serious problem, I'm running the latest PN 7.1.2 with latest Elemental Ex Kernel, my issue is that while charging 3 of my cores shut down and my phone literally becomes useless (too slow to use) it gets better when the battery is over 80% while charging, any solutions would be greatly welcomed
[Nexus 6  Original Android Development] Pkt_Lnt:
Stop using the turbo charger. The cores get hot and shut down to keep the battery from exploding.
[Nexus 6  Original Android Development] Yasharkhan:
Is there no other way to stop the cores from turning off? Or atleast keep 3 of them on and 1 off
[Nexus 6  Original Android Development] enzoevo:
I was under the impression the ElementalX was patched to hide unlocked bootloader. Is this not true?
[Nexus 6  Original Android Development] Ph0z3:
Will this run / work with stock, non-root 7.1.1 (N6F27C) ???

Currently running on Franco, but noticed little difference, wanting to try this one out.
[Nexus 6  Original Android Development] flar2:
I think you need Magisk for that

Yes, it works with everything.
[Nexus 6  Original Android Development] Ph0z3:
As it says in OP, don't flash over others, I'm guessing a fresh install of 7.1.1 is suggested?

... Or does it matter, since I'm stock?
[Nexus 6  Original Android Development] flar2:
You should flash the stock kernel first, then flash ElementalX
[Nexus 6  Original Android Development] coro4:
This kernel seems to have a compatibilty problem with PureNexus (from 6.0 to the most current 7.1.2): occasionally it would produce screen errors (see attached). I always use default settings.

Any ideas on how to fix this?

Edit: the screen issue wasn't shown by the screen capture! What it looks like is that the screen would be provided into quadrants and 'discontinuous' with an offset at the boundaries between the quadrants. When scrolled, each quandrant would scroll independently.
[Nexus 6  Original Android Development] Pkt_Lnt:
Know hardware defect in the Nexus 6. A *possible* work around.

https://xdaforums.com/showpost.php?p=63249802&postcount=4602
[Nexus 6  Original Android Development] coro4:
Thanks for the tip! I just went back and changed the io scheduler to CFQ (stock, but not default) and increased screen buffer from 512 to 1024. I too noticed that the minimum GPU freq is 240 MHz instead of 300 MHz as in stock and will try that next if the problem persists. One other observation is such that the problem seemed to occur at somewhat random times and is fixable by turning the screen off and back on. Will report if problem occurs again.

Update: so far there has not been a single reoccurrence of the screen issue. Battery life is decent too (SOT 5.15 hrs with 70% brightness).
[Nexus 6  Original Android Development] Ph0z3:
Bet.

Thanks for the heads up.
[Nexus 6  Original Android Development] spiral777:
How do we set the kernel to permissive?
[Nexus 6  Original Android Development] Akhilesh S V:
Download Kernel Adiutor mod (Google it) -> Grant root access

GoTo Miscellaneous -> SElinux
[Nexus 6  Original Android Development] spiral777:
Selinux

I don't see an selinux option in the app, try a different kernel? Using elemental now
[Nexus 6  Original Android Development] Pkt_Lnt:
In a terminal (these reset at boot)

permissive -

su
setenforce 0

enforcing -

su
setenforce 1

check status

getenforce
[Nexus 6  Original Android Development] spiral777:
:)

This worked perfectly thank you so much!
[Nexus 6  Original Android Development] andres8ah:
help

Hi,

I hope someone can help me.

I have:

- Unlocked bootloader,

- TWRP 3.0.1,

- Google stock 7.1.1,

- ElementalX-N6-4.21,

my phone shutdown when the battery is between 20% and 10%, when i tried to start the phone shows me battery empty

what can be wrong?? all the settings in the kernel are set to default

Many Thanks
[Nexus 6  Original Android Development] MartinN6:
Please look for this app: "APOPHIS-KA-MOD-BUILD-V2.apk"

Than you will find the option to set SElinux permissive.
[Nexus 6  Original Android Development] flar2:
I discourage people using Kernel Adiutor, it causes me so many support headaches with all its incorrect settings.

There are far better ways to set selinux permissive, For example, by using the script manager in EX Kernel Manager.
[Nexus 6  Original Android Development] spiral777:
Selinux

Thnx, terminal emulator worked too

Su

Setenforce 0
[Nexus 6  Original Android Development] LordDeath:
I use your EX Kernel Manager for everything but the Low Memory Killer. Kernel Auditor provides some sane profiles which don't interrupt any important background tasks but they are my most successful way to prevent slowdown even after several days of uptime.

Having some predefined profiles and in-app explanations for every LMK value would really be nice in your app.
[Nexus 6  Original Android Development] rignfool:
Wow... You like those lmk profiles?

Those profiles are designed for like 512 MB of RAM... And very small apps...
[Nexus 6  Original Android Development] LordDeath:
With the default settings my device becomes unusable during high memory pressure:

It seems like the stock LMK settings are too relaxed and instead the runtime is calling the GC as a last resort. But there is nothing to clean up so the runtime calls the GC again. This means that before the LMK kicks in the device is already GC-thrashing. In practice this means that below ~300 MB free RAM I have constantly a high CPU usage and the device needs several seconds to respond to any input.

With Kernel Auditor's "aggressive" profile I stay above 500 MB free RAM and the device never starts to lag.
[Nexus 6  Original Android Development] rignfool:
Try this...

Reset your lmk values... So you're back to stock... Since you're the only one I've heard this from...

Go into virtual memory settings... Looking for VFS Cache pressure...

Turn it up... All the way... Either 120 or 150... Whichever your app will let you set...

That should stop the lags you're referring to without having all that free wasted ram...
[Nexus 6  Original Android Development] LordDeath:
I don't see how vfs_cache_pressure is relevant here: https://www.kernel.org/doc/Documentation/sysctl/vm.txt

Compared to real GNU/Linux systems my phone has only a small filesystem and adjusting this value seems inappropriate.

Also all that free RAM is not unused all the time. According to the different LMK values I can still assign lots of RAM for my active foreground apps.

These are my current settings (right thumbnail) after a few days of runtime and the default LMK settings (left thumbnail) after a fresh reboot:
[Nexus 6  Original Android Development] H4X0R46:
Anyone try this yet with the new June image posted? If it breaks sound again, I'll wait for a kernel update.
[Nexus 6  Original Android Development] flar2:
Update!!!

Download (Nougat)

ElementalX-N6-4.22

Changes:

-June security update
[Nexus 6  Original Android Development] jayadev01:
Wow thats awesome... thanks a lot [MENTION=4684315]flar2[/MENTION]. downloading it right away to update my kernel. Awesome work!
[Nexus 6  Original Android Development] H4X0R46:
Ah, that answers my question! Thanks! You're always so damn quick with these updates, it's shocking lol GREAT WORK!
[Nexus 6  Original Android Development] magnamentis:
all up to you and it's everyone right to choose from various choices but one thing i have to add here for less experienced users:

a) it's very risky to use more than one kernel tweaking apps, one has to switch everything "on boot" off on the secondary KTA to avoid issues

b) due to some defaults settings that can interfere the above precaution is often not sufficient, not saying anything about KA just in general.

so if someone is not very experienced in troubleshooting and/or does not have the time for thorough troubleshooting it's not recommended but as

mentioned initially, it's possible and each to his own while the profiles you mention are quite extreme ones and hence certainly are a way to reduce

memory usage and eventually current. the question is whether it's a good idea for many (individual choices are always legit ) to some how

cripple a modern powerhouse into a below 1GB ram state from 2011 and earlier LOL
[Nexus 6  Original Android Development] joeyfong:
[MENTION=4684315]flar2[/MENTION], can you consider again for adding f2fs support?
[Nexus 6  Original Android Development] BigM69:
I'm still running marshmallow cyanide ROM, with elementalX. Would there be any chance that maybe you could slide a SeLinux mode changer into the updated version of EX when ever you update the kernel. Just an option would be nice, just in case. I was trying to install viper4android and my kernel is Enforcing, I'm pretty sire it needs to be permissive. I tried using SeLinux mode changer but I kept getting a pop up window saying that this app is dangerous, so I uninstalled the apk because I got sick of that pop up popping up all the time. If anyone has another way to change to permissive I'm all ears. Just a thought. Can I edit the build prop I think there is a '1' in the SeLinux mode in build prop. What if I changed it, to 0 or 2.
[Nexus 6  Original Android Development] flar2:
You shouldn't run with selinux permissive.

If you really need to, look around for the permissive.zip I posted
[Nexus 6  Original Android Development] magnamentis:
this has been a big topic over a year ago, i think google even pulled the app from the store because of the built in SELinux changer. hence if nothing has fundamentally changed (hasn't LOL) this is a no-go.

there are plenty of easy ways via terminal and/or via apps to change SELinux to permissive and back to enforcing, just look around (search and read) makes not much sense to search here and/or repeat the huge amount of info here.

EDIT: sorry, flar2's post was on the next page, hence the ninja and yes that was the official stance he took after the trouble he faced, an opinion which i don't share but that dose not matter here, i've not been enforced SELinux for more than an hour since it was enforced, on one hand some of my apps run or run better with permissive and then i "hate" anything enforced on me, it's my device and i decide and all this security stuff only serves the big players to make money IMO ( android pay etc. ) ok, not only, that's exagerated but my line of thinking is another one, all my many cards have an nfc chip and when i drop one nothing brakes. STOP i get carried away sorry, it's all said that matters here.
[Nexus 6  Original Android Development] BigM69:
With that being said, if I use the selinux mode changer apk, will it damage my device? And if its OK to use I would like to be able to somehow stop the annoying popup prompting me to uninstall the app.
[Nexus 6  Original Android Development] magnamentis:
no it does nothing bad to your device, i use that app from day one, just now that i'm running a rom with SELinux changer built in i have it frozen but there is nothing to fear as far as your device is concerned, don't worry :)

of course it's blocked from the app store hence i have it stored away as one of my third party apps that have to be installed separately, not via play store.
[Nexus 6  Original Android Development] BigM69:
Great news! I'm gonna re download the apk.
[Nexus 6  Original Android Development] MysticKing32:
Hey guys, do I have to go through aroma installer each time I want to test one of the default color profiles or is there a way inside the app I can test each profile? I paid for the app and think a way to select different color profiles would be a great addition.

More than likely I'm just missing it inside the app and it's already there lol.
[Nexus 6  Original Android Development] Pkt_Lnt:
EXKM Menu > Tools > Color Control

Press the + sign bottom right, then the "load profile" (file folder) for presets.
[Nexus 6  Original Android Development] MysticKing32:
You're awesome!

Thank you!
[Nexus 6  Original Android Development] Pkt_Lnt:
It has been there for as long as I have used EX and EXKM, close to two years.
[Nexus 6  Original Android Development] RandomPooka:
It's one of the less intuitive options in the app, as there's no text cues to guide you all the way there. Took me asking forever ago as well to finally get it.
[Nexus 6  Original Android Development] flar2:
I did turn on ambient display for a couple days and I don't think there is any difference using this kernel over stock. I'm pretty sure the feature is implemented in userspace, as the sensor libraries included in the system seem to interact directly with the firmware. So it's doubtful that I can adjust the sensitivity from the kernel.
[Nexus 6  Original Android Development] miketino:
In the elementalX app, it's coming up with installed kernel as 0.10 but then saying latest kernel 0.8, any ideas how to fix this and if it needs to be on my side or server side?
[Nexus 6  Original Android Development] Lancez:
Wipe app data from it's own settings
[Nexus 6  Original Android Development] miketino:
Tried it still doing it :(
[Nexus 6  Original Android Development] flar2:
Are you on Android 5.0? If so, please update to 5.0.1. I've stopped supporting 5.0 because I think that is why there were reports of instability a few days ago.
[Nexus 6  Original Android Development] miketino:
Aah that must be it, still waiting for wugfreshs toolkit to be updated. Cheers!
[Nexus 6  Original Android Development] paychex:
You could just do it manually. Fastboot the system image and the vendor image. Factory data reset in twrp. Wait forever for it to boot. Restore your apps from titanium. Be careful restoring data, especially /system data
[Nexus 6  Original Android Development] JoeJags:
Just go here......much easier.....Scrosler has posted a deencrypted 5.0.1 stock ROM......just flash from TWRP. You can dirty flash, if you are stock ROM right now. Just wipe dalvik and cache. Then reflash ElemX. Works awesome......

http://xdaforums.com/showthread.php?t=2980206
[Nexus 6  Original Android Development] simms22:
rastapop with elementalx kernel, at 3033mhz high/3033mhz low, ondemand/deadline.
[Nexus 6  Original Android Development] Circaflex:
what pvs are you simms? did you have to add any volts to be able to run through at 3ghz?
[Nexus 6  Original Android Development] DroidIt!:
OK, cool thanks for the answer. I'll go bug my local ROM dev then [emoji14]
[Nexus 6  Original Android Development] simms22:
im a 5. i dont have to add voltage to run at 3033mhz, but i do have to add voltage to run antutu and not have antutu crash on me, at 3033/3033 :angel:

i go from 1175mV to 1190mv at 3033mhz :)
[Nexus 6  Original Android Development] Johnny424:
One thing I noticed is I am able to undervolt a whole lot more 25-30mv to be exact with the new release. Well not sure if its the newest ex release or the update to antutu. Before I had to ov 5mv just to run 2700mhz. Now I am able to UV 30mv at 2700mhz. And run several benches and stability tests successfully with newest antutu update. Before it would reboot if it didn't like the amount of UV in conjunction with my clock speed
[Nexus 6  Original Android Development] Circaflex:
Those UV values are so minimal you aren't really going to even gain anything. Are you doing it to "save battery" or just to do it?
[Nexus 6  Original Android Development] t2noob:
Does anyone have .09 ? I deleted and I'm lagging really bad on .10 would like to have .09 looks like that was more stable.
[Nexus 6  Original Android Development] Johnny424:
I was only trying to play with antutus new update. I don't believe in UV. It has never shown benefits to me on any device. Just odd how antutu doesn't crash with larger UV now..
[Nexus 6  Original Android Development] flar2:
Whatever problem you were were having had nothing to do with the kernel. Unless you choose some very strange settings, you won't have lag with this kernel. Changes between 0.09 and 0.10 are minimal.
[Nexus 6  Original Android Development] t2noob:
Your kernel is the only thing I've changed and its the same exact settings I had on .09 something changed as soon as I rebooted had google launcher fc and everything is slow like typing etc. But I found a link to .09 so I give update after I flash it.

---------- Post added at 06:35 AM ---------- Previous post was at 06:31 AM ----------

Yep flashed .09 and I'm all good now no fc no laggyness so idk what to tell you...

Edit: I'm stock rooted no mods 5.0.1 and I'm unencrypted.
[Nexus 6  Original Android Development] drawde40599:
Same exact settings . What's that mean ? What did you change from stock kernel settings ?
[Nexus 6  Original Android Development] t2noob:
I'm OC to 2880000, I have double tap to wake on and sweep to left that's it. When I updated to .10 I was getting noticeable lag on everything typing, web browsing, and app drawer speed. Like I said stock, root, no mods at all besides the kernel, and that's the only thing I've changed today. But now I'm .09 and all is good again.

Edit: using elementalx governor
[Nexus 6  Original Android Development] Pkt_Lnt:
I'm one of those open every closet, every drawer, look for secret passages kind of person. I poke *everything* I can find or think might open a hidden feature in everything I get. :D
[Nexus 6  Original Android Development] mldiroff:
I know this has been an occasional issue in the past, but flashed this over Pure Nexus June and the sound is gone. I forgot - that's a PN issue?

Edit: nvm, flashed 4.17 1st. After flashing 4.22, all is well. *facepalm*
[Nexus 6  Original Android Development] ax562:
Does this fail hash check for everyone (v4.22)?

Edit: nm wrong md5
[Nexus 6  Original Android Development] BigM69:
Is the marshmallow EX kernel have permissive option?
[Nexus 6  Original Android Development] magnamentis:
no, at least not if you mean whether there is a toggle in the app. if yo mean whether it works in permissive mode, of course, i never have and had anything else but SELinux in permissive.

usually i'm using a rom with the toggle but you can switch via an app as well with a terminal command
[Nexus 6  Original Android Development] BigM69:
Yeah a toggle would be nice. Im running cyanogenMod 6.0.1 and in the developer options there is a toggle to switch from enforcing to permissive but every time i click it it says says unfortunately settings has stopped and it kicks me out of dev options. I had been using the old selinux mode changer but I get a notification of harmful app and I can't swipe it away so I just uninstalled the app. How do I change from enforcing to permissive using terminal emu. Can I use a terminal em app from the play store? Thanks for answering my question.

---------- Post added at 12:45 AM ---------- Previous post was at 12:42 AM ----------

I don't know if the dev will be updating EX kernel for MM or not and I'm not brave enough to ask lol. But if by some chance he does throw out a MM update of EX a permissive toggle would be awesome. Unless of course I can use terminal emu app.

---------- Post added at 12:47 AM ---------- Previous post was at 12:45 AM ----------

Sorry for quoting you twice with the same thing.
[Nexus 6  Original Android Development] BigM69:
I figured out how to change from enforcing to permissive using terminal emu. Only thing is after boot it goes back to enforcing. Looks like there is a way to fix that, but I will have to change a few things..
[Nexus 6  Original Android Development] rignfool:
su

setenforce 1 (enforcing)

or

setenforce 0 (permissive)
[Nexus 6  Original Android Development] BigM69:
Thanks, I'm trying to figure out how I can keep it in permissive after boot.
[Nexus 6  Original Android Development] flar2:
You can run scripts at startup with ex kernel manager
[Nexus 6  Original Android Development] BigM69:
Deleted