yashsingh1/xdaforums huggingface dataset:
[Android One (First-Generation) Cross-Device Origin] nageen9211:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/

Dark One kernel is Based on ThunderZap kernel By [MENTION=4309448]varunchitre15[/MENTION]

I just patched it for nougat.

ALSO COMPATIBLE WITH LP/MM

the features of kernel are

Insecured

adb runnable as root

ThunderSonic Sou[/COLOR]nd Control Engine

ThunderCharge Fast Charge Driver

ThunderPlug CPU Hotplug replacement

WiFi Power management control

Full GPU control

DoubleTap2Wake and Sweep2Wake

Dynamic Fsync Control

Improved filesystem mounting flags - NOATIME and NODIRATIME

ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators

Huge update to kernel.org mainline 3.10.89

init.d support

Automatic busybox installation

Disabled Gentle fair sleepers

Enabled arch power

Optimizations to SLUB memory allocator

Patches to block and mm to significantly improve ssd IO performance.

Dynamic entropy setting based on usage

Dynamic management of dirty page writebacks

block: Added SIO IOScheduler

block: Add BFQ IOScheduler

block: Add fiops scheduler

cpufreq: ThunderX power saving CPU governor

fs: added Samsung's F2FS support

Reduce logger device RAM allocation to 128K

Set MM Linux read ahead size to 256K

Patches from upstream to optimize memory writeback

Disabled CRC check in MMC for 30% extra performance with IO

Reduced VFS cache pressure for better battery

Optimized square root algorithm

Governors enabled: ondemand, interactive

Speedup /proc/net/unix interface access

Mali GPU cache Optimizations

Mali: Increase L2 cache max read size

Mali: Disable state tracking

Mali: Reduce GPU utilization timeout

Mali: increase kernel memory buffer size

Aggressive multicore power savings

ARM: Cortex A7 compiler optimizations

MTK: removed HUGE HUGE trail of stupid MTK kernel logging

ARM: Removed various debug traces

DOWNLOAD LINK

Dark One 1.0

Dark One 1.1

INSTRUCTIONS

just flash the zip file from the recovery

and njoy.

Credits and thanks to:

Varun Chitre

Arun Kumar for helping me in building this

Version information:

Status: Statble

Version: 1.0

Created on : Jun 6, 2017
[Android One (First-Generation) Cross-Device Origin] Utkarsh Tiwari:
Nice to see the growing development for sprout..:)

Awesome work [MENTION=6956365]nageen9211[/MENTION]
[Android One (First-Generation) Cross-Device Origin] nageen9211:
yes..it is compatible with LP/MM/NOUGAT
[Android One (First-Generation) Cross-Device Origin] sumeet240:
Loved it. Can you plz patch Zeus Kernel 6.0 for Nougat too ? It would really help me. Zeus 6 is my fav kernel.
[Asus ZenPad 10 Questions & Answers] johnnyt76:
hi@all,

is anybody aware of lineageos development for the ASUS ZenPad 10.0 LTE ZD300CNL?

It's quite nice as is but it could be so much better running lineageos.

cheers,

JohnnyT
[Xiaomi Redmi Note 4 Questions & Answers] dev_ant:
I'm in a dilemma between Moto G4 Plus and Xiaomi Redmi Note 4.

In every single detail I like Redmi Note 4 better except for camera and Software. The camera difference is not an issue for me but software is.

1. Moto provides stock android which I love very much due to its simplicity and stability.

2. I find MIUI annoying.

So, I'd like to know if there is a stable ROM that can give me stock android experience on Redmi Note 4. If there is such a ROM,

1. How stable is it? Can it be at par with the software experience stock android on Moto G provides?

2. Performance of the ROM compared to factory
[Xiaomi Redmi Note 4 Questions & Answers] itsmedRb:
Try Lineage AEX, RR, AICP (last three are official)

minor bugs are there: yello flash light, slow motion camera not working but lightweight faster AOSP stick rom.

I have not tried yet Slim (official) also better!
[Xiaomi Redmi Note 4 Questions & Answers] Noter2017:
Every custom ROM will give you bugs and a decrease in camera quality.

You can try a debloated version of MIUI from xiaomi.eu with a custom launcher like Nova.

Here is how it looks my phone
[Xiaomi Redmi Note 4 Questions & Answers] Spukey:
I had the same reservation about switching to a Miui phone.

However, I run stock Miui rom with Nova Launcher and could not be happier.

Stock rom provides stability and no deterioration to camera, Nova provides stock Android experience.
[Xiaomi Redmi Note 4 Questions & Answers] arunhebbare:
My personal experience suggests that no custom built rom is bug free. Try to use the rom provided originally by the manufacturer and modify it to suit to your needs by changing the launcher. I toggle between Google and Nova launcher as per mood. However you need to suitable turn on the auto wake functions for some widgets like the digital clock (need to download separately), notification badges etc.

Yes I do wish that Xiaomi should give the option of choosing either a stock android rom or its Miui rom. My personal preference would be the simple, but effective stock android rom (I base this on the experience of Moto g3 I had previously. In retrospect I am amazed the way motorola has integrated the software and hardware so effectively. Despite of high ram and octa core processor, I am disappointed by the software + hardware performance of the note 4, even my wife complains about the software and speed of the MI Max she has after shifting from the Moto X Play)
[Xiaomi Redmi Note 4 Questions & Answers] aabenroi:
Problem like yellow flash, slow motion DOES exist on MIUI rom...

The latest stable MIUI rom is very problematic for so many users, many find gps sucks, battery sucks, device lags, etc after the update...

I never got this issue when using AospExt, LOS or PA.

for me... MIUI sucks, period...

I would not buy xiaomi device if there is no option for other ROMs like LOS, RR, PA, etc...
[Xiaomi Redmi Note 4 Questions & Answers] schlagg:
:confused:

bugs? seriously ? I have like 0 bug with LOS

And try using google camera instead
[Xiaomi Redmi Note 4 Questions & Answers] gedggd:
i have to agree, tried a lot of roms, most of them have mobile data problems to me (not working) now im on miui 9 and erased a lot of crap, and it works great, battery is amazing, im getting every notification so no problem there, and camera is working fast. in custom roms camera is terrible to be honest, :)
[Xiaomi Redmi Note 4 Questions & Answers] dirn.intg:
I used Moto G before and really love vanilla android provided by Motorola. The moment I got my RN4, I try to adapt with MIUI. However, I'm getting a lot of gps issues while using it. I end up switching to Slim rom which give me almost the same experience that I had with my old Moto G.

Plus note, no gps issue when using Slim rom. Working as expected.
[Xiaomi Redmi Note 4 Questions & Answers] Andyï¼Œxu:
The advantage of redmi note4x is that it's a good battery. The battery capacity of 4000 mah is very large. And the qualcomm snapdragon 625 processor is a 14nm process, so the heating life is really strong. But there are drawbacks: the camera and the level of photography are not mediocre; Screen quality is general. Using long eyes can make you feel uncomfortable. I don't know if that's the case, but at least my phone is. Finally, the MIUI system is very bloated. If you like native android, I suggest you buy the MOTO. But note4x is a cost-effective option
[Xiaomi Redmi Note 4 Questions & Answers] Ekril:
So you are on a rom which doesn't have yellow flash problem?
[Xiaomi Redmi Note 4 Questions & Answers] schlagg:
Its not a bug for me.

I'm not focused on this. Photos and videos quality are sufficient for an occasional use.
[Xiaomi Redmi Note 4 Questions & Answers] chorba69:
How do you get every notifications?

I clean flashed the last global rom and I have feeling, that I still dont get all the notifications instantly.

Whatsapp/Messenger works, but apps like eBay, forums etc. seem not to work every time.

Have you made any changes to apps, or you made some battery saver modifications or something?
[Xiaomi Redmi Note 4 Questions & Answers] gedggd:
well i wiped everything, then flashed miui9 latest beta, rooted, installed titaniub backup, deleted all the miui crap, like mi cloud, mi account, and so on.. and im using it right now, i dont feel like im missing notifications (im not using ebay app or forum apps...), battery is great, im happy
[Samsung Galaxy Tab S3 Accessories] arianii:
Hello guys, im not having a Tab S3 skin yet but im about to get one. I'd like to get some inspiration here :) show your skins and list the link to it.
[Samsung Galaxy Tab S3 Accessories] bimmerboii:
Not so many skins are available for the Tab S3. Bought a Skinomi brushed metal skin and installation was a pain. The skin isnt a perfect fit on our device, its like 1mm short on all sides. This resulted in me removing and reapplying the skin multiple times. The skin has stretched because of this and looks really bad on the tab. I asked skinomi for a refund because their product isnt cut perfect, but they didnt refund me and sent me another one. Didnt bother installing the new one as the product is flawed. This is really bad on skinomi's part.
[Note Edge Q&A, Help & Troubleshooting] shoiebarshad:
Hi All,

i am facing a problem with my galaxy N915A, if i put the sim card in it, it freezes and reboots randomly. but i remove the sim card it starts working fine.

i am using an unlocked version in saudi arabia. i have tried multiple firmware both Lollipop and marshmallow.
[Samsung Galaxy J2 Questions & Answers] gradd:
hey xda, i badl
[Xperia Z2 Q&A, Help & Troubleshooting] vollachr:
Hi,

I recently moved from my old Xperia Z to the Xperia Z2 that I got from my brother after he upgraded, anyway, everything seems to work fine except the WiFi, it initially working fine after turning the phone on, then, after a random amount of time it will just freeze, meaning it still shows as connected but no matter which network I connect to, there's no Internet connection in any app, while at the same time other devices have no problems, tried disconnecting and reconnecting to a network, even turning the WiFi off and the on again, nothing helps until I reboot my phone.

After rebooting it starts to work again, till the next time it happen, so far it happened up to 3 times a day, it's really frustrating.

My phone is running the latest Marshamallow 6.0.1, build version 23.5.A.1.291, using a pre-rooted ROM, Locked bootloader if it even matters.

Any ideas how to solve the problem?

Thank you.
[Xperia Z2 Q&A, Help & Troubleshooting] darknessmc:
You can start with flashtool 0.9.18.6 and flash data again.
[Xperia Z2 Q&A, Help & Troubleshooting] vollachr:
Thanks for the reply but...

Well, OK, it seems the problem isn't exactly as I first described. It seems only some apps looses Internet connectivity, while others continue to work fine, for example, I can surf the Internet in Google Chrome or play games like top eleven that requires Internet connection while at the same time I lose connectivity in social networking apps such as instagram, twitter and Facebook, sometimes also other apps (aliexpress for example).

Once again though, seems only a reboot helps. Weird, isn't it?

Anyone got ideas?
[Galaxy S6 Android Development] minealex2244:
FAQ

1. Screen mirroring is not working. Is it kernel related?

No. It is root related. Just add this to your /system/build.prop :

wlan.wfd.hdcp=disable

2. Bootloop with stock/stock-based ROM.

Did you flashed SuperSU or Magisk again? Maybe you were rooted before and you need to reflash root. Pay attention to OP instructions and to the text printed in recovery.

3. Thank you for this kernel.

But can you please help me to get surround sound on my S6?

Sure. I'll attach here a mixer_paths.xml file modded by [MENTION=6114446]AlexisXDA[/MENTION] but boosted by me for a perfect surround sound volume. All the credits are going to this developer.

To use it, download the attachment, go to /system/etc and rename the existing mixer_paths.xml to mixer_paths.xml.bak then copy the new mixer_paths.xml and change the permissions to rw-r--r-- or 0644.

It won't damage your earpiece so keep calm ;)

Features:

- louder than stock

- left and right channels

- better for utilisation in landscape

To download on mobile just use Chrome, long press on attachment and click "Download link".

4. How to enable multiuser support?

Add these to your build.prop:

fw.show_multiuserui=1
fw.max_users=5

5. Synapse is saying:

Note: Before proceeding with the following stuff, please flash my kernel package again.

- "No UCI support" → Close the app from recents and open it again. If still no UCI support then PM me with the output of this command: uci (run it with su permissions).

- "JSON configuration parsing failure" → Using a file manager go to /res/synapse and delete a file named "config.json", close Synapse then open again, UCI error, reopen and done.

- The apply and discard buttons appeared for no reason. Which one should I click? → Click "X". This is a bug in Synapse.

- Is there a mod for Synapse? → Yes, Morogoku worked on it and I modified it a little bit to match our kernel and I built it. Get it from the attachments below. All the credits are going to Morogoku. It features backup/restore profile option and a red material theme.

6. Where to install BusyBox? In /su/xbin or /system/xbin. I'm using SuperSU and Synapse is working perfectly. After each boot up I highly recommend you to check the Synapse settings, especially CPU OC to see if everything is ok.

7. How to build your kernel from source?

After you git cloned it, open terminal in the root of the cloned folder and enter this: "sudo bash build_kernel.sh G920F" (or your model). Choose stock dt.img during building process.

8. AOD is broken! I know, sorry. Maybe in one day I'll fix it somehow. While playing music it won't reboot but when not playing any music it will reboot. Also touchscreen isn't working in AOD mode. Use this app to get a working AOD.

9. XYZ not working. PM me with logs and screenshots.

10. Battery issues? Check this post.

11. Is there any LOS/NX 14.1 version of this kernel?

Yes, here.
[Galaxy S6 Android Development] boxxomrun:
for g920f ?
[Galaxy S6 Android Development] enzospain:
StockRomLite (920F) bootloop
[Galaxy S6 Android Development] minealex2244:
Yep. Forgot to include it in OP. :)
[Galaxy S6 Android Development] minealex2244:
It requires stock 7.0. Not compatible with custom ROMs. Late edit: maybe?

Ultra late edit: Compatible with custom ROMs.
[Galaxy S6 Android Development] enzospain:
it's based on stock XEF 7.0 :(
[Galaxy S6 Android Development] minealex2244:
It should work with other regions but some devs implement features in their ROMs and that requires a custom kernel built specifically for that ROM.
[Galaxy S6 Android Development] Noxxxious:
:confused:
[Galaxy S6 Android Development] C0qRouge:
What is stock? You may add a definition in OP.

do you mean non TouchWiz roms like lineage rom, or do you mean stock Samsung roms?
[Galaxy S6 Android Development] minealex2244:
I mean I have feature X which needs some "help" from kernel so I implement Y in kernel for X to work successfully​ (where X is an important feature in system).

If you switch to another kernel which doesn't have my Y implement you can end up in a bootloop.
[Galaxy S6 Android Development] minealex2244:
Stock is official Samsung 7.0
[Galaxy S6 Android Development] AndsXDA:
Question please:

Odex Lite Rom by Aria. A97 its only debloated. Its based on DBT, i read in previous posts that you got a bootloop on 920f ?!

Any chance to make it works?

Greetz
[Galaxy S6 Android Development] minealex2244:
Not working with Odex Lite.
[Galaxy S6 Android Development] minealex2244:
Updated OP and post #3.
[Galaxy S6 Android Development] Noxxxious:
I dont know where you got this info from, but all N custom kernels out for the S6 are already permissive. You need to edit straight from the source instead of a script in ramdisk to setenforce 0 or whatever method you tried.

Here is the commit for permissive

https://github.com/Noxxxious/Noble/commit/6b9874de78d0527aef0fdd0d1b9f342c27e8a21a

And this one tells userspace that you are enforced, while actually it is permissive

https://github.com/jesec/android_ke...mmit/81315fbbde4cdd1581f0e2de237df04d175d3931

After editing your source, you should provide a link with your source code.
[Galaxy S6 Android Development] minealex2244:
Thank you! I also planned to share my changes for further contributions. After I make the changes I'll include you as a contributor. :)

I wanted to use the same thing (force permissive SELinux) because my first try was not including it.
[Galaxy S6 Android Development] Aria.A97:
Do you guys also flash SuperSU or Magisk after flashing the kernel on other roms?
[Galaxy S6 Android Development] minealex2244:
Yes.

I don't know if flashing this kernel on other ROMs will work (of course, after I fix the bootloop after reboot). I wonder if AnyKernel will help to use it with other ROMs. Also I plan to add SuperSU auto root but maybe others will use Magisk so this is just an idea.
[Galaxy S6 Android Development] dim-soft:
Please add support

1) DriveDroid - CD emulation

2) USB keyboard from pelya
[Galaxy S6 Android Development] minealex2244:
I will add them but don't we already have USB keyboard support?
[Galaxy S6 Android Development] pedramzareai:
can you add duble tab with save power??
[Galaxy S6 Android Development] MrInokenty:
Can you please add iptables ttl support or compile module and upload to me?

[IMG="config"]https://habrastorage.org/files/28d/7fe/031/28d7fe0312a248e4b77e8601901797ab.png[/IMG]

[IMG="config2"]https://habrastorage.org/files/a29/df9/4d0/a29df94d0c6a4926ba0343422717d2d9.png[/IMG]
[Galaxy S6 Android Development] Sm0k3r83:
No call audio with 925w8
[Galaxy S6 Android Development] minealex2244:
I will build a separate version for your model.

Interesting, I'll see what I can do.
[Galaxy S6 Android Development] Sm0k3r83:
:good:
[Galaxy S6 Android Development] muhammedali:
Can u add for s6 edge + g928f please
[Galaxy S6 Android Development] minealex2244:
S6 edge is already supported! I won't add support for the plus model, sorry.
[Galaxy S6 Android Development] muhammedali:
K no probs thanks
[Galaxy S6 Android Development] kearlsaint:
Just tried this kernel and I'm getting 3-4 hours sot with online games and I'll probably get more than 5 hrs sot on normal usage!

Stock kernel usually heats up my edge and I only get around 2-3 sot(it's old). Also, it was probably because the cores went up to a full 2.1ghz..

Anyway, I used kernel adiutor and set the max clock speeds to around 600mhz to 1200mhz, and whooo -- a huge battery saver w/ minimal perf degradation (imo; it may be a total degrade in perf for some).

Thank you :)
[Galaxy S6 Android Development] minealex2244:
Do G920W8 have any in-call issues while using my kernel? I want to know if to add separate support for it or not.
[Galaxy S6 Android Development] slipmat100:
SM-G925F here, using the BRx S8+ ROM at https://sites.google.com/view/brxgeneral/brx-nougat-s8

Flashed your Edge v2.7 and it's running silky smooth, very nice, no issues so far in past few days, many thanks for your work and for support of the Edge. :)
[Galaxy S6 Android Development] Ace1652:
I tried out this kernel with the Gold Eagle Rom, and I didn't have in-call audio on a G920T.
[Galaxy S6 Android Development] minealex2244:
No support for T and W8 yet but I think that in the next minor update I'll add it.
[Galaxy S6 Android Development] Ace1652:
Okay, thank you for letting me know. I'll be sure to use this kernel, if you add the support.
[Galaxy S6 Android Development] minealex2244:
I planned this for tomorrow. I hope I'll do it :D v2.8 should add different supports.
[Galaxy S6 Android Development] minealex2244:
OP and changelog were updated. Also v2.8 is out... on Android File Host, currently for G920F/I (I'll later build for G925F/I and G920T and hopefully for G92xW8). There is nobody with G925T so no priority for it.
[Galaxy S6 Android Development] bercker:
What about noble 4.5.2 rom? Does it work for it?
[Galaxy S6 Android Development] erghetto:
Which app can we use to manger kernel settings?

And on which kernel date is it based? In op i read xef firmware, but which date?
[Galaxy S6 Android Development] Sm0k3r83:
Waiting on the 925w8 build :laugh:
[Galaxy S6 Android Development] minealex2244:
The kernel date doesn't matter as Samsung is only adding security patches (which I don't want). Also the app is Kernel Adiutor (I mentioned it in OP).
[Galaxy S6 Android Development] erghetto:
oh yeah you're right, i missed that part. thanks!

edit: [MENTION=6371648]minealex2244[/MENTION] i have installed it on stock rom and battery has dropped from 52% to about 40% after reboot. is it normal?

oh and wifi forgest password, but i know what to do here
[Galaxy S6 Android Development] minealex2244:
It won't forget the passwords from now ;) Also that battery drain is just because of TWRP.
[Galaxy S6 Android Development] drnjstj:
Bluetooth issue

Love your kernel! It is really good!

I'm running NNE 4.5 and can't get Bluetooth to work.
[Galaxy S6 Android Development] minealex2244:
What about WiFi?

Edit: I think that the issue is happening because of ROM Control.
[Galaxy S6 Android Development] Fishawy:
Battery drain is because of TWRP? Can you please explain?
[Galaxy S6 Android Development] minealex2244:
TWRP will use a lot of power to do different tasks so there we have a bigger battery drain.
[Galaxy S6 Android Development] drnjstj:
I didn't install the Rom control.

For WiFi I needed to re-enter my password.

Maybe 4.0 would work then?
[Galaxy S6 Android Development] minealex2244:
Yes.
[Galaxy S6 Android Development] minealex2244:
G925F/I and G920T builds are up. Check them out on AFH. See OP.
[Galaxy S6 Android Development] Chrisaa63:
Up and running beautifully as usual! Cheers dude!
[Galaxy S6 Android Development] minealex2244:
Thank you. Which model do you have? :)
[Galaxy S6 Android Development] Chrisaa63:
925F
[Galaxy S6 Android Development] PlusFK:
im using 925w8 vote for you :D
[Galaxy S6 Android Development] Sm0k3r83:
Still no version for 925w8
[Galaxy S6 Android Development] minealex2244:
I didn't have time to build it. G92xW8 and G925T are still waiting for building.
[Galaxy S6 Android Development] bercker:
I installed on noble 4.5.2...no bluetooth problem, but always on not working...for the rest all is good
[Galaxy S6 Android Development] minealex2244:
Yeah I didn't added AOD support. I guess I need to add it to not break any features there ;)
[Galaxy S6 Android Development] bercker:
Yes if you can please xD...but if you do i need to reinstall kernel or there is ota updater ;)?
[Galaxy S6 Android Development] minealex2244:
You need to reinstall it. It is a kernel. Subscribe to this thread to be informed.
[Galaxy S6 Android Development] bercker:
Okok thanks a lot
[Galaxy S6 Android Development] drnjstj:
I've installed a different kernel before I've installed this one. Did you do a clean install?
[Galaxy S6 Android Development] bercker:
Sincerly not, i had only a little issue to install root, but for the rest all works
[Galaxy S6 Android Development] Se7Touch:
thanx man its best kernel for s6 edge your subsucribed :D
[Galaxy S6 Android Development] minealex2244:
Any feedback? The build for G920T is up and as you requested it I want some feedback. Did it fixed the in-call issue?
[Galaxy S6 Android Development] Ace1652:
Yea, sorry my plan ran out yesterday, and I had to wait until today to pay it. I flashed it and there is in-call audio now, it seems that was the only issue I was having. Great kernel, man :)
[Galaxy S6 Android Development] minealex2244:
Thank you :D Finally it got fixed. Don't forget to subscribe to the thread. ;)

For those of you with G92xW8: I don't have so much time to build for it (only this day and the next day are affected) but I hope that Monday I will build for it.
[Galaxy S6 Android Development] apieschapie:
Tried this kernel 3 times with golden eagle, on g920i but it will only restart in twrp, if I restart it will bootloops ones and than it will restart and starts with twrp.