Search results

  1. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Hello! Not yet. We depend on baksmali to disassemble odex files and unfortunately it has not been updated yet to support 8.1 format.
  2. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    *** ROM DEVELOPERS UPDATE [COREMOD NEW VERSIONING] *** Due to the reasons in listed in the post above, developers whose ROMs include WakeBlock core mod are urged to update them. To ensure ease of maintenance the core mod will be versioned with integer numbers, starting now with v0. The core...
  3. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    *** UPDATE [0.2.0] *** - WakeBlock service binds on runtime (this means that, if the core mod is already installed, you do not need to reboot after app installation/update). The service status shown in the app will automatically update on service binding. This may take some seconds after boot...
  4. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    *** SUPPORT *** We created a Telegram group with the aim of giviving direct support and promoting wakelocks exchange! You can join here: https://t.me/joinchat/AWYf1UQQkYrLtrUcIzpW2g
  5. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    WakeBlock detects system wakelocks, while kernel wakelocks can be blocked by a lot of custom kernels. The wakelock you are looking for is a kernel wakelock and thus cannot be seen in WakeBlock.
  6. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    The first time takes longer on deodexed ROMs. Cache has to be recreated.
  7. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Many thanks to SuperSandro2000 for testing a lot of configurations on his device for the latest update!
  8. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    *** UPDATE (v0.1.4) *** We need testers for this update. It should fix the problem below, but Samsung seems to be making its own choices on how to package framework files. CHANGELOG Fixed Samsung bootloop
  9. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    If you dirty flash a ROM update you cannot use the WakeBlock backups: those are saved to revert the patcher's work. The backups are basically the original framework files. Also, ROM updates usually change the services framework, so putting back the old one could most probably cause a bootloop.
  10. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    We found out Samsung uses a different procedure to package deodexed framework files. We are testing fixes for this right now. I will push an update on the Play Store with specific changelog as soon as a working version is ready!
  11. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    It should reboot in TWRP after the patching process is finished and flash the generated automatically. Then it should reboot again normally. Does it boot into TWRP the first time?
  12. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    A fix for Samsung devices is under testing. If everything is alright, I will push it on Google Play shortly.
  13. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Could you take a log with LiveBoot during the bootloop? It will be saved in /cache/liveboot.log and you can retrieve it in TWRP (mount /cache partition if it isn't by default). Also, it would be very useful to check some file permissions on Samsung ROM. You can do that by executing these...
  14. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    If you find the process to be unbound, it means the app has been updated and you need to reboot. I'm going to try to add support for automatic rebinding and support for alarms blocking as soon as the current release is stable on every device!
  15. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Does mounting the system partition as read/write and manually flashing /data/data/com.giovannibozzano.wakeblock/files/flash.zip in recovery solve the problem? If it does, I guess this is some OpenRecoveryScript issue I need to look into.
  16. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Could you also send a log of a normal boot precedure, without WakeBlock? The issue seems to be a missing selinux permission on service binding. It appears Samsung is stricter here... EDIT: I am quite sure the log started when the device was already booted. How did you take it?
  17. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    These are good news (even if they don't seem good :laugh: ). Odex files have a hash written into their headers which changes if the content is modified, but can be faked. Samsung devices could be checking for that hash during boot (or something else has gone wrong). Could you send me a logcat...
  18. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    We are currently having some issues with Samsung users. Right now the main problem seems to be the memory shortage in the repackaging process. If you got past it, the last app version could have handled that. I hope to get more positive feedbacks about this. In the end of the patching process...
  19. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    It appears that the repackaging process runs out of memory. We are trying to solve this problem as it is encountered on a lot of devices.
  20. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Could you try to manually mount system partition in read/write mode in TWRP before flashing the file? I'm quite sure the detected partition name is not the real one.
  21. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    You may have to reboot again after replacing the database with the old one. If it still does not work I'm afraid it could be a version too old to backup the saved data.
  22. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    The core mod is already installed, all you have to do is reboot your device and the app service will bind.
  23. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Does the app show "Service Bound" if you reboot your device? If something got flashed then the process should have terminated correctly and WakeBlock should already be installed.
  24. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    I guess you have a test version which was not from Google Play. You should try to uninstall and reinstall it from Google Play. If you really need to save the wakelocks data (older versions did not have backups), you can backup /data/data/com.giovannibozzano.wakeblock/databases
  25. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    OpenRecoveryScript seems to be failing somehow. I'm actually not sure why, but you can flash the .zip found in /data/data/com.giovannibozzano.wakeblock/files/flash.zip It appears that sometimes the repackaging process (the one that recompiles your system framework) gets killed by the OS. I am...
  26. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Dirty falshing a ROM should override WakeBlock's core mod and you will need to install it again. If you don't, the wakelocks will be acquired as normal. Did you install it again after updating? Unblocking and blocking again shouldn't really make any difference, as they are basically stored...
  27. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    What is your current ROM and device? Can you provide a logcat taken while the process is running?
  28. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Don't worry, I'm glad you found out the real issue.
  29. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Could you provide me the list of wakelocks you blocked? This is already in the list of todo features. I just need to find the time for everything. :fingers-crossed:
  30. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Did you install the core mod or just the app? If you installed the core mod too, did you block any wakelock?
  31. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Sorry, I was browsing with my phone and couldn't see it. The problem is there is no log about WakeBlock in the logcat you sent. Are you sure you ran the app while logging?
  32. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    From recovery go into /data/data/com.giovannibozzano.wakeblock/databases and delete all files. This will clear all wakelocks settings in the app.
  33. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    What wakelocks are you blocking? Blocking RILJ is known to cause problems on Android Oreo.
  34. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Could you send a logcat to find out the problem?
  35. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    If you uninstalled the app and then reinstalled it, all its data was lost. This is normal, but from now on there will be automatic backups, so you should be able to uninstall it without losing everything (Google stores backups on Drive). Always remember that you never need to run the patcher if...
  36. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    When you update the app, it is currently normal for the service to unbind. All you have to do is reboot (no need to run the patcher). Was the version you were running before the update the one downloaded from here or the one from the Play Store? If you update an app downloaded from the Play...
  37. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    First of all I really appreciate every advice you give! This needs to be carefully planned because it's also going to change how the updater will work. To make things clear: if I update the core-mod (by adding alarms blocking for example), I need to patch the framework again and differently...
  38. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    It is currently not possible. I should think of a way to let the app check if the framework is already modded or not by further modifying the framework. The only way to find out right now is by trying to bind the process on boot. Anyway, if you run the patcher again, it should just fail, if it...
  39. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    *** UPDATE (v0.1.1) *** CHANGELOG Added application automatic backup of previously detected wakelocks Added support for localization Removed auto-downloader (now obsolete)
  40. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    I need a new logcat then. It could be the system killing the process due to memory usage, but I need more information.
  41. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Of course, my positive reply was about this feature! Also, it should not take long to do this.
  42. GioBozza

    Post Taking wakeblock requests

    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...
  43. GioBozza

    Post Taking wakeblock requests

    I thank you too for your active support to this project!
  44. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Yes, I also plan to add support for manually removing wakelocks from the list. I'm still not sure about automatically removing wakelocks called by apps which are uninstalled, would you recommend that?
  45. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    RILJ seems to cause the problem on Android O. Do not block it.
  46. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Yes it could. How long did you wait anyway? It can take a lot of time on some devices/ROMs.
  47. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    We tested it on Android O Nexus 6P but couldn't do it on Nexus 5X. What is the error you are encountering?
  48. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    This is strange, battery optimization shouldn't be a problem, I've always had that on. Do you have any process killer app or aggressive doze setting turned on? Does it unbind after just a few seconds, minutes or does it take longer?
  49. GioBozza

    Post [APP] [MOD] [7.0+] WakeBlock: Blocking the drain before it is too late (Core v0)

    Did the app get an update? Does the problem persist if you reboot your device?