yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] DEVILOPS 007:
EuclidianOS and ABC rom repos are currently syncing. Will update soon whether or not the 5x rom works or not.
[Nexus 6P General] saishiva:
I flashed pure nexus wakeblock.zip in twrp on my nexus 6p running latest PN 7.1.2. I still see service unbound in the wakeblock app. Am I missing anything?

Update: nevermind. Tried the manual method and rebooted. Now its working. Time to block the wakelocks?..
[Nexus 6P General] DEVILOPS 007:
Can you share the stock servicesjar file in /system/framework please so I can make an uninstaller zip. Thanks.
[Nexus 6P General] DEVILOPS 007:
UPDATE:Wakeblock is now on ezio84's ABC rom. Just download rom the second post and flash it or place the file manually and set permissions. Please let me know if it works fine.
[Nexus 6P General] HamsterHam:
Cheers dude
[Nexus 6P General] HamsterHam:
Hmm. I flashed the file but still get unsupported.
[Nexus 6P General] DEVILOPS 007:
Could the rom be odexed?
[Nexus 6P General] HamsterHam:
Rebooted. All good now. Thanks.
[Nexus 6P General] DEVILOPS 007:
Good to hear. Did you flash the zip or do it manually? I've never heard someone needing to reboot after flashing the zip but that might just be how the rom is made.
[Nexus 6P General] DEVILOPS 007:
Just uploaded the uninstaller for wakeblock for ezio84's ABC rom
[Nexus 6P General] HamsterHam:
I flashed the zip then installed the app. All good though. ?
[Nexus 6P General] DEVILOPS 007:
Hi man, it seemed to work fine so I'd like you to test it before I put it in the OP. Please let me know if it works fine or not. Here's the uninstaller if it causes a bootloop.
[Nexus 6P General] tomte28:
Wakeblock for May 17 OTA (7.1.2)

Hi,

Does the 7.1.2 version of Wakeblock work for the just released May OTA files or will it require an updated version?

Thanks.
[Nexus 6P General] DEVILOPS 007:
I have no clue to be honest. We'll have to wait and see because it depends on whether or not the manifest is updated.
[Nexus 6P General] DEVILOPS 007:
Hey man, are you still on saosp? I'm trying to build for it again as the manifest was updated less than a day ago so I might be able to get wakeblock working depending on what has changed.
[Nexus 6P General] threshfire:
I am indeed. I tried the old files a few days ago just to see if I could get it to work again, but no luck - would really appreciate if you were able to give it another shot. Not sure how soon the May security update is going up and if that'll change anything again too. Thanks for asking!
[Nexus 6P General] pathum1:
anyone got this working on DU 7.1.2 yet? i tried flashing the attached zip but still no success :(
[Nexus 6P General] DEVILOPS 007:
Nah, you're going to have to wait. SimoIanni is working on it as the rom is odexed so it could be a while. His phone is currently bricked so after that hopefully he'll get on the case.
[Nexus 6P General] tenghc:
Thanks! Will test it and update the result to you in few moments!
[Nexus 6P General] DEVILOPS 007:
Appreciated, if it doesn't work then don't be surprised as this mod is mainly supposed to be for the 6p so this is just a massive shot in the dark attempt.
[Nexus 6P General] DEVILOPS 007:
Hi man, sorry I've forgotten a bit about the rom you requested as I have been doing 6p roms. Im about to try it and see what happens. I had a problem last time but I think I know how to fix it.
[Nexus 6P General] DEVILOPS 007:
Tested it yet?
[Nexus 6P General] pathum1:
I see... thanks for the update anyhow :) ....

If there is anything we as users can do to help please do tell :)
[Nexus 6P General] DEVILOPS 007:
I don't think you guys can do anything but if he gives me a version to test soon I'd appreciate someone telling me if it works or not.
[Nexus 6P General] tenghc:
Thanks! Although it doesn't work (stuck at bootloader), but I'm thankful that you made an attempt for my request. Maybe it is meant for Nexus 6p only and android 7.1.2. Mine still on android 7.1.1 though. Thanks so much for your work and we need developer like you in this community!
[Nexus 6P General] DEVILOPS 007:
That's unfortunate. Like I said it is supposed to be for 6p only so I'm not surprised. I wish it had worked as it is still a nexus device. I the devs make it universal or add more patch files for different devices then I'll try and do it then. Thanks for the compliment
[Nexus 6P General] Alebr81:
Hi develops!!.

Sure.. I would love to see it working in my s7 edge superstock from. You effort is very appreciated and I would recompense you later! I promise!!

Await your results
[Nexus 6P General] DEVILOPS 007:
I just made a build. Can you try this please? Thanks
[Nexus 6P General] threshfire:
Sadly, I've both flashed and tried the manual method and it gets stuck on an endless boot each time. I have no idea what's so different about the ROM that keeps causing issues, especially since it seems to be built on the same AOSP sources as a bunch of the other working wakeblock options. Really appreciated you trying again.
[Nexus 6P General] DEVILOPS 007:
Well, looks like I can't really do anything about it then unfortunately. If you want wakeblock you'll have to change roms or not use wakeblock.:)
[Nexus 6P General] matique:
Nvm it's all working. I'd suggest a option to load profiles. Would make it so much easier haha.
[Nexus 6P General] DEVILOPS 007:
I agree but I didn't make the app so I have no control over that. Also the app is in heavy alpha testing so don't expect much except for the core basics.
[Nexus 6P General] moi123:
I really missed Amplify on M, so when [MENTION=7494055]DEVILOPS 007[/MENTION] released a wakelock blocker on N, I decided to wipe away my previous ROM, and clean flashed PureNexus! After reinstalling all my apps, I proceed to install Wakeblock via Recovery however there are errors at the end of the script install :

===================

WakeBlock Install Script

===================

Mounting system partition...

Copying new file...

Setting up permissions...

Unmounting system partition...

======

Finished

======

Updating partition details...

...done

Unable to mount storage

Am using [MENTION=6842057]The Flash[/MENTION]'s TWRP with F2FS support (only data and cache in F2FS, system still ext4). Other stuff :

- Latest PN April build

- Flash kernel

- superuser

Any help appreciated!
[Nexus 6P General] DEVILOPS 007:
First of all thank you but I didn't develop this I just used the patch file to build for pure nexus so I kind of developed it. Now about your problem. You can do two things to fix this. First thing is make sure before flashing the mod you make sure you mount storage. If that doesn't work then go into the zip and copy the services.jar file to /system/framework and set the permissions to 644. That is all the script does so if flashing it doesn't work then you can manually place it and set the permissions.
[Nexus 6P General] moi123:
Thanks for the super-quick reply! Mounted /system and installed fine! However, I can't find the WakeBlock app :(

EDIT : I realised I needed to download the app - will try it first! Thanks again!
[Nexus 6P General] DEVILOPS 007:
Just search on playstore
[Nexus 6P General] moi123:
Yes I got it from the original thread, thanks so much! You rock!! :good:

Gonna let it sit and then start blocking away! :D
[Nexus 6P General] Alebr81:
God.. how I would like to see it working on my s7 edge and the superstock rom.. it is awesome once amplify gone away after nougat arrived..
[Nexus 6P General] tenghc:
Working On Nexus 5!

Hi [MENTION=7494055]DEVILOPS 007[/MENTION], I manage to get your wakeblock services.jar working on Euclidean OS 7.1.2 Test build 0405. Here is my picture attachment on the working phase! Thanks a lot!
[Nexus 6P General] DEVILOPS 007:
Wait what! How? You're welcome.
[Nexus 6P General] tenghc:
I think it work because you build on the latest manifest which is for android 7.1.2 instead of android 7.1.1. Today I updated my ROM and test it again, it works!
[Nexus 6P General] DEVILOPS 007:
Euclidean OS wakeblock is up in this thread now. It has been implemented into the thread by the dev so when the next build comes out for Euclidean there will be no need to flash it.
[Nexus 6P General] DEVILOPS 007:
Uninstaller is also up incase you get any issues but it should be fine. I just upload it because it saves dirty flashing.:)
[Nexus 6P General] tafo:
[MENTION=7494055]DEVILOPS 007[/MENTION] thank u bro for the hard work....bro..a question...why there is no custumed wakeblock RR roms? Is because it contains integrated wakeblock?..im not sure but i feel its not working properly .?i didnt feel any changes in battery life).(Not complaining... Or reporting but im giving the reason for asking my question)

Thnk u again
[Nexus 6P General] DEVILOPS 007:
Trust me, it is saving battery. Just make sure you block wakelocks.:) Your device could possibly take a few days to actually adjust too so don't expect an instant change. I think the reason it isn't in many roms by default or anything is because it isn't very well known yet. It isn't a massive popular mod people know about. I'm sure if it gets more popular more devs will intergrated it by default into their roms.
[Nexus 6P General] tafo:
Thank u so much bro for the clarification??
[Nexus 6P General] IonutGherman:
Requesting wakeblock for DarkROM. Cand you port it for this ROM, please?
[Nexus 6P General] DEVILOPS 007:
Okay, I'll try it and see how it goes.
[Nexus 6P General] DEVILOPS 007:
Can you help me find the github repo please? I can't find one that works.
[Nexus 6P General] IonutGherman:
You will need to ask [MENTION=5445418]Dark_Eyes_[/MENTION] for it. I cannot find it too in his thread...
[Nexus 6P General] Dark_Eyes_:
Better yet, I'll add built-in support for my ROM.
[Nexus 6P General] DEVILOPS 007:
That would be great! Thank you:)
[Nexus 6P General] nicholasknicks:
Flashed the wakeblock zip for DU on DU and still its not working

What im i missing?
[Nexus 6P General] matique:
Any way to include the wakeblock for the top consumer?
[Nexus 6P General] DEVILOPS 007:
That wakelock is important to leave unaffected but maybe it will be added in the future. That is up to GioBozza
[Nexus 6P General] threshfire:
SAOSP

SAOSP got updated today to the latest security patch (N2G47O, 5-6-17) and I thought I might as well try flashing the file again, since maybe something changed? It was a risk, I did nandroid, but I forgot to redownload the uninstall file, so I was bracing myself to have to deal with another bootloop.

BUT I flashed the most recent file you made and it booted fine! Really fast, actually. Downloaded wakeblock, service is bound! This must be how everybody else in the thread feels like :victory:

Thanks again for all your efforts, seriously. It must definitely have been something on the ROM side, can't quite tell what it was in the changelogs, but I'm grateful! I haven't tried the other files you'd made (like the OP one or the second one), but I'd say this third file is good to go! :good:
[Nexus 6P General] DEVILOPS 007:
Thank god for that. Haha. As they updated it and it works it is impossible that they changed the services.jar file or the PowerManagerService.java or PackageManagerService.java file. They must have changed something somewhere in the system that magically made the mod work. Hopefully it works fine.:)
[Nexus 6P General] therock3181:
Going to try this for a few days.

Thanks !
[Nexus 6P General] Geezerooo:
Any progress on DU?
[Nexus 6P General] DEVILOPS 007:
No, sorry. I'm not sure what's going on and if [MENTION=7536353]SimoIanni[/MENTION] is working on it at the moment. His device might still be bricked so he is likely going to be sorting that first.
[Nexus 6P General] Geezerooo:
All good buddy, if I had the skills you guys had I would try to help but unfortunately I know nothing about coding or anything to do with programming. I am more of a mechanical guy. LOL
[Nexus 6P General] i42o:
[MENTION=7494055]DEVILOPS 007[/MENTION] Can you get this for Chad's PA build?
[Nexus 6P General] DEVILOPS 007:
I tried it but the repo for pa doesn't seem to be the one for his rom so not until it is out of dev build. Sorry.
[Nexus 6P General] note3userr:
I flashed the vanilla zip on the new vanilla Tom and I get a weird error when I turn on the phone. Also it broke my fingerprint scanner
[Nexus 6P General] DEVILOPS 007:
I don't think that has anything to do with this mod as that would make no sense. I'll have a look into it though.
[Nexus 6P General] spedyx7:
Its the problem with the new Rom not the wakeblock.

---------- Post added at 20:39 ---------- Previous post was at 20:38 ----------

Yo [MENTION=7494055]DEVILOPS 007[/MENTION] can you make it for the superxe rom ? Thanks :D
[Nexus 6P General] DEVILOPS 007:
Yeah, of course Bro.:)
[Nexus 6P General] DEVILOPS 007:
I just had a little Google search and unless you can find me the github link for it then I can't do it.
[Nexus 6P General] note3userr:
I flashed the ROM by itself and didn't have those issues. Then I flashed the mod and they appeared so idk
[Nexus 6P General] DEVILOPS 007:
Well I'm currently making a build of vanilla so you can try it and see if it works when it is done if you want. I noticed there was an update to the repo.
[Nexus 6P General] Geezerooo:
How about screw'ed Android? Going to flash that today.
[Nexus 6P General] DEVILOPS 007:
I'll give it a go. Assuming it goes fine it should be up tomorrow.
[Nexus 6P General] kyzn:
Another success story with SAOSP's latest release. Flashed the 3rd file OP posted and it works like a charm. :highfive:
[Nexus 6P General] jacomail95:
Can NitrogenOS be supported? Or Wakeblock will conflict with the integrated classic wakelock blocker?

Inviato dal mio Nexus 5 con Tapatalk 2
[Nexus 6P General] note3userr:
Hmm the du zip didn't work on may 5th build of dirty unicorn
[Nexus 6P General] DEVILOPS 007:
Yeah, it doesn't work. I just haven't taken it down because it is kind of a reminder to me to not forget about it. The rom is odexed so it works differently. It might be a bit until it is up and working.
[Nexus 6P General] DEVILOPS 007:
If it has one intergrated is there any need? Also I tried it but it fails so until I learn how to manually modify the files I can't do anything about it.
[Nexus 6P General] THEbigSWEEN:
If it's the same wakelock blocker as the one in Resurrection Remix, which I believe it is if I'm remembering correctly, it only gives you the ability to disable the wakelocks instead of limiting them to run after X amount of time.
[Nexus 6P General] kyzn:
So Pure Nexus updated today and I'm happy to report that the wakeblock file for the ROM still works! I used the one in the 2nd post.
[Nexus 6P General] DEVILOPS 007:
Good to hear.:) I see they updated the repo on github 8 days ago but it looks like they left the files I modified alone. Otherwise there would be a bootloop.
[Nexus 6P General] Geezerooo:
How about AICP?
[Nexus 6P General] DEVILOPS 007:
I'll try but am having issues with my laptop so it might take a few days to a week.
[Nexus 6P General] Geezerooo:
No worries, is there​ a resource that you can point me towards so I could maybe learn how to help you out?
[Nexus 6P General] DEVILOPS 007:
Not really a resource but there is a fair bit to do. Pm me so this thread doesn't get filled up:) I'll respond to you tomorrow when I get up.
[Nexus 6P General] DEVILOPS 007:
I'm happy to announce to everyone that I will be able to build for more roms now. The reason I couldnt build for some roms was because of errors applying the patch file but thanks to the man himself GioBozza he has taught me how to modify the PackageManagerService.java and PowerManagerService.java file manually by copying code in the right area by following his template. You can soon expect roms like resurrection remix and nitrogen OS and more to be up soon. Hopefully within a week. I can't be bothered to read back through every comment so if there is still a rom you are waiting for then please post a new message asking again. Thanks
[Nexus 6P General] JBY:
Glad to hear that you are back. Thank you for your contribution. Any update for DU by any chance?
[Nexus 6P General] penciluser:
Will this mean DU will be completed faster or is SimoIanni still working on it?
[Nexus 6P General] DEVILOPS 007:
No DU for now as that is odexed.
[Nexus 6P General] DEVILOPS 007:
No clue whether [MENTION=1906835]simol[/MENTION]anni is working on it or not.
[Nexus 6P General] weazie:
Hi [MENTION=7494055]DEVILOPS 007[/MENTION]. Wakeblock app updated today thru play store. Now says "Service unbound. Deodexed ROM, CRC: cd2...etc. I'm on PN latest build, in which the patch You had made earlier for older build of PN, worked. Should I just flash the patch again?
[Nexus 6P General] DEVILOPS 007:
Just reboot and that should solve it. If not then flash it again and that will fix it. I had the same thing with uber.
[Nexus 6P General] matique:
Thank you for this. Finally getting good off screen power draw. Purenexus + Franco + Greenify + Naptime + wakeblock.
[Nexus 6P General] GilX:
Pure Nexus problem.

I had a somewhat similar problem. It was working before I updated the app from the playstore (There was a prompt to update). Then it showed Service unbound..deodexed ROM..etc. Uninstalled the app and flashed back your Pure Nexus version. Now, It won't even appear on app (drawer). I flash twice and no go.
[Nexus 6P General] DEVILOPS 007:
You probably shouldn't have uninstalled it then. Can you uninstall it from the play store and install again? Maybe try dirty or clean flashing your rom.
[Nexus 6P General] Geezerooo:
Did you reinstall the app before you flashed the file? The file doesn't include the app.
[Nexus 6P General] donz_Simon:
Can you please make one for AOSiP hammerhead please?
[Nexus 6P General] GilX:
Got it man, thanks. I previously thought your workaround already include the wakeblock app. Installed the app again from playstore then flashed the zip (for pure nexus) and all good now.
[Nexus 6P General] DEVILOPS 007:
I'll try
[Nexus 6P General] spuri78:
Can you make one for Nitrogen 6p please? https://github.com/nitrogen-project

Many thanks
[Nexus 6P General] weazie:
Reboot worked. :good:
[Nexus 6P General] inimaitimepass:
ROM: Krexus

Device: Angler.

GitHub: Krexus ROM - GitHub
[Nexus 6P General] nicholasknicks:
Can you make the patch for AOSPEX?
[Nexus 6P General] DEVILOPS 007:
I'll give it a go. I'm currently building for Chads pa builds but I'll try later.
[Nexus 6P General] THEbigSWEEN:
Wasn't sure if it was needed since you specifically mentioned the ROM, but figured better to be safe and let you know it was wanted! :good: Definitely Resurrection Remix would be appreciated! Thank you!!

Rom: RR

Device: Angler

GitHub: Resurrection Remix GitHub
[Nexus 6P General] Loccy:
Does this help any with Dirty Unicorns?

As an aside, rather than worrying about weeklies, I'd suggest working with the official releases. That means you'd be able to build and forget (until next time).
[Nexus 6P General] DEVILOPS 007:
I did try resurrection remix bit had some issues with the code being different than the template bit I will try again soon but it is now in a queue as it didn't work first time.
[Nexus 6P General] DEVILOPS 007:
Could do but probably not. If I do get dirty unicorns working then it will have to be the official builds because every single release would require modifications to the services.odex and I don't have the time or resources to do that every week.
[Nexus 6P General] DEVILOPS 007:
UODATE:Wakeblock is now working on Chads pa builds aka UAOSPA. I've tested it myself and it works fine. The uninstaller has also been uploaded aswell as the installer. Just flash the zip from the second post and you should be good to go.
[Nexus 6P General] DEVILOPS 007:
Little update. This is partly good and partly bad news. I know and can get wakeblock working on DU but only on the official builds. This is because if I did the weeklies I'd have to do it every week and I don't have the time or resources to do that. If someone wants it on weekly then you'll have to do it yourself and I can tell you how to do it. I will personally be doing the officials only. DU will be up today or tomorrow. If you want wakeblock in DU then switch to official if you are not already on it.
[Nexus 6P General] eclaxton:
Hmmm Interesting, right now I'm on the weekly last Friday, I'm available to try, would you go back to the official on day 5?

Thanks for the god job.

My device is a nexus 5

Kernel: blu_spark #127
[Nexus 6P General] Loccy:
Excellent news is excellent. My body and battery are ready.
[Nexus 6P General] DEVILOPS 007:
Nexus 5? I was going to build for the nexus 6p but I'll build for the nexus 5 too. What do you mean day 5?
[Nexus 6P General] DEVILOPS 007:
It's building so it should be ready tomorrow.
[Nexus 6P General] eclaxton:
Realese day.
[Nexus 6P General] DEVILOPS 007:
Why don't you want the most recent version?
[Nexus 6P General] Loccy:
I think he means the official version released on the 5th May (i.e. he DOES want the most recent official).

Meanwhile, over in Nexus 6P land...

<childishWhingeyVoice>Are we there yet, Dad?</childishWhingeyVoice>
[Nexus 6P General] DEVILOPS 007:
No, now stop asking or I'll turn this phone around, :D

Thanks, it wasn't clear but that makes sense.
[Nexus 6P General] pathum1:
doing the happy dance!!!!.... Thanks in advance for all your efforts :)
[Nexus 6P General] DEVILOPS 007:
Can someone share the services.jar from the most recent version of the official build of DU please. I'll upload the mod when I get back in an hour or so.
[Nexus 6P General] Loccy:
Here you go. Renamed to .zip so I can attach it.

(should it be that small, though?)
[Nexus 6P General] DEVILOPS 007:
Yeah, looks good. That is the official not weekly right?

Thanks
[Nexus 6P General] DEVILOPS 007:
Oh god, my bad. I meant to ask for the services.odex as the rom is odexed. Please share that. Thanks.
[Nexus 6P General] DEVILOPS 007:
UPDATE:Wakeblock has now been uploaded for DirtyUnicorns. Please let me know how it works as this rom has been a ***** to get working. This mod is for the official builds only. It might work on the weeklies but it won't work on the next weekly if it works on this one. If it finally works then please tell me and send me screenshots. Thanks
[Nexus 6P General] igylan:
Yeehaawwww.....will feedback soon.
[Nexus 6P General] igylan:
Man sad it bootloops on mine DU May official. Flashed the uninstall zip still bootloops.

Flashed the one in the OP. That's the one right?
[Nexus 6P General] DEVILOPS 007:
Can you try manually doing it?
[Nexus 6P General] pathum1:
Same here, bootlooping on mine too. And I have no backup.... :( ... and I'm at gfs place... lol
[Nexus 6P General] igylan:
I have no backup either. I was so excited...Dang lol

---------- Post added at 08:26 PM ---------- Previous post was at 08:26 PM ----------

How to do it manually?

---------- Post added at 08:30 PM ---------- Previous post was at 08:26 PM ----------

Dirty flashed DU. All is fine now.
[Nexus 6P General] DEVILOPS 007:
Extract the file from the zip and place it in the directory and set the permissions.
[Nexus 6P General] Face_Plant:
It's not going to appear instantly. Leave it on for a few hours and it'll start to show up.
[Nexus 6P General] DEVILOPS 007:
If I leave location off though I guess I don't need to worry about the wakeblock but I want to block it so I'll leave it a few hours.
[Nexus 6P General] komidzo:
No bootloop for me, but this: What'd I do?

Edit: maybe it's the Kernel? I'm on TheFlashs build for 7.1.2.
[Nexus 6P General] HTC_Phone:
Which ROM are you on? That's normal. It's not supported but as long as its showing green at the top, you'll be able to block wakelocks
[Nexus 6P General] komidzo:
I attached a second screenshot with my ROM ;). I'm on latest Pure Nexus. The big red eyesore won't bother me to much, as long as it works. I guess.
[Nexus 6P General] DEVILOPS 007:
That's normal Bro. That is supposed to look like that, keep in mind it is in heavy alpha testing.
[Nexus 6P General] CNDow:
I'm in the same situation with the latest Pure nexus & ElementalX kernel
[Nexus 6P General] DEVILOPS 007:
That's normal, everyone will have that but It still works fine so don't worry. I'm on Chads uber.