yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] DEVILOPS 007:
Remember guys, I'm free all week to build this on other roms so even if you don't use a certain rom feel free to still suggest a rom so I can make the list bigger. I currently can't do S.IX rom but I have no control tool over that so sorry but that may change in the future.
[Nexus 6P General] DEVILOPS 007:
I've decided I'm going to keep myself busy and work on dirty unicorns, Resurrection Remix and nitrogen OS.
[Nexus 6P General] rpr69:
I flashed the zip on the latest PureNexus on my 6P, I verified that the services.jar file was replaced in /system/framework, and has the same MD5 as the download, and has proper permissions, but I get 'Core file not found - Service Unbound' and 'Unsupported Device...'

Anyone have any ideas?
[Nexus 6P General] DEVILOPS 007:
What version of Android are you on? 7.1.1 or 7.1.2
[Nexus 6P General] cathlynn:
I'm having the same issue as rpr69. I've flashed the zip but wakeblock still doesn't detect it.
[Nexus 6P General] DEVILOPS 007:
Try extracting the services.jar file from the zip and go to your recovery. Then mount your system and go to where you extracted the services.jar file and select it and select move or copy and paste it in /system/framework.

If that doesn't work then I'm lost.
[Nexus 6P General] rpr69:
7.1.1
[Nexus 6P General] cathlynn:
Actually I've done that (see screenshot). Unfortunately it still doesn't work. I've even tried to flash my rom and flashed the patch zip at the same time as well with no luck.
[Nexus 6P General] DEVILOPS 007:
As you can see it works fine for him so I'm really not sure what your problem with this is. Have you tried completely clean flashing your rom and maybe try Chads uber ROM and see if the other one works.

https://xdaforums.com/nexus-6p/general/taking-wakeblock-requests-t3583397/post71738039
[Nexus 6P General] cathlynn:
I quite like pure Nexus rom though. It's the most stable rom that I've tested out of all the ones I've tried. But as you've said in an earlier post, Uber rom is based off of pure Nexus so maybe I'll try apply the fix for the Uber rom.
[Nexus 6P General] DEVILOPS 007:
Whether or not you stay on it maybe just see if you can get wakeblock working on it. I much prefer Chads uber anyway.
[Nexus 6P General] DEVILOPS 007:
If someone has the stock pure nexus services.jar please share it with me so I can make an uninstaller. Thanks!
[Nexus 6P General] igylan:
I'm sorry for asking a lot of questions. What directory should I place it to?
[Nexus 6P General] DEVILOPS 007:
/system/framework/oat/arm64
[Nexus 6P General] igylan:
Thanks will give you the outcome in awhile.

Update:

Still bootloops.
[Nexus 6P General] Loccy:
Also seeing it bootloop having manually dropped the odex into place.

I'll try and get you a logcat later on when I get home. Won't be until late-ish tonight, though.
[Nexus 6P General] pathum1:
Anything I can do manually to undo the damage thru twrp in order to stop the bootloop?
[Nexus 6P General] Loccy:
There should be a backup folder in Download/Wakeblock and you should be able to pull your original services.odex from there. Use TWRP terminal to remove the new file and put the old one back. Failing that, dirty flash the latest official DU and that should get you back up and running.
[Nexus 6P General] DEVILOPS 007:
For people that have problems with DU can you please download liveboot and enable the option for logging. Then when you get the bootloop please send me the log so I can determine the problem. Thanks.
[Nexus 6P General] pathum1:
Thanks for the response buddy. I'm no pro when it comes to this, if it's not too much trouble could you tell me the commands I need to use (I've never used the twrp command terminal )....
[Nexus 6P General] DEVILOPS 007:
If someone here could send me the stock services.odex file for DU I could help.
[Nexus 6P General] pathum1:
It's alright bro. I'll push the official DU thru adb tmr n do a dirty flash....
[Nexus 6P General] DEVILOPS 007:
Would anyone here be willing to try this mod on the official April build of DU incase the repo hasn't been updated for the May one. Thanks.
[Nexus 6P General] DEVILOPS 007:
I just posted something called DU_TEST. Can someone please try it and tell me if they get a bootloop? Thanks.
[Nexus 6P General] Loccy:
Bootloop I'm afraid on dutest.zip.

Have attached the boot log - hope it helps. This is from dutest.zip.

Edit: do you want me to try with the odex based version and get a log of that too, or will that not yield any valuable information?
[Nexus 6P General] igylan:
Just woke up. I just want to say thank you for your efforts on this [MENTION=7494055]DEVILOPS 007[/MENTION]
[Nexus 6P General] pathum1:
i tried it on the April one in the first place..... version 11.3 i think (thats how the DU guys version it i blv)
[Nexus 6P General] CappyT:
Hi everyone, one of official WakeBlock maintainer here.

I managed to get it working on Official DU (11.4). It could also work on weeklies (even RC) if you want to try it out. (have a backup ready, in this case)

Attached, the flashable zip and, if you are a fan of magisk, go on and put the services.odex into /cache/magisk_mount/system/framework/oat/arm64 (create the folder structure)

Have a good wakeblock day!
[Nexus 6P General] DEVILOPS 007:
Looks great, thanks for posting here:) Could you share the method please so I can support later versions? We can talk in pm if you want.
[Nexus 6P General] eclaxton:
Thanks dude for the hard work, but this works for nexus 5 running last weekly. Sorry my bad English.
[Nexus 6P General] CappyT:
This is specifically built for N6P on latest official, chances are really slim (probably it won't work due to architecture differences in the SoC) but you can try it if you want to.

Take a backup (only /system should do the trick) because you probably need it. We're as always not responsible for data loss or hard bricks, so take absolute caution.
[Nexus 6P General] igylan:
It boots but service unbound

[IMG="wakelock"]https://photos.google.com/photo/AF1QipPHcudSkhbw24P4E35EOENavwMJh6IscgQdfUQ2[/IMG]
[Nexus 6P General] DEVILOPS 007:
Have you rebooted since flashing it? Try rebooting or flash again.
[Nexus 6P General] DEVILOPS 007:
Can you send me your services.odex please so I can make this work on your phone for you? Thanks.
[Nexus 6P General] JBY:
DU works for me now. Service bound. I'm on May official build.

Thank you [MENTION=7494055]DEVILOPS 007[/MENTION] and [MENTION=4101055]CappyT[/MENTION] for your hard work.
[Nexus 6P General] eclaxton:
Here

https://www.dropbox.com/s/m0wv7sqlv20dvfz/services.odex?dl=0
[Nexus 6P General] igylan:
Flashed it again now its service bound. DU May official. Boom Yeah! [MENTION=4101055]CappyT[/MENTION] and [MENTION=7494055]DEVILOPS 007[/MENTION] Matsalams!
[Nexus 6P General] DEVILOPS 007:
Massive thanks to [MENTION=4101055]CappyT[/MENTION] for doing this. I was doing something wrong for a while and thanks to him now I know what as he has explained it. I will test what I know by doing DU for the nexus 5.
[Nexus 6P General] Loccy:
A big thanks to [MENTION=7494055]DEVILOPS 007[/MENTION] and [MENTION=4101055]CappyT[/MENTION] for sorting out DU. Very much appreciated.
[Nexus 6P General] ithorien:
Stupid question so I don't cross streams in my head; can we use the most recent DU build for May PN?
[Nexus 6P General] pathum1:
Do you think this would work on the 11.3? (im gonna try it later anyways :) )
[Nexus 6P General] CappyT:
It could. No guarantees tho, so take a backup (/system would suffice, but data is also important)
[Nexus 6P General] pathum1:
Scratch that... ive got the 11.4 now and flashed the zip... works!! Thank you so much everyone for the hard work you put into this :)
[Nexus 6P General] Geezerooo:
Any chance you guys could get Screw'd working?

https://github.com/ScrewdAOSP

I wanted to try to learn to do this myself but I have time limitations to teach myself. Still a work in progress.
[Nexus 6P General] DEVILOPS 007:
I'll give it a go but I've got a queue of about 5 roms at the moment and I'm trying to put what I've learnt to test odexed roms. I can always teach you if the time limitation is learning not building it.
[Nexus 6P General] Geezerooo:
Yeah the time constraint is usually both. I do swing shift so when I'm on afternoons I got more time but now I'm on days so time is at a minimum.
[Nexus 6P General] DEVILOPS 007:
I just uploaded wakeblock for DU with the rest of the zips so it can easily be found. Full credit to CappyT for making it work.:)
[Nexus 6P General] DEVILOPS 007:
What do you mean? Why would you think the DU zip would work on PN? I've already uploaded a PN version if you want it on there.
[Nexus 6P General] kyzn:
Well he did say it was a stupid question. :silly:
[Nexus 6P General] DEVILOPS 007:
Yeah:D
[Nexus 6P General] ithorien:
Self deprecation works wonders sometimes. I was only asking this particularly stupid question because someone mentioned waiting for an updated PN build, and I want to say I flashed the zip but got the service unbound issue.

I'll backup in a min and just try reflashing. Thanks for all your hard work!
[Nexus 6P General] DEVILOPS 007:
No problem! I heard from someone that even though the github repo updated that wakeblock still worked on the most recent version. Maybe try flashing it then reboot and if service is not bound then flash again.
[Nexus 6P General] eclaxton:
Hey pal any eta for arm device like my nexus 5 :cowboy:
[Nexus 6P General] ithorien:
Will do; was going to do just that yesterday but ended up running out of time. Thanks again!

EDIT: Didn't work at first, reboot and re-flash did it. Thanks!
[Nexus 6P General] DEVILOPS 007:
Not right now, I'm having issues deodexing files so until I get it to work I can't do much.
[Nexus 6P General] DEVILOPS 007:
I need you to upload it again please. The link isn't working.

Edit, I actually need you to send me the services.jar
[Nexus 6P General] eclaxton:
Here the two files

https://www.dropbox.com/s/ox63dw9sd4skblz/Services jar and odex.zip?dl=0
[Nexus 6P General] DEVILOPS 007:
Here you go. Please try it and tell me if it worked. Doing odexed roms is so much more complicated and a lot more steps with odexing and deodexing but I think I did it right. Please backup and flash and report back ASAP.:)
[Nexus 6P General] eclaxton:
:crying: help :confused:
[Nexus 6P General] DEVILOPS 007:
Reboot to recovery and flash again.
[Nexus 6P General] eclaxton:
Flashed zip again, Still the same, after rebooting twice.

This is getting a kick in the ass for you. lol

I trust your skills, that you can make this work.:highfive:
[Nexus 6P General] Face_Plant:
For those that use Magisk, I have created a Magisk module to enable WakeBlock for the 5/9/17 build of Pure Nexus.

Credit goes to [MENTION=7087071]GioBozza[/MENTION] for WakeBlock and [MENTION=7494055]DEVILOPS 007[/MENTION] for the modified services.jar file.
[Nexus 6P General] DEVILOPS 007:
Chad's PA builds magisk version. Thanks to [MENTION=5788953]Face_Plant[/MENTION] for the idea and explaining what he did and giving me the idea to support magisk in the future.:)
[Nexus 6P General] eclaxton:
What do you think about crDroid, I am planning switching my rom tomorrow for my nexus.
[Nexus 6P General] DEVILOPS 007:
Any reason you're switching. Honestly, I think it is a good idea to switch as I haven't heard great things about DU on the nexus 5. Apparently it isn't very fast and battery friendly. crDroid us probably a better choice so yeah that would be good. However, Euclidean is also a great rom with a nice and respectable dev who is very active and takes feature requests. He also implemented wakeblock into his rom.
[Nexus 6P General] DEVILOPS 007:
Magisk version of UAOSPA Wakeblock for users who want to leave the system alone. Thanks [MENTION=5788953]Face_Plant[/MENTION] for helping me as I was stupid in making the module.
[Nexus 6P General] eclaxton:
Hey bro is me again:laugh:, and I am now in CrDroid v3. 2 Tell me what you need to run the WakeBlock. Ty
[Nexus 6P General] DEVILOPS 007:
I don't need anything from you assuming the rom is deodexed. Can you check /system/framework and tell me if there is a folder called oat then arm/64 and services.odex. If there is then send me the odex. If the rom is deodexed then don't send me anything.?

Thanks
[Nexus 6P General] eclaxton:
No services.odex and nothing folder amr64 :highfive:
[Nexus 6P General] DEVILOPS 007:
Great! Good to hear. How's the rom btw? I've heard good things about it and have heard that the difference between DU and CrDroid is like night and day. Hopefully you are noticing the benefits now you have switched roms.
[Nexus 6P General] eclaxton:
CrDroid more Blu_spark, is a perfect combo battery and performance, for my daily use. :cool: and free bugs :p
[Nexus 6P General] DEVILOPS 007:
Quick question for DU users. Does it support f2fs?
[Nexus 6P General] DEVILOPS 007:
Wakeblock for CrDroid will be up tomorrow when I'm back at my pc.
[Nexus 6P General] eclaxton:
Ooh Yeah :highfive:
[Nexus 6P General] DEVILOPS 007:
The repo and services have finished. I literally just have to zip it up and post it. That'll take 2 minutes. I left it overnight to finish but didn't have time to post this morning as I was in a rush. At least I can hype it up for tomorrow! Also, hopefully it actually works. It is a deodexed rom so there shouldn't be any problem. I'm personally switching to DU but on the 6p as it is a lot better on here.
[Nexus 6P General] DEVILOPS 007:
Quick and simple, I appreciate it.?
[Nexus 6P General] RockyAJ:
Saw it already requested up there: Screw'D

Thanks
[Nexus 6P General] zahir.dk:
I flashed the PureNexus zip using TWRP but I do not see this as a module listed in Magisk. Am I missing something?

Edit: Ignore please, Got it working. Thanks!
[Nexus 6P General] DEVILOPS 007:
Ignored?
[Nexus 6P General] DEVILOPS 007:
I'll be getting screwed working today hopefully. I'm going to get CrDroid to work then I'll start it.
[Nexus 6P General] OrucReis:
Can you develop it for purenexus installed n5x. Im writing the post for you not to forget about it ☺️☺️
[Nexus 6P General] DEVILOPS 007:
UPDATE:Wakeblock for crDroid has been uploaded for the nexus 5. Please let me know if it works.
[Nexus 6P General] RockyAJ:
Does the device matter? Am on 6p.
[Nexus 6P General] danlii:
I flashed the vanilla zip on my rooted vanilla 7.1.2 device, using Flashfire. Now I'm stuck in boot logo. :(
[Nexus 6P General] DEVILOPS 007:
What device? You need to have the nexus 6p and I don't know if flashfire works or just TWRP
[Nexus 6P General] danlii:
Well, it is a Nexus 6P. And it would appear that Flashfire doesn't work...
[Nexus 6P General] eclaxton:
Flash zip twice, reboot twice and it doesn't work:confused:
[Nexus 6P General] msoct04:
Any possibility of making this for the Nexus 5x latest Pure Nexus build?
[Nexus 6P General] Geezerooo:
Might I make I suggestion? Seeing as this is a 6p thread, I believe we need to try to keep the requests based on 6p roms. The current format is making for a lot of uncertainly on what works with what. If you want a different phone supported I would suggest you ask the OP to make a post in your specific thread. IMHO
[Nexus 6P General] KLit75:
I bootlooped last night when I flashed to latest DU Weekly. Not a big deal, I just restored my backup but does it not work with Weeklies v11.4?
[Nexus 6P General] DEVILOPS 007:
That's what has been said for a while? It will likely only work on the officials.
[Nexus 6P General] DEVILOPS 007:
UPDATE:Wakeblock has been uploaded for screwd rom. Please flash it and tell me if it works. Thanks
[Nexus 6P General] Geezerooo:
Works great!
[Nexus 6P General] RockyAJ:
Thanks
[Nexus 6P General] DEVILOPS 007:
Great!
[Nexus 6P General] DEVILOPS 007:
You're welcome! First rom for the nexus 6p that wasn't odexed I've done in a while so nice to see that I can still do it:D
[Nexus 6P General] RockyAJ:
So basically you just flash this, install wakeblock and that's it? Or something else has to be done? I read many topics about what's safe and what's not. Do you recommend not touching anything at all?
[Nexus 6P General] therock3181:
You can start by blocking these below as mention in the first post. If you don't, wakelock will still be there.

- NlpWakeLock -- 600 000ms

- GCoreFlp -- 600 000ms

- RILJ -- 800 000ms

- UlrDispSvcFastWL -- 600 000ms

- CMWakeLock -- 600 000ms

- *net_scheduler* -- 3 600 000ms

- Wakeful StateMachine: GeofencerStateMachine -- 600 000ms

- LocationManagerService -- 600 000ms

- SyncLoopWakeLock -- 600 000ms

- NetworkStats -- 800 000ms

- Icing -- 3 600 000 ms

- ULR_BarometerReading_WakeLock -- 600 000ms

- NfcService:mRoutingWakeLock -- 3 600 000ms

- NlpCollectorWakeLock -- 600 000ms
[Nexus 6P General] JBY:
[MENTION=7494055]DEVILOPS 007[/MENTION]

I tried zip from OP for ABC. It boot loops on the latest ABC.
[Nexus 6P General] DEVILOPS 007:
Which ABC are you on? That one is for ezio84. It it does bootloop then I'll try updating it later.
[Nexus 6P General] JBY:
I'm​ on Garrykd build for angler (Clean & Sober Edition)
[Nexus 6P General] DEVILOPS 007:
Well that's why you are bootlooping then
[Nexus 6P General] Geezerooo:
It works but wakelock keeps crashing every time I double hit my power button to turn on camera. Not sure why though......
[Nexus 6P General] DEVILOPS 007:
Maybe try experimenting with what wakelock could cause it. Are you sure wakeblock is causing it? I'd like to hear if other screwd users are having the same problem as it could be you limited a wakelock I didn't say or you could have got unlucky. Maybe it is a rom problem.
[Nexus 6P General] Geezerooo:
I only have 3 blocked so I'll start dropping them to see what it might be. I do have to reboot to get wakelock to be bound again.
[Nexus 6P General] DEVILOPS 007:
Okay, hopefully you can sort this out. Maybe also try flashing the zip again and see if that helps if nothing else does.
[Nexus 6P General] Geezerooo:
Been there done that. My troubleshooting is actually one thing I'm good at lol
[Nexus 6P General] DEVILOPS 007:
Okay cool. Feel free to update me on what happens?
[Nexus 6P General] kakabobo:
any chance this work on nitrogen OS?
[Nexus 6P General] RockyAJ:
I tried that. Am on Screw'd. I only disabled what devilops said was safe to disable. No problem double click for camera
[Nexus 6P General] Geezerooo:
I've tried it a couple more times with no ill affects. Haven't found the cause yet......

---------- Post added at 05:39 PM ---------- Previous post was at 05:34 PM ----------

Any chance building for AICP? I feel lineage based roms seem to run smoother than​ AOSP on my device
[Nexus 6P General] DEVILOPS 007:
Is nitrogen os odexed or deodexed? Thanks
[Nexus 6P General] Geezerooo:
I'm going to try and make one for AICP. Wish me luck lol
[Nexus 6P General] DEVILOPS 007:
Haha, good luck. I know I didn't respond to your message but I tried it yesterday and today. I was getting issues though. Hopefully your pc gets lucky. If you need any help after you synced the repo I'll be happy to help. Talk to me in pm though if you need anything?
[Nexus 6P General] MrMiami81:
I updated the wake block app through the play store and re flashed the zip for the pure Nexus ROM and it is still showing as red instead of green when opening the wake block app.
[Nexus 6P General] crackerjack1957:
Same here, flashed zip 3 times, still unbound..........
[Nexus 6P General] weazie:
Same.
[Nexus 6P General] RockyAJ:
Same happened with me so reverted back to older version.

Even put my phone into a weird loop after booting(stuck at android is loading) so had to remove app through twrp
[Nexus 6P General] DEVILOPS 007:
How'd you revert back? Please share the apk for all of us as everyone has this problem it seems. Thanks.
[Nexus 6P General] RockyAJ:
There you go
[Nexus 6P General] DEVILOPS 007:
Thanks bro
[Nexus 6P General] MrMiami81:
When I tried to install the app I got a message that said the package is corrupt
[Nexus 6P General] RockyAJ:
[MENTION=7494055]DEVILOPS 007[/MENTION] did that happen with you too? i can try reupload the apk
[Nexus 6P General] RockyAJ:
try this
[Nexus 6P General] DEVILOPS 007:
It worked fine for me, you just need to uninstall the first version first.
[Nexus 6P General] MrMiami81:
It worked after deleting the old one
[Nexus 6P General] MrMiami81:
The latest update to the app works with the zip for PN.
[Nexus 6P General] KhaMoustafa:
Guys, am not sure what is the problem with the PN version, I have been reading the previous posts regarding the latest updated App that it doesn't work. But, for me I just updated the app normally from Play Store and then​ reflash the zip again and clear caches. Viola Service Bound and green light ?
[Nexus 6P General] DEVILOPS 007:
Good to hear, there was a problem everyone had but there has been a few updates since to fix the problem so you likely missed the bad updates causing the problems. I promise you you would have had the problem too if you got one of the bad updates?
[Nexus 6P General] KhaMoustafa:
Then am lucky [emoji4]
[Nexus 6P General] DEVILOPS 007:
Little update:If you didn't already know the core mod has been updated to v2.0 so I have released a new version for DU by using the new template and new java file. You won't notice any differences so you don't need to flash it but I would recommend it as you might as well.
[Nexus 6P General] igylan:
Is that the one in the OP? The last file for DU?
[Nexus 6P General] clepsy:
It does not boot when I flashed on DU
[Nexus 6P General] pathum1:
I switched from DU to Lineage y'day... I was getting very inconsistant battery life on DU... Wondering whether our devs tried to get wakeblock working on it Lineage
[Nexus 6P General] DEVILOPS 007:
No go, sorry. The dev himself GioBozza said he did for a bit but every nightly apparently changes the services.jar which is the file that needs modifying so I'd have to make an update for it every day which I don't have the time or resources to do so.
[Nexus 6P General] pathum1:
Totally understand mate... i actually forgot about the fact that Lineage still has no official build that you could focus on...

just a suggestion if i may... apologies for even asking such a dumb question in the first place :D

https://xdaforums.com/nexus-6p/development/unofficial-lineageos-oms-support-t3581963

This thread is about an unofficial port of Lineage which supports OMS... and the updates are very consistent... (not nightlies)

I'm sure there will be many users who'd be using this ROM... so maybe in the future you could give it a shot

PS:- Is there a manual way where one could drop the necessary files into the specific folders and get this working on Lineage?
[Nexus 6P General] KLit75:
I flashed the crDroid wakelock and it works (at least no bootloop).

Not sure if anyone confirmed it yet.
[Nexus 6P General] DEVILOPS 007:
Can't remember but thanks for informing. Good to know.
[Nexus 6P General] DEVILOPS 007:
I'll think about it. Depends how difficult and if I have spare time but I'll definitely keep it in mind. As for your PS there is a way with core mod v2.0 to port it without the source code being required but I'm not sure how to do that. Maybe go and ask the wakeblock team? ?
[Nexus 6P General] pathum1:
Thanks for your response bro. I'll talk to em n see :)
[Nexus 6P General] DEVILOPS 007:
UPDATE:I've just uploaded wakeblock for AquariOS. I also want to say that it is my current favorite rom and seems to have better battery and more features than most. The community is also very nice and I have talked to the rom developer personally who is likely going to be adding the code I made in a pull request on github to the official source code so my zip will become irrelevant in a future update when and if he eventually does. Why am I talking about this rom so greatly you might be wondering? Because it is one of if not the newest proper new roms that isn't a port or ABC and is amazing and I want to spread it around a bit. Check it out here. https://xdaforums.com/nexus-6p/development/rom-aquarios-7-1-2-oms-weekly-releases-t3606644
[Nexus 6P General] RockyAJ:
I was reluctant between aquarios and six. Ended up with six. Haha

Edit: just came to aquariOS. Let's see what your hype is all about :)
[Nexus 6P General] guyderam:
I cant seem to get it to work with DU 11.4 nexus 6p. Cant install the core mod via app. Says unsupported rom/phone... What should i do?