Hey frap129!
After some thinking, I finally agreed with
@GioBozza to release the core part of wakeblock, which goes into platform/frameworks/base repository.
It's simply too much work integrating the mod inside every rom or (worse) doing a smali patching-app.
Here is the patch, for you to simply drag on whichever version of android (should work on 7.x (maybe 6.x?)) and whichever device/rom you want.
This is valid for any rom developer, not only you.
We will continue to update the stock rom zips as it's easier for us to maintain those.
The only things we ask for are (that's not a legal license, but it can make us REALLY upset if you don't do that) :
- You shall credit
@GioBozza for the mod by linking this thread in your rom post (c'mon, don't write it in the bottom of the post, with size 1!)
- You may include this code to any non-commercial work (you can still get donations, we're cool with those!)
- You can not sell this code or get donations by the code of this mod alone
- You may include the free version of the apk in your ROM (in the future we may release a paid version or an unlock app. Of course, that can not be included.)
- You should redirect users here for support about the mod or the app itself
- You should have fun and save your battery
- You may need to drink some fruit juice afterwards - have that ready!
WHOOP, WHOOP - DOWNLOAD:
Git patch - Goes into platform/frameworks/base repository.
https://mega.nz/#!ns9HgBSS!jsuyyeeqxR7QtVJvnVJ1227jv7g-N-uTUdYhDpKrGW8
REMEMBER: the app takes no privileges at all, the ROM can even be without root!
We're currently looking for a more reliable and developer-friendly way to distribute the mod. If know a better one, let us know! (we love to improve)
Also, take note that we will update the "core" (android framework) part of the mod, from time to time. It is versioned, so you can keep track of what happened.
Cheers!