yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] gabidiesel:
I using this unofficial version of PA

Paranoid Android 7.2.2-DEV (Unofficial) update

Download Link:*pa_angler-7.2.2-DEV-20170804.zip
[Nexus 6P General] DEVILOPS 007:
That's why. The source I built from was AOSPA on github meaning that the zip will only work on the official 7.2.1
[Nexus 6P General] gabidiesel:
Thanks dev......
[Nexus 6P General] KhaMoustafa:
Guys, I just got the WakeBlock App updated through play store and when I open the app showing service unbound :(

PN latest build here..

Any suggestions?!.

---------- Post added at 06:20 PM ---------- Previous post was at 06:07 PM ----------

Replying to myself and to others who might face the same issue,, I just restarted the device and service bound again, no magic :)
[Nexus 6P General] AlemanSantos:
Gio just updated the app to autopatch every odexed ROM! Just tested on mine and it's working fine! [MENTION=7494055]DEVILOPS 007[/MENTION] should start searching new job xD
[Nexus 6P General] KhaMoustafa:
Did the same and works :)
[Nexus 6P General] DEVILOPS 007:
Until the autopatcher works for deodexed ROMs I guess I'm still in business lol;)
[Nexus 6P General] DEVILOPS 007:
Well I guess I need a new job now. The app just got an update so this thread is basically irrelevant. Thanks GioBozza lol.
[Nexus 6P General] MrMarques01:
Not really. On the latest PN it says "unsupported framework" when trying to auto patch
[Nexus 6P General] KindofBlues71:
FYI, there is a typo in the above recommendation. It should be FirebaseInstanceIdService. Thanks for porting this to Pure Nexus!
[Nexus 6P General] loadie:
Fixed
[Nexus 6P General] marbertshere:
Thanks for everything you did for us.
[Nexus 6P General] DEVILOPS 007:
Thank you for thanking me. It was my pleasure getting wakeblock to more people!:D
[Nexus 6P General] GioBozza:
I thank you too for your active support to this project!
[Nexus 6P General] DEVILOPS 007:
I appreciate that coming from you! Thanks for making wakeblock! The whole point of this thread was to try and get wakeblock more exposure and help people out with it and get it to as many people as my free time allowed and was also a way to get people to stop filling your thread with requests for it to get supported on their rom as they eventually came here to ask lol:laugh: Also, I'm not upset that this thread is now basically irrelevant as everyone can get it now incase you or anyone else was wondering. If I may ask though, with small and baksmali, I've never seen them in an app before. Do you think it is possible because of what you have done to be able to make an app that allows you to use it to deodexed and odex certain files through an app? Anyways, thanks for all you do and it was my pleasure to help in any way with supporting your project. :)
[Nexus 6P General] GioBozza:
Running baksmali and smali on the device is the easy part (if you do not consider the low memory issue obviously). It is just a matter of converting the jar file into a Dalvik (Android Java virtual machine) executable file.

So basically bytecode to smali. This can be done with the dx utility found in the Android SDK.

So if you were to use dx on itself (dx is written in java) and then move it on your device, you could use it on the fly on every java written program (if the libraries it uses are available on Android) to make it executable with Dalvik VM and the magic is done.
[Nexus 6P General] gogollack:
Does this app work with stock Android 8.0 on angler? Anybody know?
[Nexus 6P General] DEVILOPS 007:
Should do. People have tried it and had success so far but not everyone. If it doesn't work then it doesn't matter because everything is temporary until it actually works so give it a go if you want.
[Nexus 6P General] igylan:
It works for me and I'm on latest android 8 release. It does take time when it installs (20+ minutes) so just be patient.
[Nexus 6P General] umut1432:
https://m.imgur.com/a/n6T8w

that's my result so good
[Nexus 6P General] Ntress:
Hey

I followed the guide and entered the exactly numbers on the exact wakelocks, however since then my battery drain actaully increased a lot.. from something like 0.5% idle to over 1%.

why is that? am i doing something wrong??

using ABC OREO rom
[Nexus 6P General] krish@3T:
Y to quote the entire OP

Was that 0.5 from oreo or N
[Nexus 6P General] Ntress:
sorry

same rom.. oreo
[Nexus 6P General] krish@3T:
Device ? Rom ?
[Nexus 6P General] Ntress:
Nexus 6p

ABC rom
[Nexus 6P General] DEVILOPS 007:
I'm on N6P nitrogen Oreo and had over 15% idle drain which is now under 0.3 to 0. I'm not sure if you did something else or are limiting something the app with another app like appops or greenify but maybe it's the ROM you are on or kernel. If it doesn't work well for you then try another room and/or kernel and see how it affects it. Also, make sure to leave your phone idle for at least 4 hours and report back. Maybe get a log from better battery stats to see what processes are draining most of your battery during idle. Thanks.
[Nexus 6P General] Ntress:
in addition, i noticed that i occasionally get force closes for Google app (without triggering it) and that my phone going back sometimes to the bubbles boot screen while it's idle (seems like soft reboots)
[Nexus 6P General] DEVILOPS 007:
I don't think that's a wakeblock issue and sounds more like a rom issue unless you limited something you didn't mean too or that I didn't advise.
[Nexus 6P General] Ntress:
i tried this since 2 days ago and it's happen only while blocking the wakelocks in the guide, after i unblock them everything is back to normal. tried that 3 times.
[Nexus 6P General] DEVILOPS 007:
Well it's not a problem for me so I'm not sure what else to say other than try everything I said and talk to [MENTION=7087071]GioBozza[/MENTION]
[Nexus 6P General] Ntress:
delete

---------- Post added at 07:30 AM ---------- Previous post was at 06:45 AM ----------

After putting any line one by one and rebooting i figured out for sure what's making both the soft reboots and the Google fc's for me :

- RILJ -- 900 000ms

just unblocked that line while all others are working and now there is no problem at all..
[Nexus 6P General] Lughnasadh:
Its been reported elsewhere that blocking RIJL breaks stuff on Oreo.
[Nexus 6P General] Ntress:
oh well..

so now nothing make problems at all, but still my idle drain is over 1%/h on idle with the wakeblocks.. and 0.4-0.5% without it

how could it be?
[Nexus 6P General] wojtoo:
please be carefull with

wake:com.google.android.gms./ measurement.PackageMeasurementService -- Disable

for some app it makes infinite loop because app would ask MeasurementService over and over again so phone will not be able to go into sleep mode

some app afrer a while stop ask MeasurementService but some not (eg Nova Launcher or tapatalk)

so look into your logcat after disable this feature and take a look what app ask.

you have choice, not to use that app, hibernate that when it is not use, or enable MeasurementService.See what give you more profit
[Nexus 6P General] dnsh89:
Hey, even I'm on N6P nitrogen Oreo.. what wakelocks do you block?
[Nexus 6P General] DEVILOPS 007:
Everything listed in the OP except for RILJ
[Nexus 6P General] jyoti.id:
Does Blocking RILJ have any negative effects?
[Nexus 6P General] krish@3T:
Don't block if ur in android O
[Nexus 6P General] pipnmike:
In Oreo, it keeps crashing the Google app
[Nexus 6P General] DEVILOPS 007:
It just causes lots of issues as it is an important wakelock to not limit unlike in nougat. It causes apps like Google and dialer and other stuff to crash.
[Nexus 6P General] jerico123:
[MENTION=7494055]DEVILOPS 007[/MENTION] .Is there any possibility for nitrogen OS, Oreo, nexus 6 ?
[Nexus 6P General] DEVILOPS 007:
Just download the app from the play store and tap install core mod. It should extract the necessary files and edit them and repackage it through your recovery (TWRP)
[Nexus 6P General] jerico123:
Thank you so much for yr reply .. Will do as you said and reply back if any problem ..Thanks
[Nexus 6P General] THERAJ12:
would it cause com.android.phone to keep stopping? I got this issue and only temp fix is reboot...I am hoping unblocking RILJ will fix it! Running custom Oreo rom on Moto G5S Plus

*seems to be working so far*
[Nexus 6P General] DEVILOPS 007:
I do think blocking RILJ causes that issue on Oreo.
[Nexus 6P General] umut1432:
Android 8.1 wakeblock doesnt work
[Nexus 6P General] DEVILOPS 007:
It should work fine. Just make sure you are rooted and check the root manager app incase the app has been denied root permissions.
[Nexus 6P General] umut1432:
İ'm using. Magisk root and i will check root status thanks

Edit

Everything seems ok but doesnt work
[Nexus 6P General] Geezerooo:
It's true, doesn't work on 8.1. it's granted root permission but system says it still needs root.
[Nexus 6P General] DEVILOPS 007:
Well I guess you'll have to wait for Giobozza to sort it out then as it's out of my control.
[Nexus 6P General] Geezerooo:
I'm not too worried LOL. I just want to let him know that he's not the only one that thinks that.
[Nexus 6P General] Sjain11:
Oneplus 5T ( dumpling)

Codename phoenix ( Pie)

It doesn't work.

Phone doesn't go past the boot logo.

Tried with both magisk and the other method of installing.

Worked in oxygen os though.
[Nexus 6P General] DEVILOPS 007:
You'd be better off checking here as I'm not sure. The app should patch it for you I would've thought but it's been a while since I tried this app personally

https://t.me/wakeblock
[Nexus 6P General] DEVILOPS 007:
No, it isn't a bug. The wakeblock team are trying to get it working on 7.1.2 but currently the patch file used doesn't support it. Apparently it might be 1-2 weeks possibly more.
[Nexus 6P General] DEVILOPS 007:
As you still looking to get this on six rom? If so I'll need you to do me a favor and post your services.jar file. I can't make a build normally because the repo is broken but I can try editing different patch files and adding smali code to get it working manually but that's a bit advanced so it might take me a while. Have you also tried manually putting the file in system/framework and setting the permissions to 644 through your recovery?
[Nexus 6P General] tikizondo94:
Yeah I tried the manual method. Still resulted in a booking for me. Here's a copy of the latest services.jar from sixrom.
[Nexus 6P General] DEVILOPS 007:
Okay thanks, I'll take a look at it over the weekend.
[Nexus 6P General] weazie:
Here are threads, where there are some pretty complete configurations for what to block and with what amplitude. So that this project doesn't need to invent the same things again. But, some things may have changed, so be mindful.

https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

https://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
[Nexus 6P General] gigoo25:
Any chance to make a zip for the beloved Omnirom?

Here is the repo for the angler: https://github.com/omnirom/android_device_huawei_angler
[Nexus 6P General] DEVILOPS 007:
I'll try, I'm struggling to find the manifest link I need though
[Nexus 6P General] DEVILOPS 007:
Can you do me a favour and share the stock services.jar file with me here please. Thanks
[Nexus 6P General] gigoo25:
Here ya go!
[Nexus 6P General] fLipz:
OPS! [MENTION=1926925]gigoo25[/MENTION] beat me
[Nexus 6P General] AndrewM3:
is a stock based rom like Cortex on 7.1.2 available I downloaded app but need to flash the zip?
[Nexus 6P General] DEVILOPS 007:
Thanks a lot! :D
[Nexus 6P General] DEVILOPS 007:
No problem:)
[Nexus 6P General] DEVILOPS 007:
It is not available yet as it's a deodexed rom and the patch has not been updated to support 7.1.2 but will soon.
[Nexus 6P General] Alebr81:
Very appreciated

Hi. I am from Brazil. Own a s7 edge with superstock rom from xda . I was used with amplify and xposed. But since nougat came .. we lost xposed.. well.. all know that lol...

But I loved the wakeblock project and it is awesome.. a amplify substitute.. awesome. Well.. here Is my reqiest.. how to port this app to my device and rom? It is a

S7 edge with super stock rom and super stock kernel. Both found here in xda under s7 edge threads. I am also rooted with supersu.. can someone help me?

Thanks in advance.

Again.. awesome project..
[Nexus 6P General] DEVILOPS 007:
Hi, it isn't possible right now I think and seems to only work on nexus devices but if you provide me with the github repository for that rom I'll see what I can do.
[Nexus 6P General] Alebr81:
Sure. Here is The link

Sure. I Will be very happy seeing that working on MY s7 edge superstock rom. The github link is

Source Code:

-) github.com/Tkkg1994/SuperStock-Rom

Crossed fingers here!!

Thank you very much!!
[Nexus 6P General] DEVILOPS 007:
Don't get your hopes up, the patch was made for nexus devices and they differ from Samsung a lot so I'd say there's only a 20% chance but I promise I will try it and let you know what happens.
[Nexus 6P General] Alebr81:
I must to thank you !!. I have sure you will find a way.

YOu (devs) are fantastic to find a solution for everything. I hope you find a way. I would be contacting the rom developer about that. Your app is a must every single person that need to get complete control over alarms.

I await your answer... thank you very much
[Nexus 6P General] DEVILOPS 007:
Haha, I appreciate it. I just want to clear up I'm not one of the devs behind this mod and I'm in no way affiliated with them. I'm just trying to use what they have made to get it on as many roms and possibly devices as possible. I really appreciate the nice attitude:D
[Nexus 6P General] Alebr81:
I understand. But your atitude is awesome. I am prayng to see that APP working on MY s7 edge rom. You work need to be highly considerated
[Nexus 6P General] DEVILOPS 007:
I really appreciate it thanks. I'm definitely going to try it today but if it doesn't work then you'll have to unfortunately wait until it has been updated then I'll build it for you. I'll try it today anyway to see what happens.
[Nexus 6P General] kakabobo:
any for nitrogen rom?
[Nexus 6P General] DEVILOPS 007:
I tried it Bro but until the patch file supports 7.1.2 I won't be able to as the github repository is using 7.1.2 which means when I apply the patch with git it has an error. I will do it when it is supported in the future.
[Nexus 6P General] DEVILOPS 007:
Hi guys, I'd like to announce that I have finally got through a bunch of errors and have updated the 2nd post with wakeblock for Omni rom! I'm sorry it took a while because I had java build tool errors I couldn't figure out and then some ui.xml and TW_THEME errors but thanks to [MENTION=1926925]gigoo25[/MENTION] we were able to solve my problems and I have uploaded the zip and the uninstaller. To use it just flash it. Make sure to backup before flashing as I have not tested it myself. Also if it doesn't work for some reason or you get a bootloop then you can flash the uninstaller and then backup your services.jar in /system/framework and extract the one from my zip and paste it there. Then set the permissions to 644. If this has helped you then make sure to give me and gigoo25 a thanks.:D In the future I will be building for many more roms and will build for literally every rom out there including RR, Nitrogen, DU and so on and will update UBER, PN and Omni also and any other roms. Have a good day guys. Also, I have been asked a few different times out of xda why I don't have a donate option so I thought I would make one. I don't really expect anyone to donate but if you wish to then feel free to but it is up to you. However, it may motivate me to build for more roms and try and spend more time on this in the future. I'll also take requests from donators and thank them publically or privately if they want :)
[Nexus 6P General] DEVILOPS 007:
https://xdaforums.com/nexus-6p/general/taking-wakeblock-requests-t3583397/post71698475
[Nexus 6P General] DEVILOPS 007:
I just want to apologise quickly and inform everyone that the build I made for omnirom is actually for 7.1.2 I didn't realise as it seemed the manifest was 7.1.1 but I mistakenly misread it. If you use it on 7.1.1 then you will have a bootloop if you flash the omni version. Also the uninstaller for omni is currently not working as the services.jar file in there is the stock one for 7.1.1 and not 7.1.2 so please don't t use it. Thanks to [MENTION=1926925]gigoo25[/MENTION] for informing me of this as he uses omnirom
[Nexus 6P General] gigoo25:
Stock 7.1.2 services.jar file
[Nexus 6P General] DEVILOPS 007:
Thanks bro:)
[Nexus 6P General] DEVILOPS 007:
Omnirom wakeblock uninstaller has now been updated to work on 7.1.2 and is now ready to use!
[Nexus 6P General] threshfire:
SAOSP

A bit late to the party - would it be possible to get Wakeblock for SAOSP? Was using your mod previously for Pure Nexus and am a big fan; seemed to really help out with battery life.

Not to presume, but here's the services.jar from the latest SAOSP 4-09-17 7.1.2 build. Thanks regardless for your hard work!
[Nexus 6P General] DEVILOPS 007:
Thanks a lot for the compliments:) I'm going to be really busy tomorrow updating roms and patch files and building for you and I'm also porting some roms but I love what I do and will get on this tomorrow. I can't do it today as I'm at my dad's away from my laptop and Linux.
[Nexus 6P General] threshfire:
No rush whatsoever! Thanks for considering it!! Glad to have devs like you adding features :good::good:
[Nexus 6P General] DEVILOPS 007:
:D
[Nexus 6P General] Alebr81:
Hey, no rush!! I understand that you have a lot others things tô do. I am glad that we have devs like you adding features and spending theirs precious time porting apps tô others roms.

Also, I Will be finding a way to donate. I dont have a PayPal account but must be others ways? Let me Know about the progress with the superstock rom for MY s7 edge and how would I donate by others ways

Thank you very much. Have a Goodnight and weekend
[Nexus 6P General] DEVILOPS 007:
Thanks a lot for that don't feel like you have to donate because you really don't and like I've said before the chances of getting wakeblock on your device aren't very high but I am going to try. The only way people can donate if they wish is through PayPal currently:)
[Nexus 6P General] DEVILOPS 007:
Just a quick update I'm currently building for SAOSP and updating uber and pure nexus to 7.1.2 and then I'll be building for other roms and I'll see if I can build for that S7 user
[Nexus 6P General] KLit75:
I know you're a big fan of Uber (and faster kernel, I think?)

Could you link us to, or share your battery stats? Overall Im pretty happy with DU Official (excellent rom), flash kernel and wingoku.

But if another rom/kernel is really squeezing out extra battery life it might be worth switching.

Thanks!
[Nexus 6P General] DEVILOPS 007:
This is my battery life and the rom is the most powerful and speedy rom I have ever used. The kernel is also great and I prefer it than other Kernels I have tried like flash kernel. I also use wingoku 4.1 Sometimes I get 7 hours
[Nexus 6P General] DEVILOPS 007:
SAOSP is currently building.
[Nexus 6P General] jt1998:
Wow. This is on your 6p?which rom and kernel?
[Nexus 6P General] DEVILOPS 007:
Chads uber rom and faster angler kernel

https://download.bbqdroid.org

https://temp.bbqdroid.org
[Nexus 6P General] i42o:
Is it compatible with Chad's latest build? Was it updated?
[Nexus 6P General] theMAGNUM:
Does "600 000" mean I should type in 600000ms into the app for a specific wakelock?
[Nexus 6P General] weazie:
Yes
[Nexus 6P General] theMAGNUM:
Great, thank you! So then just to double check, 3 600 000 would mean 3600000ms in the app, correct? I just want to make sure I have the correct settings.

Thanks again! I'm glad I found this ?
[Nexus 6P General] weazie:
That's correct.
[Nexus 6P General] theMAGNUM:
Thanks again for the quick response! Can't wait to check this out tomorrow during a full day of usage.
[Nexus 6P General] DEVILOPS 007:
It isn't compatible right now but I have made a build and will be uploading the 7.1.2 version very soon.
[Nexus 6P General] DEVILOPS 007:
UPDATE: Wakeblock is now supported on UBER 7.1.2 and has been updated as well as the uninstaller in the 2nd post of this thread.
[Nexus 6P General] tejas.kary:
Is this supported on Purenexus ROM with modifications like custom kernel? I have PN ROM (3/17) with Franco kernel and Magisk 12. I tried flashing this in TWRP and device was not booting (stuck on boot animation). Had to restore a backup in TWRP to get things back on track (should have downloaded your uninstaller)
[Nexus 6P General] jt1998:
working fine on my PN, 3/17 build, with elementalx kernel and magisk. No issues.
[Nexus 6P General] DEVILOPS 007:
If you have problems which I'm not sure why you would then extract the services.jar file from the zip and place it in /system/framework and set the permissions to 644 and reboot and that should stop any weird bootloop issues from flashing it and wakeblock should then work fine.
[Nexus 6P General] manalicream:
I have found the boot can take around 5 minutes. Maybe try waiting for a while.
[Nexus 6P General] Rich508:
I need help im running the latest chad's uber rom. i downloaded both files and flashed wakeblock for uber and istalled the wakeblock app it just shows core file not found,service unbound ...Am i doing something wrong?
[Nexus 6P General] DEVILOPS 007:
1st: Make sure you are running latest build from the new website. Some people don't know there is a new website. https://download.bbqdroid.org

2nd: Make sure you are using the wakeblock zip not the uninstaller.

3rd: If that doesn't work then try reflashing your vendor image and the mod.

4th: If those two didn't work try dirty flashing your rom and setup and make sure you flash wakeblock before rebooting.

5th: If those didn't work then try doing extracting the services.jar file from the zip and place it in /system/framework and set the permissions to 644.

6th: If that doesn't work then try clean flashing your rom and setup and restore a data backup.

If none of these work then your device is likely screwed up:)
[Nexus 6P General] Rich508:
Thank you I had to update my vendor file :)
[Nexus 6P General] DEVILOPS 007:
You're welcome, glad it worked:)
[Nexus 6P General] DEVILOPS 007:
My sot after using wakeblock on uber 7.1.2 for one day!

It is still going up, currently on 7h38m
[Nexus 6P General] Rich508:
What kernel and settings ? If you don't mind ...:)
[Nexus 6P General] DEVILOPS 007:
I'm using faster angler kernel and wingoku governor profile. Other than that I basically leave the kernel settings stock.
[Nexus 6P General] Big.Al:
Hi, could you do this also for lineage os?
[Nexus 6P General] bobby_digital234:
dirty unicorns official 11.3

any chance to add this to DU 11.3 7.1.2? what do i need to offer up to help get this done.
[Nexus 6P General] DEVILOPS 007:
I honestly would I promise it would've been one of the first I did but it isn't possible really in a way you would want. The team behind the rom do nightlies and updates different than most roms and change the services.jar file with every update. So basically what you'd be asking me to do is spend hours a day updating wakeblock for lineage os every day! I promise I would do it but I am not spending every day doing updates for it. I would recommend just switching roms, there are many better roms that have a cm base but build off it with more tweaks to speed, battery and added features and have oms (Substratum support). Sorry again but I don't have the time or pc to even handle it and I have college so sorry.:(
[Nexus 6P General] DEVILOPS 007:
Yeah, of course. I've been busy lately and am still trying to get this stupid SAOSP repository to work but I will try DU soon.
[Nexus 6P General] DEVILOPS 007:
You know this would be a lot easier if I had an amazing pc. Shame... College life with no job sucks when you want to do something that requires an expensive pc unless you are happy spending days waiting for terminal.
[Nexus 6P General] bobby_digital234:
I agree with the pc thing. I haven't upgraded my desktop in years and have been making due with an ultrabook. It may be time to go PC shopping so I can start building and modding again