[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017]

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
NEW UPDATE: Tensei_r5

NEW UPDATE: Tensei_r5


CHANGELOG:

- removed I/O scheduler switcher. The random reboot should be gone ( my J5 didnt have any reboot with I/O sched swither and neither without it, while being in idle though, as I'm not using it)
- fixed two permissions of powersuspend (0666 --> 0644)
- added @squid2's lionfish governor. It is supposed to be more battery friendly. Test and report your feedback.
- added sociopath TCP: "this is basically TCP Reno with no slow start and a much more aggressive ssthresh recalculation (lowers it by 5% instead of 50%)"
- fixed 9 vulnerabilities

The download links are in first post.
As usual:

1) The updated source code has been reuploaded.
2) This kernel wouldn't be possible without the awesome guys mentioned in first post at credits.



About doubletap2wake and sweep2sleep:

This new update was supposed to have dt2w and sweep2sleep. I've added them by using the commits from other kernel and they were working, both. However, there were some issues:

1) Dt2w wasn't working on the full screen. Even after choosing "full" in KernelAdiutor, i still had to double tap in the bottom of the screen (half) to wake it. When i was double tapping on the other half of the screen (top), it wasn't working.

2) I dont know if sweep2sleep is supposed to work only in the bottom of the screen, but that's how it was working. It was fine though.

3) Phone wasn't going to deep sleep, even when both were off. This is the major issue and that's why i've removed dt2w and sweep2sleep. I don't really have the knowledge to fix that and i'm not willing to spend time for that. Those commits which i've picked has PowerSuspend hooks and i had to update PowerSuspend to v1.8.1 as that kernel. Perhaps this version of PowerSuspend wasn't working properly and that's why it was causing the phone to not go into deep sleep? I don't know... PowerSuspend didn't even show in dmesg when I've tried to look at it's logs in past (when it's debug mode was enabled).
 
Last edited:

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
Thanks for the new release!
i will test it on miui rom soon

also whay you dont release a "dtb" file for the kernel?
using the stok or other custom dtb file can block some of the kernel functions or can make them not working propperly!
i asked this becouse i met this situation.
Thanks!
Thank you for your feedback!

Well, there are many people who uses AnyKernel template and doesn't include the dtb file.
I haven't made any changes to dtb, so it would be just like stock one if I would include it. It won't change anything.

On the other hand, if my kernel would be flashed over other kernel which has dtb changes, then it could be a problem. However, I've wrote at requirements that stock kernel is needed.

I'd like to hear more about the situation you've met though.
 
Last edited:

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
Thanks for the new release!
i will test it on miui rom soon
Have you tried r5? I need to know if the random reboot is gone. I've said that they should be gone since I've removed I/o scheduler switcher, but I need feedbacks from people and nobody seems to reply lol.

My J5 is in idle since almost 7 days and there wasn't any reboots. I didn't have any reboots neither with previous version, in idle though.

I'm gonna update the kernel version to 3.10.106 or 3.10.107 (latest one) for next release and I need to know if the current release doesn't have any issues.
 

Attachments

Last edited:

vaserbanix

Senior Member
Nov 12, 2010
2,121
2,033
193
Bucharest
Have you tried r5? I need to know if the random reboot is gone. I've said that they should be gone since I've removed I/o scheduler switcher, but I need feedbacks from people and nobody seems to reply lol.

My J5 is in idle since almost 7 days and there wasn't any reboots. I didn't have any reboots neither with previous version, in idle though.

I'm gonna update the kernel version to 3.10.106 or 3.10.107 (latest one) for next release and I need to know if the current release doesn't have any issues.
i dont have random reboots!
only problems with system block in reboot recovery or reboot option
and cant take a logcat with the terminal or other apk on the device
Thanks!
 
  • Like
Reactions: #Henkate

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
i dont have random reboots!
only problems with system block in reboot recovery or reboot option
and cant take a logcat with the terminal or other apk on the device
Thanks!
Thank you for your feedback!
Did you have random reboot with r4?

The problem with rebooting system / to recovery (freeze), will be solved in next release. I'll just revert the Nick's commits and it should be gone and I'll test it by rebooting 10 times to make sure that it's solved.

Once again, thank you!


EDIT:

@vaserbanix, I have one more question. Have you tried lionfish governor? It should be more battery friendly.
 
Last edited:

vaserbanix

Senior Member
Nov 12, 2010
2,121
2,033
193
Bucharest
Thank you for your feedback!
Did you have random reboot with r4?

The problem with rebooting system / to recovery (freeze), will be solved in next release. I'll just revert the Nick's commits and it should be gone and I'll test it by rebooting 10 times to make sure that it's solved.

Once again, thank you!


EDIT:

@vaserbanix, I have one more question. Have you tried lionfish governor? It should be more battery friendly.
youre wellcome!
i didnt have any reboots with non of your kernel's!
that are the only only problems i get with it after you fixed the MTP
interactive is my usual governor and i dont tested the lionfish one
also my feedback's are related to miui rom ONLY!
Thankyou!
 
  • Like
Reactions: #Henkate

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
This is bug free? Thx
The only bug is that sometimes when you power off / reboot the phone, it freeze and you have to take out the battery. I will update it someday.

Unfortunately, at this moment I'm not working on an update for the kernel as I'm busy with Huawei Nova (my actual phone). Also, my father got my J5 because he broke the display of his Galaxy S7. He says that he'll repair it, so I may still have J5 (if he doesn't drop J5 too lol).

EDIT: I've updated the "bugs" in post #2. I'm sorry that I haven't done this before.
 
Last edited:

#Henkate

Senior Member
Feb 1, 2012
3,485
3,120
253
25
フェアリーテイル
No WiFi on j500M. Tried wipes, flashed kernel with unmodified stock 5.1. Nothing works.
Try this:

Hmm, that's strange. I've tested the kernel myself before and the wifi works fine. Also, @updesh94 and other people didn't encounter such issue and there shouldn't be any issue since the wifi module is getting flashed along with the kernel.

Try to flash the kernel again or take pronto_wlan.ko from modules in zip file, place it in /system/lib/modules/pronto, set the correct permission (0644) and reboot.

@#Henkate Tried again and it worked.

Sent from my SM-J500F using Tapatalk
 

AAMIR_KH

Member
Aug 13, 2017
6
0
0
This kernel not working in my device

I have j500h updated in 6.0.1 Offcial Mm
My phone is already rooted and intalled twrp 3.0.2.0
But not working colorOS and miui v8 rom on My phone

Help Me Please how to fix this problem ????

Sorry for My bad english
 

Donny741

Member
May 5, 2016
8
0
0
Bugs I found: touchscreen is still active after lock (recents button vibrates), adb is not working. I am using MIUI rom. Could you please fix these?:)