Hi again. I've been trying to apply a patch file and it says something like it failed on line 518. When you have some time I'd really appreciate it if you tell me how to do it manually. Thanks a lot. It wouldn't let me pm you btw. It kept saying message failed to send.[COLOR="Silver"]
---------- Post added at 09:02 AM ---------- Previous post was at 09:00 AM ----------
The patch files sometimes was failing due to many differences betwen ROMs and versions, I replaced it with templates of the classes you need to edit and you will have to do it manually, copying the changes tagged with @ WAKEBLOCK and # WAKEBLOCK.
Hi, I've looked through the template and see where the @ Wakeblock has been added. However, with my rom I don't see anything that is the same so I can't find where to put it. Could you possibly have a little look at these files and help me please. Thanks a lot.
Well, they are pretty much the same as the template ones.
There are currently 8 code blocks to add, all tagged between "@ WAKEBLOCK" and "# WAKEBLOCK" in templates.
In your unedited PowerManagerService.java they should be before lines:
The other class should be PackageManagerService.java, not PackageInstallerService.java as you shared.
|battery, doze, sleep, wakelocks|
|Thread Tools||Search this Thread|