yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Mezabaru:
I'm using mtweaks, it's a port of kernel auditor. Would you like me to replicate the bootloop from yesterday?
[Android Software Development] harpin14789:
Thanks. That did the trick. lol
[Android Software Development] GioBozza:
Could you take a log with LiveBoot during the bootloop? It will be saved in /cache/liveboot.log and you can retrieve it in TWRP (mount /cache partition if it isn't by default).

Also, it would be very useful to check some file permissions on Samsung ROM. You can do that by executing these commands in a terminal app (when WakeBlock's mod is not installed):

# su
# cd /system/framework
# ls -dZ services.jar
(Original selinux permissions. Send printed result)
# ls -l
(Original system permissions. Send printed result list)

And then repeat from the terminal in TWRP when WakeBlock is installed and send me all the results.
[Android Software Development] LiNe1771:
SM-G930F with resurrection remix rom. Working now after new update.

Enviado do meu SM-G930F através de Tapatalk
[Android Software Development] GioBozza:
A fix for Samsung devices is under testing. If everything is alright, I will push it on Google Play shortly.
[Android Software Development] moderndaycowboy:
I am very happy to hear this :)

I tried in my XenonHd rom on s4 mini , working flawlessly with magisk.

It could be added Alarm blocking
[Android Software Development] 4RM4N1:
strange. my OP5 just reboots and nothing happened.
[Android Software Development] GioBozza:
It should reboot in TWRP after the patching process is finished and flash the generated automatically. Then it should reboot again normally. Does it boot into TWRP the first time?
[Android Software Development] ichbinich:
With newest Version the device reboots and flashes in TWRP @ Stock Samsung S7

But now it seems that I'm stuck in bootloop after flashing
[Android Software Development] 4RM4N1:
yes, it boots into TWRP. My mistake. I didn't enter my password and just rebooted straight from TWRP. Now after entering the password it flashed immediately :)
[Android Software Development] GioBozza:
We found out Samsung uses a different procedure to package deodexed framework files. We are testing fixes for this right now.

I will push an update on the Play Store with specific changelog as soon as a working version is ready!
[Android Software Development] Mezabaru:
Can't wait to test!
[Android Software Development] yung40oz84:
So instead of me running the latched every time I dirty flash I can just place the backup files created by wakeblock in /system/framework/oat/arm64? The services.odex and vdex? Thanks.
[Android Software Development] dnsh89:
Oreo wakelocks

What wakelocks can be blocked on Oreo without any problems?
[Android Software Development] koekoek91:
https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

I use the amplify section from this guide as a reference.

Its kind of dated but is still applicable on Nougat.

Not sure about Oreo though but I would think it is also applicable on Oreo.

Hope it helps ;)
[Android Software Development] GioBozza:
If you dirty flash a ROM update you cannot use the WakeBlock backups: those are saved to revert the patcher's work. The backups are basically the original framework files.

Also, ROM updates usually change the services framework, so putting back the old one could most probably cause a bootloop.
[Android Software Development] GioBozza:
*** UPDATE (v0.1.4) ***

We need testers for this update. It should fix the problem below, but Samsung seems to be making its own choices on how to package framework files.

CHANGELOG

Fixed Samsung bootloop
[Android Software Development] cantenna:
working great here on batman 1.3.0 S8+:)

looking forward to this!!
[Android Software Development] GioBozza:
Many thanks to [MENTION=6715940]SuperSandro2000[/MENTION] for testing a lot of configurations on his device for the latest update!
[Android Software Development] SuperSandro2000:
No problem mate.
[Android Software Development] LiNe1771:
Working in S7 Custom rom as well, good job!
[Android Software Development] :
I finally got it working on my Sony Xperia Z5 Compact (i just changed kernel) but now i have one question

since i have greenify installed do you raccomend to use both or uninstall greenify and just use WakeBlock?

Thanks
[Android Software Development] krogoth:
Bootloop on mine
[Android Software Development] cantenna:
what you running?
[Android Software Development] krogoth:
Batman 1.3 on s7
[Android Software Development] :
For anyone interested is working perfect in OnePlus 3 Paranoid AOSPA rom
[Android Software Development] cantenna:
ah, im on S8
[Android Software Development] LiNe1771:
Works fine here in s7 ambasadii rom. Try other rom. Maybe isn't compatible with s8 port, since things are changed.
[Android Software Development] cpthero:
These are different things and it shouldn't lead to problems using both. I'm doing that too.
[Android Software Development] GioBozza:
The first time takes longer on deodexed ROMs. Cache has to be recreated.
[Android Software Development] otonieru:
Work fine mate,

Amazing job, and thank you for outstanding support !

Galaxy S8 - R.I.C.E ROM - Noto Kernel - Magisk v14
[Android Software Development] Puddi_Puddin:
This always happends after an update. I have to dirty flash my rom before it says 'supported'
[Android Software Development] LiNe1771:
I got this after installing core and closing the app in aosp rom, after reboot all was fine, even after closing app..

Now it's fine for both, no more this error, try to reboot and check.
[Android Software Development] ichbinich:
With newest update it works also fine on my S7 with Superman ROM! Thanks a lot for this great app and support :)
[Android Software Development] edzamber:
Working perfectly on S6 Edge G925F Rolling Custom Nougat TW Rom

Repacked in 5mn and auto Flashed correctly by TWRP Recovery [emoji2]

Great job !
[Android Software Development] Miaou63:
No need to flash. Just reboot. Or try applying the patch then reboot.
[Android Software Development] Mezabaru:
Happy to say on Samsung s7 SM-G930W8 Batman ROM S8 port I now have wake block working. It took about 15 minutes including the reboot which took about 8 minutes. I've attached the usual 3 logs I give in case there of any help!
[Android Software Development] LiNe1771:
15 minutes to work and 8 minutes to boot? That's alot! My s7 took about 4 minutes and 3-5 min to boot, i'm using an deodex rom, so, takes a bit more to boot..
[Android Software Development] Mezabaru:
It might of been less I was just waking up, but regardless it's working fine!
[Android Software Development] cantenna:
Thanks for this but some wakelocks second suggestions are for 2hrs or much longer, how does that help exactly?
[Android Software Development] koekoek91:
I suggest you read the full OP of the thread for better understanding.

But the values given in that specific section (Amplify) should be safe to limit without negative effects.
[Android Software Development] cantenna:
right, ive read, but I am still unable to find anything justifying why some timeouts are > than 2hrs, do you have an explanation? To me it makes sense to have timeouts < 30 mins, so unless I hear otherwise with an explanation, ill just proceed with < 30min restrictions.
[Android Software Development] koekoek91:
Longer restriction means less occuring of that specific wakelock, which should mean less idle battery drain (assuming that specific wakelock is actually draining your battery).

I can't tell you why those specific values have been chosen on that thread, but I do know that they have been tested extensively and should be perfectly safe.

If you like to have a more conservative approach, you can ofcourse choose a lower value.

You kind of have to experiment yourself what works best for you, and do your own research about the specific wakelocks that are draining your battery the most.

If you want more help on lowering your idle drain I suggest you follow instructions in this post and post an idle log:

https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post65025167
[Android Software Development] flacosmith:
Exists a .zip to fix the bootloop?
[Android Software Development] cantenna:
Thanks for the post but to be clear, more milliseconds = more conservative? You previous post appears to contradict this advice.
[Android Software Development] falsificad0r:
how to completely remove the application from the framework?
[Android Software Development] koekoek91:
No it's the other way around.

If you put 0 though, a wakelock is never allowed.

Sorry if I've confused you.
[Android Software Development] cantenna:
thanks, so per the guide, facebbook will be blocked alot more than RILJ for example.
[Android Software Development] koekoek91:
Yep correct.
[Android Software Development] sonnguyen.vn:
Your app is GOD if have Alarm and Services deny :D

Good job!
[Android Software Development] cantenna:
got it now. great app, hope dev takes it all the way. Already seeing an improvement.
[Android Software Development] sovanyio:
This does not work since the zip update script already has the wrong partition selected. Confirmed that manually placing the files works when done from within TWRP, though.
[Android Software Development] CappyT:
Can you please tell us the output of su -c 'cat /proc/mount' ?

And the zip file, if you managed to keep it, thanks.
[Android Software Development] redbird88:
My bluetooth stopped work properly after blocking some wakelocks. I can see the devices but can't connect to them.

Someone know what's the wakelock that might be causing this?

EDIT: Seems fixed
[Android Software Development] ianmacd:
I've just installed this on an S8+ running SuperSU 2.82 SR1 and have now been stuck at the flashing Samsung logo after reboot for a good 20 minutes.

Any advice? Is there an uninstall script that I can run/flash?
[Android Software Development] otonieru:
Running fine on my S8 with Magisk

Booting will take very long time though,

but, not more than 30mins i guess,

You can uninstall it that way afaik, you need to dirtyflash your rom, or restore /system
[Android Software Development] ianmacd:
How long did your S8 take to boot after installation?

I left my device more than half an hour, after which the Samsung logo was still flashing.

Is there really no uninstall script to flash? If not, yes, I'll reluctantly have to reflash the firmware.
[Android Software Development] Zacharee1:
WakeBlock backs up the old framework. If you have TWRP, you can just copy the backup and set permissions.
[Android Software Development] ianmacd:
Where can I find this back-up? I checked under the app's own directory, /data/data/com.giovannibozzano.wakeblock/, but there's nothing there. There's nothing about this on the first page of this thread, either.
[Android Software Development] Zacharee1:
/sdcard/WakeBlock/Backups/
[Android Software Development] ianmacd:
Thanks.

That directory contains a back-up directory with just a single file in it, services.odex.

If I look at the services.odex under /system/framework/oat/arm64, I see that it was truncated to zero bytes this morning, so there's something seriously wrong with WakeBlock's installation script.

Restoring services.odex from /sdcard/WakeBlock/Backups/ and rebooting brings the device back to life.

That's quite a relief. Thanks for helping me out. I wasn't looking forward to reflashing the firmware and dealing with the potential problems that can crop up with that.

This recovery information really should be added to the first page of this thread.
[Android Software Development] cooperke:
I did test it on galaxy S7 with Superman rom.

Phone always restarts when changing from portrait mode to landscape.
[Android Software Development] Roykooiman:
What services u blocking?
[Android Software Development] der_Kief:
Just for information.

Cannot get this to work on Huawei P9 Lite with latest Stock EMUI ROM (rooted with SuperSU).

Running into Bootloop after TWRP flash and Restart. I guess EMUI ROM is a bit strange as other apps like foldermount also dont work .

No big deal at all as this is my business phone :)
[Android Software Development] manalicream:
Does anyone know if GCM_CONN_ALARM wake lock is safe to block?
[Android Software Development] Akomack:
Those of you who have gotten this to work on a Pixel, what was your process after it boots into TWRP? I've tried flashing the zip, but then it goes into a TWRP bootloop where it just boots into twrp and I have to reinstall SuperSU to get it to boot back into the ROM.
[Android Software Development] rapdes:
On my oneplus 5 BBS says there's a kernel wakelock called wcnss_filter_lock that's cause my phone to stay awake alot. However I can't see that wakelock using the wakeblock app? Any thoughts why it wouldn't show up there?
[Android Software Development] GioBozza:
WakeBlock detects system wakelocks, while kernel wakelocks can be blocked by a lot of custom kernels. The wakelock you are looking for is a kernel wakelock and thus cannot be seen in WakeBlock.
[Android Software Development] GioBozza:
*** SUPPORT ***

We created a Telegram group with the aim of giviving direct support and promoting wakelocks exchange!

You can join here: https://t.me/joinchat/AWYf1UQQkYrLtrUcIzpW2g
[Android Software Development] TotallyAnxious:
[MENTION=7087071]GioBozza[/MENTION] I sent a log to your pm but I'm not sure it sent. So I'll post here too. HTC 10 stock odex with selinux permissive and magisk 14 w/ hide enabled. During the repacking process (at least according to the text on the app) a notification appears saying I need root. Any other information needed?
[Android Software Development] Janus Jerom:
I got a bootloop while rebooting, redirecting me into twrp. Though restarted(got me into loop) and again restarted the app still shows the same message as the service is UNBOUND. Is there anything that I can do?

My device is Asus Zenfone 5; Android-N- 7.1.2; ROM- RR-OS.

Can you please get me a solution ...... :fingers-crossed::fingers-crossed:
[Android Software Development] SimoIanni:
Intel based phones aren't and probably won't ever get support
[Android Software Development] vince31fr:
Hi, is there a way to reset the statistics about wakelocks? I suppose that clearing the app data could make it, but all settings would also be lost...
[Android Software Development] WarriorMax:
I've blocked some wakelocks. Now when i unblock them it works fine but the moment i reboot, the wakelocks again get blocked. What do i do?
[Android Software Development] Hypercore:
Could somebody please send me the latest APK?
[Android Software Development] rajkatiyar07:
HTC 10 user, deoxded Viper ROM. now working . Any solutions ?
[Android Software Development] bielie:
[MENTION=7087071]GioBozza[/MENTION]

Need help. Thanks
[Android Software Development] cpthero:
Good for you that it's now working :good:
[Android Software Development] spectra9:
Just installed this on Mi Max with Pure Nexus ROM, patched, service bound, all seems OK. Will test with blocking Nlpwakelock
[Android Software Development] rajkatiyar07:
haha, just a typo , lol! not working actually . :(
[Android Software Development] Ikzy:
What's not working? Do you have logs? You need a lot more details in your post if you expect any help..
[Android Software Development] dogredwing1:
Anyway to install this without a custom recovery. My s8 has locked bootloader only have flashfire to flash stuff.
[Android Software Development] Zacharee1:
I don't think it relies on recovery at all...
[Android Software Development] dogredwing1:
Really every time I try to install it will reboot to recovery and the mod won't be installed?
[Android Software Development] brod56:
Galaxy A5 2016, Revolution ROM (deodexed). Will this app work for my device? I appreciate any kind help :)
[Android Software Development] oifi:
Not working on oneplus 3t. Stock with supersu

reboots to recovery after Installation. After restart Service is unbound
[Android Software Development] SimoIanni:
You can try to install the flash.zip file found in /data/data/com.giovannibozzano.wakeblock but i don't recommend it because many users have reported that it causes bootloop on samsung devices and without a recovery you can't roll back to the working files
[Android Software Development] oifi:
Flashing that ZIP file did it for me (OP3T) :good:
[Android Software Development] hue007:
Thank

Thank
[Android Software Development] ytgbg:
Huawei P10 Plus compability

[MENTION=7087071]GioBozza[/MENTION]

Hi mate,

On Huawei P10 Plus on Nougat EMUI 5.1 the app is causing infinite bootloop.

I hope that in the future this will be sorted out like with Samsung phones.

Great idea and thank you for your hard work.
[Android Software Development] jamesfengcao:
I'd like to test wakeblock but google play store is blocked in my area. Could OP attach the apk in the thread?

Thanks.
[Android Software Development] Chocklety Boyee:
[MENTION=7087071]GioBozza[/MENTION]

It says unsupported framework. Service unbound...deodexed rom Resurrection remix redmi note 3 final build...

Plz help me..
[Android Software Development] fairyshacker:
Yea, my viper is also not working after wakeblock installation.
[Android Software Development] mdfarazb2:
Nice app.. plz add support for backup/restore option .. So that we should not edit all things again after changing roms.

Thanks!
[Android Software Development] locolyric:
Great guide ! Wakeblock seems like evolved version of amplify.

Something I need to know. Should we block icing? I remember when using amplify, people not Recommended we stop icing
[Android Software Development] DEVILOPS 007:
It is fine to block icing. You should block it for 3 600 000ms
[Android Software Development] der_Kief:
same with Huawei P9 Lite EMUI 5.0
[Android Software Development] abalam:
Man man I love this app. Before I use this app my idle was 1.85 no with block some Google shi* my idle is 0.45 yeahhhh . This wake lock I have disable
[Android Software Development] Akomack:
I'm having issues getting this to install on my Pixel XL. I've tried with SuperSU and Magisk. SuperSU seems to work, but stays unbound and reboots to TWRP. When I use Magisk, I get a notification saying that it doesn't have root access, it should have access.

I've tried running through the app, but I get extraction errors or errors while patching. I've tried flashing the flash.zip, and still it says unbound.

Pixel XL running DU, but I've tried it on a couple other ROMS with the same issues.
[Android Software Development] bijikodok:
Hi could you help me upload wakeblock last build to Gdrive or another place? Because I'm only install ROM without gapps.

Please help me. Thanks
[Android Software Development] Bearthquake:
My suggestion:

Backup EVERYTHING in TWRP except system image.

Flash gapps.

Download Wakeblock app and titanium backup

Don't open app. Just backup Wakeblock in titanium backup. Only backup "app only"

Boot to TWRP

Wipe Data, Cache, Dalvik, System.

Restore your full ROM backup.

Reboot

Install titanium backup

Restore Wakeblock app

It should work as long as you can get titanium backup from another website like apkmirror

Basically what this does is save your starting point, allow you to download the app from play store, and remove gapps by wiping and restoring backup.
[Android Software Development] churchmice:
Does it work on android oreo ? I would like to try my pixel .
[Android Software Development] siredux:
Working just fine on my S7 with stock nougat, thanks!
[Android Software Development] SimoIanni:
We know that Pixel phones don't work but at the moment we can't fix it
[Android Software Development] churchmice:
Thanks any how, I am looking for any app that does not require the use of xposed framework to stop unnecessary wakelocks required by misbehaving apps.
[Android Software Development] mackalilar:
is there boot lop risk on not5 nougat stock rom? I am afraid for bootlop:)
[Android Software Development] timy7:
nice work..with the new update works for me..lenovo p2 nougat stock rom..bound ok..
[Android Software Development] Atrix2dBeast:
Hi,

It doesn't work for me...using galaxy s4 i9500 running on morphose nougat rom and king.z kernel...google play version says incompatible.
[Android Software Development] Bearthquake:
Is it okay to block DreamManagerService?
[Android Software Development] SimoIanni:
Short answer: NO

Long answer, that wakelock keeps the phone sleeping(i know it's strange but when i tried blocking it the phone stoped deep sleeping)
[Android Software Development] cantenna:
Awesome tweak! Working great on S8+ Nougat 7.0/7.1
[Android Software Development] mackalilar:
What is this app difference amplify?
[Android Software Development] Zacharee1:
You don't need Xposed, and it's free.
[Android Software Development] jelive:
Have htc u11 running 7.1 nougat and magisk root. Loading core from app or flashing zip directly in twrp apparently not working...should't there be files in patcher folder...empty and no sd wakeblock backup. Ideas?
[Android Software Development] mackalilar:
Samsung Note5 users stay away this app! I waited 2 hours again bootloop. Nougat 7.0 stock rom.
[Android Software Development] shahfaishal:
How to uninstall this app completely?
[Android Software Development] SuperSandro2000:
Remove the app and reflash your rom
[Android Software Development] DevALT:
I was searching for an alternative to Amplify without xposed Thanks you soo much, I'll totally pay for an app like that ! love it already and didn't even tried it yet lol
[Android Software Development] Nintenbas:
Does this also work on 8.1?
[Android Software Development] lucfig:
Hi,

I would like to try this with my LG V20 too.

Do you think it is possible for one with no experience at all in deodexing and modifying jar files? Case positive, can you point me in the direction?

Best regards,
[Android Software Development] Zacharee1:
Just use the app. It has an auto patcher.
[Android Software Development] kimxk:
Was working with NOS Oreo on a Redmi note 3. Updated to 27th build and now it sits on repackaging framework for hours.

I assume this is due to NOS now using dexpreopt.

Any ideas?
[Android Software Development] DevALT:
[MENTION=7087071]GioBozza[/MENTION]

First of all I would like to thanks you for your work, this app is amazing, it suits perfectly the job of amplify but without xposed !

Second thing is where can I send you money for a coffee ?

And last thing will be a suggestion for the future if you like the idea;

In the top right menu there is a "list since boot" maybe a "list since full charge/unplugged" would be a great option in my opinion !

Added or not I'm thankful for this app thanks you once again
[Android Software Development] bednim:
Hi, after tapping install mod, app does what it should but phone ends up with boot loop.

Galaxy s8+ exynos on nougat.

Thanks
[Android Software Development] mackalilar:
For samsung users; stay away this app
[Android Software Development] bednim:
How come some users report success with this app?

Thanks
[Android Software Development] mackalilar:
Which users? Alot of users have got bootlop. (For samsung) and me! Twrp restore save my phone.
[Android Software Development] bednim:
Search this thread for s8 and check out what other users report. Thanks
[Android Software Development] mackalilar:
No need discussion. Use this app. Thanks.
[Android Software Development] ianmacd:
Check out one of my old postings for the probable solution in your case.

I tried this app once and won't be trying it again.
[Android Software Development] locolyric:
is it safe to use on Oreo base system?
[Android Software Development] FaulFels:
Sometimes a simple search is helpful, isn't it?

https://xdaforums.com/search/thread/3526313?query=Oreo
[Android Software Development] javizap:
Hi, my play store is not allowing me to download for compatibility issue. I have a Cat S60 with Android 6.0.1 Is there any other way to get the app?

Thank you in advance
[Android Software Development] jijzietdezenaam:
Is it working on 8.1.0?
[Android Software Development] basem_ym:
Any news about deodexed ROMs support?
[Android Software Development] Lughnasadh:
Its been working on deodexed Roms since August, I believe.
[Android Software Development] basem_ym:
It seems no support yet.

Service unbound (tried to install it 5 times, no luck)