yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Bearthquake:
Rooted?
[Android Software Development] basem_ym:
Yes, Systemless SuperSu 2.82.
[Android Software Development] basem_ym:
Does it need SELinux support??
[Android Software Development] Lughnasadh:
It might help if you describe what is happening. When you tap to modify system framework what happens? Does it reboot into TWRP? And if so, does it flash the script? What phone, Android version, etc...?
[Android Software Development] basem_ym:
It seems like every thing is great, extracting framework, and replacing it with the modified one, phone reboots normally but not into twrp, it never happened, (I thougt all the work is finished after replacing the new framework :eek: )

Xperia M2 lineageos 14.1 unofficial.

Pure lineageos, I mean no major mods installed, only some camera stuff.

I will make a logcat tomorrw and post it, if it helps.
[Android Software Development] Lughnasadh:
I know for some people going into TWRP and flashing the "flash.zip" found in /data/data/com.giovannibozzano.wakeblock has worked (Except on Samsung devices it gives bootloops I think) if after the framework is modified it doesn't go into TWRP. I've actually done this on my Nexus with no problem, but I don't know anything about Xperias. Maybe make a nandroid to be safe and try that.

Yeah, once the framework is patched its supposed to boot into TWRP and flash a script automatically.
[Android Software Development] TheBritton:
Will this app work for the Galaxy S5? I'm wanting to try it, just not sure what the risk level is on this device.

EDIT: Nevermind. I see it causes bootloops on other Samsung devices.
[Android Software Development] Tomatot-:
Hi, I just discovered the app and it seems very promising. Thank you dev!

Where can I find what's including in the core mod and do you recommend to block anything else?

Thanks again. :)
[Android Software Development] jyoti.id:
https://xdaforums.com/nexus-6p/general/taking-wakeblock-requests-t3583397/post71698430

I think this can help you ?
[Android Software Development] basem_ym:
The mechanism of the app seems much better than amplify.

I blocked nearly every wakelock of katana,orca and gms(plus couple of gapps)

No FCs at all, no lagness and all apps function as it shoud.

I have an old 1gb ram device, I alwys suffer cpu overheat, now its gone!

I will experiment as much WL as possible, hoping to make an endless safe-blocking WL table.

Very much thanks for the developer, I will be very happy to translate this app to Arabic if you are planning to.
[Android Software Development] billyjonstevens:
Hi guys Don't know if anyone can help, tried to install on latest leedroid htc 10 (rooted with magisk) app runs reboots to twrp etc seems to flash successfully but on every attempt the app is still unbound, tried a reboot flashing zip in twrp manually but no joy - also when installing core mod this process doesn't seem to take long - maybe 45 seconds not a long time as mentioned in op.
[Android Software Development] piyush7243:
Cant install on Oxygen OS Oreo. Is it supported. It used to work fine on Nougot
[Android Software Development] stevenhsl:
I was about to install Oreo update on my op3 but now I think I shall just wait for the time being. :(
[Android Software Development] THERAJ12:
I get the error while patching flash schedule failed and a notification on status bar saying you need root permission to install the core mod but I have magisk 14.3 installed and wakeblock is granted root... anyone seen this?
[Android Software Development] habylab:
Thanks for this, was going to ask/check myself.
[Android Software Development] Frenzi2012:
great app! please support AOSP 8 ROMS, like Nitrogen OS for redmi note 3 pro, kenzo/kate device!
[Android Software Development] kimxk:
Running it fine on NOS 2210 Oreo.

Couldn't get it going on later builds, so I'm staying with this ROM until xyyx releases 8.1.

Don't block rilj on Oreo, it made my phone unstable.
[Android Software Development] locolyric:
any one can share which alarm SHOULD NOT BLOCK in oreo? so far i know is icing and rilj
[Android Software Development] hasan4791:
When installing, it modified some android framework files and it rebooted to recovery and some script was running... How to revert all the changes this app made?

I uninstalled this app, does the files which it modified be back to the original one or it leaves residue??
[Android Software Development] Lughnasadh:
After removing the app, reflash your rom.
[Android Software Development] hasan4791:
[MENTION=7087071]GioBozza[/MENTION] Dear developer, kindly add the warning in ur app description too what it modifies and backup is needed or not... I never heard this app b4 and it popped up in my playstore for first time and installed it. Even inside the app there was no description or faq section atleast.... If this app has xda section, kindly provide the link of xda also in ur app description.... Now i need to reflash all to recover my old setup since, it doubled my phone shutdown time and need to long press for more time to boot. .. After uninstalling, now the hardware light is glowing for longer time than before and boot long press became fine...

App in beta means unstable, but its way misleading... Kindly update ur app description in playstore for it... And xda linl could be way helpfull.
[Android Software Development] Bearthquake:
Special snowflake alert...

No offense, but longer bootup time as a deal breaker for you is kinda ridiculous.
[Android Software Development] hasan4791:
No mate... Boot timw isn't longer, its that i need to press and hold power buttom for like longer time than it wqs b4.
[Android Software Development] Vagelis1608:
This app can't do that.

Look up "placebo effect". I think this is your problem.
[Android Software Development] hasan4791:
Doesn't matter, i need dev to update the description properly in app section... Thats it... And yes i do see the differences b4 nd after this app
[Android Software Development] Bearthquake:
This is free. You do not need the dev to do anything. Use at your own risk.

The fact that you think you're entitled to something like this shows that you have no idea how this community works.

Take off
[Android Software Development] hasan4791:
Ok... I realise the last comment portrayed different meaning... Sorry for that... There were apps in playstore which are active in xda had their links at app description..

There were many users like me who thought this app which needs root permission but they don't know what it does... Since as per my understanding it modifies some system framework, Atleast there would be little warning and more info to xda link... Sorry for all misunderstanding guyz... Peace
[Android Software Development] THERAJ12:
I've recently been getting "com.android.phone keeps stopping" on custom 8.0 AEX/GZR roms running on Moto G5S Plus w/ TWRP r9 and magisk 14.3...wakeblock works fine on the stock rom. This may be more of a question for the rom devs but wanted to post here if anyone had come across...I'm blocking the suggested list from below site however this was when I was using this on 6P ( worked perfect) so that might be my mistake as well. Any thoughts would be appreciated. I can attempt to post error log next time I come across if it helps. Thanks

https://xdaforums.com/nexus-6p/general/taking-wakeblock-requests-t3583397
[Android Software Development] SimoIanni:
The app does make a backup but it's not user friendly yet (the main dev is really busy right now), however to remove the mod you need to move the files in /sdcard/wakeblock/backup (if i remember correctly) to /system/framework/(oat/arm(64)) FROM THE RECOVERY
[Android Software Development] slothdabski:
fails to extract and patch framework on 8.1 DP2 on pixel 2 xl
[Android Software Development] SimoIanni:
8.1 isn't supported yet, also pixels are giving us some problems
[Android Software Development] slothdabski:
Interesting. I had it working on my pixel 2 xl 8.0
[Android Software Development] JonasVFC:
any update on this app, say the regex tab?
[Android Software Development] CappyT:
Sadly no, dev is pretty busy atm
[Android Software Development] nicesoni_ash:
[MENTION=7087071]GioBozza[/MENTION]

Isn't there any git repo where we can keep track of further developments of this patch/mode? Isn't that better to have a version system to keep track of this?
[Android Software Development] CappyT:
As you can read on the first post, the app isn't open source. The mod itself (the code that needs to be put in the system) it is, but for now we're struggling to set up a repo without committing the whole android repository (which is pretty huge)

So, for now, we have a simple git patch that is easy to apply, easy to export and easy to share.

I know it's unconvinient to keep track of, but I'm personally dumb with git and the other devs on it aren't much experts.

If you have some guides on how to set up repos for this type of code, we're happy to check it out
[Android Software Development] nicesoni_ash:
Thanks for the explanation. I'll try the patch tomorrow and will see if I could give some inputs.

Sent from my "1+2" powered by Official RR 7.x.x

Compiled by myself
[Android Software Development] GioBozza:
I uploaded WakeBlock App on the Play Store in alpha state (https://play.google.com/apps/testing/com.giovannibozzano.wakeblock).

I fixed some bugs concerning wakelocks runtime and I plan to add regex and auto-updater support (for Stock ROM) as soon as I have some free time.

I also made a Lineage OS version, but it is constantly broken due to frequent nightly updates.
[Android Software Development] nicesoni_ash:
If you could mention the version number for core patch in title or first post, that'll very helpful. Thanks.

Sent from my "1+2" powered by Official RR 7.x.x

Compiled by myself
[Android Software Development] GioBozza:
Sure! I put it in the title and patch post.
[Android Software Development] nicesoni_ash:
Included in my build and now it's time to test. Service is bound and wakelocks appearing. Of course I had to do a bit of manual editing while applying git patch. Great mod. Adding credits to my thread.

One question though, if blocked a wrong wakelock that's we aren't supposed to and system becomes unstable, any way to reset that from recovery or any other way?

Thanks again.
[Android Software Development] GioBozza:
I don't think a blocked wakelock can cause the system to be so unstable to prevent you to make changes, but you should be able to boot in safe mode, as the blocking part is on the app and the service is simply ignored if it cannot be reached by the core mod.

Anyway thank you for your collaboration! :)
[Android Software Development] JonasVFC:
how do we proceed to update to the play store version? just uninstall the other one and install this one? are the wakelocks that are already blocked saved somehow?

best regards
[Android Software Development] GioBozza:
I just pushed a new update so you should be able to just "update" it from the Play Store to avoid losing your settings.

You might want to backup /data/data/com.giovannibozzano.wakeblock/databases/WakeLocks.db just to be sure.

Also I'm trying to figure out how to enable the Google autobackup feature while the service is active.
[Android Software Development] JonasVFC:
thanks. just updated from play store, reboot, and the wakelocks blocked didn't reset.
[Android Software Development] DEVILOPS 007:
How did you include it in your build? I really don't know how to do it but want to add it to the rom I'm on.
[Android Software Development] ugvpkn:
I was able to include it in my personal build of ABC Rom. I had to do a manual patch since the two files are different from stock.
[Android Software Development] DEVILOPS 007:
But how? I really want to learn how to compile it into a rom but I don't know how to. How did you learn to do this and is there a website because I really want to get this in Chad's uber but I don't know how to.
[Android Software Development] ugvpkn:
Followed this guide to setup compilation environment: https://xdaforums.com/chef-central/android/guide-how-to-build-rom-google-cloud-t3360430

https://xdaforums.com/showthread.php?t=3460446

The tricky part would be to merge the files.
[Android Software Development] exSD:
Does this work on 7.1.2?
[Android Software Development] GioBozza:
It won't work out of the box almost for sure, but if someone could provide the services.jar, if the classes didn't change, I could upload an updated core mod for 7.1.2 stock.

I can't test it personally, though, as I don't own the device.
[Android Software Development] exSD:
This is the services.jar from /system/framework from a 7.1.2 install: https://drive.google.com/file/d/0B0BO0cbX9d_pUWFxSmF2ZjdxTkk/view?usp=sharing
[Android Software Development] raptorddd:
app makes a back up of that file in your sd card all you had to do was replace and set permissions. reboot.
[Android Software Development] 3mL:
Any tip on finding out what is causing *alarm*?

Closing in on 3200 occurrences 8hrs after boot.
[Android Software Development] basem_ym:
I suggest that you never touch any thing between those two stars, many people reported many problems after blocking several "starry" wakeblocks.
[Android Software Development] shantam3108:
Don't block that it will result in phone bootlooping. It's required by Android system
[Android Software Development] mrjuniork:
*net_scheduler* no problem though... I have been blocking it for days and haven't encountered any problems yet..
[Android Software Development] tomte28:
Hi,

Could you please let us know when 8.1 will be supported? After updating my Nexus 6P to December OTA (which installs 8.1) WakeBlock says "Error while patching (Extracting Failed)."

Furthermore there is a status bar message from WakeBlock saying "You need root permission to install the core mod." but root has been granted in Magisk 14.

Thanks in advance.
[Android Software Development] Bearthquake:
Pretty sure this counts as asking for an ETA, which you can't do on this website.

Basically the dev does this for free and will get to it when they feel. Don't ask for ETA's, it's rude. If the dev knew when it would be supported chances are they would have already updated it.
[Android Software Development] Zacharee1:
Give it a bit. The auto patcher depends on APKTool, which doesn't support 8.1 yet. If you really want WakeBlock, you could always build APKTool from source, hope it works to decompile your framework and services, then make the edits manually.
[Android Software Development] bonbonboi:
Guys I think I need this app as an apk since I don't use gapps ;)
[Android Software Development] slothdabski:
Microg is amazing!

But anyways

https://m.apkpure.com/wakeblock-unreleased/com.giovannibozzano.wakeblock
[Android Software Development] grigoris_a:
Hi. I get error trying to install in AICP rom deodexed.

Below is from catlog. In wakeblock says framework unsupported

[12-10 02:26:14.495 I/com.giovannibozzano.wakeblock(32370): Getting application permissions...

12-10 02:26:14.552 I/com.giovannibozzano.wakeblock(32370): Getting selinux permissions...

12-10 02:26:14.604 I/com.giovannibozzano.wakeblock(32370): Extracting...

12-10 02:26:22.026 I/com.giovannibozzano.wakeblock(32370): Patching smali code...

12-10 02:26:22.176 W/System.err(32370): com.giovannibozzano.wakeblock.c.a

12-10 02:26:22.177 W/System.err(32370):	at com.giovannibozzano.wakeblock.c.d.b(Unknown Source)

12-10 02:26:22.177 W/System.err(32370):	at com.giovannibozzano.wakeblock.c.d.a(Unknown Source)

12-10 02:26:22.177 W/System.err(32370):	at com.giovannibozzano.wakeblock.a.a.c.a(Unknown Source)

12-10 02:26:22.177 W/System.err(32370):	at com.giovannibozzano.wakeblock.a.a.c.doInBackground(Unknown Source)

12-10 02:26:22.177 I/com.giovannibozzano.wakeblock(32370): Patching smali code failed
[Android Software Development] moderndaycowboy:
I am using note 8 SM-N950F.

Stock rom is Stuck on samsung logo.

It works on port note 8 roms.
[Android Software Development] Bearthquake:
Try to post the log as a file instead of just copying and pasting.

Also, this doesn't work on all stock ROMs due to different frameworks. Not too sure how to help.
[Android Software Development] Teet1:
Sorry about that, I was focused on keeping it organized and clean :p with a lot of logs and showing step by step I thought this was a better way. Plus you're only limited to like 4 attachments. But that sucks, I hope a next update adds more support for stock roms.
[Android Software Development] Frenzi2012:
Works in AOSP 9.1?
[Android Software Development] Jrhotrod:
Are you from the future? :eek:
[Android Software Development] mrjuniork:
Skynet sent him...
[Android Software Development] PokemonTotalWar:
For some reason, after reflashing my ROM, WakeBlock won't install. I am going to reboot and try again, but I have to ask, since I'm using a Kernel capable. What are the distinguishable benefits of WakeBlock over blocking wakelocks at the Kernel level?
[Android Software Development] kimxk:
Wakeblock app allows you to limit the wake locks rather than just blocking them outright.

At least that's how I use it.
[Android Software Development] Lughnasadh:
Also, this app doesn't block kernel wakelocks.
[Android Software Development] Frenzi2012:
Can i use in AOSP 8.0 / 8.1 for redmi note 3 pro (kenzo/kate)?? o is just for Nexus 6? thanks
[Android Software Development] RASTAVIPER:
Getting patching Smali code failed at Oreo 8.0 for OP3T 5.0

Latest version 0.1.5

Unleashed by my rooted OP3T in 8.0
[Android Software Development] furious.builder:
Same for me, impossible to patch (extracting framework) on Android 8.1, OnePlus 5, Omnirom. Logcat: https://pastebin.com/LK0nYnJ7
[Android Software Development] kimxk:
From the play store, it doesn't work with 8.1 yet.
[Android Software Development] furious.builder:
Ohh yeah sorry, didn't read that ?
[Android Software Development] DorianX:
Not working here, it seems like everything goes well until try to flash the zip, it just go to TWRP but doesn't flash anything... I tried to find any Wakeblock zip to manually flash it but can't find any, I just can see services.odex and services.vbdx backup.

- OnePlus 5

- OOS 5.0 (Oreo 8.0)

Was working fine on previous version of the app and my previous system (OOS Open Beta 2).

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Android Software Development] Bearthquake:
Its not updated to run on OOS oreo
[Android Software Development] THERAJ12:
Yea I also had it working on a alpha 8.1 ROM for moto g5s plus not not on the beta version, perhaps just luck..will wait for the official app update...was working fine on 8.0 roms
[Android Software Development] raptorddd:
new 0.15 fails at patching error nogat 7.0
[Android Software Development] wannaskoo:
It fails to patch on both a Zte Axon 7 and Lg G3 with LineageOs (7.1.2).
[Android Software Development] jyoti.id:
The latest version failed to patch.

Moto G4+, LineageOS 7.1.2, Magisk
[Android Software Development] balotz:
Latest version 0.1.5 fails to patch on two different phones running 7.1.2.

0.1.4 worked on both previously.
[Android Software Development] trowakage:
Latest version failed to patch Oneplus 2, Lineage 14, Magisk. Stuck at "Getting SELinux permissions...."
[Android Software Development] RASTAVIPER:
I see often updates of the app, but still no compatibility with Oneplus Android 8 devices.

There is no interest for supporting us?

Unleashed by my rooted OP3T in 8.0
[Android Software Development] Youssefmda:
Get 1.4 version of Wakeblock. 1.5 and 1.6 version failed to patch
[Android Software Development] Mar-cel:
Works fine for me on OOS oreo.
[Android Software Development] MrBrady:
Where can I download older versions?
[Android Software Development] RASTAVIPER:
Which model?

Unleashed by my rooted OP3T in 8.0
[Android Software Development] Mar-cel:
OnePlus 5
[Android Software Development] mrjuniork:
Also my OP5 has been successfully patched. I could see all the wakelocks and blocked the same wakelocks like on nougat, but then the phone startet to soft reboot constantly, so I was forced to do a clean reflash... Quite annoying after I set up the whole thing for hours... :(

So I'm not 100% sure if wakeblock is oreo compatible or if I just chose the wrong wakelock.. Who knows... :confused:
[Android Software Development] Lughnasadh:
It works on 8.0 but you can't block RIJL on Oreo or you may get behavior like you described.
[Android Software Development] saccentekennedy:
I managed to get WakeBlock working on my OnePlus 5T on 8.0. Then I noticed I was getting random reboots when my phone was off in my pocket, and one where the phone became completely unresponsive. I have now removed the modified services files and restored things. But I wanted to ask... I probably blocked something that I shouldn't have.

What do people generally recommend limiting on OREO? The guide I was using was for Nougat and there was something that I used which wasn't a good idea, clearly. Any recommendations?
[Android Software Development] Lughnasadh:
Blocking RIJL will cause that. Can't block it on Oreo.
[Android Software Development] saccentekennedy:
Yeah... I had heard that. I didn't block it.
[Android Software Development] RASTAVIPER:
If it's working for Oreo for 5T, what is the reason that it doesn't work for my 3T on the same Os?

Unleashed by my rooted OP3T in 8.0
[Android Software Development] saccentekennedy:
I used the 0.1.4 version of the app.
[Android Software Development] matssa:
Framework not supported on Open Beta 3 OnePlus 5 with the 0.1.4. maybe the app isn't good, where did you find yours?
[Android Software Development] RASTAVIPER:
I have tried all versions and none is working for my 3T.

Are you telling me that you own a 3T, you have installed latest stock Oreo official Rom and that version 0.14 is working fine for u?

Unleashed by my rooted OP3T in 8.0
[Android Software Development] matssa:
Managed to use it with v1.4, I had the reflash the latest version of the ROM with magisk 15.2. I'll test using the latest version of the app.
[Android Software Development] LinuxKernel:
Patching fails

[MENTION=7087071]GioBozza[/MENTION]

[MENTION=4101055]CappyT[/MENTION]

Hi,

I tried the latest version of Wakeblock (0.1.8) and the patching process fails. It has actually never worked with any version on my device before.

The catching point seems to be:

01-02 13:32:14.666 8368 8368 I dex2oat : dex2oat --dex-file=/data/user/0/com.giovannibozzano.wakeblock/cache/patcher/services.jar --dex-location=/system/framework/services.jar --oat-file=/data/user/0/com.giovannibozzano.wakeblock/cache/patcher/services.odex --android-root=/system --no-generate-debug-info --abort-on-hard-verifier-error --compile-pic

01-02 13:32:14.826 8368 8368 E dex2oat : Invalid magic number in dex file header. File: /system/framework/services.jar

01-02 13:32:14.828 8368 8368 I dex2oat : dex2oat took 171.047ms (threads: 8)

The complete log and other files you can find here: https://drive.google.com/drive/folders/1YWeGR6KDzcb0Ra0ULDxbbcubFRAMv_yo?usp=sharing

Android: Stock 7.0

Device: Honor 6x

Can you please have a look at it?
[Android Software Development] matssa:
Just tested latest version and it works on OOS open beta 3, I had to flash again the ROM with the new magisk.
[Android Software Development] moderndaycowboy:
note 8 exynos stock rom + smurf kernel,

0.1.8 stuck at samsung logo after restart.
[Android Software Development] karkand:
Guys the problem lies on the Magisk. I was clean flash then used Magisk Stable 14.0 and it just working fine with any version of Wakeblock on Play store
[Android Software Development] THERAJ12:
Before latest update WB was working on magisk 15.0 running 8.1 android. Latest WB fails to patch

---------- Post added at 06:40 PM ---------- Previous post was at 06:03 PM ----------

Latest WB failed to flash in Magisk 14.0 new update must be bad...anyways to get hands on the prior version?
[Android Software Development] THERAJ12:
Did we ever get links for older versions? Latest 0.18 doesn't patch
[Android Software Development] MrBrady:
Haven't seen any links or info unfortunately.
[Android Software Development] THERAJ12:
Found this not sure if legit

http://m.apkhere.com/app/com.giovannibozzano.wakeblock