Lazy Kernel for OP5/T - 10/27/2020

ryuksniper

Senior Member
Oct 22, 2013
94
7
0
Altopascio
I dont know what happen, i left my phone idle overnight and when i woke up my phone just blinking led and wont wake (soft brick?). tried to force reboot but my phone didnt boot and stuck in oneplus logo. dirty flash make all normal again. for now still using stock PE kernel.

my device : dumpling, running PE plus a10, lazy kernel 4.4 stable

EDIT : just notice version 4.5, ill try it will give report back tomorrow if above issue still happen or not.
in MSM X rom with version 4.5 i have the same problem. wont wake.
 

djporti1973

Senior Member
Jun 10, 2013
77
32
0
astillero
I have returned to v.4.4 to try again. In the pixel experience, this time for lack of time, I have been 10% with wifi and the result has been very good. I am going to take a while and we will see if this is maintained low battery consumption.Screenshot_20200406-130216_Ajustes.jpgScreenshot_20200406-130301_CPU_Spy.jpgScreenshot_20200406-130307_CPU_Spy.jpg

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
 

DeadRod

Senior Member
Dec 25, 2014
1,124
753
143
Riyadh, KSA
github.com
I have returned to v.4.4 to try again. In the pixel experience, this time for lack of time, I have been 10% with wifi and the result has been very good. I am going to take a while and we will see if this is maintained low battery consumption.

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
Alright I'm planning to return the underclock and the undervolt.

EDIT: 4.6 is out!
 
Last edited:
  • Like
Reactions: djporti1973

DeadRod

Senior Member
Dec 25, 2014
1,124
753
143
Riyadh, KSA
github.com
I dont know what happen, i left my phone idle overnight and when i woke up my phone just blinking led and wont wake (soft brick?). tried to force reboot but my phone didnt boot and stuck in oneplus logo. dirty flash make all normal again. for now still using stock PE kernel.

my device : dumpling, running PE plus a10, lazy kernel 4.4 stable

EDIT : just notice version 4.5, ill try it will give report back tomorrow if above issue still happen or not.
in MSM X rom with version 4.5 i have the same problem. wont wake.
Please try the following if you encounter this problem.

1. Flash the kernel
2. Wipe cache and dalvik cache
3. Power off (Do not restart)
4. Turn on

This method works for me as I continuously test the kernel on my phone. I think one possible reason this soft brick situation occurs is that migrating from a non-LTO kernel to a LTO kernel breaks stuff, although I am not certain that's the case. Another one could be the changes I make in-between versions.

Regardless, I am still learning and I truly am trying to improve the kernel as much as I could.
 

wahing

Senior Member
Jan 21, 2017
83
22
8
Jakarta
Please try the following if you encounter this problem.

1. Flash the kernel
2. Wipe cache and dalvik cache
3. Power off (Do not restart)
4. Turn on

This method works for me as I continuously test the kernel on my phone. I think one possible reason this soft brick situation occurs is that migrating from a non-LTO kernel to a LTO kernel breaks stuff, although I am not certain that's the case. Another one could be the changes I make in-between versions.

Regardless, I am still learning and I truly am trying to improve the kernel as much as I could.
thanks for this sir. just suggestion to add this "fixing method" in the first page :)
 
  • Like
Reactions: DeadRod

Amrut Parmar

Senior Member
Jul 11, 2017
260
23
28
21
Maharashtra
ISSUES:
Soft brick problem possible solution: https://forum.xda-developers.com/showpost.php?p=82201601&postcount=24
- I am fixing the problem and aiming to fix it in v5 or along v4 branch version.
How does this cause soft brick , Is this issue still present , i m thinking to flasb 4.7 version?
Edit :- i flashed v4.7 but it cause me soft brick got back to rom after flashing weeb kernel but i also lost dash charging on my rom
I am using derpfest rom.
I tried flashing kernel using your method.
 
Last edited:

wahing

Senior Member
Jan 21, 2017
83
22
8
Jakarta
If you are still interested, can you please try 4.7? I think I finally got rid of the faulty patch :confused:
ofc.. so i will try flash 4.7 over stock kernel first without wipe cache/dalvik. i'll give report again asap.

EDIT : im running 4.7 for few hours, flashing method like I said above. no issue so far. I will stay and see the result tomorrow morning (bcos last time I face soft brick issue after phone in overnight idle state).

EDIT my conclusion : so I can confirm, while phone in idle state for few hours it caused soft brick.
 
Last edited:

DeadRod

Senior Member
Dec 25, 2014
1,124
753
143
Riyadh, KSA
github.com
How does this cause soft brick , Is this issue still present , i m thinking to flasb 4.7 version?
Edit :- i flashed v4.7 but it cause me soft brick got back to rom after flashing weeb kernel but i also lost dash charging on my rom
I am using derpfest rom.
I tried flashing kernel using your method.
I'm really thinking it's the LTO patches that I have which is far different from the other kernels here :/. Albeit I'll try to look for the issue still.

The issue disappeared for me already so yeah, it might be harder for me to diagnose.

EDIT: I'll build a non-LTO version and maybe make it as the main stable version.
 
Last edited:

djporti1973

Senior Member
Jun 10, 2013
77
32
0
astillero
To date I am very happy with this kernel. It has been a long time since I have had a kernel that worked so well with my preferred ROM.

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
 

DeadRod

Senior Member
Dec 25, 2014
1,124
753
143
Riyadh, KSA
github.com
Starting from 4.7, the following will be the release branches:
Lazy-vX.X - No LTO
LazyLTO-vX.X - With LTO
*-dev-vX.X - Beta branch with or without LTO (mostly with)
*-test-vX.X - Test or alpha branch with or without LTO (mostly with)

If ever removing LTO doesn't fix it, I will continue on stripping patches with stable. However, I will keep the patches with the LTO branch for those who have it working.
This system may change throughout versions.
 
  • Like
Reactions: Skyline

wahing

Senior Member
Jan 21, 2017
83
22
8
Jakarta
UPDATE: v5 is currently in the works.

So far:
- There's no soft brick
- It's much smoother and stable

The test builds are in the repo if ever anyone wants to try.
Current working version: Lazy-lto-test-v5.2
sorry.. but, my phone still got soft brick with test version 5.2. this time the issue comes while im using my phone.