[KERNEL] [January 29] ElementalX-N9 5.17 (Nougat) 7.03 (Oreo)

TenderloinShadow

Senior Member
Dec 30, 2011
392
91
0
2 questions:

Is this kernel only for AOSP ROMs like CM, AOKP, Liquid, etc, or will it work with the factory image ROM that came with the device?

The 2Amp charging, is that enabled by default or do we have to do something after installing the kernel on our device?

Thanks.
 

flar2

Recognized Developer
Jun 11, 2012
18,441
87,145
263
Southwestern Ontario
elementalx.org
2 questions:

Is this kernel only for AOSP ROMs like CM, AOKP, Liquid, etc, or will it work with the factory image ROM that came with the device?

The 2Amp charging, is that enabled by default or do we have to do something after installing the kernel on our device?

Thanks.
I always use the stock ROM, so it will always be compatible with stock. It should work with custom ROMs too, as long as they aren't doing strange and usually unnecessary things that break compatibility.

2A charging is automatic if you have a charger that delivers more than 1.5A. No action necessary.
 

flar2

Recognized Developer
Jun 11, 2012
18,441
87,145
263
Southwestern Ontario
elementalx.org
I'm not going to set selinux to permissive. It's the user's choice to run permissive if they want, but I strongly discourage doing so. I would be very careful with ROMs that mess around with selinux settings. From what I've seen, not a lot of people know what they're doing when it comes to selinux. It's fairly complex, and I personally don't see any good reason to deviate from the stock selinux policies.

selinux is an essential part of Android, we need to get used to it.

Issues like this might be fixed in a future release, if I start injecting the kernel into the existing ramdisk during installation.
 

paychex

Senior Member
Aug 10, 2013
1,286
521
0
Baltimore
Now that i don't know

I would recommend that you set selinux to permissive
For the time being
Why?

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

I'm not going to set selinux to permissive. It's the user's choice to run permissive if they want, but I strongly discourage doing so. I would be very careful with ROMs that mess around with selinux settings. From what I've seen, not a lot of people know what they're doing when it comes to selinux. It's fairly complex, and I personally don't see any good reason to deviate from the stock selinux policies.

selinux is an essential part of Android, we need to get used to it.

Issues like this might be fixed in a future release, if I start injecting the kernel into the existing ramdisk during installation.
This!
 

flar2

Recognized Developer
Jun 11, 2012
18,441
87,145
263
Southwestern Ontario
elementalx.org
well i just thought
you guys would want to test out some ROMs
wile they fix there selinux bugs
but guess not
Should not have to disable selinux to use ROMs. I probably just have to reuse their ramdisks to make it work. But still, I'm not sure why they need to deviate from stock selinux policy. It's been causing me big problems with my app too.
 

D-m-x

Senior Member
Apr 28, 2011
1,700
776
143
Germany
One guess is for Viper for Android to work. It is integrated in a few Roms.
At least in the Nexus 6, on the N9 only Liquid Smooth has it afaik.
 

oRAirwolf

Senior Member
Jun 17, 2010
523
218
0
Denver, CO
I am not sure why, but I cannot get this kernel to work with my N9. I am running the craigcgomez ROM and every time I flash any version of this kernel, the device just bootloops. I can install the FireIce kernel with no problems, tho.
 
  • Like
Reactions: ChristianJay

flar2

Recognized Developer
Jun 11, 2012
18,441
87,145
263
Southwestern Ontario
elementalx.org
It looks like all the thermal stuff can be controlled by changing stuff in /sys/class/thermal/

But there are tons of settings there. I have no idea how it all works.



This one corresponds to the tskin temperature that is enabled on this device:
/sys/devices/virtual/thermal/thermal_zone7/trip_point_0_temp

But there are a bunch of other trip points, I don't know which ones specifically are associated with the cpu and gpu.
 
  • Like
Reactions: mrshades812

mrshades812

Senior Member
Sep 16, 2010
1,490
869
0
Las Vegas
It looks like all the thermal stuff can be controlled by changing stuff in /sys/class/thermal/

But there are tons of settings there. I have no idea how it all works.



This one corresponds to the tskin temperature that is enabled on this device:
/sys/devices/virtual/thermal/thermal_zone7/trip_point_0_temp

But there are a bunch of other trip points, I don't know which ones specifically are associated with the cpu and gpu.
To be honest, I won't use any throttling adjustments, personally. This thing scares the crap out of me when it heats up. Hasn't happened in a while, but I'm good with moderate tweaking.

Sent from the future...
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone