yashsingh1/xdaforums huggingface dataset:
[Moto E Original Android Development] Daman5202:
Init.d supported? Please let me know if its supported
[Moto E Original Android Development] Daman5202:
Hey, it fully depends upon you how you use your device, if youre a heavy games user, you can set cpu, gpu frequencies to maximum, can change the governers to performance, I am not a heavy gaming user, I play lite games and do Internet browsing and I'm getting pretty nice battery backup and a multitasking performance here are my settings I done with kernel adiutor:

Cpu frequency: max while multi-task and lite gaming and 600Mhz when not using the phone(you can create profiles according to usage)

Cpu governer: Nightmare

Gpu governer: conservative

Dpuble tap 2 wake: disabled

Power suspend mode: lcd panel to keep running the background tasks, and sleep mode to stop the cpu to use power while screen is off (in sleep mode cpu will go to sleep in fraction of seconds after the lcd is turned off), sleep mode is like a powerful battery saving mode, with cpu frequencies set to 300 mhz and autosleep mode on, you can save enough battery, however with this frequency the device will lag.

Thumbs up if it helped you :)
[Moto E Original Android Development] Shashank Angala:
best multitsaking performance and efficient battery life

i really need best multitasking performance along with efficient battery life without any lag....... and yes i am not a gamoholik by the way...

i don't want to keep load on adreno 302(as i am using moto e xt1022) as i play only one game and that is "PLAY MAGNUS" chess....

so ,now let me know the settings...

thanks in advance Daman5202 ....
[Moto E Original Android Development] Daman5202:
I already told you my settings, do try it
[Moto E Original Android Development] soaringowl2145:
Personally I use smartassH3 as my cpu governor with noop as the I/o governor. Device does not lag and gets great standby time. I once left it alone for 9 hours and it only drained by 2%. These are the only settings I changed and get great battery.
[Moto E Original Android Development] Shashank Angala:
thank you

i tried and it did help me thank you Daman5202.....can we install 3 zip's at a time i mean(cm14.1+gapps+clarity kernel).....are there any

problems installing this???
[Moto E Original Android Development] herloct:
Yes you could, using TWRP.

I usually doing that, flashing 3 zip in a queue (cm + clarity n + gapps)...
[Moto E Original Android Development] Daman5202:
Click thanks then :) and yes you can flash many zips at a time.
[Moto E Original Android Development] Shashank Angala:
Battery Life of Moto e xt1022

Can Anyone post battery life of moto e with clarity kernel(no kernel adiutor customizations) and without clarity kernel(only cm14.1)
[Moto E Original Android Development] apurav.812:
Really loved this kernel . getting on screen time of 4 to 5 hours. One request could the USB fast charge option be added in the next build?
[Moto E Original Android Development] soaringowl2145:
I am experiencing fast battery drain once the battery reaches 30 percent. Is this a problem with this kernel or a CM 14.1 issue?
[Moto E Original Android Development] rainforce279:
squid2 already explain this (usb force fast charge) is unsafe way.

specification and potentially damaging USB ports.

see full quote by squid2 https://xdaforums.com/showpost.php?p=63290462&postcount=36

and eng.stk https://xdaforums.com/showpost.php?p=63291177&postcount=37

so why i not add this feature ;)

i'm not yet testing this kernel to cm 14.1 but in aosp 7.1.1 like aosp-extended battery seem improvement,

if you using dt2w version make sure if you leave your phone or while not used, the proxy sensor is covered or simple get in your device to your pocket it will save battery.
[Moto E Original Android Development] apurav.812:
I'm using resurrection remix 5.8.0 with clarity kernel, not facing this issue
[Moto E Original Android Development] spandey65:
[MENTION=5250109]rainforce279[/MENTION], what setings would you recommend in clarity kernel for a Phone which is mostly idle, being used for making calls and ocassional Whatsapp? Thanks.
[Moto E Original Android Development] Anmol d kool:
S2W

Can u plz add S2W to your kernel.
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] What exactly is the difference between the smartassh3 and clarity governors?
[Moto E Original Android Development] TLastPrism:
Work on Lineage rom?
[Moto E Original Android Development] soaringowl2145:
Yes
[Moto E Original Android Development] TLastPrism:
Thank you!
[Moto E Original Android Development] TLastPrism:
What clarity governor does? Someone know?
[Moto E Original Android Development] codename062:
Touchscreen does not work after unlocking the phone back from lock/sleep, needs to restart and keep/prevent it from going to auto-lock/sleep.

If it goes to lock/sleep, touch does not respond and needs to force restart using the power button.

I am not sure if my proximity sensor has any issues.

But previously when I was using ROM][6.0.1_r52]Temasek v10.2 for moto E [STABLE][29st july update and [ROM][6.0.1_r52] Zephyr-OS V4.2 (UBERTC)[AOSP/Substratum/DUI](30th july), the issue was fixed by installing [KERNEL][Reborn] Clarity.

Tried almost all the 7.1 roms and all have the same issue on my phone.

Tried installing [KERNEL][Hybrid][N] Clarity Kernel [Update 1.6][Linaro 5.2] both D and ND but it does not fix the issue.

I Don't know what to do now. I am left with no options.

Can something be done on this kernel to make it similar to [KERNEL][Reborn] Clarity so that I can run Android N 7.1 on my device?

[MENTION=5250109]rainforce279[/MENTION]

https://www.reddit.com/r/nexus6/comments/2t4o9h/touch_screen_doesnt_unlock_after_sleep_factory/

https://xdaforums.com/showthread.php?t=1672499

http://community.cyngn.com/t/zuk-z1-wake-problem/234/17
[Moto E Original Android Development] soaringowl2145:
Have you tried it with AOKP?

---------- Post added at 08:03 AM ---------- Previous post was at 07:58 AM ----------

What does it mean that this kernel is a hybrid?
[Moto E Original Android Development] rainforce279:
clarity governor is based from conservative governor, not like smartass famility (ie: smartassH3 or smartassV2) is based from old interactive governor.

description about clarity governor for tunables:

- freq_max_suspend : the frequency max when suspend (freq_max_suspend can't less than freq_middle)

- freq_middle : the frequency when wakeup from idle, so this governor not jump to high frequency from idle (freq_middle can't big over than freq_max_suspend)

- freq_awake: the frequency when wake from sleep, not jump to high max frequency (freq_awake can't big over than use max frequency)

- freq_increase: the micro freq for increasing frequency (big values will make always jump to max freq)

- freq_decrease: the micro freq for decreasing frequency (lower values such as '0' will make frequency always at max frequency)

so far no reported like happen to you,

if you using such as Naptime or similiar app to diasable all sensor pls uninstal that.

if still problem not solved, you can send to me last kernel message (last_kmsg).

check OP, i already explain the Hybrid Kernel.
[Moto E Original Android Development] codename062:
Something similar

https://productforums.google.com/forum/#!topic/nexus/oqh-V37hgDM

Is there something called Proximity sensor bug/issue during calls for Android N?

Recent google search shows lot of users reported that in the past month especially for OnePlus.

kmsg is 0 bytes and does not have any contents and last modified time of the file shows as Jan 01, 1970
[Moto E Original Android Development] codename062:
Issue with touch screen or proximity sensor not responsive after call or screen unloc

It seems that the issue with touch screen or proximity sensor not responsive after call or screen unlock got resolved on my device.

I think it was an issue with dust on the proximity sensor as described on various forum/topics.

Just got the phone opened and cleaned the proximity sensor and it seems to be working normal.
[Moto E Original Android Development] Santi3598:
I'm having the same issue with my touchscreen. It goes nuts very often, giving me no choice but to force reboot.

How did you open and clean the proximity sensor?
[Moto E Original Android Development] rainforce279:
push 1.7 stabel hybrid

changelogs:

- Now sync & merged latest commits with LineageOS source

- F2FS now sync with Jaegeuk 3.4.y kernel

- added Zenplus i/o scheduler

- BFQ default to IOPS mode on SSDs

Download

https://www.androidfilehost.com/?w=files&flid=133872
[Moto E Original Android Development] Tsuragi:
my battery drain very fast :c im back to 1.5
[Moto E Original Android Development] hetor99:
On my device, the wifi is stoping working after 4 or 5 minutes, and the bug of the touch freezes some times it pass on my device, but i only clean the screen with some thing to clean it, i lock the device again then i wake up again the device and the touch works again

But the problem of the wifi is persistent, im on latest build of lineage OS and every 5 minutes aprox. Show me that my wifi hotspot dont have ethernet conection, and i need to reconect to te hotspot

Edit: it appears to be only happening when i use the facebook app

Sorry for my english and any misunderstood :p
[Moto E Original Android Development] Papdya:
Clean flash the ROM and then the kernel .... I too faced the same bug but while using the reddit app... For WiFi... Its like WiFi is connected but no data transfer takes place....
[Moto E Original Android Development] Vikrant Desai:
I don't think this WiFi problem is due to this kernel. Because even without the kernel I'm facing same problem about WiFi as you mentioned.
[Moto E Original Android Development] Papdya:
Maybe.. Which app you facing the issue on?
[Moto E Original Android Development] Vikrant Desai:
I faced this issue with Flud, Terrarium TV, YouTube, hike. Don't know about others. But I feel this problem is not app specific. Even though WiFi is showing turned on but actually it's turned off. So what I do is I turn it off and again turn on to work properly. This is temporary as problem arises again after some time.
[Moto E Original Android Development] Daman5202:
Good battery backup with this kernel, however phone switches off at 10-15% battery! I dont know if its cm14.1 problem or clarity kernel problem? Otherwise great!!
[Moto E Original Android Development] Nav929:
Is selinux set to permissive in this kernel???
[Moto E Original Android Development] ankshious:
no it's enforcing.
[Moto E Original Android Development] hetor99:
you can make an init.d script to change the SElinux to permissive then run when the device boot

or you can run the comand "su" then "setenforce 0" on the terminal emulator integrated on the rom.

first enable root access and terminal emulator on the developer settings
[Moto E Original Android Development] @pulkit:
[MENTION=5250109]rainforce279[/MENTION],

Can you please reduce the minimum frequency of the kernel to 96Mhz, as it would reduce the unnecessary battery consumption.

Btw Thanks, for the kernel.
[Moto E Original Android Development] Nav929:
Does it change the status permanently? Because I have tried some apps but the status revert back to enforcing after every reboot.
[Moto E Original Android Development] hetor99:
With an init.d script, the SElinux status will change every time that android or lineageOS system boot.

Some kernels are compiled from the beggining on permissive SElinux status, but this kernel come with the enforce rule, in other words, with the init.d script, the SElinux status will be permanently changed, until you delete the script from the init.d folder

Sorry for my english and any misunderstood

:p
[Moto E Original Android Development] Nav929:
How can I make init.d script. I am a noob:confused:, can u please guide through it. Thanks

Edit -It did worked. I followed this thread https://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245 thanx a million
[Moto E Original Android Development] 5ank@lpa:
go to /etc/init.d directory, create a file and rename it as "08setperm" (without quotes) and add the below lines in the file and save it..

#!/system/sh

setenforce 0

And give full permission (rwxrwxrwx) .. Use root Explorer to edit and give permissions..

Now hard reboot your phone and you can see SELinux is set to "permissive" on boot itself..

Credits: CoffeeNAndroid

Hit thanks if it helped. .It works for me .
[Moto E Original Android Development] Sharan A.:
Thanks for the kernel!

This is what screen touch test came up with. Screen freezing that others are talking about too.

Any suggestions on fixing?

Thank you!

http://pasteboard.co/xUvpGVGtJ.png

EDIT: This problem occurs even when d2w is disabled. So it's probably a problem with the kernel as a whole.
[Moto E Original Android Development] iXaidyiu:
Test.

//Please neglect this.
[Moto E Original Android Development] Sharan A.:
Also, I think the d2w doesn't work when I change kernel settings to powersave mode;

OR

when I decrease GPU/CPU to minimum.

EDIT: Battery problem.

Please check see image. There's a sudden drop around 50%. Why's that?

http://pasteboard.co/l1tpGLC1.jpg
[Moto E Original Android Development] rainforce279:
sory for no update, my laptop died now,

need some repair

but for now i'm lack of funds

so wait for update until my laptop got repaired

Thanks for reported

Have a nice day :)
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] Any chance you can sign the kernel so that TWRP will flash it with zip verification enabled?
[Moto E Original Android Development] devxpy:
Z-ram doesnt work

when i try to increase the zram allocation (kernel auditor), it resets automatically to 380 mb. on the latest build. cypheros 3.5.1
[Moto E Original Android Development] rainforce279:
i can't make update or fix the some problem while my laptop is die.

wait until my laptop fixed, i'll work for you all

thanks for reported :D
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] I was getting bad battery drain on the latest version with AOSP Extended.

---------- Post added at 08:13 PM ---------- Previous post was at 08:09 PM ----------

What ROM were you using?
[Moto E Original Android Development] Tsuragi:
lineage os last build
[Moto E Original Android Development] devxpy:
thx! you accept paytm for donation?
[Moto E Original Android Development] rainforce279:
i was testing this kernel and not problem too

thanks matte, yes of course

every donation will help me and other too
[Moto E Original Android Development] Tsuragi:
for me mpdecision consume more baterry because use dual core all time, i miss intelliplug
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] i was testing this kernel and not problem too

So you're saying you did get bad battery drain using version 1.7 while using AOSP extended?
[Moto E Original Android Development] rainforce279:
sorry i said no problem in aosp, i'm also using aosp extended too,

no battery drain or no screen freeze too so far
[Moto E Original Android Development] soaringowl2145:
Any chance that you can please reupload version 1.5 to AFH?

Also what settings are you using and are you using the DT2W version?
[Moto E Original Android Development] rainforce279:
This project Discontinued

due some reason.

Thanks.
[Moto E Original Android Development] Rush94:
The Sadest thing i ever heard today :(

if a rom gets Discontinued its okay since kernel update might help the same rom to improve but since now the kernel is Discontinued :crying: nobody can help us now

Just to Let you known [MENTION=5250109]rainforce279[/MENTION] you did an amazing work for such an old devices and let me known if you can help teach the development part so i can contribute to continue where you left

Again Thank you for This wonderful Thread
[Moto E Original Android Development] sherindroid:
please upload previous versions​.....???
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] May we please know why this kernel is discontinued? Was it something we did?
[Moto E Original Android Development] rainforce279:
Push Reworking from fresh source

after my laptop got repaired so now i able to push reworking kernel

this from original Lineage OS source kernel tree with some aditional driver such as DT2w and some I/O schedulers.

tested with Aosp-Extended latest with android 7.1.2 no problem so far.

check at OP for more info.

Download

Keep this project alive by Donate Me
[Moto E Original Android Development] mg_jishad:
What happened to CPU Governors??? Only few are there.
[Moto E Original Android Development] booo159159:
dude chill, it hasn't even been 2 days, the title clearly says reworking. wait and be patient, cheers!

and thank you for reviving the kernel [MENTION=5250109]rainforce279[/MENTION]
[Moto E Original Android Development] rainforce279:
Push update 27 may

changelogs:

- implement iov_iter interface (AIO optimisation) on FS

- added smartmax governor

- mmc use sched fifo thread

- aio: convert the ioctx list to radix tree

- update f2fs to latest from jaeguk (stable 3.4 branch)

download : https://www.androidfilehost.com/?w=files&flid=183101

thanks
[Moto E Original Android Development] piyush9199:
Which ROM in the screenshots please?
[Moto E Original Android Development] sherindroid:
rr 5.8.3 latest build

---------- Post added at 02:55 PM ---------- Previous post was at 02:50 PM ----------

can you add native init.d support to kernel please?
[Moto E Original Android Development] rainforce279:
i'll try but not promise since some rom still using busybox and other using toybox.

its really important to run init.d on boot, but we should try priority toybox or busybox ?

i'll also looking for some change in script at ramdisk too

hold on
[Moto E Original Android Development] sherindroid:
Found fix for init.d...
[Moto E Original Android Development] rainforce279:
Push update 1 june

changelogs:

- fix init.d execute on boot (Make sure your rom has installed busybox under side /system/xbin)

- add lionheart governor

- Upgrade Toolchain to official Linaro 5.4.1

- Kill ondemand governor to spawn uninterrupable even not selected as current governor

Download

https://www.androidfilehost.com/?w=files&flid=183101
[Moto E Original Android Development] sherindroid:
Init.d is not working.

Yes I had busy box installed to /xbin

All the contents of init.d folder gets deleted after using this update

I wish I never requested you to add init.d support...:(

now on 27/05 build with init.d working with the flashable shared above...

Its OK not to add init.d support if its causing trouble...

---------- Post added at 03:04 AM ---------- Previous post was at 03:03 AM ----------

What version of busy box recommended ?

Maybe busy box issue...

I'm using busy box 1.26.2 --meefik
[Moto E Original Android Development] kurtn:
[MENTION=5250109]rainforce279[/MENTION] From lineage I've learned, there are security patches that have to applied separately for each kernel. https://cve.lineageos.org/android_kernel_motorola_msm8610

How is the status of clarity kernel?
[Moto E Original Android Development] rainforce279:
ah sorry for about that problem, all your script in init.d gone i truely dont know what happen, but the latest version of this kernel i never touch any file on system partition, so make sure you'r rom clean of any mod,

i've tested latest version init.d working with busybox installed in /xbin

yah i consern to this security too mate, sorry i've try, but so many conflict file and must resolve manual instead auto-merge, hopefully squid2 resolve this and bring to latest secury patch kernel, but it need time because squid2 is busy with other project, keep patient ;)

if you found something usefull link for latest securty patch especial for kernel 3.4 just pm me
[Moto E Original Android Development] Daman5202:
Can i flash it over photon kernel? Or i need to reflash the rom?
[Moto E Original Android Development] sherindroid:
Just install stock boot.img of the current ROM

You can get it by extracting ROM zip

Reboot

Now you can install clarity over stock boot.img

---------- Post added at 04:29 PM ---------- Previous post was at 04:28 PM ----------

@rainforce279

Clean flashed and tried latest update still no luck...

I'm using magisk 13 (snapshot) (unofficial) may be magisk ramdisk patch overrides your init.d patch

But lucky the mod I mention saved me..

Now I'm on current update along with the mod

Init.d works fine..

No need to feel sorry I had backup of all init.d scripts luckily...?

And No offence I'm just sharing what I experienced...

Anyway a great thanks for your great effort...

---------- Post added at 04:40 PM ---------- Previous post was at 04:29 PM ----------

https://xdaforums.com/android/software-hacking/script-zip-init-d-enabler-stock-kernel-t3347724
[Moto E Original Android Development] sherindroid:
Init.d works perfectly with SuperSU...(June 1 update)

Its causing problems with magisksu

So I'm now using SuperSU....??

EDIT: it was a magisk module that gave me headaches

Now every things works perfectly with both SuperSU 2.81 and MagiskSu

Also updated busybox to 1.26.2 --meefik
[Moto E Original Android Development] rainforce279:
i never feel offenced by everyone who has report some problem to me mate,

so relax and enjoy ;)

happy to hear that :highfive:
[Moto E Original Android Development] soaringowl2145:
[MENTION=5250109]rainforce279[/MENTION] Can you please sign the kernel with the AOSP test keys so that we do not have to disable zip verification when installing rom, gapps, then kernel?
[Moto E Original Android Development] sherindroid:
Can you add sioplus and zen v2 io scheduler

And Impulse and ondemandplus govtuners?
[Moto E Original Android Development] Daman5202:
Just flashed the kernel on top of the aex 4.1, does anyone know the better governors for both battery and performance optimized? Or it'll be okay to keep it as default?
[Moto E Original Android Development] sherindroid:
Use inerative (recommended)or conservative along with govtuner mod
[Moto E Original Android Development] Daman5202:
What is govtuner BTW?
[Moto E Original Android Development] sherindroid:
https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Moto E Original Android Development] rainforce279:
Push 11 june update

changelogs:

- merge to linux 3.4.113 ( revive 123 mismerge commits from .113)

- add impulse governor

- cpufreq: Move get_cpu_idle_time() to cpufreq.c

- any else

now i'm using aex 4.3 (clean install) with formated data partition as f2fs, its smooth like butter.

Download
[Moto E Original Android Development] EnricoBarsanti:
Could you please tell me in which order and how you install the rom and the kernel with the f2fs?

I've tried it myself but the phone is bootlooping.

This is what i've tried:

-wipe all partition

-change data partition to f2fs

-install aex 4.3 and kernel

-reboot

Did i forget something?

Thanks for help! :D

EDIT

Now is working! Thanks for your dedication to our little device!
[Moto E Original Android Development] sherindroid:
Can I format cache partition as f2fs or only data?
[Moto E Original Android Development] Rajendran Rasa:
Mokee + Clarity = 6hrs battery?
[Moto E Original Android Development] sherindroid:
You changed data partition only or both data and cache to f2fs
[Moto E Original Android Development] rainforce279:
you can't use cache partition as f2fs, it's will lead bootloop

for sure check fstab.qcom if cache partition only have ext4 don't use f2fs to it.
[Moto E Original Android Development] EnricoBarsanti:
In the first attempt i was using both data and cache in f2fs (this was my mistake and the reason why it wouldn't work).

Now with only data in f2fs is working great!