[KERNEL] [blu_spark r219 unified OP5/5T] [A10 unified]

kaihansen2001

Senior Member
Sep 5, 2011
352
84
0
Motril
All right crew!

New build is up :highfive:
Also take a look to the rest of blu_spark v43 extras to get some nice and useful additions to the kernel.

This build features latest blu goodies and new wakelock blocker interface by boeffla, build with latest blu_naro-7.2 :good:
With the new wakelock block system you can add any wakelock source you want, works like this: you can edit /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker and add the wakelock name in there to block it (list separated by ';')
If you want to survive reboots, you can use a script (check the attached example inside the zip). Just copy your script to /magisk/.core/post-fs-data.d or /su.su.d, depending on su option you use ( don't forget to set the file permission 777)
You can get more info about it here. Because this is powerful and can bring potentially derps if you choose to block unknown stuff, I will give no support if you choose to use any wl blocking (which I didn't before anyway).

blu_spark_r30-oos_op5_28565f7.zip
blu_spark_r30-custom_op5_28aae04.zip



Keep it real, keep it true, keep it blu :highfive:

Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
Meaning, if using anything besides stock and stable OOS don't bother posting about it.
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.



If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free ;)
Which were the wakelocks blocked in the previous versions? I do not remember and I want to add them.

Sent from my OnePlus5 using XDA Labs
 
  • Like
Reactions: jasonrhodes32

jhs39

Senior Member
Oct 8, 2015
2,486
717
0
Chicago
Are Blu Spark v43 extras included or is that something additional that needs to be flashed/installed?

Also, on Boeffla Kernel I thought some wakelocks were already blocked by default. Is anything currently being blocked on Blu Spark or do all wakelocks need to be added manually?
 

eng.stk

Senior Member
Mar 29, 2011
6,680
57,918
263
Are Blu Spark v43 extras included or is that something additional that needs to be flashed/installed?

Also, on Boeffla Kernel I thought some wakelocks were already blocked by default. Is anything currently being blocked on Blu Spark or do all wakelocks need to be added manually?
If extras were included, wouldn't be extras right?

blu_spark never had and never will have wakelock blocks active by default.
I personally don't use them and I prefer it just like stock.
If people want to use any, it's up to them.
Doesnt boot in AICP + blu spark recovery. But boots with stock kernel or flash kernel
I don't give any support for custom ROMs.
Use a ROM with proper encryption support or search for any fix/workaround on your on (I think it was already posted a couple times).

Sent from my blu_spark'd OP5 using Tapatalk
 

eng.stk

Senior Member
Mar 29, 2011
6,680
57,918
263
[KERNEL] [blu_spark r30 OP5] [OOS 4.5.* / custom ROMs]

I flashed the new Version of the Kernel but now I have wakelock from PowerManagerService and my phone isnt going in deep sleep. Could that be Kernel related? Does someone knows how to fix this? Thanks

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
Not kernel related.


Sent from my blu_spark'd OnePlus 5 using Tapatalk
 

kaihansen2001

Senior Member
Sep 5, 2011
352
84
0
Motril
@eng.stk I'm not really a noob in any of these matter but I cannot make it to work after a reboot for wakelocks to be blocked. I put the file inside the zip you provided into my magisk folder (adding some other wakelocks on my own) but after a restart, the wakeblock file is empty. Is it possible to clarify? maybe I sould introduce the zip file instead the file that is inside? Thanks in advance.
 

eng.stk

Senior Member
Mar 29, 2011
6,680
57,918
263
@eng.stk I'm not really a noob in any of these matter but I cannot make it to work after a reboot for wakelocks to be blocked. I put the file inside the zip you provided into my magisk folder (adding some other wakelocks on my own) but after a restart, the wakeblock file is empty. Is it possible to clarify? maybe I sould introduce the zip file instead the file that is inside? Thanks in advance.
Unzip the file from the zip and put it on the magisk folder I provided.
Don't forget give proper permissions for the file 777
 
  • Like
Reactions: Dieppy

Megaflop666

Senior Member
May 17, 2014
3,499
2,538
258
Insanity
I flashed the new Version of the Kernel but now I have wakelock from PowerManagerService and my phone isnt going in deep sleep. Could that be Kernel related? Does someone knows how to fix this? Thanks

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
Have to read the threads man.. first, xda discourages double posting like you did this morning between this thread and the xXx ROM thread. Second, OP in this thread clearly states no support for custom ROMs which you're on. Third, the answer to your question has been given MANY times over in the xXx ROM thread.

Not trying to be a jerk but a little bit of reading saves lots of useless posting and repetitive BS questions and answers.

Sent from my ONEPLUS A5000 using Tapatalk
 

Megaflop666

Senior Member
May 17, 2014
3,499
2,538
258
Insanity
Yeah, I read through all of it but in the end I could not make it work, must be super simple but I must be missing something. I attached two screenshots in my reply to eng.stk.
When you're editing the wake blocker file, when you save it, do you go back in to make sure your changes are saved?

You're following all the directions from @eng.stk?

"With the new wakelock block system you can add any wakelock source you want, works like this: you can edit /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker and add the wakelock name in there to block it (list separated by ';')

If you want to survive reboots, you can use a script (check the attached example inside the zip). Just copy your script to /magisk/.core/post-fs-data.d or /su.su.d, depending on su option you use ( don't forget to set the file permission 777)"

I ask because if you follow each step, it does work I just did it and rebooted for test purposes and had no issues.

Sent from my ONEPLUS A5000 using Tapatalk
 
Last edited:

kaihansen2001

Senior Member
Sep 5, 2011
352
84
0
Motril
When you're editing the wake blocker file, sheet you save it, do you go back in to make sure your changes are saved?

You're following all the directions from @eng.stk?

"With the new wakelock block system you can add any wakelock source you want, works like this: you can edit /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker and add the wakelock name in there to block it (list separated by ';')

If you want to survive reboots, you can use a script (check the attached example inside the zip). Just copy your script to /magisk/.core/post-fs-data.d or /su.su.d, depending on su option you use ( don't forget to set the file permission 777)"

I ask because if you follow each step, it does work I just did it and rebooted for test purposes and had no issues.

Sent from my ONEPLUS A5000 using Tapatalk
Yeah, I extracted the file from the zip, edited with my wakelocks, made sure my changes were saved (as attached in previous post screenshot), put in magisk folder (in my case /magisk/.core/post-fs-data.d) and set permission 777. Rebooted but when checking /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker file inside this folder, it is empty.
 

eng.stk

Senior Member
Mar 29, 2011
6,680
57,918
263
Yeah, I extracted the file from the zip, edited with my wakelocks, made sure my changes were saved (as attached in previous post screenshot), put in magisk folder (in my case /magisk/.core/post-fs-data.d) and set permission 777. Rebooted but when checking /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker file inside this folder, it is empty.
You list is all bad formatted.
Check the example.
 

Megaflop666

Senior Member
May 17, 2014
3,499
2,538
258
Insanity
Yeah, I extracted the file from the zip, edited with my wakelocks, made sure my changes were saved (as attached in previous post screenshot), put in magisk folder (in my case /magisk/.core/post-fs-data.d) and set permission 777. Rebooted but when checking /sys/class/misc/boeffla_wakelock_blocker/wakelock_blocker file inside this folder, it is empty.
You list is all bad formatted.
Check the example.
Beat me to it @eng.stk! Thanks, trying to get my grandson ready for pre-school and scan the forums at the same time. [emoji106] Lol

Sent from my ONEPLUS A5000 using Tapatalk
 
  • Like
Reactions: eng.stk