universal-gms-doze icon indicating copy to clipboard operation
universal-gms-doze copied to clipboard

Unable to apply Battery Optimisation on GMS

Open selfmusing opened this issue 1 year ago • 57 comments

I don't understand why but the module isn't working for me . Is there any way to troubleshoot? Screenshot_20241128-203216_Termux

I'm using KernelSU v11991 , Android 15 ( November Security Patch ) AOSP

selfmusing avatar Nov 28 '24 15:11 selfmusing

I don't understand but the module isn't working for me . Is there any way to troubleshoot?

Try with clean install (if you've done a dirty update before).

gloeyisk avatar Nov 28 '24 15:11 gloeyisk

I don't understand but the module isn't working for me . Is there any way to troubleshoot?

Try with clean install (if you've done a dirty update before).

I've just performed a clean installation of the module tho.

selfmusing avatar Nov 28 '24 15:11 selfmusing

I've just performed a clean installation of the module tho.

After a reboot, have you wait around 100 seconds before you open your lockscreen? The script can't be executed that fast, it's kindly need time compared to other modules.

gloeyisk avatar Nov 28 '24 15:11 gloeyisk

I've just performed a clean installation of the module tho.

After a reboot, have you wait around 100 seconds before you open your lockscreen? The script can't be executed that fast, it's kindly need time compared to other modules.

Yeah , the result is the same even after an hour.. I can't add the gms into deviceidle whitelist even after using that command manually..

( I also tried to clear gms data )

selfmusing avatar Nov 28 '24 15:11 selfmusing

I've just performed a clean installation of the module tho.

After a reboot, have you wait around 100 seconds before you open your lockscreen? The script can't be executed that fast, it's kindly need time compared to other modules.

https://github.com/user-attachments/assets/28ceb82d-4307-48f6-be4a-b4611c657631

selfmusing avatar Nov 28 '24 15:11 selfmusing

I don't understand why but the module isn't working for me . Is there any way to troubleshoot? Screenshot_20241128-203216_Termux

I'm using KernelSU v11991 , Android 15 ( November Security Patch ) AOSP

Try delete module Reboot And reinstall the module , the issue solved

kKuteKuto avatar Nov 28 '24 15:11 kKuteKuto

I don't understand why but the module isn't working for me . Is there any way to troubleshoot? Screenshot_20241128-203216_Termux I'm using KernelSU v11991 , Android 15 ( November Security Patch ) AOSP

Try delete module Reboot And reinstall the module , the issue solved

Tried several times before writing this issue 😅

I guess goolag messed up something on November Security patch ..

selfmusing avatar Nov 28 '24 15:11 selfmusing

Unfortunately, this issue persists even after clean flashing the ROM & I am sure it wasn't the case on the October security patch.

selfmusing avatar Dec 05 '24 08:12 selfmusing

Unfortunately, this issue persists even after clean flashing the ROM & I am sure it wasn't the case on the October security patch.

Could you send me the patched XML by the module from its directory (/data/adb/modules)?

gloeyisk avatar Dec 06 '24 06:12 gloeyisk

Unfortunately, this issue persists even after clean flashing the ROM & I am sure it wasn't the case on the October security patch.

Could you send me the patched XML by the module from its directory (/data/adb/modules)?

google.xml.txt pixel.xml.txt

selfmusing avatar Dec 06 '24 09:12 selfmusing

Same issue here, November security patch and Android 15

asizon avatar Dec 07 '24 20:12 asizon

Unfortunately, this issue persists even after clean flashing the ROM & I am sure it wasn't the case on the October security patch.

Could you send me the patched XML by the module from its directory (/data/adb/modules)?

XML helpful in solving issues?? (Are they as good as logs?)

parasgargexx20 avatar Dec 09 '24 00:12 parasgargexx20

Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc terminal command).

Not sure why it stopped working in the first place.

gitdine avatar Dec 10 '24 00:12 gitdine

Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc terminal command).

Not sure why it stopped working in the first place.

So should I uninstall module (as im in 14 now) and then reinstall when I clean flash android 15?

parasgargexx20 avatar Dec 10 '24 01:12 parasgargexx20

Or still uninstall and reinstall after installing android 15

Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc command).

Not sure why it stopped working in the first place.

Or clean flash android 15 then

  1. install module,
  2. try, if fails,
  3. uninstall and reinstall the module and try again?

parasgargexx20 avatar Dec 10 '24 01:12 parasgargexx20

Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc terminal command).

Not sure why it stopped working in the first place.

Already tried this several times . Even clean flashed the rom, but still no luck 🕊️

selfmusing avatar Dec 10 '24 01:12 selfmusing

Uninstalling and reinstalling the module fixed it for me (confirmed with gmsc terminal command). Not sure why it stopped working in the first place.

Already tried this several times . Even clean flashed the rom, but still no luck 🕊️

If you have telegram contact this guy (xity is his name) @ender4ity

https://t.me/clarencekopitiam/548490

Reply on xity message

He claimed for him it works

parasgargexx20 avatar Dec 10 '24 05:12 parasgargexx20

Anyone can confirm with these hotfix build? Whether the GMS is optimized or not especially in Android 15. gms_1.9.2-hotfix.zip

   File: gms_1.9.2-hotfix.zip
  SHA-1: 552259875bd380eafe621d0455f3f11e1b51af44
SHA-256: e8879d73363c383d0fe2169812417b57e178f4311588ce9c4e15f0dff0cd3f63

gloeyisk avatar Dec 10 '24 15:12 gloeyisk

Anyone can confirm with these hotfix build? Whether the GMS is optimized or not especially in Android 15. gms_1.9.2-hotfix.zip

   File: gms_1.9.2-hotfix.zip
  SHA-1: 552259875bd380eafe621d0455f3f11e1b51af44
SHA-256: e8879d73363c383d0fe2169812417b57e178f4311588ce9c4e15f0dff0cd3f63

Tried here,but same result,play services not optimized,uninstalled the old one and install this one,waiting more than 1 minut after boot Using Crdroid 11 A15 with nickgapps elite for a15

asizon avatar Dec 10 '24 15:12 asizon

Anyone can confirm with these hotfix build? Whether the GMS is optimized or not especially in Android 15. gms_1.9.2-hotfix.zip

   File: gms_1.9.2-hotfix.zip
  SHA-1: 552259875bd380eafe621d0455f3f11e1b51af44
SHA-256: e8879d73363c383d0fe2169812417b57e178f4311588ce9c4e15f0dff0cd3f63

How to capture logs which might be useful for you

parasgargexx20 avatar Dec 10 '24 15:12 parasgargexx20

How to capture logs which might be useful for you

Module installation logs should be good too.

gloeyisk avatar Dec 10 '24 15:12 gloeyisk

How to capture logs which might be useful for you

Module installation logs should be good too.

KernelSU_install_log_2024-12-10-17-02-54.zip

asizon avatar Dec 10 '24 16:12 asizon

How to capture logs which might be useful for you

Module installation logs should be good too.

KernelSU_install_log_2024-12-11-15-32-00.log google.xml.txt pixel.xml.txt

Google Play services is Not Optimized.

selfmusing avatar Dec 11 '24 10:12 selfmusing

In these build I tried to search and patch the google.xml directly instead of checking the whole XML files. gms_1.9.2-hotfix2.zip

   File: gms_1.9.2-hotfix2.zip
  SHA-1: 9a5ab4fc82345fd04bc6e3c72fdeafb54d5679d2
SHA-256: 72c62b8f84de1e7cba63daabd6bb092a349228a2f05ffd4587aed841be2d97da

gloeyisk avatar Dec 11 '24 11:12 gloeyisk

In these build I tried to search and patch the google.xml directly instead of checking the whole XML files. gms_1.9.2-hotfix2.zip

   File: gms_1.9.2-hotfix2.zip
  SHA-1: 9a5ab4fc82345fd04bc6e3c72fdeafb54d5679d2
SHA-256: 72c62b8f84de1e7cba63daabd6bb092a349228a2f05ffd4587aed841be2d97da

Still not optimized :( Can you use _ instead of - for the name to allow KSU flash directly?

asizon avatar Dec 11 '24 12:12 asizon

In these build I tried to search and patch the google.xml directly instead of checking the whole XML files. gms_1.9.2-hotfix2.zip

   File: gms_1.9.2-hotfix2.zip
  SHA-1: 9a5ab4fc82345fd04bc6e3c72fdeafb54d5679d2
SHA-256: 72c62b8f84de1e7cba63daabd6bb092a349228a2f05ffd4587aed841be2d97da

google.xml.txt

KernelSU_install_log_2024-12-11-18-15-29.log

Screenshot_20241211-180834_Termux

selfmusing avatar Dec 11 '24 12:12 selfmusing

Screenshot_20241213-225517 In my phone gms doze not working Android 14 October patch Kernalsu latest

Pritkumar566 avatar Dec 13 '24 17:12 Pritkumar566

Screenshot_20241213-225517 In my phone gms doze not working Android 14 October patch Kernalsu latest

Im so lucky clinging on to apr build of android 14

parasgargexx20 avatar Dec 13 '24 17:12 parasgargexx20

.

Screenshot_20241213-225517 In my phone gms doze not working Android 14 October patch Kernalsu latest

Im so lucky clinging on to apr build of android 14

I am just flash the module two times but same result not working

Pritkumar566 avatar Dec 13 '24 17:12 Pritkumar566

In my phone gms doze not working Android 14 October patch Kernalsu latest

Android 14 should work, you need to wait (a little longer) after your phone rebooted.

gloeyisk avatar Dec 13 '24 17:12 gloeyisk